@excalidraw/excalidraw 0.18.0-432a46e → 0.18.0-4e0441e
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-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/{chunk-LMHBUWQS.js → chunk-LLUJPE5U.js} +62 -29
- package/dist/dev/chunk-LLUJPE5U.js.map +7 -0
- package/dist/dev/chunk-YMRX7R7U.js +5671 -0
- package/dist/dev/chunk-YMRX7R7U.js.map +7 -0
- package/dist/dev/data/{image-5HAY2PCR.js → image-L23D26XS.js} +3 -3
- package/dist/dev/index.css +997 -521
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +13994 -12296
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-OZCJJ2HN.js → en-YSPYSBUR.js} +4 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/chunk-A66AFZZU.js +7 -0
- package/dist/prod/chunk-HT4FKTIQ.js +4 -0
- package/dist/prod/chunk-RSFMSEP5.js +12 -0
- package/dist/prod/data/image-NWF7UX55.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +25 -17
- package/dist/prod/locales/en-SFRQHD7K.js +1 -0
- 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 +47 -7
- 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 +21 -2
- 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 +19 -6
- 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} +77 -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 +58 -0
- package/dist/types/{packages/element → element}/src/linearElementEditor.d.ts +23 -36
- package/dist/types/{packages/element → element}/src/mutateElement.d.ts +11 -3
- package/dist/types/{packages/element → element}/src/newElement.d.ts +4 -3
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/{packages/element → element}/src/renderElement.d.ts +4 -1
- 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 +237 -0
- package/dist/types/{packages/element → element}/src/textElement.d.ts +5 -3
- package/dist/types/{packages/element → element}/src/transformHandles.d.ts +1 -1
- 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 +60 -54
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionBoundText.d.ts +40 -36
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCanvas.d.ts +431 -228
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionClipboard.d.ts +120 -106
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCropEditor.d.ts +20 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDeleteSelected.d.ts +60 -53
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLink.d.ts +19 -17
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLock.d.ts +55 -53
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionEmbeddable.d.ts +20 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionExport.d.ts +190 -172
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFinalize.d.ts +87 -42
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFrame.d.ts +127 -119
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionGroup.d.ts +40 -36
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +718 -0
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionLink.d.ts +19 -17
- package/dist/types/excalidraw/actions/actionMenu.d.ts +184 -0
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionNavigate.d.ts +40 -36
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionProperties.d.ts +320 -273
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionSelectAll.d.ts +20 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionStyles.d.ts +20 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleGridMode.d.ts +20 -18
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleObjectsSnapMode.d.ts +20 -18
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +187 -0
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleStats.d.ts +20 -19
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleViewMode.d.ts +20 -19
- package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleZenMode.d.ts +20 -19
- package/dist/types/{packages/excalidraw → excalidraw}/actions/index.d.ts +2 -2
- 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 +24 -10
- package/dist/types/excalidraw/clipboard.d.ts +129 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/Actions.d.ts +17 -7
- package/dist/types/{packages/excalidraw → excalidraw}/components/App.d.ts +43 -25
- 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 +6 -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 +4 -3
- package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/PickerColorList.d.ts +3 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +9 -0
- 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/{packages/excalidraw → excalidraw}/components/CommandPalette/CommandPalette.d.ts +1 -0
- 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 → excalidraw}/components/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +8 -0
- package/dist/types/excalidraw/components/InlineIcon.d.ts +5 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/LayerUI.d.ts +2 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
- package/dist/types/{packages/excalidraw → excalidraw}/components/Popover.d.ts +2 -1
- package/dist/types/{packages/excalidraw → excalidraw}/components/PropertiesPopover.d.ts +1 -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/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/dist/types/{packages/excalidraw → excalidraw}/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- 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/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
- 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 +9 -0
- package/dist/types/excalidraw/components/shapes.d.ts +190 -0
- package/dist/types/{packages/excalidraw → excalidraw}/data/blob.d.ts +3 -7
- 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}/data/types.d.ts +4 -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}/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- 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/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/{packages/excalidraw → excalidraw}/snapping.d.ts +2 -2
- package/dist/types/{packages/excalidraw → excalidraw}/types.d.ts +48 -17
- 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 +2 -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 +31 -11
- 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/prod/locales/en-B4ZKOASM.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/actionMenu.d.ts +0 -554
- package/dist/types/packages/excalidraw/actions/actionToggleSearchMenu.d.ts +0 -357
- package/dist/types/packages/excalidraw/clipboard.d.ts +0 -66
- 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/ColorPicker/ShadeList.d.ts +0 -8
- package/dist/types/packages/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +0 -6
- package/dist/types/packages/excalidraw/components/InlineIcon.d.ts +0 -3
- package/dist/types/packages/excalidraw/components/Range.d.ts +0 -8
- package/dist/types/packages/excalidraw/components/shapes.d.ts +0 -62
- 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-L23D26XS.js.map} +0 -0
- /package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-YSPYSBUR.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/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/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/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}/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/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/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/FontPickerList.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/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/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/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/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/ProjectName.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/common.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/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/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}/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/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, data }: 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, data }: 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,11 +67,15 @@ 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;
|
|
75
|
+
preferredSelectionTool: {
|
|
76
|
+
type: "selection" | "lasso";
|
|
77
|
+
initialized: boolean;
|
|
78
|
+
};
|
|
67
79
|
penMode: boolean;
|
|
68
80
|
penDetected: boolean;
|
|
69
81
|
exportBackground: boolean;
|
|
@@ -95,8 +107,8 @@ export declare const actionChangeFillStyle: {
|
|
|
95
107
|
zoom: Readonly<{
|
|
96
108
|
value: import("../types").NormalizedZoomValue;
|
|
97
109
|
}>;
|
|
98
|
-
openMenu: "
|
|
99
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
110
|
+
openMenu: "canvas" | null;
|
|
111
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
100
112
|
openSidebar: {
|
|
101
113
|
name: string;
|
|
102
114
|
tab?: string | undefined;
|
|
@@ -105,7 +117,7 @@ export declare const actionChangeFillStyle: {
|
|
|
105
117
|
name: "imageExport" | "help" | "jsonExport";
|
|
106
118
|
} | {
|
|
107
119
|
name: "ttd";
|
|
108
|
-
tab: "text-to-diagram"
|
|
120
|
+
tab: "mermaid" | "text-to-diagram";
|
|
109
121
|
} | {
|
|
110
122
|
name: "commandPalette";
|
|
111
123
|
} | {
|
|
@@ -177,7 +189,6 @@ export declare const actionChangeFillStyle: {
|
|
|
177
189
|
shown: true;
|
|
178
190
|
data: import("../charts").Spreadsheet;
|
|
179
191
|
};
|
|
180
|
-
pendingImageElementId: string | null;
|
|
181
192
|
showHyperlinkPopup: false | "editor" | "info";
|
|
182
193
|
selectedLinearElement: LinearElementEditor | null;
|
|
183
194
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -190,20 +201,19 @@ export declare const actionChangeFillStyle: {
|
|
|
190
201
|
followedBy: Set<import("../types").SocketId>;
|
|
191
202
|
isCropping: boolean;
|
|
192
203
|
croppingElementId: string | null;
|
|
193
|
-
searchMatches:
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}[];
|
|
204
|
+
searchMatches: Readonly<{
|
|
205
|
+
focusedId: string | null;
|
|
206
|
+
matches: readonly import("../types").SearchMatch[];
|
|
207
|
+
}> | null;
|
|
208
|
+
activeLockedId: string | null;
|
|
209
|
+
lockedMultiSelections: {
|
|
210
|
+
[groupId: string]: true;
|
|
211
|
+
};
|
|
212
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
203
213
|
};
|
|
204
214
|
captureUpdate: "IMMEDIATELY";
|
|
205
215
|
};
|
|
206
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
216
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
207
217
|
} & {
|
|
208
218
|
keyTest?: undefined;
|
|
209
219
|
};
|
|
@@ -225,7 +235,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
225
235
|
errorMessage: import("react").ReactNode;
|
|
226
236
|
activeEmbeddable: {
|
|
227
237
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
228
|
-
state: "
|
|
238
|
+
state: "active" | "hover";
|
|
229
239
|
} | null;
|
|
230
240
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
231
241
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -233,7 +243,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
233
243
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
234
244
|
isBindingEnabled: boolean;
|
|
235
245
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
236
|
-
suggestedBindings: import("@excalidraw/element
|
|
246
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
237
247
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
238
248
|
frameRendering: {
|
|
239
249
|
enabled: boolean;
|
|
@@ -244,11 +254,15 @@ export declare const actionChangeStrokeWidth: {
|
|
|
244
254
|
editingFrame: string | null;
|
|
245
255
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
246
256
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
247
|
-
editingLinearElement: LinearElementEditor | null;
|
|
248
257
|
activeTool: {
|
|
249
258
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
250
259
|
locked: boolean;
|
|
260
|
+
fromSelection: boolean;
|
|
251
261
|
} & import("../types").ActiveTool;
|
|
262
|
+
preferredSelectionTool: {
|
|
263
|
+
type: "selection" | "lasso";
|
|
264
|
+
initialized: boolean;
|
|
265
|
+
};
|
|
252
266
|
penMode: boolean;
|
|
253
267
|
penDetected: boolean;
|
|
254
268
|
exportBackground: boolean;
|
|
@@ -280,8 +294,8 @@ export declare const actionChangeStrokeWidth: {
|
|
|
280
294
|
zoom: Readonly<{
|
|
281
295
|
value: import("../types").NormalizedZoomValue;
|
|
282
296
|
}>;
|
|
283
|
-
openMenu: "
|
|
284
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
297
|
+
openMenu: "canvas" | null;
|
|
298
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
285
299
|
openSidebar: {
|
|
286
300
|
name: string;
|
|
287
301
|
tab?: string | undefined;
|
|
@@ -290,7 +304,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
290
304
|
name: "imageExport" | "help" | "jsonExport";
|
|
291
305
|
} | {
|
|
292
306
|
name: "ttd";
|
|
293
|
-
tab: "text-to-diagram"
|
|
307
|
+
tab: "mermaid" | "text-to-diagram";
|
|
294
308
|
} | {
|
|
295
309
|
name: "commandPalette";
|
|
296
310
|
} | {
|
|
@@ -362,7 +376,6 @@ export declare const actionChangeStrokeWidth: {
|
|
|
362
376
|
shown: true;
|
|
363
377
|
data: import("../charts").Spreadsheet;
|
|
364
378
|
};
|
|
365
|
-
pendingImageElementId: string | null;
|
|
366
379
|
showHyperlinkPopup: false | "editor" | "info";
|
|
367
380
|
selectedLinearElement: LinearElementEditor | null;
|
|
368
381
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -375,20 +388,19 @@ export declare const actionChangeStrokeWidth: {
|
|
|
375
388
|
followedBy: Set<import("../types").SocketId>;
|
|
376
389
|
isCropping: boolean;
|
|
377
390
|
croppingElementId: string | null;
|
|
378
|
-
searchMatches:
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
}[];
|
|
391
|
+
searchMatches: Readonly<{
|
|
392
|
+
focusedId: string | null;
|
|
393
|
+
matches: readonly import("../types").SearchMatch[];
|
|
394
|
+
}> | null;
|
|
395
|
+
activeLockedId: string | null;
|
|
396
|
+
lockedMultiSelections: {
|
|
397
|
+
[groupId: string]: true;
|
|
398
|
+
};
|
|
399
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
388
400
|
};
|
|
389
401
|
captureUpdate: "IMMEDIATELY";
|
|
390
402
|
};
|
|
391
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
403
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
392
404
|
} & {
|
|
393
405
|
keyTest?: undefined;
|
|
394
406
|
};
|
|
@@ -410,7 +422,7 @@ export declare const actionChangeSloppiness: {
|
|
|
410
422
|
errorMessage: import("react").ReactNode;
|
|
411
423
|
activeEmbeddable: {
|
|
412
424
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
413
|
-
state: "
|
|
425
|
+
state: "active" | "hover";
|
|
414
426
|
} | null;
|
|
415
427
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
416
428
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -418,7 +430,7 @@ export declare const actionChangeSloppiness: {
|
|
|
418
430
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
419
431
|
isBindingEnabled: boolean;
|
|
420
432
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
421
|
-
suggestedBindings: import("@excalidraw/element
|
|
433
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
422
434
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
423
435
|
frameRendering: {
|
|
424
436
|
enabled: boolean;
|
|
@@ -429,11 +441,15 @@ export declare const actionChangeSloppiness: {
|
|
|
429
441
|
editingFrame: string | null;
|
|
430
442
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
431
443
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
432
|
-
editingLinearElement: LinearElementEditor | null;
|
|
433
444
|
activeTool: {
|
|
434
445
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
435
446
|
locked: boolean;
|
|
447
|
+
fromSelection: boolean;
|
|
436
448
|
} & import("../types").ActiveTool;
|
|
449
|
+
preferredSelectionTool: {
|
|
450
|
+
type: "selection" | "lasso";
|
|
451
|
+
initialized: boolean;
|
|
452
|
+
};
|
|
437
453
|
penMode: boolean;
|
|
438
454
|
penDetected: boolean;
|
|
439
455
|
exportBackground: boolean;
|
|
@@ -465,8 +481,8 @@ export declare const actionChangeSloppiness: {
|
|
|
465
481
|
zoom: Readonly<{
|
|
466
482
|
value: import("../types").NormalizedZoomValue;
|
|
467
483
|
}>;
|
|
468
|
-
openMenu: "
|
|
469
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
484
|
+
openMenu: "canvas" | null;
|
|
485
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
470
486
|
openSidebar: {
|
|
471
487
|
name: string;
|
|
472
488
|
tab?: string | undefined;
|
|
@@ -475,7 +491,7 @@ export declare const actionChangeSloppiness: {
|
|
|
475
491
|
name: "imageExport" | "help" | "jsonExport";
|
|
476
492
|
} | {
|
|
477
493
|
name: "ttd";
|
|
478
|
-
tab: "text-to-diagram"
|
|
494
|
+
tab: "mermaid" | "text-to-diagram";
|
|
479
495
|
} | {
|
|
480
496
|
name: "commandPalette";
|
|
481
497
|
} | {
|
|
@@ -547,7 +563,6 @@ export declare const actionChangeSloppiness: {
|
|
|
547
563
|
shown: true;
|
|
548
564
|
data: import("../charts").Spreadsheet;
|
|
549
565
|
};
|
|
550
|
-
pendingImageElementId: string | null;
|
|
551
566
|
showHyperlinkPopup: false | "editor" | "info";
|
|
552
567
|
selectedLinearElement: LinearElementEditor | null;
|
|
553
568
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -560,20 +575,19 @@ export declare const actionChangeSloppiness: {
|
|
|
560
575
|
followedBy: Set<import("../types").SocketId>;
|
|
561
576
|
isCropping: boolean;
|
|
562
577
|
croppingElementId: string | null;
|
|
563
|
-
searchMatches:
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
}[];
|
|
578
|
+
searchMatches: Readonly<{
|
|
579
|
+
focusedId: string | null;
|
|
580
|
+
matches: readonly import("../types").SearchMatch[];
|
|
581
|
+
}> | null;
|
|
582
|
+
activeLockedId: string | null;
|
|
583
|
+
lockedMultiSelections: {
|
|
584
|
+
[groupId: string]: true;
|
|
585
|
+
};
|
|
586
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
573
587
|
};
|
|
574
588
|
captureUpdate: "IMMEDIATELY";
|
|
575
589
|
};
|
|
576
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
590
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
577
591
|
} & {
|
|
578
592
|
keyTest?: undefined;
|
|
579
593
|
};
|
|
@@ -595,7 +609,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
595
609
|
errorMessage: import("react").ReactNode;
|
|
596
610
|
activeEmbeddable: {
|
|
597
611
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
598
|
-
state: "
|
|
612
|
+
state: "active" | "hover";
|
|
599
613
|
} | null;
|
|
600
614
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
601
615
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -603,7 +617,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
603
617
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
604
618
|
isBindingEnabled: boolean;
|
|
605
619
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
606
|
-
suggestedBindings: import("@excalidraw/element
|
|
620
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
607
621
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
608
622
|
frameRendering: {
|
|
609
623
|
enabled: boolean;
|
|
@@ -614,11 +628,15 @@ export declare const actionChangeStrokeStyle: {
|
|
|
614
628
|
editingFrame: string | null;
|
|
615
629
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
616
630
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
617
|
-
editingLinearElement: LinearElementEditor | null;
|
|
618
631
|
activeTool: {
|
|
619
632
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
620
633
|
locked: boolean;
|
|
634
|
+
fromSelection: boolean;
|
|
621
635
|
} & import("../types").ActiveTool;
|
|
636
|
+
preferredSelectionTool: {
|
|
637
|
+
type: "selection" | "lasso";
|
|
638
|
+
initialized: boolean;
|
|
639
|
+
};
|
|
622
640
|
penMode: boolean;
|
|
623
641
|
penDetected: boolean;
|
|
624
642
|
exportBackground: boolean;
|
|
@@ -650,8 +668,8 @@ export declare const actionChangeStrokeStyle: {
|
|
|
650
668
|
zoom: Readonly<{
|
|
651
669
|
value: import("../types").NormalizedZoomValue;
|
|
652
670
|
}>;
|
|
653
|
-
openMenu: "
|
|
654
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
671
|
+
openMenu: "canvas" | null;
|
|
672
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
655
673
|
openSidebar: {
|
|
656
674
|
name: string;
|
|
657
675
|
tab?: string | undefined;
|
|
@@ -660,7 +678,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
660
678
|
name: "imageExport" | "help" | "jsonExport";
|
|
661
679
|
} | {
|
|
662
680
|
name: "ttd";
|
|
663
|
-
tab: "text-to-diagram"
|
|
681
|
+
tab: "mermaid" | "text-to-diagram";
|
|
664
682
|
} | {
|
|
665
683
|
name: "commandPalette";
|
|
666
684
|
} | {
|
|
@@ -732,7 +750,6 @@ export declare const actionChangeStrokeStyle: {
|
|
|
732
750
|
shown: true;
|
|
733
751
|
data: import("../charts").Spreadsheet;
|
|
734
752
|
};
|
|
735
|
-
pendingImageElementId: string | null;
|
|
736
753
|
showHyperlinkPopup: false | "editor" | "info";
|
|
737
754
|
selectedLinearElement: LinearElementEditor | null;
|
|
738
755
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -745,20 +762,19 @@ export declare const actionChangeStrokeStyle: {
|
|
|
745
762
|
followedBy: Set<import("../types").SocketId>;
|
|
746
763
|
isCropping: boolean;
|
|
747
764
|
croppingElementId: string | null;
|
|
748
|
-
searchMatches:
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
}[];
|
|
765
|
+
searchMatches: Readonly<{
|
|
766
|
+
focusedId: string | null;
|
|
767
|
+
matches: readonly import("../types").SearchMatch[];
|
|
768
|
+
}> | null;
|
|
769
|
+
activeLockedId: string | null;
|
|
770
|
+
lockedMultiSelections: {
|
|
771
|
+
[groupId: string]: true;
|
|
772
|
+
};
|
|
773
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
758
774
|
};
|
|
759
775
|
captureUpdate: "IMMEDIATELY";
|
|
760
776
|
};
|
|
761
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
777
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
762
778
|
} & {
|
|
763
779
|
keyTest?: undefined;
|
|
764
780
|
};
|
|
@@ -780,7 +796,7 @@ export declare const actionChangeOpacity: {
|
|
|
780
796
|
errorMessage: import("react").ReactNode;
|
|
781
797
|
activeEmbeddable: {
|
|
782
798
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
783
|
-
state: "
|
|
799
|
+
state: "active" | "hover";
|
|
784
800
|
} | null;
|
|
785
801
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
786
802
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -788,7 +804,7 @@ export declare const actionChangeOpacity: {
|
|
|
788
804
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
789
805
|
isBindingEnabled: boolean;
|
|
790
806
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
791
|
-
suggestedBindings: import("@excalidraw/element
|
|
807
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
792
808
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
793
809
|
frameRendering: {
|
|
794
810
|
enabled: boolean;
|
|
@@ -799,11 +815,15 @@ export declare const actionChangeOpacity: {
|
|
|
799
815
|
editingFrame: string | null;
|
|
800
816
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
801
817
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
802
|
-
editingLinearElement: LinearElementEditor | null;
|
|
803
818
|
activeTool: {
|
|
804
819
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
805
820
|
locked: boolean;
|
|
821
|
+
fromSelection: boolean;
|
|
806
822
|
} & import("../types").ActiveTool;
|
|
823
|
+
preferredSelectionTool: {
|
|
824
|
+
type: "selection" | "lasso";
|
|
825
|
+
initialized: boolean;
|
|
826
|
+
};
|
|
807
827
|
penMode: boolean;
|
|
808
828
|
penDetected: boolean;
|
|
809
829
|
exportBackground: boolean;
|
|
@@ -835,8 +855,8 @@ export declare const actionChangeOpacity: {
|
|
|
835
855
|
zoom: Readonly<{
|
|
836
856
|
value: import("../types").NormalizedZoomValue;
|
|
837
857
|
}>;
|
|
838
|
-
openMenu: "
|
|
839
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
858
|
+
openMenu: "canvas" | null;
|
|
859
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
840
860
|
openSidebar: {
|
|
841
861
|
name: string;
|
|
842
862
|
tab?: string | undefined;
|
|
@@ -845,7 +865,7 @@ export declare const actionChangeOpacity: {
|
|
|
845
865
|
name: "imageExport" | "help" | "jsonExport";
|
|
846
866
|
} | {
|
|
847
867
|
name: "ttd";
|
|
848
|
-
tab: "text-to-diagram"
|
|
868
|
+
tab: "mermaid" | "text-to-diagram";
|
|
849
869
|
} | {
|
|
850
870
|
name: "commandPalette";
|
|
851
871
|
} | {
|
|
@@ -917,7 +937,6 @@ export declare const actionChangeOpacity: {
|
|
|
917
937
|
shown: true;
|
|
918
938
|
data: import("../charts").Spreadsheet;
|
|
919
939
|
};
|
|
920
|
-
pendingImageElementId: string | null;
|
|
921
940
|
showHyperlinkPopup: false | "editor" | "info";
|
|
922
941
|
selectedLinearElement: LinearElementEditor | null;
|
|
923
942
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -930,20 +949,19 @@ export declare const actionChangeOpacity: {
|
|
|
930
949
|
followedBy: Set<import("../types").SocketId>;
|
|
931
950
|
isCropping: boolean;
|
|
932
951
|
croppingElementId: string | null;
|
|
933
|
-
searchMatches:
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
}[];
|
|
952
|
+
searchMatches: Readonly<{
|
|
953
|
+
focusedId: string | null;
|
|
954
|
+
matches: readonly import("../types").SearchMatch[];
|
|
955
|
+
}> | null;
|
|
956
|
+
activeLockedId: string | null;
|
|
957
|
+
lockedMultiSelections: {
|
|
958
|
+
[groupId: string]: true;
|
|
959
|
+
};
|
|
960
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
943
961
|
};
|
|
944
962
|
captureUpdate: "IMMEDIATELY";
|
|
945
963
|
};
|
|
946
|
-
PanelComponent: ({
|
|
964
|
+
PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
947
965
|
} & {
|
|
948
966
|
keyTest?: undefined;
|
|
949
967
|
};
|
|
@@ -965,7 +983,7 @@ export declare const actionChangeFontSize: {
|
|
|
965
983
|
errorMessage: import("react").ReactNode;
|
|
966
984
|
activeEmbeddable: {
|
|
967
985
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
968
|
-
state: "
|
|
986
|
+
state: "active" | "hover";
|
|
969
987
|
} | null;
|
|
970
988
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
971
989
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -973,7 +991,7 @@ export declare const actionChangeFontSize: {
|
|
|
973
991
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
974
992
|
isBindingEnabled: boolean;
|
|
975
993
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
976
|
-
suggestedBindings: import("@excalidraw/element
|
|
994
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
977
995
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
978
996
|
frameRendering: {
|
|
979
997
|
enabled: boolean;
|
|
@@ -984,11 +1002,15 @@ export declare const actionChangeFontSize: {
|
|
|
984
1002
|
editingFrame: string | null;
|
|
985
1003
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
986
1004
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
987
|
-
editingLinearElement: LinearElementEditor | null;
|
|
988
1005
|
activeTool: {
|
|
989
1006
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
990
1007
|
locked: boolean;
|
|
1008
|
+
fromSelection: boolean;
|
|
991
1009
|
} & import("../types").ActiveTool;
|
|
1010
|
+
preferredSelectionTool: {
|
|
1011
|
+
type: "selection" | "lasso";
|
|
1012
|
+
initialized: boolean;
|
|
1013
|
+
};
|
|
992
1014
|
penMode: boolean;
|
|
993
1015
|
penDetected: boolean;
|
|
994
1016
|
exportBackground: boolean;
|
|
@@ -1020,8 +1042,8 @@ export declare const actionChangeFontSize: {
|
|
|
1020
1042
|
zoom: Readonly<{
|
|
1021
1043
|
value: import("../types").NormalizedZoomValue;
|
|
1022
1044
|
}>;
|
|
1023
|
-
openMenu: "
|
|
1024
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1045
|
+
openMenu: "canvas" | null;
|
|
1046
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1025
1047
|
openSidebar: {
|
|
1026
1048
|
name: string;
|
|
1027
1049
|
tab?: string | undefined;
|
|
@@ -1030,7 +1052,7 @@ export declare const actionChangeFontSize: {
|
|
|
1030
1052
|
name: "imageExport" | "help" | "jsonExport";
|
|
1031
1053
|
} | {
|
|
1032
1054
|
name: "ttd";
|
|
1033
|
-
tab: "text-to-diagram"
|
|
1055
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1034
1056
|
} | {
|
|
1035
1057
|
name: "commandPalette";
|
|
1036
1058
|
} | {
|
|
@@ -1102,7 +1124,6 @@ export declare const actionChangeFontSize: {
|
|
|
1102
1124
|
shown: true;
|
|
1103
1125
|
data: import("../charts").Spreadsheet;
|
|
1104
1126
|
};
|
|
1105
|
-
pendingImageElementId: string | null;
|
|
1106
1127
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1107
1128
|
selectedLinearElement: LinearElementEditor | null;
|
|
1108
1129
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1115,20 +1136,19 @@ export declare const actionChangeFontSize: {
|
|
|
1115
1136
|
followedBy: Set<import("../types").SocketId>;
|
|
1116
1137
|
isCropping: boolean;
|
|
1117
1138
|
croppingElementId: string | null;
|
|
1118
|
-
searchMatches:
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
}[];
|
|
1139
|
+
searchMatches: Readonly<{
|
|
1140
|
+
focusedId: string | null;
|
|
1141
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1142
|
+
}> | null;
|
|
1143
|
+
activeLockedId: string | null;
|
|
1144
|
+
lockedMultiSelections: {
|
|
1145
|
+
[groupId: string]: true;
|
|
1146
|
+
};
|
|
1147
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1128
1148
|
};
|
|
1129
1149
|
captureUpdate: "IMMEDIATELY";
|
|
1130
1150
|
};
|
|
1131
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1151
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1132
1152
|
} & {
|
|
1133
1153
|
keyTest?: undefined;
|
|
1134
1154
|
};
|
|
@@ -1151,7 +1171,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1151
1171
|
errorMessage: import("react").ReactNode;
|
|
1152
1172
|
activeEmbeddable: {
|
|
1153
1173
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1154
|
-
state: "
|
|
1174
|
+
state: "active" | "hover";
|
|
1155
1175
|
} | null;
|
|
1156
1176
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1157
1177
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1159,7 +1179,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1159
1179
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1160
1180
|
isBindingEnabled: boolean;
|
|
1161
1181
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1162
|
-
suggestedBindings: import("@excalidraw/element
|
|
1182
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1163
1183
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1164
1184
|
frameRendering: {
|
|
1165
1185
|
enabled: boolean;
|
|
@@ -1170,11 +1190,15 @@ export declare const actionDecreaseFontSize: {
|
|
|
1170
1190
|
editingFrame: string | null;
|
|
1171
1191
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1172
1192
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1173
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1174
1193
|
activeTool: {
|
|
1175
1194
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1176
1195
|
locked: boolean;
|
|
1196
|
+
fromSelection: boolean;
|
|
1177
1197
|
} & import("../types").ActiveTool;
|
|
1198
|
+
preferredSelectionTool: {
|
|
1199
|
+
type: "selection" | "lasso";
|
|
1200
|
+
initialized: boolean;
|
|
1201
|
+
};
|
|
1178
1202
|
penMode: boolean;
|
|
1179
1203
|
penDetected: boolean;
|
|
1180
1204
|
exportBackground: boolean;
|
|
@@ -1206,8 +1230,8 @@ export declare const actionDecreaseFontSize: {
|
|
|
1206
1230
|
zoom: Readonly<{
|
|
1207
1231
|
value: import("../types").NormalizedZoomValue;
|
|
1208
1232
|
}>;
|
|
1209
|
-
openMenu: "
|
|
1210
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1233
|
+
openMenu: "canvas" | null;
|
|
1234
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1211
1235
|
openSidebar: {
|
|
1212
1236
|
name: string;
|
|
1213
1237
|
tab?: string | undefined;
|
|
@@ -1216,7 +1240,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1216
1240
|
name: "imageExport" | "help" | "jsonExport";
|
|
1217
1241
|
} | {
|
|
1218
1242
|
name: "ttd";
|
|
1219
|
-
tab: "text-to-diagram"
|
|
1243
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1220
1244
|
} | {
|
|
1221
1245
|
name: "commandPalette";
|
|
1222
1246
|
} | {
|
|
@@ -1288,7 +1312,6 @@ export declare const actionDecreaseFontSize: {
|
|
|
1288
1312
|
shown: true;
|
|
1289
1313
|
data: import("../charts").Spreadsheet;
|
|
1290
1314
|
};
|
|
1291
|
-
pendingImageElementId: string | null;
|
|
1292
1315
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1293
1316
|
selectedLinearElement: LinearElementEditor | null;
|
|
1294
1317
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1301,16 +1324,15 @@ export declare const actionDecreaseFontSize: {
|
|
|
1301
1324
|
followedBy: Set<import("../types").SocketId>;
|
|
1302
1325
|
isCropping: boolean;
|
|
1303
1326
|
croppingElementId: string | null;
|
|
1304
|
-
searchMatches:
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
}[];
|
|
1327
|
+
searchMatches: Readonly<{
|
|
1328
|
+
focusedId: string | null;
|
|
1329
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1330
|
+
}> | null;
|
|
1331
|
+
activeLockedId: string | null;
|
|
1332
|
+
lockedMultiSelections: {
|
|
1333
|
+
[groupId: string]: true;
|
|
1334
|
+
};
|
|
1335
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1314
1336
|
};
|
|
1315
1337
|
captureUpdate: "IMMEDIATELY";
|
|
1316
1338
|
};
|
|
@@ -1337,7 +1359,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1337
1359
|
errorMessage: import("react").ReactNode;
|
|
1338
1360
|
activeEmbeddable: {
|
|
1339
1361
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1340
|
-
state: "
|
|
1362
|
+
state: "active" | "hover";
|
|
1341
1363
|
} | null;
|
|
1342
1364
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1343
1365
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1345,7 +1367,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1345
1367
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1346
1368
|
isBindingEnabled: boolean;
|
|
1347
1369
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1348
|
-
suggestedBindings: import("@excalidraw/element
|
|
1370
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1349
1371
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1350
1372
|
frameRendering: {
|
|
1351
1373
|
enabled: boolean;
|
|
@@ -1356,11 +1378,15 @@ export declare const actionIncreaseFontSize: {
|
|
|
1356
1378
|
editingFrame: string | null;
|
|
1357
1379
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1358
1380
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1359
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1360
1381
|
activeTool: {
|
|
1361
1382
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1362
1383
|
locked: boolean;
|
|
1384
|
+
fromSelection: boolean;
|
|
1363
1385
|
} & import("../types").ActiveTool;
|
|
1386
|
+
preferredSelectionTool: {
|
|
1387
|
+
type: "selection" | "lasso";
|
|
1388
|
+
initialized: boolean;
|
|
1389
|
+
};
|
|
1364
1390
|
penMode: boolean;
|
|
1365
1391
|
penDetected: boolean;
|
|
1366
1392
|
exportBackground: boolean;
|
|
@@ -1392,8 +1418,8 @@ export declare const actionIncreaseFontSize: {
|
|
|
1392
1418
|
zoom: Readonly<{
|
|
1393
1419
|
value: import("../types").NormalizedZoomValue;
|
|
1394
1420
|
}>;
|
|
1395
|
-
openMenu: "
|
|
1396
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1421
|
+
openMenu: "canvas" | null;
|
|
1422
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1397
1423
|
openSidebar: {
|
|
1398
1424
|
name: string;
|
|
1399
1425
|
tab?: string | undefined;
|
|
@@ -1402,7 +1428,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1402
1428
|
name: "imageExport" | "help" | "jsonExport";
|
|
1403
1429
|
} | {
|
|
1404
1430
|
name: "ttd";
|
|
1405
|
-
tab: "text-to-diagram"
|
|
1431
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1406
1432
|
} | {
|
|
1407
1433
|
name: "commandPalette";
|
|
1408
1434
|
} | {
|
|
@@ -1474,7 +1500,6 @@ export declare const actionIncreaseFontSize: {
|
|
|
1474
1500
|
shown: true;
|
|
1475
1501
|
data: import("../charts").Spreadsheet;
|
|
1476
1502
|
};
|
|
1477
|
-
pendingImageElementId: string | null;
|
|
1478
1503
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1479
1504
|
selectedLinearElement: LinearElementEditor | null;
|
|
1480
1505
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1487,16 +1512,15 @@ export declare const actionIncreaseFontSize: {
|
|
|
1487
1512
|
followedBy: Set<import("../types").SocketId>;
|
|
1488
1513
|
isCropping: boolean;
|
|
1489
1514
|
croppingElementId: string | null;
|
|
1490
|
-
searchMatches:
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
}[];
|
|
1515
|
+
searchMatches: Readonly<{
|
|
1516
|
+
focusedId: string | null;
|
|
1517
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1518
|
+
}> | null;
|
|
1519
|
+
activeLockedId: string | null;
|
|
1520
|
+
lockedMultiSelections: {
|
|
1521
|
+
[groupId: string]: true;
|
|
1522
|
+
};
|
|
1523
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1500
1524
|
};
|
|
1501
1525
|
captureUpdate: "IMMEDIATELY";
|
|
1502
1526
|
};
|
|
@@ -1510,9 +1534,9 @@ export declare const actionChangeFontFamily: {
|
|
|
1510
1534
|
trackEvent: false;
|
|
1511
1535
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
1512
1536
|
appState: {
|
|
1513
|
-
currentHoveredFontFamily: number | null;
|
|
1514
1537
|
currentItemFontFamily: number;
|
|
1515
|
-
|
|
1538
|
+
currentHoveredFontFamily: number | null;
|
|
1539
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1516
1540
|
contextMenu: {
|
|
1517
1541
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1518
1542
|
top: number;
|
|
@@ -1523,7 +1547,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1523
1547
|
errorMessage: import("react").ReactNode;
|
|
1524
1548
|
activeEmbeddable: {
|
|
1525
1549
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1526
|
-
state: "
|
|
1550
|
+
state: "active" | "hover";
|
|
1527
1551
|
} | null;
|
|
1528
1552
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1529
1553
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1531,7 +1555,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1531
1555
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1532
1556
|
isBindingEnabled: boolean;
|
|
1533
1557
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1534
|
-
suggestedBindings: import("@excalidraw/element
|
|
1558
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1535
1559
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1536
1560
|
frameRendering: {
|
|
1537
1561
|
enabled: boolean;
|
|
@@ -1542,11 +1566,15 @@ export declare const actionChangeFontFamily: {
|
|
|
1542
1566
|
editingFrame: string | null;
|
|
1543
1567
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1544
1568
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1545
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1546
1569
|
activeTool: {
|
|
1547
1570
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1548
1571
|
locked: boolean;
|
|
1572
|
+
fromSelection: boolean;
|
|
1549
1573
|
} & import("../types").ActiveTool;
|
|
1574
|
+
preferredSelectionTool: {
|
|
1575
|
+
type: "selection" | "lasso";
|
|
1576
|
+
initialized: boolean;
|
|
1577
|
+
};
|
|
1550
1578
|
penMode: boolean;
|
|
1551
1579
|
penDetected: boolean;
|
|
1552
1580
|
exportBackground: boolean;
|
|
@@ -1577,7 +1605,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1577
1605
|
zoom: Readonly<{
|
|
1578
1606
|
value: import("../types").NormalizedZoomValue;
|
|
1579
1607
|
}>;
|
|
1580
|
-
openMenu: "
|
|
1608
|
+
openMenu: "canvas" | null;
|
|
1581
1609
|
openSidebar: {
|
|
1582
1610
|
name: string;
|
|
1583
1611
|
tab?: string | undefined;
|
|
@@ -1586,7 +1614,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1586
1614
|
name: "imageExport" | "help" | "jsonExport";
|
|
1587
1615
|
} | {
|
|
1588
1616
|
name: "ttd";
|
|
1589
|
-
tab: "text-to-diagram"
|
|
1617
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1590
1618
|
} | {
|
|
1591
1619
|
name: "commandPalette";
|
|
1592
1620
|
} | {
|
|
@@ -1658,7 +1686,6 @@ export declare const actionChangeFontFamily: {
|
|
|
1658
1686
|
shown: true;
|
|
1659
1687
|
data: import("../charts").Spreadsheet;
|
|
1660
1688
|
};
|
|
1661
|
-
pendingImageElementId: string | null;
|
|
1662
1689
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1663
1690
|
selectedLinearElement: LinearElementEditor | null;
|
|
1664
1691
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1671,24 +1698,23 @@ export declare const actionChangeFontFamily: {
|
|
|
1671
1698
|
followedBy: Set<import("../types").SocketId>;
|
|
1672
1699
|
isCropping: boolean;
|
|
1673
1700
|
croppingElementId: string | null;
|
|
1674
|
-
searchMatches:
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
}[];
|
|
1701
|
+
searchMatches: Readonly<{
|
|
1702
|
+
focusedId: string | null;
|
|
1703
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1704
|
+
}> | null;
|
|
1705
|
+
activeLockedId: string | null;
|
|
1706
|
+
lockedMultiSelections: {
|
|
1707
|
+
[groupId: string]: true;
|
|
1708
|
+
};
|
|
1709
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1684
1710
|
};
|
|
1685
1711
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
1686
1712
|
} | {
|
|
1687
1713
|
elements: ExcalidrawElement[];
|
|
1688
1714
|
appState: {
|
|
1689
|
-
currentHoveredFontFamily: number | null;
|
|
1690
1715
|
currentItemFontFamily: number;
|
|
1691
|
-
|
|
1716
|
+
currentHoveredFontFamily: number | null;
|
|
1717
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1692
1718
|
contextMenu: {
|
|
1693
1719
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1694
1720
|
top: number;
|
|
@@ -1699,7 +1725,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1699
1725
|
errorMessage: import("react").ReactNode;
|
|
1700
1726
|
activeEmbeddable: {
|
|
1701
1727
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1702
|
-
state: "
|
|
1728
|
+
state: "active" | "hover";
|
|
1703
1729
|
} | null;
|
|
1704
1730
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1705
1731
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1707,7 +1733,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1707
1733
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1708
1734
|
isBindingEnabled: boolean;
|
|
1709
1735
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1710
|
-
suggestedBindings: import("@excalidraw/element
|
|
1736
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1711
1737
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1712
1738
|
frameRendering: {
|
|
1713
1739
|
enabled: boolean;
|
|
@@ -1718,11 +1744,15 @@ export declare const actionChangeFontFamily: {
|
|
|
1718
1744
|
editingFrame: string | null;
|
|
1719
1745
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1720
1746
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1721
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1722
1747
|
activeTool: {
|
|
1723
1748
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1724
1749
|
locked: boolean;
|
|
1750
|
+
fromSelection: boolean;
|
|
1725
1751
|
} & import("../types").ActiveTool;
|
|
1752
|
+
preferredSelectionTool: {
|
|
1753
|
+
type: "selection" | "lasso";
|
|
1754
|
+
initialized: boolean;
|
|
1755
|
+
};
|
|
1726
1756
|
penMode: boolean;
|
|
1727
1757
|
penDetected: boolean;
|
|
1728
1758
|
exportBackground: boolean;
|
|
@@ -1753,7 +1783,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1753
1783
|
zoom: Readonly<{
|
|
1754
1784
|
value: import("../types").NormalizedZoomValue;
|
|
1755
1785
|
}>;
|
|
1756
|
-
openMenu: "
|
|
1786
|
+
openMenu: "canvas" | null;
|
|
1757
1787
|
openSidebar: {
|
|
1758
1788
|
name: string;
|
|
1759
1789
|
tab?: string | undefined;
|
|
@@ -1762,7 +1792,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1762
1792
|
name: "imageExport" | "help" | "jsonExport";
|
|
1763
1793
|
} | {
|
|
1764
1794
|
name: "ttd";
|
|
1765
|
-
tab: "text-to-diagram"
|
|
1795
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1766
1796
|
} | {
|
|
1767
1797
|
name: "commandPalette";
|
|
1768
1798
|
} | {
|
|
@@ -1834,7 +1864,6 @@ export declare const actionChangeFontFamily: {
|
|
|
1834
1864
|
shown: true;
|
|
1835
1865
|
data: import("../charts").Spreadsheet;
|
|
1836
1866
|
};
|
|
1837
|
-
pendingImageElementId: string | null;
|
|
1838
1867
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1839
1868
|
selectedLinearElement: LinearElementEditor | null;
|
|
1840
1869
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1847,16 +1876,15 @@ export declare const actionChangeFontFamily: {
|
|
|
1847
1876
|
followedBy: Set<import("../types").SocketId>;
|
|
1848
1877
|
isCropping: boolean;
|
|
1849
1878
|
croppingElementId: string | null;
|
|
1850
|
-
searchMatches:
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
}[];
|
|
1879
|
+
searchMatches: Readonly<{
|
|
1880
|
+
focusedId: string | null;
|
|
1881
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1882
|
+
}> | null;
|
|
1883
|
+
activeLockedId: string | null;
|
|
1884
|
+
lockedMultiSelections: {
|
|
1885
|
+
[groupId: string]: true;
|
|
1886
|
+
};
|
|
1887
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1860
1888
|
};
|
|
1861
1889
|
captureUpdate: "NEVER";
|
|
1862
1890
|
};
|
|
@@ -1882,7 +1910,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1882
1910
|
errorMessage: import("react").ReactNode;
|
|
1883
1911
|
activeEmbeddable: {
|
|
1884
1912
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1885
|
-
state: "
|
|
1913
|
+
state: "active" | "hover";
|
|
1886
1914
|
} | null;
|
|
1887
1915
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1888
1916
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1890,7 +1918,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1890
1918
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1891
1919
|
isBindingEnabled: boolean;
|
|
1892
1920
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1893
|
-
suggestedBindings: import("@excalidraw/element
|
|
1921
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1894
1922
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1895
1923
|
frameRendering: {
|
|
1896
1924
|
enabled: boolean;
|
|
@@ -1901,11 +1929,15 @@ export declare const actionChangeTextAlign: {
|
|
|
1901
1929
|
editingFrame: string | null;
|
|
1902
1930
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1903
1931
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1904
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1905
1932
|
activeTool: {
|
|
1906
1933
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1907
1934
|
locked: boolean;
|
|
1935
|
+
fromSelection: boolean;
|
|
1908
1936
|
} & import("../types").ActiveTool;
|
|
1937
|
+
preferredSelectionTool: {
|
|
1938
|
+
type: "selection" | "lasso";
|
|
1939
|
+
initialized: boolean;
|
|
1940
|
+
};
|
|
1909
1941
|
penMode: boolean;
|
|
1910
1942
|
penDetected: boolean;
|
|
1911
1943
|
exportBackground: boolean;
|
|
@@ -1937,8 +1969,8 @@ export declare const actionChangeTextAlign: {
|
|
|
1937
1969
|
zoom: Readonly<{
|
|
1938
1970
|
value: import("../types").NormalizedZoomValue;
|
|
1939
1971
|
}>;
|
|
1940
|
-
openMenu: "
|
|
1941
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1972
|
+
openMenu: "canvas" | null;
|
|
1973
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1942
1974
|
openSidebar: {
|
|
1943
1975
|
name: string;
|
|
1944
1976
|
tab?: string | undefined;
|
|
@@ -1947,7 +1979,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1947
1979
|
name: "imageExport" | "help" | "jsonExport";
|
|
1948
1980
|
} | {
|
|
1949
1981
|
name: "ttd";
|
|
1950
|
-
tab: "text-to-diagram"
|
|
1982
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1951
1983
|
} | {
|
|
1952
1984
|
name: "commandPalette";
|
|
1953
1985
|
} | {
|
|
@@ -2019,7 +2051,6 @@ export declare const actionChangeTextAlign: {
|
|
|
2019
2051
|
shown: true;
|
|
2020
2052
|
data: import("../charts").Spreadsheet;
|
|
2021
2053
|
};
|
|
2022
|
-
pendingImageElementId: string | null;
|
|
2023
2054
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2024
2055
|
selectedLinearElement: LinearElementEditor | null;
|
|
2025
2056
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2032,20 +2063,19 @@ export declare const actionChangeTextAlign: {
|
|
|
2032
2063
|
followedBy: Set<import("../types").SocketId>;
|
|
2033
2064
|
isCropping: boolean;
|
|
2034
2065
|
croppingElementId: string | null;
|
|
2035
|
-
searchMatches:
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
}[];
|
|
2066
|
+
searchMatches: Readonly<{
|
|
2067
|
+
focusedId: string | null;
|
|
2068
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2069
|
+
}> | null;
|
|
2070
|
+
activeLockedId: string | null;
|
|
2071
|
+
lockedMultiSelections: {
|
|
2072
|
+
[groupId: string]: true;
|
|
2073
|
+
};
|
|
2074
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2045
2075
|
};
|
|
2046
2076
|
captureUpdate: "IMMEDIATELY";
|
|
2047
2077
|
};
|
|
2048
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2078
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2049
2079
|
} & {
|
|
2050
2080
|
keyTest?: undefined;
|
|
2051
2081
|
};
|
|
@@ -2068,7 +2098,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2068
2098
|
errorMessage: import("react").ReactNode;
|
|
2069
2099
|
activeEmbeddable: {
|
|
2070
2100
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2071
|
-
state: "
|
|
2101
|
+
state: "active" | "hover";
|
|
2072
2102
|
} | null;
|
|
2073
2103
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2074
2104
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2076,7 +2106,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2076
2106
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2077
2107
|
isBindingEnabled: boolean;
|
|
2078
2108
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2079
|
-
suggestedBindings: import("@excalidraw/element
|
|
2109
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2080
2110
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2081
2111
|
frameRendering: {
|
|
2082
2112
|
enabled: boolean;
|
|
@@ -2087,11 +2117,15 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2087
2117
|
editingFrame: string | null;
|
|
2088
2118
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2089
2119
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2090
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2091
2120
|
activeTool: {
|
|
2092
2121
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2093
2122
|
locked: boolean;
|
|
2123
|
+
fromSelection: boolean;
|
|
2094
2124
|
} & import("../types").ActiveTool;
|
|
2125
|
+
preferredSelectionTool: {
|
|
2126
|
+
type: "selection" | "lasso";
|
|
2127
|
+
initialized: boolean;
|
|
2128
|
+
};
|
|
2095
2129
|
penMode: boolean;
|
|
2096
2130
|
penDetected: boolean;
|
|
2097
2131
|
exportBackground: boolean;
|
|
@@ -2124,8 +2158,8 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2124
2158
|
zoom: Readonly<{
|
|
2125
2159
|
value: import("../types").NormalizedZoomValue;
|
|
2126
2160
|
}>;
|
|
2127
|
-
openMenu: "
|
|
2128
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2161
|
+
openMenu: "canvas" | null;
|
|
2162
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2129
2163
|
openSidebar: {
|
|
2130
2164
|
name: string;
|
|
2131
2165
|
tab?: string | undefined;
|
|
@@ -2134,7 +2168,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2134
2168
|
name: "imageExport" | "help" | "jsonExport";
|
|
2135
2169
|
} | {
|
|
2136
2170
|
name: "ttd";
|
|
2137
|
-
tab: "text-to-diagram"
|
|
2171
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2138
2172
|
} | {
|
|
2139
2173
|
name: "commandPalette";
|
|
2140
2174
|
} | {
|
|
@@ -2206,7 +2240,6 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2206
2240
|
shown: true;
|
|
2207
2241
|
data: import("../charts").Spreadsheet;
|
|
2208
2242
|
};
|
|
2209
|
-
pendingImageElementId: string | null;
|
|
2210
2243
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2211
2244
|
selectedLinearElement: LinearElementEditor | null;
|
|
2212
2245
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2219,20 +2252,19 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2219
2252
|
followedBy: Set<import("../types").SocketId>;
|
|
2220
2253
|
isCropping: boolean;
|
|
2221
2254
|
croppingElementId: string | null;
|
|
2222
|
-
searchMatches:
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
}[];
|
|
2255
|
+
searchMatches: Readonly<{
|
|
2256
|
+
focusedId: string | null;
|
|
2257
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2258
|
+
}> | null;
|
|
2259
|
+
activeLockedId: string | null;
|
|
2260
|
+
lockedMultiSelections: {
|
|
2261
|
+
[groupId: string]: true;
|
|
2262
|
+
};
|
|
2263
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2232
2264
|
};
|
|
2233
2265
|
captureUpdate: "IMMEDIATELY";
|
|
2234
2266
|
};
|
|
2235
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2267
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2236
2268
|
} & {
|
|
2237
2269
|
keyTest?: undefined;
|
|
2238
2270
|
};
|
|
@@ -2254,7 +2286,7 @@ export declare const actionChangeRoundness: {
|
|
|
2254
2286
|
errorMessage: import("react").ReactNode;
|
|
2255
2287
|
activeEmbeddable: {
|
|
2256
2288
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2257
|
-
state: "
|
|
2289
|
+
state: "active" | "hover";
|
|
2258
2290
|
} | null;
|
|
2259
2291
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2260
2292
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2262,7 +2294,7 @@ export declare const actionChangeRoundness: {
|
|
|
2262
2294
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2263
2295
|
isBindingEnabled: boolean;
|
|
2264
2296
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2265
|
-
suggestedBindings: import("@excalidraw/element
|
|
2297
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2266
2298
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2267
2299
|
frameRendering: {
|
|
2268
2300
|
enabled: boolean;
|
|
@@ -2273,11 +2305,15 @@ export declare const actionChangeRoundness: {
|
|
|
2273
2305
|
editingFrame: string | null;
|
|
2274
2306
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2275
2307
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2276
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2277
2308
|
activeTool: {
|
|
2278
2309
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2279
2310
|
locked: boolean;
|
|
2311
|
+
fromSelection: boolean;
|
|
2280
2312
|
} & import("../types").ActiveTool;
|
|
2313
|
+
preferredSelectionTool: {
|
|
2314
|
+
type: "selection" | "lasso";
|
|
2315
|
+
initialized: boolean;
|
|
2316
|
+
};
|
|
2281
2317
|
penMode: boolean;
|
|
2282
2318
|
penDetected: boolean;
|
|
2283
2319
|
exportBackground: boolean;
|
|
@@ -2309,8 +2345,8 @@ export declare const actionChangeRoundness: {
|
|
|
2309
2345
|
zoom: Readonly<{
|
|
2310
2346
|
value: import("../types").NormalizedZoomValue;
|
|
2311
2347
|
}>;
|
|
2312
|
-
openMenu: "
|
|
2313
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2348
|
+
openMenu: "canvas" | null;
|
|
2349
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2314
2350
|
openSidebar: {
|
|
2315
2351
|
name: string;
|
|
2316
2352
|
tab?: string | undefined;
|
|
@@ -2319,7 +2355,7 @@ export declare const actionChangeRoundness: {
|
|
|
2319
2355
|
name: "imageExport" | "help" | "jsonExport";
|
|
2320
2356
|
} | {
|
|
2321
2357
|
name: "ttd";
|
|
2322
|
-
tab: "text-to-diagram"
|
|
2358
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2323
2359
|
} | {
|
|
2324
2360
|
name: "commandPalette";
|
|
2325
2361
|
} | {
|
|
@@ -2391,7 +2427,6 @@ export declare const actionChangeRoundness: {
|
|
|
2391
2427
|
shown: true;
|
|
2392
2428
|
data: import("../charts").Spreadsheet;
|
|
2393
2429
|
};
|
|
2394
|
-
pendingImageElementId: string | null;
|
|
2395
2430
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2396
2431
|
selectedLinearElement: LinearElementEditor | null;
|
|
2397
2432
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2404,20 +2439,19 @@ export declare const actionChangeRoundness: {
|
|
|
2404
2439
|
followedBy: Set<import("../types").SocketId>;
|
|
2405
2440
|
isCropping: boolean;
|
|
2406
2441
|
croppingElementId: string | null;
|
|
2407
|
-
searchMatches:
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
}[];
|
|
2442
|
+
searchMatches: Readonly<{
|
|
2443
|
+
focusedId: string | null;
|
|
2444
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2445
|
+
}> | null;
|
|
2446
|
+
activeLockedId: string | null;
|
|
2447
|
+
lockedMultiSelections: {
|
|
2448
|
+
[groupId: string]: true;
|
|
2449
|
+
};
|
|
2450
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2417
2451
|
};
|
|
2418
2452
|
captureUpdate: "IMMEDIATELY";
|
|
2419
2453
|
};
|
|
2420
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2454
|
+
PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2421
2455
|
} & {
|
|
2422
2456
|
keyTest?: undefined;
|
|
2423
2457
|
};
|
|
@@ -2441,7 +2475,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2441
2475
|
errorMessage: import("react").ReactNode;
|
|
2442
2476
|
activeEmbeddable: {
|
|
2443
2477
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2444
|
-
state: "
|
|
2478
|
+
state: "active" | "hover";
|
|
2445
2479
|
} | null;
|
|
2446
2480
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2447
2481
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2449,7 +2483,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2449
2483
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2450
2484
|
isBindingEnabled: boolean;
|
|
2451
2485
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2452
|
-
suggestedBindings: import("@excalidraw/element
|
|
2486
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2453
2487
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2454
2488
|
frameRendering: {
|
|
2455
2489
|
enabled: boolean;
|
|
@@ -2460,11 +2494,15 @@ export declare const actionChangeArrowhead: {
|
|
|
2460
2494
|
editingFrame: string | null;
|
|
2461
2495
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2462
2496
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2463
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2464
2497
|
activeTool: {
|
|
2465
2498
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2466
2499
|
locked: boolean;
|
|
2500
|
+
fromSelection: boolean;
|
|
2467
2501
|
} & import("../types").ActiveTool;
|
|
2502
|
+
preferredSelectionTool: {
|
|
2503
|
+
type: "selection" | "lasso";
|
|
2504
|
+
initialized: boolean;
|
|
2505
|
+
};
|
|
2468
2506
|
penMode: boolean;
|
|
2469
2507
|
penDetected: boolean;
|
|
2470
2508
|
exportBackground: boolean;
|
|
@@ -2497,8 +2535,8 @@ export declare const actionChangeArrowhead: {
|
|
|
2497
2535
|
zoom: Readonly<{
|
|
2498
2536
|
value: import("../types").NormalizedZoomValue;
|
|
2499
2537
|
}>;
|
|
2500
|
-
openMenu: "
|
|
2501
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2538
|
+
openMenu: "canvas" | null;
|
|
2539
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2502
2540
|
openSidebar: {
|
|
2503
2541
|
name: string;
|
|
2504
2542
|
tab?: string | undefined;
|
|
@@ -2507,7 +2545,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2507
2545
|
name: "imageExport" | "help" | "jsonExport";
|
|
2508
2546
|
} | {
|
|
2509
2547
|
name: "ttd";
|
|
2510
|
-
tab: "text-to-diagram"
|
|
2548
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2511
2549
|
} | {
|
|
2512
2550
|
name: "commandPalette";
|
|
2513
2551
|
} | {
|
|
@@ -2579,7 +2617,6 @@ export declare const actionChangeArrowhead: {
|
|
|
2579
2617
|
shown: true;
|
|
2580
2618
|
data: import("../charts").Spreadsheet;
|
|
2581
2619
|
};
|
|
2582
|
-
pendingImageElementId: string | null;
|
|
2583
2620
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2584
2621
|
selectedLinearElement: LinearElementEditor | null;
|
|
2585
2622
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2592,20 +2629,28 @@ export declare const actionChangeArrowhead: {
|
|
|
2592
2629
|
followedBy: Set<import("../types").SocketId>;
|
|
2593
2630
|
isCropping: boolean;
|
|
2594
2631
|
croppingElementId: string | null;
|
|
2595
|
-
searchMatches:
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
}[];
|
|
2632
|
+
searchMatches: Readonly<{
|
|
2633
|
+
focusedId: string | null;
|
|
2634
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2635
|
+
}> | null;
|
|
2636
|
+
activeLockedId: string | null;
|
|
2637
|
+
lockedMultiSelections: {
|
|
2638
|
+
[groupId: string]: true;
|
|
2639
|
+
};
|
|
2640
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2605
2641
|
};
|
|
2606
2642
|
captureUpdate: "IMMEDIATELY";
|
|
2607
2643
|
};
|
|
2608
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2644
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2645
|
+
} & {
|
|
2646
|
+
keyTest?: undefined;
|
|
2647
|
+
};
|
|
2648
|
+
export declare const actionChangeArrowProperties: {
|
|
2649
|
+
name: "changeArrowProperties";
|
|
2650
|
+
label: string;
|
|
2651
|
+
trackEvent: false;
|
|
2652
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => false;
|
|
2653
|
+
PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2609
2654
|
} & {
|
|
2610
2655
|
keyTest?: undefined;
|
|
2611
2656
|
};
|
|
@@ -2627,7 +2672,7 @@ export declare const actionChangeArrowType: {
|
|
|
2627
2672
|
errorMessage: import("react").ReactNode;
|
|
2628
2673
|
activeEmbeddable: {
|
|
2629
2674
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2630
|
-
state: "
|
|
2675
|
+
state: "active" | "hover";
|
|
2631
2676
|
} | null;
|
|
2632
2677
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2633
2678
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2635,7 +2680,7 @@ export declare const actionChangeArrowType: {
|
|
|
2635
2680
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2636
2681
|
isBindingEnabled: boolean;
|
|
2637
2682
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2638
|
-
suggestedBindings: import("@excalidraw/element
|
|
2683
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2639
2684
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2640
2685
|
frameRendering: {
|
|
2641
2686
|
enabled: boolean;
|
|
@@ -2646,11 +2691,15 @@ export declare const actionChangeArrowType: {
|
|
|
2646
2691
|
editingFrame: string | null;
|
|
2647
2692
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2648
2693
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2649
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2650
2694
|
activeTool: {
|
|
2651
2695
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2652
2696
|
locked: boolean;
|
|
2697
|
+
fromSelection: boolean;
|
|
2653
2698
|
} & import("../types").ActiveTool;
|
|
2699
|
+
preferredSelectionTool: {
|
|
2700
|
+
type: "selection" | "lasso";
|
|
2701
|
+
initialized: boolean;
|
|
2702
|
+
};
|
|
2654
2703
|
penMode: boolean;
|
|
2655
2704
|
penDetected: boolean;
|
|
2656
2705
|
exportBackground: boolean;
|
|
@@ -2682,8 +2731,8 @@ export declare const actionChangeArrowType: {
|
|
|
2682
2731
|
zoom: Readonly<{
|
|
2683
2732
|
value: import("../types").NormalizedZoomValue;
|
|
2684
2733
|
}>;
|
|
2685
|
-
openMenu: "
|
|
2686
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2734
|
+
openMenu: "canvas" | null;
|
|
2735
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2687
2736
|
openSidebar: {
|
|
2688
2737
|
name: string;
|
|
2689
2738
|
tab?: string | undefined;
|
|
@@ -2692,7 +2741,7 @@ export declare const actionChangeArrowType: {
|
|
|
2692
2741
|
name: "imageExport" | "help" | "jsonExport";
|
|
2693
2742
|
} | {
|
|
2694
2743
|
name: "ttd";
|
|
2695
|
-
tab: "text-to-diagram"
|
|
2744
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2696
2745
|
} | {
|
|
2697
2746
|
name: "commandPalette";
|
|
2698
2747
|
} | {
|
|
@@ -2764,7 +2813,6 @@ export declare const actionChangeArrowType: {
|
|
|
2764
2813
|
shown: true;
|
|
2765
2814
|
data: import("../charts").Spreadsheet;
|
|
2766
2815
|
};
|
|
2767
|
-
pendingImageElementId: string | null;
|
|
2768
2816
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2769
2817
|
selectedLinearElement: LinearElementEditor | null;
|
|
2770
2818
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -2777,20 +2825,19 @@ export declare const actionChangeArrowType: {
|
|
|
2777
2825
|
followedBy: Set<import("../types").SocketId>;
|
|
2778
2826
|
isCropping: boolean;
|
|
2779
2827
|
croppingElementId: string | null;
|
|
2780
|
-
searchMatches:
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
}[];
|
|
2828
|
+
searchMatches: Readonly<{
|
|
2829
|
+
focusedId: string | null;
|
|
2830
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2831
|
+
}> | null;
|
|
2832
|
+
activeLockedId: string | null;
|
|
2833
|
+
lockedMultiSelections: {
|
|
2834
|
+
[groupId: string]: true;
|
|
2835
|
+
};
|
|
2836
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2790
2837
|
};
|
|
2791
2838
|
captureUpdate: "IMMEDIATELY";
|
|
2792
2839
|
};
|
|
2793
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2840
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2794
2841
|
} & {
|
|
2795
2842
|
keyTest?: undefined;
|
|
2796
2843
|
};
|