@dwelle/excalidraw 0.12.0-fork4 → 0.12.0-fork9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -14
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js +2 -0
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js.LICENSE.txt +12 -0
- package/dist/excalidraw-assets-dev/vendor-c0592035c3911af79359.js +98 -0
- package/dist/excalidraw.development.js +1254 -1254
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +9 -0
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +311 -311
- package/types/actions/actionAlign.d.ts +91 -91
- package/types/actions/actionBoundText.d.ts +128 -128
- package/types/actions/actionCanvas.d.ts +901 -901
- package/types/actions/actionClipboard.d.ts +589 -589
- package/types/actions/actionDeleteSelected.d.ts +339 -339
- package/types/actions/actionDistribute.d.ts +33 -33
- package/types/actions/actionDuplicateSelection.d.ts +22 -22
- package/types/actions/actionExport.d.ts +1000 -1000
- package/types/actions/actionFinalize.d.ts +216 -216
- package/types/actions/actionFlip.d.ts +35 -35
- package/types/actions/actionGroup.d.ts +45 -45
- package/types/actions/actionHistory.d.ts +6 -6
- package/types/actions/actionMenu.d.ts +349 -349
- package/types/actions/actionNavigate.d.ts +13 -13
- package/types/actions/actionProperties.d.ts +1454 -1454
- package/types/actions/actionSelectAll.d.ts +16 -16
- package/types/actions/actionStyles.d.ts +129 -129
- package/types/actions/actionToggleGridMode.d.ts +116 -116
- package/types/actions/actionToggleLock.d.ts +115 -115
- package/types/actions/actionToggleStats.d.ts +114 -114
- package/types/actions/actionToggleViewMode.d.ts +115 -115
- package/types/actions/actionToggleZenMode.d.ts +115 -115
- package/types/actions/actionZindex.d.ts +67 -67
- package/types/actions/index.d.ts +23 -23
- package/types/actions/manager.d.ts +20 -20
- package/types/actions/register.d.ts +5 -5
- package/types/actions/shortcuts.d.ts +3 -3
- package/types/actions/types.d.ts +40 -40
- package/types/align.d.ts +6 -6
- package/types/analytics.d.ts +1 -1
- package/types/appState.d.ts +76 -76
- package/types/charts.d.ts +27 -27
- package/types/clients.d.ts +6 -6
- package/types/clipboard.d.ts +20 -20
- package/types/colors.d.ts +6 -6
- package/types/components/Actions.d.ts +23 -23
- package/types/components/ActiveFile.d.ts +7 -7
- package/types/components/App.d.ts +210 -210
- package/types/components/Avatar.d.ts +11 -11
- package/types/components/BackgroundPickerAndDarkModeToggle.d.ts +9 -9
- package/types/components/ButtonIconSelect.d.ts +11 -11
- package/types/components/Card.d.ts +7 -7
- package/types/components/CheckboxItem.d.ts +8 -8
- package/types/components/ClearCanvas.d.ts +4 -4
- package/types/components/CollabButton.d.ts +7 -7
- package/types/components/ColorPicker.d.ts +14 -14
- package/types/components/ConfirmDialog.d.ts +10 -10
- package/types/components/ContextMenu.d.ts +28 -28
- package/types/components/DarkModeToggle.d.ts +7 -7
- package/types/components/Dialog.d.ts +14 -14
- package/types/components/ErrorDialog.d.ts +4 -4
- package/types/components/FixedSideContainer.d.ts +9 -9
- package/types/components/HelpDialog.d.ts +4 -4
- package/types/components/HelpIcon.d.ts +8 -8
- package/types/components/HintViewer.d.ts +10 -10
- package/types/components/IconPicker.d.ts +13 -13
- package/types/components/ImageExportDialog.d.ts +16 -16
- package/types/components/InitializeApp.d.ts +8 -8
- package/types/components/Island.d.ts +10 -10
- package/types/components/JSONExportDialog.d.ts +13 -13
- package/types/components/LayerUI.d.ts +37 -37
- package/types/components/LibraryButton.d.ts +7 -7
- package/types/components/LibraryMenu.d.ts +17 -17
- package/types/components/LibraryMenuItems.d.ts +24 -24
- package/types/components/LibraryUnit.d.ts +12 -12
- package/types/components/LoadingMessage.d.ts +4 -4
- package/types/components/LockButton.d.ts +11 -11
- package/types/components/MobileMenu.d.ts +27 -27
- package/types/components/Modal.d.ts +12 -12
- package/types/components/PasteChartDialog.d.ts +9 -9
- package/types/components/PenModeButton.d.ts +12 -12
- package/types/components/Popover.d.ts +15 -15
- package/types/components/ProjectName.d.ts +10 -10
- package/types/components/PublishLibrary.d.ts +16 -16
- package/types/components/Section.d.ts +6 -6
- package/types/components/SidebarLockButton.d.ts +8 -8
- package/types/components/SingleLibraryItem.d.ts +10 -10
- package/types/components/Spinner.d.ts +6 -6
- package/types/components/Stack.d.ts +15 -15
- package/types/components/Stats.d.ts +11 -11
- package/types/components/Toast.d.ts +7 -7
- package/types/components/ToolButton.d.ts +46 -46
- package/types/components/Tooltip.d.ts +17 -17
- package/types/components/UserList.d.ts +10 -10
- package/types/components/icons.d.ts +179 -179
- package/types/constants.d.ts +145 -145
- package/types/data/blob.d.ts +47 -47
- package/types/data/encode.d.ts +53 -53
- package/types/data/encryption.d.ts +9 -9
- package/types/data/filesystem.d.ts +18 -18
- package/types/data/image.d.ts +15 -15
- package/types/data/index.d.ts +13 -13
- package/types/data/json.d.ts +16 -16
- package/types/data/library.d.ts +96 -96
- package/types/data/resave.d.ts +5 -5
- package/types/data/restore.d.ts +15 -15
- package/types/data/types.d.ts +32 -32
- package/types/distribute.d.ts +6 -6
- package/types/element/Hyperlink.d.ts +136 -136
- package/types/element/binding.d.ts +33 -33
- package/types/element/bounds.d.ts +27 -27
- package/types/element/collision.d.ts +21 -21
- package/types/element/dragElements.d.ts +5 -5
- package/types/element/image.d.ts +22 -22
- package/types/element/index.d.ts +20 -20
- package/types/element/linearElementEditor.d.ts +203 -203
- package/types/element/mutateElement.d.ts +11 -11
- package/types/element/newElement.d.ts +50 -50
- package/types/element/resizeElements.d.ts +9 -9
- package/types/element/resizeTest.d.ts +13 -13
- package/types/element/showSelectedShapeActions.d.ts +3 -3
- package/types/element/sizeHelpers.d.ts +21 -21
- package/types/element/textElement.d.ts +26 -26
- package/types/element/textWysiwyg.d.ts +16 -16
- package/types/element/transformHandles.d.ts +28 -28
- package/types/element/typeChecks.d.ts +17 -17
- package/types/element/types.d.ts +133 -133
- package/types/errors.d.ts +8 -8
- package/types/ga.d.ts +63 -63
- package/types/gadirections.d.ts +8 -8
- package/types/galines.d.ts +22 -22
- package/types/gapoints.d.ts +7 -7
- package/types/gatransforms.d.ts +10 -10
- package/types/gesture.d.ts +6 -6
- package/types/groups.d.ts +27 -27
- package/types/history.d.ts +52 -52
- package/types/hooks/useCallbackRefState.d.ts +1 -1
- package/types/i18n.d.ts +15 -15
- package/types/jotai.d.ts +122 -122
- package/types/keys.d.ts +68 -68
- package/types/math.d.ts +20 -20
- package/types/packages/excalidraw/dist/{excalidraw-assets-dev/image-469d5bd946743969995a.d.ts → excalidraw-assets/vendor-52b1f3361986b6c6a4fe.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ar-SA-json-c8fa653de4977a22dad1.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/bg-BG-json-d7e517c7462119871c76.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/bn-BD-json-02993b6dba9e7f115b53.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ca-ES-json-7aabb5b31e7a995a90e3.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/cs-CZ-json-a9cc158d187424de71d7.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/da-DK-json-81b641c9b272e91762b8.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/de-DE-json-e9f68b4434bb76d28151.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/el-GR-json-2bc44d5450554154e110.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/es-ES-json-9e5e962b234d2fa5aac2.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/eu-ES-json-05199638b0e1e11061f3.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/fa-IR-json-2a69e87cf2308b8e78f5.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/fi-FI-json-6f0f0bcd3593bcc8930a.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/fr-FR-json-f53c7082a6f8691b7258.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/gl-ES-json-5295fdf24f032f998f75.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/he-IL-json-19fae6e424c8b418735d.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/hi-IN-json-f04242b20685f34378a5.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/hu-HU-json-c8014a1b2a44d4885691.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/id-ID-json-bcd3ce43f1dbefe3f4d0.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/it-IT-json-946dc662ecab93b77e69.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ja-JP-json-77b3461742458e757b59.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/kab-KAB-json-5e733b113476a350e900.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/kk-KZ-json-5ec5044574589896438e.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ko-KR-json-09de6762eea271167b56.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/lt-LT-json-a17971ff33b8929e96d3.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/lv-LV-json-2d1a7d044c33d030ecca.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/mr-IN-json-ed8cde2f50a5f3c08e85.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/my-MM-json-600fc533d1a1c8d3e2f9.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/nb-NO-json-c7c63cfd529a92ac3510.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/nl-NL-json-7e7200dded88b465781e.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/nn-NO-json-d654941277fcbace33bf.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/oc-FR-json-2d347b7f54a867a5478f.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pa-IN-json-63518bb328bf8b92790c.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pl-PL-json-92de366ba93223fa3d6a.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pt-BR-json-5e4c8cd83b785ed859c2.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pt-PT-json-a7f89a1c6f1c380141e5.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ro-RO-json-6903d070f824f8b91709.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ru-RU-json-110d8aec7823819bf4e3.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/si-LK-json-ad2dff740d16a23684ff.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/sk-SK-json-209333495d21be527f89.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/sl-SI-json-76bdeb34579c5b1f944f.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/sv-SE-json-6e768d07fff4e3ed6560.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ta-IN-json-059a459deba6d6230393.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/tr-TR-json-7cc28f1f798ef2dd9864.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/uk-UA-json-80b2990c3144c6bb1270.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/vi-VN-json-670ecb0ad40c0453bdfd.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-CN-json-26caa1a6379860230513.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-HK-json-179f6dc61b14b96215fa.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-TW-json-2aeeb73d79793ee69bfc.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/{image-028ba554a42cc8a4995a.d.ts → vendor-c0592035c3911af79359.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw.development.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw.production.min.d.ts +1 -5
- package/types/packages/excalidraw/entry.d.ts +1 -1
- package/types/packages/excalidraw/env.d.ts +1 -1
- package/types/packages/excalidraw/example/App.d.ts +7 -7
- package/types/packages/excalidraw/example/index.d.ts +1 -1
- package/types/packages/excalidraw/example/initialData.d.ts +172 -172
- package/types/packages/excalidraw/example/sidebar/Sidebar.d.ts +5 -5
- package/types/packages/excalidraw/index.d.ts +15 -15
- package/types/packages/excalidraw/main.d.ts +2 -2
- package/types/packages/excalidraw/publicPath.d.ts +1 -1
- package/types/packages/excalidraw/webpack.dev-server.config.d.ts +19 -19
- package/types/packages/excalidraw/webpack.dev.config.d.ts +79 -79
- package/types/packages/excalidraw/webpack.prod.config.d.ts +92 -92
- package/types/packages/utils.d.ts +32 -32
- package/types/points.d.ts +6 -6
- package/types/random.d.ts +3 -3
- package/types/renderer/renderElement.d.ts +34 -34
- package/types/renderer/renderScene.d.ts +25 -25
- package/types/renderer/roundRect.d.ts +11 -11
- package/types/scene/Scene.d.ts +25 -25
- package/types/scene/comparisons.d.ts +11 -11
- package/types/scene/export.d.ts +20 -20
- package/types/scene/index.d.ts +5 -5
- package/types/scene/scroll.d.ts +17 -17
- package/types/scene/scrollbars.d.ts +16 -16
- package/types/scene/selection.d.ts +11 -11
- package/types/scene/types.d.ts +58 -58
- package/types/scene/zoom.d.ts +13 -13
- package/types/shapes.d.ts +38 -38
- package/types/types.d.ts +380 -380
- package/types/utils.d.ts +136 -136
- package/types/zindex.d.ts +6 -6
- package/dist/excalidraw-assets/vendor-b9b3a25c026c138e55b2.js +0 -2
- package/dist/excalidraw-assets/vendor-b9b3a25c026c138e55b2.js.LICENSE.txt +0 -6
- package/dist/excalidraw-assets-dev/vendor-33bd21df77fc9cda16d2.js +0 -98
- package/types/actions/actionUnbindText.d.ts +0 -11
- package/types/disitrubte.d.ts +0 -6
- package/types/emitter.d.ts +0 -21
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ar-SA-json-9a3fdf94110439c2826a.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ar-SA-json-efd63375f9605b72c4af.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-bg-BG-json-047db6df7a74c0298938.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-bg-BG-json-35c0e8b92b0dba8a4e6d.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ca-ES-json-6acefe26cfe1d2f12349.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ca-ES-json-9924fbd53652d5f15134.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-cs-CZ-json-85a469d813bb069829e7.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-de-DE-json-a52c17c4bd1b1db22464.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-de-DE-json-f85a8a52534c04c3f3b8.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-el-GR-json-060595a09e0004e33936.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-el-GR-json-3b209ec86ca2ce69bdfa.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-es-ES-json-32dc3bf0f789ef18e65d.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-es-ES-json-af5c541f9ac1526a9eb7.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-fa-IR-json-7ee232d4ef08da0903f6.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-fa-IR-json-c732ff7772327332c259.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-fi-FI-json-46abeda8d809d4091924.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-fi-FI-json-c1d5c5510660a11a428e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-fr-FR-json-6a418571305eecefe9bc.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-fr-FR-json-79fa555bfea0a356f393.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-he-IL-json-157ae036fcf470528687.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-he-IL-json-d006423b531ab062bb85.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-hi-IN-json-3035c3b3ab3ce981dbc7.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-hi-IN-json-d959b869453c591a8861.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-hu-HU-json-50a13e322a60bb701615.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-hu-HU-json-a366989217753fe3d02b.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-id-ID-json-87212daac6113b5bf808.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-id-ID-json-8d13d29ee41be15a1f99.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-it-IT-json-59f2e9d3dac07f3264cb.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-it-IT-json-90283cd2809f4165506b.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ja-JP-json-9e0a78ddb43d5709fb29.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ja-JP-json-ccb5ffd0f8a0980c2ec0.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-kab-KAB-json-d9acc7b8ee952e356d06.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-kab-KAB-json-dac787e0446cdb747fe1.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ko-KR-json-d61af373bea59d1ff4c6.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ko-KR-json-e42ededaa35032a201b9.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-lv-LV-json-07f6bffcb44fdd9aad4f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-lv-LV-json-7eea5c4054f8418fdd10.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-my-MM-json-26d1e27bab3b8ac4a3e6.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-my-MM-json-a8f9bb37a7b947e9dfba.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-nb-NO-json-8ce0749d46f0b4a8defb.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-nb-NO-json-c01fab8602e1b658d5d1.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-nl-NL-json-23fdfd9f11bc8efbaf56.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-nl-NL-json-cf922daa828029c1aff5.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-nn-NO-json-b5931de6e1ed336bf087.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-nn-NO-json-d363be6b3dcdbf3a868a.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-oc-FR-json-29d6193adb907d4f5890.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-oc-FR-json-c6414107ad634b113aba.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-pa-IN-json-27063e4865142ac11b1a.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-pa-IN-json-f0c779291da384fb5173.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-pl-PL-json-16af1b83ac16af57ad07.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-pl-PL-json-a4a5c6e0a9877c43476a.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-pt-BR-json-03a046855063512eb9ff.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-pt-BR-json-db86828d6e3ced9f9854.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-pt-PT-json-7ed352e9de6dc74ef503.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-pt-PT-json-bc0cd589bd87a3079407.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ro-RO-json-75692b7a0166d6ad27a4.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ro-RO-json-f13a2e7b7a63fbfb6ae7.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ru-RU-json-69b1a919b7f42adfd6ec.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-ru-RU-json-7c2a2061d0ca99cf7007.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-sk-SK-json-0ef09f90308059d22ae8.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-sk-SK-json-4757551ceb15fa0a29a9.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-sv-SE-json-dc7718d79b9bf93a4ba4.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-sv-SE-json-fa5bd09f128972b13ac2.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-tr-TR-json-b574833ee1c2f58fd24e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-tr-TR-json-cba7e62d9610795a5ac3.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-uk-UA-json-a9a8ea7adb95c0a03680.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-uk-UA-json-f0cab296bdc4089ffa77.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-zh-CN-json-45da9983459601b845e8.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-zh-CN-json-94f562845a945a45e385.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-zh-TW-json-0e77c896018bcd221bf6.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/i18n-zh-TW-json-7dd3d9ba72493687c286.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-02a1f3ecd6baf42daaa6.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-0db17e06143a31f9772b.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-2be1c869cd5bacebdc3c.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-46f5e8e621bfedbf6d91.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-6f8d3b9873832b5f7a67.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-8e0c265e832504f62477.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-9592159c56d563857679.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-98a7b39bd21998c69c4b.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-a26261fb8a718f15853e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-a97adda58b4c4d8d0107.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-af02967a8a4c328f2713.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-bd5991c772b4867c8d27.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-c198828284ec0dba28dc.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-eac20119cbc2ceb81523.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/image-eafab0c39ce13f7fea67.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ar-SA-json-3f3939003e50137eb96e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/bg-BG-json-41978e51de89ecb69832.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/bn-BD-json-270049304edfc328feb0.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ca-ES-json-2e2ec4a6db0dadecd932.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/cs-CZ-json-294f73284f7603f8b308.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/da-DK-json-7cec75a31335c8eaab69.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/de-DE-json-b972f335652b31abc478.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/el-GR-json-0a17ab9d0298049bcf5f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/es-ES-json-2a821ff3ff417c43b325.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/eu-ES-json-807880ff10379aea34f5.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/fa-IR-json-30ce6b716d375cd90b9b.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/fi-FI-json-d71c23aabcb9ca7449d9.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/fr-FR-json-d53486b6942cd134938f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/gl-ES-json-24b9a50f57184ae44f99.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/he-IL-json-f91ace474afb01d8f3ed.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/hi-IN-json-9af974be0987a846db82.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/hu-HU-json-dd5d9a15eb412598f794.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/id-ID-json-acdf1f60176cd026af64.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/it-IT-json-790983f96414735e8451.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ja-JP-json-b57e6afb227d9247b3c8.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/kab-KAB-json-b3aced3d4ddccfb4127d.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/kk-KZ-json-6f477840db7f293c3ff3.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ko-KR-json-d2e67336d6b43a42ff1e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/lt-LT-json-1a57a9a7596eb235b3e5.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/lv-LV-json-40863b1530d2015aa72e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/mr-IN-json-3295641c432b154ab60f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/my-MM-json-dc1320c2d6c1adca77d0.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/nb-NO-json-f073266126f35722bd87.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/nl-NL-json-5d4a291a77a27fadddc1.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/nn-NO-json-9fe14d0a715c691bb9aa.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/oc-FR-json-b7a10ed3433fcb6dd59a.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/pa-IN-json-e11565cbf1ccc3a53a3b.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/pl-PL-json-843eb6fd0616dace3255.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/pt-BR-json-e24132703235bd25ba2f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/pt-PT-json-0501abbca76504a7d110.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ro-RO-json-79dbe0225dfe06a010a6.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ru-RU-json-1d73c3f8bae6d1f3d779.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/si-LK-json-dfe5be591dc8bbe15cd1.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/sk-SK-json-bd7dbe4c1e42c016fcb5.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/sl-SI-json-85c2d64d8aa86fcd537e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/sv-SE-json-74107fd3674c60fbe593.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ta-IN-json-c5b41d8c83aab479a2c6.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/tr-TR-json-75f46a2579a01cf32ba7.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/uk-UA-json-f5b7b281f867489710d7.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/vi-VN-json-a56a1980b98f933cd604.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-CN-json-af7e4dc6eb1d97a22272.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-HK-json-d0511bd8842fe92cc42e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-TW-json-43bef01a6edb6e4da73c.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-0e2ecbd1f46fc190ec01.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-1018b0a7e7e60d808384.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-405364e1fdefedf5d3d7.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-448ccb79e58765b61834.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-585a4c89d479fd91edeb.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-64ea3ed78bc76a895e61.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-6644c8f79d52085cf653.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-807e23d7531555236936.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-8698157b56eb5e0ee549.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-aed19b6e017f9f736254.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-b088910ac1ba8853a571.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-b9b3a25c026c138e55b2.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-cb708a4580b007d81177.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-ce466849186c701b6c48.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-e5c6cd57013e8e575a61.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-664005f0b02c93342b89.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-73be8b3c1837ea26950c.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-821afe7d20de2d2ca898.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-8825d180ee32659f8996.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-89cddf27ef982ca154dc.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-9f771c114a0a3ad7b334.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-a98d24ea9aa42940a0df.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-b2befe1e2a0424a41fb3.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-cacb3d0c02eb2e346ecc.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-d7e941a51c2e0a7b3c23.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-e50a452aa26d28419e39.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-eddc6ed66acd3a3f3d46.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-f696fa36e3535df5e97a.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ar-SA-json-684b5e25f971902bd933.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/bg-BG-json-d78c84e8962f5d754019.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/bn-BD-json-79007d6cd3d09b6c1e82.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ca-ES-json-84b33ecd3096b99533c1.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/cs-CZ-json-1d48380fd54bd715a21c.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/da-DK-json-9dc062ac2b2aee3ad4ec.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/de-DE-json-2d48c0ec0901cee81272.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/el-GR-json-8ec22bd0cbf376e3ba5d.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/es-ES-json-5dd577ba17baf0f4382c.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/eu-ES-json-9ba2e12372db6b5be813.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/fa-IR-json-9866fde07b07d55f2cb9.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/fi-FI-json-2dcf087c4ff34b8a8ad7.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/fr-FR-json-e4bbc872fed09a689b27.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/gl-ES-json-4ab7103bd7905741cf7e.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/he-IL-json-abac6b158c54984aecba.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/hi-IN-json-3aba9d37f6dae9ca2445.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/hu-HU-json-8d604fcc349f93bc4440.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/id-ID-json-6d9b771568900ad6f055.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/it-IT-json-7086cd6c6f1f61016ba1.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ja-JP-json-d864fb849b2a3874b290.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/kab-KAB-json-c69f8a1079a411de837c.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/kk-KZ-json-8c7f34edcdac22c11c72.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ko-KR-json-c80065dfa01e02f28695.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/lt-LT-json-edaae0abc84fb205ee70.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/lv-LV-json-21cc252dcf4524c98e55.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/mr-IN-json-d28b9664c21ee08d79eb.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/my-MM-json-56d51a30e815283e7260.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/nb-NO-json-827603cac737fb4bb00f.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/nl-NL-json-9c5c4b7bfbfe3328e561.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/nn-NO-json-cb21e50c1afeb6a8f01d.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/oc-FR-json-bec2ee705e7d3980fd61.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pa-IN-json-189c7e5cad9e781f0ce5.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pl-PL-json-9cc770276a511a05e638.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pt-BR-json-788b2c323ae4afd36853.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pt-PT-json-4f16b87e256eb838c91a.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ro-RO-json-9ac079b4af3b20377160.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ru-RU-json-eda247a0b10c11a51eec.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/si-LK-json-ee3083905b0cf879022d.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/sk-SK-json-03a80aeb3e09f77b1be6.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/sl-SI-json-55f372eebf814a422031.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/sv-SE-json-ca85dde4f9c34d5ee346.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ta-IN-json-f9d1822384bc4ce086b6.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/tr-TR-json-30a4d84bda3152292dbe.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/uk-UA-json-b271ae2bf2e210aa582b.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/vi-VN-json-9a1f8e4ce0b77e05baa7.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-CN-json-29856d6541bf2cbd6aea.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-HK-json-8bb0f0928ccbce98f995.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-TW-json-517b39d1a3184844b4d7.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-0454f90696ac835aeb45.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-1bc8ceaafd8623c96dd4.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-26ccabf52930f0ce0ffd.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-33bd21df77fc9cda16d2.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-4534d6e506404cef7a9e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-5d1c4700bd0fa2109ab5.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-7664c12c379862ed98a5.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-7fcb99cece261da4983f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-86b56a69e7dddcf8f70d.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-a449655791956f151f51.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-bb07a412033591d5470d.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-ec7db14ff9ba640888c4.d.ts +0 -0
- package/types/renderer/index.d.ts +0 -1
|
@@ -1,1454 +1,1454 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AppState } from "../../src/types";
|
|
3
|
-
import { Arrowhead, ExcalidrawElement, ExcalidrawLinearElement, TextAlign } from "../element/types";
|
|
4
|
-
export declare const actionChangeStrokeColor: {
|
|
5
|
-
name: "changeStrokeColor";
|
|
6
|
-
trackEvent: false;
|
|
7
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
8
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
9
|
-
} & {
|
|
10
|
-
keyTest?: undefined;
|
|
11
|
-
};
|
|
12
|
-
export declare const actionChangeBackgroundColor: {
|
|
13
|
-
name: "changeBackgroundColor";
|
|
14
|
-
trackEvent: false;
|
|
15
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
16
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
17
|
-
} & {
|
|
18
|
-
keyTest?: undefined;
|
|
19
|
-
};
|
|
20
|
-
export declare const actionChangeFillStyle: {
|
|
21
|
-
name: "changeFillStyle";
|
|
22
|
-
trackEvent: false;
|
|
23
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
24
|
-
elements: ExcalidrawElement[];
|
|
25
|
-
appState: {
|
|
26
|
-
currentItemFillStyle: any;
|
|
27
|
-
isLoading: boolean;
|
|
28
|
-
errorMessage: string | null;
|
|
29
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
30
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
31
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
32
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
33
|
-
isBindingEnabled: boolean;
|
|
34
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
35
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
36
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
37
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
38
|
-
activeTool: {
|
|
39
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
40
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
41
|
-
locked: boolean;
|
|
42
|
-
customType: null;
|
|
43
|
-
} | {
|
|
44
|
-
type: "custom";
|
|
45
|
-
customType: string;
|
|
46
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
47
|
-
locked: boolean;
|
|
48
|
-
};
|
|
49
|
-
penMode: boolean;
|
|
50
|
-
penDetected: boolean;
|
|
51
|
-
exportBackground: boolean;
|
|
52
|
-
exportEmbedScene: boolean;
|
|
53
|
-
exportWithDarkMode: boolean;
|
|
54
|
-
exportScale: number;
|
|
55
|
-
currentItemStrokeColor: string;
|
|
56
|
-
currentItemBackgroundColor: string;
|
|
57
|
-
currentItemStrokeWidth: number;
|
|
58
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
59
|
-
currentItemRoughness: number;
|
|
60
|
-
currentItemOpacity: number;
|
|
61
|
-
currentItemFontFamily: number;
|
|
62
|
-
currentItemFontSize: number;
|
|
63
|
-
currentItemTextAlign: TextAlign;
|
|
64
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
65
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
66
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
67
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
68
|
-
viewBackgroundColor: string;
|
|
69
|
-
scrollX: number;
|
|
70
|
-
scrollY: number;
|
|
71
|
-
cursorButton: "up" | "down";
|
|
72
|
-
scrolledOutside: boolean;
|
|
73
|
-
name: string;
|
|
74
|
-
isResizing: boolean;
|
|
75
|
-
isRotating: boolean;
|
|
76
|
-
zoom: Readonly<{
|
|
77
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
78
|
-
}>;
|
|
79
|
-
openMenu: "canvas" | "shape" | null;
|
|
80
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
81
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
82
|
-
selectedElementIds: {
|
|
83
|
-
[id: string]: boolean;
|
|
84
|
-
};
|
|
85
|
-
previousSelectedElementIds: {
|
|
86
|
-
[id: string]: boolean;
|
|
87
|
-
};
|
|
88
|
-
shouldCacheIgnoreZoom: boolean;
|
|
89
|
-
showHelpDialog: boolean;
|
|
90
|
-
toast: {
|
|
91
|
-
message: string;
|
|
92
|
-
closable?: boolean | undefined;
|
|
93
|
-
duration?: number | undefined;
|
|
94
|
-
} | null;
|
|
95
|
-
zenModeEnabled: boolean;
|
|
96
|
-
theme: string;
|
|
97
|
-
gridSize: number | null;
|
|
98
|
-
viewModeEnabled: boolean;
|
|
99
|
-
selectedGroupIds: {
|
|
100
|
-
[groupId: string]: boolean;
|
|
101
|
-
};
|
|
102
|
-
editingGroupId: string | null;
|
|
103
|
-
width: number;
|
|
104
|
-
height: number;
|
|
105
|
-
offsetTop: number;
|
|
106
|
-
offsetLeft: number;
|
|
107
|
-
isLibraryOpen: boolean;
|
|
108
|
-
isLibraryMenuDocked: boolean;
|
|
109
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
110
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
111
|
-
showStats: boolean;
|
|
112
|
-
currentChartType: import("../element/types").ChartType;
|
|
113
|
-
pasteDialog: {
|
|
114
|
-
shown: false;
|
|
115
|
-
data: null;
|
|
116
|
-
} | {
|
|
117
|
-
shown: true;
|
|
118
|
-
data: import("../charts").Spreadsheet;
|
|
119
|
-
};
|
|
120
|
-
pendingImageElementId: string | null;
|
|
121
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
122
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
123
|
-
};
|
|
124
|
-
commitToHistory: true;
|
|
125
|
-
};
|
|
126
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
127
|
-
} & {
|
|
128
|
-
keyTest?: undefined;
|
|
129
|
-
};
|
|
130
|
-
export declare const actionChangeStrokeWidth: {
|
|
131
|
-
name: "changeStrokeWidth";
|
|
132
|
-
trackEvent: false;
|
|
133
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
134
|
-
elements: ExcalidrawElement[];
|
|
135
|
-
appState: {
|
|
136
|
-
currentItemStrokeWidth: any;
|
|
137
|
-
isLoading: boolean;
|
|
138
|
-
errorMessage: string | null;
|
|
139
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
140
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
141
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
142
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
143
|
-
isBindingEnabled: boolean;
|
|
144
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
145
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
146
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
147
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
148
|
-
activeTool: {
|
|
149
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
150
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
151
|
-
locked: boolean;
|
|
152
|
-
customType: null;
|
|
153
|
-
} | {
|
|
154
|
-
type: "custom";
|
|
155
|
-
customType: string;
|
|
156
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
157
|
-
locked: boolean;
|
|
158
|
-
};
|
|
159
|
-
penMode: boolean;
|
|
160
|
-
penDetected: boolean;
|
|
161
|
-
exportBackground: boolean;
|
|
162
|
-
exportEmbedScene: boolean;
|
|
163
|
-
exportWithDarkMode: boolean;
|
|
164
|
-
exportScale: number;
|
|
165
|
-
currentItemStrokeColor: string;
|
|
166
|
-
currentItemBackgroundColor: string;
|
|
167
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
168
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
169
|
-
currentItemRoughness: number;
|
|
170
|
-
currentItemOpacity: number;
|
|
171
|
-
currentItemFontFamily: number;
|
|
172
|
-
currentItemFontSize: number;
|
|
173
|
-
currentItemTextAlign: TextAlign;
|
|
174
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
175
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
176
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
177
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
178
|
-
viewBackgroundColor: string;
|
|
179
|
-
scrollX: number;
|
|
180
|
-
scrollY: number;
|
|
181
|
-
cursorButton: "up" | "down";
|
|
182
|
-
scrolledOutside: boolean;
|
|
183
|
-
name: string;
|
|
184
|
-
isResizing: boolean;
|
|
185
|
-
isRotating: boolean;
|
|
186
|
-
zoom: Readonly<{
|
|
187
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
188
|
-
}>;
|
|
189
|
-
openMenu: "canvas" | "shape" | null;
|
|
190
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
191
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
192
|
-
selectedElementIds: {
|
|
193
|
-
[id: string]: boolean;
|
|
194
|
-
};
|
|
195
|
-
previousSelectedElementIds: {
|
|
196
|
-
[id: string]: boolean;
|
|
197
|
-
};
|
|
198
|
-
shouldCacheIgnoreZoom: boolean;
|
|
199
|
-
showHelpDialog: boolean;
|
|
200
|
-
toast: {
|
|
201
|
-
message: string;
|
|
202
|
-
closable?: boolean | undefined;
|
|
203
|
-
duration?: number | undefined;
|
|
204
|
-
} | null;
|
|
205
|
-
zenModeEnabled: boolean;
|
|
206
|
-
theme: string;
|
|
207
|
-
gridSize: number | null;
|
|
208
|
-
viewModeEnabled: boolean;
|
|
209
|
-
selectedGroupIds: {
|
|
210
|
-
[groupId: string]: boolean;
|
|
211
|
-
};
|
|
212
|
-
editingGroupId: string | null;
|
|
213
|
-
width: number;
|
|
214
|
-
height: number;
|
|
215
|
-
offsetTop: number;
|
|
216
|
-
offsetLeft: number;
|
|
217
|
-
isLibraryOpen: boolean;
|
|
218
|
-
isLibraryMenuDocked: boolean;
|
|
219
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
220
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
221
|
-
showStats: boolean;
|
|
222
|
-
currentChartType: import("../element/types").ChartType;
|
|
223
|
-
pasteDialog: {
|
|
224
|
-
shown: false;
|
|
225
|
-
data: null;
|
|
226
|
-
} | {
|
|
227
|
-
shown: true;
|
|
228
|
-
data: import("../charts").Spreadsheet;
|
|
229
|
-
};
|
|
230
|
-
pendingImageElementId: string | null;
|
|
231
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
232
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
233
|
-
};
|
|
234
|
-
commitToHistory: true;
|
|
235
|
-
};
|
|
236
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
237
|
-
} & {
|
|
238
|
-
keyTest?: undefined;
|
|
239
|
-
};
|
|
240
|
-
export declare const actionChangeSloppiness: {
|
|
241
|
-
name: "changeSloppiness";
|
|
242
|
-
trackEvent: false;
|
|
243
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
244
|
-
elements: ExcalidrawElement[];
|
|
245
|
-
appState: {
|
|
246
|
-
currentItemRoughness: any;
|
|
247
|
-
isLoading: boolean;
|
|
248
|
-
errorMessage: string | null;
|
|
249
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
250
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
251
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
252
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
253
|
-
isBindingEnabled: boolean;
|
|
254
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
255
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
256
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
257
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
258
|
-
activeTool: {
|
|
259
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
260
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
261
|
-
locked: boolean;
|
|
262
|
-
customType: null;
|
|
263
|
-
} | {
|
|
264
|
-
type: "custom";
|
|
265
|
-
customType: string;
|
|
266
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
267
|
-
locked: boolean;
|
|
268
|
-
};
|
|
269
|
-
penMode: boolean;
|
|
270
|
-
penDetected: boolean;
|
|
271
|
-
exportBackground: boolean;
|
|
272
|
-
exportEmbedScene: boolean;
|
|
273
|
-
exportWithDarkMode: boolean;
|
|
274
|
-
exportScale: number;
|
|
275
|
-
currentItemStrokeColor: string;
|
|
276
|
-
currentItemBackgroundColor: string;
|
|
277
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
278
|
-
currentItemStrokeWidth: number;
|
|
279
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
280
|
-
currentItemOpacity: number;
|
|
281
|
-
currentItemFontFamily: number;
|
|
282
|
-
currentItemFontSize: number;
|
|
283
|
-
currentItemTextAlign: TextAlign;
|
|
284
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
285
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
286
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
287
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
288
|
-
viewBackgroundColor: string;
|
|
289
|
-
scrollX: number;
|
|
290
|
-
scrollY: number;
|
|
291
|
-
cursorButton: "up" | "down";
|
|
292
|
-
scrolledOutside: boolean;
|
|
293
|
-
name: string;
|
|
294
|
-
isResizing: boolean;
|
|
295
|
-
isRotating: boolean;
|
|
296
|
-
zoom: Readonly<{
|
|
297
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
298
|
-
}>;
|
|
299
|
-
openMenu: "canvas" | "shape" | null;
|
|
300
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
301
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
302
|
-
selectedElementIds: {
|
|
303
|
-
[id: string]: boolean;
|
|
304
|
-
};
|
|
305
|
-
previousSelectedElementIds: {
|
|
306
|
-
[id: string]: boolean;
|
|
307
|
-
};
|
|
308
|
-
shouldCacheIgnoreZoom: boolean;
|
|
309
|
-
showHelpDialog: boolean;
|
|
310
|
-
toast: {
|
|
311
|
-
message: string;
|
|
312
|
-
closable?: boolean | undefined;
|
|
313
|
-
duration?: number | undefined;
|
|
314
|
-
} | null;
|
|
315
|
-
zenModeEnabled: boolean;
|
|
316
|
-
theme: string;
|
|
317
|
-
gridSize: number | null;
|
|
318
|
-
viewModeEnabled: boolean;
|
|
319
|
-
selectedGroupIds: {
|
|
320
|
-
[groupId: string]: boolean;
|
|
321
|
-
};
|
|
322
|
-
editingGroupId: string | null;
|
|
323
|
-
width: number;
|
|
324
|
-
height: number;
|
|
325
|
-
offsetTop: number;
|
|
326
|
-
offsetLeft: number;
|
|
327
|
-
isLibraryOpen: boolean;
|
|
328
|
-
isLibraryMenuDocked: boolean;
|
|
329
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
330
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
331
|
-
showStats: boolean;
|
|
332
|
-
currentChartType: import("../element/types").ChartType;
|
|
333
|
-
pasteDialog: {
|
|
334
|
-
shown: false;
|
|
335
|
-
data: null;
|
|
336
|
-
} | {
|
|
337
|
-
shown: true;
|
|
338
|
-
data: import("../charts").Spreadsheet;
|
|
339
|
-
};
|
|
340
|
-
pendingImageElementId: string | null;
|
|
341
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
342
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
343
|
-
};
|
|
344
|
-
commitToHistory: true;
|
|
345
|
-
};
|
|
346
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
347
|
-
} & {
|
|
348
|
-
keyTest?: undefined;
|
|
349
|
-
};
|
|
350
|
-
export declare const actionChangeStrokeStyle: {
|
|
351
|
-
name: "changeStrokeStyle";
|
|
352
|
-
trackEvent: false;
|
|
353
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
354
|
-
elements: ExcalidrawElement[];
|
|
355
|
-
appState: {
|
|
356
|
-
currentItemStrokeStyle: any;
|
|
357
|
-
isLoading: boolean;
|
|
358
|
-
errorMessage: string | null;
|
|
359
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
360
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
361
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
362
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
363
|
-
isBindingEnabled: boolean;
|
|
364
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
365
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
366
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
367
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
368
|
-
activeTool: {
|
|
369
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
370
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
371
|
-
locked: boolean;
|
|
372
|
-
customType: null;
|
|
373
|
-
} | {
|
|
374
|
-
type: "custom";
|
|
375
|
-
customType: string;
|
|
376
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
377
|
-
locked: boolean;
|
|
378
|
-
};
|
|
379
|
-
penMode: boolean;
|
|
380
|
-
penDetected: boolean;
|
|
381
|
-
exportBackground: boolean;
|
|
382
|
-
exportEmbedScene: boolean;
|
|
383
|
-
exportWithDarkMode: boolean;
|
|
384
|
-
exportScale: number;
|
|
385
|
-
currentItemStrokeColor: string;
|
|
386
|
-
currentItemBackgroundColor: string;
|
|
387
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
388
|
-
currentItemStrokeWidth: number;
|
|
389
|
-
currentItemRoughness: number;
|
|
390
|
-
currentItemOpacity: number;
|
|
391
|
-
currentItemFontFamily: number;
|
|
392
|
-
currentItemFontSize: number;
|
|
393
|
-
currentItemTextAlign: TextAlign;
|
|
394
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
395
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
396
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
397
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
398
|
-
viewBackgroundColor: string;
|
|
399
|
-
scrollX: number;
|
|
400
|
-
scrollY: number;
|
|
401
|
-
cursorButton: "up" | "down";
|
|
402
|
-
scrolledOutside: boolean;
|
|
403
|
-
name: string;
|
|
404
|
-
isResizing: boolean;
|
|
405
|
-
isRotating: boolean;
|
|
406
|
-
zoom: Readonly<{
|
|
407
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
408
|
-
}>;
|
|
409
|
-
openMenu: "canvas" | "shape" | null;
|
|
410
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
411
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
412
|
-
selectedElementIds: {
|
|
413
|
-
[id: string]: boolean;
|
|
414
|
-
};
|
|
415
|
-
previousSelectedElementIds: {
|
|
416
|
-
[id: string]: boolean;
|
|
417
|
-
};
|
|
418
|
-
shouldCacheIgnoreZoom: boolean;
|
|
419
|
-
showHelpDialog: boolean;
|
|
420
|
-
toast: {
|
|
421
|
-
message: string;
|
|
422
|
-
closable?: boolean | undefined;
|
|
423
|
-
duration?: number | undefined;
|
|
424
|
-
} | null;
|
|
425
|
-
zenModeEnabled: boolean;
|
|
426
|
-
theme: string;
|
|
427
|
-
gridSize: number | null;
|
|
428
|
-
viewModeEnabled: boolean;
|
|
429
|
-
selectedGroupIds: {
|
|
430
|
-
[groupId: string]: boolean;
|
|
431
|
-
};
|
|
432
|
-
editingGroupId: string | null;
|
|
433
|
-
width: number;
|
|
434
|
-
height: number;
|
|
435
|
-
offsetTop: number;
|
|
436
|
-
offsetLeft: number;
|
|
437
|
-
isLibraryOpen: boolean;
|
|
438
|
-
isLibraryMenuDocked: boolean;
|
|
439
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
440
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
441
|
-
showStats: boolean;
|
|
442
|
-
currentChartType: import("../element/types").ChartType;
|
|
443
|
-
pasteDialog: {
|
|
444
|
-
shown: false;
|
|
445
|
-
data: null;
|
|
446
|
-
} | {
|
|
447
|
-
shown: true;
|
|
448
|
-
data: import("../charts").Spreadsheet;
|
|
449
|
-
};
|
|
450
|
-
pendingImageElementId: string | null;
|
|
451
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
452
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
453
|
-
};
|
|
454
|
-
commitToHistory: true;
|
|
455
|
-
};
|
|
456
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
457
|
-
} & {
|
|
458
|
-
keyTest?: undefined;
|
|
459
|
-
};
|
|
460
|
-
export declare const actionChangeOpacity: {
|
|
461
|
-
name: "changeOpacity";
|
|
462
|
-
trackEvent: false;
|
|
463
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
464
|
-
elements: ExcalidrawElement[];
|
|
465
|
-
appState: {
|
|
466
|
-
currentItemOpacity: any;
|
|
467
|
-
isLoading: boolean;
|
|
468
|
-
errorMessage: string | null;
|
|
469
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
470
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
471
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
472
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
473
|
-
isBindingEnabled: boolean;
|
|
474
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
475
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
476
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
477
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
478
|
-
activeTool: {
|
|
479
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
480
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
481
|
-
locked: boolean;
|
|
482
|
-
customType: null;
|
|
483
|
-
} | {
|
|
484
|
-
type: "custom";
|
|
485
|
-
customType: string;
|
|
486
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
487
|
-
locked: boolean;
|
|
488
|
-
};
|
|
489
|
-
penMode: boolean;
|
|
490
|
-
penDetected: boolean;
|
|
491
|
-
exportBackground: boolean;
|
|
492
|
-
exportEmbedScene: boolean;
|
|
493
|
-
exportWithDarkMode: boolean;
|
|
494
|
-
exportScale: number;
|
|
495
|
-
currentItemStrokeColor: string;
|
|
496
|
-
currentItemBackgroundColor: string;
|
|
497
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
498
|
-
currentItemStrokeWidth: number;
|
|
499
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
500
|
-
currentItemRoughness: number;
|
|
501
|
-
currentItemFontFamily: number;
|
|
502
|
-
currentItemFontSize: number;
|
|
503
|
-
currentItemTextAlign: TextAlign;
|
|
504
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
505
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
506
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
507
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
508
|
-
viewBackgroundColor: string;
|
|
509
|
-
scrollX: number;
|
|
510
|
-
scrollY: number;
|
|
511
|
-
cursorButton: "up" | "down";
|
|
512
|
-
scrolledOutside: boolean;
|
|
513
|
-
name: string;
|
|
514
|
-
isResizing: boolean;
|
|
515
|
-
isRotating: boolean;
|
|
516
|
-
zoom: Readonly<{
|
|
517
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
518
|
-
}>;
|
|
519
|
-
openMenu: "canvas" | "shape" | null;
|
|
520
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
521
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
522
|
-
selectedElementIds: {
|
|
523
|
-
[id: string]: boolean;
|
|
524
|
-
};
|
|
525
|
-
previousSelectedElementIds: {
|
|
526
|
-
[id: string]: boolean;
|
|
527
|
-
};
|
|
528
|
-
shouldCacheIgnoreZoom: boolean;
|
|
529
|
-
showHelpDialog: boolean;
|
|
530
|
-
toast: {
|
|
531
|
-
message: string;
|
|
532
|
-
closable?: boolean | undefined;
|
|
533
|
-
duration?: number | undefined;
|
|
534
|
-
} | null;
|
|
535
|
-
zenModeEnabled: boolean;
|
|
536
|
-
theme: string;
|
|
537
|
-
gridSize: number | null;
|
|
538
|
-
viewModeEnabled: boolean;
|
|
539
|
-
selectedGroupIds: {
|
|
540
|
-
[groupId: string]: boolean;
|
|
541
|
-
};
|
|
542
|
-
editingGroupId: string | null;
|
|
543
|
-
width: number;
|
|
544
|
-
height: number;
|
|
545
|
-
offsetTop: number;
|
|
546
|
-
offsetLeft: number;
|
|
547
|
-
isLibraryOpen: boolean;
|
|
548
|
-
isLibraryMenuDocked: boolean;
|
|
549
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
550
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
551
|
-
showStats: boolean;
|
|
552
|
-
currentChartType: import("../element/types").ChartType;
|
|
553
|
-
pasteDialog: {
|
|
554
|
-
shown: false;
|
|
555
|
-
data: null;
|
|
556
|
-
} | {
|
|
557
|
-
shown: true;
|
|
558
|
-
data: import("../charts").Spreadsheet;
|
|
559
|
-
};
|
|
560
|
-
pendingImageElementId: string | null;
|
|
561
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
562
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
563
|
-
};
|
|
564
|
-
commitToHistory: true;
|
|
565
|
-
};
|
|
566
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
567
|
-
} & {
|
|
568
|
-
keyTest?: undefined;
|
|
569
|
-
};
|
|
570
|
-
export declare const actionChangeFontSize: {
|
|
571
|
-
name: "changeFontSize";
|
|
572
|
-
trackEvent: false;
|
|
573
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
574
|
-
elements: ExcalidrawElement[];
|
|
575
|
-
appState: {
|
|
576
|
-
currentItemFontSize: number;
|
|
577
|
-
isLoading: boolean;
|
|
578
|
-
errorMessage: string | null;
|
|
579
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
580
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
581
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
582
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
583
|
-
isBindingEnabled: boolean;
|
|
584
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
585
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
586
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
587
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
588
|
-
activeTool: {
|
|
589
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
590
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
591
|
-
locked: boolean;
|
|
592
|
-
customType: null;
|
|
593
|
-
} | {
|
|
594
|
-
type: "custom";
|
|
595
|
-
customType: string;
|
|
596
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
597
|
-
locked: boolean;
|
|
598
|
-
};
|
|
599
|
-
penMode: boolean;
|
|
600
|
-
penDetected: boolean;
|
|
601
|
-
exportBackground: boolean;
|
|
602
|
-
exportEmbedScene: boolean;
|
|
603
|
-
exportWithDarkMode: boolean;
|
|
604
|
-
exportScale: number;
|
|
605
|
-
currentItemStrokeColor: string;
|
|
606
|
-
currentItemBackgroundColor: string;
|
|
607
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
608
|
-
currentItemStrokeWidth: number;
|
|
609
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
610
|
-
currentItemRoughness: number;
|
|
611
|
-
currentItemOpacity: number;
|
|
612
|
-
currentItemFontFamily: number;
|
|
613
|
-
currentItemTextAlign: TextAlign;
|
|
614
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
615
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
616
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
617
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
618
|
-
viewBackgroundColor: string;
|
|
619
|
-
scrollX: number;
|
|
620
|
-
scrollY: number;
|
|
621
|
-
cursorButton: "up" | "down";
|
|
622
|
-
scrolledOutside: boolean;
|
|
623
|
-
name: string;
|
|
624
|
-
isResizing: boolean;
|
|
625
|
-
isRotating: boolean;
|
|
626
|
-
zoom: Readonly<{
|
|
627
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
628
|
-
}>;
|
|
629
|
-
openMenu: "canvas" | "shape" | null;
|
|
630
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
631
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
632
|
-
selectedElementIds: {
|
|
633
|
-
[id: string]: boolean;
|
|
634
|
-
};
|
|
635
|
-
previousSelectedElementIds: {
|
|
636
|
-
[id: string]: boolean;
|
|
637
|
-
};
|
|
638
|
-
shouldCacheIgnoreZoom: boolean;
|
|
639
|
-
showHelpDialog: boolean;
|
|
640
|
-
toast: {
|
|
641
|
-
message: string;
|
|
642
|
-
closable?: boolean | undefined;
|
|
643
|
-
duration?: number | undefined;
|
|
644
|
-
} | null;
|
|
645
|
-
zenModeEnabled: boolean;
|
|
646
|
-
theme: string;
|
|
647
|
-
gridSize: number | null;
|
|
648
|
-
viewModeEnabled: boolean;
|
|
649
|
-
selectedGroupIds: {
|
|
650
|
-
[groupId: string]: boolean;
|
|
651
|
-
};
|
|
652
|
-
editingGroupId: string | null;
|
|
653
|
-
width: number;
|
|
654
|
-
height: number;
|
|
655
|
-
offsetTop: number;
|
|
656
|
-
offsetLeft: number;
|
|
657
|
-
isLibraryOpen: boolean;
|
|
658
|
-
isLibraryMenuDocked: boolean;
|
|
659
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
660
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
661
|
-
showStats: boolean;
|
|
662
|
-
currentChartType: import("../element/types").ChartType;
|
|
663
|
-
pasteDialog: {
|
|
664
|
-
shown: false;
|
|
665
|
-
data: null;
|
|
666
|
-
} | {
|
|
667
|
-
shown: true;
|
|
668
|
-
data: import("../charts").Spreadsheet;
|
|
669
|
-
};
|
|
670
|
-
pendingImageElementId: string | null;
|
|
671
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
672
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
673
|
-
};
|
|
674
|
-
commitToHistory: boolean;
|
|
675
|
-
};
|
|
676
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
677
|
-
} & {
|
|
678
|
-
keyTest?: undefined;
|
|
679
|
-
};
|
|
680
|
-
export declare const actionDecreaseFontSize: {
|
|
681
|
-
name: "decreaseFontSize";
|
|
682
|
-
trackEvent: false;
|
|
683
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
684
|
-
elements: ExcalidrawElement[];
|
|
685
|
-
appState: {
|
|
686
|
-
currentItemFontSize: number;
|
|
687
|
-
isLoading: boolean;
|
|
688
|
-
errorMessage: string | null;
|
|
689
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
690
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
691
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
692
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
693
|
-
isBindingEnabled: boolean;
|
|
694
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
695
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
696
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
697
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
698
|
-
activeTool: {
|
|
699
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
700
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
701
|
-
locked: boolean;
|
|
702
|
-
customType: null;
|
|
703
|
-
} | {
|
|
704
|
-
type: "custom";
|
|
705
|
-
customType: string;
|
|
706
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
707
|
-
locked: boolean;
|
|
708
|
-
};
|
|
709
|
-
penMode: boolean;
|
|
710
|
-
penDetected: boolean;
|
|
711
|
-
exportBackground: boolean;
|
|
712
|
-
exportEmbedScene: boolean;
|
|
713
|
-
exportWithDarkMode: boolean;
|
|
714
|
-
exportScale: number;
|
|
715
|
-
currentItemStrokeColor: string;
|
|
716
|
-
currentItemBackgroundColor: string;
|
|
717
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
718
|
-
currentItemStrokeWidth: number;
|
|
719
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
720
|
-
currentItemRoughness: number;
|
|
721
|
-
currentItemOpacity: number;
|
|
722
|
-
currentItemFontFamily: number;
|
|
723
|
-
currentItemTextAlign: TextAlign;
|
|
724
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
725
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
726
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
727
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
728
|
-
viewBackgroundColor: string;
|
|
729
|
-
scrollX: number;
|
|
730
|
-
scrollY: number;
|
|
731
|
-
cursorButton: "up" | "down";
|
|
732
|
-
scrolledOutside: boolean;
|
|
733
|
-
name: string;
|
|
734
|
-
isResizing: boolean;
|
|
735
|
-
isRotating: boolean;
|
|
736
|
-
zoom: Readonly<{
|
|
737
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
738
|
-
}>;
|
|
739
|
-
openMenu: "canvas" | "shape" | null;
|
|
740
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
741
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
742
|
-
selectedElementIds: {
|
|
743
|
-
[id: string]: boolean;
|
|
744
|
-
};
|
|
745
|
-
previousSelectedElementIds: {
|
|
746
|
-
[id: string]: boolean;
|
|
747
|
-
};
|
|
748
|
-
shouldCacheIgnoreZoom: boolean;
|
|
749
|
-
showHelpDialog: boolean;
|
|
750
|
-
toast: {
|
|
751
|
-
message: string;
|
|
752
|
-
closable?: boolean | undefined;
|
|
753
|
-
duration?: number | undefined;
|
|
754
|
-
} | null;
|
|
755
|
-
zenModeEnabled: boolean;
|
|
756
|
-
theme: string;
|
|
757
|
-
gridSize: number | null;
|
|
758
|
-
viewModeEnabled: boolean;
|
|
759
|
-
selectedGroupIds: {
|
|
760
|
-
[groupId: string]: boolean;
|
|
761
|
-
};
|
|
762
|
-
editingGroupId: string | null;
|
|
763
|
-
width: number;
|
|
764
|
-
height: number;
|
|
765
|
-
offsetTop: number;
|
|
766
|
-
offsetLeft: number;
|
|
767
|
-
isLibraryOpen: boolean;
|
|
768
|
-
isLibraryMenuDocked: boolean;
|
|
769
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
770
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
771
|
-
showStats: boolean;
|
|
772
|
-
currentChartType: import("../element/types").ChartType;
|
|
773
|
-
pasteDialog: {
|
|
774
|
-
shown: false;
|
|
775
|
-
data: null;
|
|
776
|
-
} | {
|
|
777
|
-
shown: true;
|
|
778
|
-
data: import("../charts").Spreadsheet;
|
|
779
|
-
};
|
|
780
|
-
pendingImageElementId: string | null;
|
|
781
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
782
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
783
|
-
};
|
|
784
|
-
commitToHistory: boolean;
|
|
785
|
-
};
|
|
786
|
-
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
787
|
-
} & {
|
|
788
|
-
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
789
|
-
};
|
|
790
|
-
export declare const actionIncreaseFontSize: {
|
|
791
|
-
name: "increaseFontSize";
|
|
792
|
-
trackEvent: false;
|
|
793
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
794
|
-
elements: ExcalidrawElement[];
|
|
795
|
-
appState: {
|
|
796
|
-
currentItemFontSize: number;
|
|
797
|
-
isLoading: boolean;
|
|
798
|
-
errorMessage: string | null;
|
|
799
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
800
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
801
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
802
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
803
|
-
isBindingEnabled: boolean;
|
|
804
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
805
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
806
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
807
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
808
|
-
activeTool: {
|
|
809
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
810
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
811
|
-
locked: boolean;
|
|
812
|
-
customType: null;
|
|
813
|
-
} | {
|
|
814
|
-
type: "custom";
|
|
815
|
-
customType: string;
|
|
816
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
817
|
-
locked: boolean;
|
|
818
|
-
};
|
|
819
|
-
penMode: boolean;
|
|
820
|
-
penDetected: boolean;
|
|
821
|
-
exportBackground: boolean;
|
|
822
|
-
exportEmbedScene: boolean;
|
|
823
|
-
exportWithDarkMode: boolean;
|
|
824
|
-
exportScale: number;
|
|
825
|
-
currentItemStrokeColor: string;
|
|
826
|
-
currentItemBackgroundColor: string;
|
|
827
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
828
|
-
currentItemStrokeWidth: number;
|
|
829
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
830
|
-
currentItemRoughness: number;
|
|
831
|
-
currentItemOpacity: number;
|
|
832
|
-
currentItemFontFamily: number;
|
|
833
|
-
currentItemTextAlign: TextAlign;
|
|
834
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
835
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
836
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
837
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
838
|
-
viewBackgroundColor: string;
|
|
839
|
-
scrollX: number;
|
|
840
|
-
scrollY: number;
|
|
841
|
-
cursorButton: "up" | "down";
|
|
842
|
-
scrolledOutside: boolean;
|
|
843
|
-
name: string;
|
|
844
|
-
isResizing: boolean;
|
|
845
|
-
isRotating: boolean;
|
|
846
|
-
zoom: Readonly<{
|
|
847
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
848
|
-
}>;
|
|
849
|
-
openMenu: "canvas" | "shape" | null;
|
|
850
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
851
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
852
|
-
selectedElementIds: {
|
|
853
|
-
[id: string]: boolean;
|
|
854
|
-
};
|
|
855
|
-
previousSelectedElementIds: {
|
|
856
|
-
[id: string]: boolean;
|
|
857
|
-
};
|
|
858
|
-
shouldCacheIgnoreZoom: boolean;
|
|
859
|
-
showHelpDialog: boolean;
|
|
860
|
-
toast: {
|
|
861
|
-
message: string;
|
|
862
|
-
closable?: boolean | undefined;
|
|
863
|
-
duration?: number | undefined;
|
|
864
|
-
} | null;
|
|
865
|
-
zenModeEnabled: boolean;
|
|
866
|
-
theme: string;
|
|
867
|
-
gridSize: number | null;
|
|
868
|
-
viewModeEnabled: boolean;
|
|
869
|
-
selectedGroupIds: {
|
|
870
|
-
[groupId: string]: boolean;
|
|
871
|
-
};
|
|
872
|
-
editingGroupId: string | null;
|
|
873
|
-
width: number;
|
|
874
|
-
height: number;
|
|
875
|
-
offsetTop: number;
|
|
876
|
-
offsetLeft: number;
|
|
877
|
-
isLibraryOpen: boolean;
|
|
878
|
-
isLibraryMenuDocked: boolean;
|
|
879
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
880
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
881
|
-
showStats: boolean;
|
|
882
|
-
currentChartType: import("../element/types").ChartType;
|
|
883
|
-
pasteDialog: {
|
|
884
|
-
shown: false;
|
|
885
|
-
data: null;
|
|
886
|
-
} | {
|
|
887
|
-
shown: true;
|
|
888
|
-
data: import("../charts").Spreadsheet;
|
|
889
|
-
};
|
|
890
|
-
pendingImageElementId: string | null;
|
|
891
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
892
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
893
|
-
};
|
|
894
|
-
commitToHistory: boolean;
|
|
895
|
-
};
|
|
896
|
-
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
897
|
-
} & {
|
|
898
|
-
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
899
|
-
};
|
|
900
|
-
export declare const actionChangeFontFamily: {
|
|
901
|
-
name: "changeFontFamily";
|
|
902
|
-
trackEvent: false;
|
|
903
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
904
|
-
elements: ExcalidrawElement[];
|
|
905
|
-
appState: {
|
|
906
|
-
currentItemFontFamily: any;
|
|
907
|
-
isLoading: boolean;
|
|
908
|
-
errorMessage: string | null;
|
|
909
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
910
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
911
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
912
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
913
|
-
isBindingEnabled: boolean;
|
|
914
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
915
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
916
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
917
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
918
|
-
activeTool: {
|
|
919
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
920
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
921
|
-
locked: boolean;
|
|
922
|
-
customType: null;
|
|
923
|
-
} | {
|
|
924
|
-
type: "custom";
|
|
925
|
-
customType: string;
|
|
926
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
927
|
-
locked: boolean;
|
|
928
|
-
};
|
|
929
|
-
penMode: boolean;
|
|
930
|
-
penDetected: boolean;
|
|
931
|
-
exportBackground: boolean;
|
|
932
|
-
exportEmbedScene: boolean;
|
|
933
|
-
exportWithDarkMode: boolean;
|
|
934
|
-
exportScale: number;
|
|
935
|
-
currentItemStrokeColor: string;
|
|
936
|
-
currentItemBackgroundColor: string;
|
|
937
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
938
|
-
currentItemStrokeWidth: number;
|
|
939
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
940
|
-
currentItemRoughness: number;
|
|
941
|
-
currentItemOpacity: number;
|
|
942
|
-
currentItemFontSize: number;
|
|
943
|
-
currentItemTextAlign: TextAlign;
|
|
944
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
945
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
946
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
947
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
948
|
-
viewBackgroundColor: string;
|
|
949
|
-
scrollX: number;
|
|
950
|
-
scrollY: number;
|
|
951
|
-
cursorButton: "up" | "down";
|
|
952
|
-
scrolledOutside: boolean;
|
|
953
|
-
name: string;
|
|
954
|
-
isResizing: boolean;
|
|
955
|
-
isRotating: boolean;
|
|
956
|
-
zoom: Readonly<{
|
|
957
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
958
|
-
}>;
|
|
959
|
-
openMenu: "canvas" | "shape" | null;
|
|
960
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
961
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
962
|
-
selectedElementIds: {
|
|
963
|
-
[id: string]: boolean;
|
|
964
|
-
};
|
|
965
|
-
previousSelectedElementIds: {
|
|
966
|
-
[id: string]: boolean;
|
|
967
|
-
};
|
|
968
|
-
shouldCacheIgnoreZoom: boolean;
|
|
969
|
-
showHelpDialog: boolean;
|
|
970
|
-
toast: {
|
|
971
|
-
message: string;
|
|
972
|
-
closable?: boolean | undefined;
|
|
973
|
-
duration?: number | undefined;
|
|
974
|
-
} | null;
|
|
975
|
-
zenModeEnabled: boolean;
|
|
976
|
-
theme: string;
|
|
977
|
-
gridSize: number | null;
|
|
978
|
-
viewModeEnabled: boolean;
|
|
979
|
-
selectedGroupIds: {
|
|
980
|
-
[groupId: string]: boolean;
|
|
981
|
-
};
|
|
982
|
-
editingGroupId: string | null;
|
|
983
|
-
width: number;
|
|
984
|
-
height: number;
|
|
985
|
-
offsetTop: number;
|
|
986
|
-
offsetLeft: number;
|
|
987
|
-
isLibraryOpen: boolean;
|
|
988
|
-
isLibraryMenuDocked: boolean;
|
|
989
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
990
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
991
|
-
showStats: boolean;
|
|
992
|
-
currentChartType: import("../element/types").ChartType;
|
|
993
|
-
pasteDialog: {
|
|
994
|
-
shown: false;
|
|
995
|
-
data: null;
|
|
996
|
-
} | {
|
|
997
|
-
shown: true;
|
|
998
|
-
data: import("../charts").Spreadsheet;
|
|
999
|
-
};
|
|
1000
|
-
pendingImageElementId: string | null;
|
|
1001
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1002
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1003
|
-
};
|
|
1004
|
-
commitToHistory: true;
|
|
1005
|
-
};
|
|
1006
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1007
|
-
} & {
|
|
1008
|
-
keyTest?: undefined;
|
|
1009
|
-
};
|
|
1010
|
-
export declare const actionChangeTextAlign: {
|
|
1011
|
-
name: "changeTextAlign";
|
|
1012
|
-
trackEvent: false;
|
|
1013
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1014
|
-
elements: ExcalidrawElement[];
|
|
1015
|
-
appState: {
|
|
1016
|
-
currentItemTextAlign: any;
|
|
1017
|
-
isLoading: boolean;
|
|
1018
|
-
errorMessage: string | null;
|
|
1019
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1020
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1021
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1022
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1023
|
-
isBindingEnabled: boolean;
|
|
1024
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1025
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1026
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1027
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1028
|
-
activeTool: {
|
|
1029
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
1030
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1031
|
-
locked: boolean;
|
|
1032
|
-
customType: null;
|
|
1033
|
-
} | {
|
|
1034
|
-
type: "custom";
|
|
1035
|
-
customType: string;
|
|
1036
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1037
|
-
locked: boolean;
|
|
1038
|
-
};
|
|
1039
|
-
penMode: boolean;
|
|
1040
|
-
penDetected: boolean;
|
|
1041
|
-
exportBackground: boolean;
|
|
1042
|
-
exportEmbedScene: boolean;
|
|
1043
|
-
exportWithDarkMode: boolean;
|
|
1044
|
-
exportScale: number;
|
|
1045
|
-
currentItemStrokeColor: string;
|
|
1046
|
-
currentItemBackgroundColor: string;
|
|
1047
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
1048
|
-
currentItemStrokeWidth: number;
|
|
1049
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
1050
|
-
currentItemRoughness: number;
|
|
1051
|
-
currentItemOpacity: number;
|
|
1052
|
-
currentItemFontFamily: number;
|
|
1053
|
-
currentItemFontSize: number;
|
|
1054
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1055
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
1056
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
1057
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1058
|
-
viewBackgroundColor: string;
|
|
1059
|
-
scrollX: number;
|
|
1060
|
-
scrollY: number;
|
|
1061
|
-
cursorButton: "up" | "down";
|
|
1062
|
-
scrolledOutside: boolean;
|
|
1063
|
-
name: string;
|
|
1064
|
-
isResizing: boolean;
|
|
1065
|
-
isRotating: boolean;
|
|
1066
|
-
zoom: Readonly<{
|
|
1067
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
1068
|
-
}>;
|
|
1069
|
-
openMenu: "canvas" | "shape" | null;
|
|
1070
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1071
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
1072
|
-
selectedElementIds: {
|
|
1073
|
-
[id: string]: boolean;
|
|
1074
|
-
};
|
|
1075
|
-
previousSelectedElementIds: {
|
|
1076
|
-
[id: string]: boolean;
|
|
1077
|
-
};
|
|
1078
|
-
shouldCacheIgnoreZoom: boolean;
|
|
1079
|
-
showHelpDialog: boolean;
|
|
1080
|
-
toast: {
|
|
1081
|
-
message: string;
|
|
1082
|
-
closable?: boolean | undefined;
|
|
1083
|
-
duration?: number | undefined;
|
|
1084
|
-
} | null;
|
|
1085
|
-
zenModeEnabled: boolean;
|
|
1086
|
-
theme: string;
|
|
1087
|
-
gridSize: number | null;
|
|
1088
|
-
viewModeEnabled: boolean;
|
|
1089
|
-
selectedGroupIds: {
|
|
1090
|
-
[groupId: string]: boolean;
|
|
1091
|
-
};
|
|
1092
|
-
editingGroupId: string | null;
|
|
1093
|
-
width: number;
|
|
1094
|
-
height: number;
|
|
1095
|
-
offsetTop: number;
|
|
1096
|
-
offsetLeft: number;
|
|
1097
|
-
isLibraryOpen: boolean;
|
|
1098
|
-
isLibraryMenuDocked: boolean;
|
|
1099
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1100
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
1101
|
-
showStats: boolean;
|
|
1102
|
-
currentChartType: import("../element/types").ChartType;
|
|
1103
|
-
pasteDialog: {
|
|
1104
|
-
shown: false;
|
|
1105
|
-
data: null;
|
|
1106
|
-
} | {
|
|
1107
|
-
shown: true;
|
|
1108
|
-
data: import("../charts").Spreadsheet;
|
|
1109
|
-
};
|
|
1110
|
-
pendingImageElementId: string | null;
|
|
1111
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1112
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1113
|
-
};
|
|
1114
|
-
commitToHistory: true;
|
|
1115
|
-
};
|
|
1116
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1117
|
-
} & {
|
|
1118
|
-
keyTest?: undefined;
|
|
1119
|
-
};
|
|
1120
|
-
export declare const actionChangeVerticalAlign: {
|
|
1121
|
-
name: "changeVerticalAlign";
|
|
1122
|
-
trackEvent: {
|
|
1123
|
-
category: "element";
|
|
1124
|
-
};
|
|
1125
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1126
|
-
elements: ExcalidrawElement[];
|
|
1127
|
-
appState: {
|
|
1128
|
-
isLoading: boolean;
|
|
1129
|
-
errorMessage: string | null;
|
|
1130
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1131
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1132
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1133
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1134
|
-
isBindingEnabled: boolean;
|
|
1135
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1136
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1137
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1138
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1139
|
-
activeTool: {
|
|
1140
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
1141
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1142
|
-
locked: boolean;
|
|
1143
|
-
customType: null;
|
|
1144
|
-
} | {
|
|
1145
|
-
type: "custom";
|
|
1146
|
-
customType: string;
|
|
1147
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1148
|
-
locked: boolean;
|
|
1149
|
-
};
|
|
1150
|
-
penMode: boolean;
|
|
1151
|
-
penDetected: boolean;
|
|
1152
|
-
exportBackground: boolean;
|
|
1153
|
-
exportEmbedScene: boolean;
|
|
1154
|
-
exportWithDarkMode: boolean;
|
|
1155
|
-
exportScale: number;
|
|
1156
|
-
currentItemStrokeColor: string;
|
|
1157
|
-
currentItemBackgroundColor: string;
|
|
1158
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
1159
|
-
currentItemStrokeWidth: number;
|
|
1160
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
1161
|
-
currentItemRoughness: number;
|
|
1162
|
-
currentItemOpacity: number;
|
|
1163
|
-
currentItemFontFamily: number;
|
|
1164
|
-
currentItemFontSize: number;
|
|
1165
|
-
currentItemTextAlign: TextAlign;
|
|
1166
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1167
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
1168
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
1169
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1170
|
-
viewBackgroundColor: string;
|
|
1171
|
-
scrollX: number;
|
|
1172
|
-
scrollY: number;
|
|
1173
|
-
cursorButton: "up" | "down";
|
|
1174
|
-
scrolledOutside: boolean;
|
|
1175
|
-
name: string;
|
|
1176
|
-
isResizing: boolean;
|
|
1177
|
-
isRotating: boolean;
|
|
1178
|
-
zoom: Readonly<{
|
|
1179
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
1180
|
-
}>;
|
|
1181
|
-
openMenu: "canvas" | "shape" | null;
|
|
1182
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1183
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
1184
|
-
selectedElementIds: {
|
|
1185
|
-
[id: string]: boolean;
|
|
1186
|
-
};
|
|
1187
|
-
previousSelectedElementIds: {
|
|
1188
|
-
[id: string]: boolean;
|
|
1189
|
-
};
|
|
1190
|
-
shouldCacheIgnoreZoom: boolean;
|
|
1191
|
-
showHelpDialog: boolean;
|
|
1192
|
-
toast: {
|
|
1193
|
-
message: string;
|
|
1194
|
-
closable?: boolean | undefined;
|
|
1195
|
-
duration?: number | undefined;
|
|
1196
|
-
} | null;
|
|
1197
|
-
zenModeEnabled: boolean;
|
|
1198
|
-
theme: string;
|
|
1199
|
-
gridSize: number | null;
|
|
1200
|
-
viewModeEnabled: boolean;
|
|
1201
|
-
selectedGroupIds: {
|
|
1202
|
-
[groupId: string]: boolean;
|
|
1203
|
-
};
|
|
1204
|
-
editingGroupId: string | null;
|
|
1205
|
-
width: number;
|
|
1206
|
-
height: number;
|
|
1207
|
-
offsetTop: number;
|
|
1208
|
-
offsetLeft: number;
|
|
1209
|
-
isLibraryOpen: boolean;
|
|
1210
|
-
isLibraryMenuDocked: boolean;
|
|
1211
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1212
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
1213
|
-
showStats: boolean;
|
|
1214
|
-
currentChartType: import("../element/types").ChartType;
|
|
1215
|
-
pasteDialog: {
|
|
1216
|
-
shown: false;
|
|
1217
|
-
data: null;
|
|
1218
|
-
} | {
|
|
1219
|
-
shown: true;
|
|
1220
|
-
data: import("../charts").Spreadsheet;
|
|
1221
|
-
};
|
|
1222
|
-
pendingImageElementId: string | null;
|
|
1223
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1224
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1225
|
-
};
|
|
1226
|
-
commitToHistory: true;
|
|
1227
|
-
};
|
|
1228
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1229
|
-
} & {
|
|
1230
|
-
keyTest?: undefined;
|
|
1231
|
-
};
|
|
1232
|
-
export declare const actionChangeSharpness: {
|
|
1233
|
-
name: "changeSharpness";
|
|
1234
|
-
trackEvent: false;
|
|
1235
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1236
|
-
elements: ExcalidrawElement[];
|
|
1237
|
-
appState: {
|
|
1238
|
-
currentItemStrokeSharpness: any;
|
|
1239
|
-
currentItemLinearStrokeSharpness: any;
|
|
1240
|
-
isLoading: boolean;
|
|
1241
|
-
errorMessage: string | null;
|
|
1242
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1243
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1244
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1245
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1246
|
-
isBindingEnabled: boolean;
|
|
1247
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1248
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1249
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1250
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1251
|
-
activeTool: {
|
|
1252
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
1253
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1254
|
-
locked: boolean;
|
|
1255
|
-
customType: null;
|
|
1256
|
-
} | {
|
|
1257
|
-
type: "custom";
|
|
1258
|
-
customType: string;
|
|
1259
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1260
|
-
locked: boolean;
|
|
1261
|
-
};
|
|
1262
|
-
penMode: boolean;
|
|
1263
|
-
penDetected: boolean;
|
|
1264
|
-
exportBackground: boolean;
|
|
1265
|
-
exportEmbedScene: boolean;
|
|
1266
|
-
exportWithDarkMode: boolean;
|
|
1267
|
-
exportScale: number;
|
|
1268
|
-
currentItemStrokeColor: string;
|
|
1269
|
-
currentItemBackgroundColor: string;
|
|
1270
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
1271
|
-
currentItemStrokeWidth: number;
|
|
1272
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
1273
|
-
currentItemRoughness: number;
|
|
1274
|
-
currentItemOpacity: number;
|
|
1275
|
-
currentItemFontFamily: number;
|
|
1276
|
-
currentItemFontSize: number;
|
|
1277
|
-
currentItemTextAlign: TextAlign;
|
|
1278
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
1279
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
1280
|
-
viewBackgroundColor: string;
|
|
1281
|
-
scrollX: number;
|
|
1282
|
-
scrollY: number;
|
|
1283
|
-
cursorButton: "up" | "down";
|
|
1284
|
-
scrolledOutside: boolean;
|
|
1285
|
-
name: string;
|
|
1286
|
-
isResizing: boolean;
|
|
1287
|
-
isRotating: boolean;
|
|
1288
|
-
zoom: Readonly<{
|
|
1289
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
1290
|
-
}>;
|
|
1291
|
-
openMenu: "canvas" | "shape" | null;
|
|
1292
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1293
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
1294
|
-
selectedElementIds: {
|
|
1295
|
-
[id: string]: boolean;
|
|
1296
|
-
};
|
|
1297
|
-
previousSelectedElementIds: {
|
|
1298
|
-
[id: string]: boolean;
|
|
1299
|
-
};
|
|
1300
|
-
shouldCacheIgnoreZoom: boolean;
|
|
1301
|
-
showHelpDialog: boolean;
|
|
1302
|
-
toast: {
|
|
1303
|
-
message: string;
|
|
1304
|
-
closable?: boolean | undefined;
|
|
1305
|
-
duration?: number | undefined;
|
|
1306
|
-
} | null;
|
|
1307
|
-
zenModeEnabled: boolean;
|
|
1308
|
-
theme: string;
|
|
1309
|
-
gridSize: number | null;
|
|
1310
|
-
viewModeEnabled: boolean;
|
|
1311
|
-
selectedGroupIds: {
|
|
1312
|
-
[groupId: string]: boolean;
|
|
1313
|
-
};
|
|
1314
|
-
editingGroupId: string | null;
|
|
1315
|
-
width: number;
|
|
1316
|
-
height: number;
|
|
1317
|
-
offsetTop: number;
|
|
1318
|
-
offsetLeft: number;
|
|
1319
|
-
isLibraryOpen: boolean;
|
|
1320
|
-
isLibraryMenuDocked: boolean;
|
|
1321
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1322
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
1323
|
-
showStats: boolean;
|
|
1324
|
-
currentChartType: import("../element/types").ChartType;
|
|
1325
|
-
pasteDialog: {
|
|
1326
|
-
shown: false;
|
|
1327
|
-
data: null;
|
|
1328
|
-
} | {
|
|
1329
|
-
shown: true;
|
|
1330
|
-
data: import("../charts").Spreadsheet;
|
|
1331
|
-
};
|
|
1332
|
-
pendingImageElementId: string | null;
|
|
1333
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1334
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1335
|
-
};
|
|
1336
|
-
commitToHistory: true;
|
|
1337
|
-
};
|
|
1338
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1339
|
-
} & {
|
|
1340
|
-
keyTest?: undefined;
|
|
1341
|
-
};
|
|
1342
|
-
export declare const actionChangeArrowhead: {
|
|
1343
|
-
name: "changeArrowhead";
|
|
1344
|
-
trackEvent: false;
|
|
1345
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: {
|
|
1346
|
-
position: "start" | "end";
|
|
1347
|
-
type: Arrowhead;
|
|
1348
|
-
}) => {
|
|
1349
|
-
elements: ExcalidrawElement[];
|
|
1350
|
-
appState: {
|
|
1351
|
-
isLoading: boolean;
|
|
1352
|
-
errorMessage: string | null;
|
|
1353
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1354
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1355
|
-
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1356
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1357
|
-
isBindingEnabled: boolean;
|
|
1358
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1359
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1360
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1361
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1362
|
-
activeTool: {
|
|
1363
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
1364
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1365
|
-
locked: boolean;
|
|
1366
|
-
customType: null;
|
|
1367
|
-
} | {
|
|
1368
|
-
type: "custom";
|
|
1369
|
-
customType: string;
|
|
1370
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1371
|
-
locked: boolean;
|
|
1372
|
-
};
|
|
1373
|
-
penMode: boolean;
|
|
1374
|
-
penDetected: boolean;
|
|
1375
|
-
exportBackground: boolean;
|
|
1376
|
-
exportEmbedScene: boolean;
|
|
1377
|
-
exportWithDarkMode: boolean;
|
|
1378
|
-
exportScale: number;
|
|
1379
|
-
currentItemStrokeColor: string;
|
|
1380
|
-
currentItemBackgroundColor: string;
|
|
1381
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
1382
|
-
currentItemStrokeWidth: number;
|
|
1383
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
1384
|
-
currentItemRoughness: number;
|
|
1385
|
-
currentItemOpacity: number;
|
|
1386
|
-
currentItemFontFamily: number;
|
|
1387
|
-
currentItemFontSize: number;
|
|
1388
|
-
currentItemTextAlign: TextAlign;
|
|
1389
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1390
|
-
currentItemStartArrowhead: Arrowhead | null;
|
|
1391
|
-
currentItemEndArrowhead: Arrowhead | null;
|
|
1392
|
-
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1393
|
-
viewBackgroundColor: string;
|
|
1394
|
-
scrollX: number;
|
|
1395
|
-
scrollY: number;
|
|
1396
|
-
cursorButton: "up" | "down";
|
|
1397
|
-
scrolledOutside: boolean;
|
|
1398
|
-
name: string;
|
|
1399
|
-
isResizing: boolean;
|
|
1400
|
-
isRotating: boolean;
|
|
1401
|
-
zoom: Readonly<{
|
|
1402
|
-
value: import("../../src/types").NormalizedZoomValue;
|
|
1403
|
-
}>;
|
|
1404
|
-
openMenu: "canvas" | "shape" | null;
|
|
1405
|
-
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1406
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
1407
|
-
selectedElementIds: {
|
|
1408
|
-
[id: string]: boolean;
|
|
1409
|
-
};
|
|
1410
|
-
previousSelectedElementIds: {
|
|
1411
|
-
[id: string]: boolean;
|
|
1412
|
-
};
|
|
1413
|
-
shouldCacheIgnoreZoom: boolean;
|
|
1414
|
-
showHelpDialog: boolean;
|
|
1415
|
-
toast: {
|
|
1416
|
-
message: string;
|
|
1417
|
-
closable?: boolean | undefined;
|
|
1418
|
-
duration?: number | undefined;
|
|
1419
|
-
} | null;
|
|
1420
|
-
zenModeEnabled: boolean;
|
|
1421
|
-
theme: string;
|
|
1422
|
-
gridSize: number | null;
|
|
1423
|
-
viewModeEnabled: boolean;
|
|
1424
|
-
selectedGroupIds: {
|
|
1425
|
-
[groupId: string]: boolean;
|
|
1426
|
-
};
|
|
1427
|
-
editingGroupId: string | null;
|
|
1428
|
-
width: number;
|
|
1429
|
-
height: number;
|
|
1430
|
-
offsetTop: number;
|
|
1431
|
-
offsetLeft: number;
|
|
1432
|
-
isLibraryOpen: boolean;
|
|
1433
|
-
isLibraryMenuDocked: boolean;
|
|
1434
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1435
|
-
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
1436
|
-
showStats: boolean;
|
|
1437
|
-
currentChartType: import("../element/types").ChartType;
|
|
1438
|
-
pasteDialog: {
|
|
1439
|
-
shown: false;
|
|
1440
|
-
data: null;
|
|
1441
|
-
} | {
|
|
1442
|
-
shown: true;
|
|
1443
|
-
data: import("../charts").Spreadsheet;
|
|
1444
|
-
};
|
|
1445
|
-
pendingImageElementId: string | null;
|
|
1446
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1447
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1448
|
-
};
|
|
1449
|
-
commitToHistory: true;
|
|
1450
|
-
};
|
|
1451
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1452
|
-
} & {
|
|
1453
|
-
keyTest?: undefined;
|
|
1454
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AppState } from "../../src/types";
|
|
3
|
+
import { Arrowhead, ExcalidrawElement, ExcalidrawLinearElement, TextAlign } from "../element/types";
|
|
4
|
+
export declare const actionChangeStrokeColor: {
|
|
5
|
+
name: "changeStrokeColor";
|
|
6
|
+
trackEvent: false;
|
|
7
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
8
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
9
|
+
} & {
|
|
10
|
+
keyTest?: undefined;
|
|
11
|
+
};
|
|
12
|
+
export declare const actionChangeBackgroundColor: {
|
|
13
|
+
name: "changeBackgroundColor";
|
|
14
|
+
trackEvent: false;
|
|
15
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
16
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
17
|
+
} & {
|
|
18
|
+
keyTest?: undefined;
|
|
19
|
+
};
|
|
20
|
+
export declare const actionChangeFillStyle: {
|
|
21
|
+
name: "changeFillStyle";
|
|
22
|
+
trackEvent: false;
|
|
23
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
24
|
+
elements: ExcalidrawElement[];
|
|
25
|
+
appState: {
|
|
26
|
+
currentItemFillStyle: any;
|
|
27
|
+
isLoading: boolean;
|
|
28
|
+
errorMessage: string | null;
|
|
29
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
30
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
31
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
32
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
33
|
+
isBindingEnabled: boolean;
|
|
34
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
35
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
36
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
37
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
38
|
+
activeTool: {
|
|
39
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
40
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
41
|
+
locked: boolean;
|
|
42
|
+
customType: null;
|
|
43
|
+
} | {
|
|
44
|
+
type: "custom";
|
|
45
|
+
customType: string;
|
|
46
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
47
|
+
locked: boolean;
|
|
48
|
+
};
|
|
49
|
+
penMode: boolean;
|
|
50
|
+
penDetected: boolean;
|
|
51
|
+
exportBackground: boolean;
|
|
52
|
+
exportEmbedScene: boolean;
|
|
53
|
+
exportWithDarkMode: boolean;
|
|
54
|
+
exportScale: number;
|
|
55
|
+
currentItemStrokeColor: string;
|
|
56
|
+
currentItemBackgroundColor: string;
|
|
57
|
+
currentItemStrokeWidth: number;
|
|
58
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
59
|
+
currentItemRoughness: number;
|
|
60
|
+
currentItemOpacity: number;
|
|
61
|
+
currentItemFontFamily: number;
|
|
62
|
+
currentItemFontSize: number;
|
|
63
|
+
currentItemTextAlign: TextAlign;
|
|
64
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
65
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
66
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
67
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
68
|
+
viewBackgroundColor: string;
|
|
69
|
+
scrollX: number;
|
|
70
|
+
scrollY: number;
|
|
71
|
+
cursorButton: "up" | "down";
|
|
72
|
+
scrolledOutside: boolean;
|
|
73
|
+
name: string;
|
|
74
|
+
isResizing: boolean;
|
|
75
|
+
isRotating: boolean;
|
|
76
|
+
zoom: Readonly<{
|
|
77
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
78
|
+
}>;
|
|
79
|
+
openMenu: "canvas" | "shape" | null;
|
|
80
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
81
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
82
|
+
selectedElementIds: {
|
|
83
|
+
[id: string]: boolean;
|
|
84
|
+
};
|
|
85
|
+
previousSelectedElementIds: {
|
|
86
|
+
[id: string]: boolean;
|
|
87
|
+
};
|
|
88
|
+
shouldCacheIgnoreZoom: boolean;
|
|
89
|
+
showHelpDialog: boolean;
|
|
90
|
+
toast: {
|
|
91
|
+
message: string;
|
|
92
|
+
closable?: boolean | undefined;
|
|
93
|
+
duration?: number | undefined;
|
|
94
|
+
} | null;
|
|
95
|
+
zenModeEnabled: boolean;
|
|
96
|
+
theme: string;
|
|
97
|
+
gridSize: number | null;
|
|
98
|
+
viewModeEnabled: boolean;
|
|
99
|
+
selectedGroupIds: {
|
|
100
|
+
[groupId: string]: boolean;
|
|
101
|
+
};
|
|
102
|
+
editingGroupId: string | null;
|
|
103
|
+
width: number;
|
|
104
|
+
height: number;
|
|
105
|
+
offsetTop: number;
|
|
106
|
+
offsetLeft: number;
|
|
107
|
+
isLibraryOpen: boolean;
|
|
108
|
+
isLibraryMenuDocked: boolean;
|
|
109
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
110
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
111
|
+
showStats: boolean;
|
|
112
|
+
currentChartType: import("../element/types").ChartType;
|
|
113
|
+
pasteDialog: {
|
|
114
|
+
shown: false;
|
|
115
|
+
data: null;
|
|
116
|
+
} | {
|
|
117
|
+
shown: true;
|
|
118
|
+
data: import("../charts").Spreadsheet;
|
|
119
|
+
};
|
|
120
|
+
pendingImageElementId: string | null;
|
|
121
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
122
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
123
|
+
};
|
|
124
|
+
commitToHistory: true;
|
|
125
|
+
};
|
|
126
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
127
|
+
} & {
|
|
128
|
+
keyTest?: undefined;
|
|
129
|
+
};
|
|
130
|
+
export declare const actionChangeStrokeWidth: {
|
|
131
|
+
name: "changeStrokeWidth";
|
|
132
|
+
trackEvent: false;
|
|
133
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
134
|
+
elements: ExcalidrawElement[];
|
|
135
|
+
appState: {
|
|
136
|
+
currentItemStrokeWidth: any;
|
|
137
|
+
isLoading: boolean;
|
|
138
|
+
errorMessage: string | null;
|
|
139
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
140
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
141
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
142
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
143
|
+
isBindingEnabled: boolean;
|
|
144
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
145
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
146
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
147
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
148
|
+
activeTool: {
|
|
149
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
150
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
151
|
+
locked: boolean;
|
|
152
|
+
customType: null;
|
|
153
|
+
} | {
|
|
154
|
+
type: "custom";
|
|
155
|
+
customType: string;
|
|
156
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
157
|
+
locked: boolean;
|
|
158
|
+
};
|
|
159
|
+
penMode: boolean;
|
|
160
|
+
penDetected: boolean;
|
|
161
|
+
exportBackground: boolean;
|
|
162
|
+
exportEmbedScene: boolean;
|
|
163
|
+
exportWithDarkMode: boolean;
|
|
164
|
+
exportScale: number;
|
|
165
|
+
currentItemStrokeColor: string;
|
|
166
|
+
currentItemBackgroundColor: string;
|
|
167
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
168
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
169
|
+
currentItemRoughness: number;
|
|
170
|
+
currentItemOpacity: number;
|
|
171
|
+
currentItemFontFamily: number;
|
|
172
|
+
currentItemFontSize: number;
|
|
173
|
+
currentItemTextAlign: TextAlign;
|
|
174
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
175
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
176
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
177
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
178
|
+
viewBackgroundColor: string;
|
|
179
|
+
scrollX: number;
|
|
180
|
+
scrollY: number;
|
|
181
|
+
cursorButton: "up" | "down";
|
|
182
|
+
scrolledOutside: boolean;
|
|
183
|
+
name: string;
|
|
184
|
+
isResizing: boolean;
|
|
185
|
+
isRotating: boolean;
|
|
186
|
+
zoom: Readonly<{
|
|
187
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
188
|
+
}>;
|
|
189
|
+
openMenu: "canvas" | "shape" | null;
|
|
190
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
191
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
192
|
+
selectedElementIds: {
|
|
193
|
+
[id: string]: boolean;
|
|
194
|
+
};
|
|
195
|
+
previousSelectedElementIds: {
|
|
196
|
+
[id: string]: boolean;
|
|
197
|
+
};
|
|
198
|
+
shouldCacheIgnoreZoom: boolean;
|
|
199
|
+
showHelpDialog: boolean;
|
|
200
|
+
toast: {
|
|
201
|
+
message: string;
|
|
202
|
+
closable?: boolean | undefined;
|
|
203
|
+
duration?: number | undefined;
|
|
204
|
+
} | null;
|
|
205
|
+
zenModeEnabled: boolean;
|
|
206
|
+
theme: string;
|
|
207
|
+
gridSize: number | null;
|
|
208
|
+
viewModeEnabled: boolean;
|
|
209
|
+
selectedGroupIds: {
|
|
210
|
+
[groupId: string]: boolean;
|
|
211
|
+
};
|
|
212
|
+
editingGroupId: string | null;
|
|
213
|
+
width: number;
|
|
214
|
+
height: number;
|
|
215
|
+
offsetTop: number;
|
|
216
|
+
offsetLeft: number;
|
|
217
|
+
isLibraryOpen: boolean;
|
|
218
|
+
isLibraryMenuDocked: boolean;
|
|
219
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
220
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
221
|
+
showStats: boolean;
|
|
222
|
+
currentChartType: import("../element/types").ChartType;
|
|
223
|
+
pasteDialog: {
|
|
224
|
+
shown: false;
|
|
225
|
+
data: null;
|
|
226
|
+
} | {
|
|
227
|
+
shown: true;
|
|
228
|
+
data: import("../charts").Spreadsheet;
|
|
229
|
+
};
|
|
230
|
+
pendingImageElementId: string | null;
|
|
231
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
232
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
233
|
+
};
|
|
234
|
+
commitToHistory: true;
|
|
235
|
+
};
|
|
236
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
237
|
+
} & {
|
|
238
|
+
keyTest?: undefined;
|
|
239
|
+
};
|
|
240
|
+
export declare const actionChangeSloppiness: {
|
|
241
|
+
name: "changeSloppiness";
|
|
242
|
+
trackEvent: false;
|
|
243
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
244
|
+
elements: ExcalidrawElement[];
|
|
245
|
+
appState: {
|
|
246
|
+
currentItemRoughness: any;
|
|
247
|
+
isLoading: boolean;
|
|
248
|
+
errorMessage: string | null;
|
|
249
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
250
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
251
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
252
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
253
|
+
isBindingEnabled: boolean;
|
|
254
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
255
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
256
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
257
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
258
|
+
activeTool: {
|
|
259
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
260
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
261
|
+
locked: boolean;
|
|
262
|
+
customType: null;
|
|
263
|
+
} | {
|
|
264
|
+
type: "custom";
|
|
265
|
+
customType: string;
|
|
266
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
267
|
+
locked: boolean;
|
|
268
|
+
};
|
|
269
|
+
penMode: boolean;
|
|
270
|
+
penDetected: boolean;
|
|
271
|
+
exportBackground: boolean;
|
|
272
|
+
exportEmbedScene: boolean;
|
|
273
|
+
exportWithDarkMode: boolean;
|
|
274
|
+
exportScale: number;
|
|
275
|
+
currentItemStrokeColor: string;
|
|
276
|
+
currentItemBackgroundColor: string;
|
|
277
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
278
|
+
currentItemStrokeWidth: number;
|
|
279
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
280
|
+
currentItemOpacity: number;
|
|
281
|
+
currentItemFontFamily: number;
|
|
282
|
+
currentItemFontSize: number;
|
|
283
|
+
currentItemTextAlign: TextAlign;
|
|
284
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
285
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
286
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
287
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
288
|
+
viewBackgroundColor: string;
|
|
289
|
+
scrollX: number;
|
|
290
|
+
scrollY: number;
|
|
291
|
+
cursorButton: "up" | "down";
|
|
292
|
+
scrolledOutside: boolean;
|
|
293
|
+
name: string;
|
|
294
|
+
isResizing: boolean;
|
|
295
|
+
isRotating: boolean;
|
|
296
|
+
zoom: Readonly<{
|
|
297
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
298
|
+
}>;
|
|
299
|
+
openMenu: "canvas" | "shape" | null;
|
|
300
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
301
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
302
|
+
selectedElementIds: {
|
|
303
|
+
[id: string]: boolean;
|
|
304
|
+
};
|
|
305
|
+
previousSelectedElementIds: {
|
|
306
|
+
[id: string]: boolean;
|
|
307
|
+
};
|
|
308
|
+
shouldCacheIgnoreZoom: boolean;
|
|
309
|
+
showHelpDialog: boolean;
|
|
310
|
+
toast: {
|
|
311
|
+
message: string;
|
|
312
|
+
closable?: boolean | undefined;
|
|
313
|
+
duration?: number | undefined;
|
|
314
|
+
} | null;
|
|
315
|
+
zenModeEnabled: boolean;
|
|
316
|
+
theme: string;
|
|
317
|
+
gridSize: number | null;
|
|
318
|
+
viewModeEnabled: boolean;
|
|
319
|
+
selectedGroupIds: {
|
|
320
|
+
[groupId: string]: boolean;
|
|
321
|
+
};
|
|
322
|
+
editingGroupId: string | null;
|
|
323
|
+
width: number;
|
|
324
|
+
height: number;
|
|
325
|
+
offsetTop: number;
|
|
326
|
+
offsetLeft: number;
|
|
327
|
+
isLibraryOpen: boolean;
|
|
328
|
+
isLibraryMenuDocked: boolean;
|
|
329
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
330
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
331
|
+
showStats: boolean;
|
|
332
|
+
currentChartType: import("../element/types").ChartType;
|
|
333
|
+
pasteDialog: {
|
|
334
|
+
shown: false;
|
|
335
|
+
data: null;
|
|
336
|
+
} | {
|
|
337
|
+
shown: true;
|
|
338
|
+
data: import("../charts").Spreadsheet;
|
|
339
|
+
};
|
|
340
|
+
pendingImageElementId: string | null;
|
|
341
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
342
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
343
|
+
};
|
|
344
|
+
commitToHistory: true;
|
|
345
|
+
};
|
|
346
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
347
|
+
} & {
|
|
348
|
+
keyTest?: undefined;
|
|
349
|
+
};
|
|
350
|
+
export declare const actionChangeStrokeStyle: {
|
|
351
|
+
name: "changeStrokeStyle";
|
|
352
|
+
trackEvent: false;
|
|
353
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
354
|
+
elements: ExcalidrawElement[];
|
|
355
|
+
appState: {
|
|
356
|
+
currentItemStrokeStyle: any;
|
|
357
|
+
isLoading: boolean;
|
|
358
|
+
errorMessage: string | null;
|
|
359
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
360
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
361
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
362
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
363
|
+
isBindingEnabled: boolean;
|
|
364
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
365
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
366
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
367
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
368
|
+
activeTool: {
|
|
369
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
370
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
371
|
+
locked: boolean;
|
|
372
|
+
customType: null;
|
|
373
|
+
} | {
|
|
374
|
+
type: "custom";
|
|
375
|
+
customType: string;
|
|
376
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
377
|
+
locked: boolean;
|
|
378
|
+
};
|
|
379
|
+
penMode: boolean;
|
|
380
|
+
penDetected: boolean;
|
|
381
|
+
exportBackground: boolean;
|
|
382
|
+
exportEmbedScene: boolean;
|
|
383
|
+
exportWithDarkMode: boolean;
|
|
384
|
+
exportScale: number;
|
|
385
|
+
currentItemStrokeColor: string;
|
|
386
|
+
currentItemBackgroundColor: string;
|
|
387
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
388
|
+
currentItemStrokeWidth: number;
|
|
389
|
+
currentItemRoughness: number;
|
|
390
|
+
currentItemOpacity: number;
|
|
391
|
+
currentItemFontFamily: number;
|
|
392
|
+
currentItemFontSize: number;
|
|
393
|
+
currentItemTextAlign: TextAlign;
|
|
394
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
395
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
396
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
397
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
398
|
+
viewBackgroundColor: string;
|
|
399
|
+
scrollX: number;
|
|
400
|
+
scrollY: number;
|
|
401
|
+
cursorButton: "up" | "down";
|
|
402
|
+
scrolledOutside: boolean;
|
|
403
|
+
name: string;
|
|
404
|
+
isResizing: boolean;
|
|
405
|
+
isRotating: boolean;
|
|
406
|
+
zoom: Readonly<{
|
|
407
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
408
|
+
}>;
|
|
409
|
+
openMenu: "canvas" | "shape" | null;
|
|
410
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
411
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
412
|
+
selectedElementIds: {
|
|
413
|
+
[id: string]: boolean;
|
|
414
|
+
};
|
|
415
|
+
previousSelectedElementIds: {
|
|
416
|
+
[id: string]: boolean;
|
|
417
|
+
};
|
|
418
|
+
shouldCacheIgnoreZoom: boolean;
|
|
419
|
+
showHelpDialog: boolean;
|
|
420
|
+
toast: {
|
|
421
|
+
message: string;
|
|
422
|
+
closable?: boolean | undefined;
|
|
423
|
+
duration?: number | undefined;
|
|
424
|
+
} | null;
|
|
425
|
+
zenModeEnabled: boolean;
|
|
426
|
+
theme: string;
|
|
427
|
+
gridSize: number | null;
|
|
428
|
+
viewModeEnabled: boolean;
|
|
429
|
+
selectedGroupIds: {
|
|
430
|
+
[groupId: string]: boolean;
|
|
431
|
+
};
|
|
432
|
+
editingGroupId: string | null;
|
|
433
|
+
width: number;
|
|
434
|
+
height: number;
|
|
435
|
+
offsetTop: number;
|
|
436
|
+
offsetLeft: number;
|
|
437
|
+
isLibraryOpen: boolean;
|
|
438
|
+
isLibraryMenuDocked: boolean;
|
|
439
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
440
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
441
|
+
showStats: boolean;
|
|
442
|
+
currentChartType: import("../element/types").ChartType;
|
|
443
|
+
pasteDialog: {
|
|
444
|
+
shown: false;
|
|
445
|
+
data: null;
|
|
446
|
+
} | {
|
|
447
|
+
shown: true;
|
|
448
|
+
data: import("../charts").Spreadsheet;
|
|
449
|
+
};
|
|
450
|
+
pendingImageElementId: string | null;
|
|
451
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
452
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
453
|
+
};
|
|
454
|
+
commitToHistory: true;
|
|
455
|
+
};
|
|
456
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
457
|
+
} & {
|
|
458
|
+
keyTest?: undefined;
|
|
459
|
+
};
|
|
460
|
+
export declare const actionChangeOpacity: {
|
|
461
|
+
name: "changeOpacity";
|
|
462
|
+
trackEvent: false;
|
|
463
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
464
|
+
elements: ExcalidrawElement[];
|
|
465
|
+
appState: {
|
|
466
|
+
currentItemOpacity: any;
|
|
467
|
+
isLoading: boolean;
|
|
468
|
+
errorMessage: string | null;
|
|
469
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
470
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
471
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
472
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
473
|
+
isBindingEnabled: boolean;
|
|
474
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
475
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
476
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
477
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
478
|
+
activeTool: {
|
|
479
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
480
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
481
|
+
locked: boolean;
|
|
482
|
+
customType: null;
|
|
483
|
+
} | {
|
|
484
|
+
type: "custom";
|
|
485
|
+
customType: string;
|
|
486
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
487
|
+
locked: boolean;
|
|
488
|
+
};
|
|
489
|
+
penMode: boolean;
|
|
490
|
+
penDetected: boolean;
|
|
491
|
+
exportBackground: boolean;
|
|
492
|
+
exportEmbedScene: boolean;
|
|
493
|
+
exportWithDarkMode: boolean;
|
|
494
|
+
exportScale: number;
|
|
495
|
+
currentItemStrokeColor: string;
|
|
496
|
+
currentItemBackgroundColor: string;
|
|
497
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
498
|
+
currentItemStrokeWidth: number;
|
|
499
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
500
|
+
currentItemRoughness: number;
|
|
501
|
+
currentItemFontFamily: number;
|
|
502
|
+
currentItemFontSize: number;
|
|
503
|
+
currentItemTextAlign: TextAlign;
|
|
504
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
505
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
506
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
507
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
508
|
+
viewBackgroundColor: string;
|
|
509
|
+
scrollX: number;
|
|
510
|
+
scrollY: number;
|
|
511
|
+
cursorButton: "up" | "down";
|
|
512
|
+
scrolledOutside: boolean;
|
|
513
|
+
name: string;
|
|
514
|
+
isResizing: boolean;
|
|
515
|
+
isRotating: boolean;
|
|
516
|
+
zoom: Readonly<{
|
|
517
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
518
|
+
}>;
|
|
519
|
+
openMenu: "canvas" | "shape" | null;
|
|
520
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
521
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
522
|
+
selectedElementIds: {
|
|
523
|
+
[id: string]: boolean;
|
|
524
|
+
};
|
|
525
|
+
previousSelectedElementIds: {
|
|
526
|
+
[id: string]: boolean;
|
|
527
|
+
};
|
|
528
|
+
shouldCacheIgnoreZoom: boolean;
|
|
529
|
+
showHelpDialog: boolean;
|
|
530
|
+
toast: {
|
|
531
|
+
message: string;
|
|
532
|
+
closable?: boolean | undefined;
|
|
533
|
+
duration?: number | undefined;
|
|
534
|
+
} | null;
|
|
535
|
+
zenModeEnabled: boolean;
|
|
536
|
+
theme: string;
|
|
537
|
+
gridSize: number | null;
|
|
538
|
+
viewModeEnabled: boolean;
|
|
539
|
+
selectedGroupIds: {
|
|
540
|
+
[groupId: string]: boolean;
|
|
541
|
+
};
|
|
542
|
+
editingGroupId: string | null;
|
|
543
|
+
width: number;
|
|
544
|
+
height: number;
|
|
545
|
+
offsetTop: number;
|
|
546
|
+
offsetLeft: number;
|
|
547
|
+
isLibraryOpen: boolean;
|
|
548
|
+
isLibraryMenuDocked: boolean;
|
|
549
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
550
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
551
|
+
showStats: boolean;
|
|
552
|
+
currentChartType: import("../element/types").ChartType;
|
|
553
|
+
pasteDialog: {
|
|
554
|
+
shown: false;
|
|
555
|
+
data: null;
|
|
556
|
+
} | {
|
|
557
|
+
shown: true;
|
|
558
|
+
data: import("../charts").Spreadsheet;
|
|
559
|
+
};
|
|
560
|
+
pendingImageElementId: string | null;
|
|
561
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
562
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
563
|
+
};
|
|
564
|
+
commitToHistory: true;
|
|
565
|
+
};
|
|
566
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
567
|
+
} & {
|
|
568
|
+
keyTest?: undefined;
|
|
569
|
+
};
|
|
570
|
+
export declare const actionChangeFontSize: {
|
|
571
|
+
name: "changeFontSize";
|
|
572
|
+
trackEvent: false;
|
|
573
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
574
|
+
elements: ExcalidrawElement[];
|
|
575
|
+
appState: {
|
|
576
|
+
currentItemFontSize: number;
|
|
577
|
+
isLoading: boolean;
|
|
578
|
+
errorMessage: string | null;
|
|
579
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
580
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
581
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
582
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
583
|
+
isBindingEnabled: boolean;
|
|
584
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
585
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
586
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
587
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
588
|
+
activeTool: {
|
|
589
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
590
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
591
|
+
locked: boolean;
|
|
592
|
+
customType: null;
|
|
593
|
+
} | {
|
|
594
|
+
type: "custom";
|
|
595
|
+
customType: string;
|
|
596
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
597
|
+
locked: boolean;
|
|
598
|
+
};
|
|
599
|
+
penMode: boolean;
|
|
600
|
+
penDetected: boolean;
|
|
601
|
+
exportBackground: boolean;
|
|
602
|
+
exportEmbedScene: boolean;
|
|
603
|
+
exportWithDarkMode: boolean;
|
|
604
|
+
exportScale: number;
|
|
605
|
+
currentItemStrokeColor: string;
|
|
606
|
+
currentItemBackgroundColor: string;
|
|
607
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
608
|
+
currentItemStrokeWidth: number;
|
|
609
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
610
|
+
currentItemRoughness: number;
|
|
611
|
+
currentItemOpacity: number;
|
|
612
|
+
currentItemFontFamily: number;
|
|
613
|
+
currentItemTextAlign: TextAlign;
|
|
614
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
615
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
616
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
617
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
618
|
+
viewBackgroundColor: string;
|
|
619
|
+
scrollX: number;
|
|
620
|
+
scrollY: number;
|
|
621
|
+
cursorButton: "up" | "down";
|
|
622
|
+
scrolledOutside: boolean;
|
|
623
|
+
name: string;
|
|
624
|
+
isResizing: boolean;
|
|
625
|
+
isRotating: boolean;
|
|
626
|
+
zoom: Readonly<{
|
|
627
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
628
|
+
}>;
|
|
629
|
+
openMenu: "canvas" | "shape" | null;
|
|
630
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
631
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
632
|
+
selectedElementIds: {
|
|
633
|
+
[id: string]: boolean;
|
|
634
|
+
};
|
|
635
|
+
previousSelectedElementIds: {
|
|
636
|
+
[id: string]: boolean;
|
|
637
|
+
};
|
|
638
|
+
shouldCacheIgnoreZoom: boolean;
|
|
639
|
+
showHelpDialog: boolean;
|
|
640
|
+
toast: {
|
|
641
|
+
message: string;
|
|
642
|
+
closable?: boolean | undefined;
|
|
643
|
+
duration?: number | undefined;
|
|
644
|
+
} | null;
|
|
645
|
+
zenModeEnabled: boolean;
|
|
646
|
+
theme: string;
|
|
647
|
+
gridSize: number | null;
|
|
648
|
+
viewModeEnabled: boolean;
|
|
649
|
+
selectedGroupIds: {
|
|
650
|
+
[groupId: string]: boolean;
|
|
651
|
+
};
|
|
652
|
+
editingGroupId: string | null;
|
|
653
|
+
width: number;
|
|
654
|
+
height: number;
|
|
655
|
+
offsetTop: number;
|
|
656
|
+
offsetLeft: number;
|
|
657
|
+
isLibraryOpen: boolean;
|
|
658
|
+
isLibraryMenuDocked: boolean;
|
|
659
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
660
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
661
|
+
showStats: boolean;
|
|
662
|
+
currentChartType: import("../element/types").ChartType;
|
|
663
|
+
pasteDialog: {
|
|
664
|
+
shown: false;
|
|
665
|
+
data: null;
|
|
666
|
+
} | {
|
|
667
|
+
shown: true;
|
|
668
|
+
data: import("../charts").Spreadsheet;
|
|
669
|
+
};
|
|
670
|
+
pendingImageElementId: string | null;
|
|
671
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
672
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
673
|
+
};
|
|
674
|
+
commitToHistory: boolean;
|
|
675
|
+
};
|
|
676
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
677
|
+
} & {
|
|
678
|
+
keyTest?: undefined;
|
|
679
|
+
};
|
|
680
|
+
export declare const actionDecreaseFontSize: {
|
|
681
|
+
name: "decreaseFontSize";
|
|
682
|
+
trackEvent: false;
|
|
683
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
684
|
+
elements: ExcalidrawElement[];
|
|
685
|
+
appState: {
|
|
686
|
+
currentItemFontSize: number;
|
|
687
|
+
isLoading: boolean;
|
|
688
|
+
errorMessage: string | null;
|
|
689
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
690
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
691
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
692
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
693
|
+
isBindingEnabled: boolean;
|
|
694
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
695
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
696
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
697
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
698
|
+
activeTool: {
|
|
699
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
700
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
701
|
+
locked: boolean;
|
|
702
|
+
customType: null;
|
|
703
|
+
} | {
|
|
704
|
+
type: "custom";
|
|
705
|
+
customType: string;
|
|
706
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
707
|
+
locked: boolean;
|
|
708
|
+
};
|
|
709
|
+
penMode: boolean;
|
|
710
|
+
penDetected: boolean;
|
|
711
|
+
exportBackground: boolean;
|
|
712
|
+
exportEmbedScene: boolean;
|
|
713
|
+
exportWithDarkMode: boolean;
|
|
714
|
+
exportScale: number;
|
|
715
|
+
currentItemStrokeColor: string;
|
|
716
|
+
currentItemBackgroundColor: string;
|
|
717
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
718
|
+
currentItemStrokeWidth: number;
|
|
719
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
720
|
+
currentItemRoughness: number;
|
|
721
|
+
currentItemOpacity: number;
|
|
722
|
+
currentItemFontFamily: number;
|
|
723
|
+
currentItemTextAlign: TextAlign;
|
|
724
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
725
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
726
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
727
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
728
|
+
viewBackgroundColor: string;
|
|
729
|
+
scrollX: number;
|
|
730
|
+
scrollY: number;
|
|
731
|
+
cursorButton: "up" | "down";
|
|
732
|
+
scrolledOutside: boolean;
|
|
733
|
+
name: string;
|
|
734
|
+
isResizing: boolean;
|
|
735
|
+
isRotating: boolean;
|
|
736
|
+
zoom: Readonly<{
|
|
737
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
738
|
+
}>;
|
|
739
|
+
openMenu: "canvas" | "shape" | null;
|
|
740
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
741
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
742
|
+
selectedElementIds: {
|
|
743
|
+
[id: string]: boolean;
|
|
744
|
+
};
|
|
745
|
+
previousSelectedElementIds: {
|
|
746
|
+
[id: string]: boolean;
|
|
747
|
+
};
|
|
748
|
+
shouldCacheIgnoreZoom: boolean;
|
|
749
|
+
showHelpDialog: boolean;
|
|
750
|
+
toast: {
|
|
751
|
+
message: string;
|
|
752
|
+
closable?: boolean | undefined;
|
|
753
|
+
duration?: number | undefined;
|
|
754
|
+
} | null;
|
|
755
|
+
zenModeEnabled: boolean;
|
|
756
|
+
theme: string;
|
|
757
|
+
gridSize: number | null;
|
|
758
|
+
viewModeEnabled: boolean;
|
|
759
|
+
selectedGroupIds: {
|
|
760
|
+
[groupId: string]: boolean;
|
|
761
|
+
};
|
|
762
|
+
editingGroupId: string | null;
|
|
763
|
+
width: number;
|
|
764
|
+
height: number;
|
|
765
|
+
offsetTop: number;
|
|
766
|
+
offsetLeft: number;
|
|
767
|
+
isLibraryOpen: boolean;
|
|
768
|
+
isLibraryMenuDocked: boolean;
|
|
769
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
770
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
771
|
+
showStats: boolean;
|
|
772
|
+
currentChartType: import("../element/types").ChartType;
|
|
773
|
+
pasteDialog: {
|
|
774
|
+
shown: false;
|
|
775
|
+
data: null;
|
|
776
|
+
} | {
|
|
777
|
+
shown: true;
|
|
778
|
+
data: import("../charts").Spreadsheet;
|
|
779
|
+
};
|
|
780
|
+
pendingImageElementId: string | null;
|
|
781
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
782
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
783
|
+
};
|
|
784
|
+
commitToHistory: boolean;
|
|
785
|
+
};
|
|
786
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
787
|
+
} & {
|
|
788
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
789
|
+
};
|
|
790
|
+
export declare const actionIncreaseFontSize: {
|
|
791
|
+
name: "increaseFontSize";
|
|
792
|
+
trackEvent: false;
|
|
793
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
794
|
+
elements: ExcalidrawElement[];
|
|
795
|
+
appState: {
|
|
796
|
+
currentItemFontSize: number;
|
|
797
|
+
isLoading: boolean;
|
|
798
|
+
errorMessage: string | null;
|
|
799
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
800
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
801
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
802
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
803
|
+
isBindingEnabled: boolean;
|
|
804
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
805
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
806
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
807
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
808
|
+
activeTool: {
|
|
809
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
810
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
811
|
+
locked: boolean;
|
|
812
|
+
customType: null;
|
|
813
|
+
} | {
|
|
814
|
+
type: "custom";
|
|
815
|
+
customType: string;
|
|
816
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
817
|
+
locked: boolean;
|
|
818
|
+
};
|
|
819
|
+
penMode: boolean;
|
|
820
|
+
penDetected: boolean;
|
|
821
|
+
exportBackground: boolean;
|
|
822
|
+
exportEmbedScene: boolean;
|
|
823
|
+
exportWithDarkMode: boolean;
|
|
824
|
+
exportScale: number;
|
|
825
|
+
currentItemStrokeColor: string;
|
|
826
|
+
currentItemBackgroundColor: string;
|
|
827
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
828
|
+
currentItemStrokeWidth: number;
|
|
829
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
830
|
+
currentItemRoughness: number;
|
|
831
|
+
currentItemOpacity: number;
|
|
832
|
+
currentItemFontFamily: number;
|
|
833
|
+
currentItemTextAlign: TextAlign;
|
|
834
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
835
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
836
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
837
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
838
|
+
viewBackgroundColor: string;
|
|
839
|
+
scrollX: number;
|
|
840
|
+
scrollY: number;
|
|
841
|
+
cursorButton: "up" | "down";
|
|
842
|
+
scrolledOutside: boolean;
|
|
843
|
+
name: string;
|
|
844
|
+
isResizing: boolean;
|
|
845
|
+
isRotating: boolean;
|
|
846
|
+
zoom: Readonly<{
|
|
847
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
848
|
+
}>;
|
|
849
|
+
openMenu: "canvas" | "shape" | null;
|
|
850
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
851
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
852
|
+
selectedElementIds: {
|
|
853
|
+
[id: string]: boolean;
|
|
854
|
+
};
|
|
855
|
+
previousSelectedElementIds: {
|
|
856
|
+
[id: string]: boolean;
|
|
857
|
+
};
|
|
858
|
+
shouldCacheIgnoreZoom: boolean;
|
|
859
|
+
showHelpDialog: boolean;
|
|
860
|
+
toast: {
|
|
861
|
+
message: string;
|
|
862
|
+
closable?: boolean | undefined;
|
|
863
|
+
duration?: number | undefined;
|
|
864
|
+
} | null;
|
|
865
|
+
zenModeEnabled: boolean;
|
|
866
|
+
theme: string;
|
|
867
|
+
gridSize: number | null;
|
|
868
|
+
viewModeEnabled: boolean;
|
|
869
|
+
selectedGroupIds: {
|
|
870
|
+
[groupId: string]: boolean;
|
|
871
|
+
};
|
|
872
|
+
editingGroupId: string | null;
|
|
873
|
+
width: number;
|
|
874
|
+
height: number;
|
|
875
|
+
offsetTop: number;
|
|
876
|
+
offsetLeft: number;
|
|
877
|
+
isLibraryOpen: boolean;
|
|
878
|
+
isLibraryMenuDocked: boolean;
|
|
879
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
880
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
881
|
+
showStats: boolean;
|
|
882
|
+
currentChartType: import("../element/types").ChartType;
|
|
883
|
+
pasteDialog: {
|
|
884
|
+
shown: false;
|
|
885
|
+
data: null;
|
|
886
|
+
} | {
|
|
887
|
+
shown: true;
|
|
888
|
+
data: import("../charts").Spreadsheet;
|
|
889
|
+
};
|
|
890
|
+
pendingImageElementId: string | null;
|
|
891
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
892
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
893
|
+
};
|
|
894
|
+
commitToHistory: boolean;
|
|
895
|
+
};
|
|
896
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
897
|
+
} & {
|
|
898
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
899
|
+
};
|
|
900
|
+
export declare const actionChangeFontFamily: {
|
|
901
|
+
name: "changeFontFamily";
|
|
902
|
+
trackEvent: false;
|
|
903
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
904
|
+
elements: ExcalidrawElement[];
|
|
905
|
+
appState: {
|
|
906
|
+
currentItemFontFamily: any;
|
|
907
|
+
isLoading: boolean;
|
|
908
|
+
errorMessage: string | null;
|
|
909
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
910
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
911
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
912
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
913
|
+
isBindingEnabled: boolean;
|
|
914
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
915
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
916
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
917
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
918
|
+
activeTool: {
|
|
919
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
920
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
921
|
+
locked: boolean;
|
|
922
|
+
customType: null;
|
|
923
|
+
} | {
|
|
924
|
+
type: "custom";
|
|
925
|
+
customType: string;
|
|
926
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
927
|
+
locked: boolean;
|
|
928
|
+
};
|
|
929
|
+
penMode: boolean;
|
|
930
|
+
penDetected: boolean;
|
|
931
|
+
exportBackground: boolean;
|
|
932
|
+
exportEmbedScene: boolean;
|
|
933
|
+
exportWithDarkMode: boolean;
|
|
934
|
+
exportScale: number;
|
|
935
|
+
currentItemStrokeColor: string;
|
|
936
|
+
currentItemBackgroundColor: string;
|
|
937
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
938
|
+
currentItemStrokeWidth: number;
|
|
939
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
940
|
+
currentItemRoughness: number;
|
|
941
|
+
currentItemOpacity: number;
|
|
942
|
+
currentItemFontSize: number;
|
|
943
|
+
currentItemTextAlign: TextAlign;
|
|
944
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
945
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
946
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
947
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
948
|
+
viewBackgroundColor: string;
|
|
949
|
+
scrollX: number;
|
|
950
|
+
scrollY: number;
|
|
951
|
+
cursorButton: "up" | "down";
|
|
952
|
+
scrolledOutside: boolean;
|
|
953
|
+
name: string;
|
|
954
|
+
isResizing: boolean;
|
|
955
|
+
isRotating: boolean;
|
|
956
|
+
zoom: Readonly<{
|
|
957
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
958
|
+
}>;
|
|
959
|
+
openMenu: "canvas" | "shape" | null;
|
|
960
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
961
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
962
|
+
selectedElementIds: {
|
|
963
|
+
[id: string]: boolean;
|
|
964
|
+
};
|
|
965
|
+
previousSelectedElementIds: {
|
|
966
|
+
[id: string]: boolean;
|
|
967
|
+
};
|
|
968
|
+
shouldCacheIgnoreZoom: boolean;
|
|
969
|
+
showHelpDialog: boolean;
|
|
970
|
+
toast: {
|
|
971
|
+
message: string;
|
|
972
|
+
closable?: boolean | undefined;
|
|
973
|
+
duration?: number | undefined;
|
|
974
|
+
} | null;
|
|
975
|
+
zenModeEnabled: boolean;
|
|
976
|
+
theme: string;
|
|
977
|
+
gridSize: number | null;
|
|
978
|
+
viewModeEnabled: boolean;
|
|
979
|
+
selectedGroupIds: {
|
|
980
|
+
[groupId: string]: boolean;
|
|
981
|
+
};
|
|
982
|
+
editingGroupId: string | null;
|
|
983
|
+
width: number;
|
|
984
|
+
height: number;
|
|
985
|
+
offsetTop: number;
|
|
986
|
+
offsetLeft: number;
|
|
987
|
+
isLibraryOpen: boolean;
|
|
988
|
+
isLibraryMenuDocked: boolean;
|
|
989
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
990
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
991
|
+
showStats: boolean;
|
|
992
|
+
currentChartType: import("../element/types").ChartType;
|
|
993
|
+
pasteDialog: {
|
|
994
|
+
shown: false;
|
|
995
|
+
data: null;
|
|
996
|
+
} | {
|
|
997
|
+
shown: true;
|
|
998
|
+
data: import("../charts").Spreadsheet;
|
|
999
|
+
};
|
|
1000
|
+
pendingImageElementId: string | null;
|
|
1001
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1002
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1003
|
+
};
|
|
1004
|
+
commitToHistory: true;
|
|
1005
|
+
};
|
|
1006
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1007
|
+
} & {
|
|
1008
|
+
keyTest?: undefined;
|
|
1009
|
+
};
|
|
1010
|
+
export declare const actionChangeTextAlign: {
|
|
1011
|
+
name: "changeTextAlign";
|
|
1012
|
+
trackEvent: false;
|
|
1013
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1014
|
+
elements: ExcalidrawElement[];
|
|
1015
|
+
appState: {
|
|
1016
|
+
currentItemTextAlign: any;
|
|
1017
|
+
isLoading: boolean;
|
|
1018
|
+
errorMessage: string | null;
|
|
1019
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1020
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1021
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1022
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1023
|
+
isBindingEnabled: boolean;
|
|
1024
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1025
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1026
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1027
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1028
|
+
activeTool: {
|
|
1029
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
1030
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1031
|
+
locked: boolean;
|
|
1032
|
+
customType: null;
|
|
1033
|
+
} | {
|
|
1034
|
+
type: "custom";
|
|
1035
|
+
customType: string;
|
|
1036
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1037
|
+
locked: boolean;
|
|
1038
|
+
};
|
|
1039
|
+
penMode: boolean;
|
|
1040
|
+
penDetected: boolean;
|
|
1041
|
+
exportBackground: boolean;
|
|
1042
|
+
exportEmbedScene: boolean;
|
|
1043
|
+
exportWithDarkMode: boolean;
|
|
1044
|
+
exportScale: number;
|
|
1045
|
+
currentItemStrokeColor: string;
|
|
1046
|
+
currentItemBackgroundColor: string;
|
|
1047
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
1048
|
+
currentItemStrokeWidth: number;
|
|
1049
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
1050
|
+
currentItemRoughness: number;
|
|
1051
|
+
currentItemOpacity: number;
|
|
1052
|
+
currentItemFontFamily: number;
|
|
1053
|
+
currentItemFontSize: number;
|
|
1054
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1055
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
1056
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
1057
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1058
|
+
viewBackgroundColor: string;
|
|
1059
|
+
scrollX: number;
|
|
1060
|
+
scrollY: number;
|
|
1061
|
+
cursorButton: "up" | "down";
|
|
1062
|
+
scrolledOutside: boolean;
|
|
1063
|
+
name: string;
|
|
1064
|
+
isResizing: boolean;
|
|
1065
|
+
isRotating: boolean;
|
|
1066
|
+
zoom: Readonly<{
|
|
1067
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
1068
|
+
}>;
|
|
1069
|
+
openMenu: "canvas" | "shape" | null;
|
|
1070
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1071
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
1072
|
+
selectedElementIds: {
|
|
1073
|
+
[id: string]: boolean;
|
|
1074
|
+
};
|
|
1075
|
+
previousSelectedElementIds: {
|
|
1076
|
+
[id: string]: boolean;
|
|
1077
|
+
};
|
|
1078
|
+
shouldCacheIgnoreZoom: boolean;
|
|
1079
|
+
showHelpDialog: boolean;
|
|
1080
|
+
toast: {
|
|
1081
|
+
message: string;
|
|
1082
|
+
closable?: boolean | undefined;
|
|
1083
|
+
duration?: number | undefined;
|
|
1084
|
+
} | null;
|
|
1085
|
+
zenModeEnabled: boolean;
|
|
1086
|
+
theme: string;
|
|
1087
|
+
gridSize: number | null;
|
|
1088
|
+
viewModeEnabled: boolean;
|
|
1089
|
+
selectedGroupIds: {
|
|
1090
|
+
[groupId: string]: boolean;
|
|
1091
|
+
};
|
|
1092
|
+
editingGroupId: string | null;
|
|
1093
|
+
width: number;
|
|
1094
|
+
height: number;
|
|
1095
|
+
offsetTop: number;
|
|
1096
|
+
offsetLeft: number;
|
|
1097
|
+
isLibraryOpen: boolean;
|
|
1098
|
+
isLibraryMenuDocked: boolean;
|
|
1099
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1100
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
1101
|
+
showStats: boolean;
|
|
1102
|
+
currentChartType: import("../element/types").ChartType;
|
|
1103
|
+
pasteDialog: {
|
|
1104
|
+
shown: false;
|
|
1105
|
+
data: null;
|
|
1106
|
+
} | {
|
|
1107
|
+
shown: true;
|
|
1108
|
+
data: import("../charts").Spreadsheet;
|
|
1109
|
+
};
|
|
1110
|
+
pendingImageElementId: string | null;
|
|
1111
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1112
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1113
|
+
};
|
|
1114
|
+
commitToHistory: true;
|
|
1115
|
+
};
|
|
1116
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1117
|
+
} & {
|
|
1118
|
+
keyTest?: undefined;
|
|
1119
|
+
};
|
|
1120
|
+
export declare const actionChangeVerticalAlign: {
|
|
1121
|
+
name: "changeVerticalAlign";
|
|
1122
|
+
trackEvent: {
|
|
1123
|
+
category: "element";
|
|
1124
|
+
};
|
|
1125
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1126
|
+
elements: ExcalidrawElement[];
|
|
1127
|
+
appState: {
|
|
1128
|
+
isLoading: boolean;
|
|
1129
|
+
errorMessage: string | null;
|
|
1130
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1131
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1132
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1133
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1134
|
+
isBindingEnabled: boolean;
|
|
1135
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1136
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1137
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1138
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1139
|
+
activeTool: {
|
|
1140
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
1141
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1142
|
+
locked: boolean;
|
|
1143
|
+
customType: null;
|
|
1144
|
+
} | {
|
|
1145
|
+
type: "custom";
|
|
1146
|
+
customType: string;
|
|
1147
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1148
|
+
locked: boolean;
|
|
1149
|
+
};
|
|
1150
|
+
penMode: boolean;
|
|
1151
|
+
penDetected: boolean;
|
|
1152
|
+
exportBackground: boolean;
|
|
1153
|
+
exportEmbedScene: boolean;
|
|
1154
|
+
exportWithDarkMode: boolean;
|
|
1155
|
+
exportScale: number;
|
|
1156
|
+
currentItemStrokeColor: string;
|
|
1157
|
+
currentItemBackgroundColor: string;
|
|
1158
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
1159
|
+
currentItemStrokeWidth: number;
|
|
1160
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
1161
|
+
currentItemRoughness: number;
|
|
1162
|
+
currentItemOpacity: number;
|
|
1163
|
+
currentItemFontFamily: number;
|
|
1164
|
+
currentItemFontSize: number;
|
|
1165
|
+
currentItemTextAlign: TextAlign;
|
|
1166
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1167
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
1168
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
1169
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1170
|
+
viewBackgroundColor: string;
|
|
1171
|
+
scrollX: number;
|
|
1172
|
+
scrollY: number;
|
|
1173
|
+
cursorButton: "up" | "down";
|
|
1174
|
+
scrolledOutside: boolean;
|
|
1175
|
+
name: string;
|
|
1176
|
+
isResizing: boolean;
|
|
1177
|
+
isRotating: boolean;
|
|
1178
|
+
zoom: Readonly<{
|
|
1179
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
1180
|
+
}>;
|
|
1181
|
+
openMenu: "canvas" | "shape" | null;
|
|
1182
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1183
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
1184
|
+
selectedElementIds: {
|
|
1185
|
+
[id: string]: boolean;
|
|
1186
|
+
};
|
|
1187
|
+
previousSelectedElementIds: {
|
|
1188
|
+
[id: string]: boolean;
|
|
1189
|
+
};
|
|
1190
|
+
shouldCacheIgnoreZoom: boolean;
|
|
1191
|
+
showHelpDialog: boolean;
|
|
1192
|
+
toast: {
|
|
1193
|
+
message: string;
|
|
1194
|
+
closable?: boolean | undefined;
|
|
1195
|
+
duration?: number | undefined;
|
|
1196
|
+
} | null;
|
|
1197
|
+
zenModeEnabled: boolean;
|
|
1198
|
+
theme: string;
|
|
1199
|
+
gridSize: number | null;
|
|
1200
|
+
viewModeEnabled: boolean;
|
|
1201
|
+
selectedGroupIds: {
|
|
1202
|
+
[groupId: string]: boolean;
|
|
1203
|
+
};
|
|
1204
|
+
editingGroupId: string | null;
|
|
1205
|
+
width: number;
|
|
1206
|
+
height: number;
|
|
1207
|
+
offsetTop: number;
|
|
1208
|
+
offsetLeft: number;
|
|
1209
|
+
isLibraryOpen: boolean;
|
|
1210
|
+
isLibraryMenuDocked: boolean;
|
|
1211
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1212
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
1213
|
+
showStats: boolean;
|
|
1214
|
+
currentChartType: import("../element/types").ChartType;
|
|
1215
|
+
pasteDialog: {
|
|
1216
|
+
shown: false;
|
|
1217
|
+
data: null;
|
|
1218
|
+
} | {
|
|
1219
|
+
shown: true;
|
|
1220
|
+
data: import("../charts").Spreadsheet;
|
|
1221
|
+
};
|
|
1222
|
+
pendingImageElementId: string | null;
|
|
1223
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1224
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1225
|
+
};
|
|
1226
|
+
commitToHistory: true;
|
|
1227
|
+
};
|
|
1228
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1229
|
+
} & {
|
|
1230
|
+
keyTest?: undefined;
|
|
1231
|
+
};
|
|
1232
|
+
export declare const actionChangeSharpness: {
|
|
1233
|
+
name: "changeSharpness";
|
|
1234
|
+
trackEvent: false;
|
|
1235
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1236
|
+
elements: ExcalidrawElement[];
|
|
1237
|
+
appState: {
|
|
1238
|
+
currentItemStrokeSharpness: any;
|
|
1239
|
+
currentItemLinearStrokeSharpness: any;
|
|
1240
|
+
isLoading: boolean;
|
|
1241
|
+
errorMessage: string | null;
|
|
1242
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1243
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1244
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1245
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1246
|
+
isBindingEnabled: boolean;
|
|
1247
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1248
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1249
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1250
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1251
|
+
activeTool: {
|
|
1252
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
1253
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1254
|
+
locked: boolean;
|
|
1255
|
+
customType: null;
|
|
1256
|
+
} | {
|
|
1257
|
+
type: "custom";
|
|
1258
|
+
customType: string;
|
|
1259
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1260
|
+
locked: boolean;
|
|
1261
|
+
};
|
|
1262
|
+
penMode: boolean;
|
|
1263
|
+
penDetected: boolean;
|
|
1264
|
+
exportBackground: boolean;
|
|
1265
|
+
exportEmbedScene: boolean;
|
|
1266
|
+
exportWithDarkMode: boolean;
|
|
1267
|
+
exportScale: number;
|
|
1268
|
+
currentItemStrokeColor: string;
|
|
1269
|
+
currentItemBackgroundColor: string;
|
|
1270
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
1271
|
+
currentItemStrokeWidth: number;
|
|
1272
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
1273
|
+
currentItemRoughness: number;
|
|
1274
|
+
currentItemOpacity: number;
|
|
1275
|
+
currentItemFontFamily: number;
|
|
1276
|
+
currentItemFontSize: number;
|
|
1277
|
+
currentItemTextAlign: TextAlign;
|
|
1278
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
1279
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
1280
|
+
viewBackgroundColor: string;
|
|
1281
|
+
scrollX: number;
|
|
1282
|
+
scrollY: number;
|
|
1283
|
+
cursorButton: "up" | "down";
|
|
1284
|
+
scrolledOutside: boolean;
|
|
1285
|
+
name: string;
|
|
1286
|
+
isResizing: boolean;
|
|
1287
|
+
isRotating: boolean;
|
|
1288
|
+
zoom: Readonly<{
|
|
1289
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
1290
|
+
}>;
|
|
1291
|
+
openMenu: "canvas" | "shape" | null;
|
|
1292
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1293
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
1294
|
+
selectedElementIds: {
|
|
1295
|
+
[id: string]: boolean;
|
|
1296
|
+
};
|
|
1297
|
+
previousSelectedElementIds: {
|
|
1298
|
+
[id: string]: boolean;
|
|
1299
|
+
};
|
|
1300
|
+
shouldCacheIgnoreZoom: boolean;
|
|
1301
|
+
showHelpDialog: boolean;
|
|
1302
|
+
toast: {
|
|
1303
|
+
message: string;
|
|
1304
|
+
closable?: boolean | undefined;
|
|
1305
|
+
duration?: number | undefined;
|
|
1306
|
+
} | null;
|
|
1307
|
+
zenModeEnabled: boolean;
|
|
1308
|
+
theme: string;
|
|
1309
|
+
gridSize: number | null;
|
|
1310
|
+
viewModeEnabled: boolean;
|
|
1311
|
+
selectedGroupIds: {
|
|
1312
|
+
[groupId: string]: boolean;
|
|
1313
|
+
};
|
|
1314
|
+
editingGroupId: string | null;
|
|
1315
|
+
width: number;
|
|
1316
|
+
height: number;
|
|
1317
|
+
offsetTop: number;
|
|
1318
|
+
offsetLeft: number;
|
|
1319
|
+
isLibraryOpen: boolean;
|
|
1320
|
+
isLibraryMenuDocked: boolean;
|
|
1321
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1322
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
1323
|
+
showStats: boolean;
|
|
1324
|
+
currentChartType: import("../element/types").ChartType;
|
|
1325
|
+
pasteDialog: {
|
|
1326
|
+
shown: false;
|
|
1327
|
+
data: null;
|
|
1328
|
+
} | {
|
|
1329
|
+
shown: true;
|
|
1330
|
+
data: import("../charts").Spreadsheet;
|
|
1331
|
+
};
|
|
1332
|
+
pendingImageElementId: string | null;
|
|
1333
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1334
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1335
|
+
};
|
|
1336
|
+
commitToHistory: true;
|
|
1337
|
+
};
|
|
1338
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1339
|
+
} & {
|
|
1340
|
+
keyTest?: undefined;
|
|
1341
|
+
};
|
|
1342
|
+
export declare const actionChangeArrowhead: {
|
|
1343
|
+
name: "changeArrowhead";
|
|
1344
|
+
trackEvent: false;
|
|
1345
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: {
|
|
1346
|
+
position: "start" | "end";
|
|
1347
|
+
type: Arrowhead;
|
|
1348
|
+
}) => {
|
|
1349
|
+
elements: ExcalidrawElement[];
|
|
1350
|
+
appState: {
|
|
1351
|
+
isLoading: boolean;
|
|
1352
|
+
errorMessage: string | null;
|
|
1353
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1354
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1355
|
+
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1356
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1357
|
+
isBindingEnabled: boolean;
|
|
1358
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1359
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1360
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1361
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1362
|
+
activeTool: {
|
|
1363
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser";
|
|
1364
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1365
|
+
locked: boolean;
|
|
1366
|
+
customType: null;
|
|
1367
|
+
} | {
|
|
1368
|
+
type: "custom";
|
|
1369
|
+
customType: string;
|
|
1370
|
+
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1371
|
+
locked: boolean;
|
|
1372
|
+
};
|
|
1373
|
+
penMode: boolean;
|
|
1374
|
+
penDetected: boolean;
|
|
1375
|
+
exportBackground: boolean;
|
|
1376
|
+
exportEmbedScene: boolean;
|
|
1377
|
+
exportWithDarkMode: boolean;
|
|
1378
|
+
exportScale: number;
|
|
1379
|
+
currentItemStrokeColor: string;
|
|
1380
|
+
currentItemBackgroundColor: string;
|
|
1381
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
1382
|
+
currentItemStrokeWidth: number;
|
|
1383
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
1384
|
+
currentItemRoughness: number;
|
|
1385
|
+
currentItemOpacity: number;
|
|
1386
|
+
currentItemFontFamily: number;
|
|
1387
|
+
currentItemFontSize: number;
|
|
1388
|
+
currentItemTextAlign: TextAlign;
|
|
1389
|
+
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1390
|
+
currentItemStartArrowhead: Arrowhead | null;
|
|
1391
|
+
currentItemEndArrowhead: Arrowhead | null;
|
|
1392
|
+
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1393
|
+
viewBackgroundColor: string;
|
|
1394
|
+
scrollX: number;
|
|
1395
|
+
scrollY: number;
|
|
1396
|
+
cursorButton: "up" | "down";
|
|
1397
|
+
scrolledOutside: boolean;
|
|
1398
|
+
name: string;
|
|
1399
|
+
isResizing: boolean;
|
|
1400
|
+
isRotating: boolean;
|
|
1401
|
+
zoom: Readonly<{
|
|
1402
|
+
value: import("../../src/types").NormalizedZoomValue;
|
|
1403
|
+
}>;
|
|
1404
|
+
openMenu: "canvas" | "shape" | null;
|
|
1405
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1406
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
1407
|
+
selectedElementIds: {
|
|
1408
|
+
[id: string]: boolean;
|
|
1409
|
+
};
|
|
1410
|
+
previousSelectedElementIds: {
|
|
1411
|
+
[id: string]: boolean;
|
|
1412
|
+
};
|
|
1413
|
+
shouldCacheIgnoreZoom: boolean;
|
|
1414
|
+
showHelpDialog: boolean;
|
|
1415
|
+
toast: {
|
|
1416
|
+
message: string;
|
|
1417
|
+
closable?: boolean | undefined;
|
|
1418
|
+
duration?: number | undefined;
|
|
1419
|
+
} | null;
|
|
1420
|
+
zenModeEnabled: boolean;
|
|
1421
|
+
theme: string;
|
|
1422
|
+
gridSize: number | null;
|
|
1423
|
+
viewModeEnabled: boolean;
|
|
1424
|
+
selectedGroupIds: {
|
|
1425
|
+
[groupId: string]: boolean;
|
|
1426
|
+
};
|
|
1427
|
+
editingGroupId: string | null;
|
|
1428
|
+
width: number;
|
|
1429
|
+
height: number;
|
|
1430
|
+
offsetTop: number;
|
|
1431
|
+
offsetLeft: number;
|
|
1432
|
+
isLibraryOpen: boolean;
|
|
1433
|
+
isLibraryMenuDocked: boolean;
|
|
1434
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1435
|
+
collaborators: Map<string, import("../../src/types").Collaborator>;
|
|
1436
|
+
showStats: boolean;
|
|
1437
|
+
currentChartType: import("../element/types").ChartType;
|
|
1438
|
+
pasteDialog: {
|
|
1439
|
+
shown: false;
|
|
1440
|
+
data: null;
|
|
1441
|
+
} | {
|
|
1442
|
+
shown: true;
|
|
1443
|
+
data: import("../charts").Spreadsheet;
|
|
1444
|
+
};
|
|
1445
|
+
pendingImageElementId: string | null;
|
|
1446
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1447
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1448
|
+
};
|
|
1449
|
+
commitToHistory: true;
|
|
1450
|
+
};
|
|
1451
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1452
|
+
} & {
|
|
1453
|
+
keyTest?: undefined;
|
|
1454
|
+
};
|