@excalidraw/excalidraw 0.18.0-432a46e → 0.18.0-508de2f3a
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-3JWCK6AW.js +5677 -0
- package/dist/dev/chunk-3JWCK6AW.js.map +7 -0
- package/dist/dev/chunk-BVDPDK7J.js +7 -0
- package/dist/dev/chunk-BVDPDK7J.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-CNYZRAWA.js} +3 -3
- package/dist/dev/index.css +147 -68
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +9456 -9767
- 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-2HQY2INW.js +4 -0
- package/dist/prod/chunk-I4UNSFV6.js +12 -0
- package/dist/prod/chunk-XRPJNYI4.js +7 -0
- package/dist/prod/data/image-DYRE7ZKS.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 +24 -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 +16 -15
- package/dist/types/element/src/align.d.ts +8 -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} +78 -40
- package/dist/types/element/src/distance.d.ts +3 -0
- package/dist/types/{packages/element → element}/src/distribute.d.ts +2 -1
- 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/groups.d.ts +1 -0
- 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 +23 -36
- package/dist/types/{packages/element → element}/src/mutateElement.d.ts +12 -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 +42 -51
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionBoundText.d.ts +28 -34
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCanvas.d.ts +351 -214
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionClipboard.d.ts +84 -100
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCropEditor.d.ts +14 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDeleteSelected.d.ts +42 -50
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLink.d.ts +13 -16
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLock.d.ts +43 -51
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionEmbeddable.d.ts +14 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionExport.d.ts +136 -163
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFinalize.d.ts +75 -40
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFrame.d.ts +103 -115
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionGroup.d.ts +28 -34
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +713 -0
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionLink.d.ts +13 -16
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionMenu.d.ts +39 -48
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionNavigate.d.ts +27 -33
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionProperties.d.ts +218 -255
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionSelectAll.d.ts +14 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionStyles.d.ts +14 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleGridMode.d.ts +14 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleObjectsSnapMode.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +182 -0
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleStats.d.ts +14 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleViewMode.d.ts +14 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleZenMode.d.ts +14 -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/Actions.d.ts +0 -4
- package/dist/types/{packages/excalidraw → excalidraw}/components/App.d.ts +41 -24
- 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/excalidraw/components/Ellipsify.d.ts +4 -0
- 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/reconcile.d.ts +1 -0
- package/dist/types/{packages/excalidraw → excalidraw}/data/restore.d.ts +6 -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 +11 -10
- 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/excalidraw/renderer/staticScene.d.ts +14 -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 +38 -15
- 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 +146 -109
- 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/renderer/staticScene.d.ts +0 -11
- 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-CNYZRAWA.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/elementLink.d.ts +0 -0
- /package/dist/types/{packages/element → element}/src/embeddable.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/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/resave.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/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,15 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LinearElementEditor } from "@excalidraw/element
|
|
2
|
+
import { LinearElementEditor } from "@excalidraw/element";
|
|
3
3
|
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement } from "@excalidraw/element/types";
|
|
4
4
|
import type { AppClassProperties, AppState, Primitive } from "../types";
|
|
5
5
|
export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
|
|
6
|
-
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[],
|
|
6
|
+
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
|
|
7
7
|
export declare const actionChangeStrokeColor: {
|
|
8
8
|
name: "changeStrokeColor";
|
|
9
9
|
label: string;
|
|
10
10
|
trackEvent: false;
|
|
11
11
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
12
|
-
PanelComponent: ({ elements, appState, updateData,
|
|
12
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
} & {
|
|
14
14
|
keyTest?: undefined;
|
|
15
15
|
};
|
|
@@ -17,8 +17,16 @@ export declare const actionChangeBackgroundColor: {
|
|
|
17
17
|
name: "changeBackgroundColor";
|
|
18
18
|
label: string;
|
|
19
19
|
trackEvent: false;
|
|
20
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) =>
|
|
21
|
-
|
|
20
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
21
|
+
appState: any;
|
|
22
|
+
captureUpdate: "EVENTUALLY";
|
|
23
|
+
elements?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
elements: ExcalidrawElement[];
|
|
26
|
+
appState: any;
|
|
27
|
+
captureUpdate: "IMMEDIATELY";
|
|
28
|
+
};
|
|
29
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
30
|
} & {
|
|
23
31
|
keyTest?: undefined;
|
|
24
32
|
};
|
|
@@ -40,7 +48,7 @@ export declare const actionChangeFillStyle: {
|
|
|
40
48
|
errorMessage: import("react").ReactNode;
|
|
41
49
|
activeEmbeddable: {
|
|
42
50
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
43
|
-
state: "
|
|
51
|
+
state: "active" | "hover";
|
|
44
52
|
} | null;
|
|
45
53
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
46
54
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -48,7 +56,7 @@ export declare const actionChangeFillStyle: {
|
|
|
48
56
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
49
57
|
isBindingEnabled: boolean;
|
|
50
58
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
51
|
-
suggestedBindings: import("@excalidraw/element
|
|
59
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
52
60
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
53
61
|
frameRendering: {
|
|
54
62
|
enabled: boolean;
|
|
@@ -59,10 +67,10 @@ export declare const actionChangeFillStyle: {
|
|
|
59
67
|
editingFrame: string | null;
|
|
60
68
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
61
69
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
62
|
-
editingLinearElement: LinearElementEditor | null;
|
|
63
70
|
activeTool: {
|
|
64
71
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
65
72
|
locked: boolean;
|
|
73
|
+
fromSelection: boolean;
|
|
66
74
|
} & import("../types").ActiveTool;
|
|
67
75
|
penMode: boolean;
|
|
68
76
|
penDetected: boolean;
|
|
@@ -95,7 +103,7 @@ export declare const actionChangeFillStyle: {
|
|
|
95
103
|
zoom: Readonly<{
|
|
96
104
|
value: import("../types").NormalizedZoomValue;
|
|
97
105
|
}>;
|
|
98
|
-
openMenu: "
|
|
106
|
+
openMenu: "canvas" | "shape" | null;
|
|
99
107
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
100
108
|
openSidebar: {
|
|
101
109
|
name: string;
|
|
@@ -105,7 +113,7 @@ export declare const actionChangeFillStyle: {
|
|
|
105
113
|
name: "imageExport" | "help" | "jsonExport";
|
|
106
114
|
} | {
|
|
107
115
|
name: "ttd";
|
|
108
|
-
tab: "text-to-diagram"
|
|
116
|
+
tab: "mermaid" | "text-to-diagram";
|
|
109
117
|
} | {
|
|
110
118
|
name: "commandPalette";
|
|
111
119
|
} | {
|
|
@@ -177,7 +185,6 @@ export declare const actionChangeFillStyle: {
|
|
|
177
185
|
shown: true;
|
|
178
186
|
data: import("../charts").Spreadsheet;
|
|
179
187
|
};
|
|
180
|
-
pendingImageElementId: string | null;
|
|
181
188
|
showHyperlinkPopup: false | "editor" | "info";
|
|
182
189
|
selectedLinearElement: LinearElementEditor | null;
|
|
183
190
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -190,20 +197,18 @@ export declare const actionChangeFillStyle: {
|
|
|
190
197
|
followedBy: Set<import("../types").SocketId>;
|
|
191
198
|
isCropping: boolean;
|
|
192
199
|
croppingElementId: string | null;
|
|
193
|
-
searchMatches:
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}[];
|
|
202
|
-
}[];
|
|
200
|
+
searchMatches: Readonly<{
|
|
201
|
+
focusedId: string | null;
|
|
202
|
+
matches: readonly import("../types").SearchMatch[];
|
|
203
|
+
}> | null;
|
|
204
|
+
activeLockedId: string | null;
|
|
205
|
+
lockedMultiSelections: {
|
|
206
|
+
[groupId: string]: true;
|
|
207
|
+
};
|
|
203
208
|
};
|
|
204
209
|
captureUpdate: "IMMEDIATELY";
|
|
205
210
|
};
|
|
206
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
211
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
207
212
|
} & {
|
|
208
213
|
keyTest?: undefined;
|
|
209
214
|
};
|
|
@@ -225,7 +230,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
225
230
|
errorMessage: import("react").ReactNode;
|
|
226
231
|
activeEmbeddable: {
|
|
227
232
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
228
|
-
state: "
|
|
233
|
+
state: "active" | "hover";
|
|
229
234
|
} | null;
|
|
230
235
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
231
236
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -233,7 +238,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
233
238
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
234
239
|
isBindingEnabled: boolean;
|
|
235
240
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
236
|
-
suggestedBindings: import("@excalidraw/element
|
|
241
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
237
242
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
238
243
|
frameRendering: {
|
|
239
244
|
enabled: boolean;
|
|
@@ -244,10 +249,10 @@ export declare const actionChangeStrokeWidth: {
|
|
|
244
249
|
editingFrame: string | null;
|
|
245
250
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
246
251
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
247
|
-
editingLinearElement: LinearElementEditor | null;
|
|
248
252
|
activeTool: {
|
|
249
253
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
250
254
|
locked: boolean;
|
|
255
|
+
fromSelection: boolean;
|
|
251
256
|
} & import("../types").ActiveTool;
|
|
252
257
|
penMode: boolean;
|
|
253
258
|
penDetected: boolean;
|
|
@@ -280,7 +285,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
280
285
|
zoom: Readonly<{
|
|
281
286
|
value: import("../types").NormalizedZoomValue;
|
|
282
287
|
}>;
|
|
283
|
-
openMenu: "
|
|
288
|
+
openMenu: "canvas" | "shape" | null;
|
|
284
289
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
285
290
|
openSidebar: {
|
|
286
291
|
name: string;
|
|
@@ -290,7 +295,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
290
295
|
name: "imageExport" | "help" | "jsonExport";
|
|
291
296
|
} | {
|
|
292
297
|
name: "ttd";
|
|
293
|
-
tab: "text-to-diagram"
|
|
298
|
+
tab: "mermaid" | "text-to-diagram";
|
|
294
299
|
} | {
|
|
295
300
|
name: "commandPalette";
|
|
296
301
|
} | {
|
|
@@ -362,7 +367,6 @@ export declare const actionChangeStrokeWidth: {
|
|
|
362
367
|
shown: true;
|
|
363
368
|
data: import("../charts").Spreadsheet;
|
|
364
369
|
};
|
|
365
|
-
pendingImageElementId: string | null;
|
|
366
370
|
showHyperlinkPopup: false | "editor" | "info";
|
|
367
371
|
selectedLinearElement: LinearElementEditor | null;
|
|
368
372
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -375,20 +379,18 @@ export declare const actionChangeStrokeWidth: {
|
|
|
375
379
|
followedBy: Set<import("../types").SocketId>;
|
|
376
380
|
isCropping: boolean;
|
|
377
381
|
croppingElementId: string | null;
|
|
378
|
-
searchMatches:
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
}[];
|
|
387
|
-
}[];
|
|
382
|
+
searchMatches: Readonly<{
|
|
383
|
+
focusedId: string | null;
|
|
384
|
+
matches: readonly import("../types").SearchMatch[];
|
|
385
|
+
}> | null;
|
|
386
|
+
activeLockedId: string | null;
|
|
387
|
+
lockedMultiSelections: {
|
|
388
|
+
[groupId: string]: true;
|
|
389
|
+
};
|
|
388
390
|
};
|
|
389
391
|
captureUpdate: "IMMEDIATELY";
|
|
390
392
|
};
|
|
391
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
393
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
392
394
|
} & {
|
|
393
395
|
keyTest?: undefined;
|
|
394
396
|
};
|
|
@@ -410,7 +412,7 @@ export declare const actionChangeSloppiness: {
|
|
|
410
412
|
errorMessage: import("react").ReactNode;
|
|
411
413
|
activeEmbeddable: {
|
|
412
414
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
413
|
-
state: "
|
|
415
|
+
state: "active" | "hover";
|
|
414
416
|
} | null;
|
|
415
417
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
416
418
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -418,7 +420,7 @@ export declare const actionChangeSloppiness: {
|
|
|
418
420
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
419
421
|
isBindingEnabled: boolean;
|
|
420
422
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
421
|
-
suggestedBindings: import("@excalidraw/element
|
|
423
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
422
424
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
423
425
|
frameRendering: {
|
|
424
426
|
enabled: boolean;
|
|
@@ -429,10 +431,10 @@ export declare const actionChangeSloppiness: {
|
|
|
429
431
|
editingFrame: string | null;
|
|
430
432
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
431
433
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
432
|
-
editingLinearElement: LinearElementEditor | null;
|
|
433
434
|
activeTool: {
|
|
434
435
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
435
436
|
locked: boolean;
|
|
437
|
+
fromSelection: boolean;
|
|
436
438
|
} & import("../types").ActiveTool;
|
|
437
439
|
penMode: boolean;
|
|
438
440
|
penDetected: boolean;
|
|
@@ -465,7 +467,7 @@ export declare const actionChangeSloppiness: {
|
|
|
465
467
|
zoom: Readonly<{
|
|
466
468
|
value: import("../types").NormalizedZoomValue;
|
|
467
469
|
}>;
|
|
468
|
-
openMenu: "
|
|
470
|
+
openMenu: "canvas" | "shape" | null;
|
|
469
471
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
470
472
|
openSidebar: {
|
|
471
473
|
name: string;
|
|
@@ -475,7 +477,7 @@ export declare const actionChangeSloppiness: {
|
|
|
475
477
|
name: "imageExport" | "help" | "jsonExport";
|
|
476
478
|
} | {
|
|
477
479
|
name: "ttd";
|
|
478
|
-
tab: "text-to-diagram"
|
|
480
|
+
tab: "mermaid" | "text-to-diagram";
|
|
479
481
|
} | {
|
|
480
482
|
name: "commandPalette";
|
|
481
483
|
} | {
|
|
@@ -547,7 +549,6 @@ export declare const actionChangeSloppiness: {
|
|
|
547
549
|
shown: true;
|
|
548
550
|
data: import("../charts").Spreadsheet;
|
|
549
551
|
};
|
|
550
|
-
pendingImageElementId: string | null;
|
|
551
552
|
showHyperlinkPopup: false | "editor" | "info";
|
|
552
553
|
selectedLinearElement: LinearElementEditor | null;
|
|
553
554
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -560,20 +561,18 @@ export declare const actionChangeSloppiness: {
|
|
|
560
561
|
followedBy: Set<import("../types").SocketId>;
|
|
561
562
|
isCropping: boolean;
|
|
562
563
|
croppingElementId: string | null;
|
|
563
|
-
searchMatches:
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
}[];
|
|
572
|
-
}[];
|
|
564
|
+
searchMatches: Readonly<{
|
|
565
|
+
focusedId: string | null;
|
|
566
|
+
matches: readonly import("../types").SearchMatch[];
|
|
567
|
+
}> | null;
|
|
568
|
+
activeLockedId: string | null;
|
|
569
|
+
lockedMultiSelections: {
|
|
570
|
+
[groupId: string]: true;
|
|
571
|
+
};
|
|
573
572
|
};
|
|
574
573
|
captureUpdate: "IMMEDIATELY";
|
|
575
574
|
};
|
|
576
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
575
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
577
576
|
} & {
|
|
578
577
|
keyTest?: undefined;
|
|
579
578
|
};
|
|
@@ -595,7 +594,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
595
594
|
errorMessage: import("react").ReactNode;
|
|
596
595
|
activeEmbeddable: {
|
|
597
596
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
598
|
-
state: "
|
|
597
|
+
state: "active" | "hover";
|
|
599
598
|
} | null;
|
|
600
599
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
601
600
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -603,7 +602,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
603
602
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
604
603
|
isBindingEnabled: boolean;
|
|
605
604
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
606
|
-
suggestedBindings: import("@excalidraw/element
|
|
605
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
607
606
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
608
607
|
frameRendering: {
|
|
609
608
|
enabled: boolean;
|
|
@@ -614,10 +613,10 @@ export declare const actionChangeStrokeStyle: {
|
|
|
614
613
|
editingFrame: string | null;
|
|
615
614
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
616
615
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
617
|
-
editingLinearElement: LinearElementEditor | null;
|
|
618
616
|
activeTool: {
|
|
619
617
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
620
618
|
locked: boolean;
|
|
619
|
+
fromSelection: boolean;
|
|
621
620
|
} & import("../types").ActiveTool;
|
|
622
621
|
penMode: boolean;
|
|
623
622
|
penDetected: boolean;
|
|
@@ -650,7 +649,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
650
649
|
zoom: Readonly<{
|
|
651
650
|
value: import("../types").NormalizedZoomValue;
|
|
652
651
|
}>;
|
|
653
|
-
openMenu: "
|
|
652
|
+
openMenu: "canvas" | "shape" | null;
|
|
654
653
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
655
654
|
openSidebar: {
|
|
656
655
|
name: string;
|
|
@@ -660,7 +659,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
660
659
|
name: "imageExport" | "help" | "jsonExport";
|
|
661
660
|
} | {
|
|
662
661
|
name: "ttd";
|
|
663
|
-
tab: "text-to-diagram"
|
|
662
|
+
tab: "mermaid" | "text-to-diagram";
|
|
664
663
|
} | {
|
|
665
664
|
name: "commandPalette";
|
|
666
665
|
} | {
|
|
@@ -732,7 +731,6 @@ export declare const actionChangeStrokeStyle: {
|
|
|
732
731
|
shown: true;
|
|
733
732
|
data: import("../charts").Spreadsheet;
|
|
734
733
|
};
|
|
735
|
-
pendingImageElementId: string | null;
|
|
736
734
|
showHyperlinkPopup: false | "editor" | "info";
|
|
737
735
|
selectedLinearElement: LinearElementEditor | null;
|
|
738
736
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -745,20 +743,18 @@ export declare const actionChangeStrokeStyle: {
|
|
|
745
743
|
followedBy: Set<import("../types").SocketId>;
|
|
746
744
|
isCropping: boolean;
|
|
747
745
|
croppingElementId: string | null;
|
|
748
|
-
searchMatches:
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
}[];
|
|
757
|
-
}[];
|
|
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
|
+
};
|
|
758
754
|
};
|
|
759
755
|
captureUpdate: "IMMEDIATELY";
|
|
760
756
|
};
|
|
761
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
757
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
762
758
|
} & {
|
|
763
759
|
keyTest?: undefined;
|
|
764
760
|
};
|
|
@@ -780,7 +776,7 @@ export declare const actionChangeOpacity: {
|
|
|
780
776
|
errorMessage: import("react").ReactNode;
|
|
781
777
|
activeEmbeddable: {
|
|
782
778
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
783
|
-
state: "
|
|
779
|
+
state: "active" | "hover";
|
|
784
780
|
} | null;
|
|
785
781
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
786
782
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -788,7 +784,7 @@ export declare const actionChangeOpacity: {
|
|
|
788
784
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
789
785
|
isBindingEnabled: boolean;
|
|
790
786
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
791
|
-
suggestedBindings: import("@excalidraw/element
|
|
787
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
792
788
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
793
789
|
frameRendering: {
|
|
794
790
|
enabled: boolean;
|
|
@@ -799,10 +795,10 @@ export declare const actionChangeOpacity: {
|
|
|
799
795
|
editingFrame: string | null;
|
|
800
796
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
801
797
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
802
|
-
editingLinearElement: LinearElementEditor | null;
|
|
803
798
|
activeTool: {
|
|
804
799
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
805
800
|
locked: boolean;
|
|
801
|
+
fromSelection: boolean;
|
|
806
802
|
} & import("../types").ActiveTool;
|
|
807
803
|
penMode: boolean;
|
|
808
804
|
penDetected: boolean;
|
|
@@ -835,7 +831,7 @@ export declare const actionChangeOpacity: {
|
|
|
835
831
|
zoom: Readonly<{
|
|
836
832
|
value: import("../types").NormalizedZoomValue;
|
|
837
833
|
}>;
|
|
838
|
-
openMenu: "
|
|
834
|
+
openMenu: "canvas" | "shape" | null;
|
|
839
835
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
840
836
|
openSidebar: {
|
|
841
837
|
name: string;
|
|
@@ -845,7 +841,7 @@ export declare const actionChangeOpacity: {
|
|
|
845
841
|
name: "imageExport" | "help" | "jsonExport";
|
|
846
842
|
} | {
|
|
847
843
|
name: "ttd";
|
|
848
|
-
tab: "text-to-diagram"
|
|
844
|
+
tab: "mermaid" | "text-to-diagram";
|
|
849
845
|
} | {
|
|
850
846
|
name: "commandPalette";
|
|
851
847
|
} | {
|
|
@@ -917,7 +913,6 @@ export declare const actionChangeOpacity: {
|
|
|
917
913
|
shown: true;
|
|
918
914
|
data: import("../charts").Spreadsheet;
|
|
919
915
|
};
|
|
920
|
-
pendingImageElementId: string | null;
|
|
921
916
|
showHyperlinkPopup: false | "editor" | "info";
|
|
922
917
|
selectedLinearElement: LinearElementEditor | null;
|
|
923
918
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -930,20 +925,18 @@ export declare const actionChangeOpacity: {
|
|
|
930
925
|
followedBy: Set<import("../types").SocketId>;
|
|
931
926
|
isCropping: boolean;
|
|
932
927
|
croppingElementId: string | null;
|
|
933
|
-
searchMatches:
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
}[];
|
|
942
|
-
}[];
|
|
928
|
+
searchMatches: Readonly<{
|
|
929
|
+
focusedId: string | null;
|
|
930
|
+
matches: readonly import("../types").SearchMatch[];
|
|
931
|
+
}> | null;
|
|
932
|
+
activeLockedId: string | null;
|
|
933
|
+
lockedMultiSelections: {
|
|
934
|
+
[groupId: string]: true;
|
|
935
|
+
};
|
|
943
936
|
};
|
|
944
937
|
captureUpdate: "IMMEDIATELY";
|
|
945
938
|
};
|
|
946
|
-
PanelComponent: ({
|
|
939
|
+
PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
947
940
|
} & {
|
|
948
941
|
keyTest?: undefined;
|
|
949
942
|
};
|
|
@@ -965,7 +958,7 @@ export declare const actionChangeFontSize: {
|
|
|
965
958
|
errorMessage: import("react").ReactNode;
|
|
966
959
|
activeEmbeddable: {
|
|
967
960
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
968
|
-
state: "
|
|
961
|
+
state: "active" | "hover";
|
|
969
962
|
} | null;
|
|
970
963
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
971
964
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -973,7 +966,7 @@ export declare const actionChangeFontSize: {
|
|
|
973
966
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
974
967
|
isBindingEnabled: boolean;
|
|
975
968
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
976
|
-
suggestedBindings: import("@excalidraw/element
|
|
969
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
977
970
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
978
971
|
frameRendering: {
|
|
979
972
|
enabled: boolean;
|
|
@@ -984,10 +977,10 @@ export declare const actionChangeFontSize: {
|
|
|
984
977
|
editingFrame: string | null;
|
|
985
978
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
986
979
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
987
|
-
editingLinearElement: LinearElementEditor | null;
|
|
988
980
|
activeTool: {
|
|
989
981
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
990
982
|
locked: boolean;
|
|
983
|
+
fromSelection: boolean;
|
|
991
984
|
} & import("../types").ActiveTool;
|
|
992
985
|
penMode: boolean;
|
|
993
986
|
penDetected: boolean;
|
|
@@ -1020,7 +1013,7 @@ export declare const actionChangeFontSize: {
|
|
|
1020
1013
|
zoom: Readonly<{
|
|
1021
1014
|
value: import("../types").NormalizedZoomValue;
|
|
1022
1015
|
}>;
|
|
1023
|
-
openMenu: "
|
|
1016
|
+
openMenu: "canvas" | "shape" | null;
|
|
1024
1017
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1025
1018
|
openSidebar: {
|
|
1026
1019
|
name: string;
|
|
@@ -1030,7 +1023,7 @@ export declare const actionChangeFontSize: {
|
|
|
1030
1023
|
name: "imageExport" | "help" | "jsonExport";
|
|
1031
1024
|
} | {
|
|
1032
1025
|
name: "ttd";
|
|
1033
|
-
tab: "text-to-diagram"
|
|
1026
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1034
1027
|
} | {
|
|
1035
1028
|
name: "commandPalette";
|
|
1036
1029
|
} | {
|
|
@@ -1102,7 +1095,6 @@ export declare const actionChangeFontSize: {
|
|
|
1102
1095
|
shown: true;
|
|
1103
1096
|
data: import("../charts").Spreadsheet;
|
|
1104
1097
|
};
|
|
1105
|
-
pendingImageElementId: string | null;
|
|
1106
1098
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1107
1099
|
selectedLinearElement: LinearElementEditor | null;
|
|
1108
1100
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1115,16 +1107,14 @@ export declare const actionChangeFontSize: {
|
|
|
1115
1107
|
followedBy: Set<import("../types").SocketId>;
|
|
1116
1108
|
isCropping: boolean;
|
|
1117
1109
|
croppingElementId: string | null;
|
|
1118
|
-
searchMatches:
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
}[];
|
|
1127
|
-
}[];
|
|
1110
|
+
searchMatches: Readonly<{
|
|
1111
|
+
focusedId: string | null;
|
|
1112
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1113
|
+
}> | null;
|
|
1114
|
+
activeLockedId: string | null;
|
|
1115
|
+
lockedMultiSelections: {
|
|
1116
|
+
[groupId: string]: true;
|
|
1117
|
+
};
|
|
1128
1118
|
};
|
|
1129
1119
|
captureUpdate: "IMMEDIATELY";
|
|
1130
1120
|
};
|
|
@@ -1151,7 +1141,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1151
1141
|
errorMessage: import("react").ReactNode;
|
|
1152
1142
|
activeEmbeddable: {
|
|
1153
1143
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1154
|
-
state: "
|
|
1144
|
+
state: "active" | "hover";
|
|
1155
1145
|
} | null;
|
|
1156
1146
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1157
1147
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1159,7 +1149,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1159
1149
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1160
1150
|
isBindingEnabled: boolean;
|
|
1161
1151
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1162
|
-
suggestedBindings: import("@excalidraw/element
|
|
1152
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1163
1153
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1164
1154
|
frameRendering: {
|
|
1165
1155
|
enabled: boolean;
|
|
@@ -1170,10 +1160,10 @@ export declare const actionDecreaseFontSize: {
|
|
|
1170
1160
|
editingFrame: string | null;
|
|
1171
1161
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1172
1162
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1173
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1174
1163
|
activeTool: {
|
|
1175
1164
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1176
1165
|
locked: boolean;
|
|
1166
|
+
fromSelection: boolean;
|
|
1177
1167
|
} & import("../types").ActiveTool;
|
|
1178
1168
|
penMode: boolean;
|
|
1179
1169
|
penDetected: boolean;
|
|
@@ -1206,7 +1196,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1206
1196
|
zoom: Readonly<{
|
|
1207
1197
|
value: import("../types").NormalizedZoomValue;
|
|
1208
1198
|
}>;
|
|
1209
|
-
openMenu: "
|
|
1199
|
+
openMenu: "canvas" | "shape" | null;
|
|
1210
1200
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1211
1201
|
openSidebar: {
|
|
1212
1202
|
name: string;
|
|
@@ -1216,7 +1206,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1216
1206
|
name: "imageExport" | "help" | "jsonExport";
|
|
1217
1207
|
} | {
|
|
1218
1208
|
name: "ttd";
|
|
1219
|
-
tab: "text-to-diagram"
|
|
1209
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1220
1210
|
} | {
|
|
1221
1211
|
name: "commandPalette";
|
|
1222
1212
|
} | {
|
|
@@ -1288,7 +1278,6 @@ export declare const actionDecreaseFontSize: {
|
|
|
1288
1278
|
shown: true;
|
|
1289
1279
|
data: import("../charts").Spreadsheet;
|
|
1290
1280
|
};
|
|
1291
|
-
pendingImageElementId: string | null;
|
|
1292
1281
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1293
1282
|
selectedLinearElement: LinearElementEditor | null;
|
|
1294
1283
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1301,16 +1290,14 @@ export declare const actionDecreaseFontSize: {
|
|
|
1301
1290
|
followedBy: Set<import("../types").SocketId>;
|
|
1302
1291
|
isCropping: boolean;
|
|
1303
1292
|
croppingElementId: string | null;
|
|
1304
|
-
searchMatches:
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
}[];
|
|
1313
|
-
}[];
|
|
1293
|
+
searchMatches: Readonly<{
|
|
1294
|
+
focusedId: string | null;
|
|
1295
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1296
|
+
}> | null;
|
|
1297
|
+
activeLockedId: string | null;
|
|
1298
|
+
lockedMultiSelections: {
|
|
1299
|
+
[groupId: string]: true;
|
|
1300
|
+
};
|
|
1314
1301
|
};
|
|
1315
1302
|
captureUpdate: "IMMEDIATELY";
|
|
1316
1303
|
};
|
|
@@ -1337,7 +1324,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1337
1324
|
errorMessage: import("react").ReactNode;
|
|
1338
1325
|
activeEmbeddable: {
|
|
1339
1326
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1340
|
-
state: "
|
|
1327
|
+
state: "active" | "hover";
|
|
1341
1328
|
} | null;
|
|
1342
1329
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1343
1330
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1345,7 +1332,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1345
1332
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1346
1333
|
isBindingEnabled: boolean;
|
|
1347
1334
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1348
|
-
suggestedBindings: import("@excalidraw/element
|
|
1335
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1349
1336
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1350
1337
|
frameRendering: {
|
|
1351
1338
|
enabled: boolean;
|
|
@@ -1356,10 +1343,10 @@ export declare const actionIncreaseFontSize: {
|
|
|
1356
1343
|
editingFrame: string | null;
|
|
1357
1344
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1358
1345
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1359
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1360
1346
|
activeTool: {
|
|
1361
1347
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1362
1348
|
locked: boolean;
|
|
1349
|
+
fromSelection: boolean;
|
|
1363
1350
|
} & import("../types").ActiveTool;
|
|
1364
1351
|
penMode: boolean;
|
|
1365
1352
|
penDetected: boolean;
|
|
@@ -1392,7 +1379,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1392
1379
|
zoom: Readonly<{
|
|
1393
1380
|
value: import("../types").NormalizedZoomValue;
|
|
1394
1381
|
}>;
|
|
1395
|
-
openMenu: "
|
|
1382
|
+
openMenu: "canvas" | "shape" | null;
|
|
1396
1383
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1397
1384
|
openSidebar: {
|
|
1398
1385
|
name: string;
|
|
@@ -1402,7 +1389,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1402
1389
|
name: "imageExport" | "help" | "jsonExport";
|
|
1403
1390
|
} | {
|
|
1404
1391
|
name: "ttd";
|
|
1405
|
-
tab: "text-to-diagram"
|
|
1392
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1406
1393
|
} | {
|
|
1407
1394
|
name: "commandPalette";
|
|
1408
1395
|
} | {
|
|
@@ -1474,7 +1461,6 @@ export declare const actionIncreaseFontSize: {
|
|
|
1474
1461
|
shown: true;
|
|
1475
1462
|
data: import("../charts").Spreadsheet;
|
|
1476
1463
|
};
|
|
1477
|
-
pendingImageElementId: string | null;
|
|
1478
1464
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1479
1465
|
selectedLinearElement: LinearElementEditor | null;
|
|
1480
1466
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1487,16 +1473,14 @@ export declare const actionIncreaseFontSize: {
|
|
|
1487
1473
|
followedBy: Set<import("../types").SocketId>;
|
|
1488
1474
|
isCropping: boolean;
|
|
1489
1475
|
croppingElementId: string | null;
|
|
1490
|
-
searchMatches:
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
}[];
|
|
1499
|
-
}[];
|
|
1476
|
+
searchMatches: Readonly<{
|
|
1477
|
+
focusedId: string | null;
|
|
1478
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1479
|
+
}> | null;
|
|
1480
|
+
activeLockedId: string | null;
|
|
1481
|
+
lockedMultiSelections: {
|
|
1482
|
+
[groupId: string]: true;
|
|
1483
|
+
};
|
|
1500
1484
|
};
|
|
1501
1485
|
captureUpdate: "IMMEDIATELY";
|
|
1502
1486
|
};
|
|
@@ -1510,8 +1494,8 @@ export declare const actionChangeFontFamily: {
|
|
|
1510
1494
|
trackEvent: false;
|
|
1511
1495
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
1512
1496
|
appState: {
|
|
1513
|
-
currentHoveredFontFamily: number | null;
|
|
1514
1497
|
currentItemFontFamily: number;
|
|
1498
|
+
currentHoveredFontFamily: number | null;
|
|
1515
1499
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1516
1500
|
contextMenu: {
|
|
1517
1501
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -1523,7 +1507,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1523
1507
|
errorMessage: import("react").ReactNode;
|
|
1524
1508
|
activeEmbeddable: {
|
|
1525
1509
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1526
|
-
state: "
|
|
1510
|
+
state: "active" | "hover";
|
|
1527
1511
|
} | null;
|
|
1528
1512
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1529
1513
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1531,7 +1515,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1531
1515
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1532
1516
|
isBindingEnabled: boolean;
|
|
1533
1517
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1534
|
-
suggestedBindings: import("@excalidraw/element
|
|
1518
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1535
1519
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1536
1520
|
frameRendering: {
|
|
1537
1521
|
enabled: boolean;
|
|
@@ -1542,10 +1526,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1542
1526
|
editingFrame: string | null;
|
|
1543
1527
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1544
1528
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1545
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1546
1529
|
activeTool: {
|
|
1547
1530
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1548
1531
|
locked: boolean;
|
|
1532
|
+
fromSelection: boolean;
|
|
1549
1533
|
} & import("../types").ActiveTool;
|
|
1550
1534
|
penMode: boolean;
|
|
1551
1535
|
penDetected: boolean;
|
|
@@ -1577,7 +1561,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1577
1561
|
zoom: Readonly<{
|
|
1578
1562
|
value: import("../types").NormalizedZoomValue;
|
|
1579
1563
|
}>;
|
|
1580
|
-
openMenu: "
|
|
1564
|
+
openMenu: "canvas" | "shape" | null;
|
|
1581
1565
|
openSidebar: {
|
|
1582
1566
|
name: string;
|
|
1583
1567
|
tab?: string | undefined;
|
|
@@ -1586,7 +1570,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1586
1570
|
name: "imageExport" | "help" | "jsonExport";
|
|
1587
1571
|
} | {
|
|
1588
1572
|
name: "ttd";
|
|
1589
|
-
tab: "text-to-diagram"
|
|
1573
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1590
1574
|
} | {
|
|
1591
1575
|
name: "commandPalette";
|
|
1592
1576
|
} | {
|
|
@@ -1658,7 +1642,6 @@ export declare const actionChangeFontFamily: {
|
|
|
1658
1642
|
shown: true;
|
|
1659
1643
|
data: import("../charts").Spreadsheet;
|
|
1660
1644
|
};
|
|
1661
|
-
pendingImageElementId: string | null;
|
|
1662
1645
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1663
1646
|
selectedLinearElement: LinearElementEditor | null;
|
|
1664
1647
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1671,23 +1654,21 @@ export declare const actionChangeFontFamily: {
|
|
|
1671
1654
|
followedBy: Set<import("../types").SocketId>;
|
|
1672
1655
|
isCropping: boolean;
|
|
1673
1656
|
croppingElementId: string | null;
|
|
1674
|
-
searchMatches:
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
}[];
|
|
1683
|
-
}[];
|
|
1657
|
+
searchMatches: Readonly<{
|
|
1658
|
+
focusedId: string | null;
|
|
1659
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1660
|
+
}> | null;
|
|
1661
|
+
activeLockedId: string | null;
|
|
1662
|
+
lockedMultiSelections: {
|
|
1663
|
+
[groupId: string]: true;
|
|
1664
|
+
};
|
|
1684
1665
|
};
|
|
1685
1666
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
1686
1667
|
} | {
|
|
1687
1668
|
elements: ExcalidrawElement[];
|
|
1688
1669
|
appState: {
|
|
1689
|
-
currentHoveredFontFamily: number | null;
|
|
1690
1670
|
currentItemFontFamily: number;
|
|
1671
|
+
currentHoveredFontFamily: number | null;
|
|
1691
1672
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1692
1673
|
contextMenu: {
|
|
1693
1674
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -1699,7 +1680,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1699
1680
|
errorMessage: import("react").ReactNode;
|
|
1700
1681
|
activeEmbeddable: {
|
|
1701
1682
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1702
|
-
state: "
|
|
1683
|
+
state: "active" | "hover";
|
|
1703
1684
|
} | null;
|
|
1704
1685
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1705
1686
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1707,7 +1688,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1707
1688
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1708
1689
|
isBindingEnabled: boolean;
|
|
1709
1690
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1710
|
-
suggestedBindings: import("@excalidraw/element
|
|
1691
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1711
1692
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1712
1693
|
frameRendering: {
|
|
1713
1694
|
enabled: boolean;
|
|
@@ -1718,10 +1699,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1718
1699
|
editingFrame: string | null;
|
|
1719
1700
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1720
1701
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1721
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1722
1702
|
activeTool: {
|
|
1723
1703
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1724
1704
|
locked: boolean;
|
|
1705
|
+
fromSelection: boolean;
|
|
1725
1706
|
} & import("../types").ActiveTool;
|
|
1726
1707
|
penMode: boolean;
|
|
1727
1708
|
penDetected: boolean;
|
|
@@ -1753,7 +1734,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1753
1734
|
zoom: Readonly<{
|
|
1754
1735
|
value: import("../types").NormalizedZoomValue;
|
|
1755
1736
|
}>;
|
|
1756
|
-
openMenu: "
|
|
1737
|
+
openMenu: "canvas" | "shape" | null;
|
|
1757
1738
|
openSidebar: {
|
|
1758
1739
|
name: string;
|
|
1759
1740
|
tab?: string | undefined;
|
|
@@ -1762,7 +1743,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1762
1743
|
name: "imageExport" | "help" | "jsonExport";
|
|
1763
1744
|
} | {
|
|
1764
1745
|
name: "ttd";
|
|
1765
|
-
tab: "text-to-diagram"
|
|
1746
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1766
1747
|
} | {
|
|
1767
1748
|
name: "commandPalette";
|
|
1768
1749
|
} | {
|
|
@@ -1834,7 +1815,6 @@ export declare const actionChangeFontFamily: {
|
|
|
1834
1815
|
shown: true;
|
|
1835
1816
|
data: import("../charts").Spreadsheet;
|
|
1836
1817
|
};
|
|
1837
|
-
pendingImageElementId: string | null;
|
|
1838
1818
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1839
1819
|
selectedLinearElement: LinearElementEditor | null;
|
|
1840
1820
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1847,16 +1827,14 @@ export declare const actionChangeFontFamily: {
|
|
|
1847
1827
|
followedBy: Set<import("../types").SocketId>;
|
|
1848
1828
|
isCropping: boolean;
|
|
1849
1829
|
croppingElementId: string | null;
|
|
1850
|
-
searchMatches:
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
}[];
|
|
1859
|
-
}[];
|
|
1830
|
+
searchMatches: Readonly<{
|
|
1831
|
+
focusedId: string | null;
|
|
1832
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1833
|
+
}> | null;
|
|
1834
|
+
activeLockedId: string | null;
|
|
1835
|
+
lockedMultiSelections: {
|
|
1836
|
+
[groupId: string]: true;
|
|
1837
|
+
};
|
|
1860
1838
|
};
|
|
1861
1839
|
captureUpdate: "NEVER";
|
|
1862
1840
|
};
|
|
@@ -1882,7 +1860,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1882
1860
|
errorMessage: import("react").ReactNode;
|
|
1883
1861
|
activeEmbeddable: {
|
|
1884
1862
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1885
|
-
state: "
|
|
1863
|
+
state: "active" | "hover";
|
|
1886
1864
|
} | null;
|
|
1887
1865
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1888
1866
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1890,7 +1868,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1890
1868
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1891
1869
|
isBindingEnabled: boolean;
|
|
1892
1870
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1893
|
-
suggestedBindings: import("@excalidraw/element
|
|
1871
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1894
1872
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1895
1873
|
frameRendering: {
|
|
1896
1874
|
enabled: boolean;
|
|
@@ -1901,10 +1879,10 @@ export declare const actionChangeTextAlign: {
|
|
|
1901
1879
|
editingFrame: string | null;
|
|
1902
1880
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1903
1881
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1904
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1905
1882
|
activeTool: {
|
|
1906
1883
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1907
1884
|
locked: boolean;
|
|
1885
|
+
fromSelection: boolean;
|
|
1908
1886
|
} & import("../types").ActiveTool;
|
|
1909
1887
|
penMode: boolean;
|
|
1910
1888
|
penDetected: boolean;
|
|
@@ -1937,7 +1915,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1937
1915
|
zoom: Readonly<{
|
|
1938
1916
|
value: import("../types").NormalizedZoomValue;
|
|
1939
1917
|
}>;
|
|
1940
|
-
openMenu: "
|
|
1918
|
+
openMenu: "canvas" | "shape" | null;
|
|
1941
1919
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1942
1920
|
openSidebar: {
|
|
1943
1921
|
name: string;
|
|
@@ -1947,7 +1925,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1947
1925
|
name: "imageExport" | "help" | "jsonExport";
|
|
1948
1926
|
} | {
|
|
1949
1927
|
name: "ttd";
|
|
1950
|
-
tab: "text-to-diagram"
|
|
1928
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1951
1929
|
} | {
|
|
1952
1930
|
name: "commandPalette";
|
|
1953
1931
|
} | {
|
|
@@ -2019,7 +1997,6 @@ export declare const actionChangeTextAlign: {
|
|
|
2019
1997
|
shown: true;
|
|
2020
1998
|
data: import("../charts").Spreadsheet;
|
|
2021
1999
|
};
|
|
2022
|
-
pendingImageElementId: string | null;
|
|
2023
2000
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2024
2001
|
selectedLinearElement: LinearElementEditor | null;
|
|
2025
2002
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2032,16 +2009,14 @@ export declare const actionChangeTextAlign: {
|
|
|
2032
2009
|
followedBy: Set<import("../types").SocketId>;
|
|
2033
2010
|
isCropping: boolean;
|
|
2034
2011
|
croppingElementId: string | null;
|
|
2035
|
-
searchMatches:
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
}[];
|
|
2044
|
-
}[];
|
|
2012
|
+
searchMatches: Readonly<{
|
|
2013
|
+
focusedId: string | null;
|
|
2014
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2015
|
+
}> | null;
|
|
2016
|
+
activeLockedId: string | null;
|
|
2017
|
+
lockedMultiSelections: {
|
|
2018
|
+
[groupId: string]: true;
|
|
2019
|
+
};
|
|
2045
2020
|
};
|
|
2046
2021
|
captureUpdate: "IMMEDIATELY";
|
|
2047
2022
|
};
|
|
@@ -2068,7 +2043,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2068
2043
|
errorMessage: import("react").ReactNode;
|
|
2069
2044
|
activeEmbeddable: {
|
|
2070
2045
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2071
|
-
state: "
|
|
2046
|
+
state: "active" | "hover";
|
|
2072
2047
|
} | null;
|
|
2073
2048
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2074
2049
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2076,7 +2051,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2076
2051
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2077
2052
|
isBindingEnabled: boolean;
|
|
2078
2053
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2079
|
-
suggestedBindings: import("@excalidraw/element
|
|
2054
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2080
2055
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2081
2056
|
frameRendering: {
|
|
2082
2057
|
enabled: boolean;
|
|
@@ -2087,10 +2062,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2087
2062
|
editingFrame: string | null;
|
|
2088
2063
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2089
2064
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2090
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2091
2065
|
activeTool: {
|
|
2092
2066
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2093
2067
|
locked: boolean;
|
|
2068
|
+
fromSelection: boolean;
|
|
2094
2069
|
} & import("../types").ActiveTool;
|
|
2095
2070
|
penMode: boolean;
|
|
2096
2071
|
penDetected: boolean;
|
|
@@ -2124,7 +2099,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2124
2099
|
zoom: Readonly<{
|
|
2125
2100
|
value: import("../types").NormalizedZoomValue;
|
|
2126
2101
|
}>;
|
|
2127
|
-
openMenu: "
|
|
2102
|
+
openMenu: "canvas" | "shape" | null;
|
|
2128
2103
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2129
2104
|
openSidebar: {
|
|
2130
2105
|
name: string;
|
|
@@ -2134,7 +2109,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2134
2109
|
name: "imageExport" | "help" | "jsonExport";
|
|
2135
2110
|
} | {
|
|
2136
2111
|
name: "ttd";
|
|
2137
|
-
tab: "text-to-diagram"
|
|
2112
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2138
2113
|
} | {
|
|
2139
2114
|
name: "commandPalette";
|
|
2140
2115
|
} | {
|
|
@@ -2206,7 +2181,6 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2206
2181
|
shown: true;
|
|
2207
2182
|
data: import("../charts").Spreadsheet;
|
|
2208
2183
|
};
|
|
2209
|
-
pendingImageElementId: string | null;
|
|
2210
2184
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2211
2185
|
selectedLinearElement: LinearElementEditor | null;
|
|
2212
2186
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2219,16 +2193,14 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2219
2193
|
followedBy: Set<import("../types").SocketId>;
|
|
2220
2194
|
isCropping: boolean;
|
|
2221
2195
|
croppingElementId: string | null;
|
|
2222
|
-
searchMatches:
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
}[];
|
|
2231
|
-
}[];
|
|
2196
|
+
searchMatches: Readonly<{
|
|
2197
|
+
focusedId: string | null;
|
|
2198
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2199
|
+
}> | null;
|
|
2200
|
+
activeLockedId: string | null;
|
|
2201
|
+
lockedMultiSelections: {
|
|
2202
|
+
[groupId: string]: true;
|
|
2203
|
+
};
|
|
2232
2204
|
};
|
|
2233
2205
|
captureUpdate: "IMMEDIATELY";
|
|
2234
2206
|
};
|
|
@@ -2254,7 +2226,7 @@ export declare const actionChangeRoundness: {
|
|
|
2254
2226
|
errorMessage: import("react").ReactNode;
|
|
2255
2227
|
activeEmbeddable: {
|
|
2256
2228
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2257
|
-
state: "
|
|
2229
|
+
state: "active" | "hover";
|
|
2258
2230
|
} | null;
|
|
2259
2231
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2260
2232
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2262,7 +2234,7 @@ export declare const actionChangeRoundness: {
|
|
|
2262
2234
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2263
2235
|
isBindingEnabled: boolean;
|
|
2264
2236
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2265
|
-
suggestedBindings: import("@excalidraw/element
|
|
2237
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2266
2238
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2267
2239
|
frameRendering: {
|
|
2268
2240
|
enabled: boolean;
|
|
@@ -2273,10 +2245,10 @@ export declare const actionChangeRoundness: {
|
|
|
2273
2245
|
editingFrame: string | null;
|
|
2274
2246
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2275
2247
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2276
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2277
2248
|
activeTool: {
|
|
2278
2249
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2279
2250
|
locked: boolean;
|
|
2251
|
+
fromSelection: boolean;
|
|
2280
2252
|
} & import("../types").ActiveTool;
|
|
2281
2253
|
penMode: boolean;
|
|
2282
2254
|
penDetected: boolean;
|
|
@@ -2309,7 +2281,7 @@ export declare const actionChangeRoundness: {
|
|
|
2309
2281
|
zoom: Readonly<{
|
|
2310
2282
|
value: import("../types").NormalizedZoomValue;
|
|
2311
2283
|
}>;
|
|
2312
|
-
openMenu: "
|
|
2284
|
+
openMenu: "canvas" | "shape" | null;
|
|
2313
2285
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2314
2286
|
openSidebar: {
|
|
2315
2287
|
name: string;
|
|
@@ -2319,7 +2291,7 @@ export declare const actionChangeRoundness: {
|
|
|
2319
2291
|
name: "imageExport" | "help" | "jsonExport";
|
|
2320
2292
|
} | {
|
|
2321
2293
|
name: "ttd";
|
|
2322
|
-
tab: "text-to-diagram"
|
|
2294
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2323
2295
|
} | {
|
|
2324
2296
|
name: "commandPalette";
|
|
2325
2297
|
} | {
|
|
@@ -2391,7 +2363,6 @@ export declare const actionChangeRoundness: {
|
|
|
2391
2363
|
shown: true;
|
|
2392
2364
|
data: import("../charts").Spreadsheet;
|
|
2393
2365
|
};
|
|
2394
|
-
pendingImageElementId: string | null;
|
|
2395
2366
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2396
2367
|
selectedLinearElement: LinearElementEditor | null;
|
|
2397
2368
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2404,20 +2375,18 @@ export declare const actionChangeRoundness: {
|
|
|
2404
2375
|
followedBy: Set<import("../types").SocketId>;
|
|
2405
2376
|
isCropping: boolean;
|
|
2406
2377
|
croppingElementId: string | null;
|
|
2407
|
-
searchMatches:
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
}[];
|
|
2416
|
-
}[];
|
|
2378
|
+
searchMatches: Readonly<{
|
|
2379
|
+
focusedId: string | null;
|
|
2380
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2381
|
+
}> | null;
|
|
2382
|
+
activeLockedId: string | null;
|
|
2383
|
+
lockedMultiSelections: {
|
|
2384
|
+
[groupId: string]: true;
|
|
2385
|
+
};
|
|
2417
2386
|
};
|
|
2418
2387
|
captureUpdate: "IMMEDIATELY";
|
|
2419
2388
|
};
|
|
2420
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2389
|
+
PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2421
2390
|
} & {
|
|
2422
2391
|
keyTest?: undefined;
|
|
2423
2392
|
};
|
|
@@ -2441,7 +2410,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2441
2410
|
errorMessage: import("react").ReactNode;
|
|
2442
2411
|
activeEmbeddable: {
|
|
2443
2412
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2444
|
-
state: "
|
|
2413
|
+
state: "active" | "hover";
|
|
2445
2414
|
} | null;
|
|
2446
2415
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2447
2416
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2449,7 +2418,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2449
2418
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2450
2419
|
isBindingEnabled: boolean;
|
|
2451
2420
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2452
|
-
suggestedBindings: import("@excalidraw/element
|
|
2421
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2453
2422
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2454
2423
|
frameRendering: {
|
|
2455
2424
|
enabled: boolean;
|
|
@@ -2460,10 +2429,10 @@ export declare const actionChangeArrowhead: {
|
|
|
2460
2429
|
editingFrame: string | null;
|
|
2461
2430
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2462
2431
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2463
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2464
2432
|
activeTool: {
|
|
2465
2433
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2466
2434
|
locked: boolean;
|
|
2435
|
+
fromSelection: boolean;
|
|
2467
2436
|
} & import("../types").ActiveTool;
|
|
2468
2437
|
penMode: boolean;
|
|
2469
2438
|
penDetected: boolean;
|
|
@@ -2497,7 +2466,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2497
2466
|
zoom: Readonly<{
|
|
2498
2467
|
value: import("../types").NormalizedZoomValue;
|
|
2499
2468
|
}>;
|
|
2500
|
-
openMenu: "
|
|
2469
|
+
openMenu: "canvas" | "shape" | null;
|
|
2501
2470
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2502
2471
|
openSidebar: {
|
|
2503
2472
|
name: string;
|
|
@@ -2507,7 +2476,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2507
2476
|
name: "imageExport" | "help" | "jsonExport";
|
|
2508
2477
|
} | {
|
|
2509
2478
|
name: "ttd";
|
|
2510
|
-
tab: "text-to-diagram"
|
|
2479
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2511
2480
|
} | {
|
|
2512
2481
|
name: "commandPalette";
|
|
2513
2482
|
} | {
|
|
@@ -2579,7 +2548,6 @@ export declare const actionChangeArrowhead: {
|
|
|
2579
2548
|
shown: true;
|
|
2580
2549
|
data: import("../charts").Spreadsheet;
|
|
2581
2550
|
};
|
|
2582
|
-
pendingImageElementId: string | null;
|
|
2583
2551
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2584
2552
|
selectedLinearElement: LinearElementEditor | null;
|
|
2585
2553
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2592,20 +2560,18 @@ export declare const actionChangeArrowhead: {
|
|
|
2592
2560
|
followedBy: Set<import("../types").SocketId>;
|
|
2593
2561
|
isCropping: boolean;
|
|
2594
2562
|
croppingElementId: string | null;
|
|
2595
|
-
searchMatches:
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
}[];
|
|
2604
|
-
}[];
|
|
2563
|
+
searchMatches: Readonly<{
|
|
2564
|
+
focusedId: string | null;
|
|
2565
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2566
|
+
}> | null;
|
|
2567
|
+
activeLockedId: string | null;
|
|
2568
|
+
lockedMultiSelections: {
|
|
2569
|
+
[groupId: string]: true;
|
|
2570
|
+
};
|
|
2605
2571
|
};
|
|
2606
2572
|
captureUpdate: "IMMEDIATELY";
|
|
2607
2573
|
};
|
|
2608
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2574
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2609
2575
|
} & {
|
|
2610
2576
|
keyTest?: undefined;
|
|
2611
2577
|
};
|
|
@@ -2627,7 +2593,7 @@ export declare const actionChangeArrowType: {
|
|
|
2627
2593
|
errorMessage: import("react").ReactNode;
|
|
2628
2594
|
activeEmbeddable: {
|
|
2629
2595
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2630
|
-
state: "
|
|
2596
|
+
state: "active" | "hover";
|
|
2631
2597
|
} | null;
|
|
2632
2598
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2633
2599
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2635,7 +2601,7 @@ export declare const actionChangeArrowType: {
|
|
|
2635
2601
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2636
2602
|
isBindingEnabled: boolean;
|
|
2637
2603
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2638
|
-
suggestedBindings: import("@excalidraw/element
|
|
2604
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2639
2605
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2640
2606
|
frameRendering: {
|
|
2641
2607
|
enabled: boolean;
|
|
@@ -2646,10 +2612,10 @@ export declare const actionChangeArrowType: {
|
|
|
2646
2612
|
editingFrame: string | null;
|
|
2647
2613
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2648
2614
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2649
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2650
2615
|
activeTool: {
|
|
2651
2616
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2652
2617
|
locked: boolean;
|
|
2618
|
+
fromSelection: boolean;
|
|
2653
2619
|
} & import("../types").ActiveTool;
|
|
2654
2620
|
penMode: boolean;
|
|
2655
2621
|
penDetected: boolean;
|
|
@@ -2682,7 +2648,7 @@ export declare const actionChangeArrowType: {
|
|
|
2682
2648
|
zoom: Readonly<{
|
|
2683
2649
|
value: import("../types").NormalizedZoomValue;
|
|
2684
2650
|
}>;
|
|
2685
|
-
openMenu: "
|
|
2651
|
+
openMenu: "canvas" | "shape" | null;
|
|
2686
2652
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2687
2653
|
openSidebar: {
|
|
2688
2654
|
name: string;
|
|
@@ -2692,7 +2658,7 @@ export declare const actionChangeArrowType: {
|
|
|
2692
2658
|
name: "imageExport" | "help" | "jsonExport";
|
|
2693
2659
|
} | {
|
|
2694
2660
|
name: "ttd";
|
|
2695
|
-
tab: "text-to-diagram"
|
|
2661
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2696
2662
|
} | {
|
|
2697
2663
|
name: "commandPalette";
|
|
2698
2664
|
} | {
|
|
@@ -2764,7 +2730,6 @@ export declare const actionChangeArrowType: {
|
|
|
2764
2730
|
shown: true;
|
|
2765
2731
|
data: import("../charts").Spreadsheet;
|
|
2766
2732
|
};
|
|
2767
|
-
pendingImageElementId: string | null;
|
|
2768
2733
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2769
2734
|
selectedLinearElement: LinearElementEditor | null;
|
|
2770
2735
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2777,20 +2742,18 @@ export declare const actionChangeArrowType: {
|
|
|
2777
2742
|
followedBy: Set<import("../types").SocketId>;
|
|
2778
2743
|
isCropping: boolean;
|
|
2779
2744
|
croppingElementId: string | null;
|
|
2780
|
-
searchMatches:
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
}[];
|
|
2789
|
-
}[];
|
|
2745
|
+
searchMatches: Readonly<{
|
|
2746
|
+
focusedId: string | null;
|
|
2747
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2748
|
+
}> | null;
|
|
2749
|
+
activeLockedId: string | null;
|
|
2750
|
+
lockedMultiSelections: {
|
|
2751
|
+
[groupId: string]: true;
|
|
2752
|
+
};
|
|
2790
2753
|
};
|
|
2791
2754
|
captureUpdate: "IMMEDIATELY";
|
|
2792
2755
|
};
|
|
2793
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2756
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2794
2757
|
} & {
|
|
2795
2758
|
keyTest?: undefined;
|
|
2796
2759
|
};
|