@excalidraw/excalidraw 0.18.0-432a46e → 0.18.0-4e471c107

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 (435) hide show
  1. package/dist/dev/chunk-CBGOW5JB.js +5669 -0
  2. package/dist/dev/chunk-CBGOW5JB.js.map +7 -0
  3. package/dist/dev/chunk-CP5DND7P.js +7 -0
  4. package/dist/dev/chunk-CP5DND7P.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-SURZSZNX.js} +3 -3
  8. package/dist/dev/index.css +143 -68
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +17109 -17527
  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-A66AFZZU.js +7 -0
  16. package/dist/prod/chunk-I4UNSFV6.js +12 -0
  17. package/dist/prod/chunk-IRHK23LL.js +4 -0
  18. package/dist/prod/data/image-HXEZYJPQ.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 +23 -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 +11 -14
  32. package/dist/types/element/src/align.d.ts +7 -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} +63 -38
  38. package/dist/types/element/src/distance.d.ts +3 -0
  39. package/dist/types/{packages/element → element}/src/dragElements.d.ts +3 -2
  40. package/dist/types/{packages/element → element}/src/duplicate.d.ts +10 -13
  41. package/dist/types/{packages/element → element}/src/elbowArrow.d.ts +1 -1
  42. package/dist/types/{packages/element → element}/src/flowchart.d.ts +3 -2
  43. package/dist/types/{packages/element → element}/src/fractionalIndex.d.ts +9 -3
  44. package/dist/types/{packages/element → element}/src/frame.d.ts +5 -4
  45. package/dist/types/{packages/element → element}/src/heading.d.ts +0 -1
  46. package/dist/types/element/src/index.d.ts +57 -0
  47. package/dist/types/{packages/element → element}/src/linearElementEditor.d.ts +22 -36
  48. package/dist/types/{packages/element → element}/src/mutateElement.d.ts +11 -3
  49. package/dist/types/{packages/element → element}/src/newElement.d.ts +4 -3
  50. package/dist/types/{packages/element → element}/src/resizeElements.d.ts +5 -4
  51. package/dist/types/{packages/element → element}/src/selection.d.ts +11 -5
  52. package/dist/types/element/src/shape.d.ts +42 -0
  53. package/dist/types/{packages/element → element}/src/sizeHelpers.d.ts +2 -2
  54. package/dist/types/element/src/store.d.ts +232 -0
  55. package/dist/types/{packages/element → element}/src/textElement.d.ts +5 -3
  56. package/dist/types/{packages/element → element}/src/typeChecks.d.ts +19 -1
  57. package/dist/types/{packages/element → element}/src/types.d.ts +15 -2
  58. package/dist/types/element/src/utils.d.ts +31 -0
  59. package/dist/types/{packages/element → element}/src/zindex.d.ts +1 -1
  60. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionAddToLibrary.d.ts +45 -51
  61. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionBoundText.d.ts +30 -34
  62. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCanvas.d.ts +364 -214
  63. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionClipboard.d.ts +87 -98
  64. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCropEditor.d.ts +15 -17
  65. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDeleteSelected.d.ts +40 -45
  66. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLink.d.ts +14 -16
  67. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLock.d.ts +45 -51
  68. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionEmbeddable.d.ts +15 -17
  69. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionExport.d.ts +145 -163
  70. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFinalize.d.ts +73 -37
  71. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFrame.d.ts +107 -115
  72. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionGroup.d.ts +30 -34
  73. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionHistory.d.ts +1 -2
  74. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +683 -0
  75. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionLink.d.ts +14 -16
  76. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionMenu.d.ts +42 -48
  77. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionNavigate.d.ts +29 -33
  78. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionProperties.d.ts +218 -240
  79. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionSelectAll.d.ts +14 -16
  80. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionStyles.d.ts +15 -17
  81. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleGridMode.d.ts +15 -17
  82. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleObjectsSnapMode.d.ts +15 -17
  83. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +183 -0
  84. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  85. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleStats.d.ts +15 -18
  86. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleViewMode.d.ts +15 -18
  87. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleZenMode.d.ts +15 -18
  88. package/dist/types/{packages/excalidraw → excalidraw}/actions/types.d.ts +4 -3
  89. package/dist/types/{packages/excalidraw → excalidraw}/animated-trail.d.ts +7 -1
  90. package/dist/types/{packages/excalidraw → excalidraw}/appState.d.ts +20 -10
  91. package/dist/types/{packages/excalidraw → excalidraw}/components/App.d.ts +38 -22
  92. package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonIcon.d.ts +1 -0
  93. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ColorInput.d.ts +2 -1
  94. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ColorPicker.d.ts +5 -1
  95. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/CustomColorList.d.ts +1 -1
  96. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +7 -0
  97. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/Picker.d.ts +2 -3
  98. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/PickerColorList.d.ts +2 -3
  99. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ShadeList.d.ts +2 -2
  100. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/TopPicks.d.ts +1 -1
  101. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  102. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  103. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  104. package/dist/types/{packages/excalidraw → excalidraw}/components/ElementLinkDialog.d.ts +4 -3
  105. package/dist/types/{packages/excalidraw/components/ButtonIconSelect.d.ts → excalidraw/components/RadioSelection.d.ts} +1 -1
  106. package/dist/types/excalidraw/components/Range.d.ts +8 -0
  107. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Angle.d.ts +1 -1
  108. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/CanvasGrid.d.ts +1 -1
  109. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Collapsible.d.ts +2 -1
  110. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Dimension.d.ts +1 -1
  111. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/DragInput.d.ts +12 -2
  112. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/FontSize.d.ts +1 -1
  113. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiAngle.d.ts +1 -1
  114. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiDimension.d.ts +1 -1
  115. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiFontSize.d.ts +1 -1
  116. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiPosition.d.ts +1 -1
  117. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Position.d.ts +1 -1
  118. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/utils.d.ts +4 -11
  119. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  120. package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/InteractiveCanvas.d.ts +1 -0
  121. package/dist/types/{packages/excalidraw → excalidraw}/components/hyperlink/Hyperlink.d.ts +3 -2
  122. package/dist/types/{packages/excalidraw → excalidraw}/components/hyperlink/helpers.d.ts +2 -1
  123. package/dist/types/{packages/excalidraw → excalidraw}/components/icons.d.ts +4 -0
  124. package/dist/types/{packages/excalidraw → excalidraw}/components/shapes.d.ts +1 -1
  125. package/dist/types/{packages/excalidraw → excalidraw}/data/transform.d.ts +1 -1
  126. package/dist/types/{packages/excalidraw → excalidraw}/editor-jotai.d.ts +6 -6
  127. package/dist/types/excalidraw/eraser/index.d.ts +12 -0
  128. package/dist/types/{packages/excalidraw → excalidraw}/fonts/Fonts.d.ts +1 -1
  129. package/dist/types/excalidraw/history.d.ts +48 -0
  130. package/dist/types/{packages/excalidraw → excalidraw}/hooks/useEmitter.d.ts +1 -1
  131. package/dist/types/{packages/excalidraw → excalidraw}/index.d.ts +9 -9
  132. package/dist/types/excalidraw/lasso/index.d.ts +16 -0
  133. package/dist/types/excalidraw/lasso/utils.d.ts +13 -0
  134. package/dist/types/excalidraw/renderer/helpers.d.ts +18 -0
  135. package/dist/types/{packages/excalidraw → excalidraw}/scene/Renderer.d.ts +1 -2
  136. package/dist/types/excalidraw/scene/index.d.ts +4 -0
  137. package/dist/types/{packages/excalidraw → excalidraw}/scene/scrollbars.d.ts +2 -3
  138. package/dist/types/{packages/excalidraw → excalidraw}/scene/types.d.ts +2 -0
  139. package/dist/types/{packages/excalidraw → excalidraw}/snapping.d.ts +2 -2
  140. package/dist/types/{packages/excalidraw → excalidraw}/types.d.ts +32 -11
  141. package/dist/types/{packages/excalidraw → excalidraw}/wysiwyg/textWysiwyg.d.ts +3 -1
  142. package/dist/types/{packages/math → math}/src/angle.d.ts +2 -0
  143. package/dist/types/math/src/constants.d.ts +3 -0
  144. package/dist/types/math/src/curve.d.ts +74 -0
  145. package/dist/types/{packages/math → math}/src/index.d.ts +1 -0
  146. package/dist/types/{packages/math → math}/src/point.d.ts +1 -1
  147. package/dist/types/{packages/math → math}/src/polygon.d.ts +1 -0
  148. package/dist/types/{packages/math → math}/src/rectangle.d.ts +2 -0
  149. package/dist/types/{packages/math → math}/src/segment.d.ts +1 -1
  150. package/dist/types/{packages/math → math}/src/types.d.ts +1 -0
  151. package/dist/types/{packages/math → math}/src/vector.d.ts +8 -2
  152. package/dist/types/{packages/utils → utils}/src/bbox.d.ts +1 -1
  153. package/dist/types/{packages/utils → utils}/src/index.d.ts +1 -1
  154. package/dist/types/{packages/utils → utils}/src/withinBounds.d.ts +1 -1
  155. package/history.ts +147 -110
  156. package/package.json +30 -10
  157. package/dist/dev/chunk-LMHBUWQS.js.map +0 -7
  158. package/dist/dev/chunk-S7W4OWSF.js +0 -18442
  159. package/dist/dev/chunk-S7W4OWSF.js.map +0 -7
  160. package/dist/dev/chunk-ZG3EI5XS.js +0 -7
  161. package/dist/dev/chunk-ZG3EI5XS.js.map +0 -7
  162. package/dist/prod/chunk-6U3AYISY.js +0 -12
  163. package/dist/prod/chunk-LRITYP5X.js +0 -31
  164. package/dist/prod/chunk-U24AOZ3B.js +0 -7
  165. package/dist/prod/data/image-W3GRS73V.js +0 -1
  166. package/dist/types/excalidraw-app/app_constants.d.ts +0 -44
  167. package/dist/types/packages/element/src/Shape.d.ts +0 -17
  168. package/dist/types/packages/element/src/ShapeCache.d.ts +0 -25
  169. package/dist/types/packages/element/src/align.d.ts +0 -7
  170. package/dist/types/packages/element/src/collision.d.ts +0 -26
  171. package/dist/types/packages/element/src/distance.d.ts +0 -3
  172. package/dist/types/packages/element/src/index.d.ts +0 -16
  173. package/dist/types/packages/element/src/shapes.d.ts +0 -23
  174. package/dist/types/packages/element/src/utils.d.ts +0 -21
  175. package/dist/types/packages/excalidraw/actions/actionLinearEditor.d.ts +0 -192
  176. package/dist/types/packages/excalidraw/actions/actionToggleSearchMenu.d.ts +0 -357
  177. package/dist/types/packages/excalidraw/components/ButtonSelect.d.ts +0 -9
  178. package/dist/types/packages/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +0 -8
  179. package/dist/types/packages/excalidraw/components/Range.d.ts +0 -8
  180. package/dist/types/packages/excalidraw/history.d.ts +0 -40
  181. package/dist/types/packages/excalidraw/renderer/helpers.d.ts +0 -13
  182. package/dist/types/packages/excalidraw/scene/index.d.ts +0 -4
  183. package/dist/types/packages/excalidraw/store.d.ts +0 -129
  184. package/dist/types/packages/excalidraw/tests/fixtures/diagramFixture.d.ts +0 -504
  185. package/dist/types/packages/excalidraw/tests/fixtures/elementFixture.d.ts +0 -7
  186. package/dist/types/packages/excalidraw/tests/helpers/api.d.ts +0 -89
  187. package/dist/types/packages/excalidraw/tests/helpers/colorize.d.ts +0 -2
  188. package/dist/types/packages/excalidraw/tests/helpers/mocks.d.ts +0 -5
  189. package/dist/types/packages/excalidraw/tests/helpers/polyfills.d.ts +0 -36
  190. package/dist/types/packages/excalidraw/tests/helpers/ui.d.ts +0 -189
  191. package/dist/types/packages/excalidraw/tests/queries/dom.d.ts +0 -2
  192. package/dist/types/packages/excalidraw/tests/queries/toolQueries.d.ts +0 -2
  193. package/dist/types/packages/excalidraw/tests/test-utils.d.ts +0 -139
  194. package/dist/types/packages/excalidraw/visualdebug.d.ts +0 -41
  195. package/dist/types/packages/math/src/curve.d.ts +0 -40
  196. package/dist/types/packages/utils/src/collision.d.ts +0 -8
  197. /package/dist/dev/data/{image-5HAY2PCR.js.map → image-SURZSZNX.js.map} +0 -0
  198. /package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-SMAPCEOQ.js.map} +0 -0
  199. /package/dist/types/{packages/common → common}/src/binary-heap.d.ts +0 -0
  200. /package/dist/types/{packages/common → common}/src/keys.d.ts +0 -0
  201. /package/dist/types/{packages/common → common}/src/points.d.ts +0 -0
  202. /package/dist/types/{packages/common → common}/src/promise-pool.d.ts +0 -0
  203. /package/dist/types/{packages/common → common}/src/queue.d.ts +0 -0
  204. /package/dist/types/{packages/common → common}/src/random.d.ts +0 -0
  205. /package/dist/types/{packages/common → common}/src/url.d.ts +0 -0
  206. /package/dist/types/{packages/element → element}/src/comparisons.d.ts +0 -0
  207. /package/dist/types/{packages/element → element}/src/containerCache.d.ts +0 -0
  208. /package/dist/types/{packages/element → element}/src/distribute.d.ts +0 -0
  209. /package/dist/types/{packages/element → element}/src/elementLink.d.ts +0 -0
  210. /package/dist/types/{packages/element → element}/src/embeddable.d.ts +0 -0
  211. /package/dist/types/{packages/element → element}/src/groups.d.ts +0 -0
  212. /package/dist/types/{packages/element → element}/src/image.d.ts +0 -0
  213. /package/dist/types/{packages/element → element}/src/renderElement.d.ts +0 -0
  214. /package/dist/types/{packages/element → element}/src/resizeTest.d.ts +0 -0
  215. /package/dist/types/{packages/element → element}/src/showSelectedShapeActions.d.ts +0 -0
  216. /package/dist/types/{packages/element → element}/src/sortElements.d.ts +0 -0
  217. /package/dist/types/{packages/element → element}/src/textMeasurements.d.ts +0 -0
  218. /package/dist/types/{packages/element → element}/src/textWrapping.d.ts +0 -0
  219. /package/dist/types/{packages/element → element}/src/transformHandles.d.ts +0 -0
  220. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionAlign.d.ts +0 -0
  221. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDistribute.d.ts +0 -0
  222. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDuplicateSelection.d.ts +0 -0
  223. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFlip.d.ts +0 -0
  224. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionTextAutoResize.d.ts +0 -0
  225. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionZindex.d.ts +0 -0
  226. /package/dist/types/{packages/excalidraw → excalidraw}/actions/index.d.ts +0 -0
  227. /package/dist/types/{packages/excalidraw → excalidraw}/actions/manager.d.ts +0 -0
  228. /package/dist/types/{packages/excalidraw → excalidraw}/actions/register.d.ts +0 -0
  229. /package/dist/types/{packages/excalidraw → excalidraw}/actions/shortcuts.d.ts +0 -0
  230. /package/dist/types/{packages/excalidraw → excalidraw}/analytics.d.ts +0 -0
  231. /package/dist/types/{packages/excalidraw → excalidraw}/animation-frame-handler.d.ts +0 -0
  232. /package/dist/types/{packages/excalidraw → excalidraw}/charts.d.ts +0 -0
  233. /package/dist/types/{packages/excalidraw → excalidraw}/clients.d.ts +0 -0
  234. /package/dist/types/{packages/excalidraw → excalidraw}/clipboard.d.ts +0 -0
  235. /package/dist/types/{packages/excalidraw → excalidraw}/components/Actions.d.ts +0 -0
  236. /package/dist/types/{packages/excalidraw → excalidraw}/components/ActiveConfirmDialog.d.ts +0 -0
  237. /package/dist/types/{packages/excalidraw → excalidraw}/components/Avatar.d.ts +0 -0
  238. /package/dist/types/{packages/excalidraw → excalidraw}/components/BraveMeasureTextError.d.ts +0 -0
  239. /package/dist/types/{packages/excalidraw → excalidraw}/components/Button.d.ts +0 -0
  240. /package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonIconCycle.d.ts +0 -0
  241. /package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonSeparator.d.ts +0 -0
  242. /package/dist/types/{packages/excalidraw → excalidraw}/components/Card.d.ts +0 -0
  243. /package/dist/types/{packages/excalidraw → excalidraw}/components/CheckboxItem.d.ts +0 -0
  244. /package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/PickerHeading.d.ts +0 -0
  245. /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/CommandPalette.d.ts +0 -0
  246. /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/defaultCommandPaletteItems.d.ts +0 -0
  247. /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/types.d.ts +0 -0
  248. /package/dist/types/{packages/excalidraw → excalidraw}/components/ConfirmDialog.d.ts +0 -0
  249. /package/dist/types/{packages/excalidraw → excalidraw}/components/ContextMenu.d.ts +0 -0
  250. /package/dist/types/{packages/excalidraw → excalidraw}/components/DarkModeToggle.d.ts +0 -0
  251. /package/dist/types/{packages/excalidraw → excalidraw}/components/DefaultSidebar.d.ts +0 -0
  252. /package/dist/types/{packages/excalidraw → excalidraw}/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -0
  253. /package/dist/types/{packages/excalidraw → excalidraw}/components/Dialog.d.ts +0 -0
  254. /package/dist/types/{packages/excalidraw → excalidraw}/components/DialogActionButton.d.ts +0 -0
  255. /package/dist/types/{packages/excalidraw → excalidraw}/components/ElementCanvasButtons.d.ts +0 -0
  256. /package/dist/types/{packages/excalidraw → excalidraw}/components/ErrorDialog.d.ts +0 -0
  257. /package/dist/types/{packages/excalidraw → excalidraw}/components/ExcalidrawLogo.d.ts +0 -0
  258. /package/dist/types/{packages/excalidraw → excalidraw}/components/EyeDropper.d.ts +0 -0
  259. /package/dist/types/{packages/excalidraw → excalidraw}/components/FilledButton.d.ts +0 -0
  260. /package/dist/types/{packages/excalidraw → excalidraw}/components/FixedSideContainer.d.ts +0 -0
  261. /package/dist/types/{packages/excalidraw → excalidraw}/components/FollowMode/FollowMode.d.ts +0 -0
  262. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPicker.d.ts +0 -0
  263. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPickerList.d.ts +0 -0
  264. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPickerTrigger.d.ts +0 -0
  265. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/keyboardNavHandlers.d.ts +0 -0
  266. /package/dist/types/{packages/excalidraw → excalidraw}/components/HandButton.d.ts +0 -0
  267. /package/dist/types/{packages/excalidraw → excalidraw}/components/HelpButton.d.ts +0 -0
  268. /package/dist/types/{packages/excalidraw → excalidraw}/components/HelpDialog.d.ts +0 -0
  269. /package/dist/types/{packages/excalidraw → excalidraw}/components/HintViewer.d.ts +0 -0
  270. /package/dist/types/{packages/excalidraw → excalidraw}/components/IconPicker.d.ts +0 -0
  271. /package/dist/types/{packages/excalidraw → excalidraw}/components/ImageExportDialog.d.ts +0 -0
  272. /package/dist/types/{packages/excalidraw → excalidraw}/components/InitializeApp.d.ts +0 -0
  273. /package/dist/types/{packages/excalidraw → excalidraw}/components/InlineIcon.d.ts +0 -0
  274. /package/dist/types/{packages/excalidraw → excalidraw}/components/Island.d.ts +0 -0
  275. /package/dist/types/{packages/excalidraw → excalidraw}/components/JSONExportDialog.d.ts +0 -0
  276. /package/dist/types/{packages/excalidraw → excalidraw}/components/LaserPointerButton.d.ts +0 -0
  277. /package/dist/types/{packages/excalidraw → excalidraw}/components/LayerUI.d.ts +0 -0
  278. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenu.d.ts +0 -0
  279. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuBrowseButton.d.ts +0 -0
  280. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuControlButtons.d.ts +0 -0
  281. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuHeaderContent.d.ts +0 -0
  282. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuItems.d.ts +0 -0
  283. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuSection.d.ts +0 -0
  284. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryUnit.d.ts +0 -0
  285. /package/dist/types/{packages/excalidraw → excalidraw}/components/LoadingMessage.d.ts +0 -0
  286. /package/dist/types/{packages/excalidraw → excalidraw}/components/LockButton.d.ts +0 -0
  287. /package/dist/types/{packages/excalidraw → excalidraw}/components/MagicButton.d.ts +0 -0
  288. /package/dist/types/{packages/excalidraw → excalidraw}/components/MobileMenu.d.ts +0 -0
  289. /package/dist/types/{packages/excalidraw → excalidraw}/components/Modal.d.ts +0 -0
  290. /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirm.d.ts +0 -0
  291. /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +0 -0
  292. /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirmState.d.ts +0 -0
  293. /package/dist/types/{packages/excalidraw → excalidraw}/components/Paragraph.d.ts +0 -0
  294. /package/dist/types/{packages/excalidraw → excalidraw}/components/PasteChartDialog.d.ts +0 -0
  295. /package/dist/types/{packages/excalidraw → excalidraw}/components/PenModeButton.d.ts +0 -0
  296. /package/dist/types/{packages/excalidraw → excalidraw}/components/Popover.d.ts +0 -0
  297. /package/dist/types/{packages/excalidraw → excalidraw}/components/ProjectName.d.ts +0 -0
  298. /package/dist/types/{packages/excalidraw → excalidraw}/components/PropertiesPopover.d.ts +0 -0
  299. /package/dist/types/{packages/excalidraw → excalidraw}/components/PublishLibrary.d.ts +0 -0
  300. /package/dist/types/{packages/excalidraw → excalidraw}/components/QuickSearch.d.ts +0 -0
  301. /package/dist/types/{packages/excalidraw → excalidraw}/components/RadioGroup.d.ts +0 -0
  302. /package/dist/types/{packages/excalidraw → excalidraw}/components/SVGLayer.d.ts +0 -0
  303. /package/dist/types/{packages/excalidraw → excalidraw}/components/ScrollableList.d.ts +0 -0
  304. /package/dist/types/{packages/excalidraw → excalidraw}/components/SearchMenu.d.ts +0 -0
  305. /package/dist/types/{packages/excalidraw → excalidraw}/components/Section.d.ts +0 -0
  306. /package/dist/types/{packages/excalidraw → excalidraw}/components/ShareableLinkDialog.d.ts +0 -0
  307. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/Sidebar.d.ts +0 -0
  308. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarHeader.d.ts +0 -0
  309. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTab.d.ts +0 -0
  310. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabTrigger.d.ts +0 -0
  311. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabTriggers.d.ts +0 -0
  312. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabs.d.ts +0 -0
  313. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTrigger.d.ts +0 -0
  314. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/common.d.ts +0 -0
  315. /package/dist/types/{packages/excalidraw → excalidraw}/components/Spinner.d.ts +0 -0
  316. /package/dist/types/{packages/excalidraw → excalidraw}/components/Stack.d.ts +0 -0
  317. /package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/index.d.ts +0 -0
  318. /package/dist/types/{packages/excalidraw → excalidraw}/components/Switch.d.ts +0 -0
  319. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/MermaidToExcalidraw.d.ts +0 -0
  320. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialog.d.ts +0 -0
  321. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogInput.d.ts +0 -0
  322. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogOutput.d.ts +0 -0
  323. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogPanel.d.ts +0 -0
  324. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogPanels.d.ts +0 -0
  325. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +0 -0
  326. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTab.d.ts +0 -0
  327. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabTrigger.d.ts +0 -0
  328. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabTriggers.d.ts +0 -0
  329. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabs.d.ts +0 -0
  330. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTrigger.d.ts +0 -0
  331. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/common.d.ts +0 -0
  332. /package/dist/types/{packages/excalidraw → excalidraw}/components/TextField.d.ts +0 -0
  333. /package/dist/types/{packages/excalidraw → excalidraw}/components/Toast.d.ts +0 -0
  334. /package/dist/types/{packages/excalidraw → excalidraw}/components/ToolButton.d.ts +0 -0
  335. /package/dist/types/{packages/excalidraw → excalidraw}/components/Tooltip.d.ts +0 -0
  336. /package/dist/types/{packages/excalidraw → excalidraw}/components/Trans.d.ts +0 -0
  337. /package/dist/types/{packages/excalidraw → excalidraw}/components/UserList.d.ts +0 -0
  338. /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/NewElementCanvas.d.ts +0 -0
  339. /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/StaticCanvas.d.ts +0 -0
  340. /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/index.d.ts +0 -0
  341. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenu.d.ts +0 -0
  342. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuContent.d.ts +0 -0
  343. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuGroup.d.ts +0 -0
  344. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItem.d.ts +0 -0
  345. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemContent.d.ts +0 -0
  346. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -0
  347. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemCustom.d.ts +0 -0
  348. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemLink.d.ts +0 -0
  349. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuSeparator.d.ts +0 -0
  350. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuTrigger.d.ts +0 -0
  351. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/common.d.ts +0 -0
  352. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/dropdownMenuUtils.d.ts +0 -0
  353. /package/dist/types/{packages/excalidraw → excalidraw}/components/footer/Footer.d.ts +0 -0
  354. /package/dist/types/{packages/excalidraw → excalidraw}/components/footer/FooterCenter.d.ts +0 -0
  355. /package/dist/types/{packages/excalidraw → excalidraw}/components/hoc/withInternalFallback.d.ts +0 -0
  356. /package/dist/types/{packages/excalidraw → excalidraw}/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -0
  357. /package/dist/types/{packages/excalidraw → excalidraw}/components/main-menu/DefaultItems.d.ts +0 -0
  358. /package/dist/types/{packages/excalidraw → excalidraw}/components/main-menu/MainMenu.d.ts +0 -0
  359. /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -0
  360. /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -0
  361. /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.d.ts +0 -0
  362. /package/dist/types/{packages/excalidraw → excalidraw}/context/tunnels.d.ts +0 -0
  363. /package/dist/types/{packages/excalidraw → excalidraw}/context/ui-appState.d.ts +0 -0
  364. /package/dist/types/{packages/excalidraw → excalidraw}/cursor.d.ts +0 -0
  365. /package/dist/types/{packages/excalidraw → excalidraw}/data/EditorLocalStorage.d.ts +0 -0
  366. /package/dist/types/{packages/excalidraw → excalidraw}/data/ai/types.d.ts +0 -0
  367. /package/dist/types/{packages/excalidraw → excalidraw}/data/blob.d.ts +0 -0
  368. /package/dist/types/{packages/excalidraw → excalidraw}/data/encode.d.ts +0 -0
  369. /package/dist/types/{packages/excalidraw → excalidraw}/data/encryption.d.ts +0 -0
  370. /package/dist/types/{packages/excalidraw → excalidraw}/data/filesystem.d.ts +0 -0
  371. /package/dist/types/{packages/excalidraw → excalidraw}/data/image.d.ts +0 -0
  372. /package/dist/types/{packages/excalidraw → excalidraw}/data/index.d.ts +0 -0
  373. /package/dist/types/{packages/excalidraw → excalidraw}/data/json.d.ts +0 -0
  374. /package/dist/types/{packages/excalidraw → excalidraw}/data/library.d.ts +0 -0
  375. /package/dist/types/{packages/excalidraw → excalidraw}/data/reconcile.d.ts +0 -0
  376. /package/dist/types/{packages/excalidraw → excalidraw}/data/resave.d.ts +0 -0
  377. /package/dist/types/{packages/excalidraw → excalidraw}/data/restore.d.ts +0 -0
  378. /package/dist/types/{packages/excalidraw → excalidraw}/data/types.d.ts +0 -0
  379. /package/dist/types/{packages/excalidraw → excalidraw}/deburr.d.ts +0 -0
  380. /package/dist/types/{packages/excalidraw → excalidraw}/errors.d.ts +0 -0
  381. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Cascadia/index.d.ts +0 -0
  382. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/ComicShanns/index.d.ts +0 -0
  383. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Emoji/index.d.ts +0 -0
  384. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/ExcalidrawFontFace.d.ts +0 -0
  385. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Excalifont/index.d.ts +0 -0
  386. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Helvetica/index.d.ts +0 -0
  387. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Liberation/index.d.ts +0 -0
  388. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Lilita/index.d.ts +0 -0
  389. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Nunito/index.d.ts +0 -0
  390. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Virgil/index.d.ts +0 -0
  391. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Xiaolai/index.d.ts +0 -0
  392. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/index.d.ts +0 -0
  393. /package/dist/types/{packages/excalidraw → excalidraw}/gesture.d.ts +0 -0
  394. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCallbackRefState.d.ts +0 -0
  395. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCopiedIndicator.d.ts +0 -0
  396. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCreatePortalContainer.d.ts +0 -0
  397. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useLibraryItemSvg.d.ts +0 -0
  398. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useOutsideClick.d.ts +0 -0
  399. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useScrollPosition.d.ts +0 -0
  400. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useStable.d.ts +0 -0
  401. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useStableCallback.d.ts +0 -0
  402. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useTransition.d.ts +0 -0
  403. /package/dist/types/{packages/excalidraw → excalidraw}/i18n.d.ts +0 -0
  404. /package/dist/types/{packages/excalidraw → excalidraw}/index-node.d.ts +0 -0
  405. /package/dist/types/{packages/excalidraw → excalidraw}/laser-trails.d.ts +0 -0
  406. /package/dist/types/{packages/excalidraw → excalidraw}/mermaid.d.ts +0 -0
  407. /package/dist/types/{packages/excalidraw → excalidraw}/polyfill.d.ts +0 -0
  408. /package/dist/types/{packages/excalidraw → excalidraw}/reactUtils.d.ts +0 -0
  409. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/interactiveScene.d.ts +0 -0
  410. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/renderNewElementScene.d.ts +0 -0
  411. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/renderSnaps.d.ts +0 -0
  412. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/roundRect.d.ts +0 -0
  413. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/staticScene.d.ts +0 -0
  414. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/staticSvgScene.d.ts +0 -0
  415. /package/dist/types/{packages/excalidraw → excalidraw}/scene/export.d.ts +0 -0
  416. /package/dist/types/{packages/excalidraw → excalidraw}/scene/normalize.d.ts +0 -0
  417. /package/dist/types/{packages/excalidraw → excalidraw}/scene/scroll.d.ts +0 -0
  418. /package/dist/types/{packages/excalidraw → excalidraw}/scene/zoom.d.ts +0 -0
  419. /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-bindings.d.ts +0 -0
  420. /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-loader.d.ts +0 -0
  421. /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-wasm.d.ts +0 -0
  422. /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-main.d.ts +0 -0
  423. /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-shared.chunk.d.ts +0 -0
  424. /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-worker.chunk.d.ts +0 -0
  425. /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-bindings.d.ts +0 -0
  426. /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-loader.d.ts +0 -0
  427. /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-wasm.d.ts +0 -0
  428. /package/dist/types/{packages/excalidraw → excalidraw}/workers.d.ts +0 -0
  429. /package/dist/types/{packages/math → math}/src/ellipse.d.ts +0 -0
  430. /package/dist/types/{packages/math → math}/src/line.d.ts +0 -0
  431. /package/dist/types/{packages/math → math}/src/range.d.ts +0 -0
  432. /package/dist/types/{packages/math → math}/src/triangle.d.ts +0 -0
  433. /package/dist/types/{packages/math → math}/src/utils.d.ts +0 -0
  434. /package/dist/types/{packages/utils → utils}/src/export.d.ts +0 -0
  435. /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;
@@ -63,6 +71,7 @@ export declare const actionChangeFillStyle: {
63
71
  activeTool: {
64
72
  lastActiveTool: import("../types").ActiveTool | null;
65
73
  locked: boolean;
74
+ fromSelection: boolean;
66
75
  } & import("../types").ActiveTool;
67
76
  penMode: boolean;
68
77
  penDetected: boolean;
@@ -95,7 +104,7 @@ export declare const actionChangeFillStyle: {
95
104
  zoom: Readonly<{
96
105
  value: import("../types").NormalizedZoomValue;
97
106
  }>;
98
- openMenu: "shape" | "canvas" | null;
107
+ openMenu: "canvas" | "shape" | null;
99
108
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
100
109
  openSidebar: {
101
110
  name: string;
@@ -105,7 +114,7 @@ export declare const actionChangeFillStyle: {
105
114
  name: "imageExport" | "help" | "jsonExport";
106
115
  } | {
107
116
  name: "ttd";
108
- tab: "text-to-diagram" | "mermaid";
117
+ tab: "mermaid" | "text-to-diagram";
109
118
  } | {
110
119
  name: "commandPalette";
111
120
  } | {
@@ -177,7 +186,6 @@ export declare const actionChangeFillStyle: {
177
186
  shown: true;
178
187
  data: import("../charts").Spreadsheet;
179
188
  };
180
- pendingImageElementId: string | null;
181
189
  showHyperlinkPopup: false | "editor" | "info";
182
190
  selectedLinearElement: LinearElementEditor | null;
183
191
  snapLines: readonly import("../snapping").SnapLine[];
@@ -190,20 +198,18 @@ export declare const actionChangeFillStyle: {
190
198
  followedBy: Set<import("../types").SocketId>;
191
199
  isCropping: boolean;
192
200
  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
- }[];
201
+ searchMatches: Readonly<{
202
+ focusedId: string | null;
203
+ matches: readonly import("../types").SearchMatch[];
204
+ }> | null;
205
+ activeLockedId: string | null;
206
+ lockedMultiSelections: {
207
+ [groupId: string]: true;
208
+ };
203
209
  };
204
210
  captureUpdate: "IMMEDIATELY";
205
211
  };
206
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
212
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
207
213
  } & {
208
214
  keyTest?: undefined;
209
215
  };
@@ -225,7 +231,7 @@ export declare const actionChangeStrokeWidth: {
225
231
  errorMessage: import("react").ReactNode;
226
232
  activeEmbeddable: {
227
233
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
228
- state: "hover" | "active";
234
+ state: "active" | "hover";
229
235
  } | null;
230
236
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
231
237
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -233,7 +239,7 @@ export declare const actionChangeStrokeWidth: {
233
239
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
234
240
  isBindingEnabled: boolean;
235
241
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
236
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
242
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
237
243
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
238
244
  frameRendering: {
239
245
  enabled: boolean;
@@ -248,6 +254,7 @@ export declare const actionChangeStrokeWidth: {
248
254
  activeTool: {
249
255
  lastActiveTool: import("../types").ActiveTool | null;
250
256
  locked: boolean;
257
+ fromSelection: boolean;
251
258
  } & import("../types").ActiveTool;
252
259
  penMode: boolean;
253
260
  penDetected: boolean;
@@ -280,7 +287,7 @@ export declare const actionChangeStrokeWidth: {
280
287
  zoom: Readonly<{
281
288
  value: import("../types").NormalizedZoomValue;
282
289
  }>;
283
- openMenu: "shape" | "canvas" | null;
290
+ openMenu: "canvas" | "shape" | null;
284
291
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
285
292
  openSidebar: {
286
293
  name: string;
@@ -290,7 +297,7 @@ export declare const actionChangeStrokeWidth: {
290
297
  name: "imageExport" | "help" | "jsonExport";
291
298
  } | {
292
299
  name: "ttd";
293
- tab: "text-to-diagram" | "mermaid";
300
+ tab: "mermaid" | "text-to-diagram";
294
301
  } | {
295
302
  name: "commandPalette";
296
303
  } | {
@@ -362,7 +369,6 @@ export declare const actionChangeStrokeWidth: {
362
369
  shown: true;
363
370
  data: import("../charts").Spreadsheet;
364
371
  };
365
- pendingImageElementId: string | null;
366
372
  showHyperlinkPopup: false | "editor" | "info";
367
373
  selectedLinearElement: LinearElementEditor | null;
368
374
  snapLines: readonly import("../snapping").SnapLine[];
@@ -375,20 +381,18 @@ export declare const actionChangeStrokeWidth: {
375
381
  followedBy: Set<import("../types").SocketId>;
376
382
  isCropping: boolean;
377
383
  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
- }[];
384
+ searchMatches: Readonly<{
385
+ focusedId: string | null;
386
+ matches: readonly import("../types").SearchMatch[];
387
+ }> | null;
388
+ activeLockedId: string | null;
389
+ lockedMultiSelections: {
390
+ [groupId: string]: true;
391
+ };
388
392
  };
389
393
  captureUpdate: "IMMEDIATELY";
390
394
  };
391
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
395
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
392
396
  } & {
393
397
  keyTest?: undefined;
394
398
  };
@@ -410,7 +414,7 @@ export declare const actionChangeSloppiness: {
410
414
  errorMessage: import("react").ReactNode;
411
415
  activeEmbeddable: {
412
416
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
413
- state: "hover" | "active";
417
+ state: "active" | "hover";
414
418
  } | null;
415
419
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
416
420
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -418,7 +422,7 @@ export declare const actionChangeSloppiness: {
418
422
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
419
423
  isBindingEnabled: boolean;
420
424
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
421
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
425
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
422
426
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
423
427
  frameRendering: {
424
428
  enabled: boolean;
@@ -433,6 +437,7 @@ export declare const actionChangeSloppiness: {
433
437
  activeTool: {
434
438
  lastActiveTool: import("../types").ActiveTool | null;
435
439
  locked: boolean;
440
+ fromSelection: boolean;
436
441
  } & import("../types").ActiveTool;
437
442
  penMode: boolean;
438
443
  penDetected: boolean;
@@ -465,7 +470,7 @@ export declare const actionChangeSloppiness: {
465
470
  zoom: Readonly<{
466
471
  value: import("../types").NormalizedZoomValue;
467
472
  }>;
468
- openMenu: "shape" | "canvas" | null;
473
+ openMenu: "canvas" | "shape" | null;
469
474
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
470
475
  openSidebar: {
471
476
  name: string;
@@ -475,7 +480,7 @@ export declare const actionChangeSloppiness: {
475
480
  name: "imageExport" | "help" | "jsonExport";
476
481
  } | {
477
482
  name: "ttd";
478
- tab: "text-to-diagram" | "mermaid";
483
+ tab: "mermaid" | "text-to-diagram";
479
484
  } | {
480
485
  name: "commandPalette";
481
486
  } | {
@@ -547,7 +552,6 @@ export declare const actionChangeSloppiness: {
547
552
  shown: true;
548
553
  data: import("../charts").Spreadsheet;
549
554
  };
550
- pendingImageElementId: string | null;
551
555
  showHyperlinkPopup: false | "editor" | "info";
552
556
  selectedLinearElement: LinearElementEditor | null;
553
557
  snapLines: readonly import("../snapping").SnapLine[];
@@ -560,20 +564,18 @@ export declare const actionChangeSloppiness: {
560
564
  followedBy: Set<import("../types").SocketId>;
561
565
  isCropping: boolean;
562
566
  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
- }[];
567
+ searchMatches: Readonly<{
568
+ focusedId: string | null;
569
+ matches: readonly import("../types").SearchMatch[];
570
+ }> | null;
571
+ activeLockedId: string | null;
572
+ lockedMultiSelections: {
573
+ [groupId: string]: true;
574
+ };
573
575
  };
574
576
  captureUpdate: "IMMEDIATELY";
575
577
  };
576
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
578
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
577
579
  } & {
578
580
  keyTest?: undefined;
579
581
  };
@@ -595,7 +597,7 @@ export declare const actionChangeStrokeStyle: {
595
597
  errorMessage: import("react").ReactNode;
596
598
  activeEmbeddable: {
597
599
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
598
- state: "hover" | "active";
600
+ state: "active" | "hover";
599
601
  } | null;
600
602
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
601
603
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -603,7 +605,7 @@ export declare const actionChangeStrokeStyle: {
603
605
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
604
606
  isBindingEnabled: boolean;
605
607
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
606
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
608
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
607
609
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
608
610
  frameRendering: {
609
611
  enabled: boolean;
@@ -618,6 +620,7 @@ export declare const actionChangeStrokeStyle: {
618
620
  activeTool: {
619
621
  lastActiveTool: import("../types").ActiveTool | null;
620
622
  locked: boolean;
623
+ fromSelection: boolean;
621
624
  } & import("../types").ActiveTool;
622
625
  penMode: boolean;
623
626
  penDetected: boolean;
@@ -650,7 +653,7 @@ export declare const actionChangeStrokeStyle: {
650
653
  zoom: Readonly<{
651
654
  value: import("../types").NormalizedZoomValue;
652
655
  }>;
653
- openMenu: "shape" | "canvas" | null;
656
+ openMenu: "canvas" | "shape" | null;
654
657
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
655
658
  openSidebar: {
656
659
  name: string;
@@ -660,7 +663,7 @@ export declare const actionChangeStrokeStyle: {
660
663
  name: "imageExport" | "help" | "jsonExport";
661
664
  } | {
662
665
  name: "ttd";
663
- tab: "text-to-diagram" | "mermaid";
666
+ tab: "mermaid" | "text-to-diagram";
664
667
  } | {
665
668
  name: "commandPalette";
666
669
  } | {
@@ -732,7 +735,6 @@ export declare const actionChangeStrokeStyle: {
732
735
  shown: true;
733
736
  data: import("../charts").Spreadsheet;
734
737
  };
735
- pendingImageElementId: string | null;
736
738
  showHyperlinkPopup: false | "editor" | "info";
737
739
  selectedLinearElement: LinearElementEditor | null;
738
740
  snapLines: readonly import("../snapping").SnapLine[];
@@ -745,20 +747,18 @@ export declare const actionChangeStrokeStyle: {
745
747
  followedBy: Set<import("../types").SocketId>;
746
748
  isCropping: boolean;
747
749
  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
- }[];
750
+ searchMatches: Readonly<{
751
+ focusedId: string | null;
752
+ matches: readonly import("../types").SearchMatch[];
753
+ }> | null;
754
+ activeLockedId: string | null;
755
+ lockedMultiSelections: {
756
+ [groupId: string]: true;
757
+ };
758
758
  };
759
759
  captureUpdate: "IMMEDIATELY";
760
760
  };
761
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
761
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
762
762
  } & {
763
763
  keyTest?: undefined;
764
764
  };
@@ -780,7 +780,7 @@ export declare const actionChangeOpacity: {
780
780
  errorMessage: import("react").ReactNode;
781
781
  activeEmbeddable: {
782
782
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
783
- state: "hover" | "active";
783
+ state: "active" | "hover";
784
784
  } | null;
785
785
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
786
786
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -788,7 +788,7 @@ export declare const actionChangeOpacity: {
788
788
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
789
789
  isBindingEnabled: boolean;
790
790
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
791
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
791
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
792
792
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
793
793
  frameRendering: {
794
794
  enabled: boolean;
@@ -803,6 +803,7 @@ export declare const actionChangeOpacity: {
803
803
  activeTool: {
804
804
  lastActiveTool: import("../types").ActiveTool | null;
805
805
  locked: boolean;
806
+ fromSelection: boolean;
806
807
  } & import("../types").ActiveTool;
807
808
  penMode: boolean;
808
809
  penDetected: boolean;
@@ -835,7 +836,7 @@ export declare const actionChangeOpacity: {
835
836
  zoom: Readonly<{
836
837
  value: import("../types").NormalizedZoomValue;
837
838
  }>;
838
- openMenu: "shape" | "canvas" | null;
839
+ openMenu: "canvas" | "shape" | null;
839
840
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
840
841
  openSidebar: {
841
842
  name: string;
@@ -845,7 +846,7 @@ export declare const actionChangeOpacity: {
845
846
  name: "imageExport" | "help" | "jsonExport";
846
847
  } | {
847
848
  name: "ttd";
848
- tab: "text-to-diagram" | "mermaid";
849
+ tab: "mermaid" | "text-to-diagram";
849
850
  } | {
850
851
  name: "commandPalette";
851
852
  } | {
@@ -917,7 +918,6 @@ export declare const actionChangeOpacity: {
917
918
  shown: true;
918
919
  data: import("../charts").Spreadsheet;
919
920
  };
920
- pendingImageElementId: string | null;
921
921
  showHyperlinkPopup: false | "editor" | "info";
922
922
  selectedLinearElement: LinearElementEditor | null;
923
923
  snapLines: readonly import("../snapping").SnapLine[];
@@ -930,20 +930,18 @@ export declare const actionChangeOpacity: {
930
930
  followedBy: Set<import("../types").SocketId>;
931
931
  isCropping: boolean;
932
932
  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
- }[];
933
+ searchMatches: Readonly<{
934
+ focusedId: string | null;
935
+ matches: readonly import("../types").SearchMatch[];
936
+ }> | null;
937
+ activeLockedId: string | null;
938
+ lockedMultiSelections: {
939
+ [groupId: string]: true;
940
+ };
943
941
  };
944
942
  captureUpdate: "IMMEDIATELY";
945
943
  };
946
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
944
+ PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
947
945
  } & {
948
946
  keyTest?: undefined;
949
947
  };
@@ -965,7 +963,7 @@ export declare const actionChangeFontSize: {
965
963
  errorMessage: import("react").ReactNode;
966
964
  activeEmbeddable: {
967
965
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
968
- state: "hover" | "active";
966
+ state: "active" | "hover";
969
967
  } | null;
970
968
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
971
969
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -973,7 +971,7 @@ export declare const actionChangeFontSize: {
973
971
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
974
972
  isBindingEnabled: boolean;
975
973
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
976
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
974
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
977
975
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
978
976
  frameRendering: {
979
977
  enabled: boolean;
@@ -988,6 +986,7 @@ export declare const actionChangeFontSize: {
988
986
  activeTool: {
989
987
  lastActiveTool: import("../types").ActiveTool | null;
990
988
  locked: boolean;
989
+ fromSelection: boolean;
991
990
  } & import("../types").ActiveTool;
992
991
  penMode: boolean;
993
992
  penDetected: boolean;
@@ -1020,7 +1019,7 @@ export declare const actionChangeFontSize: {
1020
1019
  zoom: Readonly<{
1021
1020
  value: import("../types").NormalizedZoomValue;
1022
1021
  }>;
1023
- openMenu: "shape" | "canvas" | null;
1022
+ openMenu: "canvas" | "shape" | null;
1024
1023
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1025
1024
  openSidebar: {
1026
1025
  name: string;
@@ -1030,7 +1029,7 @@ export declare const actionChangeFontSize: {
1030
1029
  name: "imageExport" | "help" | "jsonExport";
1031
1030
  } | {
1032
1031
  name: "ttd";
1033
- tab: "text-to-diagram" | "mermaid";
1032
+ tab: "mermaid" | "text-to-diagram";
1034
1033
  } | {
1035
1034
  name: "commandPalette";
1036
1035
  } | {
@@ -1102,7 +1101,6 @@ export declare const actionChangeFontSize: {
1102
1101
  shown: true;
1103
1102
  data: import("../charts").Spreadsheet;
1104
1103
  };
1105
- pendingImageElementId: string | null;
1106
1104
  showHyperlinkPopup: false | "editor" | "info";
1107
1105
  selectedLinearElement: LinearElementEditor | null;
1108
1106
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1115,16 +1113,14 @@ export declare const actionChangeFontSize: {
1115
1113
  followedBy: Set<import("../types").SocketId>;
1116
1114
  isCropping: boolean;
1117
1115
  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
- }[];
1116
+ searchMatches: Readonly<{
1117
+ focusedId: string | null;
1118
+ matches: readonly import("../types").SearchMatch[];
1119
+ }> | null;
1120
+ activeLockedId: string | null;
1121
+ lockedMultiSelections: {
1122
+ [groupId: string]: true;
1123
+ };
1128
1124
  };
1129
1125
  captureUpdate: "IMMEDIATELY";
1130
1126
  };
@@ -1151,7 +1147,7 @@ export declare const actionDecreaseFontSize: {
1151
1147
  errorMessage: import("react").ReactNode;
1152
1148
  activeEmbeddable: {
1153
1149
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1154
- state: "hover" | "active";
1150
+ state: "active" | "hover";
1155
1151
  } | null;
1156
1152
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1157
1153
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1159,7 +1155,7 @@ export declare const actionDecreaseFontSize: {
1159
1155
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1160
1156
  isBindingEnabled: boolean;
1161
1157
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1162
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1158
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1163
1159
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1164
1160
  frameRendering: {
1165
1161
  enabled: boolean;
@@ -1174,6 +1170,7 @@ export declare const actionDecreaseFontSize: {
1174
1170
  activeTool: {
1175
1171
  lastActiveTool: import("../types").ActiveTool | null;
1176
1172
  locked: boolean;
1173
+ fromSelection: boolean;
1177
1174
  } & import("../types").ActiveTool;
1178
1175
  penMode: boolean;
1179
1176
  penDetected: boolean;
@@ -1206,7 +1203,7 @@ export declare const actionDecreaseFontSize: {
1206
1203
  zoom: Readonly<{
1207
1204
  value: import("../types").NormalizedZoomValue;
1208
1205
  }>;
1209
- openMenu: "shape" | "canvas" | null;
1206
+ openMenu: "canvas" | "shape" | null;
1210
1207
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1211
1208
  openSidebar: {
1212
1209
  name: string;
@@ -1216,7 +1213,7 @@ export declare const actionDecreaseFontSize: {
1216
1213
  name: "imageExport" | "help" | "jsonExport";
1217
1214
  } | {
1218
1215
  name: "ttd";
1219
- tab: "text-to-diagram" | "mermaid";
1216
+ tab: "mermaid" | "text-to-diagram";
1220
1217
  } | {
1221
1218
  name: "commandPalette";
1222
1219
  } | {
@@ -1288,7 +1285,6 @@ export declare const actionDecreaseFontSize: {
1288
1285
  shown: true;
1289
1286
  data: import("../charts").Spreadsheet;
1290
1287
  };
1291
- pendingImageElementId: string | null;
1292
1288
  showHyperlinkPopup: false | "editor" | "info";
1293
1289
  selectedLinearElement: LinearElementEditor | null;
1294
1290
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1301,16 +1297,14 @@ export declare const actionDecreaseFontSize: {
1301
1297
  followedBy: Set<import("../types").SocketId>;
1302
1298
  isCropping: boolean;
1303
1299
  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
- }[];
1300
+ searchMatches: Readonly<{
1301
+ focusedId: string | null;
1302
+ matches: readonly import("../types").SearchMatch[];
1303
+ }> | null;
1304
+ activeLockedId: string | null;
1305
+ lockedMultiSelections: {
1306
+ [groupId: string]: true;
1307
+ };
1314
1308
  };
1315
1309
  captureUpdate: "IMMEDIATELY";
1316
1310
  };
@@ -1337,7 +1331,7 @@ export declare const actionIncreaseFontSize: {
1337
1331
  errorMessage: import("react").ReactNode;
1338
1332
  activeEmbeddable: {
1339
1333
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1340
- state: "hover" | "active";
1334
+ state: "active" | "hover";
1341
1335
  } | null;
1342
1336
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1343
1337
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1345,7 +1339,7 @@ export declare const actionIncreaseFontSize: {
1345
1339
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1346
1340
  isBindingEnabled: boolean;
1347
1341
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1348
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1342
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1349
1343
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1350
1344
  frameRendering: {
1351
1345
  enabled: boolean;
@@ -1360,6 +1354,7 @@ export declare const actionIncreaseFontSize: {
1360
1354
  activeTool: {
1361
1355
  lastActiveTool: import("../types").ActiveTool | null;
1362
1356
  locked: boolean;
1357
+ fromSelection: boolean;
1363
1358
  } & import("../types").ActiveTool;
1364
1359
  penMode: boolean;
1365
1360
  penDetected: boolean;
@@ -1392,7 +1387,7 @@ export declare const actionIncreaseFontSize: {
1392
1387
  zoom: Readonly<{
1393
1388
  value: import("../types").NormalizedZoomValue;
1394
1389
  }>;
1395
- openMenu: "shape" | "canvas" | null;
1390
+ openMenu: "canvas" | "shape" | null;
1396
1391
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1397
1392
  openSidebar: {
1398
1393
  name: string;
@@ -1402,7 +1397,7 @@ export declare const actionIncreaseFontSize: {
1402
1397
  name: "imageExport" | "help" | "jsonExport";
1403
1398
  } | {
1404
1399
  name: "ttd";
1405
- tab: "text-to-diagram" | "mermaid";
1400
+ tab: "mermaid" | "text-to-diagram";
1406
1401
  } | {
1407
1402
  name: "commandPalette";
1408
1403
  } | {
@@ -1474,7 +1469,6 @@ export declare const actionIncreaseFontSize: {
1474
1469
  shown: true;
1475
1470
  data: import("../charts").Spreadsheet;
1476
1471
  };
1477
- pendingImageElementId: string | null;
1478
1472
  showHyperlinkPopup: false | "editor" | "info";
1479
1473
  selectedLinearElement: LinearElementEditor | null;
1480
1474
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1487,16 +1481,14 @@ export declare const actionIncreaseFontSize: {
1487
1481
  followedBy: Set<import("../types").SocketId>;
1488
1482
  isCropping: boolean;
1489
1483
  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
- }[];
1484
+ searchMatches: Readonly<{
1485
+ focusedId: string | null;
1486
+ matches: readonly import("../types").SearchMatch[];
1487
+ }> | null;
1488
+ activeLockedId: string | null;
1489
+ lockedMultiSelections: {
1490
+ [groupId: string]: true;
1491
+ };
1500
1492
  };
1501
1493
  captureUpdate: "IMMEDIATELY";
1502
1494
  };
@@ -1510,8 +1502,8 @@ export declare const actionChangeFontFamily: {
1510
1502
  trackEvent: false;
1511
1503
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
1512
1504
  appState: {
1513
- currentHoveredFontFamily: number | null;
1514
1505
  currentItemFontFamily: number;
1506
+ currentHoveredFontFamily: number | null;
1515
1507
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1516
1508
  contextMenu: {
1517
1509
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -1523,7 +1515,7 @@ export declare const actionChangeFontFamily: {
1523
1515
  errorMessage: import("react").ReactNode;
1524
1516
  activeEmbeddable: {
1525
1517
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1526
- state: "hover" | "active";
1518
+ state: "active" | "hover";
1527
1519
  } | null;
1528
1520
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1529
1521
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1531,7 +1523,7 @@ export declare const actionChangeFontFamily: {
1531
1523
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1532
1524
  isBindingEnabled: boolean;
1533
1525
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1534
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1526
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1535
1527
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1536
1528
  frameRendering: {
1537
1529
  enabled: boolean;
@@ -1546,6 +1538,7 @@ export declare const actionChangeFontFamily: {
1546
1538
  activeTool: {
1547
1539
  lastActiveTool: import("../types").ActiveTool | null;
1548
1540
  locked: boolean;
1541
+ fromSelection: boolean;
1549
1542
  } & import("../types").ActiveTool;
1550
1543
  penMode: boolean;
1551
1544
  penDetected: boolean;
@@ -1577,7 +1570,7 @@ export declare const actionChangeFontFamily: {
1577
1570
  zoom: Readonly<{
1578
1571
  value: import("../types").NormalizedZoomValue;
1579
1572
  }>;
1580
- openMenu: "shape" | "canvas" | null;
1573
+ openMenu: "canvas" | "shape" | null;
1581
1574
  openSidebar: {
1582
1575
  name: string;
1583
1576
  tab?: string | undefined;
@@ -1586,7 +1579,7 @@ export declare const actionChangeFontFamily: {
1586
1579
  name: "imageExport" | "help" | "jsonExport";
1587
1580
  } | {
1588
1581
  name: "ttd";
1589
- tab: "text-to-diagram" | "mermaid";
1582
+ tab: "mermaid" | "text-to-diagram";
1590
1583
  } | {
1591
1584
  name: "commandPalette";
1592
1585
  } | {
@@ -1658,7 +1651,6 @@ export declare const actionChangeFontFamily: {
1658
1651
  shown: true;
1659
1652
  data: import("../charts").Spreadsheet;
1660
1653
  };
1661
- pendingImageElementId: string | null;
1662
1654
  showHyperlinkPopup: false | "editor" | "info";
1663
1655
  selectedLinearElement: LinearElementEditor | null;
1664
1656
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1671,23 +1663,21 @@ export declare const actionChangeFontFamily: {
1671
1663
  followedBy: Set<import("../types").SocketId>;
1672
1664
  isCropping: boolean;
1673
1665
  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
- }[];
1666
+ searchMatches: Readonly<{
1667
+ focusedId: string | null;
1668
+ matches: readonly import("../types").SearchMatch[];
1669
+ }> | null;
1670
+ activeLockedId: string | null;
1671
+ lockedMultiSelections: {
1672
+ [groupId: string]: true;
1673
+ };
1684
1674
  };
1685
1675
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1686
1676
  } | {
1687
1677
  elements: ExcalidrawElement[];
1688
1678
  appState: {
1689
- currentHoveredFontFamily: number | null;
1690
1679
  currentItemFontFamily: number;
1680
+ currentHoveredFontFamily: number | null;
1691
1681
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1692
1682
  contextMenu: {
1693
1683
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -1699,7 +1689,7 @@ export declare const actionChangeFontFamily: {
1699
1689
  errorMessage: import("react").ReactNode;
1700
1690
  activeEmbeddable: {
1701
1691
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1702
- state: "hover" | "active";
1692
+ state: "active" | "hover";
1703
1693
  } | null;
1704
1694
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1705
1695
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1707,7 +1697,7 @@ export declare const actionChangeFontFamily: {
1707
1697
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1708
1698
  isBindingEnabled: boolean;
1709
1699
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1710
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1700
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1711
1701
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1712
1702
  frameRendering: {
1713
1703
  enabled: boolean;
@@ -1722,6 +1712,7 @@ export declare const actionChangeFontFamily: {
1722
1712
  activeTool: {
1723
1713
  lastActiveTool: import("../types").ActiveTool | null;
1724
1714
  locked: boolean;
1715
+ fromSelection: boolean;
1725
1716
  } & import("../types").ActiveTool;
1726
1717
  penMode: boolean;
1727
1718
  penDetected: boolean;
@@ -1753,7 +1744,7 @@ export declare const actionChangeFontFamily: {
1753
1744
  zoom: Readonly<{
1754
1745
  value: import("../types").NormalizedZoomValue;
1755
1746
  }>;
1756
- openMenu: "shape" | "canvas" | null;
1747
+ openMenu: "canvas" | "shape" | null;
1757
1748
  openSidebar: {
1758
1749
  name: string;
1759
1750
  tab?: string | undefined;
@@ -1762,7 +1753,7 @@ export declare const actionChangeFontFamily: {
1762
1753
  name: "imageExport" | "help" | "jsonExport";
1763
1754
  } | {
1764
1755
  name: "ttd";
1765
- tab: "text-to-diagram" | "mermaid";
1756
+ tab: "mermaid" | "text-to-diagram";
1766
1757
  } | {
1767
1758
  name: "commandPalette";
1768
1759
  } | {
@@ -1834,7 +1825,6 @@ export declare const actionChangeFontFamily: {
1834
1825
  shown: true;
1835
1826
  data: import("../charts").Spreadsheet;
1836
1827
  };
1837
- pendingImageElementId: string | null;
1838
1828
  showHyperlinkPopup: false | "editor" | "info";
1839
1829
  selectedLinearElement: LinearElementEditor | null;
1840
1830
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1847,16 +1837,14 @@ export declare const actionChangeFontFamily: {
1847
1837
  followedBy: Set<import("../types").SocketId>;
1848
1838
  isCropping: boolean;
1849
1839
  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
- }[];
1840
+ searchMatches: Readonly<{
1841
+ focusedId: string | null;
1842
+ matches: readonly import("../types").SearchMatch[];
1843
+ }> | null;
1844
+ activeLockedId: string | null;
1845
+ lockedMultiSelections: {
1846
+ [groupId: string]: true;
1847
+ };
1860
1848
  };
1861
1849
  captureUpdate: "NEVER";
1862
1850
  };
@@ -1882,7 +1870,7 @@ export declare const actionChangeTextAlign: {
1882
1870
  errorMessage: import("react").ReactNode;
1883
1871
  activeEmbeddable: {
1884
1872
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1885
- state: "hover" | "active";
1873
+ state: "active" | "hover";
1886
1874
  } | null;
1887
1875
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1888
1876
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1890,7 +1878,7 @@ export declare const actionChangeTextAlign: {
1890
1878
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1891
1879
  isBindingEnabled: boolean;
1892
1880
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1893
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1881
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1894
1882
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1895
1883
  frameRendering: {
1896
1884
  enabled: boolean;
@@ -1905,6 +1893,7 @@ export declare const actionChangeTextAlign: {
1905
1893
  activeTool: {
1906
1894
  lastActiveTool: import("../types").ActiveTool | null;
1907
1895
  locked: boolean;
1896
+ fromSelection: boolean;
1908
1897
  } & import("../types").ActiveTool;
1909
1898
  penMode: boolean;
1910
1899
  penDetected: boolean;
@@ -1937,7 +1926,7 @@ export declare const actionChangeTextAlign: {
1937
1926
  zoom: Readonly<{
1938
1927
  value: import("../types").NormalizedZoomValue;
1939
1928
  }>;
1940
- openMenu: "shape" | "canvas" | null;
1929
+ openMenu: "canvas" | "shape" | null;
1941
1930
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1942
1931
  openSidebar: {
1943
1932
  name: string;
@@ -1947,7 +1936,7 @@ export declare const actionChangeTextAlign: {
1947
1936
  name: "imageExport" | "help" | "jsonExport";
1948
1937
  } | {
1949
1938
  name: "ttd";
1950
- tab: "text-to-diagram" | "mermaid";
1939
+ tab: "mermaid" | "text-to-diagram";
1951
1940
  } | {
1952
1941
  name: "commandPalette";
1953
1942
  } | {
@@ -2019,7 +2008,6 @@ export declare const actionChangeTextAlign: {
2019
2008
  shown: true;
2020
2009
  data: import("../charts").Spreadsheet;
2021
2010
  };
2022
- pendingImageElementId: string | null;
2023
2011
  showHyperlinkPopup: false | "editor" | "info";
2024
2012
  selectedLinearElement: LinearElementEditor | null;
2025
2013
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2032,16 +2020,14 @@ export declare const actionChangeTextAlign: {
2032
2020
  followedBy: Set<import("../types").SocketId>;
2033
2021
  isCropping: boolean;
2034
2022
  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
- }[];
2023
+ searchMatches: Readonly<{
2024
+ focusedId: string | null;
2025
+ matches: readonly import("../types").SearchMatch[];
2026
+ }> | null;
2027
+ activeLockedId: string | null;
2028
+ lockedMultiSelections: {
2029
+ [groupId: string]: true;
2030
+ };
2045
2031
  };
2046
2032
  captureUpdate: "IMMEDIATELY";
2047
2033
  };
@@ -2068,7 +2054,7 @@ export declare const actionChangeVerticalAlign: {
2068
2054
  errorMessage: import("react").ReactNode;
2069
2055
  activeEmbeddable: {
2070
2056
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2071
- state: "hover" | "active";
2057
+ state: "active" | "hover";
2072
2058
  } | null;
2073
2059
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2074
2060
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2076,7 +2062,7 @@ export declare const actionChangeVerticalAlign: {
2076
2062
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2077
2063
  isBindingEnabled: boolean;
2078
2064
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2079
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2065
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2080
2066
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2081
2067
  frameRendering: {
2082
2068
  enabled: boolean;
@@ -2091,6 +2077,7 @@ export declare const actionChangeVerticalAlign: {
2091
2077
  activeTool: {
2092
2078
  lastActiveTool: import("../types").ActiveTool | null;
2093
2079
  locked: boolean;
2080
+ fromSelection: boolean;
2094
2081
  } & import("../types").ActiveTool;
2095
2082
  penMode: boolean;
2096
2083
  penDetected: boolean;
@@ -2124,7 +2111,7 @@ export declare const actionChangeVerticalAlign: {
2124
2111
  zoom: Readonly<{
2125
2112
  value: import("../types").NormalizedZoomValue;
2126
2113
  }>;
2127
- openMenu: "shape" | "canvas" | null;
2114
+ openMenu: "canvas" | "shape" | null;
2128
2115
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2129
2116
  openSidebar: {
2130
2117
  name: string;
@@ -2134,7 +2121,7 @@ export declare const actionChangeVerticalAlign: {
2134
2121
  name: "imageExport" | "help" | "jsonExport";
2135
2122
  } | {
2136
2123
  name: "ttd";
2137
- tab: "text-to-diagram" | "mermaid";
2124
+ tab: "mermaid" | "text-to-diagram";
2138
2125
  } | {
2139
2126
  name: "commandPalette";
2140
2127
  } | {
@@ -2206,7 +2193,6 @@ export declare const actionChangeVerticalAlign: {
2206
2193
  shown: true;
2207
2194
  data: import("../charts").Spreadsheet;
2208
2195
  };
2209
- pendingImageElementId: string | null;
2210
2196
  showHyperlinkPopup: false | "editor" | "info";
2211
2197
  selectedLinearElement: LinearElementEditor | null;
2212
2198
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2219,16 +2205,14 @@ export declare const actionChangeVerticalAlign: {
2219
2205
  followedBy: Set<import("../types").SocketId>;
2220
2206
  isCropping: boolean;
2221
2207
  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
- }[];
2208
+ searchMatches: Readonly<{
2209
+ focusedId: string | null;
2210
+ matches: readonly import("../types").SearchMatch[];
2211
+ }> | null;
2212
+ activeLockedId: string | null;
2213
+ lockedMultiSelections: {
2214
+ [groupId: string]: true;
2215
+ };
2232
2216
  };
2233
2217
  captureUpdate: "IMMEDIATELY";
2234
2218
  };
@@ -2254,7 +2238,7 @@ export declare const actionChangeRoundness: {
2254
2238
  errorMessage: import("react").ReactNode;
2255
2239
  activeEmbeddable: {
2256
2240
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2257
- state: "hover" | "active";
2241
+ state: "active" | "hover";
2258
2242
  } | null;
2259
2243
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2260
2244
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2262,7 +2246,7 @@ export declare const actionChangeRoundness: {
2262
2246
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2263
2247
  isBindingEnabled: boolean;
2264
2248
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2265
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2249
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2266
2250
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2267
2251
  frameRendering: {
2268
2252
  enabled: boolean;
@@ -2277,6 +2261,7 @@ export declare const actionChangeRoundness: {
2277
2261
  activeTool: {
2278
2262
  lastActiveTool: import("../types").ActiveTool | null;
2279
2263
  locked: boolean;
2264
+ fromSelection: boolean;
2280
2265
  } & import("../types").ActiveTool;
2281
2266
  penMode: boolean;
2282
2267
  penDetected: boolean;
@@ -2309,7 +2294,7 @@ export declare const actionChangeRoundness: {
2309
2294
  zoom: Readonly<{
2310
2295
  value: import("../types").NormalizedZoomValue;
2311
2296
  }>;
2312
- openMenu: "shape" | "canvas" | null;
2297
+ openMenu: "canvas" | "shape" | null;
2313
2298
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2314
2299
  openSidebar: {
2315
2300
  name: string;
@@ -2319,7 +2304,7 @@ export declare const actionChangeRoundness: {
2319
2304
  name: "imageExport" | "help" | "jsonExport";
2320
2305
  } | {
2321
2306
  name: "ttd";
2322
- tab: "text-to-diagram" | "mermaid";
2307
+ tab: "mermaid" | "text-to-diagram";
2323
2308
  } | {
2324
2309
  name: "commandPalette";
2325
2310
  } | {
@@ -2391,7 +2376,6 @@ export declare const actionChangeRoundness: {
2391
2376
  shown: true;
2392
2377
  data: import("../charts").Spreadsheet;
2393
2378
  };
2394
- pendingImageElementId: string | null;
2395
2379
  showHyperlinkPopup: false | "editor" | "info";
2396
2380
  selectedLinearElement: LinearElementEditor | null;
2397
2381
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2404,20 +2388,18 @@ export declare const actionChangeRoundness: {
2404
2388
  followedBy: Set<import("../types").SocketId>;
2405
2389
  isCropping: boolean;
2406
2390
  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
- }[];
2391
+ searchMatches: Readonly<{
2392
+ focusedId: string | null;
2393
+ matches: readonly import("../types").SearchMatch[];
2394
+ }> | null;
2395
+ activeLockedId: string | null;
2396
+ lockedMultiSelections: {
2397
+ [groupId: string]: true;
2398
+ };
2417
2399
  };
2418
2400
  captureUpdate: "IMMEDIATELY";
2419
2401
  };
2420
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2402
+ PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2421
2403
  } & {
2422
2404
  keyTest?: undefined;
2423
2405
  };
@@ -2441,7 +2423,7 @@ export declare const actionChangeArrowhead: {
2441
2423
  errorMessage: import("react").ReactNode;
2442
2424
  activeEmbeddable: {
2443
2425
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2444
- state: "hover" | "active";
2426
+ state: "active" | "hover";
2445
2427
  } | null;
2446
2428
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2447
2429
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2449,7 +2431,7 @@ export declare const actionChangeArrowhead: {
2449
2431
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2450
2432
  isBindingEnabled: boolean;
2451
2433
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2452
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2434
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2453
2435
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2454
2436
  frameRendering: {
2455
2437
  enabled: boolean;
@@ -2464,6 +2446,7 @@ export declare const actionChangeArrowhead: {
2464
2446
  activeTool: {
2465
2447
  lastActiveTool: import("../types").ActiveTool | null;
2466
2448
  locked: boolean;
2449
+ fromSelection: boolean;
2467
2450
  } & import("../types").ActiveTool;
2468
2451
  penMode: boolean;
2469
2452
  penDetected: boolean;
@@ -2497,7 +2480,7 @@ export declare const actionChangeArrowhead: {
2497
2480
  zoom: Readonly<{
2498
2481
  value: import("../types").NormalizedZoomValue;
2499
2482
  }>;
2500
- openMenu: "shape" | "canvas" | null;
2483
+ openMenu: "canvas" | "shape" | null;
2501
2484
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2502
2485
  openSidebar: {
2503
2486
  name: string;
@@ -2507,7 +2490,7 @@ export declare const actionChangeArrowhead: {
2507
2490
  name: "imageExport" | "help" | "jsonExport";
2508
2491
  } | {
2509
2492
  name: "ttd";
2510
- tab: "text-to-diagram" | "mermaid";
2493
+ tab: "mermaid" | "text-to-diagram";
2511
2494
  } | {
2512
2495
  name: "commandPalette";
2513
2496
  } | {
@@ -2579,7 +2562,6 @@ export declare const actionChangeArrowhead: {
2579
2562
  shown: true;
2580
2563
  data: import("../charts").Spreadsheet;
2581
2564
  };
2582
- pendingImageElementId: string | null;
2583
2565
  showHyperlinkPopup: false | "editor" | "info";
2584
2566
  selectedLinearElement: LinearElementEditor | null;
2585
2567
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2592,20 +2574,18 @@ export declare const actionChangeArrowhead: {
2592
2574
  followedBy: Set<import("../types").SocketId>;
2593
2575
  isCropping: boolean;
2594
2576
  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
- }[];
2577
+ searchMatches: Readonly<{
2578
+ focusedId: string | null;
2579
+ matches: readonly import("../types").SearchMatch[];
2580
+ }> | null;
2581
+ activeLockedId: string | null;
2582
+ lockedMultiSelections: {
2583
+ [groupId: string]: true;
2584
+ };
2605
2585
  };
2606
2586
  captureUpdate: "IMMEDIATELY";
2607
2587
  };
2608
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2588
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2609
2589
  } & {
2610
2590
  keyTest?: undefined;
2611
2591
  };
@@ -2627,7 +2607,7 @@ export declare const actionChangeArrowType: {
2627
2607
  errorMessage: import("react").ReactNode;
2628
2608
  activeEmbeddable: {
2629
2609
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2630
- state: "hover" | "active";
2610
+ state: "active" | "hover";
2631
2611
  } | null;
2632
2612
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2633
2613
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2635,7 +2615,7 @@ export declare const actionChangeArrowType: {
2635
2615
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2636
2616
  isBindingEnabled: boolean;
2637
2617
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2638
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2618
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2639
2619
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2640
2620
  frameRendering: {
2641
2621
  enabled: boolean;
@@ -2650,6 +2630,7 @@ export declare const actionChangeArrowType: {
2650
2630
  activeTool: {
2651
2631
  lastActiveTool: import("../types").ActiveTool | null;
2652
2632
  locked: boolean;
2633
+ fromSelection: boolean;
2653
2634
  } & import("../types").ActiveTool;
2654
2635
  penMode: boolean;
2655
2636
  penDetected: boolean;
@@ -2682,7 +2663,7 @@ export declare const actionChangeArrowType: {
2682
2663
  zoom: Readonly<{
2683
2664
  value: import("../types").NormalizedZoomValue;
2684
2665
  }>;
2685
- openMenu: "shape" | "canvas" | null;
2666
+ openMenu: "canvas" | "shape" | null;
2686
2667
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2687
2668
  openSidebar: {
2688
2669
  name: string;
@@ -2692,7 +2673,7 @@ export declare const actionChangeArrowType: {
2692
2673
  name: "imageExport" | "help" | "jsonExport";
2693
2674
  } | {
2694
2675
  name: "ttd";
2695
- tab: "text-to-diagram" | "mermaid";
2676
+ tab: "mermaid" | "text-to-diagram";
2696
2677
  } | {
2697
2678
  name: "commandPalette";
2698
2679
  } | {
@@ -2764,7 +2745,6 @@ export declare const actionChangeArrowType: {
2764
2745
  shown: true;
2765
2746
  data: import("../charts").Spreadsheet;
2766
2747
  };
2767
- pendingImageElementId: string | null;
2768
2748
  showHyperlinkPopup: false | "editor" | "info";
2769
2749
  selectedLinearElement: LinearElementEditor | null;
2770
2750
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2777,20 +2757,18 @@ export declare const actionChangeArrowType: {
2777
2757
  followedBy: Set<import("../types").SocketId>;
2778
2758
  isCropping: boolean;
2779
2759
  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
- }[];
2760
+ searchMatches: Readonly<{
2761
+ focusedId: string | null;
2762
+ matches: readonly import("../types").SearchMatch[];
2763
+ }> | null;
2764
+ activeLockedId: string | null;
2765
+ lockedMultiSelections: {
2766
+ [groupId: string]: true;
2767
+ };
2790
2768
  };
2791
2769
  captureUpdate: "IMMEDIATELY";
2792
2770
  };
2793
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2771
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2794
2772
  } & {
2795
2773
  keyTest?: undefined;
2796
2774
  };