@excalidraw/excalidraw 0.18.0-432a46e → 0.18.0-4e471c107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/chunk-CBGOW5JB.js +5669 -0
- package/dist/dev/chunk-CBGOW5JB.js.map +7 -0
- package/dist/dev/chunk-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.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-5HAY2PCR.js → image-SURZSZNX.js} +3 -3
- package/dist/dev/index.css +143 -68
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +17109 -17527
- 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 +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/chunk-A66AFZZU.js +7 -0
- package/dist/prod/chunk-I4UNSFV6.js +12 -0
- package/dist/prod/chunk-IRHK23LL.js +4 -0
- package/dist/prod/data/image-HXEZYJPQ.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +25 -17
- 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/{packages/common → common}/src/colors.d.ts +1 -0
- package/dist/types/{packages/common → common}/src/constants.d.ts +23 -3
- package/dist/types/{packages/excalidraw → common/src}/emitter.d.ts +1 -1
- package/dist/types/{packages/common → common}/src/font-metadata.d.ts +4 -2
- package/dist/types/{packages/common → common}/src/index.d.ts +1 -0
- package/dist/types/{packages/common → common}/src/utility-types.d.ts +5 -0
- package/dist/types/{packages/common → common}/src/utils.d.ts +18 -1
- package/dist/types/{packages/excalidraw/scene → element/src}/Scene.d.ts +11 -14
- package/dist/types/element/src/align.d.ts +7 -0
- package/dist/types/{packages/element → element}/src/binding.d.ts +26 -15
- package/dist/types/{packages/element → element}/src/bounds.d.ts +18 -5
- package/dist/types/element/src/collision.d.ts +32 -0
- package/dist/types/{packages/element → element}/src/cropElement.d.ts +1 -1
- package/dist/types/{packages/excalidraw/change.d.ts → element/src/delta.d.ts} +63 -38
- package/dist/types/element/src/distance.d.ts +3 -0
- package/dist/types/{packages/element → element}/src/dragElements.d.ts +3 -2
- package/dist/types/{packages/element → element}/src/duplicate.d.ts +10 -13
- package/dist/types/{packages/element → element}/src/elbowArrow.d.ts +1 -1
- package/dist/types/{packages/element → element}/src/flowchart.d.ts +3 -2
- package/dist/types/{packages/element → element}/src/fractionalIndex.d.ts +9 -3
- package/dist/types/{packages/element → element}/src/frame.d.ts +5 -4
- package/dist/types/{packages/element → element}/src/heading.d.ts +0 -1
- package/dist/types/element/src/index.d.ts +57 -0
- package/dist/types/{packages/element → element}/src/linearElementEditor.d.ts +22 -36
- package/dist/types/{packages/element → element}/src/mutateElement.d.ts +11 -3
- package/dist/types/{packages/element → element}/src/newElement.d.ts +4 -3
- package/dist/types/{packages/element → element}/src/resizeElements.d.ts +5 -4
- package/dist/types/{packages/element → element}/src/selection.d.ts +11 -5
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/{packages/element → element}/src/sizeHelpers.d.ts +2 -2
- package/dist/types/element/src/store.d.ts +232 -0
- package/dist/types/{packages/element → element}/src/textElement.d.ts +5 -3
- package/dist/types/{packages/element → element}/src/typeChecks.d.ts +19 -1
- package/dist/types/{packages/element → element}/src/types.d.ts +15 -2
- package/dist/types/element/src/utils.d.ts +31 -0
- package/dist/types/{packages/element → element}/src/zindex.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionAddToLibrary.d.ts +45 -51
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionBoundText.d.ts +30 -34
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCanvas.d.ts +364 -214
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionClipboard.d.ts +87 -98
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCropEditor.d.ts +15 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDeleteSelected.d.ts +40 -45
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLink.d.ts +14 -16
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLock.d.ts +45 -51
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionEmbeddable.d.ts +15 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionExport.d.ts +145 -163
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFinalize.d.ts +73 -37
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFrame.d.ts +107 -115
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionGroup.d.ts +30 -34
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +683 -0
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionLink.d.ts +14 -16
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionMenu.d.ts +42 -48
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionNavigate.d.ts +29 -33
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionProperties.d.ts +218 -240
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionSelectAll.d.ts +14 -16
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionStyles.d.ts +15 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleGridMode.d.ts +15 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleObjectsSnapMode.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +183 -0
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleStats.d.ts +15 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleViewMode.d.ts +15 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleZenMode.d.ts +15 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/types.d.ts +4 -3
- package/dist/types/{packages/excalidraw → excalidraw}/animated-trail.d.ts +7 -1
- package/dist/types/{packages/excalidraw → excalidraw}/appState.d.ts +20 -10
- package/dist/types/{packages/excalidraw → excalidraw}/components/App.d.ts +38 -22
- package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonIcon.d.ts +1 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ColorPicker.d.ts +5 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +7 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/Picker.d.ts +2 -3
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/PickerColorList.d.ts +2 -3
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ShadeList.d.ts +2 -2
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/TopPicks.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/ElementLinkDialog.d.ts +4 -3
- package/dist/types/{packages/excalidraw/components/ButtonIconSelect.d.ts → excalidraw/components/RadioSelection.d.ts} +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +8 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Angle.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Collapsible.d.ts +2 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Dimension.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/DragInput.d.ts +12 -2
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/FontSize.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiAngle.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiDimension.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiFontSize.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiPosition.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Position.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/utils.d.ts +4 -11
- package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/InteractiveCanvas.d.ts +1 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/{packages/excalidraw → excalidraw}/components/hyperlink/helpers.d.ts +2 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/icons.d.ts +4 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/shapes.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/data/transform.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/editor-jotai.d.ts +6 -6
- package/dist/types/excalidraw/eraser/index.d.ts +12 -0
- package/dist/types/{packages/excalidraw → excalidraw}/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +48 -0
- package/dist/types/{packages/excalidraw → excalidraw}/hooks/useEmitter.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/index.d.ts +9 -9
- 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 +18 -0
- package/dist/types/{packages/excalidraw → excalidraw}/scene/Renderer.d.ts +1 -2
- package/dist/types/excalidraw/scene/index.d.ts +4 -0
- package/dist/types/{packages/excalidraw → excalidraw}/scene/scrollbars.d.ts +2 -3
- package/dist/types/{packages/excalidraw → excalidraw}/scene/types.d.ts +2 -0
- package/dist/types/{packages/excalidraw → excalidraw}/snapping.d.ts +2 -2
- package/dist/types/{packages/excalidraw → excalidraw}/types.d.ts +32 -11
- package/dist/types/{packages/excalidraw → excalidraw}/wysiwyg/textWysiwyg.d.ts +3 -1
- package/dist/types/{packages/math → math}/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/{packages/math → math}/src/index.d.ts +1 -0
- package/dist/types/{packages/math → math}/src/point.d.ts +1 -1
- package/dist/types/{packages/math → math}/src/polygon.d.ts +1 -0
- package/dist/types/{packages/math → math}/src/rectangle.d.ts +2 -0
- package/dist/types/{packages/math → math}/src/segment.d.ts +1 -1
- package/dist/types/{packages/math → math}/src/types.d.ts +1 -0
- package/dist/types/{packages/math → math}/src/vector.d.ts +8 -2
- package/dist/types/{packages/utils → utils}/src/bbox.d.ts +1 -1
- package/dist/types/{packages/utils → utils}/src/index.d.ts +1 -1
- package/dist/types/{packages/utils → utils}/src/withinBounds.d.ts +1 -1
- package/history.ts +147 -110
- package/package.json +30 -10
- package/dist/dev/chunk-LMHBUWQS.js.map +0 -7
- package/dist/dev/chunk-S7W4OWSF.js +0 -18442
- package/dist/dev/chunk-S7W4OWSF.js.map +0 -7
- package/dist/dev/chunk-ZG3EI5XS.js +0 -7
- package/dist/dev/chunk-ZG3EI5XS.js.map +0 -7
- package/dist/prod/chunk-6U3AYISY.js +0 -12
- package/dist/prod/chunk-LRITYP5X.js +0 -31
- package/dist/prod/chunk-U24AOZ3B.js +0 -7
- package/dist/prod/data/image-W3GRS73V.js +0 -1
- package/dist/types/excalidraw-app/app_constants.d.ts +0 -44
- package/dist/types/packages/element/src/Shape.d.ts +0 -17
- package/dist/types/packages/element/src/ShapeCache.d.ts +0 -25
- package/dist/types/packages/element/src/align.d.ts +0 -7
- package/dist/types/packages/element/src/collision.d.ts +0 -26
- package/dist/types/packages/element/src/distance.d.ts +0 -3
- package/dist/types/packages/element/src/index.d.ts +0 -16
- package/dist/types/packages/element/src/shapes.d.ts +0 -23
- package/dist/types/packages/element/src/utils.d.ts +0 -21
- package/dist/types/packages/excalidraw/actions/actionLinearEditor.d.ts +0 -192
- package/dist/types/packages/excalidraw/actions/actionToggleSearchMenu.d.ts +0 -357
- package/dist/types/packages/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/packages/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +0 -8
- package/dist/types/packages/excalidraw/components/Range.d.ts +0 -8
- package/dist/types/packages/excalidraw/history.d.ts +0 -40
- package/dist/types/packages/excalidraw/renderer/helpers.d.ts +0 -13
- package/dist/types/packages/excalidraw/scene/index.d.ts +0 -4
- package/dist/types/packages/excalidraw/store.d.ts +0 -129
- package/dist/types/packages/excalidraw/tests/fixtures/diagramFixture.d.ts +0 -504
- package/dist/types/packages/excalidraw/tests/fixtures/elementFixture.d.ts +0 -7
- package/dist/types/packages/excalidraw/tests/helpers/api.d.ts +0 -89
- package/dist/types/packages/excalidraw/tests/helpers/colorize.d.ts +0 -2
- package/dist/types/packages/excalidraw/tests/helpers/mocks.d.ts +0 -5
- package/dist/types/packages/excalidraw/tests/helpers/polyfills.d.ts +0 -36
- package/dist/types/packages/excalidraw/tests/helpers/ui.d.ts +0 -189
- package/dist/types/packages/excalidraw/tests/queries/dom.d.ts +0 -2
- package/dist/types/packages/excalidraw/tests/queries/toolQueries.d.ts +0 -2
- package/dist/types/packages/excalidraw/tests/test-utils.d.ts +0 -139
- package/dist/types/packages/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/packages/math/src/curve.d.ts +0 -40
- package/dist/types/packages/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-5HAY2PCR.js.map → image-SURZSZNX.js.map} +0 -0
- /package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-SMAPCEOQ.js.map} +0 -0
- /package/dist/types/{packages/common → common}/src/binary-heap.d.ts +0 -0
- /package/dist/types/{packages/common → common}/src/keys.d.ts +0 -0
- /package/dist/types/{packages/common → common}/src/points.d.ts +0 -0
- /package/dist/types/{packages/common → common}/src/promise-pool.d.ts +0 -0
- /package/dist/types/{packages/common → common}/src/queue.d.ts +0 -0
- /package/dist/types/{packages/common → common}/src/random.d.ts +0 -0
- /package/dist/types/{packages/common → common}/src/url.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/comparisons.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/containerCache.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/distribute.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/elementLink.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/embeddable.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/groups.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/image.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/renderElement.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/resizeTest.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/showSelectedShapeActions.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/sortElements.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/textMeasurements.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/textWrapping.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/transformHandles.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionAlign.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDistribute.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDuplicateSelection.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFlip.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionTextAutoResize.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionZindex.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/manager.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/register.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/actions/shortcuts.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/analytics.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/animation-frame-handler.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/charts.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/clients.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/clipboard.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Actions.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ActiveConfirmDialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Avatar.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/BraveMeasureTextError.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Button.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonIconCycle.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonSeparator.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Card.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/CheckboxItem.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/PickerHeading.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/CommandPalette.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/defaultCommandPaletteItems.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/types.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ConfirmDialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ContextMenu.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/DarkModeToggle.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/DefaultSidebar.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Dialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/DialogActionButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ElementCanvasButtons.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ErrorDialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ExcalidrawLogo.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/EyeDropper.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/FilledButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/FixedSideContainer.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/FollowMode/FollowMode.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPicker.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPickerList.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPickerTrigger.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/keyboardNavHandlers.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/HandButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/HelpButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/HelpDialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/HintViewer.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/IconPicker.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ImageExportDialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/InitializeApp.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/InlineIcon.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Island.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/JSONExportDialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LaserPointerButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LayerUI.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenu.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuBrowseButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuControlButtons.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuHeaderContent.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuItems.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuSection.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryUnit.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LoadingMessage.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/LockButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/MagicButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/MobileMenu.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Modal.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirm.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirmState.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Paragraph.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/PasteChartDialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/PenModeButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Popover.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ProjectName.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/PropertiesPopover.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/PublishLibrary.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/QuickSearch.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/RadioGroup.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/SVGLayer.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ScrollableList.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/SearchMenu.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Section.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ShareableLinkDialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/Sidebar.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarHeader.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTab.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabTrigger.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabTriggers.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabs.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTrigger.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/common.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Spinner.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Stack.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Switch.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/MermaidToExcalidraw.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialog.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogInput.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogOutput.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogPanel.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogPanels.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTab.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabTrigger.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabTriggers.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabs.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTrigger.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/common.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/TextField.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Toast.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/ToolButton.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Tooltip.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/Trans.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/UserList.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/NewElementCanvas.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/StaticCanvas.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenu.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuContent.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuGroup.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItem.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemContent.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemCustom.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemLink.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuSeparator.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuTrigger.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/common.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/dropdownMenuUtils.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/footer/Footer.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/footer/FooterCenter.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/hoc/withInternalFallback.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/main-menu/DefaultItems.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/main-menu/MainMenu.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/context/tunnels.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/context/ui-appState.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/cursor.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/EditorLocalStorage.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/ai/types.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/blob.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/encode.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/encryption.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/filesystem.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/image.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/json.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/library.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/reconcile.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/resave.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/restore.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/data/types.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/deburr.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/errors.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Cascadia/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/ComicShanns/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Emoji/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/ExcalidrawFontFace.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Excalifont/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Helvetica/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Liberation/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Lilita/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Nunito/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Virgil/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Xiaolai/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/fonts/index.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/gesture.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCallbackRefState.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCopiedIndicator.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCreatePortalContainer.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useLibraryItemSvg.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useOutsideClick.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useScrollPosition.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useStable.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useStableCallback.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useTransition.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/i18n.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/index-node.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/laser-trails.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/mermaid.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/polyfill.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/reactUtils.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/renderer/interactiveScene.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/renderer/renderNewElementScene.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/renderer/renderSnaps.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/renderer/roundRect.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/renderer/staticScene.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/renderer/staticSvgScene.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/scene/export.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/scene/normalize.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/scene/scroll.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/scene/zoom.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-bindings.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-loader.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-wasm.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-main.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-shared.chunk.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-worker.chunk.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-bindings.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-loader.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-wasm.d.ts +0 -0
- /package/dist/types/{packages/excalidraw → excalidraw}/workers.d.ts +0 -0
- /package/dist/types/{packages/math → math}/src/ellipse.d.ts +0 -0
- /package/dist/types/{packages/math → math}/src/line.d.ts +0 -0
- /package/dist/types/{packages/math → math}/src/range.d.ts +0 -0
- /package/dist/types/{packages/math → math}/src/triangle.d.ts +0 -0
- /package/dist/types/{packages/math → math}/src/utils.d.ts +0 -0
- /package/dist/types/{packages/utils → utils}/src/export.d.ts +0 -0
- /package/dist/types/{packages/utils → utils}/src/shape.d.ts +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type SceneBounds } from "@excalidraw/element
|
|
2
|
+
import { type SceneBounds } from "@excalidraw/element";
|
|
3
3
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
4
4
|
import type { AppState, Offsets } from "../types";
|
|
5
5
|
export declare const actionChangeViewBackgroundColor: {
|
|
6
6
|
name: "changeViewBackgroundColor";
|
|
7
7
|
label: string;
|
|
8
|
-
paletteName: string;
|
|
9
8
|
trackEvent: false;
|
|
10
9
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
11
10
|
perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
@@ -19,7 +18,6 @@ export declare const actionChangeViewBackgroundColor: {
|
|
|
19
18
|
export declare const actionClearCanvas: {
|
|
20
19
|
name: "clearCanvas";
|
|
21
20
|
label: string;
|
|
22
|
-
paletteName: string;
|
|
23
21
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
24
22
|
trackEvent: {
|
|
25
23
|
category: "canvas";
|
|
@@ -51,6 +49,7 @@ export declare const actionClearCanvas: {
|
|
|
51
49
|
activeTool: {
|
|
52
50
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
53
51
|
locked: boolean;
|
|
52
|
+
fromSelection: boolean;
|
|
54
53
|
} & import("../types").ActiveTool;
|
|
55
54
|
viewBackgroundColor: string;
|
|
56
55
|
frameRendering: {
|
|
@@ -70,7 +69,7 @@ export declare const actionClearCanvas: {
|
|
|
70
69
|
name: "imageExport" | "help" | "jsonExport";
|
|
71
70
|
} | {
|
|
72
71
|
name: "ttd";
|
|
73
|
-
tab: "text-to-diagram"
|
|
72
|
+
tab: "mermaid" | "text-to-diagram";
|
|
74
73
|
} | {
|
|
75
74
|
name: "commandPalette";
|
|
76
75
|
} | {
|
|
@@ -82,20 +81,19 @@ export declare const actionClearCanvas: {
|
|
|
82
81
|
[id: string]: true;
|
|
83
82
|
}>;
|
|
84
83
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
85
|
-
pendingImageElementId: string | null;
|
|
86
84
|
activeEmbeddable: {
|
|
87
85
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
88
|
-
state: "
|
|
86
|
+
state: "active" | "hover";
|
|
89
87
|
} | null;
|
|
90
|
-
editingLinearElement: import("@excalidraw/element
|
|
88
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
91
89
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
92
90
|
selectedGroupIds: {
|
|
93
91
|
[groupId: string]: boolean;
|
|
94
92
|
};
|
|
95
|
-
selectedLinearElement: import("@excalidraw/element
|
|
93
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
96
94
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
97
95
|
isBindingEnabled: boolean;
|
|
98
|
-
suggestedBindings: import("@excalidraw/element
|
|
96
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
99
97
|
isRotating: boolean;
|
|
100
98
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
101
99
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -123,24 +121,11 @@ export declare const actionClearCanvas: {
|
|
|
123
121
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
124
122
|
isCropping: boolean;
|
|
125
123
|
croppingElementId: string | null;
|
|
126
|
-
searchMatches:
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
offsetY: number;
|
|
132
|
-
width: number;
|
|
133
|
-
height: number;
|
|
134
|
-
}[];
|
|
135
|
-
}[];
|
|
136
|
-
objectsSnapModeEnabled: boolean;
|
|
137
|
-
shouldCacheIgnoreZoom: boolean;
|
|
138
|
-
exportScale: number;
|
|
139
|
-
selectedElementsAreBeingDragged: boolean;
|
|
140
|
-
currentHoveredFontFamily: number | null;
|
|
141
|
-
hoveredElementIds: Readonly<{
|
|
142
|
-
[id: string]: true;
|
|
143
|
-
}>;
|
|
124
|
+
searchMatches: Readonly<{
|
|
125
|
+
focusedId: string | null;
|
|
126
|
+
matches: readonly import("../types").SearchMatch[];
|
|
127
|
+
}> | null;
|
|
128
|
+
activeLockedId: string | null;
|
|
144
129
|
contextMenu: {
|
|
145
130
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
146
131
|
top: number;
|
|
@@ -154,6 +139,7 @@ export declare const actionClearCanvas: {
|
|
|
154
139
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
155
140
|
editingFrame: string | null;
|
|
156
141
|
exportWithDarkMode: boolean;
|
|
142
|
+
exportScale: number;
|
|
157
143
|
currentItemStrokeColor: string;
|
|
158
144
|
currentItemBackgroundColor: string;
|
|
159
145
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -166,12 +152,13 @@ export declare const actionClearCanvas: {
|
|
|
166
152
|
currentItemTextAlign: string;
|
|
167
153
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
168
154
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
155
|
+
currentHoveredFontFamily: number | null;
|
|
169
156
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
170
157
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
171
158
|
cursorButton: "up" | "down";
|
|
172
159
|
scrolledOutside: boolean;
|
|
173
160
|
isResizing: boolean;
|
|
174
|
-
openMenu: "
|
|
161
|
+
openMenu: "canvas" | "shape" | null;
|
|
175
162
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
176
163
|
openSidebar: {
|
|
177
164
|
name: string;
|
|
@@ -179,9 +166,14 @@ export declare const actionClearCanvas: {
|
|
|
179
166
|
} | null;
|
|
180
167
|
defaultSidebarDockedPreference: boolean;
|
|
181
168
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
169
|
+
hoveredElementIds: Readonly<{
|
|
170
|
+
[id: string]: true;
|
|
171
|
+
}>;
|
|
182
172
|
previousSelectedElementIds: {
|
|
183
173
|
[id: string]: true;
|
|
184
174
|
};
|
|
175
|
+
selectedElementsAreBeingDragged: boolean;
|
|
176
|
+
shouldCacheIgnoreZoom: boolean;
|
|
185
177
|
toast: {
|
|
186
178
|
message: string;
|
|
187
179
|
closable?: boolean | undefined;
|
|
@@ -194,8 +186,12 @@ export declare const actionClearCanvas: {
|
|
|
194
186
|
x: number;
|
|
195
187
|
y: number;
|
|
196
188
|
} | null;
|
|
189
|
+
objectsSnapModeEnabled: boolean;
|
|
197
190
|
userToFollow: import("../types").UserToFollow | null;
|
|
198
191
|
followedBy: Set<import("../types").SocketId>;
|
|
192
|
+
lockedMultiSelections: {
|
|
193
|
+
[groupId: string]: true;
|
|
194
|
+
};
|
|
199
195
|
};
|
|
200
196
|
captureUpdate: "IMMEDIATELY";
|
|
201
197
|
};
|
|
@@ -228,7 +224,7 @@ export declare const actionZoomIn: {
|
|
|
228
224
|
errorMessage: import("react").ReactNode;
|
|
229
225
|
activeEmbeddable: {
|
|
230
226
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
231
|
-
state: "
|
|
227
|
+
state: "active" | "hover";
|
|
232
228
|
} | null;
|
|
233
229
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
234
230
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -236,7 +232,7 @@ export declare const actionZoomIn: {
|
|
|
236
232
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
237
233
|
isBindingEnabled: boolean;
|
|
238
234
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
239
|
-
suggestedBindings: import("@excalidraw/element
|
|
235
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
240
236
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
241
237
|
frameRendering: {
|
|
242
238
|
enabled: boolean;
|
|
@@ -247,10 +243,11 @@ export declare const actionZoomIn: {
|
|
|
247
243
|
editingFrame: string | null;
|
|
248
244
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
249
245
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
250
|
-
editingLinearElement: import("@excalidraw/element
|
|
246
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
251
247
|
activeTool: {
|
|
252
248
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
253
249
|
locked: boolean;
|
|
250
|
+
fromSelection: boolean;
|
|
254
251
|
} & import("../types").ActiveTool;
|
|
255
252
|
penMode: boolean;
|
|
256
253
|
penDetected: boolean;
|
|
@@ -279,7 +276,7 @@ export declare const actionZoomIn: {
|
|
|
279
276
|
name: string | null;
|
|
280
277
|
isResizing: boolean;
|
|
281
278
|
isRotating: boolean;
|
|
282
|
-
openMenu: "
|
|
279
|
+
openMenu: "canvas" | "shape" | null;
|
|
283
280
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
284
281
|
openSidebar: {
|
|
285
282
|
name: string;
|
|
@@ -289,7 +286,7 @@ export declare const actionZoomIn: {
|
|
|
289
286
|
name: "imageExport" | "help" | "jsonExport";
|
|
290
287
|
} | {
|
|
291
288
|
name: "ttd";
|
|
292
|
-
tab: "text-to-diagram"
|
|
289
|
+
tab: "mermaid" | "text-to-diagram";
|
|
293
290
|
} | {
|
|
294
291
|
name: "commandPalette";
|
|
295
292
|
} | {
|
|
@@ -361,9 +358,8 @@ export declare const actionZoomIn: {
|
|
|
361
358
|
shown: true;
|
|
362
359
|
data: import("../charts").Spreadsheet;
|
|
363
360
|
};
|
|
364
|
-
pendingImageElementId: string | null;
|
|
365
361
|
showHyperlinkPopup: false | "editor" | "info";
|
|
366
|
-
selectedLinearElement: import("@excalidraw/element
|
|
362
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
367
363
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
368
364
|
originSnapOffset: {
|
|
369
365
|
x: number;
|
|
@@ -373,16 +369,14 @@ export declare const actionZoomIn: {
|
|
|
373
369
|
followedBy: Set<import("../types").SocketId>;
|
|
374
370
|
isCropping: boolean;
|
|
375
371
|
croppingElementId: string | null;
|
|
376
|
-
searchMatches:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}[];
|
|
385
|
-
}[];
|
|
372
|
+
searchMatches: Readonly<{
|
|
373
|
+
focusedId: string | null;
|
|
374
|
+
matches: readonly import("../types").SearchMatch[];
|
|
375
|
+
}> | null;
|
|
376
|
+
activeLockedId: string | null;
|
|
377
|
+
lockedMultiSelections: {
|
|
378
|
+
[groupId: string]: true;
|
|
379
|
+
};
|
|
386
380
|
};
|
|
387
381
|
captureUpdate: "EVENTUALLY";
|
|
388
382
|
};
|
|
@@ -417,7 +411,7 @@ export declare const actionZoomOut: {
|
|
|
417
411
|
errorMessage: import("react").ReactNode;
|
|
418
412
|
activeEmbeddable: {
|
|
419
413
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
420
|
-
state: "
|
|
414
|
+
state: "active" | "hover";
|
|
421
415
|
} | null;
|
|
422
416
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
423
417
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -425,7 +419,7 @@ export declare const actionZoomOut: {
|
|
|
425
419
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
426
420
|
isBindingEnabled: boolean;
|
|
427
421
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
428
|
-
suggestedBindings: import("@excalidraw/element
|
|
422
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
429
423
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
430
424
|
frameRendering: {
|
|
431
425
|
enabled: boolean;
|
|
@@ -436,10 +430,11 @@ export declare const actionZoomOut: {
|
|
|
436
430
|
editingFrame: string | null;
|
|
437
431
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
438
432
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
439
|
-
editingLinearElement: import("@excalidraw/element
|
|
433
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
440
434
|
activeTool: {
|
|
441
435
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
442
436
|
locked: boolean;
|
|
437
|
+
fromSelection: boolean;
|
|
443
438
|
} & import("../types").ActiveTool;
|
|
444
439
|
penMode: boolean;
|
|
445
440
|
penDetected: boolean;
|
|
@@ -468,7 +463,7 @@ export declare const actionZoomOut: {
|
|
|
468
463
|
name: string | null;
|
|
469
464
|
isResizing: boolean;
|
|
470
465
|
isRotating: boolean;
|
|
471
|
-
openMenu: "
|
|
466
|
+
openMenu: "canvas" | "shape" | null;
|
|
472
467
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
473
468
|
openSidebar: {
|
|
474
469
|
name: string;
|
|
@@ -478,7 +473,7 @@ export declare const actionZoomOut: {
|
|
|
478
473
|
name: "imageExport" | "help" | "jsonExport";
|
|
479
474
|
} | {
|
|
480
475
|
name: "ttd";
|
|
481
|
-
tab: "text-to-diagram"
|
|
476
|
+
tab: "mermaid" | "text-to-diagram";
|
|
482
477
|
} | {
|
|
483
478
|
name: "commandPalette";
|
|
484
479
|
} | {
|
|
@@ -550,9 +545,8 @@ export declare const actionZoomOut: {
|
|
|
550
545
|
shown: true;
|
|
551
546
|
data: import("../charts").Spreadsheet;
|
|
552
547
|
};
|
|
553
|
-
pendingImageElementId: string | null;
|
|
554
548
|
showHyperlinkPopup: false | "editor" | "info";
|
|
555
|
-
selectedLinearElement: import("@excalidraw/element
|
|
549
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
556
550
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
557
551
|
originSnapOffset: {
|
|
558
552
|
x: number;
|
|
@@ -562,16 +556,14 @@ export declare const actionZoomOut: {
|
|
|
562
556
|
followedBy: Set<import("../types").SocketId>;
|
|
563
557
|
isCropping: boolean;
|
|
564
558
|
croppingElementId: string | null;
|
|
565
|
-
searchMatches:
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
}[];
|
|
574
|
-
}[];
|
|
559
|
+
searchMatches: Readonly<{
|
|
560
|
+
focusedId: string | null;
|
|
561
|
+
matches: readonly import("../types").SearchMatch[];
|
|
562
|
+
}> | null;
|
|
563
|
+
activeLockedId: string | null;
|
|
564
|
+
lockedMultiSelections: {
|
|
565
|
+
[groupId: string]: true;
|
|
566
|
+
};
|
|
575
567
|
};
|
|
576
568
|
captureUpdate: "EVENTUALLY";
|
|
577
569
|
};
|
|
@@ -606,7 +598,7 @@ export declare const actionResetZoom: {
|
|
|
606
598
|
errorMessage: import("react").ReactNode;
|
|
607
599
|
activeEmbeddable: {
|
|
608
600
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
609
|
-
state: "
|
|
601
|
+
state: "active" | "hover";
|
|
610
602
|
} | null;
|
|
611
603
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
612
604
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -614,7 +606,7 @@ export declare const actionResetZoom: {
|
|
|
614
606
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
615
607
|
isBindingEnabled: boolean;
|
|
616
608
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
617
|
-
suggestedBindings: import("@excalidraw/element
|
|
609
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
618
610
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
619
611
|
frameRendering: {
|
|
620
612
|
enabled: boolean;
|
|
@@ -625,10 +617,11 @@ export declare const actionResetZoom: {
|
|
|
625
617
|
editingFrame: string | null;
|
|
626
618
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
627
619
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
628
|
-
editingLinearElement: import("@excalidraw/element
|
|
620
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
629
621
|
activeTool: {
|
|
630
622
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
631
623
|
locked: boolean;
|
|
624
|
+
fromSelection: boolean;
|
|
632
625
|
} & import("../types").ActiveTool;
|
|
633
626
|
penMode: boolean;
|
|
634
627
|
penDetected: boolean;
|
|
@@ -657,7 +650,7 @@ export declare const actionResetZoom: {
|
|
|
657
650
|
name: string | null;
|
|
658
651
|
isResizing: boolean;
|
|
659
652
|
isRotating: boolean;
|
|
660
|
-
openMenu: "
|
|
653
|
+
openMenu: "canvas" | "shape" | null;
|
|
661
654
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
662
655
|
openSidebar: {
|
|
663
656
|
name: string;
|
|
@@ -667,7 +660,7 @@ export declare const actionResetZoom: {
|
|
|
667
660
|
name: "imageExport" | "help" | "jsonExport";
|
|
668
661
|
} | {
|
|
669
662
|
name: "ttd";
|
|
670
|
-
tab: "text-to-diagram"
|
|
663
|
+
tab: "mermaid" | "text-to-diagram";
|
|
671
664
|
} | {
|
|
672
665
|
name: "commandPalette";
|
|
673
666
|
} | {
|
|
@@ -739,9 +732,8 @@ export declare const actionResetZoom: {
|
|
|
739
732
|
shown: true;
|
|
740
733
|
data: import("../charts").Spreadsheet;
|
|
741
734
|
};
|
|
742
|
-
pendingImageElementId: string | null;
|
|
743
735
|
showHyperlinkPopup: false | "editor" | "info";
|
|
744
|
-
selectedLinearElement: import("@excalidraw/element
|
|
736
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
745
737
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
746
738
|
originSnapOffset: {
|
|
747
739
|
x: number;
|
|
@@ -751,16 +743,14 @@ export declare const actionResetZoom: {
|
|
|
751
743
|
followedBy: Set<import("../types").SocketId>;
|
|
752
744
|
isCropping: boolean;
|
|
753
745
|
croppingElementId: string | null;
|
|
754
|
-
searchMatches:
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
}[];
|
|
763
|
-
}[];
|
|
746
|
+
searchMatches: Readonly<{
|
|
747
|
+
focusedId: string | null;
|
|
748
|
+
matches: readonly import("../types").SearchMatch[];
|
|
749
|
+
}> | null;
|
|
750
|
+
activeLockedId: string | null;
|
|
751
|
+
lockedMultiSelections: {
|
|
752
|
+
[groupId: string]: true;
|
|
753
|
+
};
|
|
764
754
|
};
|
|
765
755
|
captureUpdate: "EVENTUALLY";
|
|
766
756
|
};
|
|
@@ -801,7 +791,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
801
791
|
errorMessage: import("react").ReactNode;
|
|
802
792
|
activeEmbeddable: {
|
|
803
793
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
804
|
-
state: "
|
|
794
|
+
state: "active" | "hover";
|
|
805
795
|
} | null;
|
|
806
796
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
807
797
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -809,7 +799,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
809
799
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
810
800
|
isBindingEnabled: boolean;
|
|
811
801
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
812
|
-
suggestedBindings: import("@excalidraw/element
|
|
802
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
813
803
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
814
804
|
frameRendering: {
|
|
815
805
|
enabled: boolean;
|
|
@@ -820,10 +810,11 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
820
810
|
editingFrame: string | null;
|
|
821
811
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
822
812
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
823
|
-
editingLinearElement: import("@excalidraw/element
|
|
813
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
824
814
|
activeTool: {
|
|
825
815
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
826
816
|
locked: boolean;
|
|
817
|
+
fromSelection: boolean;
|
|
827
818
|
} & import("../types").ActiveTool;
|
|
828
819
|
penMode: boolean;
|
|
829
820
|
penDetected: boolean;
|
|
@@ -852,7 +843,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
852
843
|
name: string | null;
|
|
853
844
|
isResizing: boolean;
|
|
854
845
|
isRotating: boolean;
|
|
855
|
-
openMenu: "
|
|
846
|
+
openMenu: "canvas" | "shape" | null;
|
|
856
847
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
857
848
|
openSidebar: {
|
|
858
849
|
name: string;
|
|
@@ -862,7 +853,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
862
853
|
name: "imageExport" | "help" | "jsonExport";
|
|
863
854
|
} | {
|
|
864
855
|
name: "ttd";
|
|
865
|
-
tab: "text-to-diagram"
|
|
856
|
+
tab: "mermaid" | "text-to-diagram";
|
|
866
857
|
} | {
|
|
867
858
|
name: "commandPalette";
|
|
868
859
|
} | {
|
|
@@ -934,9 +925,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
934
925
|
shown: true;
|
|
935
926
|
data: import("../charts").Spreadsheet;
|
|
936
927
|
};
|
|
937
|
-
pendingImageElementId: string | null;
|
|
938
928
|
showHyperlinkPopup: false | "editor" | "info";
|
|
939
|
-
selectedLinearElement: import("@excalidraw/element
|
|
929
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
940
930
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
941
931
|
originSnapOffset: {
|
|
942
932
|
x: number;
|
|
@@ -947,16 +937,14 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
947
937
|
followedBy: Set<import("../types").SocketId>;
|
|
948
938
|
isCropping: boolean;
|
|
949
939
|
croppingElementId: string | null;
|
|
950
|
-
searchMatches:
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
}[];
|
|
959
|
-
}[];
|
|
940
|
+
searchMatches: Readonly<{
|
|
941
|
+
focusedId: string | null;
|
|
942
|
+
matches: readonly import("../types").SearchMatch[];
|
|
943
|
+
}> | null;
|
|
944
|
+
activeLockedId: string | null;
|
|
945
|
+
lockedMultiSelections: {
|
|
946
|
+
[groupId: string]: true;
|
|
947
|
+
};
|
|
960
948
|
};
|
|
961
949
|
captureUpdate: "EVENTUALLY";
|
|
962
950
|
};
|
|
@@ -992,7 +980,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
992
980
|
errorMessage: import("react").ReactNode;
|
|
993
981
|
activeEmbeddable: {
|
|
994
982
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
995
|
-
state: "
|
|
983
|
+
state: "active" | "hover";
|
|
996
984
|
} | null;
|
|
997
985
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
998
986
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1000,7 +988,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1000
988
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1001
989
|
isBindingEnabled: boolean;
|
|
1002
990
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1003
|
-
suggestedBindings: import("@excalidraw/element
|
|
991
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1004
992
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1005
993
|
frameRendering: {
|
|
1006
994
|
enabled: boolean;
|
|
@@ -1011,10 +999,11 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1011
999
|
editingFrame: string | null;
|
|
1012
1000
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1013
1001
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1014
|
-
editingLinearElement: import("@excalidraw/element
|
|
1002
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1015
1003
|
activeTool: {
|
|
1016
1004
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1017
1005
|
locked: boolean;
|
|
1006
|
+
fromSelection: boolean;
|
|
1018
1007
|
} & import("../types").ActiveTool;
|
|
1019
1008
|
penMode: boolean;
|
|
1020
1009
|
penDetected: boolean;
|
|
@@ -1043,7 +1032,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1043
1032
|
name: string | null;
|
|
1044
1033
|
isResizing: boolean;
|
|
1045
1034
|
isRotating: boolean;
|
|
1046
|
-
openMenu: "
|
|
1035
|
+
openMenu: "canvas" | "shape" | null;
|
|
1047
1036
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1048
1037
|
openSidebar: {
|
|
1049
1038
|
name: string;
|
|
@@ -1053,7 +1042,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1053
1042
|
name: "imageExport" | "help" | "jsonExport";
|
|
1054
1043
|
} | {
|
|
1055
1044
|
name: "ttd";
|
|
1056
|
-
tab: "text-to-diagram"
|
|
1045
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1057
1046
|
} | {
|
|
1058
1047
|
name: "commandPalette";
|
|
1059
1048
|
} | {
|
|
@@ -1125,9 +1114,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1125
1114
|
shown: true;
|
|
1126
1115
|
data: import("../charts").Spreadsheet;
|
|
1127
1116
|
};
|
|
1128
|
-
pendingImageElementId: string | null;
|
|
1129
1117
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1130
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1118
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1131
1119
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1132
1120
|
originSnapOffset: {
|
|
1133
1121
|
x: number;
|
|
@@ -1138,16 +1126,14 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1138
1126
|
followedBy: Set<import("../types").SocketId>;
|
|
1139
1127
|
isCropping: boolean;
|
|
1140
1128
|
croppingElementId: string | null;
|
|
1141
|
-
searchMatches:
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
}[];
|
|
1150
|
-
}[];
|
|
1129
|
+
searchMatches: Readonly<{
|
|
1130
|
+
focusedId: string | null;
|
|
1131
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1132
|
+
}> | null;
|
|
1133
|
+
activeLockedId: string | null;
|
|
1134
|
+
lockedMultiSelections: {
|
|
1135
|
+
[groupId: string]: true;
|
|
1136
|
+
};
|
|
1151
1137
|
};
|
|
1152
1138
|
captureUpdate: "EVENTUALLY";
|
|
1153
1139
|
};
|
|
@@ -1175,7 +1161,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1175
1161
|
errorMessage: import("react").ReactNode;
|
|
1176
1162
|
activeEmbeddable: {
|
|
1177
1163
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1178
|
-
state: "
|
|
1164
|
+
state: "active" | "hover";
|
|
1179
1165
|
} | null;
|
|
1180
1166
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1181
1167
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1183,7 +1169,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1183
1169
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1184
1170
|
isBindingEnabled: boolean;
|
|
1185
1171
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1186
|
-
suggestedBindings: import("@excalidraw/element
|
|
1172
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1187
1173
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1188
1174
|
frameRendering: {
|
|
1189
1175
|
enabled: boolean;
|
|
@@ -1194,10 +1180,11 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1194
1180
|
editingFrame: string | null;
|
|
1195
1181
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1196
1182
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1197
|
-
editingLinearElement: import("@excalidraw/element
|
|
1183
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1198
1184
|
activeTool: {
|
|
1199
1185
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1200
1186
|
locked: boolean;
|
|
1187
|
+
fromSelection: boolean;
|
|
1201
1188
|
} & import("../types").ActiveTool;
|
|
1202
1189
|
penMode: boolean;
|
|
1203
1190
|
penDetected: boolean;
|
|
@@ -1226,7 +1213,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1226
1213
|
name: string | null;
|
|
1227
1214
|
isResizing: boolean;
|
|
1228
1215
|
isRotating: boolean;
|
|
1229
|
-
openMenu: "
|
|
1216
|
+
openMenu: "canvas" | "shape" | null;
|
|
1230
1217
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1231
1218
|
openSidebar: {
|
|
1232
1219
|
name: string;
|
|
@@ -1236,7 +1223,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1236
1223
|
name: "imageExport" | "help" | "jsonExport";
|
|
1237
1224
|
} | {
|
|
1238
1225
|
name: "ttd";
|
|
1239
|
-
tab: "text-to-diagram"
|
|
1226
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1240
1227
|
} | {
|
|
1241
1228
|
name: "commandPalette";
|
|
1242
1229
|
} | {
|
|
@@ -1308,9 +1295,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1308
1295
|
shown: true;
|
|
1309
1296
|
data: import("../charts").Spreadsheet;
|
|
1310
1297
|
};
|
|
1311
|
-
pendingImageElementId: string | null;
|
|
1312
1298
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1313
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1299
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1314
1300
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1315
1301
|
originSnapOffset: {
|
|
1316
1302
|
x: number;
|
|
@@ -1321,16 +1307,14 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1321
1307
|
followedBy: Set<import("../types").SocketId>;
|
|
1322
1308
|
isCropping: boolean;
|
|
1323
1309
|
croppingElementId: string | null;
|
|
1324
|
-
searchMatches:
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
}[];
|
|
1333
|
-
}[];
|
|
1310
|
+
searchMatches: Readonly<{
|
|
1311
|
+
focusedId: string | null;
|
|
1312
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1313
|
+
}> | null;
|
|
1314
|
+
activeLockedId: string | null;
|
|
1315
|
+
lockedMultiSelections: {
|
|
1316
|
+
[groupId: string]: true;
|
|
1317
|
+
};
|
|
1334
1318
|
};
|
|
1335
1319
|
captureUpdate: "EVENTUALLY";
|
|
1336
1320
|
};
|
|
@@ -1362,7 +1346,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1362
1346
|
errorMessage: import("react").ReactNode;
|
|
1363
1347
|
activeEmbeddable: {
|
|
1364
1348
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1365
|
-
state: "
|
|
1349
|
+
state: "active" | "hover";
|
|
1366
1350
|
} | null;
|
|
1367
1351
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1368
1352
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1370,7 +1354,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1370
1354
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1371
1355
|
isBindingEnabled: boolean;
|
|
1372
1356
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1373
|
-
suggestedBindings: import("@excalidraw/element
|
|
1357
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1374
1358
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1375
1359
|
frameRendering: {
|
|
1376
1360
|
enabled: boolean;
|
|
@@ -1381,10 +1365,11 @@ export declare const actionZoomToFitSelection: {
|
|
|
1381
1365
|
editingFrame: string | null;
|
|
1382
1366
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1383
1367
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1384
|
-
editingLinearElement: import("@excalidraw/element
|
|
1368
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1385
1369
|
activeTool: {
|
|
1386
1370
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1387
1371
|
locked: boolean;
|
|
1372
|
+
fromSelection: boolean;
|
|
1388
1373
|
} & import("../types").ActiveTool;
|
|
1389
1374
|
penMode: boolean;
|
|
1390
1375
|
penDetected: boolean;
|
|
@@ -1413,7 +1398,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1413
1398
|
name: string | null;
|
|
1414
1399
|
isResizing: boolean;
|
|
1415
1400
|
isRotating: boolean;
|
|
1416
|
-
openMenu: "
|
|
1401
|
+
openMenu: "canvas" | "shape" | null;
|
|
1417
1402
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1418
1403
|
openSidebar: {
|
|
1419
1404
|
name: string;
|
|
@@ -1423,7 +1408,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1423
1408
|
name: "imageExport" | "help" | "jsonExport";
|
|
1424
1409
|
} | {
|
|
1425
1410
|
name: "ttd";
|
|
1426
|
-
tab: "text-to-diagram"
|
|
1411
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1427
1412
|
} | {
|
|
1428
1413
|
name: "commandPalette";
|
|
1429
1414
|
} | {
|
|
@@ -1495,9 +1480,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1495
1480
|
shown: true;
|
|
1496
1481
|
data: import("../charts").Spreadsheet;
|
|
1497
1482
|
};
|
|
1498
|
-
pendingImageElementId: string | null;
|
|
1499
1483
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1500
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1484
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1501
1485
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1502
1486
|
originSnapOffset: {
|
|
1503
1487
|
x: number;
|
|
@@ -1508,16 +1492,14 @@ export declare const actionZoomToFitSelection: {
|
|
|
1508
1492
|
followedBy: Set<import("../types").SocketId>;
|
|
1509
1493
|
isCropping: boolean;
|
|
1510
1494
|
croppingElementId: string | null;
|
|
1511
|
-
searchMatches:
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
}[];
|
|
1520
|
-
}[];
|
|
1495
|
+
searchMatches: Readonly<{
|
|
1496
|
+
focusedId: string | null;
|
|
1497
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1498
|
+
}> | null;
|
|
1499
|
+
activeLockedId: string | null;
|
|
1500
|
+
lockedMultiSelections: {
|
|
1501
|
+
[groupId: string]: true;
|
|
1502
|
+
};
|
|
1521
1503
|
};
|
|
1522
1504
|
captureUpdate: "EVENTUALLY";
|
|
1523
1505
|
};
|
|
@@ -1550,7 +1532,7 @@ export declare const actionZoomToFit: {
|
|
|
1550
1532
|
errorMessage: import("react").ReactNode;
|
|
1551
1533
|
activeEmbeddable: {
|
|
1552
1534
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1553
|
-
state: "
|
|
1535
|
+
state: "active" | "hover";
|
|
1554
1536
|
} | null;
|
|
1555
1537
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1556
1538
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1558,7 +1540,7 @@ export declare const actionZoomToFit: {
|
|
|
1558
1540
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1559
1541
|
isBindingEnabled: boolean;
|
|
1560
1542
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1561
|
-
suggestedBindings: import("@excalidraw/element
|
|
1543
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1562
1544
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1563
1545
|
frameRendering: {
|
|
1564
1546
|
enabled: boolean;
|
|
@@ -1569,10 +1551,11 @@ export declare const actionZoomToFit: {
|
|
|
1569
1551
|
editingFrame: string | null;
|
|
1570
1552
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1571
1553
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1572
|
-
editingLinearElement: import("@excalidraw/element
|
|
1554
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1573
1555
|
activeTool: {
|
|
1574
1556
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1575
1557
|
locked: boolean;
|
|
1558
|
+
fromSelection: boolean;
|
|
1576
1559
|
} & import("../types").ActiveTool;
|
|
1577
1560
|
penMode: boolean;
|
|
1578
1561
|
penDetected: boolean;
|
|
@@ -1601,7 +1584,7 @@ export declare const actionZoomToFit: {
|
|
|
1601
1584
|
name: string | null;
|
|
1602
1585
|
isResizing: boolean;
|
|
1603
1586
|
isRotating: boolean;
|
|
1604
|
-
openMenu: "
|
|
1587
|
+
openMenu: "canvas" | "shape" | null;
|
|
1605
1588
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1606
1589
|
openSidebar: {
|
|
1607
1590
|
name: string;
|
|
@@ -1611,7 +1594,7 @@ export declare const actionZoomToFit: {
|
|
|
1611
1594
|
name: "imageExport" | "help" | "jsonExport";
|
|
1612
1595
|
} | {
|
|
1613
1596
|
name: "ttd";
|
|
1614
|
-
tab: "text-to-diagram"
|
|
1597
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1615
1598
|
} | {
|
|
1616
1599
|
name: "commandPalette";
|
|
1617
1600
|
} | {
|
|
@@ -1683,9 +1666,8 @@ export declare const actionZoomToFit: {
|
|
|
1683
1666
|
shown: true;
|
|
1684
1667
|
data: import("../charts").Spreadsheet;
|
|
1685
1668
|
};
|
|
1686
|
-
pendingImageElementId: string | null;
|
|
1687
1669
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1688
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1670
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1689
1671
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1690
1672
|
originSnapOffset: {
|
|
1691
1673
|
x: number;
|
|
@@ -1696,16 +1678,14 @@ export declare const actionZoomToFit: {
|
|
|
1696
1678
|
followedBy: Set<import("../types").SocketId>;
|
|
1697
1679
|
isCropping: boolean;
|
|
1698
1680
|
croppingElementId: string | null;
|
|
1699
|
-
searchMatches:
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
}[];
|
|
1708
|
-
}[];
|
|
1681
|
+
searchMatches: Readonly<{
|
|
1682
|
+
focusedId: string | null;
|
|
1683
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1684
|
+
}> | null;
|
|
1685
|
+
activeLockedId: string | null;
|
|
1686
|
+
lockedMultiSelections: {
|
|
1687
|
+
[groupId: string]: true;
|
|
1688
|
+
};
|
|
1709
1689
|
};
|
|
1710
1690
|
captureUpdate: "EVENTUALLY";
|
|
1711
1691
|
};
|
|
@@ -1735,7 +1715,7 @@ export declare const actionToggleTheme: {
|
|
|
1735
1715
|
errorMessage: import("react").ReactNode;
|
|
1736
1716
|
activeEmbeddable: {
|
|
1737
1717
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1738
|
-
state: "
|
|
1718
|
+
state: "active" | "hover";
|
|
1739
1719
|
} | null;
|
|
1740
1720
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1741
1721
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1743,7 +1723,7 @@ export declare const actionToggleTheme: {
|
|
|
1743
1723
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1744
1724
|
isBindingEnabled: boolean;
|
|
1745
1725
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1746
|
-
suggestedBindings: import("@excalidraw/element
|
|
1726
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1747
1727
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1748
1728
|
frameRendering: {
|
|
1749
1729
|
enabled: boolean;
|
|
@@ -1754,10 +1734,11 @@ export declare const actionToggleTheme: {
|
|
|
1754
1734
|
editingFrame: string | null;
|
|
1755
1735
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1756
1736
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1757
|
-
editingLinearElement: import("@excalidraw/element
|
|
1737
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1758
1738
|
activeTool: {
|
|
1759
1739
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1760
1740
|
locked: boolean;
|
|
1741
|
+
fromSelection: boolean;
|
|
1761
1742
|
} & import("../types").ActiveTool;
|
|
1762
1743
|
penMode: boolean;
|
|
1763
1744
|
penDetected: boolean;
|
|
@@ -1791,7 +1772,7 @@ export declare const actionToggleTheme: {
|
|
|
1791
1772
|
zoom: Readonly<{
|
|
1792
1773
|
value: import("../types").NormalizedZoomValue;
|
|
1793
1774
|
}>;
|
|
1794
|
-
openMenu: "
|
|
1775
|
+
openMenu: "canvas" | "shape" | null;
|
|
1795
1776
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1796
1777
|
openSidebar: {
|
|
1797
1778
|
name: string;
|
|
@@ -1801,7 +1782,7 @@ export declare const actionToggleTheme: {
|
|
|
1801
1782
|
name: "imageExport" | "help" | "jsonExport";
|
|
1802
1783
|
} | {
|
|
1803
1784
|
name: "ttd";
|
|
1804
|
-
tab: "text-to-diagram"
|
|
1785
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1805
1786
|
} | {
|
|
1806
1787
|
name: "commandPalette";
|
|
1807
1788
|
} | {
|
|
@@ -1872,9 +1853,8 @@ export declare const actionToggleTheme: {
|
|
|
1872
1853
|
shown: true;
|
|
1873
1854
|
data: import("../charts").Spreadsheet;
|
|
1874
1855
|
};
|
|
1875
|
-
pendingImageElementId: string | null;
|
|
1876
1856
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1877
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1857
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1878
1858
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1879
1859
|
originSnapOffset: {
|
|
1880
1860
|
x: number;
|
|
@@ -1885,16 +1865,14 @@ export declare const actionToggleTheme: {
|
|
|
1885
1865
|
followedBy: Set<import("../types").SocketId>;
|
|
1886
1866
|
isCropping: boolean;
|
|
1887
1867
|
croppingElementId: string | null;
|
|
1888
|
-
searchMatches:
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
}[];
|
|
1897
|
-
}[];
|
|
1868
|
+
searchMatches: Readonly<{
|
|
1869
|
+
focusedId: string | null;
|
|
1870
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1871
|
+
}> | null;
|
|
1872
|
+
activeLockedId: string | null;
|
|
1873
|
+
lockedMultiSelections: {
|
|
1874
|
+
[groupId: string]: true;
|
|
1875
|
+
};
|
|
1898
1876
|
};
|
|
1899
1877
|
captureUpdate: "EVENTUALLY";
|
|
1900
1878
|
};
|
|
@@ -1917,6 +1895,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1917
1895
|
activeTool: {
|
|
1918
1896
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1919
1897
|
locked: boolean;
|
|
1898
|
+
fromSelection: boolean;
|
|
1920
1899
|
} & import("../types").ActiveTool;
|
|
1921
1900
|
contextMenu: {
|
|
1922
1901
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -1932,7 +1911,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1932
1911
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1933
1912
|
isBindingEnabled: boolean;
|
|
1934
1913
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1935
|
-
suggestedBindings: import("@excalidraw/element
|
|
1914
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1936
1915
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1937
1916
|
frameRendering: {
|
|
1938
1917
|
enabled: boolean;
|
|
@@ -1943,7 +1922,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1943
1922
|
editingFrame: string | null;
|
|
1944
1923
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1945
1924
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1946
|
-
editingLinearElement: import("@excalidraw/element
|
|
1925
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1947
1926
|
penMode: boolean;
|
|
1948
1927
|
penDetected: boolean;
|
|
1949
1928
|
exportBackground: boolean;
|
|
@@ -1976,7 +1955,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1976
1955
|
zoom: Readonly<{
|
|
1977
1956
|
value: import("../types").NormalizedZoomValue;
|
|
1978
1957
|
}>;
|
|
1979
|
-
openMenu: "
|
|
1958
|
+
openMenu: "canvas" | "shape" | null;
|
|
1980
1959
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1981
1960
|
openSidebar: {
|
|
1982
1961
|
name: string;
|
|
@@ -1986,7 +1965,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1986
1965
|
name: "imageExport" | "help" | "jsonExport";
|
|
1987
1966
|
} | {
|
|
1988
1967
|
name: "ttd";
|
|
1989
|
-
tab: "text-to-diagram"
|
|
1968
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1990
1969
|
} | {
|
|
1991
1970
|
name: "commandPalette";
|
|
1992
1971
|
} | {
|
|
@@ -2052,9 +2031,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2052
2031
|
shown: true;
|
|
2053
2032
|
data: import("../charts").Spreadsheet;
|
|
2054
2033
|
};
|
|
2055
|
-
pendingImageElementId: string | null;
|
|
2056
2034
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2057
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2035
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2058
2036
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2059
2037
|
originSnapOffset: {
|
|
2060
2038
|
x: number;
|
|
@@ -2065,16 +2043,14 @@ export declare const actionToggleEraserTool: {
|
|
|
2065
2043
|
followedBy: Set<import("../types").SocketId>;
|
|
2066
2044
|
isCropping: boolean;
|
|
2067
2045
|
croppingElementId: string | null;
|
|
2068
|
-
searchMatches:
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
}[];
|
|
2077
|
-
}[];
|
|
2046
|
+
searchMatches: Readonly<{
|
|
2047
|
+
focusedId: string | null;
|
|
2048
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2049
|
+
}> | null;
|
|
2050
|
+
activeLockedId: string | null;
|
|
2051
|
+
lockedMultiSelections: {
|
|
2052
|
+
[groupId: string]: true;
|
|
2053
|
+
};
|
|
2078
2054
|
};
|
|
2079
2055
|
captureUpdate: "IMMEDIATELY";
|
|
2080
2056
|
};
|
|
@@ -2082,10 +2058,186 @@ export declare const actionToggleEraserTool: {
|
|
|
2082
2058
|
} & {
|
|
2083
2059
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
2084
2060
|
};
|
|
2061
|
+
export declare const actionToggleLassoTool: {
|
|
2062
|
+
name: "toggleLassoTool";
|
|
2063
|
+
label: string;
|
|
2064
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
2065
|
+
trackEvent: {
|
|
2066
|
+
category: "toolbar";
|
|
2067
|
+
};
|
|
2068
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
2069
|
+
appState: {
|
|
2070
|
+
selectedElementIds: {};
|
|
2071
|
+
selectedGroupIds: {};
|
|
2072
|
+
activeEmbeddable: null;
|
|
2073
|
+
activeTool: {
|
|
2074
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
2075
|
+
locked: boolean;
|
|
2076
|
+
fromSelection: boolean;
|
|
2077
|
+
} & import("../types").ActiveTool;
|
|
2078
|
+
contextMenu: {
|
|
2079
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
2080
|
+
top: number;
|
|
2081
|
+
left: number;
|
|
2082
|
+
} | null;
|
|
2083
|
+
showWelcomeScreen: boolean;
|
|
2084
|
+
isLoading: boolean;
|
|
2085
|
+
errorMessage: import("react").ReactNode;
|
|
2086
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2087
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2088
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
2089
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2090
|
+
isBindingEnabled: boolean;
|
|
2091
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2092
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2093
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2094
|
+
frameRendering: {
|
|
2095
|
+
enabled: boolean;
|
|
2096
|
+
name: boolean;
|
|
2097
|
+
outline: boolean;
|
|
2098
|
+
clip: boolean;
|
|
2099
|
+
};
|
|
2100
|
+
editingFrame: string | null;
|
|
2101
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2102
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2103
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2104
|
+
penMode: boolean;
|
|
2105
|
+
penDetected: boolean;
|
|
2106
|
+
exportBackground: boolean;
|
|
2107
|
+
exportEmbedScene: boolean;
|
|
2108
|
+
exportWithDarkMode: boolean;
|
|
2109
|
+
exportScale: number;
|
|
2110
|
+
currentItemStrokeColor: string;
|
|
2111
|
+
currentItemBackgroundColor: string;
|
|
2112
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
2113
|
+
currentItemStrokeWidth: number;
|
|
2114
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
2115
|
+
currentItemRoughness: number;
|
|
2116
|
+
currentItemOpacity: number;
|
|
2117
|
+
currentItemFontFamily: number;
|
|
2118
|
+
currentItemFontSize: number;
|
|
2119
|
+
currentItemTextAlign: string;
|
|
2120
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
2121
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
2122
|
+
currentHoveredFontFamily: number | null;
|
|
2123
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2124
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2125
|
+
viewBackgroundColor: string;
|
|
2126
|
+
scrollX: number;
|
|
2127
|
+
scrollY: number;
|
|
2128
|
+
cursorButton: "up" | "down";
|
|
2129
|
+
scrolledOutside: boolean;
|
|
2130
|
+
name: string | null;
|
|
2131
|
+
isResizing: boolean;
|
|
2132
|
+
isRotating: boolean;
|
|
2133
|
+
zoom: Readonly<{
|
|
2134
|
+
value: import("../types").NormalizedZoomValue;
|
|
2135
|
+
}>;
|
|
2136
|
+
openMenu: "canvas" | "shape" | null;
|
|
2137
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2138
|
+
openSidebar: {
|
|
2139
|
+
name: string;
|
|
2140
|
+
tab?: string | undefined;
|
|
2141
|
+
} | null;
|
|
2142
|
+
openDialog: {
|
|
2143
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
2144
|
+
} | {
|
|
2145
|
+
name: "ttd";
|
|
2146
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2147
|
+
} | {
|
|
2148
|
+
name: "commandPalette";
|
|
2149
|
+
} | {
|
|
2150
|
+
name: "elementLinkSelector";
|
|
2151
|
+
sourceElementId: string;
|
|
2152
|
+
} | null;
|
|
2153
|
+
defaultSidebarDockedPreference: boolean;
|
|
2154
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
2155
|
+
hoveredElementIds: Readonly<{
|
|
2156
|
+
[id: string]: true;
|
|
2157
|
+
}>;
|
|
2158
|
+
previousSelectedElementIds: {
|
|
2159
|
+
[id: string]: true;
|
|
2160
|
+
};
|
|
2161
|
+
selectedElementsAreBeingDragged: boolean;
|
|
2162
|
+
shouldCacheIgnoreZoom: boolean;
|
|
2163
|
+
toast: {
|
|
2164
|
+
message: string;
|
|
2165
|
+
closable?: boolean | undefined;
|
|
2166
|
+
duration?: number | undefined;
|
|
2167
|
+
} | null;
|
|
2168
|
+
zenModeEnabled: boolean;
|
|
2169
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
2170
|
+
gridSize: number;
|
|
2171
|
+
gridStep: number;
|
|
2172
|
+
gridModeEnabled: boolean;
|
|
2173
|
+
viewModeEnabled: boolean;
|
|
2174
|
+
editingGroupId: string | null;
|
|
2175
|
+
width: number;
|
|
2176
|
+
height: number;
|
|
2177
|
+
offsetTop: number;
|
|
2178
|
+
offsetLeft: number;
|
|
2179
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
2180
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
2181
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
2182
|
+
button?: "up" | "down" | undefined;
|
|
2183
|
+
selectedElementIds?: Readonly<{
|
|
2184
|
+
[id: string]: true;
|
|
2185
|
+
}> | undefined;
|
|
2186
|
+
username?: string | null | undefined;
|
|
2187
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
2188
|
+
color?: {
|
|
2189
|
+
background: string;
|
|
2190
|
+
stroke: string;
|
|
2191
|
+
} | undefined;
|
|
2192
|
+
avatarUrl?: string | undefined;
|
|
2193
|
+
id?: string | undefined;
|
|
2194
|
+
socketId?: import("../types").SocketId | undefined;
|
|
2195
|
+
isCurrentUser?: boolean | undefined;
|
|
2196
|
+
isInCall?: boolean | undefined;
|
|
2197
|
+
isSpeaking?: boolean | undefined;
|
|
2198
|
+
isMuted?: boolean | undefined;
|
|
2199
|
+
}>>;
|
|
2200
|
+
stats: {
|
|
2201
|
+
open: boolean;
|
|
2202
|
+
panels: number;
|
|
2203
|
+
};
|
|
2204
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
2205
|
+
pasteDialog: {
|
|
2206
|
+
shown: false;
|
|
2207
|
+
data: null;
|
|
2208
|
+
} | {
|
|
2209
|
+
shown: true;
|
|
2210
|
+
data: import("../charts").Spreadsheet;
|
|
2211
|
+
};
|
|
2212
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2213
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2214
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
2215
|
+
originSnapOffset: {
|
|
2216
|
+
x: number;
|
|
2217
|
+
y: number;
|
|
2218
|
+
} | null;
|
|
2219
|
+
objectsSnapModeEnabled: boolean;
|
|
2220
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
2221
|
+
followedBy: Set<import("../types").SocketId>;
|
|
2222
|
+
isCropping: boolean;
|
|
2223
|
+
croppingElementId: string | null;
|
|
2224
|
+
searchMatches: Readonly<{
|
|
2225
|
+
focusedId: string | null;
|
|
2226
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2227
|
+
}> | null;
|
|
2228
|
+
activeLockedId: string | null;
|
|
2229
|
+
lockedMultiSelections: {
|
|
2230
|
+
[groupId: string]: true;
|
|
2231
|
+
};
|
|
2232
|
+
};
|
|
2233
|
+
captureUpdate: "NEVER";
|
|
2234
|
+
};
|
|
2235
|
+
} & {
|
|
2236
|
+
keyTest?: undefined;
|
|
2237
|
+
};
|
|
2085
2238
|
export declare const actionToggleHandTool: {
|
|
2086
2239
|
name: "toggleHandTool";
|
|
2087
2240
|
label: string;
|
|
2088
|
-
paletteName: string;
|
|
2089
2241
|
trackEvent: {
|
|
2090
2242
|
category: "toolbar";
|
|
2091
2243
|
};
|
|
@@ -2099,6 +2251,7 @@ export declare const actionToggleHandTool: {
|
|
|
2099
2251
|
activeTool: {
|
|
2100
2252
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2101
2253
|
locked: boolean;
|
|
2254
|
+
fromSelection: boolean;
|
|
2102
2255
|
} & import("../types").ActiveTool;
|
|
2103
2256
|
contextMenu: {
|
|
2104
2257
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -2114,7 +2267,7 @@ export declare const actionToggleHandTool: {
|
|
|
2114
2267
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2115
2268
|
isBindingEnabled: boolean;
|
|
2116
2269
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2117
|
-
suggestedBindings: import("@excalidraw/element
|
|
2270
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2118
2271
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2119
2272
|
frameRendering: {
|
|
2120
2273
|
enabled: boolean;
|
|
@@ -2125,7 +2278,7 @@ export declare const actionToggleHandTool: {
|
|
|
2125
2278
|
editingFrame: string | null;
|
|
2126
2279
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2127
2280
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2128
|
-
editingLinearElement: import("@excalidraw/element
|
|
2281
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2129
2282
|
penMode: boolean;
|
|
2130
2283
|
penDetected: boolean;
|
|
2131
2284
|
exportBackground: boolean;
|
|
@@ -2158,7 +2311,7 @@ export declare const actionToggleHandTool: {
|
|
|
2158
2311
|
zoom: Readonly<{
|
|
2159
2312
|
value: import("../types").NormalizedZoomValue;
|
|
2160
2313
|
}>;
|
|
2161
|
-
openMenu: "
|
|
2314
|
+
openMenu: "canvas" | "shape" | null;
|
|
2162
2315
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2163
2316
|
openSidebar: {
|
|
2164
2317
|
name: string;
|
|
@@ -2168,7 +2321,7 @@ export declare const actionToggleHandTool: {
|
|
|
2168
2321
|
name: "imageExport" | "help" | "jsonExport";
|
|
2169
2322
|
} | {
|
|
2170
2323
|
name: "ttd";
|
|
2171
|
-
tab: "text-to-diagram"
|
|
2324
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2172
2325
|
} | {
|
|
2173
2326
|
name: "commandPalette";
|
|
2174
2327
|
} | {
|
|
@@ -2234,9 +2387,8 @@ export declare const actionToggleHandTool: {
|
|
|
2234
2387
|
shown: true;
|
|
2235
2388
|
data: import("../charts").Spreadsheet;
|
|
2236
2389
|
};
|
|
2237
|
-
pendingImageElementId: string | null;
|
|
2238
2390
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2239
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2391
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2240
2392
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2241
2393
|
originSnapOffset: {
|
|
2242
2394
|
x: number;
|
|
@@ -2247,16 +2399,14 @@ export declare const actionToggleHandTool: {
|
|
|
2247
2399
|
followedBy: Set<import("../types").SocketId>;
|
|
2248
2400
|
isCropping: boolean;
|
|
2249
2401
|
croppingElementId: string | null;
|
|
2250
|
-
searchMatches:
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
}[];
|
|
2259
|
-
}[];
|
|
2402
|
+
searchMatches: Readonly<{
|
|
2403
|
+
focusedId: string | null;
|
|
2404
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2405
|
+
}> | null;
|
|
2406
|
+
activeLockedId: string | null;
|
|
2407
|
+
lockedMultiSelections: {
|
|
2408
|
+
[groupId: string]: true;
|
|
2409
|
+
};
|
|
2260
2410
|
};
|
|
2261
2411
|
captureUpdate: "IMMEDIATELY";
|
|
2262
2412
|
};
|