@excalidraw/excalidraw 0.18.0-432a46e → 0.18.0-508de2f3a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/dist/dev/chunk-3JWCK6AW.js +5677 -0
  2. package/dist/dev/chunk-3JWCK6AW.js.map +7 -0
  3. package/dist/dev/chunk-BVDPDK7J.js +7 -0
  4. package/dist/dev/chunk-BVDPDK7J.js.map +7 -0
  5. package/dist/dev/{chunk-LMHBUWQS.js → chunk-QF5FRM6O.js} +16 -5
  6. package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
  7. package/dist/dev/data/{image-5HAY2PCR.js → image-CNYZRAWA.js} +3 -3
  8. package/dist/dev/index.css +147 -68
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +9456 -9767
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-OZCJJ2HN.js → en-SMAPCEOQ.js} +2 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/chunk-2HQY2INW.js +4 -0
  16. package/dist/prod/chunk-I4UNSFV6.js +12 -0
  17. package/dist/prod/chunk-XRPJNYI4.js +7 -0
  18. package/dist/prod/data/image-DYRE7ZKS.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +25 -17
  21. package/dist/prod/locales/{en-B4ZKOASM.js → en-TYY6KWIJ.js} +1 -1
  22. package/dist/prod/subset-shared.chunk.js +1 -1
  23. package/dist/prod/subset-worker.chunk.js +1 -1
  24. package/dist/types/{packages/common → common}/src/colors.d.ts +1 -0
  25. package/dist/types/{packages/common → common}/src/constants.d.ts +24 -3
  26. package/dist/types/{packages/excalidraw → common/src}/emitter.d.ts +1 -1
  27. package/dist/types/{packages/common → common}/src/font-metadata.d.ts +4 -2
  28. package/dist/types/{packages/common → common}/src/index.d.ts +1 -0
  29. package/dist/types/{packages/common → common}/src/utility-types.d.ts +5 -0
  30. package/dist/types/{packages/common → common}/src/utils.d.ts +18 -1
  31. package/dist/types/{packages/excalidraw/scene → element/src}/Scene.d.ts +16 -15
  32. package/dist/types/element/src/align.d.ts +8 -0
  33. package/dist/types/{packages/element → element}/src/binding.d.ts +26 -15
  34. package/dist/types/{packages/element → element}/src/bounds.d.ts +18 -5
  35. package/dist/types/element/src/collision.d.ts +32 -0
  36. package/dist/types/{packages/element → element}/src/cropElement.d.ts +1 -1
  37. package/dist/types/{packages/excalidraw/change.d.ts → element/src/delta.d.ts} +78 -40
  38. package/dist/types/element/src/distance.d.ts +3 -0
  39. package/dist/types/{packages/element → element}/src/distribute.d.ts +2 -1
  40. package/dist/types/{packages/element → element}/src/dragElements.d.ts +3 -2
  41. package/dist/types/{packages/element → element}/src/duplicate.d.ts +10 -13
  42. package/dist/types/{packages/element → element}/src/elbowArrow.d.ts +1 -1
  43. package/dist/types/{packages/element → element}/src/flowchart.d.ts +3 -2
  44. package/dist/types/{packages/element → element}/src/fractionalIndex.d.ts +9 -3
  45. package/dist/types/{packages/element → element}/src/frame.d.ts +5 -4
  46. package/dist/types/{packages/element → element}/src/groups.d.ts +1 -0
  47. package/dist/types/{packages/element → element}/src/heading.d.ts +0 -1
  48. package/dist/types/element/src/index.d.ts +57 -0
  49. package/dist/types/{packages/element → element}/src/linearElementEditor.d.ts +23 -36
  50. package/dist/types/{packages/element → element}/src/mutateElement.d.ts +12 -3
  51. package/dist/types/{packages/element → element}/src/newElement.d.ts +4 -3
  52. package/dist/types/{packages/element → element}/src/resizeElements.d.ts +5 -4
  53. package/dist/types/{packages/element → element}/src/selection.d.ts +11 -5
  54. package/dist/types/element/src/shape.d.ts +42 -0
  55. package/dist/types/{packages/element → element}/src/sizeHelpers.d.ts +2 -2
  56. package/dist/types/element/src/store.d.ts +232 -0
  57. package/dist/types/{packages/element → element}/src/textElement.d.ts +5 -3
  58. package/dist/types/{packages/element → element}/src/typeChecks.d.ts +19 -1
  59. package/dist/types/{packages/element → element}/src/types.d.ts +15 -2
  60. package/dist/types/element/src/utils.d.ts +31 -0
  61. package/dist/types/{packages/element → element}/src/zindex.d.ts +1 -1
  62. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionAddToLibrary.d.ts +42 -51
  63. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionBoundText.d.ts +28 -34
  64. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCanvas.d.ts +351 -214
  65. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionClipboard.d.ts +84 -100
  66. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCropEditor.d.ts +14 -17
  67. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDeleteSelected.d.ts +42 -50
  68. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLink.d.ts +13 -16
  69. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLock.d.ts +43 -51
  70. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionEmbeddable.d.ts +14 -17
  71. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionExport.d.ts +136 -163
  72. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFinalize.d.ts +75 -40
  73. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFrame.d.ts +103 -115
  74. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionGroup.d.ts +28 -34
  75. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionHistory.d.ts +1 -2
  76. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +713 -0
  77. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionLink.d.ts +13 -16
  78. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionMenu.d.ts +39 -48
  79. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionNavigate.d.ts +27 -33
  80. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionProperties.d.ts +218 -255
  81. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionSelectAll.d.ts +14 -17
  82. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionStyles.d.ts +14 -17
  83. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleGridMode.d.ts +14 -17
  84. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleObjectsSnapMode.d.ts +14 -17
  85. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +182 -0
  86. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  87. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleStats.d.ts +14 -18
  88. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleViewMode.d.ts +14 -18
  89. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleZenMode.d.ts +14 -18
  90. package/dist/types/{packages/excalidraw → excalidraw}/actions/types.d.ts +4 -3
  91. package/dist/types/{packages/excalidraw → excalidraw}/animated-trail.d.ts +7 -1
  92. package/dist/types/{packages/excalidraw → excalidraw}/appState.d.ts +20 -10
  93. package/dist/types/{packages/excalidraw → excalidraw}/components/Actions.d.ts +0 -4
  94. package/dist/types/{packages/excalidraw → excalidraw}/components/App.d.ts +41 -24
  95. package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonIcon.d.ts +1 -0
  96. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ColorInput.d.ts +2 -1
  97. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ColorPicker.d.ts +5 -1
  98. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/CustomColorList.d.ts +1 -1
  99. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +7 -0
  100. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/Picker.d.ts +2 -3
  101. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/PickerColorList.d.ts +2 -3
  102. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ShadeList.d.ts +2 -2
  103. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/TopPicks.d.ts +1 -1
  104. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  105. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  106. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  107. package/dist/types/{packages/excalidraw → excalidraw}/components/ElementLinkDialog.d.ts +4 -3
  108. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  109. package/dist/types/{packages/excalidraw/components/ButtonIconSelect.d.ts → excalidraw/components/RadioSelection.d.ts} +1 -1
  110. package/dist/types/excalidraw/components/Range.d.ts +8 -0
  111. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Angle.d.ts +1 -1
  112. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/CanvasGrid.d.ts +1 -1
  113. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Collapsible.d.ts +2 -1
  114. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Dimension.d.ts +1 -1
  115. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/DragInput.d.ts +12 -2
  116. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/FontSize.d.ts +1 -1
  117. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiAngle.d.ts +1 -1
  118. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiDimension.d.ts +1 -1
  119. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiFontSize.d.ts +1 -1
  120. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiPosition.d.ts +1 -1
  121. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Position.d.ts +1 -1
  122. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/utils.d.ts +4 -11
  123. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  124. package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/InteractiveCanvas.d.ts +1 -0
  125. package/dist/types/{packages/excalidraw → excalidraw}/components/hyperlink/Hyperlink.d.ts +3 -2
  126. package/dist/types/{packages/excalidraw → excalidraw}/components/hyperlink/helpers.d.ts +2 -1
  127. package/dist/types/{packages/excalidraw → excalidraw}/components/icons.d.ts +4 -0
  128. package/dist/types/{packages/excalidraw → excalidraw}/components/shapes.d.ts +1 -1
  129. package/dist/types/{packages/excalidraw → excalidraw}/data/reconcile.d.ts +1 -0
  130. package/dist/types/{packages/excalidraw → excalidraw}/data/restore.d.ts +6 -1
  131. package/dist/types/{packages/excalidraw → excalidraw}/data/transform.d.ts +1 -1
  132. package/dist/types/{packages/excalidraw → excalidraw}/editor-jotai.d.ts +6 -6
  133. package/dist/types/excalidraw/eraser/index.d.ts +12 -0
  134. package/dist/types/{packages/excalidraw → excalidraw}/fonts/Fonts.d.ts +1 -1
  135. package/dist/types/excalidraw/history.d.ts +48 -0
  136. package/dist/types/{packages/excalidraw → excalidraw}/hooks/useEmitter.d.ts +1 -1
  137. package/dist/types/{packages/excalidraw → excalidraw}/index.d.ts +11 -10
  138. package/dist/types/excalidraw/lasso/index.d.ts +16 -0
  139. package/dist/types/excalidraw/lasso/utils.d.ts +13 -0
  140. package/dist/types/excalidraw/renderer/helpers.d.ts +18 -0
  141. package/dist/types/excalidraw/renderer/staticScene.d.ts +14 -0
  142. package/dist/types/{packages/excalidraw → excalidraw}/scene/Renderer.d.ts +1 -2
  143. package/dist/types/excalidraw/scene/index.d.ts +4 -0
  144. package/dist/types/{packages/excalidraw → excalidraw}/scene/scrollbars.d.ts +2 -3
  145. package/dist/types/{packages/excalidraw → excalidraw}/scene/types.d.ts +2 -0
  146. package/dist/types/{packages/excalidraw → excalidraw}/snapping.d.ts +2 -2
  147. package/dist/types/{packages/excalidraw → excalidraw}/types.d.ts +38 -15
  148. package/dist/types/{packages/excalidraw → excalidraw}/wysiwyg/textWysiwyg.d.ts +3 -1
  149. package/dist/types/{packages/math → math}/src/angle.d.ts +2 -0
  150. package/dist/types/math/src/constants.d.ts +3 -0
  151. package/dist/types/math/src/curve.d.ts +74 -0
  152. package/dist/types/{packages/math → math}/src/index.d.ts +1 -0
  153. package/dist/types/{packages/math → math}/src/point.d.ts +1 -1
  154. package/dist/types/{packages/math → math}/src/polygon.d.ts +1 -0
  155. package/dist/types/{packages/math → math}/src/rectangle.d.ts +2 -0
  156. package/dist/types/{packages/math → math}/src/segment.d.ts +1 -1
  157. package/dist/types/{packages/math → math}/src/types.d.ts +1 -0
  158. package/dist/types/{packages/math → math}/src/vector.d.ts +8 -2
  159. package/dist/types/{packages/utils → utils}/src/bbox.d.ts +1 -1
  160. package/dist/types/{packages/utils → utils}/src/index.d.ts +1 -1
  161. package/dist/types/{packages/utils → utils}/src/withinBounds.d.ts +1 -1
  162. package/history.ts +146 -109
  163. package/package.json +30 -10
  164. package/dist/dev/chunk-LMHBUWQS.js.map +0 -7
  165. package/dist/dev/chunk-S7W4OWSF.js +0 -18442
  166. package/dist/dev/chunk-S7W4OWSF.js.map +0 -7
  167. package/dist/dev/chunk-ZG3EI5XS.js +0 -7
  168. package/dist/dev/chunk-ZG3EI5XS.js.map +0 -7
  169. package/dist/prod/chunk-6U3AYISY.js +0 -12
  170. package/dist/prod/chunk-LRITYP5X.js +0 -31
  171. package/dist/prod/chunk-U24AOZ3B.js +0 -7
  172. package/dist/prod/data/image-W3GRS73V.js +0 -1
  173. package/dist/types/excalidraw-app/app_constants.d.ts +0 -44
  174. package/dist/types/packages/element/src/Shape.d.ts +0 -17
  175. package/dist/types/packages/element/src/ShapeCache.d.ts +0 -25
  176. package/dist/types/packages/element/src/align.d.ts +0 -7
  177. package/dist/types/packages/element/src/collision.d.ts +0 -26
  178. package/dist/types/packages/element/src/distance.d.ts +0 -3
  179. package/dist/types/packages/element/src/index.d.ts +0 -16
  180. package/dist/types/packages/element/src/shapes.d.ts +0 -23
  181. package/dist/types/packages/element/src/utils.d.ts +0 -21
  182. package/dist/types/packages/excalidraw/actions/actionLinearEditor.d.ts +0 -192
  183. package/dist/types/packages/excalidraw/actions/actionToggleSearchMenu.d.ts +0 -357
  184. package/dist/types/packages/excalidraw/components/ButtonSelect.d.ts +0 -9
  185. package/dist/types/packages/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +0 -8
  186. package/dist/types/packages/excalidraw/components/Range.d.ts +0 -8
  187. package/dist/types/packages/excalidraw/history.d.ts +0 -40
  188. package/dist/types/packages/excalidraw/renderer/helpers.d.ts +0 -13
  189. package/dist/types/packages/excalidraw/renderer/staticScene.d.ts +0 -11
  190. package/dist/types/packages/excalidraw/scene/index.d.ts +0 -4
  191. package/dist/types/packages/excalidraw/store.d.ts +0 -129
  192. package/dist/types/packages/excalidraw/tests/fixtures/diagramFixture.d.ts +0 -504
  193. package/dist/types/packages/excalidraw/tests/fixtures/elementFixture.d.ts +0 -7
  194. package/dist/types/packages/excalidraw/tests/helpers/api.d.ts +0 -89
  195. package/dist/types/packages/excalidraw/tests/helpers/colorize.d.ts +0 -2
  196. package/dist/types/packages/excalidraw/tests/helpers/mocks.d.ts +0 -5
  197. package/dist/types/packages/excalidraw/tests/helpers/polyfills.d.ts +0 -36
  198. package/dist/types/packages/excalidraw/tests/helpers/ui.d.ts +0 -189
  199. package/dist/types/packages/excalidraw/tests/queries/dom.d.ts +0 -2
  200. package/dist/types/packages/excalidraw/tests/queries/toolQueries.d.ts +0 -2
  201. package/dist/types/packages/excalidraw/tests/test-utils.d.ts +0 -139
  202. package/dist/types/packages/excalidraw/visualdebug.d.ts +0 -41
  203. package/dist/types/packages/math/src/curve.d.ts +0 -40
  204. package/dist/types/packages/utils/src/collision.d.ts +0 -8
  205. /package/dist/dev/data/{image-5HAY2PCR.js.map → image-CNYZRAWA.js.map} +0 -0
  206. /package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-SMAPCEOQ.js.map} +0 -0
  207. /package/dist/types/{packages/common → common}/src/binary-heap.d.ts +0 -0
  208. /package/dist/types/{packages/common → common}/src/keys.d.ts +0 -0
  209. /package/dist/types/{packages/common → common}/src/points.d.ts +0 -0
  210. /package/dist/types/{packages/common → common}/src/promise-pool.d.ts +0 -0
  211. /package/dist/types/{packages/common → common}/src/queue.d.ts +0 -0
  212. /package/dist/types/{packages/common → common}/src/random.d.ts +0 -0
  213. /package/dist/types/{packages/common → common}/src/url.d.ts +0 -0
  214. /package/dist/types/{packages/element → element}/src/comparisons.d.ts +0 -0
  215. /package/dist/types/{packages/element → element}/src/containerCache.d.ts +0 -0
  216. /package/dist/types/{packages/element → element}/src/elementLink.d.ts +0 -0
  217. /package/dist/types/{packages/element → element}/src/embeddable.d.ts +0 -0
  218. /package/dist/types/{packages/element → element}/src/image.d.ts +0 -0
  219. /package/dist/types/{packages/element → element}/src/renderElement.d.ts +0 -0
  220. /package/dist/types/{packages/element → element}/src/resizeTest.d.ts +0 -0
  221. /package/dist/types/{packages/element → element}/src/showSelectedShapeActions.d.ts +0 -0
  222. /package/dist/types/{packages/element → element}/src/sortElements.d.ts +0 -0
  223. /package/dist/types/{packages/element → element}/src/textMeasurements.d.ts +0 -0
  224. /package/dist/types/{packages/element → element}/src/textWrapping.d.ts +0 -0
  225. /package/dist/types/{packages/element → element}/src/transformHandles.d.ts +0 -0
  226. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionAlign.d.ts +0 -0
  227. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDistribute.d.ts +0 -0
  228. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDuplicateSelection.d.ts +0 -0
  229. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFlip.d.ts +0 -0
  230. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionTextAutoResize.d.ts +0 -0
  231. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionZindex.d.ts +0 -0
  232. /package/dist/types/{packages/excalidraw → excalidraw}/actions/index.d.ts +0 -0
  233. /package/dist/types/{packages/excalidraw → excalidraw}/actions/manager.d.ts +0 -0
  234. /package/dist/types/{packages/excalidraw → excalidraw}/actions/register.d.ts +0 -0
  235. /package/dist/types/{packages/excalidraw → excalidraw}/actions/shortcuts.d.ts +0 -0
  236. /package/dist/types/{packages/excalidraw → excalidraw}/analytics.d.ts +0 -0
  237. /package/dist/types/{packages/excalidraw → excalidraw}/animation-frame-handler.d.ts +0 -0
  238. /package/dist/types/{packages/excalidraw → excalidraw}/charts.d.ts +0 -0
  239. /package/dist/types/{packages/excalidraw → excalidraw}/clients.d.ts +0 -0
  240. /package/dist/types/{packages/excalidraw → excalidraw}/clipboard.d.ts +0 -0
  241. /package/dist/types/{packages/excalidraw → excalidraw}/components/ActiveConfirmDialog.d.ts +0 -0
  242. /package/dist/types/{packages/excalidraw → excalidraw}/components/Avatar.d.ts +0 -0
  243. /package/dist/types/{packages/excalidraw → excalidraw}/components/BraveMeasureTextError.d.ts +0 -0
  244. /package/dist/types/{packages/excalidraw → excalidraw}/components/Button.d.ts +0 -0
  245. /package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonIconCycle.d.ts +0 -0
  246. /package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonSeparator.d.ts +0 -0
  247. /package/dist/types/{packages/excalidraw → excalidraw}/components/Card.d.ts +0 -0
  248. /package/dist/types/{packages/excalidraw → excalidraw}/components/CheckboxItem.d.ts +0 -0
  249. /package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/PickerHeading.d.ts +0 -0
  250. /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/CommandPalette.d.ts +0 -0
  251. /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/defaultCommandPaletteItems.d.ts +0 -0
  252. /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/types.d.ts +0 -0
  253. /package/dist/types/{packages/excalidraw → excalidraw}/components/ConfirmDialog.d.ts +0 -0
  254. /package/dist/types/{packages/excalidraw → excalidraw}/components/ContextMenu.d.ts +0 -0
  255. /package/dist/types/{packages/excalidraw → excalidraw}/components/DarkModeToggle.d.ts +0 -0
  256. /package/dist/types/{packages/excalidraw → excalidraw}/components/DefaultSidebar.d.ts +0 -0
  257. /package/dist/types/{packages/excalidraw → excalidraw}/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -0
  258. /package/dist/types/{packages/excalidraw → excalidraw}/components/Dialog.d.ts +0 -0
  259. /package/dist/types/{packages/excalidraw → excalidraw}/components/DialogActionButton.d.ts +0 -0
  260. /package/dist/types/{packages/excalidraw → excalidraw}/components/ElementCanvasButtons.d.ts +0 -0
  261. /package/dist/types/{packages/excalidraw → excalidraw}/components/ErrorDialog.d.ts +0 -0
  262. /package/dist/types/{packages/excalidraw → excalidraw}/components/ExcalidrawLogo.d.ts +0 -0
  263. /package/dist/types/{packages/excalidraw → excalidraw}/components/EyeDropper.d.ts +0 -0
  264. /package/dist/types/{packages/excalidraw → excalidraw}/components/FilledButton.d.ts +0 -0
  265. /package/dist/types/{packages/excalidraw → excalidraw}/components/FixedSideContainer.d.ts +0 -0
  266. /package/dist/types/{packages/excalidraw → excalidraw}/components/FollowMode/FollowMode.d.ts +0 -0
  267. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPicker.d.ts +0 -0
  268. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPickerList.d.ts +0 -0
  269. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPickerTrigger.d.ts +0 -0
  270. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/keyboardNavHandlers.d.ts +0 -0
  271. /package/dist/types/{packages/excalidraw → excalidraw}/components/HandButton.d.ts +0 -0
  272. /package/dist/types/{packages/excalidraw → excalidraw}/components/HelpButton.d.ts +0 -0
  273. /package/dist/types/{packages/excalidraw → excalidraw}/components/HelpDialog.d.ts +0 -0
  274. /package/dist/types/{packages/excalidraw → excalidraw}/components/HintViewer.d.ts +0 -0
  275. /package/dist/types/{packages/excalidraw → excalidraw}/components/IconPicker.d.ts +0 -0
  276. /package/dist/types/{packages/excalidraw → excalidraw}/components/ImageExportDialog.d.ts +0 -0
  277. /package/dist/types/{packages/excalidraw → excalidraw}/components/InitializeApp.d.ts +0 -0
  278. /package/dist/types/{packages/excalidraw → excalidraw}/components/InlineIcon.d.ts +0 -0
  279. /package/dist/types/{packages/excalidraw → excalidraw}/components/Island.d.ts +0 -0
  280. /package/dist/types/{packages/excalidraw → excalidraw}/components/JSONExportDialog.d.ts +0 -0
  281. /package/dist/types/{packages/excalidraw → excalidraw}/components/LaserPointerButton.d.ts +0 -0
  282. /package/dist/types/{packages/excalidraw → excalidraw}/components/LayerUI.d.ts +0 -0
  283. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenu.d.ts +0 -0
  284. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuBrowseButton.d.ts +0 -0
  285. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuControlButtons.d.ts +0 -0
  286. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuHeaderContent.d.ts +0 -0
  287. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuItems.d.ts +0 -0
  288. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuSection.d.ts +0 -0
  289. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryUnit.d.ts +0 -0
  290. /package/dist/types/{packages/excalidraw → excalidraw}/components/LoadingMessage.d.ts +0 -0
  291. /package/dist/types/{packages/excalidraw → excalidraw}/components/LockButton.d.ts +0 -0
  292. /package/dist/types/{packages/excalidraw → excalidraw}/components/MagicButton.d.ts +0 -0
  293. /package/dist/types/{packages/excalidraw → excalidraw}/components/MobileMenu.d.ts +0 -0
  294. /package/dist/types/{packages/excalidraw → excalidraw}/components/Modal.d.ts +0 -0
  295. /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirm.d.ts +0 -0
  296. /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +0 -0
  297. /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirmState.d.ts +0 -0
  298. /package/dist/types/{packages/excalidraw → excalidraw}/components/Paragraph.d.ts +0 -0
  299. /package/dist/types/{packages/excalidraw → excalidraw}/components/PasteChartDialog.d.ts +0 -0
  300. /package/dist/types/{packages/excalidraw → excalidraw}/components/PenModeButton.d.ts +0 -0
  301. /package/dist/types/{packages/excalidraw → excalidraw}/components/Popover.d.ts +0 -0
  302. /package/dist/types/{packages/excalidraw → excalidraw}/components/ProjectName.d.ts +0 -0
  303. /package/dist/types/{packages/excalidraw → excalidraw}/components/PropertiesPopover.d.ts +0 -0
  304. /package/dist/types/{packages/excalidraw → excalidraw}/components/PublishLibrary.d.ts +0 -0
  305. /package/dist/types/{packages/excalidraw → excalidraw}/components/QuickSearch.d.ts +0 -0
  306. /package/dist/types/{packages/excalidraw → excalidraw}/components/RadioGroup.d.ts +0 -0
  307. /package/dist/types/{packages/excalidraw → excalidraw}/components/SVGLayer.d.ts +0 -0
  308. /package/dist/types/{packages/excalidraw → excalidraw}/components/ScrollableList.d.ts +0 -0
  309. /package/dist/types/{packages/excalidraw → excalidraw}/components/SearchMenu.d.ts +0 -0
  310. /package/dist/types/{packages/excalidraw → excalidraw}/components/Section.d.ts +0 -0
  311. /package/dist/types/{packages/excalidraw → excalidraw}/components/ShareableLinkDialog.d.ts +0 -0
  312. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/Sidebar.d.ts +0 -0
  313. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarHeader.d.ts +0 -0
  314. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTab.d.ts +0 -0
  315. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabTrigger.d.ts +0 -0
  316. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabTriggers.d.ts +0 -0
  317. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabs.d.ts +0 -0
  318. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTrigger.d.ts +0 -0
  319. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/common.d.ts +0 -0
  320. /package/dist/types/{packages/excalidraw → excalidraw}/components/Spinner.d.ts +0 -0
  321. /package/dist/types/{packages/excalidraw → excalidraw}/components/Stack.d.ts +0 -0
  322. /package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/index.d.ts +0 -0
  323. /package/dist/types/{packages/excalidraw → excalidraw}/components/Switch.d.ts +0 -0
  324. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/MermaidToExcalidraw.d.ts +0 -0
  325. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialog.d.ts +0 -0
  326. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogInput.d.ts +0 -0
  327. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogOutput.d.ts +0 -0
  328. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogPanel.d.ts +0 -0
  329. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogPanels.d.ts +0 -0
  330. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +0 -0
  331. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTab.d.ts +0 -0
  332. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabTrigger.d.ts +0 -0
  333. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabTriggers.d.ts +0 -0
  334. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabs.d.ts +0 -0
  335. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTrigger.d.ts +0 -0
  336. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/common.d.ts +0 -0
  337. /package/dist/types/{packages/excalidraw → excalidraw}/components/TextField.d.ts +0 -0
  338. /package/dist/types/{packages/excalidraw → excalidraw}/components/Toast.d.ts +0 -0
  339. /package/dist/types/{packages/excalidraw → excalidraw}/components/ToolButton.d.ts +0 -0
  340. /package/dist/types/{packages/excalidraw → excalidraw}/components/Tooltip.d.ts +0 -0
  341. /package/dist/types/{packages/excalidraw → excalidraw}/components/Trans.d.ts +0 -0
  342. /package/dist/types/{packages/excalidraw → excalidraw}/components/UserList.d.ts +0 -0
  343. /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/NewElementCanvas.d.ts +0 -0
  344. /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/StaticCanvas.d.ts +0 -0
  345. /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/index.d.ts +0 -0
  346. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenu.d.ts +0 -0
  347. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuContent.d.ts +0 -0
  348. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuGroup.d.ts +0 -0
  349. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItem.d.ts +0 -0
  350. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemContent.d.ts +0 -0
  351. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -0
  352. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemCustom.d.ts +0 -0
  353. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemLink.d.ts +0 -0
  354. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuSeparator.d.ts +0 -0
  355. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuTrigger.d.ts +0 -0
  356. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/common.d.ts +0 -0
  357. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/dropdownMenuUtils.d.ts +0 -0
  358. /package/dist/types/{packages/excalidraw → excalidraw}/components/footer/Footer.d.ts +0 -0
  359. /package/dist/types/{packages/excalidraw → excalidraw}/components/footer/FooterCenter.d.ts +0 -0
  360. /package/dist/types/{packages/excalidraw → excalidraw}/components/hoc/withInternalFallback.d.ts +0 -0
  361. /package/dist/types/{packages/excalidraw → excalidraw}/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -0
  362. /package/dist/types/{packages/excalidraw → excalidraw}/components/main-menu/DefaultItems.d.ts +0 -0
  363. /package/dist/types/{packages/excalidraw → excalidraw}/components/main-menu/MainMenu.d.ts +0 -0
  364. /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -0
  365. /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -0
  366. /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.d.ts +0 -0
  367. /package/dist/types/{packages/excalidraw → excalidraw}/context/tunnels.d.ts +0 -0
  368. /package/dist/types/{packages/excalidraw → excalidraw}/context/ui-appState.d.ts +0 -0
  369. /package/dist/types/{packages/excalidraw → excalidraw}/cursor.d.ts +0 -0
  370. /package/dist/types/{packages/excalidraw → excalidraw}/data/EditorLocalStorage.d.ts +0 -0
  371. /package/dist/types/{packages/excalidraw → excalidraw}/data/ai/types.d.ts +0 -0
  372. /package/dist/types/{packages/excalidraw → excalidraw}/data/blob.d.ts +0 -0
  373. /package/dist/types/{packages/excalidraw → excalidraw}/data/encode.d.ts +0 -0
  374. /package/dist/types/{packages/excalidraw → excalidraw}/data/encryption.d.ts +0 -0
  375. /package/dist/types/{packages/excalidraw → excalidraw}/data/filesystem.d.ts +0 -0
  376. /package/dist/types/{packages/excalidraw → excalidraw}/data/image.d.ts +0 -0
  377. /package/dist/types/{packages/excalidraw → excalidraw}/data/index.d.ts +0 -0
  378. /package/dist/types/{packages/excalidraw → excalidraw}/data/json.d.ts +0 -0
  379. /package/dist/types/{packages/excalidraw → excalidraw}/data/library.d.ts +0 -0
  380. /package/dist/types/{packages/excalidraw → excalidraw}/data/resave.d.ts +0 -0
  381. /package/dist/types/{packages/excalidraw → excalidraw}/data/types.d.ts +0 -0
  382. /package/dist/types/{packages/excalidraw → excalidraw}/deburr.d.ts +0 -0
  383. /package/dist/types/{packages/excalidraw → excalidraw}/errors.d.ts +0 -0
  384. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Cascadia/index.d.ts +0 -0
  385. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/ComicShanns/index.d.ts +0 -0
  386. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Emoji/index.d.ts +0 -0
  387. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/ExcalidrawFontFace.d.ts +0 -0
  388. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Excalifont/index.d.ts +0 -0
  389. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Helvetica/index.d.ts +0 -0
  390. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Liberation/index.d.ts +0 -0
  391. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Lilita/index.d.ts +0 -0
  392. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Nunito/index.d.ts +0 -0
  393. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Virgil/index.d.ts +0 -0
  394. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Xiaolai/index.d.ts +0 -0
  395. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/index.d.ts +0 -0
  396. /package/dist/types/{packages/excalidraw → excalidraw}/gesture.d.ts +0 -0
  397. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCallbackRefState.d.ts +0 -0
  398. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCopiedIndicator.d.ts +0 -0
  399. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCreatePortalContainer.d.ts +0 -0
  400. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useLibraryItemSvg.d.ts +0 -0
  401. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useOutsideClick.d.ts +0 -0
  402. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useScrollPosition.d.ts +0 -0
  403. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useStable.d.ts +0 -0
  404. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useStableCallback.d.ts +0 -0
  405. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useTransition.d.ts +0 -0
  406. /package/dist/types/{packages/excalidraw → excalidraw}/i18n.d.ts +0 -0
  407. /package/dist/types/{packages/excalidraw → excalidraw}/index-node.d.ts +0 -0
  408. /package/dist/types/{packages/excalidraw → excalidraw}/laser-trails.d.ts +0 -0
  409. /package/dist/types/{packages/excalidraw → excalidraw}/mermaid.d.ts +0 -0
  410. /package/dist/types/{packages/excalidraw → excalidraw}/polyfill.d.ts +0 -0
  411. /package/dist/types/{packages/excalidraw → excalidraw}/reactUtils.d.ts +0 -0
  412. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/interactiveScene.d.ts +0 -0
  413. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/renderNewElementScene.d.ts +0 -0
  414. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/renderSnaps.d.ts +0 -0
  415. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/roundRect.d.ts +0 -0
  416. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/staticSvgScene.d.ts +0 -0
  417. /package/dist/types/{packages/excalidraw → excalidraw}/scene/export.d.ts +0 -0
  418. /package/dist/types/{packages/excalidraw → excalidraw}/scene/normalize.d.ts +0 -0
  419. /package/dist/types/{packages/excalidraw → excalidraw}/scene/scroll.d.ts +0 -0
  420. /package/dist/types/{packages/excalidraw → excalidraw}/scene/zoom.d.ts +0 -0
  421. /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-bindings.d.ts +0 -0
  422. /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-loader.d.ts +0 -0
  423. /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-wasm.d.ts +0 -0
  424. /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-main.d.ts +0 -0
  425. /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-shared.chunk.d.ts +0 -0
  426. /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-worker.chunk.d.ts +0 -0
  427. /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-bindings.d.ts +0 -0
  428. /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-loader.d.ts +0 -0
  429. /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-wasm.d.ts +0 -0
  430. /package/dist/types/{packages/excalidraw → excalidraw}/workers.d.ts +0 -0
  431. /package/dist/types/{packages/math → math}/src/ellipse.d.ts +0 -0
  432. /package/dist/types/{packages/math → math}/src/line.d.ts +0 -0
  433. /package/dist/types/{packages/math → math}/src/range.d.ts +0 -0
  434. /package/dist/types/{packages/math → math}/src/triangle.d.ts +0 -0
  435. /package/dist/types/{packages/math → math}/src/utils.d.ts +0 -0
  436. /package/dist/types/{packages/utils → utils}/src/export.d.ts +0 -0
  437. /package/dist/types/{packages/utils → utils}/src/shape.d.ts +0 -0
@@ -1,15 +1,15 @@
1
1
  /// <reference types="react" />
2
- import { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
2
+ import { LinearElementEditor } from "@excalidraw/element";
3
3
  import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement } from "@excalidraw/element/types";
4
4
  import type { AppClassProperties, AppState, Primitive } from "../types";
5
5
  export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
6
- export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], appState: AppState, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
6
+ export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
7
7
  export declare const actionChangeStrokeColor: {
8
8
  name: "changeStrokeColor";
9
9
  label: string;
10
10
  trackEvent: false;
11
11
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
12
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
12
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
13
13
  } & {
14
14
  keyTest?: undefined;
15
15
  };
@@ -17,8 +17,16 @@ export declare const actionChangeBackgroundColor: {
17
17
  name: "changeBackgroundColor";
18
18
  label: string;
19
19
  trackEvent: false;
20
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
21
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
20
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
21
+ appState: any;
22
+ captureUpdate: "EVENTUALLY";
23
+ elements?: undefined;
24
+ } | {
25
+ elements: ExcalidrawElement[];
26
+ appState: any;
27
+ captureUpdate: "IMMEDIATELY";
28
+ };
29
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
22
30
  } & {
23
31
  keyTest?: undefined;
24
32
  };
@@ -40,7 +48,7 @@ export declare const actionChangeFillStyle: {
40
48
  errorMessage: import("react").ReactNode;
41
49
  activeEmbeddable: {
42
50
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
43
- state: "hover" | "active";
51
+ state: "active" | "hover";
44
52
  } | null;
45
53
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
46
54
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -48,7 +56,7 @@ export declare const actionChangeFillStyle: {
48
56
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
49
57
  isBindingEnabled: boolean;
50
58
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
51
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
59
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
52
60
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
53
61
  frameRendering: {
54
62
  enabled: boolean;
@@ -59,10 +67,10 @@ export declare const actionChangeFillStyle: {
59
67
  editingFrame: string | null;
60
68
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
61
69
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
62
- editingLinearElement: LinearElementEditor | null;
63
70
  activeTool: {
64
71
  lastActiveTool: import("../types").ActiveTool | null;
65
72
  locked: boolean;
73
+ fromSelection: boolean;
66
74
  } & import("../types").ActiveTool;
67
75
  penMode: boolean;
68
76
  penDetected: boolean;
@@ -95,7 +103,7 @@ export declare const actionChangeFillStyle: {
95
103
  zoom: Readonly<{
96
104
  value: import("../types").NormalizedZoomValue;
97
105
  }>;
98
- openMenu: "shape" | "canvas" | null;
106
+ openMenu: "canvas" | "shape" | null;
99
107
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
100
108
  openSidebar: {
101
109
  name: string;
@@ -105,7 +113,7 @@ export declare const actionChangeFillStyle: {
105
113
  name: "imageExport" | "help" | "jsonExport";
106
114
  } | {
107
115
  name: "ttd";
108
- tab: "text-to-diagram" | "mermaid";
116
+ tab: "mermaid" | "text-to-diagram";
109
117
  } | {
110
118
  name: "commandPalette";
111
119
  } | {
@@ -177,7 +185,6 @@ export declare const actionChangeFillStyle: {
177
185
  shown: true;
178
186
  data: import("../charts").Spreadsheet;
179
187
  };
180
- pendingImageElementId: string | null;
181
188
  showHyperlinkPopup: false | "editor" | "info";
182
189
  selectedLinearElement: LinearElementEditor | null;
183
190
  snapLines: readonly import("../snapping").SnapLine[];
@@ -190,20 +197,18 @@ export declare const actionChangeFillStyle: {
190
197
  followedBy: Set<import("../types").SocketId>;
191
198
  isCropping: boolean;
192
199
  croppingElementId: string | null;
193
- searchMatches: readonly {
194
- id: string;
195
- focus: boolean;
196
- matchedLines: {
197
- offsetX: number;
198
- offsetY: number;
199
- width: number;
200
- height: number;
201
- }[];
202
- }[];
200
+ searchMatches: Readonly<{
201
+ focusedId: string | null;
202
+ matches: readonly import("../types").SearchMatch[];
203
+ }> | null;
204
+ activeLockedId: string | null;
205
+ lockedMultiSelections: {
206
+ [groupId: string]: true;
207
+ };
203
208
  };
204
209
  captureUpdate: "IMMEDIATELY";
205
210
  };
206
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
211
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
207
212
  } & {
208
213
  keyTest?: undefined;
209
214
  };
@@ -225,7 +230,7 @@ export declare const actionChangeStrokeWidth: {
225
230
  errorMessage: import("react").ReactNode;
226
231
  activeEmbeddable: {
227
232
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
228
- state: "hover" | "active";
233
+ state: "active" | "hover";
229
234
  } | null;
230
235
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
231
236
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -233,7 +238,7 @@ export declare const actionChangeStrokeWidth: {
233
238
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
234
239
  isBindingEnabled: boolean;
235
240
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
236
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
241
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
237
242
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
238
243
  frameRendering: {
239
244
  enabled: boolean;
@@ -244,10 +249,10 @@ export declare const actionChangeStrokeWidth: {
244
249
  editingFrame: string | null;
245
250
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
246
251
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
247
- editingLinearElement: LinearElementEditor | null;
248
252
  activeTool: {
249
253
  lastActiveTool: import("../types").ActiveTool | null;
250
254
  locked: boolean;
255
+ fromSelection: boolean;
251
256
  } & import("../types").ActiveTool;
252
257
  penMode: boolean;
253
258
  penDetected: boolean;
@@ -280,7 +285,7 @@ export declare const actionChangeStrokeWidth: {
280
285
  zoom: Readonly<{
281
286
  value: import("../types").NormalizedZoomValue;
282
287
  }>;
283
- openMenu: "shape" | "canvas" | null;
288
+ openMenu: "canvas" | "shape" | null;
284
289
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
285
290
  openSidebar: {
286
291
  name: string;
@@ -290,7 +295,7 @@ export declare const actionChangeStrokeWidth: {
290
295
  name: "imageExport" | "help" | "jsonExport";
291
296
  } | {
292
297
  name: "ttd";
293
- tab: "text-to-diagram" | "mermaid";
298
+ tab: "mermaid" | "text-to-diagram";
294
299
  } | {
295
300
  name: "commandPalette";
296
301
  } | {
@@ -362,7 +367,6 @@ export declare const actionChangeStrokeWidth: {
362
367
  shown: true;
363
368
  data: import("../charts").Spreadsheet;
364
369
  };
365
- pendingImageElementId: string | null;
366
370
  showHyperlinkPopup: false | "editor" | "info";
367
371
  selectedLinearElement: LinearElementEditor | null;
368
372
  snapLines: readonly import("../snapping").SnapLine[];
@@ -375,20 +379,18 @@ export declare const actionChangeStrokeWidth: {
375
379
  followedBy: Set<import("../types").SocketId>;
376
380
  isCropping: boolean;
377
381
  croppingElementId: string | null;
378
- searchMatches: readonly {
379
- id: string;
380
- focus: boolean;
381
- matchedLines: {
382
- offsetX: number;
383
- offsetY: number;
384
- width: number;
385
- height: number;
386
- }[];
387
- }[];
382
+ searchMatches: Readonly<{
383
+ focusedId: string | null;
384
+ matches: readonly import("../types").SearchMatch[];
385
+ }> | null;
386
+ activeLockedId: string | null;
387
+ lockedMultiSelections: {
388
+ [groupId: string]: true;
389
+ };
388
390
  };
389
391
  captureUpdate: "IMMEDIATELY";
390
392
  };
391
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
393
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
392
394
  } & {
393
395
  keyTest?: undefined;
394
396
  };
@@ -410,7 +412,7 @@ export declare const actionChangeSloppiness: {
410
412
  errorMessage: import("react").ReactNode;
411
413
  activeEmbeddable: {
412
414
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
413
- state: "hover" | "active";
415
+ state: "active" | "hover";
414
416
  } | null;
415
417
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
416
418
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -418,7 +420,7 @@ export declare const actionChangeSloppiness: {
418
420
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
419
421
  isBindingEnabled: boolean;
420
422
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
421
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
423
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
422
424
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
423
425
  frameRendering: {
424
426
  enabled: boolean;
@@ -429,10 +431,10 @@ export declare const actionChangeSloppiness: {
429
431
  editingFrame: string | null;
430
432
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
431
433
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
432
- editingLinearElement: LinearElementEditor | null;
433
434
  activeTool: {
434
435
  lastActiveTool: import("../types").ActiveTool | null;
435
436
  locked: boolean;
437
+ fromSelection: boolean;
436
438
  } & import("../types").ActiveTool;
437
439
  penMode: boolean;
438
440
  penDetected: boolean;
@@ -465,7 +467,7 @@ export declare const actionChangeSloppiness: {
465
467
  zoom: Readonly<{
466
468
  value: import("../types").NormalizedZoomValue;
467
469
  }>;
468
- openMenu: "shape" | "canvas" | null;
470
+ openMenu: "canvas" | "shape" | null;
469
471
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
470
472
  openSidebar: {
471
473
  name: string;
@@ -475,7 +477,7 @@ export declare const actionChangeSloppiness: {
475
477
  name: "imageExport" | "help" | "jsonExport";
476
478
  } | {
477
479
  name: "ttd";
478
- tab: "text-to-diagram" | "mermaid";
480
+ tab: "mermaid" | "text-to-diagram";
479
481
  } | {
480
482
  name: "commandPalette";
481
483
  } | {
@@ -547,7 +549,6 @@ export declare const actionChangeSloppiness: {
547
549
  shown: true;
548
550
  data: import("../charts").Spreadsheet;
549
551
  };
550
- pendingImageElementId: string | null;
551
552
  showHyperlinkPopup: false | "editor" | "info";
552
553
  selectedLinearElement: LinearElementEditor | null;
553
554
  snapLines: readonly import("../snapping").SnapLine[];
@@ -560,20 +561,18 @@ export declare const actionChangeSloppiness: {
560
561
  followedBy: Set<import("../types").SocketId>;
561
562
  isCropping: boolean;
562
563
  croppingElementId: string | null;
563
- searchMatches: readonly {
564
- id: string;
565
- focus: boolean;
566
- matchedLines: {
567
- offsetX: number;
568
- offsetY: number;
569
- width: number;
570
- height: number;
571
- }[];
572
- }[];
564
+ searchMatches: Readonly<{
565
+ focusedId: string | null;
566
+ matches: readonly import("../types").SearchMatch[];
567
+ }> | null;
568
+ activeLockedId: string | null;
569
+ lockedMultiSelections: {
570
+ [groupId: string]: true;
571
+ };
573
572
  };
574
573
  captureUpdate: "IMMEDIATELY";
575
574
  };
576
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
575
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
577
576
  } & {
578
577
  keyTest?: undefined;
579
578
  };
@@ -595,7 +594,7 @@ export declare const actionChangeStrokeStyle: {
595
594
  errorMessage: import("react").ReactNode;
596
595
  activeEmbeddable: {
597
596
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
598
- state: "hover" | "active";
597
+ state: "active" | "hover";
599
598
  } | null;
600
599
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
601
600
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -603,7 +602,7 @@ export declare const actionChangeStrokeStyle: {
603
602
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
604
603
  isBindingEnabled: boolean;
605
604
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
606
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
605
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
607
606
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
608
607
  frameRendering: {
609
608
  enabled: boolean;
@@ -614,10 +613,10 @@ export declare const actionChangeStrokeStyle: {
614
613
  editingFrame: string | null;
615
614
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
616
615
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
617
- editingLinearElement: LinearElementEditor | null;
618
616
  activeTool: {
619
617
  lastActiveTool: import("../types").ActiveTool | null;
620
618
  locked: boolean;
619
+ fromSelection: boolean;
621
620
  } & import("../types").ActiveTool;
622
621
  penMode: boolean;
623
622
  penDetected: boolean;
@@ -650,7 +649,7 @@ export declare const actionChangeStrokeStyle: {
650
649
  zoom: Readonly<{
651
650
  value: import("../types").NormalizedZoomValue;
652
651
  }>;
653
- openMenu: "shape" | "canvas" | null;
652
+ openMenu: "canvas" | "shape" | null;
654
653
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
655
654
  openSidebar: {
656
655
  name: string;
@@ -660,7 +659,7 @@ export declare const actionChangeStrokeStyle: {
660
659
  name: "imageExport" | "help" | "jsonExport";
661
660
  } | {
662
661
  name: "ttd";
663
- tab: "text-to-diagram" | "mermaid";
662
+ tab: "mermaid" | "text-to-diagram";
664
663
  } | {
665
664
  name: "commandPalette";
666
665
  } | {
@@ -732,7 +731,6 @@ export declare const actionChangeStrokeStyle: {
732
731
  shown: true;
733
732
  data: import("../charts").Spreadsheet;
734
733
  };
735
- pendingImageElementId: string | null;
736
734
  showHyperlinkPopup: false | "editor" | "info";
737
735
  selectedLinearElement: LinearElementEditor | null;
738
736
  snapLines: readonly import("../snapping").SnapLine[];
@@ -745,20 +743,18 @@ export declare const actionChangeStrokeStyle: {
745
743
  followedBy: Set<import("../types").SocketId>;
746
744
  isCropping: boolean;
747
745
  croppingElementId: string | null;
748
- searchMatches: readonly {
749
- id: string;
750
- focus: boolean;
751
- matchedLines: {
752
- offsetX: number;
753
- offsetY: number;
754
- width: number;
755
- height: number;
756
- }[];
757
- }[];
746
+ searchMatches: Readonly<{
747
+ focusedId: string | null;
748
+ matches: readonly import("../types").SearchMatch[];
749
+ }> | null;
750
+ activeLockedId: string | null;
751
+ lockedMultiSelections: {
752
+ [groupId: string]: true;
753
+ };
758
754
  };
759
755
  captureUpdate: "IMMEDIATELY";
760
756
  };
761
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
757
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
762
758
  } & {
763
759
  keyTest?: undefined;
764
760
  };
@@ -780,7 +776,7 @@ export declare const actionChangeOpacity: {
780
776
  errorMessage: import("react").ReactNode;
781
777
  activeEmbeddable: {
782
778
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
783
- state: "hover" | "active";
779
+ state: "active" | "hover";
784
780
  } | null;
785
781
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
786
782
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -788,7 +784,7 @@ export declare const actionChangeOpacity: {
788
784
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
789
785
  isBindingEnabled: boolean;
790
786
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
791
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
787
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
792
788
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
793
789
  frameRendering: {
794
790
  enabled: boolean;
@@ -799,10 +795,10 @@ export declare const actionChangeOpacity: {
799
795
  editingFrame: string | null;
800
796
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
801
797
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
802
- editingLinearElement: LinearElementEditor | null;
803
798
  activeTool: {
804
799
  lastActiveTool: import("../types").ActiveTool | null;
805
800
  locked: boolean;
801
+ fromSelection: boolean;
806
802
  } & import("../types").ActiveTool;
807
803
  penMode: boolean;
808
804
  penDetected: boolean;
@@ -835,7 +831,7 @@ export declare const actionChangeOpacity: {
835
831
  zoom: Readonly<{
836
832
  value: import("../types").NormalizedZoomValue;
837
833
  }>;
838
- openMenu: "shape" | "canvas" | null;
834
+ openMenu: "canvas" | "shape" | null;
839
835
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
840
836
  openSidebar: {
841
837
  name: string;
@@ -845,7 +841,7 @@ export declare const actionChangeOpacity: {
845
841
  name: "imageExport" | "help" | "jsonExport";
846
842
  } | {
847
843
  name: "ttd";
848
- tab: "text-to-diagram" | "mermaid";
844
+ tab: "mermaid" | "text-to-diagram";
849
845
  } | {
850
846
  name: "commandPalette";
851
847
  } | {
@@ -917,7 +913,6 @@ export declare const actionChangeOpacity: {
917
913
  shown: true;
918
914
  data: import("../charts").Spreadsheet;
919
915
  };
920
- pendingImageElementId: string | null;
921
916
  showHyperlinkPopup: false | "editor" | "info";
922
917
  selectedLinearElement: LinearElementEditor | null;
923
918
  snapLines: readonly import("../snapping").SnapLine[];
@@ -930,20 +925,18 @@ export declare const actionChangeOpacity: {
930
925
  followedBy: Set<import("../types").SocketId>;
931
926
  isCropping: boolean;
932
927
  croppingElementId: string | null;
933
- searchMatches: readonly {
934
- id: string;
935
- focus: boolean;
936
- matchedLines: {
937
- offsetX: number;
938
- offsetY: number;
939
- width: number;
940
- height: number;
941
- }[];
942
- }[];
928
+ searchMatches: Readonly<{
929
+ focusedId: string | null;
930
+ matches: readonly import("../types").SearchMatch[];
931
+ }> | null;
932
+ activeLockedId: string | null;
933
+ lockedMultiSelections: {
934
+ [groupId: string]: true;
935
+ };
943
936
  };
944
937
  captureUpdate: "IMMEDIATELY";
945
938
  };
946
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
939
+ PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
947
940
  } & {
948
941
  keyTest?: undefined;
949
942
  };
@@ -965,7 +958,7 @@ export declare const actionChangeFontSize: {
965
958
  errorMessage: import("react").ReactNode;
966
959
  activeEmbeddable: {
967
960
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
968
- state: "hover" | "active";
961
+ state: "active" | "hover";
969
962
  } | null;
970
963
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
971
964
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -973,7 +966,7 @@ export declare const actionChangeFontSize: {
973
966
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
974
967
  isBindingEnabled: boolean;
975
968
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
976
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
969
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
977
970
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
978
971
  frameRendering: {
979
972
  enabled: boolean;
@@ -984,10 +977,10 @@ export declare const actionChangeFontSize: {
984
977
  editingFrame: string | null;
985
978
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
986
979
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
987
- editingLinearElement: LinearElementEditor | null;
988
980
  activeTool: {
989
981
  lastActiveTool: import("../types").ActiveTool | null;
990
982
  locked: boolean;
983
+ fromSelection: boolean;
991
984
  } & import("../types").ActiveTool;
992
985
  penMode: boolean;
993
986
  penDetected: boolean;
@@ -1020,7 +1013,7 @@ export declare const actionChangeFontSize: {
1020
1013
  zoom: Readonly<{
1021
1014
  value: import("../types").NormalizedZoomValue;
1022
1015
  }>;
1023
- openMenu: "shape" | "canvas" | null;
1016
+ openMenu: "canvas" | "shape" | null;
1024
1017
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1025
1018
  openSidebar: {
1026
1019
  name: string;
@@ -1030,7 +1023,7 @@ export declare const actionChangeFontSize: {
1030
1023
  name: "imageExport" | "help" | "jsonExport";
1031
1024
  } | {
1032
1025
  name: "ttd";
1033
- tab: "text-to-diagram" | "mermaid";
1026
+ tab: "mermaid" | "text-to-diagram";
1034
1027
  } | {
1035
1028
  name: "commandPalette";
1036
1029
  } | {
@@ -1102,7 +1095,6 @@ export declare const actionChangeFontSize: {
1102
1095
  shown: true;
1103
1096
  data: import("../charts").Spreadsheet;
1104
1097
  };
1105
- pendingImageElementId: string | null;
1106
1098
  showHyperlinkPopup: false | "editor" | "info";
1107
1099
  selectedLinearElement: LinearElementEditor | null;
1108
1100
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1115,16 +1107,14 @@ export declare const actionChangeFontSize: {
1115
1107
  followedBy: Set<import("../types").SocketId>;
1116
1108
  isCropping: boolean;
1117
1109
  croppingElementId: string | null;
1118
- searchMatches: readonly {
1119
- id: string;
1120
- focus: boolean;
1121
- matchedLines: {
1122
- offsetX: number;
1123
- offsetY: number;
1124
- width: number;
1125
- height: number;
1126
- }[];
1127
- }[];
1110
+ searchMatches: Readonly<{
1111
+ focusedId: string | null;
1112
+ matches: readonly import("../types").SearchMatch[];
1113
+ }> | null;
1114
+ activeLockedId: string | null;
1115
+ lockedMultiSelections: {
1116
+ [groupId: string]: true;
1117
+ };
1128
1118
  };
1129
1119
  captureUpdate: "IMMEDIATELY";
1130
1120
  };
@@ -1151,7 +1141,7 @@ export declare const actionDecreaseFontSize: {
1151
1141
  errorMessage: import("react").ReactNode;
1152
1142
  activeEmbeddable: {
1153
1143
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1154
- state: "hover" | "active";
1144
+ state: "active" | "hover";
1155
1145
  } | null;
1156
1146
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1157
1147
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1159,7 +1149,7 @@ export declare const actionDecreaseFontSize: {
1159
1149
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1160
1150
  isBindingEnabled: boolean;
1161
1151
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1162
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1152
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1163
1153
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1164
1154
  frameRendering: {
1165
1155
  enabled: boolean;
@@ -1170,10 +1160,10 @@ export declare const actionDecreaseFontSize: {
1170
1160
  editingFrame: string | null;
1171
1161
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1172
1162
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1173
- editingLinearElement: LinearElementEditor | null;
1174
1163
  activeTool: {
1175
1164
  lastActiveTool: import("../types").ActiveTool | null;
1176
1165
  locked: boolean;
1166
+ fromSelection: boolean;
1177
1167
  } & import("../types").ActiveTool;
1178
1168
  penMode: boolean;
1179
1169
  penDetected: boolean;
@@ -1206,7 +1196,7 @@ export declare const actionDecreaseFontSize: {
1206
1196
  zoom: Readonly<{
1207
1197
  value: import("../types").NormalizedZoomValue;
1208
1198
  }>;
1209
- openMenu: "shape" | "canvas" | null;
1199
+ openMenu: "canvas" | "shape" | null;
1210
1200
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1211
1201
  openSidebar: {
1212
1202
  name: string;
@@ -1216,7 +1206,7 @@ export declare const actionDecreaseFontSize: {
1216
1206
  name: "imageExport" | "help" | "jsonExport";
1217
1207
  } | {
1218
1208
  name: "ttd";
1219
- tab: "text-to-diagram" | "mermaid";
1209
+ tab: "mermaid" | "text-to-diagram";
1220
1210
  } | {
1221
1211
  name: "commandPalette";
1222
1212
  } | {
@@ -1288,7 +1278,6 @@ export declare const actionDecreaseFontSize: {
1288
1278
  shown: true;
1289
1279
  data: import("../charts").Spreadsheet;
1290
1280
  };
1291
- pendingImageElementId: string | null;
1292
1281
  showHyperlinkPopup: false | "editor" | "info";
1293
1282
  selectedLinearElement: LinearElementEditor | null;
1294
1283
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1301,16 +1290,14 @@ export declare const actionDecreaseFontSize: {
1301
1290
  followedBy: Set<import("../types").SocketId>;
1302
1291
  isCropping: boolean;
1303
1292
  croppingElementId: string | null;
1304
- searchMatches: readonly {
1305
- id: string;
1306
- focus: boolean;
1307
- matchedLines: {
1308
- offsetX: number;
1309
- offsetY: number;
1310
- width: number;
1311
- height: number;
1312
- }[];
1313
- }[];
1293
+ searchMatches: Readonly<{
1294
+ focusedId: string | null;
1295
+ matches: readonly import("../types").SearchMatch[];
1296
+ }> | null;
1297
+ activeLockedId: string | null;
1298
+ lockedMultiSelections: {
1299
+ [groupId: string]: true;
1300
+ };
1314
1301
  };
1315
1302
  captureUpdate: "IMMEDIATELY";
1316
1303
  };
@@ -1337,7 +1324,7 @@ export declare const actionIncreaseFontSize: {
1337
1324
  errorMessage: import("react").ReactNode;
1338
1325
  activeEmbeddable: {
1339
1326
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1340
- state: "hover" | "active";
1327
+ state: "active" | "hover";
1341
1328
  } | null;
1342
1329
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1343
1330
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1345,7 +1332,7 @@ export declare const actionIncreaseFontSize: {
1345
1332
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1346
1333
  isBindingEnabled: boolean;
1347
1334
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1348
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1335
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1349
1336
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1350
1337
  frameRendering: {
1351
1338
  enabled: boolean;
@@ -1356,10 +1343,10 @@ export declare const actionIncreaseFontSize: {
1356
1343
  editingFrame: string | null;
1357
1344
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1358
1345
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1359
- editingLinearElement: LinearElementEditor | null;
1360
1346
  activeTool: {
1361
1347
  lastActiveTool: import("../types").ActiveTool | null;
1362
1348
  locked: boolean;
1349
+ fromSelection: boolean;
1363
1350
  } & import("../types").ActiveTool;
1364
1351
  penMode: boolean;
1365
1352
  penDetected: boolean;
@@ -1392,7 +1379,7 @@ export declare const actionIncreaseFontSize: {
1392
1379
  zoom: Readonly<{
1393
1380
  value: import("../types").NormalizedZoomValue;
1394
1381
  }>;
1395
- openMenu: "shape" | "canvas" | null;
1382
+ openMenu: "canvas" | "shape" | null;
1396
1383
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1397
1384
  openSidebar: {
1398
1385
  name: string;
@@ -1402,7 +1389,7 @@ export declare const actionIncreaseFontSize: {
1402
1389
  name: "imageExport" | "help" | "jsonExport";
1403
1390
  } | {
1404
1391
  name: "ttd";
1405
- tab: "text-to-diagram" | "mermaid";
1392
+ tab: "mermaid" | "text-to-diagram";
1406
1393
  } | {
1407
1394
  name: "commandPalette";
1408
1395
  } | {
@@ -1474,7 +1461,6 @@ export declare const actionIncreaseFontSize: {
1474
1461
  shown: true;
1475
1462
  data: import("../charts").Spreadsheet;
1476
1463
  };
1477
- pendingImageElementId: string | null;
1478
1464
  showHyperlinkPopup: false | "editor" | "info";
1479
1465
  selectedLinearElement: LinearElementEditor | null;
1480
1466
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1487,16 +1473,14 @@ export declare const actionIncreaseFontSize: {
1487
1473
  followedBy: Set<import("../types").SocketId>;
1488
1474
  isCropping: boolean;
1489
1475
  croppingElementId: string | null;
1490
- searchMatches: readonly {
1491
- id: string;
1492
- focus: boolean;
1493
- matchedLines: {
1494
- offsetX: number;
1495
- offsetY: number;
1496
- width: number;
1497
- height: number;
1498
- }[];
1499
- }[];
1476
+ searchMatches: Readonly<{
1477
+ focusedId: string | null;
1478
+ matches: readonly import("../types").SearchMatch[];
1479
+ }> | null;
1480
+ activeLockedId: string | null;
1481
+ lockedMultiSelections: {
1482
+ [groupId: string]: true;
1483
+ };
1500
1484
  };
1501
1485
  captureUpdate: "IMMEDIATELY";
1502
1486
  };
@@ -1510,8 +1494,8 @@ export declare const actionChangeFontFamily: {
1510
1494
  trackEvent: false;
1511
1495
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
1512
1496
  appState: {
1513
- currentHoveredFontFamily: number | null;
1514
1497
  currentItemFontFamily: number;
1498
+ currentHoveredFontFamily: number | null;
1515
1499
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1516
1500
  contextMenu: {
1517
1501
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -1523,7 +1507,7 @@ export declare const actionChangeFontFamily: {
1523
1507
  errorMessage: import("react").ReactNode;
1524
1508
  activeEmbeddable: {
1525
1509
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1526
- state: "hover" | "active";
1510
+ state: "active" | "hover";
1527
1511
  } | null;
1528
1512
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1529
1513
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1531,7 +1515,7 @@ export declare const actionChangeFontFamily: {
1531
1515
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1532
1516
  isBindingEnabled: boolean;
1533
1517
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1534
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1518
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1535
1519
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1536
1520
  frameRendering: {
1537
1521
  enabled: boolean;
@@ -1542,10 +1526,10 @@ export declare const actionChangeFontFamily: {
1542
1526
  editingFrame: string | null;
1543
1527
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1544
1528
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1545
- editingLinearElement: LinearElementEditor | null;
1546
1529
  activeTool: {
1547
1530
  lastActiveTool: import("../types").ActiveTool | null;
1548
1531
  locked: boolean;
1532
+ fromSelection: boolean;
1549
1533
  } & import("../types").ActiveTool;
1550
1534
  penMode: boolean;
1551
1535
  penDetected: boolean;
@@ -1577,7 +1561,7 @@ export declare const actionChangeFontFamily: {
1577
1561
  zoom: Readonly<{
1578
1562
  value: import("../types").NormalizedZoomValue;
1579
1563
  }>;
1580
- openMenu: "shape" | "canvas" | null;
1564
+ openMenu: "canvas" | "shape" | null;
1581
1565
  openSidebar: {
1582
1566
  name: string;
1583
1567
  tab?: string | undefined;
@@ -1586,7 +1570,7 @@ export declare const actionChangeFontFamily: {
1586
1570
  name: "imageExport" | "help" | "jsonExport";
1587
1571
  } | {
1588
1572
  name: "ttd";
1589
- tab: "text-to-diagram" | "mermaid";
1573
+ tab: "mermaid" | "text-to-diagram";
1590
1574
  } | {
1591
1575
  name: "commandPalette";
1592
1576
  } | {
@@ -1658,7 +1642,6 @@ export declare const actionChangeFontFamily: {
1658
1642
  shown: true;
1659
1643
  data: import("../charts").Spreadsheet;
1660
1644
  };
1661
- pendingImageElementId: string | null;
1662
1645
  showHyperlinkPopup: false | "editor" | "info";
1663
1646
  selectedLinearElement: LinearElementEditor | null;
1664
1647
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1671,23 +1654,21 @@ export declare const actionChangeFontFamily: {
1671
1654
  followedBy: Set<import("../types").SocketId>;
1672
1655
  isCropping: boolean;
1673
1656
  croppingElementId: string | null;
1674
- searchMatches: readonly {
1675
- id: string;
1676
- focus: boolean;
1677
- matchedLines: {
1678
- offsetX: number;
1679
- offsetY: number;
1680
- width: number;
1681
- height: number;
1682
- }[];
1683
- }[];
1657
+ searchMatches: Readonly<{
1658
+ focusedId: string | null;
1659
+ matches: readonly import("../types").SearchMatch[];
1660
+ }> | null;
1661
+ activeLockedId: string | null;
1662
+ lockedMultiSelections: {
1663
+ [groupId: string]: true;
1664
+ };
1684
1665
  };
1685
1666
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1686
1667
  } | {
1687
1668
  elements: ExcalidrawElement[];
1688
1669
  appState: {
1689
- currentHoveredFontFamily: number | null;
1690
1670
  currentItemFontFamily: number;
1671
+ currentHoveredFontFamily: number | null;
1691
1672
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1692
1673
  contextMenu: {
1693
1674
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -1699,7 +1680,7 @@ export declare const actionChangeFontFamily: {
1699
1680
  errorMessage: import("react").ReactNode;
1700
1681
  activeEmbeddable: {
1701
1682
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1702
- state: "hover" | "active";
1683
+ state: "active" | "hover";
1703
1684
  } | null;
1704
1685
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1705
1686
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1707,7 +1688,7 @@ export declare const actionChangeFontFamily: {
1707
1688
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1708
1689
  isBindingEnabled: boolean;
1709
1690
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1710
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1691
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1711
1692
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1712
1693
  frameRendering: {
1713
1694
  enabled: boolean;
@@ -1718,10 +1699,10 @@ export declare const actionChangeFontFamily: {
1718
1699
  editingFrame: string | null;
1719
1700
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1720
1701
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1721
- editingLinearElement: LinearElementEditor | null;
1722
1702
  activeTool: {
1723
1703
  lastActiveTool: import("../types").ActiveTool | null;
1724
1704
  locked: boolean;
1705
+ fromSelection: boolean;
1725
1706
  } & import("../types").ActiveTool;
1726
1707
  penMode: boolean;
1727
1708
  penDetected: boolean;
@@ -1753,7 +1734,7 @@ export declare const actionChangeFontFamily: {
1753
1734
  zoom: Readonly<{
1754
1735
  value: import("../types").NormalizedZoomValue;
1755
1736
  }>;
1756
- openMenu: "shape" | "canvas" | null;
1737
+ openMenu: "canvas" | "shape" | null;
1757
1738
  openSidebar: {
1758
1739
  name: string;
1759
1740
  tab?: string | undefined;
@@ -1762,7 +1743,7 @@ export declare const actionChangeFontFamily: {
1762
1743
  name: "imageExport" | "help" | "jsonExport";
1763
1744
  } | {
1764
1745
  name: "ttd";
1765
- tab: "text-to-diagram" | "mermaid";
1746
+ tab: "mermaid" | "text-to-diagram";
1766
1747
  } | {
1767
1748
  name: "commandPalette";
1768
1749
  } | {
@@ -1834,7 +1815,6 @@ export declare const actionChangeFontFamily: {
1834
1815
  shown: true;
1835
1816
  data: import("../charts").Spreadsheet;
1836
1817
  };
1837
- pendingImageElementId: string | null;
1838
1818
  showHyperlinkPopup: false | "editor" | "info";
1839
1819
  selectedLinearElement: LinearElementEditor | null;
1840
1820
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1847,16 +1827,14 @@ export declare const actionChangeFontFamily: {
1847
1827
  followedBy: Set<import("../types").SocketId>;
1848
1828
  isCropping: boolean;
1849
1829
  croppingElementId: string | null;
1850
- searchMatches: readonly {
1851
- id: string;
1852
- focus: boolean;
1853
- matchedLines: {
1854
- offsetX: number;
1855
- offsetY: number;
1856
- width: number;
1857
- height: number;
1858
- }[];
1859
- }[];
1830
+ searchMatches: Readonly<{
1831
+ focusedId: string | null;
1832
+ matches: readonly import("../types").SearchMatch[];
1833
+ }> | null;
1834
+ activeLockedId: string | null;
1835
+ lockedMultiSelections: {
1836
+ [groupId: string]: true;
1837
+ };
1860
1838
  };
1861
1839
  captureUpdate: "NEVER";
1862
1840
  };
@@ -1882,7 +1860,7 @@ export declare const actionChangeTextAlign: {
1882
1860
  errorMessage: import("react").ReactNode;
1883
1861
  activeEmbeddable: {
1884
1862
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1885
- state: "hover" | "active";
1863
+ state: "active" | "hover";
1886
1864
  } | null;
1887
1865
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1888
1866
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1890,7 +1868,7 @@ export declare const actionChangeTextAlign: {
1890
1868
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1891
1869
  isBindingEnabled: boolean;
1892
1870
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1893
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1871
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1894
1872
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1895
1873
  frameRendering: {
1896
1874
  enabled: boolean;
@@ -1901,10 +1879,10 @@ export declare const actionChangeTextAlign: {
1901
1879
  editingFrame: string | null;
1902
1880
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1903
1881
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1904
- editingLinearElement: LinearElementEditor | null;
1905
1882
  activeTool: {
1906
1883
  lastActiveTool: import("../types").ActiveTool | null;
1907
1884
  locked: boolean;
1885
+ fromSelection: boolean;
1908
1886
  } & import("../types").ActiveTool;
1909
1887
  penMode: boolean;
1910
1888
  penDetected: boolean;
@@ -1937,7 +1915,7 @@ export declare const actionChangeTextAlign: {
1937
1915
  zoom: Readonly<{
1938
1916
  value: import("../types").NormalizedZoomValue;
1939
1917
  }>;
1940
- openMenu: "shape" | "canvas" | null;
1918
+ openMenu: "canvas" | "shape" | null;
1941
1919
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1942
1920
  openSidebar: {
1943
1921
  name: string;
@@ -1947,7 +1925,7 @@ export declare const actionChangeTextAlign: {
1947
1925
  name: "imageExport" | "help" | "jsonExport";
1948
1926
  } | {
1949
1927
  name: "ttd";
1950
- tab: "text-to-diagram" | "mermaid";
1928
+ tab: "mermaid" | "text-to-diagram";
1951
1929
  } | {
1952
1930
  name: "commandPalette";
1953
1931
  } | {
@@ -2019,7 +1997,6 @@ export declare const actionChangeTextAlign: {
2019
1997
  shown: true;
2020
1998
  data: import("../charts").Spreadsheet;
2021
1999
  };
2022
- pendingImageElementId: string | null;
2023
2000
  showHyperlinkPopup: false | "editor" | "info";
2024
2001
  selectedLinearElement: LinearElementEditor | null;
2025
2002
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2032,16 +2009,14 @@ export declare const actionChangeTextAlign: {
2032
2009
  followedBy: Set<import("../types").SocketId>;
2033
2010
  isCropping: boolean;
2034
2011
  croppingElementId: string | null;
2035
- searchMatches: readonly {
2036
- id: string;
2037
- focus: boolean;
2038
- matchedLines: {
2039
- offsetX: number;
2040
- offsetY: number;
2041
- width: number;
2042
- height: number;
2043
- }[];
2044
- }[];
2012
+ searchMatches: Readonly<{
2013
+ focusedId: string | null;
2014
+ matches: readonly import("../types").SearchMatch[];
2015
+ }> | null;
2016
+ activeLockedId: string | null;
2017
+ lockedMultiSelections: {
2018
+ [groupId: string]: true;
2019
+ };
2045
2020
  };
2046
2021
  captureUpdate: "IMMEDIATELY";
2047
2022
  };
@@ -2068,7 +2043,7 @@ export declare const actionChangeVerticalAlign: {
2068
2043
  errorMessage: import("react").ReactNode;
2069
2044
  activeEmbeddable: {
2070
2045
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2071
- state: "hover" | "active";
2046
+ state: "active" | "hover";
2072
2047
  } | null;
2073
2048
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2074
2049
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2076,7 +2051,7 @@ export declare const actionChangeVerticalAlign: {
2076
2051
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2077
2052
  isBindingEnabled: boolean;
2078
2053
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2079
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2054
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2080
2055
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2081
2056
  frameRendering: {
2082
2057
  enabled: boolean;
@@ -2087,10 +2062,10 @@ export declare const actionChangeVerticalAlign: {
2087
2062
  editingFrame: string | null;
2088
2063
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2089
2064
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2090
- editingLinearElement: LinearElementEditor | null;
2091
2065
  activeTool: {
2092
2066
  lastActiveTool: import("../types").ActiveTool | null;
2093
2067
  locked: boolean;
2068
+ fromSelection: boolean;
2094
2069
  } & import("../types").ActiveTool;
2095
2070
  penMode: boolean;
2096
2071
  penDetected: boolean;
@@ -2124,7 +2099,7 @@ export declare const actionChangeVerticalAlign: {
2124
2099
  zoom: Readonly<{
2125
2100
  value: import("../types").NormalizedZoomValue;
2126
2101
  }>;
2127
- openMenu: "shape" | "canvas" | null;
2102
+ openMenu: "canvas" | "shape" | null;
2128
2103
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2129
2104
  openSidebar: {
2130
2105
  name: string;
@@ -2134,7 +2109,7 @@ export declare const actionChangeVerticalAlign: {
2134
2109
  name: "imageExport" | "help" | "jsonExport";
2135
2110
  } | {
2136
2111
  name: "ttd";
2137
- tab: "text-to-diagram" | "mermaid";
2112
+ tab: "mermaid" | "text-to-diagram";
2138
2113
  } | {
2139
2114
  name: "commandPalette";
2140
2115
  } | {
@@ -2206,7 +2181,6 @@ export declare const actionChangeVerticalAlign: {
2206
2181
  shown: true;
2207
2182
  data: import("../charts").Spreadsheet;
2208
2183
  };
2209
- pendingImageElementId: string | null;
2210
2184
  showHyperlinkPopup: false | "editor" | "info";
2211
2185
  selectedLinearElement: LinearElementEditor | null;
2212
2186
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2219,16 +2193,14 @@ export declare const actionChangeVerticalAlign: {
2219
2193
  followedBy: Set<import("../types").SocketId>;
2220
2194
  isCropping: boolean;
2221
2195
  croppingElementId: string | null;
2222
- searchMatches: readonly {
2223
- id: string;
2224
- focus: boolean;
2225
- matchedLines: {
2226
- offsetX: number;
2227
- offsetY: number;
2228
- width: number;
2229
- height: number;
2230
- }[];
2231
- }[];
2196
+ searchMatches: Readonly<{
2197
+ focusedId: string | null;
2198
+ matches: readonly import("../types").SearchMatch[];
2199
+ }> | null;
2200
+ activeLockedId: string | null;
2201
+ lockedMultiSelections: {
2202
+ [groupId: string]: true;
2203
+ };
2232
2204
  };
2233
2205
  captureUpdate: "IMMEDIATELY";
2234
2206
  };
@@ -2254,7 +2226,7 @@ export declare const actionChangeRoundness: {
2254
2226
  errorMessage: import("react").ReactNode;
2255
2227
  activeEmbeddable: {
2256
2228
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2257
- state: "hover" | "active";
2229
+ state: "active" | "hover";
2258
2230
  } | null;
2259
2231
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2260
2232
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2262,7 +2234,7 @@ export declare const actionChangeRoundness: {
2262
2234
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2263
2235
  isBindingEnabled: boolean;
2264
2236
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2265
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2237
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2266
2238
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2267
2239
  frameRendering: {
2268
2240
  enabled: boolean;
@@ -2273,10 +2245,10 @@ export declare const actionChangeRoundness: {
2273
2245
  editingFrame: string | null;
2274
2246
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2275
2247
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2276
- editingLinearElement: LinearElementEditor | null;
2277
2248
  activeTool: {
2278
2249
  lastActiveTool: import("../types").ActiveTool | null;
2279
2250
  locked: boolean;
2251
+ fromSelection: boolean;
2280
2252
  } & import("../types").ActiveTool;
2281
2253
  penMode: boolean;
2282
2254
  penDetected: boolean;
@@ -2309,7 +2281,7 @@ export declare const actionChangeRoundness: {
2309
2281
  zoom: Readonly<{
2310
2282
  value: import("../types").NormalizedZoomValue;
2311
2283
  }>;
2312
- openMenu: "shape" | "canvas" | null;
2284
+ openMenu: "canvas" | "shape" | null;
2313
2285
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2314
2286
  openSidebar: {
2315
2287
  name: string;
@@ -2319,7 +2291,7 @@ export declare const actionChangeRoundness: {
2319
2291
  name: "imageExport" | "help" | "jsonExport";
2320
2292
  } | {
2321
2293
  name: "ttd";
2322
- tab: "text-to-diagram" | "mermaid";
2294
+ tab: "mermaid" | "text-to-diagram";
2323
2295
  } | {
2324
2296
  name: "commandPalette";
2325
2297
  } | {
@@ -2391,7 +2363,6 @@ export declare const actionChangeRoundness: {
2391
2363
  shown: true;
2392
2364
  data: import("../charts").Spreadsheet;
2393
2365
  };
2394
- pendingImageElementId: string | null;
2395
2366
  showHyperlinkPopup: false | "editor" | "info";
2396
2367
  selectedLinearElement: LinearElementEditor | null;
2397
2368
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2404,20 +2375,18 @@ export declare const actionChangeRoundness: {
2404
2375
  followedBy: Set<import("../types").SocketId>;
2405
2376
  isCropping: boolean;
2406
2377
  croppingElementId: string | null;
2407
- searchMatches: readonly {
2408
- id: string;
2409
- focus: boolean;
2410
- matchedLines: {
2411
- offsetX: number;
2412
- offsetY: number;
2413
- width: number;
2414
- height: number;
2415
- }[];
2416
- }[];
2378
+ searchMatches: Readonly<{
2379
+ focusedId: string | null;
2380
+ matches: readonly import("../types").SearchMatch[];
2381
+ }> | null;
2382
+ activeLockedId: string | null;
2383
+ lockedMultiSelections: {
2384
+ [groupId: string]: true;
2385
+ };
2417
2386
  };
2418
2387
  captureUpdate: "IMMEDIATELY";
2419
2388
  };
2420
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2389
+ PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2421
2390
  } & {
2422
2391
  keyTest?: undefined;
2423
2392
  };
@@ -2441,7 +2410,7 @@ export declare const actionChangeArrowhead: {
2441
2410
  errorMessage: import("react").ReactNode;
2442
2411
  activeEmbeddable: {
2443
2412
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2444
- state: "hover" | "active";
2413
+ state: "active" | "hover";
2445
2414
  } | null;
2446
2415
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2447
2416
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2449,7 +2418,7 @@ export declare const actionChangeArrowhead: {
2449
2418
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2450
2419
  isBindingEnabled: boolean;
2451
2420
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2452
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2421
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2453
2422
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2454
2423
  frameRendering: {
2455
2424
  enabled: boolean;
@@ -2460,10 +2429,10 @@ export declare const actionChangeArrowhead: {
2460
2429
  editingFrame: string | null;
2461
2430
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2462
2431
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2463
- editingLinearElement: LinearElementEditor | null;
2464
2432
  activeTool: {
2465
2433
  lastActiveTool: import("../types").ActiveTool | null;
2466
2434
  locked: boolean;
2435
+ fromSelection: boolean;
2467
2436
  } & import("../types").ActiveTool;
2468
2437
  penMode: boolean;
2469
2438
  penDetected: boolean;
@@ -2497,7 +2466,7 @@ export declare const actionChangeArrowhead: {
2497
2466
  zoom: Readonly<{
2498
2467
  value: import("../types").NormalizedZoomValue;
2499
2468
  }>;
2500
- openMenu: "shape" | "canvas" | null;
2469
+ openMenu: "canvas" | "shape" | null;
2501
2470
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2502
2471
  openSidebar: {
2503
2472
  name: string;
@@ -2507,7 +2476,7 @@ export declare const actionChangeArrowhead: {
2507
2476
  name: "imageExport" | "help" | "jsonExport";
2508
2477
  } | {
2509
2478
  name: "ttd";
2510
- tab: "text-to-diagram" | "mermaid";
2479
+ tab: "mermaid" | "text-to-diagram";
2511
2480
  } | {
2512
2481
  name: "commandPalette";
2513
2482
  } | {
@@ -2579,7 +2548,6 @@ export declare const actionChangeArrowhead: {
2579
2548
  shown: true;
2580
2549
  data: import("../charts").Spreadsheet;
2581
2550
  };
2582
- pendingImageElementId: string | null;
2583
2551
  showHyperlinkPopup: false | "editor" | "info";
2584
2552
  selectedLinearElement: LinearElementEditor | null;
2585
2553
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2592,20 +2560,18 @@ export declare const actionChangeArrowhead: {
2592
2560
  followedBy: Set<import("../types").SocketId>;
2593
2561
  isCropping: boolean;
2594
2562
  croppingElementId: string | null;
2595
- searchMatches: readonly {
2596
- id: string;
2597
- focus: boolean;
2598
- matchedLines: {
2599
- offsetX: number;
2600
- offsetY: number;
2601
- width: number;
2602
- height: number;
2603
- }[];
2604
- }[];
2563
+ searchMatches: Readonly<{
2564
+ focusedId: string | null;
2565
+ matches: readonly import("../types").SearchMatch[];
2566
+ }> | null;
2567
+ activeLockedId: string | null;
2568
+ lockedMultiSelections: {
2569
+ [groupId: string]: true;
2570
+ };
2605
2571
  };
2606
2572
  captureUpdate: "IMMEDIATELY";
2607
2573
  };
2608
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2574
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2609
2575
  } & {
2610
2576
  keyTest?: undefined;
2611
2577
  };
@@ -2627,7 +2593,7 @@ export declare const actionChangeArrowType: {
2627
2593
  errorMessage: import("react").ReactNode;
2628
2594
  activeEmbeddable: {
2629
2595
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2630
- state: "hover" | "active";
2596
+ state: "active" | "hover";
2631
2597
  } | null;
2632
2598
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2633
2599
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2635,7 +2601,7 @@ export declare const actionChangeArrowType: {
2635
2601
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2636
2602
  isBindingEnabled: boolean;
2637
2603
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2638
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2604
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2639
2605
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2640
2606
  frameRendering: {
2641
2607
  enabled: boolean;
@@ -2646,10 +2612,10 @@ export declare const actionChangeArrowType: {
2646
2612
  editingFrame: string | null;
2647
2613
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2648
2614
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2649
- editingLinearElement: LinearElementEditor | null;
2650
2615
  activeTool: {
2651
2616
  lastActiveTool: import("../types").ActiveTool | null;
2652
2617
  locked: boolean;
2618
+ fromSelection: boolean;
2653
2619
  } & import("../types").ActiveTool;
2654
2620
  penMode: boolean;
2655
2621
  penDetected: boolean;
@@ -2682,7 +2648,7 @@ export declare const actionChangeArrowType: {
2682
2648
  zoom: Readonly<{
2683
2649
  value: import("../types").NormalizedZoomValue;
2684
2650
  }>;
2685
- openMenu: "shape" | "canvas" | null;
2651
+ openMenu: "canvas" | "shape" | null;
2686
2652
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2687
2653
  openSidebar: {
2688
2654
  name: string;
@@ -2692,7 +2658,7 @@ export declare const actionChangeArrowType: {
2692
2658
  name: "imageExport" | "help" | "jsonExport";
2693
2659
  } | {
2694
2660
  name: "ttd";
2695
- tab: "text-to-diagram" | "mermaid";
2661
+ tab: "mermaid" | "text-to-diagram";
2696
2662
  } | {
2697
2663
  name: "commandPalette";
2698
2664
  } | {
@@ -2764,7 +2730,6 @@ export declare const actionChangeArrowType: {
2764
2730
  shown: true;
2765
2731
  data: import("../charts").Spreadsheet;
2766
2732
  };
2767
- pendingImageElementId: string | null;
2768
2733
  showHyperlinkPopup: false | "editor" | "info";
2769
2734
  selectedLinearElement: LinearElementEditor | null;
2770
2735
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2777,20 +2742,18 @@ export declare const actionChangeArrowType: {
2777
2742
  followedBy: Set<import("../types").SocketId>;
2778
2743
  isCropping: boolean;
2779
2744
  croppingElementId: string | null;
2780
- searchMatches: readonly {
2781
- id: string;
2782
- focus: boolean;
2783
- matchedLines: {
2784
- offsetX: number;
2785
- offsetY: number;
2786
- width: number;
2787
- height: number;
2788
- }[];
2789
- }[];
2745
+ searchMatches: Readonly<{
2746
+ focusedId: string | null;
2747
+ matches: readonly import("../types").SearchMatch[];
2748
+ }> | null;
2749
+ activeLockedId: string | null;
2750
+ lockedMultiSelections: {
2751
+ [groupId: string]: true;
2752
+ };
2790
2753
  };
2791
2754
  captureUpdate: "IMMEDIATELY";
2792
2755
  };
2793
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2756
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2794
2757
  } & {
2795
2758
  keyTest?: undefined;
2796
2759
  };