@dwelle/excalidraw 0.4.0-d411eb2 → 0.4.0-d4580486
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 +691 -435
- package/README.md +18 -1354
- package/dist/browser/excalidraw-assets/ar-SA-ZG4GMNKR.js +585 -0
- package/dist/browser/excalidraw-assets/az-AZ-5QPIG4ZE.js +585 -0
- package/dist/browser/excalidraw-assets/bg-BG-GWMMOXVZ.js +585 -0
- package/dist/browser/excalidraw-assets/bn-BD-FFLR3TNM.js +585 -0
- package/dist/browser/excalidraw-assets/c4Diagram-9cddb37f-DT3MBRIQ.js +2527 -0
- package/dist/browser/excalidraw-assets/ca-ES-7TTPSWTV.js +585 -0
- package/dist/browser/excalidraw-assets/chunk-2H6Q3UHB.js +17232 -0
- package/dist/browser/excalidraw-assets/chunk-5XVKPBR4.js +16 -0
- package/dist/browser/excalidraw-assets/chunk-67KWAPOR.js +1498 -0
- package/dist/browser/excalidraw-assets/chunk-AZELGDJ7.js +1757 -0
- package/dist/browser/excalidraw-assets/chunk-E67NG25X.js +114 -0
- package/dist/browser/excalidraw-assets/chunk-ED7FCLMV.js +2611 -0
- package/dist/browser/excalidraw-assets/chunk-HG4GCABW.js +54 -0
- package/dist/browser/excalidraw-assets/chunk-I6H72Z5H.js +169 -0
- package/dist/browser/excalidraw-assets/chunk-K5VM6ZHC.js +671 -0
- package/dist/browser/excalidraw-assets/chunk-L5BPE74O.js +1415 -0
- package/dist/browser/excalidraw-assets/chunk-L5UQ5LG5.js +1806 -0
- package/dist/browser/excalidraw-assets/chunk-OJAFOQ6I.js +541 -0
- package/dist/browser/excalidraw-assets/chunk-RFZOXM2P.js +5081 -0
- package/dist/browser/excalidraw-assets/chunk-TA4GKHCW.js +598 -0
- package/dist/browser/excalidraw-assets/chunk-UZYJGJH5.js +1416 -0
- package/dist/browser/excalidraw-assets/chunk-WQZISTLK.js +53908 -0
- package/dist/browser/excalidraw-assets/chunk-YCSAT77X.js +284 -0
- package/dist/browser/excalidraw-assets/chunk-YVMHRGYC.js +2645 -0
- package/dist/browser/excalidraw-assets/classDiagram-bc733c3b-ADGQD5FE.js +164 -0
- package/dist/browser/excalidraw-assets/classDiagram-v2-8931bdaf-LQUNAO5F.js +326 -0
- package/dist/browser/excalidraw-assets/cs-CZ-ZBCV22AJ.js +585 -0
- package/dist/browser/excalidraw-assets/da-DK-Q4T27BFS.js +585 -0
- package/dist/browser/excalidraw-assets/de-DE-MBK4JIXX.js +585 -0
- package/dist/browser/excalidraw-assets/directory-open-01563666-XGWD52SG.js +21 -0
- package/dist/browser/excalidraw-assets/directory-open-4ed118d0-CW2C2TU4.js +66 -0
- package/dist/browser/excalidraw-assets/dist-RCLUK4RK.js +9 -0
- package/dist/browser/excalidraw-assets/el-GR-4IO54FJG.js +585 -0
- package/dist/browser/excalidraw-assets/en-O5KAMFJI.js +63 -0
- package/dist/browser/excalidraw-assets/erDiagram-f6946109-LOZPUYNA.js +1406 -0
- package/dist/browser/excalidraw-assets/es-ES-RTNHOKI6.js +585 -0
- package/dist/browser/excalidraw-assets/eu-ES-IPUNFIRV.js +585 -0
- package/dist/browser/excalidraw-assets/fa-IR-AFOLD64G.js +585 -0
- package/dist/browser/excalidraw-assets/fi-FI-YDIGP7ED.js +585 -0
- package/dist/browser/excalidraw-assets/file-open-002ab408-XIZJR36E.js +25 -0
- package/dist/browser/excalidraw-assets/file-open-7c801643-YIZPMU4W.js +22 -0
- package/dist/browser/excalidraw-assets/file-save-3189631c-BQMBD5TV.js +31 -0
- package/dist/browser/excalidraw-assets/file-save-745eba88-MWPDJIMB.js +34 -0
- package/dist/browser/excalidraw-assets/flowDiagram-93327f21-IG42SU5S.js +1396 -0
- package/dist/browser/excalidraw-assets/flowDiagram-v2-476db779-Y67G2FM7.js +51 -0
- package/dist/browser/excalidraw-assets/flowchart-elk-definition-5082a990-N6NGIBWD.js +89770 -0
- package/dist/browser/excalidraw-assets/fr-FR-DKTDAJMV.js +585 -0
- package/dist/browser/excalidraw-assets/ganttDiagram-7ce12d6b-QM7W7H3I.js +2269 -0
- package/dist/browser/excalidraw-assets/gitGraphDiagram-1e960c50-EKEGNJUG.js +1705 -0
- package/dist/browser/excalidraw-assets/gl-ES-KAW5CTCB.js +585 -0
- package/dist/browser/excalidraw-assets/he-IL-XFQ6PZWN.js +585 -0
- package/dist/browser/excalidraw-assets/hi-IN-CJGZ2R72.js +585 -0
- package/dist/browser/excalidraw-assets/hu-HU-LH67LOY3.js +585 -0
- package/dist/browser/excalidraw-assets/id-ID-L6Y7PWWN.js +585 -0
- package/dist/browser/excalidraw-assets/image-M2ZU44R7.css +5923 -0
- package/dist/browser/excalidraw-assets/image-QPILIGYC.js +20 -0
- package/dist/browser/excalidraw-assets/image-blob-reduce.esm-5RGBO4BD.js +2497 -0
- package/dist/browser/excalidraw-assets/infoDiagram-264bed3e-DGYH27DL.js +554 -0
- package/dist/browser/excalidraw-assets/it-IT-NYW7ZXIC.js +585 -0
- package/dist/browser/excalidraw-assets/ja-JP-PTAJBPX4.js +585 -0
- package/dist/browser/excalidraw-assets/journeyDiagram-31be0096-MOV4SXUQ.js +1249 -0
- package/dist/browser/excalidraw-assets/kaa-WXJRXWPF.js +585 -0
- package/dist/browser/excalidraw-assets/kab-KAB-ODUQXY6X.js +585 -0
- package/dist/browser/excalidraw-assets/kk-KZ-UXGGFOE5.js +585 -0
- package/dist/browser/excalidraw-assets/km-KH-KH42MBCX.js +585 -0
- package/dist/browser/excalidraw-assets/ko-KR-OK4WMN6E.js +585 -0
- package/dist/browser/excalidraw-assets/ku-TR-I6JF7FTE.js +585 -0
- package/dist/browser/excalidraw-assets/lt-LT-MRDJ3W6M.js +585 -0
- package/dist/browser/excalidraw-assets/lv-LV-GUHKIRYT.js +585 -0
- package/dist/browser/excalidraw-assets/mindmap-definition-4fc2557c-QD6CUNYL.js +32236 -0
- package/dist/browser/excalidraw-assets/mr-IN-2VY5ATS4.js +585 -0
- package/dist/browser/excalidraw-assets/my-MM-Q3UE7NDU.js +585 -0
- package/dist/browser/excalidraw-assets/nb-NO-YGVSWPTU.js +585 -0
- package/dist/browser/excalidraw-assets/nl-NL-JYQZFVD6.js +585 -0
- package/dist/browser/excalidraw-assets/nn-NO-SVCTK45S.js +585 -0
- package/dist/browser/excalidraw-assets/oc-FR-7S4GZ53C.js +585 -0
- package/dist/browser/excalidraw-assets/pa-IN-OAXG5ILZ.js +585 -0
- package/dist/browser/excalidraw-assets/percentages-G7XJNZNY.js +115 -0
- package/dist/browser/excalidraw-assets/pica-3M7LI2AU.js +1785 -0
- package/dist/browser/excalidraw-assets/pieDiagram-157505fe-THFWR2W3.js +795 -0
- package/dist/browser/excalidraw-assets/pl-PL-4LOCCO6A.js +585 -0
- package/dist/browser/excalidraw-assets/pt-BR-UE7QKZT7.js +585 -0
- package/dist/browser/excalidraw-assets/pt-PT-QRYXWDEQ.js +585 -0
- package/dist/browser/excalidraw-assets/quadrantDiagram-fd70f2d0-PM7WE6V7.js +1261 -0
- package/dist/browser/excalidraw-assets/requirementDiagram-19c99588-VQ7AQGMD.js +1154 -0
- package/dist/browser/excalidraw-assets/ro-RO-S6UM3GTE.js +585 -0
- package/dist/browser/excalidraw-assets/ru-RU-X3LZJ2PM.js +585 -0
- package/dist/browser/excalidraw-assets/sequenceDiagram-5dfd0049-7VLXNLQB.js +3186 -0
- package/dist/browser/excalidraw-assets/si-LK-47EZ7CDR.js +585 -0
- package/dist/browser/excalidraw-assets/sk-SK-BZTESEQ3.js +585 -0
- package/dist/browser/excalidraw-assets/sl-SI-UKPT7XYH.js +585 -0
- package/dist/browser/excalidraw-assets/stateDiagram-133e3642-TFVBMKD2.js +505 -0
- package/dist/browser/excalidraw-assets/stateDiagram-v2-6371a76b-HLD2VAQC.js +364 -0
- package/dist/browser/excalidraw-assets/sv-SE-QCQFH645.js +585 -0
- package/dist/browser/excalidraw-assets/ta-IN-VVBM4WJT.js +585 -0
- package/dist/browser/excalidraw-assets/th-TH-7BH7SJAO.js +585 -0
- package/dist/browser/excalidraw-assets/timeline-definition-5ed366f4-36TJ7JFQ.js +1275 -0
- package/dist/browser/excalidraw-assets/tr-TR-PSQK5I6C.js +585 -0
- package/dist/browser/excalidraw-assets/uk-UA-SPVEJS7T.js +585 -0
- package/dist/browser/excalidraw-assets/vi-VN-KIIQDQET.js +585 -0
- package/dist/browser/excalidraw-assets/zh-CN-6PVTYMG5.js +585 -0
- package/dist/browser/excalidraw-assets/zh-HK-V2KK262G.js +585 -0
- package/dist/browser/excalidraw-assets/zh-TW-VYIR3NM2.js +585 -0
- package/dist/browser/index.css +5923 -0
- package/dist/browser/index.js +137 -0
- package/{types → dist/packages/excalidraw}/actions/actionAddToLibrary.d.ts +215 -70
- package/dist/packages/excalidraw/actions/actionAddToLibrary.js +59 -0
- package/dist/packages/excalidraw/actions/actionAlign.d.ts +97 -0
- package/dist/packages/excalidraw/actions/actionAlign.js +124 -0
- package/dist/packages/excalidraw/actions/actionBoundText.d.ts +341 -0
- package/dist/packages/excalidraw/actions/actionBoundText.js +213 -0
- package/dist/packages/excalidraw/actions/actionCanvas.d.ts +1913 -0
- package/dist/packages/excalidraw/actions/actionCanvas.js +354 -0
- package/dist/packages/excalidraw/actions/actionClipboard.d.ts +1149 -0
- package/dist/packages/excalidraw/actions/actionClipboard.js +222 -0
- package/{types → dist/packages/excalidraw}/actions/actionDeleteSelected.d.ts +223 -75
- package/dist/packages/excalidraw/actions/actionDeleteSelected.js +129 -0
- package/dist/packages/excalidraw/actions/actionDistribute.d.ts +33 -0
- package/dist/packages/excalidraw/actions/actionDistribute.js +56 -0
- package/{types → dist/packages/excalidraw}/actions/actionDuplicateSelection.d.ts +3 -3
- package/dist/packages/excalidraw/actions/actionDuplicateSelection.js +181 -0
- package/dist/packages/excalidraw/actions/actionElementLock.d.ts +326 -0
- package/dist/packages/excalidraw/actions/actionElementLock.js +89 -0
- package/{types → dist/packages/excalidraw}/actions/actionExport.d.ts +697 -274
- package/dist/packages/excalidraw/actions/actionExport.js +199 -0
- package/{types → dist/packages/excalidraw}/actions/actionFinalize.d.ts +144 -51
- package/dist/packages/excalidraw/actions/actionFinalize.js +150 -0
- package/{types → dist/packages/excalidraw}/actions/actionFlip.d.ts +8 -10
- package/dist/packages/excalidraw/actions/actionFlip.js +52 -0
- package/dist/packages/excalidraw/actions/actionFrame.d.ts +505 -0
- package/dist/packages/excalidraw/actions/actionFrame.js +113 -0
- package/dist/packages/excalidraw/actions/actionGroup.d.ts +337 -0
- package/dist/packages/excalidraw/actions/actionGroup.js +162 -0
- package/{types → dist/packages/excalidraw}/actions/actionHistory.d.ts +1 -1
- package/dist/packages/excalidraw/actions/actionHistory.js +57 -0
- package/dist/packages/excalidraw/actions/actionLinearEditor.d.ts +163 -0
- package/dist/packages/excalidraw/actions/actionLinearEditor.js +41 -0
- package/{types → dist/packages/excalidraw}/actions/actionMenu.d.ts +212 -88
- package/dist/packages/excalidraw/actions/actionMenu.js +53 -0
- package/dist/packages/excalidraw/actions/actionNavigate.d.ts +314 -0
- package/dist/packages/excalidraw/actions/actionNavigate.js +43 -0
- package/{types → dist/packages/excalidraw}/actions/actionProperties.d.ts +961 -335
- package/dist/packages/excalidraw/actions/actionProperties.js +683 -0
- package/dist/packages/excalidraw/actions/actionSelectAll.d.ts +163 -0
- package/dist/packages/excalidraw/actions/actionSelectAll.js +40 -0
- package/{types → dist/packages/excalidraw}/actions/actionStyles.d.ts +76 -28
- package/dist/packages/excalidraw/actions/actionStyles.js +118 -0
- package/{types → dist/packages/excalidraw}/actions/actionToggleGridMode.d.ts +76 -26
- package/dist/packages/excalidraw/actions/actionToggleGridMode.js +27 -0
- package/dist/packages/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +165 -0
- package/dist/packages/excalidraw/actions/actionToggleObjectsSnapMode.js +26 -0
- package/{types → dist/packages/excalidraw}/actions/actionToggleStats.d.ts +75 -26
- package/dist/packages/excalidraw/actions/actionToggleStats.js +19 -0
- package/{types → dist/packages/excalidraw}/actions/actionToggleViewMode.d.ts +76 -26
- package/dist/packages/excalidraw/actions/actionToggleViewMode.js +25 -0
- package/{types → dist/packages/excalidraw}/actions/actionToggleZenMode.d.ts +76 -26
- package/dist/packages/excalidraw/actions/actionToggleZenMode.js +25 -0
- package/{types → dist/packages/excalidraw}/actions/actionZindex.d.ts +12 -12
- package/dist/packages/excalidraw/actions/actionZindex.js +86 -0
- package/{types → dist/packages/excalidraw}/actions/index.d.ts +4 -2
- package/dist/packages/excalidraw/actions/index.js +25 -0
- package/{types → dist/packages/excalidraw}/actions/manager.d.ts +2 -1
- package/dist/packages/excalidraw/actions/manager.js +110 -0
- package/dist/packages/excalidraw/actions/register.js +5 -0
- package/dist/packages/excalidraw/actions/shortcuts.d.ts +4 -0
- package/dist/packages/excalidraw/actions/shortcuts.js +52 -0
- package/dist/packages/excalidraw/actions/types.d.ts +45 -0
- package/dist/packages/excalidraw/align.js +36 -0
- package/dist/packages/excalidraw/analytics.js +30 -0
- package/{types → dist/packages/excalidraw}/appState.d.ts +28 -28
- package/dist/packages/excalidraw/appState.js +221 -0
- package/{types → dist/packages/excalidraw}/charts.d.ts +2 -2
- package/dist/packages/excalidraw/charts.js +365 -0
- package/dist/packages/excalidraw/clients.d.ts +5 -0
- package/dist/packages/excalidraw/clients.js +34 -0
- package/dist/packages/excalidraw/clipboard.d.ts +44 -0
- package/dist/packages/excalidraw/clipboard.js +351 -0
- package/dist/packages/excalidraw/colors.d.ts +61 -0
- package/dist/packages/excalidraw/colors.js +124 -0
- package/dist/packages/excalidraw/components/Actions.d.ts +32 -0
- package/dist/packages/excalidraw/components/Actions.js +127 -0
- package/dist/packages/excalidraw/components/Actions.scss +92 -0
- package/dist/packages/excalidraw/components/ActiveConfirmDialog.d.ts +5 -0
- package/dist/packages/excalidraw/components/ActiveConfirmDialog.js +22 -0
- package/{types → dist/packages/excalidraw}/components/App.d.ts +162 -52
- package/dist/packages/excalidraw/components/App.js +6253 -0
- package/dist/packages/excalidraw/components/Avatar.d.ts +12 -0
- package/dist/packages/excalidraw/components/Avatar.js +15 -0
- package/dist/packages/excalidraw/components/Avatar.scss +7 -0
- package/dist/packages/excalidraw/components/BraveMeasureTextError.d.ts +3 -0
- package/dist/packages/excalidraw/components/BraveMeasureTextError.js +6 -0
- package/dist/packages/excalidraw/components/Button.d.ts +17 -0
- package/dist/packages/excalidraw/components/Button.js +14 -0
- package/dist/packages/excalidraw/components/Button.scss +7 -0
- package/{types/components/ButtonIconSelect.d.ts → dist/packages/excalidraw/components/ButtonIconCycle.d.ts} +2 -2
- package/dist/packages/excalidraw/components/ButtonIconCycle.js +11 -0
- package/dist/packages/excalidraw/components/ButtonIconSelect.d.ts +20 -0
- package/dist/packages/excalidraw/components/ButtonIconSelect.js +6 -0
- package/dist/packages/excalidraw/components/ButtonSelect.d.ts +10 -0
- package/dist/packages/excalidraw/components/ButtonSelect.js +3 -0
- package/dist/packages/excalidraw/components/Card.js +14 -0
- package/dist/packages/excalidraw/components/Card.scss +57 -0
- package/dist/packages/excalidraw/components/CheckboxItem.js +10 -0
- package/dist/packages/excalidraw/components/CheckboxItem.scss +91 -0
- package/dist/packages/excalidraw/components/ColorPicker/ColorInput.d.ts +10 -0
- package/dist/packages/excalidraw/components/ColorPicker/ColorInput.js +67 -0
- package/dist/packages/excalidraw/components/ColorPicker/ColorPicker.d.ts +20 -0
- package/dist/packages/excalidraw/components/ColorPicker/ColorPicker.js +138 -0
- package/dist/packages/excalidraw/components/ColorPicker/ColorPicker.scss +441 -0
- package/dist/packages/excalidraw/components/ColorPicker/CustomColorList.d.ts +9 -0
- package/dist/packages/excalidraw/components/ColorPicker/CustomColorList.js +24 -0
- package/dist/packages/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +9 -0
- package/dist/packages/excalidraw/components/ColorPicker/HotkeyLabel.js +8 -0
- package/dist/packages/excalidraw/components/ColorPicker/Picker.d.ts +18 -0
- package/dist/packages/excalidraw/components/ColorPicker/Picker.js +86 -0
- package/dist/packages/excalidraw/components/ColorPicker/PickerColorList.d.ts +11 -0
- package/dist/packages/excalidraw/components/ColorPicker/PickerColorList.js +33 -0
- package/dist/packages/excalidraw/components/ColorPicker/PickerHeading.d.ts +5 -0
- package/dist/packages/excalidraw/components/ColorPicker/PickerHeading.js +3 -0
- package/dist/packages/excalidraw/components/ColorPicker/ShadeList.d.ts +9 -0
- package/dist/packages/excalidraw/components/ColorPicker/ShadeList.js +44 -0
- package/dist/packages/excalidraw/components/ColorPicker/TopPicks.d.ts +10 -0
- package/dist/packages/excalidraw/components/ColorPicker/TopPicks.js +27 -0
- package/dist/packages/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +21 -0
- package/dist/packages/excalidraw/components/ColorPicker/colorPickerUtils.js +83 -0
- package/dist/packages/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +21 -0
- package/dist/packages/excalidraw/components/ColorPicker/keyboardNavHandlers.js +174 -0
- package/{types → dist/packages/excalidraw}/components/ConfirmDialog.d.ts +1 -0
- package/dist/packages/excalidraw/components/ConfirmDialog.js +27 -0
- package/dist/packages/excalidraw/components/ConfirmDialog.scss +11 -0
- package/dist/packages/excalidraw/components/ContextMenu.d.ts +16 -0
- package/dist/packages/excalidraw/components/ContextMenu.js +56 -0
- package/dist/packages/excalidraw/components/ContextMenu.scss +98 -0
- package/{types → dist/packages/excalidraw}/components/DarkModeToggle.d.ts +1 -0
- package/dist/packages/excalidraw/components/DarkModeToggle.js +16 -0
- package/dist/packages/excalidraw/components/DefaultSidebar.d.ts +30 -0
- package/dist/packages/excalidraw/components/DefaultSidebar.js +48 -0
- package/{types → dist/packages/excalidraw}/components/Dialog.d.ts +3 -4
- package/dist/packages/excalidraw/components/Dialog.js +74 -0
- package/dist/packages/excalidraw/components/Dialog.scss +48 -0
- package/dist/packages/excalidraw/components/DialogActionButton.d.ts +10 -0
- package/dist/packages/excalidraw/components/DialogActionButton.js +9 -0
- package/dist/packages/excalidraw/components/DialogActionButton.scss +47 -0
- package/dist/packages/excalidraw/components/ErrorDialog.d.ts +5 -0
- package/dist/packages/excalidraw/components/ErrorDialog.js +18 -0
- package/dist/packages/excalidraw/components/ExcalidrawLogo.d.ts +16 -0
- package/dist/packages/excalidraw/components/ExcalidrawLogo.js +7 -0
- package/dist/packages/excalidraw/components/ExcalidrawLogo.scss +73 -0
- package/dist/packages/excalidraw/components/ExportDialog.scss +129 -0
- package/dist/packages/excalidraw/components/EyeDropper.d.ts +28 -0
- package/dist/packages/excalidraw/components/EyeDropper.js +130 -0
- package/dist/packages/excalidraw/components/EyeDropper.scss +48 -0
- package/dist/packages/excalidraw/components/FilledButton.d.ts +17 -0
- package/dist/packages/excalidraw/components/FilledButton.js +7 -0
- package/dist/packages/excalidraw/components/FilledButton.scss +191 -0
- package/{types → dist/packages/excalidraw}/components/FixedSideContainer.d.ts +1 -1
- package/dist/packages/excalidraw/components/FixedSideContainer.js +4 -0
- package/dist/packages/excalidraw/components/FixedSideContainer.scss +40 -0
- package/dist/packages/excalidraw/components/FollowMode/FollowMode.d.ts +11 -0
- package/dist/packages/excalidraw/components/FollowMode/FollowMode.js +7 -0
- package/dist/packages/excalidraw/components/FollowMode/FollowMode.scss +59 -0
- package/dist/packages/excalidraw/components/HandButton.d.ts +11 -0
- package/dist/packages/excalidraw/components/HandButton.js +9 -0
- package/dist/packages/excalidraw/components/HelpButton.d.ts +8 -0
- package/dist/packages/excalidraw/components/HelpButton.js +4 -0
- package/{types → dist/packages/excalidraw}/components/HelpDialog.d.ts +1 -0
- package/dist/packages/excalidraw/components/HelpDialog.js +79 -0
- package/dist/packages/excalidraw/components/HelpDialog.scss +130 -0
- package/dist/packages/excalidraw/components/HintViewer.d.ts +11 -0
- package/dist/packages/excalidraw/components/HintViewer.js +97 -0
- package/dist/packages/excalidraw/components/HintViewer.scss +37 -0
- package/dist/packages/excalidraw/components/HomeButton.d.ts +5 -0
- package/dist/packages/excalidraw/components/HomeButton.js +8 -0
- package/dist/packages/excalidraw/components/HomeButton.scss +33 -0
- package/{types → dist/packages/excalidraw}/components/IconPicker.d.ts +4 -2
- package/dist/packages/excalidraw/components/IconPicker.js +99 -0
- package/dist/packages/excalidraw/components/IconPicker.scss +143 -0
- package/dist/packages/excalidraw/components/ImageExportDialog.d.ts +14 -0
- package/dist/packages/excalidraw/components/ImageExportDialog.js +133 -0
- package/dist/packages/excalidraw/components/ImageExportDialog.scss +173 -0
- package/{types → dist/packages/excalidraw}/components/InitializeApp.d.ts +2 -0
- package/dist/packages/excalidraw/components/InitializeApp.js +16 -0
- package/dist/packages/excalidraw/components/InlineIcon.d.ts +4 -0
- package/dist/packages/excalidraw/components/InlineIcon.js +10 -0
- package/{types → dist/packages/excalidraw}/components/Island.d.ts +1 -1
- package/dist/packages/excalidraw/components/Island.js +5 -0
- package/dist/packages/excalidraw/components/Island.scss +16 -0
- package/dist/packages/excalidraw/components/JSONExportDialog.d.ts +15 -0
- package/dist/packages/excalidraw/components/JSONExportDialog.js +35 -0
- package/dist/packages/excalidraw/components/LaserTool/LaserPathManager.d.ts +28 -0
- package/dist/packages/excalidraw/components/LaserTool/LaserPathManager.js +228 -0
- package/dist/packages/excalidraw/components/LaserTool/LaserPointerButton.d.ts +11 -0
- package/dist/packages/excalidraw/components/LaserTool/LaserPointerButton.js +10 -0
- package/dist/packages/excalidraw/components/LaserTool/LaserTool.d.ts +8 -0
- package/dist/packages/excalidraw/components/LaserTool/LaserTool.js +15 -0
- package/dist/packages/excalidraw/components/LaserTool/LaserToolOverlay.scss +20 -0
- package/dist/packages/excalidraw/components/LayerUI.d.ts +36 -0
- package/dist/packages/excalidraw/components/LayerUI.js +192 -0
- package/dist/packages/excalidraw/components/LayerUI.scss +112 -0
- package/dist/packages/excalidraw/components/LibraryMenu.d.ts +24 -0
- package/dist/packages/excalidraw/components/LibraryMenu.js +99 -0
- package/dist/packages/excalidraw/components/LibraryMenu.scss +150 -0
- package/dist/packages/excalidraw/components/LibraryMenuBrowseButton.d.ts +8 -0
- package/dist/packages/excalidraw/components/LibraryMenuBrowseButton.js +8 -0
- package/dist/packages/excalidraw/components/LibraryMenuControlButtons.d.ts +10 -0
- package/dist/packages/excalidraw/components/LibraryMenuControlButtons.js +6 -0
- package/dist/packages/excalidraw/components/LibraryMenuHeaderContent.d.ts +18 -0
- package/dist/packages/excalidraw/components/LibraryMenuHeaderContent.js +126 -0
- package/dist/packages/excalidraw/components/LibraryMenuItems.d.ts +15 -0
- package/dist/packages/excalidraw/components/LibraryMenuItems.js +138 -0
- package/dist/packages/excalidraw/components/LibraryMenuItems.scss +99 -0
- package/dist/packages/excalidraw/components/LibraryMenuSection.d.ts +22 -0
- package/dist/packages/excalidraw/components/LibraryMenuSection.js +21 -0
- package/dist/packages/excalidraw/components/LibraryUnit.d.ts +15 -0
- package/dist/packages/excalidraw/components/LibraryUnit.js +52 -0
- package/dist/packages/excalidraw/components/LibraryUnit.scss +185 -0
- package/{types → dist/packages/excalidraw}/components/LoadingMessage.d.ts +2 -0
- package/dist/packages/excalidraw/components/LoadingMessage.js +24 -0
- package/{types → dist/packages/excalidraw}/components/LockButton.d.ts +2 -2
- package/dist/packages/excalidraw/components/LockButton.js +14 -0
- package/dist/packages/excalidraw/components/MagicButton.d.ts +10 -0
- package/dist/packages/excalidraw/components/MagicButton.js +9 -0
- package/dist/packages/excalidraw/components/MagicSettings.d.ts +9 -0
- package/dist/packages/excalidraw/components/MagicSettings.js +46 -0
- package/dist/packages/excalidraw/components/MagicSettings.scss +18 -0
- package/dist/packages/excalidraw/components/Menu.scss +86 -0
- package/dist/packages/excalidraw/components/MobileMenu.d.ts +25 -0
- package/dist/packages/excalidraw/components/MobileMenu.js +46 -0
- package/{types → dist/packages/excalidraw}/components/Modal.d.ts +1 -1
- package/dist/packages/excalidraw/components/Modal.js +23 -0
- package/dist/packages/excalidraw/components/Modal.scss +121 -0
- package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +17 -0
- package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirm.js +31 -0
- package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirm.scss +126 -0
- package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +17 -0
- package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.js +32 -0
- package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +22 -0
- package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.js +19 -0
- package/dist/packages/excalidraw/components/Paragraph.d.ts +5 -0
- package/dist/packages/excalidraw/components/Paragraph.js +4 -0
- package/dist/packages/excalidraw/components/PasteChartDialog.d.ts +8 -0
- package/dist/packages/excalidraw/components/PasteChartDialog.js +63 -0
- package/dist/packages/excalidraw/components/PasteChartDialog.scss +46 -0
- package/{types → dist/packages/excalidraw}/components/PenModeButton.d.ts +2 -1
- package/dist/packages/excalidraw/components/PenModeButton.js +13 -0
- package/{types → dist/packages/excalidraw}/components/Popover.d.ts +1 -1
- package/dist/packages/excalidraw/components/Popover.js +111 -0
- package/dist/packages/excalidraw/components/Popover.scss +8 -0
- package/{types → dist/packages/excalidraw}/components/ProjectName.d.ts +3 -1
- package/dist/packages/excalidraw/components/ProjectName.js +30 -0
- package/dist/packages/excalidraw/components/ProjectName.scss +25 -0
- package/{types → dist/packages/excalidraw}/components/PublishLibrary.d.ts +3 -2
- package/dist/packages/excalidraw/components/PublishLibrary.js +220 -0
- package/dist/packages/excalidraw/components/PublishLibrary.scss +172 -0
- package/dist/packages/excalidraw/components/RadioGroup.d.ts +13 -0
- package/dist/packages/excalidraw/components/RadioGroup.js +8 -0
- package/dist/packages/excalidraw/components/RadioGroup.scss +91 -0
- package/{types → dist/packages/excalidraw}/components/Section.d.ts +1 -1
- package/dist/packages/excalidraw/components/Section.js +8 -0
- package/dist/packages/excalidraw/components/ShareableLinkDialog.d.ts +8 -0
- package/dist/packages/excalidraw/components/ShareableLinkDialog.js +33 -0
- package/dist/packages/excalidraw/components/ShareableLinkDialog.scss +91 -0
- package/dist/packages/excalidraw/components/Sidebar/Sidebar.d.ts +76 -0
- package/dist/packages/excalidraw/components/Sidebar/Sidebar.js +145 -0
- package/dist/packages/excalidraw/components/Sidebar/Sidebar.scss +176 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarHeader.d.ts +8 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarHeader.js +16 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTab.d.ts +9 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTab.js +6 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +10 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTabTrigger.js +6 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +7 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTabTriggers.js +6 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTabs.d.ts +7 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTabs.js +17 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTrigger.d.ts +7 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTrigger.js +18 -0
- package/dist/packages/excalidraw/components/Sidebar/SidebarTrigger.scss +37 -0
- package/dist/packages/excalidraw/components/Sidebar/common.d.ts +33 -0
- package/dist/packages/excalidraw/components/Sidebar/common.js +2 -0
- package/{types → dist/packages/excalidraw}/components/Spinner.d.ts +3 -1
- package/dist/packages/excalidraw/components/Spinner.js +14 -0
- package/dist/packages/excalidraw/components/Spinner.scss +49 -0
- package/dist/packages/excalidraw/components/Stack.d.ts +16 -0
- package/dist/packages/excalidraw/components/Stack.js +24 -0
- package/dist/packages/excalidraw/components/Stack.scss +19 -0
- package/{types → dist/packages/excalidraw}/components/Stats.d.ts +4 -4
- package/dist/packages/excalidraw/components/Stats.js +13 -0
- package/dist/packages/excalidraw/components/Stats.scss +54 -0
- package/dist/packages/excalidraw/components/Switch.d.ts +10 -0
- package/dist/packages/excalidraw/components/Switch.js +10 -0
- package/dist/packages/excalidraw/components/Switch.scss +118 -0
- package/dist/packages/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +7 -0
- package/dist/packages/excalidraw/components/TTDDialog/MermaidToExcalidraw.js +58 -0
- package/dist/packages/excalidraw/components/TTDDialog/MermaidToExcalidraw.scss +10 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialog.d.ts +30 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialog.js +194 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialog.scss +315 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +9 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogInput.js +28 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +8 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogOutput.js +8 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +17 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogPanel.js +11 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +4 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogPanels.js +4 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +2 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.js +5 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +8 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTab.js +6 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +9 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabTrigger.js +6 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +7 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabTriggers.js +6 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +14 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabs.js +39 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +8 -0
- package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTrigger.js +16 -0
- package/dist/packages/excalidraw/components/TTDDialog/common.d.ts +33 -0
- package/dist/packages/excalidraw/components/TTDDialog/common.js +92 -0
- package/dist/packages/excalidraw/components/TextField.d.ts +16 -0
- package/dist/packages/excalidraw/components/TextField.js +25 -0
- package/dist/packages/excalidraw/components/TextField.scss +109 -0
- package/dist/packages/excalidraw/components/TextInput.scss +7 -0
- package/{types → dist/packages/excalidraw}/components/Toast.d.ts +1 -0
- package/dist/packages/excalidraw/components/Toast.js +30 -0
- package/dist/packages/excalidraw/components/Toast.scss +49 -0
- package/{types → dist/packages/excalidraw}/components/ToolButton.d.ts +6 -5
- package/dist/packages/excalidraw/components/ToolButton.js +72 -0
- package/dist/packages/excalidraw/components/ToolIcon.scss +184 -0
- package/dist/packages/excalidraw/components/Toolbar.scss +50 -0
- package/{types → dist/packages/excalidraw}/components/Tooltip.d.ts +3 -2
- package/dist/packages/excalidraw/components/Tooltip.js +60 -0
- package/dist/packages/excalidraw/components/Tooltip.scss +47 -0
- package/dist/packages/excalidraw/components/Trans.d.ts +9 -0
- package/dist/packages/excalidraw/components/Trans.js +139 -0
- package/dist/packages/excalidraw/components/UserList.d.ts +22 -0
- package/dist/packages/excalidraw/components/UserList.js +96 -0
- package/dist/packages/excalidraw/components/UserList.scss +136 -0
- package/dist/packages/excalidraw/components/canvases/InteractiveCanvas.d.ts +27 -0
- package/dist/packages/excalidraw/components/canvases/InteractiveCanvas.js +123 -0
- package/dist/packages/excalidraw/components/canvases/StaticCanvas.d.ts +18 -0
- package/dist/packages/excalidraw/components/canvases/StaticCanvas.js +84 -0
- package/dist/packages/excalidraw/components/canvases/index.d.ts +3 -0
- package/dist/packages/excalidraw/components/canvases/index.js +3 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +76 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenu.js +24 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenu.scss +148 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +15 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuContent.js +21 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +11 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuGroup.js +6 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +25 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItem.js +23 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +7 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemContent.js +7 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +7 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.js +5 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +14 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemLink.js +9 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +6 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuSeparator.js +8 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +11 -0
- package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuTrigger.js +12 -0
- package/dist/packages/excalidraw/components/dropdownMenu/common.d.ts +6 -0
- package/dist/packages/excalidraw/components/dropdownMenu/common.js +20 -0
- package/dist/packages/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +3 -0
- package/dist/packages/excalidraw/components/dropdownMenu/dropdownMenuUtils.js +27 -0
- package/dist/packages/excalidraw/components/footer/Footer.d.ts +13 -0
- package/dist/packages/excalidraw/components/footer/Footer.js +25 -0
- package/dist/packages/excalidraw/components/footer/FooterCenter.d.ts +9 -0
- package/dist/packages/excalidraw/components/footer/FooterCenter.js +14 -0
- package/dist/packages/excalidraw/components/footer/FooterCenter.scss +11 -0
- package/dist/packages/excalidraw/components/hoc/withInternalFallback.d.ts +4 -0
- package/dist/packages/excalidraw/components/hoc/withInternalFallback.js +57 -0
- package/dist/packages/excalidraw/components/icons.d.ts +175 -0
- package/dist/packages/excalidraw/components/icons.js +220 -0
- package/dist/packages/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +10 -0
- package/dist/packages/excalidraw/components/live-collaboration/LiveCollaborationTrigger.js +13 -0
- package/dist/packages/excalidraw/components/live-collaboration/LiveCollaborationTrigger.scss +72 -0
- package/dist/packages/excalidraw/components/main-menu/DefaultItems.d.ts +48 -0
- package/dist/packages/excalidraw/components/main-menu/DefaultItems.js +119 -0
- package/dist/packages/excalidraw/components/main-menu/DefaultItems.scss +21 -0
- package/dist/packages/excalidraw/components/main-menu/MainMenu.d.ts +70 -0
- package/dist/packages/excalidraw/components/main-menu/MainMenu.js +36 -0
- package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +58 -0
- package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.Center.js +69 -0
- package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +20 -0
- package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.Hints.js +20 -0
- package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +85 -0
- package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.js +11 -0
- package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.scss +285 -0
- package/dist/packages/excalidraw/constants.d.ts +273 -0
- package/dist/packages/excalidraw/constants.js +317 -0
- package/dist/packages/excalidraw/context/tunnels.d.ts +20 -0
- package/dist/packages/excalidraw/context/tunnels.js +21 -0
- package/dist/packages/excalidraw/context/ui-appState.d.ts +4 -0
- package/dist/packages/excalidraw/context/ui-appState.js +3 -0
- package/dist/packages/excalidraw/css/app.scss +39 -0
- package/dist/packages/excalidraw/css/styles.scss +790 -0
- package/dist/packages/excalidraw/css/theme.scss +255 -0
- package/dist/packages/excalidraw/css/variables.module.scss +174 -0
- package/dist/packages/excalidraw/cursor.d.ts +5 -0
- package/dist/packages/excalidraw/cursor.js +89 -0
- package/dist/packages/excalidraw/data/EditorLocalStorage.d.ts +8 -0
- package/dist/packages/excalidraw/data/EditorLocalStorage.js +42 -0
- package/dist/packages/excalidraw/data/ai/types.d.ts +242 -0
- package/{types → dist/packages/excalidraw}/data/blob.d.ts +7 -5
- package/dist/packages/excalidraw/data/blob.js +378 -0
- package/{types → dist/packages/excalidraw}/data/encode.d.ts +1 -1
- package/dist/packages/excalidraw/data/encode.js +231 -0
- package/dist/packages/excalidraw/data/encryption.js +53 -0
- package/{types → dist/packages/excalidraw}/data/filesystem.d.ts +2 -1
- package/dist/packages/excalidraw/data/filesystem.js +65 -0
- package/dist/packages/excalidraw/data/image.js +91 -0
- package/dist/packages/excalidraw/data/index.d.ts +21 -0
- package/dist/packages/excalidraw/data/index.js +129 -0
- package/dist/packages/excalidraw/data/json.js +93 -0
- package/dist/packages/excalidraw/data/library.d.ts +54 -0
- package/dist/packages/excalidraw/data/library.js +376 -0
- package/dist/packages/excalidraw/data/magic.d.ts +23 -0
- package/dist/packages/excalidraw/data/magic.js +73 -0
- package/dist/packages/excalidraw/data/resave.js +23 -0
- package/{types → dist/packages/excalidraw}/data/restore.d.ts +10 -4
- package/dist/packages/excalidraw/data/restore.js +438 -0
- package/dist/packages/excalidraw/data/transform.d.ts +81 -0
- package/dist/packages/excalidraw/data/transform.js +442 -0
- package/{types → dist/packages/excalidraw}/data/types.d.ts +14 -1
- package/dist/packages/excalidraw/data/types.js +1 -0
- package/dist/packages/excalidraw/data/url.d.ts +7 -0
- package/dist/packages/excalidraw/data/url.js +30 -0
- package/dist/packages/excalidraw/distribute.js +58 -0
- package/dist/packages/excalidraw/element/ElementCanvasButtons.d.ts +7 -0
- package/dist/packages/excalidraw/element/ElementCanvasButtons.js +31 -0
- package/dist/packages/excalidraw/element/ElementCanvasButtons.scss +14 -0
- package/{types → dist/packages/excalidraw}/element/Hyperlink.d.ts +86 -35
- package/dist/packages/excalidraw/element/Hyperlink.js +350 -0
- package/dist/packages/excalidraw/element/Hyperlink.scss +70 -0
- package/{types → dist/packages/excalidraw}/element/binding.d.ts +4 -3
- package/dist/packages/excalidraw/element/binding.js +412 -0
- package/dist/packages/excalidraw/element/bounds.d.ts +75 -0
- package/dist/packages/excalidraw/element/bounds.js +613 -0
- package/{types → dist/packages/excalidraw}/element/collision.d.ts +7 -7
- package/dist/packages/excalidraw/element/collision.js +727 -0
- package/{types → dist/packages/excalidraw}/element/dragElements.d.ts +12 -2
- package/dist/packages/excalidraw/element/dragElements.js +119 -0
- package/dist/packages/excalidraw/element/embeddable.d.ts +168 -0
- package/dist/packages/excalidraw/element/embeddable.js +305 -0
- package/{types → dist/packages/excalidraw}/element/image.d.ts +11 -1
- package/dist/packages/excalidraw/element/image.js +91 -0
- package/{types → dist/packages/excalidraw}/element/index.d.ts +2 -2
- package/dist/packages/excalidraw/element/index.js +24 -0
- package/{types → dist/packages/excalidraw}/element/linearElementEditor.d.ts +123 -35
- package/dist/packages/excalidraw/element/linearElementEditor.js +867 -0
- package/{types → dist/packages/excalidraw}/element/mutateElement.d.ts +3 -2
- package/dist/packages/excalidraw/element/mutateElement.js +112 -0
- package/dist/packages/excalidraw/element/newElement.d.ts +104 -0
- package/dist/packages/excalidraw/element/newElement.js +389 -0
- package/{types → dist/packages/excalidraw}/element/resizeElements.d.ts +3 -3
- package/dist/packages/excalidraw/element/resizeElements.js +597 -0
- package/{types → dist/packages/excalidraw}/element/resizeTest.d.ts +2 -1
- package/dist/packages/excalidraw/element/resizeTest.js +95 -0
- package/dist/packages/excalidraw/element/showSelectedShapeActions.d.ts +3 -0
- package/dist/packages/excalidraw/element/showSelectedShapeActions.js +9 -0
- package/{types → dist/packages/excalidraw}/element/sizeHelpers.d.ts +8 -1
- package/dist/packages/excalidraw/element/sizeHelpers.js +131 -0
- package/dist/packages/excalidraw/element/sortElements.d.ts +2 -0
- package/dist/packages/excalidraw/element/sortElements.js +104 -0
- package/dist/packages/excalidraw/element/textElement.d.ts +78 -0
- package/dist/packages/excalidraw/element/textElement.js +716 -0
- package/{types → dist/packages/excalidraw}/element/textWysiwyg.d.ts +7 -2
- package/dist/packages/excalidraw/element/textWysiwyg.js +500 -0
- package/{types → dist/packages/excalidraw}/element/transformHandles.d.ts +16 -9
- package/dist/packages/excalidraw/element/transformHandles.js +155 -0
- package/dist/packages/excalidraw/element/typeChecks.d.ts +32 -0
- package/dist/packages/excalidraw/element/typeChecks.js +141 -0
- package/dist/packages/excalidraw/element/types.d.ts +192 -0
- package/dist/packages/excalidraw/element/types.js +1 -0
- package/{types → dist/packages/excalidraw}/emitter.d.ts +1 -2
- package/dist/packages/excalidraw/emitter.js +36 -0
- package/dist/packages/excalidraw/errors.d.ts +13 -0
- package/dist/packages/excalidraw/errors.js +20 -0
- package/dist/packages/excalidraw/frame.d.ts +57 -0
- package/dist/packages/excalidraw/frame.js +373 -0
- package/{types → dist/packages/excalidraw}/ga.d.ts +5 -5
- package/dist/packages/excalidraw/ga.js +268 -0
- package/dist/packages/excalidraw/gadirections.js +18 -0
- package/dist/packages/excalidraw/galines.js +32 -0
- package/dist/packages/excalidraw/gapoints.js +30 -0
- package/dist/packages/excalidraw/gatransforms.js +23 -0
- package/dist/packages/excalidraw/gesture.js +9 -0
- package/dist/packages/excalidraw/groups.d.ts +31 -0
- package/dist/packages/excalidraw/groups.js +225 -0
- package/{types → dist/packages/excalidraw}/history.d.ts +3 -3
- package/dist/packages/excalidraw/history.js +190 -0
- package/dist/packages/excalidraw/hooks/useCallbackRefState.js +6 -0
- package/dist/packages/excalidraw/hooks/useCreatePortalContainer.d.ts +4 -0
- package/dist/packages/excalidraw/hooks/useCreatePortalContainer.js +32 -0
- package/dist/packages/excalidraw/hooks/useLibraryItemSvg.d.ts +11 -0
- package/dist/packages/excalidraw/hooks/useLibraryItemSvg.js +66 -0
- package/dist/packages/excalidraw/hooks/useOutsideClick.d.ts +20 -0
- package/dist/packages/excalidraw/hooks/useOutsideClick.js +67 -0
- package/dist/packages/excalidraw/hooks/useScrollPosition.d.ts +2 -0
- package/dist/packages/excalidraw/hooks/useScrollPosition.js +23 -0
- package/dist/packages/excalidraw/hooks/useStable.d.ts +1 -0
- package/dist/packages/excalidraw/hooks/useStable.js +6 -0
- package/dist/packages/excalidraw/hooks/useTransition.d.ts +2 -0
- package/dist/packages/excalidraw/hooks/useTransition.js +7 -0
- package/dist/packages/excalidraw/i18n.d.ts +24 -0
- package/dist/packages/excalidraw/i18n.js +137 -0
- package/dist/packages/excalidraw/index-node.d.ts +1 -0
- package/dist/packages/excalidraw/index-node.js +77 -0
- package/dist/packages/excalidraw/index.d.ts +42 -0
- package/dist/packages/excalidraw/index.js +124 -0
- package/dist/packages/excalidraw/jotai.d.ts +34 -0
- package/dist/packages/excalidraw/jotai.js +18 -0
- package/{types → dist/packages/excalidraw}/keys.d.ts +20 -7
- package/dist/packages/excalidraw/keys.js +84 -0
- package/dist/packages/excalidraw/locales/ar-SA.json +525 -0
- package/dist/packages/excalidraw/locales/az-AZ.json +525 -0
- package/dist/packages/excalidraw/locales/bg-BG.json +525 -0
- package/dist/packages/excalidraw/locales/bn-BD.json +525 -0
- package/dist/packages/excalidraw/locales/ca-ES.json +525 -0
- package/dist/packages/excalidraw/locales/cs-CZ.json +525 -0
- package/dist/packages/excalidraw/locales/da-DK.json +525 -0
- package/dist/packages/excalidraw/locales/de-DE.json +525 -0
- package/dist/packages/excalidraw/locales/el-GR.json +525 -0
- package/dist/packages/excalidraw/locales/en.json +537 -0
- package/dist/packages/excalidraw/locales/es-ES.json +525 -0
- package/dist/packages/excalidraw/locales/eu-ES.json +525 -0
- package/dist/packages/excalidraw/locales/fa-IR.json +525 -0
- package/dist/packages/excalidraw/locales/fi-FI.json +525 -0
- package/dist/packages/excalidraw/locales/fr-FR.json +525 -0
- package/dist/packages/excalidraw/locales/gl-ES.json +525 -0
- package/dist/packages/excalidraw/locales/he-IL.json +525 -0
- package/dist/packages/excalidraw/locales/hi-IN.json +525 -0
- package/dist/packages/excalidraw/locales/hu-HU.json +525 -0
- package/dist/packages/excalidraw/locales/id-ID.json +525 -0
- package/dist/packages/excalidraw/locales/it-IT.json +525 -0
- package/dist/packages/excalidraw/locales/ja-JP.json +525 -0
- package/dist/packages/excalidraw/locales/kaa.json +525 -0
- package/dist/packages/excalidraw/locales/kab-KAB.json +525 -0
- package/dist/packages/excalidraw/locales/kk-KZ.json +525 -0
- package/dist/packages/excalidraw/locales/km-KH.json +525 -0
- package/dist/packages/excalidraw/locales/ko-KR.json +525 -0
- package/dist/packages/excalidraw/locales/ku-TR.json +525 -0
- package/dist/packages/excalidraw/locales/lt-LT.json +525 -0
- package/dist/packages/excalidraw/locales/lv-LV.json +525 -0
- package/dist/packages/excalidraw/locales/mr-IN.json +525 -0
- package/dist/packages/excalidraw/locales/my-MM.json +525 -0
- package/dist/packages/excalidraw/locales/nb-NO.json +525 -0
- package/dist/packages/excalidraw/locales/nl-NL.json +525 -0
- package/dist/packages/excalidraw/locales/nn-NO.json +525 -0
- package/dist/packages/excalidraw/locales/oc-FR.json +525 -0
- package/dist/packages/excalidraw/locales/pa-IN.json +525 -0
- package/dist/packages/excalidraw/locales/percentages.json +56 -0
- package/dist/packages/excalidraw/locales/pl-PL.json +525 -0
- package/dist/packages/excalidraw/locales/pt-BR.json +525 -0
- package/dist/packages/excalidraw/locales/pt-PT.json +525 -0
- package/dist/packages/excalidraw/locales/ro-RO.json +525 -0
- package/dist/packages/excalidraw/locales/ru-RU.json +525 -0
- package/dist/packages/excalidraw/locales/si-LK.json +525 -0
- package/dist/packages/excalidraw/locales/sk-SK.json +525 -0
- package/dist/packages/excalidraw/locales/sl-SI.json +525 -0
- package/dist/packages/excalidraw/locales/sv-SE.json +525 -0
- package/dist/packages/excalidraw/locales/ta-IN.json +525 -0
- package/dist/packages/excalidraw/locales/th-TH.json +525 -0
- package/dist/packages/excalidraw/locales/tr-TR.json +525 -0
- package/dist/packages/excalidraw/locales/uk-UA.json +525 -0
- package/dist/packages/excalidraw/locales/vi-VN.json +525 -0
- package/dist/packages/excalidraw/locales/zh-CN.json +525 -0
- package/dist/packages/excalidraw/locales/zh-HK.json +525 -0
- package/dist/packages/excalidraw/locales/zh-TW.json +525 -0
- package/dist/packages/excalidraw/math.d.ts +33 -0
- package/dist/packages/excalidraw/math.js +364 -0
- package/dist/packages/excalidraw/points.js +38 -0
- package/dist/packages/excalidraw/polyfill.js +32 -0
- package/dist/packages/excalidraw/random.js +11 -0
- package/dist/packages/excalidraw/renderer/renderElement.d.ts +26 -0
- package/dist/packages/excalidraw/renderer/renderElement.js +875 -0
- package/dist/packages/excalidraw/renderer/renderScene.d.ts +25 -0
- package/dist/packages/excalidraw/renderer/renderScene.js +860 -0
- package/dist/packages/excalidraw/renderer/renderSnaps.d.ts +2 -0
- package/dist/packages/excalidraw/renderer/renderSnaps.js +114 -0
- package/{types → dist/packages/excalidraw}/renderer/roundRect.d.ts +1 -1
- package/dist/packages/excalidraw/renderer/roundRect.js +28 -0
- package/dist/packages/excalidraw/scene/Fonts.d.ts +21 -0
- package/dist/packages/excalidraw/scene/Fonts.js +71 -0
- package/dist/packages/excalidraw/scene/Renderer.d.ts +25 -0
- package/dist/packages/excalidraw/scene/Renderer.js +65 -0
- package/dist/packages/excalidraw/scene/Scene.d.ts +67 -0
- package/dist/packages/excalidraw/scene/Scene.js +230 -0
- package/dist/packages/excalidraw/scene/Shape.d.ts +15 -0
- package/dist/packages/excalidraw/scene/Shape.js +322 -0
- package/dist/packages/excalidraw/scene/ShapeCache.d.ts +24 -0
- package/dist/packages/excalidraw/scene/ShapeCache.js +42 -0
- package/dist/packages/excalidraw/scene/comparisons.d.ts +10 -0
- package/dist/packages/excalidraw/scene/comparisons.js +67 -0
- package/dist/packages/excalidraw/scene/export.d.ts +192 -0
- package/dist/packages/excalidraw/scene/export.js +482 -0
- package/{types → dist/packages/excalidraw}/scene/index.d.ts +1 -1
- package/dist/packages/excalidraw/scene/index.js +5 -0
- package/{types → dist/packages/excalidraw}/scene/scroll.d.ts +1 -1
- package/dist/packages/excalidraw/scene/scroll.js +35 -0
- package/{types → dist/packages/excalidraw}/scene/scrollbars.d.ts +2 -6
- package/dist/packages/excalidraw/scene/scrollbars.js +85 -0
- package/dist/packages/excalidraw/scene/selection.d.ts +32 -0
- package/dist/packages/excalidraw/scene/selection.js +134 -0
- package/dist/packages/excalidraw/scene/types.d.ts +114 -0
- package/dist/packages/excalidraw/scene/types.js +1 -0
- package/dist/packages/excalidraw/scene/zoom.js +22 -0
- package/dist/packages/excalidraw/shapes.d.ts +63 -0
- package/dist/packages/excalidraw/shapes.js +84 -0
- package/dist/packages/excalidraw/snapping.d.ts +108 -0
- package/dist/packages/excalidraw/snapping.js +838 -0
- package/dist/packages/excalidraw/types.d.ts +586 -0
- package/dist/packages/excalidraw/types.js +6 -0
- package/dist/packages/excalidraw/utility-types.d.ts +25 -0
- package/dist/packages/excalidraw/utility-types.js +1 -0
- package/{types → dist/packages/excalidraw}/utils.d.ts +90 -13
- package/dist/packages/excalidraw/utils.js +668 -0
- package/dist/packages/excalidraw/zindex.d.ts +6 -0
- package/dist/packages/excalidraw/zindex.js +349 -0
- package/dist/packages/utils/bbox.d.ts +11 -0
- package/dist/packages/utils/bbox.js +42 -0
- package/dist/packages/utils/export.d.ts +40 -0
- package/dist/packages/utils/export.js +84 -0
- package/dist/packages/utils/withinBounds.d.ts +19 -0
- package/dist/packages/utils/withinBounds.js +125 -0
- package/dist/public/fonts/Assistant-Bold.woff2 +0 -0
- package/dist/public/fonts/Assistant-Medium.woff2 +0 -0
- package/dist/public/fonts/Assistant-Regular.woff2 +0 -0
- package/dist/public/fonts/Assistant-SemiBold.woff2 +0 -0
- package/dist/public/fonts/Cascadia.ttf +0 -0
- package/dist/public/fonts/FG_Virgil.ttf +0 -0
- package/dist/public/fonts/FG_Virgil.woff2 +0 -0
- package/dist/public/fonts/fonts.css +38 -0
- package/history.ts +265 -0
- package/main.js +7 -4
- package/package.json +64 -12
- package/dist/excalidraw-assets/Cascadia.woff2 +0 -0
- package/dist/excalidraw-assets/Virgil.woff2 +0 -0
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js +0 -2
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js.LICENSE.txt +0 -12
- package/dist/excalidraw-assets-dev/vendor-c0592035c3911af79359.js +0 -98
- package/dist/excalidraw.development.js +0 -3597
- package/dist/excalidraw.production.min.js +0 -2
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -18
- package/types/actions/actionAlign.d.ts +0 -91
- package/types/actions/actionBoundText.d.ts +0 -128
- package/types/actions/actionCanvas.d.ts +0 -901
- package/types/actions/actionClipboard.d.ts +0 -590
- package/types/actions/actionDistribute.d.ts +0 -33
- package/types/actions/actionGroup.d.ts +0 -45
- package/types/actions/actionNavigate.d.ts +0 -13
- package/types/actions/actionSelectAll.d.ts +0 -16
- package/types/actions/actionToggleLock.d.ts +0 -115
- package/types/actions/shortcuts.d.ts +0 -3
- package/types/actions/types.d.ts +0 -40
- package/types/clients.d.ts +0 -6
- package/types/clipboard.d.ts +0 -20
- package/types/colors.d.ts +0 -6
- package/types/components/Actions.d.ts +0 -23
- package/types/components/ActiveFile.d.ts +0 -7
- package/types/components/Avatar.d.ts +0 -11
- package/types/components/BackgroundPickerAndDarkModeToggle.d.ts +0 -9
- package/types/components/ClearCanvas.d.ts +0 -4
- package/types/components/CollabButton.d.ts +0 -7
- package/types/components/ColorPicker.d.ts +0 -14
- package/types/components/ContextMenu.d.ts +0 -28
- package/types/components/ErrorDialog.d.ts +0 -4
- package/types/components/HelpIcon.d.ts +0 -8
- package/types/components/HintViewer.d.ts +0 -10
- package/types/components/ImageExportDialog.d.ts +0 -16
- package/types/components/JSONExportDialog.d.ts +0 -13
- package/types/components/LayerUI.d.ts +0 -38
- package/types/components/LibraryButton.d.ts +0 -7
- package/types/components/LibraryMenu.d.ts +0 -17
- package/types/components/LibraryMenuItems.d.ts +0 -24
- package/types/components/LibraryUnit.d.ts +0 -12
- package/types/components/MobileMenu.d.ts +0 -29
- package/types/components/PasteChartDialog.d.ts +0 -9
- package/types/components/SidebarLockButton.d.ts +0 -8
- package/types/components/SingleLibraryItem.d.ts +0 -10
- package/types/components/Stack.d.ts +0 -15
- package/types/components/UserList.d.ts +0 -11
- package/types/components/icons.d.ts +0 -180
- package/types/constants.d.ts +0 -149
- package/types/data/index.d.ts +0 -13
- package/types/data/library.d.ts +0 -96
- package/types/element/bounds.d.ts +0 -27
- package/types/element/newElement.d.ts +0 -50
- package/types/element/showSelectedShapeActions.d.ts +0 -3
- package/types/element/textElement.d.ts +0 -26
- package/types/element/typeChecks.d.ts +0 -17
- package/types/element/types.d.ts +0 -133
- package/types/errors.d.ts +0 -8
- package/types/groups.d.ts +0 -27
- package/types/i18n.d.ts +0 -15
- package/types/jotai.d.ts +0 -122
- package/types/math.d.ts +0 -20
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-c0592035c3911af79359.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw.development.d.ts +0 -2
- package/types/packages/excalidraw/dist/excalidraw.production.min.d.ts +0 -1
- package/types/packages/excalidraw/entry.d.ts +0 -1
- package/types/packages/excalidraw/env.d.ts +0 -1
- package/types/packages/excalidraw/example/App.d.ts +0 -7
- package/types/packages/excalidraw/example/initialData.d.ts +0 -172
- package/types/packages/excalidraw/example/sidebar/Sidebar.d.ts +0 -5
- package/types/packages/excalidraw/index.d.ts +0 -18
- package/types/packages/excalidraw/main.d.ts +0 -2
- package/types/packages/excalidraw/webpack.dev-server.config.d.ts +0 -19
- package/types/packages/excalidraw/webpack.dev.config.d.ts +0 -79
- package/types/packages/excalidraw/webpack.prod.config.d.ts +0 -92
- package/types/packages/utils.d.ts +0 -32
- package/types/renderer/renderElement.d.ts +0 -35
- package/types/renderer/renderScene.d.ts +0 -41
- package/types/scene/Scene.d.ts +0 -25
- package/types/scene/comparisons.d.ts +0 -11
- package/types/scene/export.d.ts +0 -20
- package/types/scene/selection.d.ts +0 -11
- package/types/scene/types.d.ts +0 -58
- package/types/shapes.d.ts +0 -38
- package/types/types.d.ts +0 -393
- package/types/zindex.d.ts +0 -6
- /package/{types → dist/packages/excalidraw}/actions/register.d.ts +0 -0
- /package/{types/packages/excalidraw/example/index.d.ts → dist/packages/excalidraw/actions/types.js} +0 -0
- /package/{types → dist/packages/excalidraw}/align.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/analytics.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/components/Card.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/components/CheckboxItem.d.ts +0 -0
- /package/{types/packages/excalidraw/publicPath.d.ts → dist/packages/excalidraw/data/ai/types.js} +0 -0
- /package/{types → dist/packages/excalidraw}/data/encryption.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/data/image.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/data/json.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/data/resave.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/distribute.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/gadirections.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/galines.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/gapoints.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/gatransforms.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/gesture.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/hooks/useCallbackRefState.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/points.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/polyfill.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/random.d.ts +0 -0
- /package/{types → dist/packages/excalidraw}/scene/zoom.d.ts +0 -0
- /package/dist/{excalidraw-assets-dev → public/fonts}/Cascadia.woff2 +0 -0
- /package/dist/{excalidraw-assets-dev → public/fonts}/Virgil.woff2 +0 -0
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AppState } from "
|
|
3
|
-
import { Arrowhead, ExcalidrawElement, ExcalidrawLinearElement
|
|
2
|
+
import { AppState, Primitive } from "../types";
|
|
3
|
+
import { Arrowhead, ExcalidrawElement, ExcalidrawLinearElement } from "../element/types";
|
|
4
|
+
export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
|
|
5
|
+
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], appState: AppState, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
|
|
4
6
|
export declare const actionChangeStrokeColor: {
|
|
5
7
|
name: "changeStrokeColor";
|
|
6
8
|
trackEvent: false;
|
|
7
9
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
8
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
10
|
+
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => JSX.Element;
|
|
9
11
|
} & {
|
|
10
12
|
keyTest?: undefined;
|
|
11
13
|
};
|
|
@@ -13,19 +15,29 @@ export declare const actionChangeBackgroundColor: {
|
|
|
13
15
|
name: "changeBackgroundColor";
|
|
14
16
|
trackEvent: false;
|
|
15
17
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
16
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
18
|
+
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => JSX.Element;
|
|
17
19
|
} & {
|
|
18
20
|
keyTest?: undefined;
|
|
19
21
|
};
|
|
20
22
|
export declare const actionChangeFillStyle: {
|
|
21
23
|
name: "changeFillStyle";
|
|
22
24
|
trackEvent: false;
|
|
23
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
25
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any, app: import("../types").AppClassProperties) => {
|
|
24
26
|
elements: ExcalidrawElement[];
|
|
25
27
|
appState: {
|
|
26
28
|
currentItemFillStyle: any;
|
|
29
|
+
contextMenu: {
|
|
30
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
31
|
+
top: number;
|
|
32
|
+
left: number;
|
|
33
|
+
} | null;
|
|
34
|
+
showWelcomeScreen: boolean;
|
|
27
35
|
isLoading: boolean;
|
|
28
|
-
errorMessage:
|
|
36
|
+
errorMessage: import("react").ReactNode;
|
|
37
|
+
activeEmbeddable: {
|
|
38
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
39
|
+
state: "active" | "hover";
|
|
40
|
+
} | null;
|
|
29
41
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
30
42
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
31
43
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -33,19 +45,21 @@ export declare const actionChangeFillStyle: {
|
|
|
33
45
|
isBindingEnabled: boolean;
|
|
34
46
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
35
47
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
48
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
49
|
+
frameRendering: {
|
|
50
|
+
enabled: boolean;
|
|
51
|
+
name: boolean;
|
|
52
|
+
outline: boolean;
|
|
53
|
+
clip: boolean;
|
|
54
|
+
};
|
|
55
|
+
editingFrame: string | null;
|
|
56
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
36
57
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
37
58
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
38
59
|
activeTool: {
|
|
39
|
-
|
|
40
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
60
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
41
61
|
locked: boolean;
|
|
42
|
-
|
|
43
|
-
} | {
|
|
44
|
-
type: "custom";
|
|
45
|
-
customType: string;
|
|
46
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
47
|
-
locked: boolean;
|
|
48
|
-
};
|
|
62
|
+
} & import("../types").ActiveTool;
|
|
49
63
|
penMode: boolean;
|
|
50
64
|
penDetected: boolean;
|
|
51
65
|
exportBackground: boolean;
|
|
@@ -60,11 +74,10 @@ export declare const actionChangeFillStyle: {
|
|
|
60
74
|
currentItemOpacity: number;
|
|
61
75
|
currentItemFontFamily: number;
|
|
62
76
|
currentItemFontSize: number;
|
|
63
|
-
currentItemTextAlign:
|
|
64
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
77
|
+
currentItemTextAlign: string;
|
|
65
78
|
currentItemStartArrowhead: Arrowhead | null;
|
|
66
79
|
currentItemEndArrowhead: Arrowhead | null;
|
|
67
|
-
|
|
80
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
68
81
|
viewBackgroundColor: string;
|
|
69
82
|
scrollX: number;
|
|
70
83
|
scrollY: number;
|
|
@@ -74,26 +87,41 @@ export declare const actionChangeFillStyle: {
|
|
|
74
87
|
isResizing: boolean;
|
|
75
88
|
isRotating: boolean;
|
|
76
89
|
zoom: Readonly<{
|
|
77
|
-
value: import("
|
|
90
|
+
value: import("../types").NormalizedZoomValue;
|
|
78
91
|
}>;
|
|
79
92
|
openMenu: "canvas" | "shape" | null;
|
|
80
|
-
openPopup: "
|
|
93
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
94
|
+
openSidebar: {
|
|
95
|
+
name: string;
|
|
96
|
+
tab?: string | undefined;
|
|
97
|
+
} | null;
|
|
98
|
+
openDialog: {
|
|
99
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
100
|
+
} | {
|
|
101
|
+
name: "settings";
|
|
102
|
+
source: "settings" | "tool" | "generation";
|
|
103
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
104
|
+
} | {
|
|
105
|
+
name: "ttd";
|
|
106
|
+
tab: "mermaid" | "text-to-diagram";
|
|
107
|
+
} | null;
|
|
108
|
+
defaultSidebarDockedPreference: boolean;
|
|
81
109
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
82
|
-
selectedElementIds: {
|
|
83
|
-
[id: string]:
|
|
84
|
-
}
|
|
110
|
+
selectedElementIds: Readonly<{
|
|
111
|
+
[id: string]: true;
|
|
112
|
+
}>;
|
|
85
113
|
previousSelectedElementIds: {
|
|
86
|
-
[id: string]:
|
|
114
|
+
[id: string]: true;
|
|
87
115
|
};
|
|
116
|
+
selectedElementsAreBeingDragged: boolean;
|
|
88
117
|
shouldCacheIgnoreZoom: boolean;
|
|
89
|
-
showHelpDialog: boolean;
|
|
90
118
|
toast: {
|
|
91
119
|
message: string;
|
|
92
120
|
closable?: boolean | undefined;
|
|
93
121
|
duration?: number | undefined;
|
|
94
122
|
} | null;
|
|
95
123
|
zenModeEnabled: boolean;
|
|
96
|
-
theme:
|
|
124
|
+
theme: import("../element/types").Theme;
|
|
97
125
|
gridSize: number | null;
|
|
98
126
|
viewModeEnabled: boolean;
|
|
99
127
|
selectedGroupIds: {
|
|
@@ -104,10 +132,24 @@ export declare const actionChangeFillStyle: {
|
|
|
104
132
|
height: number;
|
|
105
133
|
offsetTop: number;
|
|
106
134
|
offsetLeft: number;
|
|
107
|
-
isLibraryOpen: boolean;
|
|
108
|
-
isLibraryMenuDocked: boolean;
|
|
109
135
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
110
|
-
collaborators: Map<
|
|
136
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
137
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
138
|
+
button?: "up" | "down" | undefined;
|
|
139
|
+
selectedElementIds?: Readonly<{
|
|
140
|
+
[id: string]: true;
|
|
141
|
+
}> | undefined;
|
|
142
|
+
username?: string | null | undefined;
|
|
143
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
144
|
+
color?: {
|
|
145
|
+
background: string;
|
|
146
|
+
stroke: string;
|
|
147
|
+
} | undefined;
|
|
148
|
+
avatarUrl?: string | undefined;
|
|
149
|
+
id?: string | undefined;
|
|
150
|
+
socketId?: import("../types").SocketId | undefined;
|
|
151
|
+
isCurrentUser?: boolean | undefined;
|
|
152
|
+
}>>;
|
|
111
153
|
showStats: boolean;
|
|
112
154
|
currentChartType: import("../element/types").ChartType;
|
|
113
155
|
pasteDialog: {
|
|
@@ -118,8 +160,16 @@ export declare const actionChangeFillStyle: {
|
|
|
118
160
|
data: import("../charts").Spreadsheet;
|
|
119
161
|
};
|
|
120
162
|
pendingImageElementId: string | null;
|
|
121
|
-
showHyperlinkPopup: false | "
|
|
163
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
122
164
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
165
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
166
|
+
originSnapOffset: {
|
|
167
|
+
x: number;
|
|
168
|
+
y: number;
|
|
169
|
+
} | null;
|
|
170
|
+
objectsSnapModeEnabled: boolean;
|
|
171
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
172
|
+
followedBy: Set<import("../types").SocketId>;
|
|
123
173
|
};
|
|
124
174
|
commitToHistory: true;
|
|
125
175
|
};
|
|
@@ -134,8 +184,18 @@ export declare const actionChangeStrokeWidth: {
|
|
|
134
184
|
elements: ExcalidrawElement[];
|
|
135
185
|
appState: {
|
|
136
186
|
currentItemStrokeWidth: any;
|
|
187
|
+
contextMenu: {
|
|
188
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
189
|
+
top: number;
|
|
190
|
+
left: number;
|
|
191
|
+
} | null;
|
|
192
|
+
showWelcomeScreen: boolean;
|
|
137
193
|
isLoading: boolean;
|
|
138
|
-
errorMessage:
|
|
194
|
+
errorMessage: import("react").ReactNode;
|
|
195
|
+
activeEmbeddable: {
|
|
196
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
197
|
+
state: "active" | "hover";
|
|
198
|
+
} | null;
|
|
139
199
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
140
200
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
141
201
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -143,19 +203,21 @@ export declare const actionChangeStrokeWidth: {
|
|
|
143
203
|
isBindingEnabled: boolean;
|
|
144
204
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
145
205
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
206
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
207
|
+
frameRendering: {
|
|
208
|
+
enabled: boolean;
|
|
209
|
+
name: boolean;
|
|
210
|
+
outline: boolean;
|
|
211
|
+
clip: boolean;
|
|
212
|
+
};
|
|
213
|
+
editingFrame: string | null;
|
|
214
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
146
215
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
147
216
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
148
217
|
activeTool: {
|
|
149
|
-
|
|
150
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
218
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
151
219
|
locked: boolean;
|
|
152
|
-
|
|
153
|
-
} | {
|
|
154
|
-
type: "custom";
|
|
155
|
-
customType: string;
|
|
156
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
157
|
-
locked: boolean;
|
|
158
|
-
};
|
|
220
|
+
} & import("../types").ActiveTool;
|
|
159
221
|
penMode: boolean;
|
|
160
222
|
penDetected: boolean;
|
|
161
223
|
exportBackground: boolean;
|
|
@@ -170,11 +232,10 @@ export declare const actionChangeStrokeWidth: {
|
|
|
170
232
|
currentItemOpacity: number;
|
|
171
233
|
currentItemFontFamily: number;
|
|
172
234
|
currentItemFontSize: number;
|
|
173
|
-
currentItemTextAlign:
|
|
174
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
235
|
+
currentItemTextAlign: string;
|
|
175
236
|
currentItemStartArrowhead: Arrowhead | null;
|
|
176
237
|
currentItemEndArrowhead: Arrowhead | null;
|
|
177
|
-
|
|
238
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
178
239
|
viewBackgroundColor: string;
|
|
179
240
|
scrollX: number;
|
|
180
241
|
scrollY: number;
|
|
@@ -184,26 +245,41 @@ export declare const actionChangeStrokeWidth: {
|
|
|
184
245
|
isResizing: boolean;
|
|
185
246
|
isRotating: boolean;
|
|
186
247
|
zoom: Readonly<{
|
|
187
|
-
value: import("
|
|
248
|
+
value: import("../types").NormalizedZoomValue;
|
|
188
249
|
}>;
|
|
189
250
|
openMenu: "canvas" | "shape" | null;
|
|
190
|
-
openPopup: "
|
|
251
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
252
|
+
openSidebar: {
|
|
253
|
+
name: string;
|
|
254
|
+
tab?: string | undefined;
|
|
255
|
+
} | null;
|
|
256
|
+
openDialog: {
|
|
257
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
258
|
+
} | {
|
|
259
|
+
name: "settings";
|
|
260
|
+
source: "settings" | "tool" | "generation";
|
|
261
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
262
|
+
} | {
|
|
263
|
+
name: "ttd";
|
|
264
|
+
tab: "mermaid" | "text-to-diagram";
|
|
265
|
+
} | null;
|
|
266
|
+
defaultSidebarDockedPreference: boolean;
|
|
191
267
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
192
|
-
selectedElementIds: {
|
|
193
|
-
[id: string]:
|
|
194
|
-
}
|
|
268
|
+
selectedElementIds: Readonly<{
|
|
269
|
+
[id: string]: true;
|
|
270
|
+
}>;
|
|
195
271
|
previousSelectedElementIds: {
|
|
196
|
-
[id: string]:
|
|
272
|
+
[id: string]: true;
|
|
197
273
|
};
|
|
274
|
+
selectedElementsAreBeingDragged: boolean;
|
|
198
275
|
shouldCacheIgnoreZoom: boolean;
|
|
199
|
-
showHelpDialog: boolean;
|
|
200
276
|
toast: {
|
|
201
277
|
message: string;
|
|
202
278
|
closable?: boolean | undefined;
|
|
203
279
|
duration?: number | undefined;
|
|
204
280
|
} | null;
|
|
205
281
|
zenModeEnabled: boolean;
|
|
206
|
-
theme:
|
|
282
|
+
theme: import("../element/types").Theme;
|
|
207
283
|
gridSize: number | null;
|
|
208
284
|
viewModeEnabled: boolean;
|
|
209
285
|
selectedGroupIds: {
|
|
@@ -214,10 +290,24 @@ export declare const actionChangeStrokeWidth: {
|
|
|
214
290
|
height: number;
|
|
215
291
|
offsetTop: number;
|
|
216
292
|
offsetLeft: number;
|
|
217
|
-
isLibraryOpen: boolean;
|
|
218
|
-
isLibraryMenuDocked: boolean;
|
|
219
293
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
220
|
-
collaborators: Map<
|
|
294
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
295
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
296
|
+
button?: "up" | "down" | undefined;
|
|
297
|
+
selectedElementIds?: Readonly<{
|
|
298
|
+
[id: string]: true;
|
|
299
|
+
}> | undefined;
|
|
300
|
+
username?: string | null | undefined;
|
|
301
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
302
|
+
color?: {
|
|
303
|
+
background: string;
|
|
304
|
+
stroke: string;
|
|
305
|
+
} | undefined;
|
|
306
|
+
avatarUrl?: string | undefined;
|
|
307
|
+
id?: string | undefined;
|
|
308
|
+
socketId?: import("../types").SocketId | undefined;
|
|
309
|
+
isCurrentUser?: boolean | undefined;
|
|
310
|
+
}>>;
|
|
221
311
|
showStats: boolean;
|
|
222
312
|
currentChartType: import("../element/types").ChartType;
|
|
223
313
|
pasteDialog: {
|
|
@@ -228,8 +318,16 @@ export declare const actionChangeStrokeWidth: {
|
|
|
228
318
|
data: import("../charts").Spreadsheet;
|
|
229
319
|
};
|
|
230
320
|
pendingImageElementId: string | null;
|
|
231
|
-
showHyperlinkPopup: false | "
|
|
321
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
232
322
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
323
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
324
|
+
originSnapOffset: {
|
|
325
|
+
x: number;
|
|
326
|
+
y: number;
|
|
327
|
+
} | null;
|
|
328
|
+
objectsSnapModeEnabled: boolean;
|
|
329
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
330
|
+
followedBy: Set<import("../types").SocketId>;
|
|
233
331
|
};
|
|
234
332
|
commitToHistory: true;
|
|
235
333
|
};
|
|
@@ -244,8 +342,18 @@ export declare const actionChangeSloppiness: {
|
|
|
244
342
|
elements: ExcalidrawElement[];
|
|
245
343
|
appState: {
|
|
246
344
|
currentItemRoughness: any;
|
|
345
|
+
contextMenu: {
|
|
346
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
347
|
+
top: number;
|
|
348
|
+
left: number;
|
|
349
|
+
} | null;
|
|
350
|
+
showWelcomeScreen: boolean;
|
|
247
351
|
isLoading: boolean;
|
|
248
|
-
errorMessage:
|
|
352
|
+
errorMessage: import("react").ReactNode;
|
|
353
|
+
activeEmbeddable: {
|
|
354
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
355
|
+
state: "active" | "hover";
|
|
356
|
+
} | null;
|
|
249
357
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
250
358
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
251
359
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -253,19 +361,21 @@ export declare const actionChangeSloppiness: {
|
|
|
253
361
|
isBindingEnabled: boolean;
|
|
254
362
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
255
363
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
364
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
365
|
+
frameRendering: {
|
|
366
|
+
enabled: boolean;
|
|
367
|
+
name: boolean;
|
|
368
|
+
outline: boolean;
|
|
369
|
+
clip: boolean;
|
|
370
|
+
};
|
|
371
|
+
editingFrame: string | null;
|
|
372
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
256
373
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
257
374
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
258
375
|
activeTool: {
|
|
259
|
-
|
|
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;
|
|
376
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
267
377
|
locked: boolean;
|
|
268
|
-
};
|
|
378
|
+
} & import("../types").ActiveTool;
|
|
269
379
|
penMode: boolean;
|
|
270
380
|
penDetected: boolean;
|
|
271
381
|
exportBackground: boolean;
|
|
@@ -280,11 +390,10 @@ export declare const actionChangeSloppiness: {
|
|
|
280
390
|
currentItemOpacity: number;
|
|
281
391
|
currentItemFontFamily: number;
|
|
282
392
|
currentItemFontSize: number;
|
|
283
|
-
currentItemTextAlign:
|
|
284
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
393
|
+
currentItemTextAlign: string;
|
|
285
394
|
currentItemStartArrowhead: Arrowhead | null;
|
|
286
395
|
currentItemEndArrowhead: Arrowhead | null;
|
|
287
|
-
|
|
396
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
288
397
|
viewBackgroundColor: string;
|
|
289
398
|
scrollX: number;
|
|
290
399
|
scrollY: number;
|
|
@@ -294,26 +403,41 @@ export declare const actionChangeSloppiness: {
|
|
|
294
403
|
isResizing: boolean;
|
|
295
404
|
isRotating: boolean;
|
|
296
405
|
zoom: Readonly<{
|
|
297
|
-
value: import("
|
|
406
|
+
value: import("../types").NormalizedZoomValue;
|
|
298
407
|
}>;
|
|
299
408
|
openMenu: "canvas" | "shape" | null;
|
|
300
|
-
openPopup: "
|
|
409
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
410
|
+
openSidebar: {
|
|
411
|
+
name: string;
|
|
412
|
+
tab?: string | undefined;
|
|
413
|
+
} | null;
|
|
414
|
+
openDialog: {
|
|
415
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
416
|
+
} | {
|
|
417
|
+
name: "settings";
|
|
418
|
+
source: "settings" | "tool" | "generation";
|
|
419
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
420
|
+
} | {
|
|
421
|
+
name: "ttd";
|
|
422
|
+
tab: "mermaid" | "text-to-diagram";
|
|
423
|
+
} | null;
|
|
424
|
+
defaultSidebarDockedPreference: boolean;
|
|
301
425
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
302
|
-
selectedElementIds: {
|
|
303
|
-
[id: string]:
|
|
304
|
-
}
|
|
426
|
+
selectedElementIds: Readonly<{
|
|
427
|
+
[id: string]: true;
|
|
428
|
+
}>;
|
|
305
429
|
previousSelectedElementIds: {
|
|
306
|
-
[id: string]:
|
|
430
|
+
[id: string]: true;
|
|
307
431
|
};
|
|
432
|
+
selectedElementsAreBeingDragged: boolean;
|
|
308
433
|
shouldCacheIgnoreZoom: boolean;
|
|
309
|
-
showHelpDialog: boolean;
|
|
310
434
|
toast: {
|
|
311
435
|
message: string;
|
|
312
436
|
closable?: boolean | undefined;
|
|
313
437
|
duration?: number | undefined;
|
|
314
438
|
} | null;
|
|
315
439
|
zenModeEnabled: boolean;
|
|
316
|
-
theme:
|
|
440
|
+
theme: import("../element/types").Theme;
|
|
317
441
|
gridSize: number | null;
|
|
318
442
|
viewModeEnabled: boolean;
|
|
319
443
|
selectedGroupIds: {
|
|
@@ -324,10 +448,24 @@ export declare const actionChangeSloppiness: {
|
|
|
324
448
|
height: number;
|
|
325
449
|
offsetTop: number;
|
|
326
450
|
offsetLeft: number;
|
|
327
|
-
isLibraryOpen: boolean;
|
|
328
|
-
isLibraryMenuDocked: boolean;
|
|
329
451
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
330
|
-
collaborators: Map<
|
|
452
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
453
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
454
|
+
button?: "up" | "down" | undefined;
|
|
455
|
+
selectedElementIds?: Readonly<{
|
|
456
|
+
[id: string]: true;
|
|
457
|
+
}> | undefined;
|
|
458
|
+
username?: string | null | undefined;
|
|
459
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
460
|
+
color?: {
|
|
461
|
+
background: string;
|
|
462
|
+
stroke: string;
|
|
463
|
+
} | undefined;
|
|
464
|
+
avatarUrl?: string | undefined;
|
|
465
|
+
id?: string | undefined;
|
|
466
|
+
socketId?: import("../types").SocketId | undefined;
|
|
467
|
+
isCurrentUser?: boolean | undefined;
|
|
468
|
+
}>>;
|
|
331
469
|
showStats: boolean;
|
|
332
470
|
currentChartType: import("../element/types").ChartType;
|
|
333
471
|
pasteDialog: {
|
|
@@ -338,8 +476,16 @@ export declare const actionChangeSloppiness: {
|
|
|
338
476
|
data: import("../charts").Spreadsheet;
|
|
339
477
|
};
|
|
340
478
|
pendingImageElementId: string | null;
|
|
341
|
-
showHyperlinkPopup: false | "
|
|
479
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
342
480
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
481
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
482
|
+
originSnapOffset: {
|
|
483
|
+
x: number;
|
|
484
|
+
y: number;
|
|
485
|
+
} | null;
|
|
486
|
+
objectsSnapModeEnabled: boolean;
|
|
487
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
488
|
+
followedBy: Set<import("../types").SocketId>;
|
|
343
489
|
};
|
|
344
490
|
commitToHistory: true;
|
|
345
491
|
};
|
|
@@ -354,8 +500,18 @@ export declare const actionChangeStrokeStyle: {
|
|
|
354
500
|
elements: ExcalidrawElement[];
|
|
355
501
|
appState: {
|
|
356
502
|
currentItemStrokeStyle: any;
|
|
503
|
+
contextMenu: {
|
|
504
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
505
|
+
top: number;
|
|
506
|
+
left: number;
|
|
507
|
+
} | null;
|
|
508
|
+
showWelcomeScreen: boolean;
|
|
357
509
|
isLoading: boolean;
|
|
358
|
-
errorMessage:
|
|
510
|
+
errorMessage: import("react").ReactNode;
|
|
511
|
+
activeEmbeddable: {
|
|
512
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
513
|
+
state: "active" | "hover";
|
|
514
|
+
} | null;
|
|
359
515
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
360
516
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
361
517
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -363,19 +519,21 @@ export declare const actionChangeStrokeStyle: {
|
|
|
363
519
|
isBindingEnabled: boolean;
|
|
364
520
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
365
521
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
522
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
523
|
+
frameRendering: {
|
|
524
|
+
enabled: boolean;
|
|
525
|
+
name: boolean;
|
|
526
|
+
outline: boolean;
|
|
527
|
+
clip: boolean;
|
|
528
|
+
};
|
|
529
|
+
editingFrame: string | null;
|
|
530
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
366
531
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
367
532
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
368
533
|
activeTool: {
|
|
369
|
-
|
|
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;
|
|
534
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
377
535
|
locked: boolean;
|
|
378
|
-
};
|
|
536
|
+
} & import("../types").ActiveTool;
|
|
379
537
|
penMode: boolean;
|
|
380
538
|
penDetected: boolean;
|
|
381
539
|
exportBackground: boolean;
|
|
@@ -390,11 +548,10 @@ export declare const actionChangeStrokeStyle: {
|
|
|
390
548
|
currentItemOpacity: number;
|
|
391
549
|
currentItemFontFamily: number;
|
|
392
550
|
currentItemFontSize: number;
|
|
393
|
-
currentItemTextAlign:
|
|
394
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
551
|
+
currentItemTextAlign: string;
|
|
395
552
|
currentItemStartArrowhead: Arrowhead | null;
|
|
396
553
|
currentItemEndArrowhead: Arrowhead | null;
|
|
397
|
-
|
|
554
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
398
555
|
viewBackgroundColor: string;
|
|
399
556
|
scrollX: number;
|
|
400
557
|
scrollY: number;
|
|
@@ -404,26 +561,41 @@ export declare const actionChangeStrokeStyle: {
|
|
|
404
561
|
isResizing: boolean;
|
|
405
562
|
isRotating: boolean;
|
|
406
563
|
zoom: Readonly<{
|
|
407
|
-
value: import("
|
|
564
|
+
value: import("../types").NormalizedZoomValue;
|
|
408
565
|
}>;
|
|
409
566
|
openMenu: "canvas" | "shape" | null;
|
|
410
|
-
openPopup: "
|
|
567
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
568
|
+
openSidebar: {
|
|
569
|
+
name: string;
|
|
570
|
+
tab?: string | undefined;
|
|
571
|
+
} | null;
|
|
572
|
+
openDialog: {
|
|
573
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
574
|
+
} | {
|
|
575
|
+
name: "settings";
|
|
576
|
+
source: "settings" | "tool" | "generation";
|
|
577
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
578
|
+
} | {
|
|
579
|
+
name: "ttd";
|
|
580
|
+
tab: "mermaid" | "text-to-diagram";
|
|
581
|
+
} | null;
|
|
582
|
+
defaultSidebarDockedPreference: boolean;
|
|
411
583
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
412
|
-
selectedElementIds: {
|
|
413
|
-
[id: string]:
|
|
414
|
-
}
|
|
584
|
+
selectedElementIds: Readonly<{
|
|
585
|
+
[id: string]: true;
|
|
586
|
+
}>;
|
|
415
587
|
previousSelectedElementIds: {
|
|
416
|
-
[id: string]:
|
|
588
|
+
[id: string]: true;
|
|
417
589
|
};
|
|
590
|
+
selectedElementsAreBeingDragged: boolean;
|
|
418
591
|
shouldCacheIgnoreZoom: boolean;
|
|
419
|
-
showHelpDialog: boolean;
|
|
420
592
|
toast: {
|
|
421
593
|
message: string;
|
|
422
594
|
closable?: boolean | undefined;
|
|
423
595
|
duration?: number | undefined;
|
|
424
596
|
} | null;
|
|
425
597
|
zenModeEnabled: boolean;
|
|
426
|
-
theme:
|
|
598
|
+
theme: import("../element/types").Theme;
|
|
427
599
|
gridSize: number | null;
|
|
428
600
|
viewModeEnabled: boolean;
|
|
429
601
|
selectedGroupIds: {
|
|
@@ -434,10 +606,24 @@ export declare const actionChangeStrokeStyle: {
|
|
|
434
606
|
height: number;
|
|
435
607
|
offsetTop: number;
|
|
436
608
|
offsetLeft: number;
|
|
437
|
-
isLibraryOpen: boolean;
|
|
438
|
-
isLibraryMenuDocked: boolean;
|
|
439
609
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
440
|
-
collaborators: Map<
|
|
610
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
611
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
612
|
+
button?: "up" | "down" | undefined;
|
|
613
|
+
selectedElementIds?: Readonly<{
|
|
614
|
+
[id: string]: true;
|
|
615
|
+
}> | undefined;
|
|
616
|
+
username?: string | null | undefined;
|
|
617
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
618
|
+
color?: {
|
|
619
|
+
background: string;
|
|
620
|
+
stroke: string;
|
|
621
|
+
} | undefined;
|
|
622
|
+
avatarUrl?: string | undefined;
|
|
623
|
+
id?: string | undefined;
|
|
624
|
+
socketId?: import("../types").SocketId | undefined;
|
|
625
|
+
isCurrentUser?: boolean | undefined;
|
|
626
|
+
}>>;
|
|
441
627
|
showStats: boolean;
|
|
442
628
|
currentChartType: import("../element/types").ChartType;
|
|
443
629
|
pasteDialog: {
|
|
@@ -448,8 +634,16 @@ export declare const actionChangeStrokeStyle: {
|
|
|
448
634
|
data: import("../charts").Spreadsheet;
|
|
449
635
|
};
|
|
450
636
|
pendingImageElementId: string | null;
|
|
451
|
-
showHyperlinkPopup: false | "
|
|
637
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
452
638
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
639
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
640
|
+
originSnapOffset: {
|
|
641
|
+
x: number;
|
|
642
|
+
y: number;
|
|
643
|
+
} | null;
|
|
644
|
+
objectsSnapModeEnabled: boolean;
|
|
645
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
646
|
+
followedBy: Set<import("../types").SocketId>;
|
|
453
647
|
};
|
|
454
648
|
commitToHistory: true;
|
|
455
649
|
};
|
|
@@ -464,8 +658,18 @@ export declare const actionChangeOpacity: {
|
|
|
464
658
|
elements: ExcalidrawElement[];
|
|
465
659
|
appState: {
|
|
466
660
|
currentItemOpacity: any;
|
|
661
|
+
contextMenu: {
|
|
662
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
663
|
+
top: number;
|
|
664
|
+
left: number;
|
|
665
|
+
} | null;
|
|
666
|
+
showWelcomeScreen: boolean;
|
|
467
667
|
isLoading: boolean;
|
|
468
|
-
errorMessage:
|
|
668
|
+
errorMessage: import("react").ReactNode;
|
|
669
|
+
activeEmbeddable: {
|
|
670
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
671
|
+
state: "active" | "hover";
|
|
672
|
+
} | null;
|
|
469
673
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
470
674
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
471
675
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -473,19 +677,21 @@ export declare const actionChangeOpacity: {
|
|
|
473
677
|
isBindingEnabled: boolean;
|
|
474
678
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
475
679
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
680
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
681
|
+
frameRendering: {
|
|
682
|
+
enabled: boolean;
|
|
683
|
+
name: boolean;
|
|
684
|
+
outline: boolean;
|
|
685
|
+
clip: boolean;
|
|
686
|
+
};
|
|
687
|
+
editingFrame: string | null;
|
|
688
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
476
689
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
477
690
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
478
691
|
activeTool: {
|
|
479
|
-
|
|
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;
|
|
692
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
487
693
|
locked: boolean;
|
|
488
|
-
};
|
|
694
|
+
} & import("../types").ActiveTool;
|
|
489
695
|
penMode: boolean;
|
|
490
696
|
penDetected: boolean;
|
|
491
697
|
exportBackground: boolean;
|
|
@@ -500,11 +706,10 @@ export declare const actionChangeOpacity: {
|
|
|
500
706
|
currentItemRoughness: number;
|
|
501
707
|
currentItemFontFamily: number;
|
|
502
708
|
currentItemFontSize: number;
|
|
503
|
-
currentItemTextAlign:
|
|
504
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
709
|
+
currentItemTextAlign: string;
|
|
505
710
|
currentItemStartArrowhead: Arrowhead | null;
|
|
506
711
|
currentItemEndArrowhead: Arrowhead | null;
|
|
507
|
-
|
|
712
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
508
713
|
viewBackgroundColor: string;
|
|
509
714
|
scrollX: number;
|
|
510
715
|
scrollY: number;
|
|
@@ -514,26 +719,41 @@ export declare const actionChangeOpacity: {
|
|
|
514
719
|
isResizing: boolean;
|
|
515
720
|
isRotating: boolean;
|
|
516
721
|
zoom: Readonly<{
|
|
517
|
-
value: import("
|
|
722
|
+
value: import("../types").NormalizedZoomValue;
|
|
518
723
|
}>;
|
|
519
724
|
openMenu: "canvas" | "shape" | null;
|
|
520
|
-
openPopup: "
|
|
725
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
726
|
+
openSidebar: {
|
|
727
|
+
name: string;
|
|
728
|
+
tab?: string | undefined;
|
|
729
|
+
} | null;
|
|
730
|
+
openDialog: {
|
|
731
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
732
|
+
} | {
|
|
733
|
+
name: "settings";
|
|
734
|
+
source: "settings" | "tool" | "generation";
|
|
735
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
736
|
+
} | {
|
|
737
|
+
name: "ttd";
|
|
738
|
+
tab: "mermaid" | "text-to-diagram";
|
|
739
|
+
} | null;
|
|
740
|
+
defaultSidebarDockedPreference: boolean;
|
|
521
741
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
522
|
-
selectedElementIds: {
|
|
523
|
-
[id: string]:
|
|
524
|
-
}
|
|
742
|
+
selectedElementIds: Readonly<{
|
|
743
|
+
[id: string]: true;
|
|
744
|
+
}>;
|
|
525
745
|
previousSelectedElementIds: {
|
|
526
|
-
[id: string]:
|
|
746
|
+
[id: string]: true;
|
|
527
747
|
};
|
|
748
|
+
selectedElementsAreBeingDragged: boolean;
|
|
528
749
|
shouldCacheIgnoreZoom: boolean;
|
|
529
|
-
showHelpDialog: boolean;
|
|
530
750
|
toast: {
|
|
531
751
|
message: string;
|
|
532
752
|
closable?: boolean | undefined;
|
|
533
753
|
duration?: number | undefined;
|
|
534
754
|
} | null;
|
|
535
755
|
zenModeEnabled: boolean;
|
|
536
|
-
theme:
|
|
756
|
+
theme: import("../element/types").Theme;
|
|
537
757
|
gridSize: number | null;
|
|
538
758
|
viewModeEnabled: boolean;
|
|
539
759
|
selectedGroupIds: {
|
|
@@ -544,10 +764,24 @@ export declare const actionChangeOpacity: {
|
|
|
544
764
|
height: number;
|
|
545
765
|
offsetTop: number;
|
|
546
766
|
offsetLeft: number;
|
|
547
|
-
isLibraryOpen: boolean;
|
|
548
|
-
isLibraryMenuDocked: boolean;
|
|
549
767
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
550
|
-
collaborators: Map<
|
|
768
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
769
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
770
|
+
button?: "up" | "down" | undefined;
|
|
771
|
+
selectedElementIds?: Readonly<{
|
|
772
|
+
[id: string]: true;
|
|
773
|
+
}> | undefined;
|
|
774
|
+
username?: string | null | undefined;
|
|
775
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
776
|
+
color?: {
|
|
777
|
+
background: string;
|
|
778
|
+
stroke: string;
|
|
779
|
+
} | undefined;
|
|
780
|
+
avatarUrl?: string | undefined;
|
|
781
|
+
id?: string | undefined;
|
|
782
|
+
socketId?: import("../types").SocketId | undefined;
|
|
783
|
+
isCurrentUser?: boolean | undefined;
|
|
784
|
+
}>>;
|
|
551
785
|
showStats: boolean;
|
|
552
786
|
currentChartType: import("../element/types").ChartType;
|
|
553
787
|
pasteDialog: {
|
|
@@ -558,8 +792,16 @@ export declare const actionChangeOpacity: {
|
|
|
558
792
|
data: import("../charts").Spreadsheet;
|
|
559
793
|
};
|
|
560
794
|
pendingImageElementId: string | null;
|
|
561
|
-
showHyperlinkPopup: false | "
|
|
795
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
562
796
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
797
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
798
|
+
originSnapOffset: {
|
|
799
|
+
x: number;
|
|
800
|
+
y: number;
|
|
801
|
+
} | null;
|
|
802
|
+
objectsSnapModeEnabled: boolean;
|
|
803
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
804
|
+
followedBy: Set<import("../types").SocketId>;
|
|
563
805
|
};
|
|
564
806
|
commitToHistory: true;
|
|
565
807
|
};
|
|
@@ -574,8 +816,18 @@ export declare const actionChangeFontSize: {
|
|
|
574
816
|
elements: ExcalidrawElement[];
|
|
575
817
|
appState: {
|
|
576
818
|
currentItemFontSize: number;
|
|
819
|
+
contextMenu: {
|
|
820
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
821
|
+
top: number;
|
|
822
|
+
left: number;
|
|
823
|
+
} | null;
|
|
824
|
+
showWelcomeScreen: boolean;
|
|
577
825
|
isLoading: boolean;
|
|
578
|
-
errorMessage:
|
|
826
|
+
errorMessage: import("react").ReactNode;
|
|
827
|
+
activeEmbeddable: {
|
|
828
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
829
|
+
state: "active" | "hover";
|
|
830
|
+
} | null;
|
|
579
831
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
580
832
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
581
833
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -583,19 +835,21 @@ export declare const actionChangeFontSize: {
|
|
|
583
835
|
isBindingEnabled: boolean;
|
|
584
836
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
585
837
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
838
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
839
|
+
frameRendering: {
|
|
840
|
+
enabled: boolean;
|
|
841
|
+
name: boolean;
|
|
842
|
+
outline: boolean;
|
|
843
|
+
clip: boolean;
|
|
844
|
+
};
|
|
845
|
+
editingFrame: string | null;
|
|
846
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
586
847
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
587
848
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
588
849
|
activeTool: {
|
|
589
|
-
|
|
590
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
850
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
591
851
|
locked: boolean;
|
|
592
|
-
|
|
593
|
-
} | {
|
|
594
|
-
type: "custom";
|
|
595
|
-
customType: string;
|
|
596
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
597
|
-
locked: boolean;
|
|
598
|
-
};
|
|
852
|
+
} & import("../types").ActiveTool;
|
|
599
853
|
penMode: boolean;
|
|
600
854
|
penDetected: boolean;
|
|
601
855
|
exportBackground: boolean;
|
|
@@ -610,11 +864,10 @@ export declare const actionChangeFontSize: {
|
|
|
610
864
|
currentItemRoughness: number;
|
|
611
865
|
currentItemOpacity: number;
|
|
612
866
|
currentItemFontFamily: number;
|
|
613
|
-
currentItemTextAlign:
|
|
614
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
867
|
+
currentItemTextAlign: string;
|
|
615
868
|
currentItemStartArrowhead: Arrowhead | null;
|
|
616
869
|
currentItemEndArrowhead: Arrowhead | null;
|
|
617
|
-
|
|
870
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
618
871
|
viewBackgroundColor: string;
|
|
619
872
|
scrollX: number;
|
|
620
873
|
scrollY: number;
|
|
@@ -624,26 +877,41 @@ export declare const actionChangeFontSize: {
|
|
|
624
877
|
isResizing: boolean;
|
|
625
878
|
isRotating: boolean;
|
|
626
879
|
zoom: Readonly<{
|
|
627
|
-
value: import("
|
|
880
|
+
value: import("../types").NormalizedZoomValue;
|
|
628
881
|
}>;
|
|
629
882
|
openMenu: "canvas" | "shape" | null;
|
|
630
|
-
openPopup: "
|
|
883
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
884
|
+
openSidebar: {
|
|
885
|
+
name: string;
|
|
886
|
+
tab?: string | undefined;
|
|
887
|
+
} | null;
|
|
888
|
+
openDialog: {
|
|
889
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
890
|
+
} | {
|
|
891
|
+
name: "settings";
|
|
892
|
+
source: "settings" | "tool" | "generation";
|
|
893
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
894
|
+
} | {
|
|
895
|
+
name: "ttd";
|
|
896
|
+
tab: "mermaid" | "text-to-diagram";
|
|
897
|
+
} | null;
|
|
898
|
+
defaultSidebarDockedPreference: boolean;
|
|
631
899
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
632
|
-
selectedElementIds: {
|
|
633
|
-
[id: string]:
|
|
634
|
-
}
|
|
900
|
+
selectedElementIds: Readonly<{
|
|
901
|
+
[id: string]: true;
|
|
902
|
+
}>;
|
|
635
903
|
previousSelectedElementIds: {
|
|
636
|
-
[id: string]:
|
|
904
|
+
[id: string]: true;
|
|
637
905
|
};
|
|
906
|
+
selectedElementsAreBeingDragged: boolean;
|
|
638
907
|
shouldCacheIgnoreZoom: boolean;
|
|
639
|
-
showHelpDialog: boolean;
|
|
640
908
|
toast: {
|
|
641
909
|
message: string;
|
|
642
910
|
closable?: boolean | undefined;
|
|
643
911
|
duration?: number | undefined;
|
|
644
912
|
} | null;
|
|
645
913
|
zenModeEnabled: boolean;
|
|
646
|
-
theme:
|
|
914
|
+
theme: import("../element/types").Theme;
|
|
647
915
|
gridSize: number | null;
|
|
648
916
|
viewModeEnabled: boolean;
|
|
649
917
|
selectedGroupIds: {
|
|
@@ -654,10 +922,24 @@ export declare const actionChangeFontSize: {
|
|
|
654
922
|
height: number;
|
|
655
923
|
offsetTop: number;
|
|
656
924
|
offsetLeft: number;
|
|
657
|
-
isLibraryOpen: boolean;
|
|
658
|
-
isLibraryMenuDocked: boolean;
|
|
659
925
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
660
|
-
collaborators: Map<
|
|
926
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
927
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
928
|
+
button?: "up" | "down" | undefined;
|
|
929
|
+
selectedElementIds?: Readonly<{
|
|
930
|
+
[id: string]: true;
|
|
931
|
+
}> | undefined;
|
|
932
|
+
username?: string | null | undefined;
|
|
933
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
934
|
+
color?: {
|
|
935
|
+
background: string;
|
|
936
|
+
stroke: string;
|
|
937
|
+
} | undefined;
|
|
938
|
+
avatarUrl?: string | undefined;
|
|
939
|
+
id?: string | undefined;
|
|
940
|
+
socketId?: import("../types").SocketId | undefined;
|
|
941
|
+
isCurrentUser?: boolean | undefined;
|
|
942
|
+
}>>;
|
|
661
943
|
showStats: boolean;
|
|
662
944
|
currentChartType: import("../element/types").ChartType;
|
|
663
945
|
pasteDialog: {
|
|
@@ -668,8 +950,16 @@ export declare const actionChangeFontSize: {
|
|
|
668
950
|
data: import("../charts").Spreadsheet;
|
|
669
951
|
};
|
|
670
952
|
pendingImageElementId: string | null;
|
|
671
|
-
showHyperlinkPopup: false | "
|
|
953
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
672
954
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
955
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
956
|
+
originSnapOffset: {
|
|
957
|
+
x: number;
|
|
958
|
+
y: number;
|
|
959
|
+
} | null;
|
|
960
|
+
objectsSnapModeEnabled: boolean;
|
|
961
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
962
|
+
followedBy: Set<import("../types").SocketId>;
|
|
673
963
|
};
|
|
674
964
|
commitToHistory: boolean;
|
|
675
965
|
};
|
|
@@ -684,8 +974,18 @@ export declare const actionDecreaseFontSize: {
|
|
|
684
974
|
elements: ExcalidrawElement[];
|
|
685
975
|
appState: {
|
|
686
976
|
currentItemFontSize: number;
|
|
977
|
+
contextMenu: {
|
|
978
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
979
|
+
top: number;
|
|
980
|
+
left: number;
|
|
981
|
+
} | null;
|
|
982
|
+
showWelcomeScreen: boolean;
|
|
687
983
|
isLoading: boolean;
|
|
688
|
-
errorMessage:
|
|
984
|
+
errorMessage: import("react").ReactNode;
|
|
985
|
+
activeEmbeddable: {
|
|
986
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
987
|
+
state: "active" | "hover";
|
|
988
|
+
} | null;
|
|
689
989
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
690
990
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
691
991
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -693,19 +993,21 @@ export declare const actionDecreaseFontSize: {
|
|
|
693
993
|
isBindingEnabled: boolean;
|
|
694
994
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
695
995
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
996
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
997
|
+
frameRendering: {
|
|
998
|
+
enabled: boolean;
|
|
999
|
+
name: boolean;
|
|
1000
|
+
outline: boolean;
|
|
1001
|
+
clip: boolean;
|
|
1002
|
+
};
|
|
1003
|
+
editingFrame: string | null;
|
|
1004
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
696
1005
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
697
1006
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
698
1007
|
activeTool: {
|
|
699
|
-
|
|
700
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1008
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
701
1009
|
locked: boolean;
|
|
702
|
-
|
|
703
|
-
} | {
|
|
704
|
-
type: "custom";
|
|
705
|
-
customType: string;
|
|
706
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
707
|
-
locked: boolean;
|
|
708
|
-
};
|
|
1010
|
+
} & import("../types").ActiveTool;
|
|
709
1011
|
penMode: boolean;
|
|
710
1012
|
penDetected: boolean;
|
|
711
1013
|
exportBackground: boolean;
|
|
@@ -720,11 +1022,10 @@ export declare const actionDecreaseFontSize: {
|
|
|
720
1022
|
currentItemRoughness: number;
|
|
721
1023
|
currentItemOpacity: number;
|
|
722
1024
|
currentItemFontFamily: number;
|
|
723
|
-
currentItemTextAlign:
|
|
724
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1025
|
+
currentItemTextAlign: string;
|
|
725
1026
|
currentItemStartArrowhead: Arrowhead | null;
|
|
726
1027
|
currentItemEndArrowhead: Arrowhead | null;
|
|
727
|
-
|
|
1028
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
728
1029
|
viewBackgroundColor: string;
|
|
729
1030
|
scrollX: number;
|
|
730
1031
|
scrollY: number;
|
|
@@ -734,26 +1035,41 @@ export declare const actionDecreaseFontSize: {
|
|
|
734
1035
|
isResizing: boolean;
|
|
735
1036
|
isRotating: boolean;
|
|
736
1037
|
zoom: Readonly<{
|
|
737
|
-
value: import("
|
|
1038
|
+
value: import("../types").NormalizedZoomValue;
|
|
738
1039
|
}>;
|
|
739
1040
|
openMenu: "canvas" | "shape" | null;
|
|
740
|
-
openPopup: "
|
|
1041
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1042
|
+
openSidebar: {
|
|
1043
|
+
name: string;
|
|
1044
|
+
tab?: string | undefined;
|
|
1045
|
+
} | null;
|
|
1046
|
+
openDialog: {
|
|
1047
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1048
|
+
} | {
|
|
1049
|
+
name: "settings";
|
|
1050
|
+
source: "settings" | "tool" | "generation";
|
|
1051
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
1052
|
+
} | {
|
|
1053
|
+
name: "ttd";
|
|
1054
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1055
|
+
} | null;
|
|
1056
|
+
defaultSidebarDockedPreference: boolean;
|
|
741
1057
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
742
|
-
selectedElementIds: {
|
|
743
|
-
[id: string]:
|
|
744
|
-
}
|
|
1058
|
+
selectedElementIds: Readonly<{
|
|
1059
|
+
[id: string]: true;
|
|
1060
|
+
}>;
|
|
745
1061
|
previousSelectedElementIds: {
|
|
746
|
-
[id: string]:
|
|
1062
|
+
[id: string]: true;
|
|
747
1063
|
};
|
|
1064
|
+
selectedElementsAreBeingDragged: boolean;
|
|
748
1065
|
shouldCacheIgnoreZoom: boolean;
|
|
749
|
-
showHelpDialog: boolean;
|
|
750
1066
|
toast: {
|
|
751
1067
|
message: string;
|
|
752
1068
|
closable?: boolean | undefined;
|
|
753
1069
|
duration?: number | undefined;
|
|
754
1070
|
} | null;
|
|
755
1071
|
zenModeEnabled: boolean;
|
|
756
|
-
theme:
|
|
1072
|
+
theme: import("../element/types").Theme;
|
|
757
1073
|
gridSize: number | null;
|
|
758
1074
|
viewModeEnabled: boolean;
|
|
759
1075
|
selectedGroupIds: {
|
|
@@ -764,10 +1080,24 @@ export declare const actionDecreaseFontSize: {
|
|
|
764
1080
|
height: number;
|
|
765
1081
|
offsetTop: number;
|
|
766
1082
|
offsetLeft: number;
|
|
767
|
-
isLibraryOpen: boolean;
|
|
768
|
-
isLibraryMenuDocked: boolean;
|
|
769
1083
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
770
|
-
collaborators: Map<
|
|
1084
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1085
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1086
|
+
button?: "up" | "down" | undefined;
|
|
1087
|
+
selectedElementIds?: Readonly<{
|
|
1088
|
+
[id: string]: true;
|
|
1089
|
+
}> | undefined;
|
|
1090
|
+
username?: string | null | undefined;
|
|
1091
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
1092
|
+
color?: {
|
|
1093
|
+
background: string;
|
|
1094
|
+
stroke: string;
|
|
1095
|
+
} | undefined;
|
|
1096
|
+
avatarUrl?: string | undefined;
|
|
1097
|
+
id?: string | undefined;
|
|
1098
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1099
|
+
isCurrentUser?: boolean | undefined;
|
|
1100
|
+
}>>;
|
|
771
1101
|
showStats: boolean;
|
|
772
1102
|
currentChartType: import("../element/types").ChartType;
|
|
773
1103
|
pasteDialog: {
|
|
@@ -778,14 +1108,22 @@ export declare const actionDecreaseFontSize: {
|
|
|
778
1108
|
data: import("../charts").Spreadsheet;
|
|
779
1109
|
};
|
|
780
1110
|
pendingImageElementId: string | null;
|
|
781
|
-
showHyperlinkPopup: false | "
|
|
1111
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
782
1112
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1113
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1114
|
+
originSnapOffset: {
|
|
1115
|
+
x: number;
|
|
1116
|
+
y: number;
|
|
1117
|
+
} | null;
|
|
1118
|
+
objectsSnapModeEnabled: boolean;
|
|
1119
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
1120
|
+
followedBy: Set<import("../types").SocketId>;
|
|
783
1121
|
};
|
|
784
1122
|
commitToHistory: boolean;
|
|
785
1123
|
};
|
|
786
|
-
keyTest: (event:
|
|
1124
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
787
1125
|
} & {
|
|
788
|
-
keyTest?: ((event:
|
|
1126
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
789
1127
|
};
|
|
790
1128
|
export declare const actionIncreaseFontSize: {
|
|
791
1129
|
name: "increaseFontSize";
|
|
@@ -794,8 +1132,18 @@ export declare const actionIncreaseFontSize: {
|
|
|
794
1132
|
elements: ExcalidrawElement[];
|
|
795
1133
|
appState: {
|
|
796
1134
|
currentItemFontSize: number;
|
|
1135
|
+
contextMenu: {
|
|
1136
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1137
|
+
top: number;
|
|
1138
|
+
left: number;
|
|
1139
|
+
} | null;
|
|
1140
|
+
showWelcomeScreen: boolean;
|
|
797
1141
|
isLoading: boolean;
|
|
798
|
-
errorMessage:
|
|
1142
|
+
errorMessage: import("react").ReactNode;
|
|
1143
|
+
activeEmbeddable: {
|
|
1144
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1145
|
+
state: "active" | "hover";
|
|
1146
|
+
} | null;
|
|
799
1147
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
800
1148
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
801
1149
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -803,19 +1151,21 @@ export declare const actionIncreaseFontSize: {
|
|
|
803
1151
|
isBindingEnabled: boolean;
|
|
804
1152
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
805
1153
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1154
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1155
|
+
frameRendering: {
|
|
1156
|
+
enabled: boolean;
|
|
1157
|
+
name: boolean;
|
|
1158
|
+
outline: boolean;
|
|
1159
|
+
clip: boolean;
|
|
1160
|
+
};
|
|
1161
|
+
editingFrame: string | null;
|
|
1162
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
806
1163
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
807
1164
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
808
1165
|
activeTool: {
|
|
809
|
-
|
|
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;
|
|
1166
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
817
1167
|
locked: boolean;
|
|
818
|
-
};
|
|
1168
|
+
} & import("../types").ActiveTool;
|
|
819
1169
|
penMode: boolean;
|
|
820
1170
|
penDetected: boolean;
|
|
821
1171
|
exportBackground: boolean;
|
|
@@ -830,11 +1180,10 @@ export declare const actionIncreaseFontSize: {
|
|
|
830
1180
|
currentItemRoughness: number;
|
|
831
1181
|
currentItemOpacity: number;
|
|
832
1182
|
currentItemFontFamily: number;
|
|
833
|
-
currentItemTextAlign:
|
|
834
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1183
|
+
currentItemTextAlign: string;
|
|
835
1184
|
currentItemStartArrowhead: Arrowhead | null;
|
|
836
1185
|
currentItemEndArrowhead: Arrowhead | null;
|
|
837
|
-
|
|
1186
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
838
1187
|
viewBackgroundColor: string;
|
|
839
1188
|
scrollX: number;
|
|
840
1189
|
scrollY: number;
|
|
@@ -844,26 +1193,41 @@ export declare const actionIncreaseFontSize: {
|
|
|
844
1193
|
isResizing: boolean;
|
|
845
1194
|
isRotating: boolean;
|
|
846
1195
|
zoom: Readonly<{
|
|
847
|
-
value: import("
|
|
1196
|
+
value: import("../types").NormalizedZoomValue;
|
|
848
1197
|
}>;
|
|
849
1198
|
openMenu: "canvas" | "shape" | null;
|
|
850
|
-
openPopup: "
|
|
1199
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1200
|
+
openSidebar: {
|
|
1201
|
+
name: string;
|
|
1202
|
+
tab?: string | undefined;
|
|
1203
|
+
} | null;
|
|
1204
|
+
openDialog: {
|
|
1205
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1206
|
+
} | {
|
|
1207
|
+
name: "settings";
|
|
1208
|
+
source: "settings" | "tool" | "generation";
|
|
1209
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
1210
|
+
} | {
|
|
1211
|
+
name: "ttd";
|
|
1212
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1213
|
+
} | null;
|
|
1214
|
+
defaultSidebarDockedPreference: boolean;
|
|
851
1215
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
852
|
-
selectedElementIds: {
|
|
853
|
-
[id: string]:
|
|
854
|
-
}
|
|
1216
|
+
selectedElementIds: Readonly<{
|
|
1217
|
+
[id: string]: true;
|
|
1218
|
+
}>;
|
|
855
1219
|
previousSelectedElementIds: {
|
|
856
|
-
[id: string]:
|
|
1220
|
+
[id: string]: true;
|
|
857
1221
|
};
|
|
1222
|
+
selectedElementsAreBeingDragged: boolean;
|
|
858
1223
|
shouldCacheIgnoreZoom: boolean;
|
|
859
|
-
showHelpDialog: boolean;
|
|
860
1224
|
toast: {
|
|
861
1225
|
message: string;
|
|
862
1226
|
closable?: boolean | undefined;
|
|
863
1227
|
duration?: number | undefined;
|
|
864
1228
|
} | null;
|
|
865
1229
|
zenModeEnabled: boolean;
|
|
866
|
-
theme:
|
|
1230
|
+
theme: import("../element/types").Theme;
|
|
867
1231
|
gridSize: number | null;
|
|
868
1232
|
viewModeEnabled: boolean;
|
|
869
1233
|
selectedGroupIds: {
|
|
@@ -874,10 +1238,24 @@ export declare const actionIncreaseFontSize: {
|
|
|
874
1238
|
height: number;
|
|
875
1239
|
offsetTop: number;
|
|
876
1240
|
offsetLeft: number;
|
|
877
|
-
isLibraryOpen: boolean;
|
|
878
|
-
isLibraryMenuDocked: boolean;
|
|
879
1241
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
880
|
-
collaborators: Map<
|
|
1242
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1243
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1244
|
+
button?: "up" | "down" | undefined;
|
|
1245
|
+
selectedElementIds?: Readonly<{
|
|
1246
|
+
[id: string]: true;
|
|
1247
|
+
}> | undefined;
|
|
1248
|
+
username?: string | null | undefined;
|
|
1249
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
1250
|
+
color?: {
|
|
1251
|
+
background: string;
|
|
1252
|
+
stroke: string;
|
|
1253
|
+
} | undefined;
|
|
1254
|
+
avatarUrl?: string | undefined;
|
|
1255
|
+
id?: string | undefined;
|
|
1256
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1257
|
+
isCurrentUser?: boolean | undefined;
|
|
1258
|
+
}>>;
|
|
881
1259
|
showStats: boolean;
|
|
882
1260
|
currentChartType: import("../element/types").ChartType;
|
|
883
1261
|
pasteDialog: {
|
|
@@ -888,14 +1266,22 @@ export declare const actionIncreaseFontSize: {
|
|
|
888
1266
|
data: import("../charts").Spreadsheet;
|
|
889
1267
|
};
|
|
890
1268
|
pendingImageElementId: string | null;
|
|
891
|
-
showHyperlinkPopup: false | "
|
|
1269
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
892
1270
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1271
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1272
|
+
originSnapOffset: {
|
|
1273
|
+
x: number;
|
|
1274
|
+
y: number;
|
|
1275
|
+
} | null;
|
|
1276
|
+
objectsSnapModeEnabled: boolean;
|
|
1277
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
1278
|
+
followedBy: Set<import("../types").SocketId>;
|
|
893
1279
|
};
|
|
894
1280
|
commitToHistory: boolean;
|
|
895
1281
|
};
|
|
896
|
-
keyTest: (event:
|
|
1282
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
897
1283
|
} & {
|
|
898
|
-
keyTest?: ((event:
|
|
1284
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
899
1285
|
};
|
|
900
1286
|
export declare const actionChangeFontFamily: {
|
|
901
1287
|
name: "changeFontFamily";
|
|
@@ -904,8 +1290,18 @@ export declare const actionChangeFontFamily: {
|
|
|
904
1290
|
elements: ExcalidrawElement[];
|
|
905
1291
|
appState: {
|
|
906
1292
|
currentItemFontFamily: any;
|
|
1293
|
+
contextMenu: {
|
|
1294
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1295
|
+
top: number;
|
|
1296
|
+
left: number;
|
|
1297
|
+
} | null;
|
|
1298
|
+
showWelcomeScreen: boolean;
|
|
907
1299
|
isLoading: boolean;
|
|
908
|
-
errorMessage:
|
|
1300
|
+
errorMessage: import("react").ReactNode;
|
|
1301
|
+
activeEmbeddable: {
|
|
1302
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1303
|
+
state: "active" | "hover";
|
|
1304
|
+
} | null;
|
|
909
1305
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
910
1306
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
911
1307
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -913,19 +1309,21 @@ export declare const actionChangeFontFamily: {
|
|
|
913
1309
|
isBindingEnabled: boolean;
|
|
914
1310
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
915
1311
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1312
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1313
|
+
frameRendering: {
|
|
1314
|
+
enabled: boolean;
|
|
1315
|
+
name: boolean;
|
|
1316
|
+
outline: boolean;
|
|
1317
|
+
clip: boolean;
|
|
1318
|
+
};
|
|
1319
|
+
editingFrame: string | null;
|
|
1320
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
916
1321
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
917
1322
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
918
1323
|
activeTool: {
|
|
919
|
-
|
|
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;
|
|
1324
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
927
1325
|
locked: boolean;
|
|
928
|
-
};
|
|
1326
|
+
} & import("../types").ActiveTool;
|
|
929
1327
|
penMode: boolean;
|
|
930
1328
|
penDetected: boolean;
|
|
931
1329
|
exportBackground: boolean;
|
|
@@ -940,11 +1338,10 @@ export declare const actionChangeFontFamily: {
|
|
|
940
1338
|
currentItemRoughness: number;
|
|
941
1339
|
currentItemOpacity: number;
|
|
942
1340
|
currentItemFontSize: number;
|
|
943
|
-
currentItemTextAlign:
|
|
944
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1341
|
+
currentItemTextAlign: string;
|
|
945
1342
|
currentItemStartArrowhead: Arrowhead | null;
|
|
946
1343
|
currentItemEndArrowhead: Arrowhead | null;
|
|
947
|
-
|
|
1344
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
948
1345
|
viewBackgroundColor: string;
|
|
949
1346
|
scrollX: number;
|
|
950
1347
|
scrollY: number;
|
|
@@ -954,26 +1351,41 @@ export declare const actionChangeFontFamily: {
|
|
|
954
1351
|
isResizing: boolean;
|
|
955
1352
|
isRotating: boolean;
|
|
956
1353
|
zoom: Readonly<{
|
|
957
|
-
value: import("
|
|
1354
|
+
value: import("../types").NormalizedZoomValue;
|
|
958
1355
|
}>;
|
|
959
1356
|
openMenu: "canvas" | "shape" | null;
|
|
960
|
-
openPopup: "
|
|
1357
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1358
|
+
openSidebar: {
|
|
1359
|
+
name: string;
|
|
1360
|
+
tab?: string | undefined;
|
|
1361
|
+
} | null;
|
|
1362
|
+
openDialog: {
|
|
1363
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1364
|
+
} | {
|
|
1365
|
+
name: "settings";
|
|
1366
|
+
source: "settings" | "tool" | "generation";
|
|
1367
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
1368
|
+
} | {
|
|
1369
|
+
name: "ttd";
|
|
1370
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1371
|
+
} | null;
|
|
1372
|
+
defaultSidebarDockedPreference: boolean;
|
|
961
1373
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
962
|
-
selectedElementIds: {
|
|
963
|
-
[id: string]:
|
|
964
|
-
}
|
|
1374
|
+
selectedElementIds: Readonly<{
|
|
1375
|
+
[id: string]: true;
|
|
1376
|
+
}>;
|
|
965
1377
|
previousSelectedElementIds: {
|
|
966
|
-
[id: string]:
|
|
1378
|
+
[id: string]: true;
|
|
967
1379
|
};
|
|
1380
|
+
selectedElementsAreBeingDragged: boolean;
|
|
968
1381
|
shouldCacheIgnoreZoom: boolean;
|
|
969
|
-
showHelpDialog: boolean;
|
|
970
1382
|
toast: {
|
|
971
1383
|
message: string;
|
|
972
1384
|
closable?: boolean | undefined;
|
|
973
1385
|
duration?: number | undefined;
|
|
974
1386
|
} | null;
|
|
975
1387
|
zenModeEnabled: boolean;
|
|
976
|
-
theme:
|
|
1388
|
+
theme: import("../element/types").Theme;
|
|
977
1389
|
gridSize: number | null;
|
|
978
1390
|
viewModeEnabled: boolean;
|
|
979
1391
|
selectedGroupIds: {
|
|
@@ -984,10 +1396,24 @@ export declare const actionChangeFontFamily: {
|
|
|
984
1396
|
height: number;
|
|
985
1397
|
offsetTop: number;
|
|
986
1398
|
offsetLeft: number;
|
|
987
|
-
isLibraryOpen: boolean;
|
|
988
|
-
isLibraryMenuDocked: boolean;
|
|
989
1399
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
990
|
-
collaborators: Map<
|
|
1400
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1401
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1402
|
+
button?: "up" | "down" | undefined;
|
|
1403
|
+
selectedElementIds?: Readonly<{
|
|
1404
|
+
[id: string]: true;
|
|
1405
|
+
}> | undefined;
|
|
1406
|
+
username?: string | null | undefined;
|
|
1407
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
1408
|
+
color?: {
|
|
1409
|
+
background: string;
|
|
1410
|
+
stroke: string;
|
|
1411
|
+
} | undefined;
|
|
1412
|
+
avatarUrl?: string | undefined;
|
|
1413
|
+
id?: string | undefined;
|
|
1414
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1415
|
+
isCurrentUser?: boolean | undefined;
|
|
1416
|
+
}>>;
|
|
991
1417
|
showStats: boolean;
|
|
992
1418
|
currentChartType: import("../element/types").ChartType;
|
|
993
1419
|
pasteDialog: {
|
|
@@ -998,8 +1424,16 @@ export declare const actionChangeFontFamily: {
|
|
|
998
1424
|
data: import("../charts").Spreadsheet;
|
|
999
1425
|
};
|
|
1000
1426
|
pendingImageElementId: string | null;
|
|
1001
|
-
showHyperlinkPopup: false | "
|
|
1427
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1002
1428
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1429
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1430
|
+
originSnapOffset: {
|
|
1431
|
+
x: number;
|
|
1432
|
+
y: number;
|
|
1433
|
+
} | null;
|
|
1434
|
+
objectsSnapModeEnabled: boolean;
|
|
1435
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
1436
|
+
followedBy: Set<import("../types").SocketId>;
|
|
1003
1437
|
};
|
|
1004
1438
|
commitToHistory: true;
|
|
1005
1439
|
};
|
|
@@ -1014,8 +1448,18 @@ export declare const actionChangeTextAlign: {
|
|
|
1014
1448
|
elements: ExcalidrawElement[];
|
|
1015
1449
|
appState: {
|
|
1016
1450
|
currentItemTextAlign: any;
|
|
1451
|
+
contextMenu: {
|
|
1452
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1453
|
+
top: number;
|
|
1454
|
+
left: number;
|
|
1455
|
+
} | null;
|
|
1456
|
+
showWelcomeScreen: boolean;
|
|
1017
1457
|
isLoading: boolean;
|
|
1018
|
-
errorMessage:
|
|
1458
|
+
errorMessage: import("react").ReactNode;
|
|
1459
|
+
activeEmbeddable: {
|
|
1460
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1461
|
+
state: "active" | "hover";
|
|
1462
|
+
} | null;
|
|
1019
1463
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1020
1464
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1021
1465
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1023,19 +1467,21 @@ export declare const actionChangeTextAlign: {
|
|
|
1023
1467
|
isBindingEnabled: boolean;
|
|
1024
1468
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1025
1469
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1470
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1471
|
+
frameRendering: {
|
|
1472
|
+
enabled: boolean;
|
|
1473
|
+
name: boolean;
|
|
1474
|
+
outline: boolean;
|
|
1475
|
+
clip: boolean;
|
|
1476
|
+
};
|
|
1477
|
+
editingFrame: string | null;
|
|
1478
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1026
1479
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1027
1480
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1028
1481
|
activeTool: {
|
|
1029
|
-
|
|
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;
|
|
1482
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
1037
1483
|
locked: boolean;
|
|
1038
|
-
};
|
|
1484
|
+
} & import("../types").ActiveTool;
|
|
1039
1485
|
penMode: boolean;
|
|
1040
1486
|
penDetected: boolean;
|
|
1041
1487
|
exportBackground: boolean;
|
|
@@ -1051,10 +1497,9 @@ export declare const actionChangeTextAlign: {
|
|
|
1051
1497
|
currentItemOpacity: number;
|
|
1052
1498
|
currentItemFontFamily: number;
|
|
1053
1499
|
currentItemFontSize: number;
|
|
1054
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1055
1500
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1056
1501
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1057
|
-
|
|
1502
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
1058
1503
|
viewBackgroundColor: string;
|
|
1059
1504
|
scrollX: number;
|
|
1060
1505
|
scrollY: number;
|
|
@@ -1064,26 +1509,41 @@ export declare const actionChangeTextAlign: {
|
|
|
1064
1509
|
isResizing: boolean;
|
|
1065
1510
|
isRotating: boolean;
|
|
1066
1511
|
zoom: Readonly<{
|
|
1067
|
-
value: import("
|
|
1512
|
+
value: import("../types").NormalizedZoomValue;
|
|
1068
1513
|
}>;
|
|
1069
1514
|
openMenu: "canvas" | "shape" | null;
|
|
1070
|
-
openPopup: "
|
|
1515
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1516
|
+
openSidebar: {
|
|
1517
|
+
name: string;
|
|
1518
|
+
tab?: string | undefined;
|
|
1519
|
+
} | null;
|
|
1520
|
+
openDialog: {
|
|
1521
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1522
|
+
} | {
|
|
1523
|
+
name: "settings";
|
|
1524
|
+
source: "settings" | "tool" | "generation";
|
|
1525
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
1526
|
+
} | {
|
|
1527
|
+
name: "ttd";
|
|
1528
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1529
|
+
} | null;
|
|
1530
|
+
defaultSidebarDockedPreference: boolean;
|
|
1071
1531
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1072
|
-
selectedElementIds: {
|
|
1073
|
-
[id: string]:
|
|
1074
|
-
}
|
|
1532
|
+
selectedElementIds: Readonly<{
|
|
1533
|
+
[id: string]: true;
|
|
1534
|
+
}>;
|
|
1075
1535
|
previousSelectedElementIds: {
|
|
1076
|
-
[id: string]:
|
|
1536
|
+
[id: string]: true;
|
|
1077
1537
|
};
|
|
1538
|
+
selectedElementsAreBeingDragged: boolean;
|
|
1078
1539
|
shouldCacheIgnoreZoom: boolean;
|
|
1079
|
-
showHelpDialog: boolean;
|
|
1080
1540
|
toast: {
|
|
1081
1541
|
message: string;
|
|
1082
1542
|
closable?: boolean | undefined;
|
|
1083
1543
|
duration?: number | undefined;
|
|
1084
1544
|
} | null;
|
|
1085
1545
|
zenModeEnabled: boolean;
|
|
1086
|
-
theme:
|
|
1546
|
+
theme: import("../element/types").Theme;
|
|
1087
1547
|
gridSize: number | null;
|
|
1088
1548
|
viewModeEnabled: boolean;
|
|
1089
1549
|
selectedGroupIds: {
|
|
@@ -1094,10 +1554,24 @@ export declare const actionChangeTextAlign: {
|
|
|
1094
1554
|
height: number;
|
|
1095
1555
|
offsetTop: number;
|
|
1096
1556
|
offsetLeft: number;
|
|
1097
|
-
isLibraryOpen: boolean;
|
|
1098
|
-
isLibraryMenuDocked: boolean;
|
|
1099
1557
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1100
|
-
collaborators: Map<
|
|
1558
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1559
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1560
|
+
button?: "up" | "down" | undefined;
|
|
1561
|
+
selectedElementIds?: Readonly<{
|
|
1562
|
+
[id: string]: true;
|
|
1563
|
+
}> | undefined;
|
|
1564
|
+
username?: string | null | undefined;
|
|
1565
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
1566
|
+
color?: {
|
|
1567
|
+
background: string;
|
|
1568
|
+
stroke: string;
|
|
1569
|
+
} | undefined;
|
|
1570
|
+
avatarUrl?: string | undefined;
|
|
1571
|
+
id?: string | undefined;
|
|
1572
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1573
|
+
isCurrentUser?: boolean | undefined;
|
|
1574
|
+
}>>;
|
|
1101
1575
|
showStats: boolean;
|
|
1102
1576
|
currentChartType: import("../element/types").ChartType;
|
|
1103
1577
|
pasteDialog: {
|
|
@@ -1108,8 +1582,16 @@ export declare const actionChangeTextAlign: {
|
|
|
1108
1582
|
data: import("../charts").Spreadsheet;
|
|
1109
1583
|
};
|
|
1110
1584
|
pendingImageElementId: string | null;
|
|
1111
|
-
showHyperlinkPopup: false | "
|
|
1585
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1112
1586
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1587
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1588
|
+
originSnapOffset: {
|
|
1589
|
+
x: number;
|
|
1590
|
+
y: number;
|
|
1591
|
+
} | null;
|
|
1592
|
+
objectsSnapModeEnabled: boolean;
|
|
1593
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
1594
|
+
followedBy: Set<import("../types").SocketId>;
|
|
1113
1595
|
};
|
|
1114
1596
|
commitToHistory: true;
|
|
1115
1597
|
};
|
|
@@ -1125,8 +1607,18 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1125
1607
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1126
1608
|
elements: ExcalidrawElement[];
|
|
1127
1609
|
appState: {
|
|
1610
|
+
contextMenu: {
|
|
1611
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1612
|
+
top: number;
|
|
1613
|
+
left: number;
|
|
1614
|
+
} | null;
|
|
1615
|
+
showWelcomeScreen: boolean;
|
|
1128
1616
|
isLoading: boolean;
|
|
1129
|
-
errorMessage:
|
|
1617
|
+
errorMessage: import("react").ReactNode;
|
|
1618
|
+
activeEmbeddable: {
|
|
1619
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1620
|
+
state: "active" | "hover";
|
|
1621
|
+
} | null;
|
|
1130
1622
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1131
1623
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1132
1624
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1134,19 +1626,21 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1134
1626
|
isBindingEnabled: boolean;
|
|
1135
1627
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1136
1628
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1629
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1630
|
+
frameRendering: {
|
|
1631
|
+
enabled: boolean;
|
|
1632
|
+
name: boolean;
|
|
1633
|
+
outline: boolean;
|
|
1634
|
+
clip: boolean;
|
|
1635
|
+
};
|
|
1636
|
+
editingFrame: string | null;
|
|
1637
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1137
1638
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1138
1639
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1139
1640
|
activeTool: {
|
|
1140
|
-
|
|
1141
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1641
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
1142
1642
|
locked: boolean;
|
|
1143
|
-
|
|
1144
|
-
} | {
|
|
1145
|
-
type: "custom";
|
|
1146
|
-
customType: string;
|
|
1147
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1148
|
-
locked: boolean;
|
|
1149
|
-
};
|
|
1643
|
+
} & import("../types").ActiveTool;
|
|
1150
1644
|
penMode: boolean;
|
|
1151
1645
|
penDetected: boolean;
|
|
1152
1646
|
exportBackground: boolean;
|
|
@@ -1162,11 +1656,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1162
1656
|
currentItemOpacity: number;
|
|
1163
1657
|
currentItemFontFamily: number;
|
|
1164
1658
|
currentItemFontSize: number;
|
|
1165
|
-
currentItemTextAlign:
|
|
1166
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1659
|
+
currentItemTextAlign: string;
|
|
1167
1660
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1168
1661
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1169
|
-
|
|
1662
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
1170
1663
|
viewBackgroundColor: string;
|
|
1171
1664
|
scrollX: number;
|
|
1172
1665
|
scrollY: number;
|
|
@@ -1176,26 +1669,41 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1176
1669
|
isResizing: boolean;
|
|
1177
1670
|
isRotating: boolean;
|
|
1178
1671
|
zoom: Readonly<{
|
|
1179
|
-
value: import("
|
|
1672
|
+
value: import("../types").NormalizedZoomValue;
|
|
1180
1673
|
}>;
|
|
1181
1674
|
openMenu: "canvas" | "shape" | null;
|
|
1182
|
-
openPopup: "
|
|
1675
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1676
|
+
openSidebar: {
|
|
1677
|
+
name: string;
|
|
1678
|
+
tab?: string | undefined;
|
|
1679
|
+
} | null;
|
|
1680
|
+
openDialog: {
|
|
1681
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1682
|
+
} | {
|
|
1683
|
+
name: "settings";
|
|
1684
|
+
source: "settings" | "tool" | "generation";
|
|
1685
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
1686
|
+
} | {
|
|
1687
|
+
name: "ttd";
|
|
1688
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1689
|
+
} | null;
|
|
1690
|
+
defaultSidebarDockedPreference: boolean;
|
|
1183
1691
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1184
|
-
selectedElementIds: {
|
|
1185
|
-
[id: string]:
|
|
1186
|
-
}
|
|
1692
|
+
selectedElementIds: Readonly<{
|
|
1693
|
+
[id: string]: true;
|
|
1694
|
+
}>;
|
|
1187
1695
|
previousSelectedElementIds: {
|
|
1188
|
-
[id: string]:
|
|
1696
|
+
[id: string]: true;
|
|
1189
1697
|
};
|
|
1698
|
+
selectedElementsAreBeingDragged: boolean;
|
|
1190
1699
|
shouldCacheIgnoreZoom: boolean;
|
|
1191
|
-
showHelpDialog: boolean;
|
|
1192
1700
|
toast: {
|
|
1193
1701
|
message: string;
|
|
1194
1702
|
closable?: boolean | undefined;
|
|
1195
1703
|
duration?: number | undefined;
|
|
1196
1704
|
} | null;
|
|
1197
1705
|
zenModeEnabled: boolean;
|
|
1198
|
-
theme:
|
|
1706
|
+
theme: import("../element/types").Theme;
|
|
1199
1707
|
gridSize: number | null;
|
|
1200
1708
|
viewModeEnabled: boolean;
|
|
1201
1709
|
selectedGroupIds: {
|
|
@@ -1206,10 +1714,24 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1206
1714
|
height: number;
|
|
1207
1715
|
offsetTop: number;
|
|
1208
1716
|
offsetLeft: number;
|
|
1209
|
-
isLibraryOpen: boolean;
|
|
1210
|
-
isLibraryMenuDocked: boolean;
|
|
1211
1717
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1212
|
-
collaborators: Map<
|
|
1718
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1719
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1720
|
+
button?: "up" | "down" | undefined;
|
|
1721
|
+
selectedElementIds?: Readonly<{
|
|
1722
|
+
[id: string]: true;
|
|
1723
|
+
}> | undefined;
|
|
1724
|
+
username?: string | null | undefined;
|
|
1725
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
1726
|
+
color?: {
|
|
1727
|
+
background: string;
|
|
1728
|
+
stroke: string;
|
|
1729
|
+
} | undefined;
|
|
1730
|
+
avatarUrl?: string | undefined;
|
|
1731
|
+
id?: string | undefined;
|
|
1732
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1733
|
+
isCurrentUser?: boolean | undefined;
|
|
1734
|
+
}>>;
|
|
1213
1735
|
showStats: boolean;
|
|
1214
1736
|
currentChartType: import("../element/types").ChartType;
|
|
1215
1737
|
pasteDialog: {
|
|
@@ -1220,8 +1742,16 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1220
1742
|
data: import("../charts").Spreadsheet;
|
|
1221
1743
|
};
|
|
1222
1744
|
pendingImageElementId: string | null;
|
|
1223
|
-
showHyperlinkPopup: false | "
|
|
1745
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1224
1746
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1747
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1748
|
+
originSnapOffset: {
|
|
1749
|
+
x: number;
|
|
1750
|
+
y: number;
|
|
1751
|
+
} | null;
|
|
1752
|
+
objectsSnapModeEnabled: boolean;
|
|
1753
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
1754
|
+
followedBy: Set<import("../types").SocketId>;
|
|
1225
1755
|
};
|
|
1226
1756
|
commitToHistory: true;
|
|
1227
1757
|
};
|
|
@@ -1229,16 +1759,25 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1229
1759
|
} & {
|
|
1230
1760
|
keyTest?: undefined;
|
|
1231
1761
|
};
|
|
1232
|
-
export declare const
|
|
1233
|
-
name: "
|
|
1762
|
+
export declare const actionChangeRoundness: {
|
|
1763
|
+
name: "changeRoundness";
|
|
1234
1764
|
trackEvent: false;
|
|
1235
1765
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1236
1766
|
elements: ExcalidrawElement[];
|
|
1237
1767
|
appState: {
|
|
1238
|
-
|
|
1239
|
-
|
|
1768
|
+
currentItemRoundness: any;
|
|
1769
|
+
contextMenu: {
|
|
1770
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1771
|
+
top: number;
|
|
1772
|
+
left: number;
|
|
1773
|
+
} | null;
|
|
1774
|
+
showWelcomeScreen: boolean;
|
|
1240
1775
|
isLoading: boolean;
|
|
1241
|
-
errorMessage:
|
|
1776
|
+
errorMessage: import("react").ReactNode;
|
|
1777
|
+
activeEmbeddable: {
|
|
1778
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1779
|
+
state: "active" | "hover";
|
|
1780
|
+
} | null;
|
|
1242
1781
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1243
1782
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1244
1783
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1246,19 +1785,21 @@ export declare const actionChangeSharpness: {
|
|
|
1246
1785
|
isBindingEnabled: boolean;
|
|
1247
1786
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1248
1787
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1788
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1789
|
+
frameRendering: {
|
|
1790
|
+
enabled: boolean;
|
|
1791
|
+
name: boolean;
|
|
1792
|
+
outline: boolean;
|
|
1793
|
+
clip: boolean;
|
|
1794
|
+
};
|
|
1795
|
+
editingFrame: string | null;
|
|
1796
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1249
1797
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1250
1798
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1251
1799
|
activeTool: {
|
|
1252
|
-
|
|
1253
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1800
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
1254
1801
|
locked: boolean;
|
|
1255
|
-
|
|
1256
|
-
} | {
|
|
1257
|
-
type: "custom";
|
|
1258
|
-
customType: string;
|
|
1259
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1260
|
-
locked: boolean;
|
|
1261
|
-
};
|
|
1802
|
+
} & import("../types").ActiveTool;
|
|
1262
1803
|
penMode: boolean;
|
|
1263
1804
|
penDetected: boolean;
|
|
1264
1805
|
exportBackground: boolean;
|
|
@@ -1274,7 +1815,7 @@ export declare const actionChangeSharpness: {
|
|
|
1274
1815
|
currentItemOpacity: number;
|
|
1275
1816
|
currentItemFontFamily: number;
|
|
1276
1817
|
currentItemFontSize: number;
|
|
1277
|
-
currentItemTextAlign:
|
|
1818
|
+
currentItemTextAlign: string;
|
|
1278
1819
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1279
1820
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1280
1821
|
viewBackgroundColor: string;
|
|
@@ -1286,26 +1827,41 @@ export declare const actionChangeSharpness: {
|
|
|
1286
1827
|
isResizing: boolean;
|
|
1287
1828
|
isRotating: boolean;
|
|
1288
1829
|
zoom: Readonly<{
|
|
1289
|
-
value: import("
|
|
1830
|
+
value: import("../types").NormalizedZoomValue;
|
|
1290
1831
|
}>;
|
|
1291
1832
|
openMenu: "canvas" | "shape" | null;
|
|
1292
|
-
openPopup: "
|
|
1833
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1834
|
+
openSidebar: {
|
|
1835
|
+
name: string;
|
|
1836
|
+
tab?: string | undefined;
|
|
1837
|
+
} | null;
|
|
1838
|
+
openDialog: {
|
|
1839
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1840
|
+
} | {
|
|
1841
|
+
name: "settings";
|
|
1842
|
+
source: "settings" | "tool" | "generation";
|
|
1843
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
1844
|
+
} | {
|
|
1845
|
+
name: "ttd";
|
|
1846
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1847
|
+
} | null;
|
|
1848
|
+
defaultSidebarDockedPreference: boolean;
|
|
1293
1849
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1294
|
-
selectedElementIds: {
|
|
1295
|
-
[id: string]:
|
|
1296
|
-
}
|
|
1850
|
+
selectedElementIds: Readonly<{
|
|
1851
|
+
[id: string]: true;
|
|
1852
|
+
}>;
|
|
1297
1853
|
previousSelectedElementIds: {
|
|
1298
|
-
[id: string]:
|
|
1854
|
+
[id: string]: true;
|
|
1299
1855
|
};
|
|
1856
|
+
selectedElementsAreBeingDragged: boolean;
|
|
1300
1857
|
shouldCacheIgnoreZoom: boolean;
|
|
1301
|
-
showHelpDialog: boolean;
|
|
1302
1858
|
toast: {
|
|
1303
1859
|
message: string;
|
|
1304
1860
|
closable?: boolean | undefined;
|
|
1305
1861
|
duration?: number | undefined;
|
|
1306
1862
|
} | null;
|
|
1307
1863
|
zenModeEnabled: boolean;
|
|
1308
|
-
theme:
|
|
1864
|
+
theme: import("../element/types").Theme;
|
|
1309
1865
|
gridSize: number | null;
|
|
1310
1866
|
viewModeEnabled: boolean;
|
|
1311
1867
|
selectedGroupIds: {
|
|
@@ -1316,10 +1872,24 @@ export declare const actionChangeSharpness: {
|
|
|
1316
1872
|
height: number;
|
|
1317
1873
|
offsetTop: number;
|
|
1318
1874
|
offsetLeft: number;
|
|
1319
|
-
isLibraryOpen: boolean;
|
|
1320
|
-
isLibraryMenuDocked: boolean;
|
|
1321
1875
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1322
|
-
collaborators: Map<
|
|
1876
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1877
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1878
|
+
button?: "up" | "down" | undefined;
|
|
1879
|
+
selectedElementIds?: Readonly<{
|
|
1880
|
+
[id: string]: true;
|
|
1881
|
+
}> | undefined;
|
|
1882
|
+
username?: string | null | undefined;
|
|
1883
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
1884
|
+
color?: {
|
|
1885
|
+
background: string;
|
|
1886
|
+
stroke: string;
|
|
1887
|
+
} | undefined;
|
|
1888
|
+
avatarUrl?: string | undefined;
|
|
1889
|
+
id?: string | undefined;
|
|
1890
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1891
|
+
isCurrentUser?: boolean | undefined;
|
|
1892
|
+
}>>;
|
|
1323
1893
|
showStats: boolean;
|
|
1324
1894
|
currentChartType: import("../element/types").ChartType;
|
|
1325
1895
|
pasteDialog: {
|
|
@@ -1330,8 +1900,16 @@ export declare const actionChangeSharpness: {
|
|
|
1330
1900
|
data: import("../charts").Spreadsheet;
|
|
1331
1901
|
};
|
|
1332
1902
|
pendingImageElementId: string | null;
|
|
1333
|
-
showHyperlinkPopup: false | "
|
|
1903
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1334
1904
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1905
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1906
|
+
originSnapOffset: {
|
|
1907
|
+
x: number;
|
|
1908
|
+
y: number;
|
|
1909
|
+
} | null;
|
|
1910
|
+
objectsSnapModeEnabled: boolean;
|
|
1911
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
1912
|
+
followedBy: Set<import("../types").SocketId>;
|
|
1335
1913
|
};
|
|
1336
1914
|
commitToHistory: true;
|
|
1337
1915
|
};
|
|
@@ -1348,8 +1926,18 @@ export declare const actionChangeArrowhead: {
|
|
|
1348
1926
|
}) => {
|
|
1349
1927
|
elements: ExcalidrawElement[];
|
|
1350
1928
|
appState: {
|
|
1929
|
+
contextMenu: {
|
|
1930
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1931
|
+
top: number;
|
|
1932
|
+
left: number;
|
|
1933
|
+
} | null;
|
|
1934
|
+
showWelcomeScreen: boolean;
|
|
1351
1935
|
isLoading: boolean;
|
|
1352
|
-
errorMessage:
|
|
1936
|
+
errorMessage: import("react").ReactNode;
|
|
1937
|
+
activeEmbeddable: {
|
|
1938
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1939
|
+
state: "active" | "hover";
|
|
1940
|
+
} | null;
|
|
1353
1941
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1354
1942
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1355
1943
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1357,19 +1945,21 @@ export declare const actionChangeArrowhead: {
|
|
|
1357
1945
|
isBindingEnabled: boolean;
|
|
1358
1946
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1359
1947
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1948
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1949
|
+
frameRendering: {
|
|
1950
|
+
enabled: boolean;
|
|
1951
|
+
name: boolean;
|
|
1952
|
+
outline: boolean;
|
|
1953
|
+
clip: boolean;
|
|
1954
|
+
};
|
|
1955
|
+
editingFrame: string | null;
|
|
1956
|
+
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1360
1957
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1361
1958
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1362
1959
|
activeTool: {
|
|
1363
|
-
|
|
1364
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1960
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
1365
1961
|
locked: boolean;
|
|
1366
|
-
|
|
1367
|
-
} | {
|
|
1368
|
-
type: "custom";
|
|
1369
|
-
customType: string;
|
|
1370
|
-
lastActiveToolBeforeEraser: import("../../src/types").LastActiveToolBeforeEraser;
|
|
1371
|
-
locked: boolean;
|
|
1372
|
-
};
|
|
1962
|
+
} & import("../types").ActiveTool;
|
|
1373
1963
|
penMode: boolean;
|
|
1374
1964
|
penDetected: boolean;
|
|
1375
1965
|
exportBackground: boolean;
|
|
@@ -1385,11 +1975,10 @@ export declare const actionChangeArrowhead: {
|
|
|
1385
1975
|
currentItemOpacity: number;
|
|
1386
1976
|
currentItemFontFamily: number;
|
|
1387
1977
|
currentItemFontSize: number;
|
|
1388
|
-
currentItemTextAlign:
|
|
1389
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1978
|
+
currentItemTextAlign: string;
|
|
1390
1979
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1391
1980
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1392
|
-
|
|
1981
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
1393
1982
|
viewBackgroundColor: string;
|
|
1394
1983
|
scrollX: number;
|
|
1395
1984
|
scrollY: number;
|
|
@@ -1399,26 +1988,41 @@ export declare const actionChangeArrowhead: {
|
|
|
1399
1988
|
isResizing: boolean;
|
|
1400
1989
|
isRotating: boolean;
|
|
1401
1990
|
zoom: Readonly<{
|
|
1402
|
-
value: import("
|
|
1991
|
+
value: import("../types").NormalizedZoomValue;
|
|
1403
1992
|
}>;
|
|
1404
1993
|
openMenu: "canvas" | "shape" | null;
|
|
1405
|
-
openPopup: "
|
|
1994
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1995
|
+
openSidebar: {
|
|
1996
|
+
name: string;
|
|
1997
|
+
tab?: string | undefined;
|
|
1998
|
+
} | null;
|
|
1999
|
+
openDialog: {
|
|
2000
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
2001
|
+
} | {
|
|
2002
|
+
name: "settings";
|
|
2003
|
+
source: "settings" | "tool" | "generation";
|
|
2004
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
2005
|
+
} | {
|
|
2006
|
+
name: "ttd";
|
|
2007
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2008
|
+
} | null;
|
|
2009
|
+
defaultSidebarDockedPreference: boolean;
|
|
1406
2010
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1407
|
-
selectedElementIds: {
|
|
1408
|
-
[id: string]:
|
|
1409
|
-
}
|
|
2011
|
+
selectedElementIds: Readonly<{
|
|
2012
|
+
[id: string]: true;
|
|
2013
|
+
}>;
|
|
1410
2014
|
previousSelectedElementIds: {
|
|
1411
|
-
[id: string]:
|
|
2015
|
+
[id: string]: true;
|
|
1412
2016
|
};
|
|
2017
|
+
selectedElementsAreBeingDragged: boolean;
|
|
1413
2018
|
shouldCacheIgnoreZoom: boolean;
|
|
1414
|
-
showHelpDialog: boolean;
|
|
1415
2019
|
toast: {
|
|
1416
2020
|
message: string;
|
|
1417
2021
|
closable?: boolean | undefined;
|
|
1418
2022
|
duration?: number | undefined;
|
|
1419
2023
|
} | null;
|
|
1420
2024
|
zenModeEnabled: boolean;
|
|
1421
|
-
theme:
|
|
2025
|
+
theme: import("../element/types").Theme;
|
|
1422
2026
|
gridSize: number | null;
|
|
1423
2027
|
viewModeEnabled: boolean;
|
|
1424
2028
|
selectedGroupIds: {
|
|
@@ -1429,10 +2033,24 @@ export declare const actionChangeArrowhead: {
|
|
|
1429
2033
|
height: number;
|
|
1430
2034
|
offsetTop: number;
|
|
1431
2035
|
offsetLeft: number;
|
|
1432
|
-
isLibraryOpen: boolean;
|
|
1433
|
-
isLibraryMenuDocked: boolean;
|
|
1434
2036
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1435
|
-
collaborators: Map<
|
|
2037
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
2038
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
2039
|
+
button?: "up" | "down" | undefined;
|
|
2040
|
+
selectedElementIds?: Readonly<{
|
|
2041
|
+
[id: string]: true;
|
|
2042
|
+
}> | undefined;
|
|
2043
|
+
username?: string | null | undefined;
|
|
2044
|
+
userState?: import("../types").UserIdleState | undefined;
|
|
2045
|
+
color?: {
|
|
2046
|
+
background: string;
|
|
2047
|
+
stroke: string;
|
|
2048
|
+
} | undefined;
|
|
2049
|
+
avatarUrl?: string | undefined;
|
|
2050
|
+
id?: string | undefined;
|
|
2051
|
+
socketId?: import("../types").SocketId | undefined;
|
|
2052
|
+
isCurrentUser?: boolean | undefined;
|
|
2053
|
+
}>>;
|
|
1436
2054
|
showStats: boolean;
|
|
1437
2055
|
currentChartType: import("../element/types").ChartType;
|
|
1438
2056
|
pasteDialog: {
|
|
@@ -1443,8 +2061,16 @@ export declare const actionChangeArrowhead: {
|
|
|
1443
2061
|
data: import("../charts").Spreadsheet;
|
|
1444
2062
|
};
|
|
1445
2063
|
pendingImageElementId: string | null;
|
|
1446
|
-
showHyperlinkPopup: false | "
|
|
2064
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1447
2065
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
2066
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
2067
|
+
originSnapOffset: {
|
|
2068
|
+
x: number;
|
|
2069
|
+
y: number;
|
|
2070
|
+
} | null;
|
|
2071
|
+
objectsSnapModeEnabled: boolean;
|
|
2072
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
2073
|
+
followedBy: Set<import("../types").SocketId>;
|
|
1448
2074
|
};
|
|
1449
2075
|
commitToHistory: true;
|
|
1450
2076
|
};
|