@excalidraw/excalidraw 0.18.0-91c7748 → 0.18.0-9ba0f5d

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 (536) hide show
  1. package/dist/dev/{chunk-FB2NA5UG.js → chunk-6JJSWC4C.js} +1 -1
  2. package/dist/dev/{chunk-FB2NA5UG.js.map → chunk-6JJSWC4C.js.map} +2 -2
  3. package/dist/dev/chunk-DJHLEOOZ.js +69 -0
  4. package/dist/dev/chunk-DJHLEOOZ.js.map +7 -0
  5. package/dist/dev/{chunk-QF5FRM6O.js → chunk-MNO2YU5M.js} +101 -27
  6. package/dist/dev/chunk-MNO2YU5M.js.map +7 -0
  7. package/dist/dev/{chunk-LJB4UXX2.js → chunk-PW6TXCLQ.js} +311 -463
  8. package/dist/dev/chunk-PW6TXCLQ.js.map +7 -0
  9. package/dist/dev/{chunk-CP5DND7P.js → chunk-Y3BTNZQY.js} +2 -2
  10. package/dist/dev/data/{image-OLV524AK.js → image-2BHUUSLM.js} +3 -3
  11. package/dist/dev/index.css +2077 -1076
  12. package/dist/dev/index.css.map +3 -3
  13. package/dist/dev/index.js +10972 -7971
  14. package/dist/dev/index.js.map +4 -4
  15. package/dist/dev/locales/{ar-SA-XORAP2EK.js → ar-SA-JK5MQ7TT.js} +300 -142
  16. package/dist/dev/locales/ar-SA-JK5MQ7TT.js.map +7 -0
  17. package/dist/dev/locales/{az-AZ-NAUU3Z4Y.js → az-AZ-2PAD62G4.js} +241 -83
  18. package/dist/dev/locales/az-AZ-2PAD62G4.js.map +7 -0
  19. package/dist/dev/locales/{bg-BG-AAABLFCY.js → bg-BG-HUKVYCRK.js} +229 -71
  20. package/dist/dev/locales/bg-BG-HUKVYCRK.js.map +7 -0
  21. package/dist/dev/locales/{bn-BD-PM4AC5WG.js → bn-BD-V2CQI46P.js} +209 -51
  22. package/dist/dev/locales/bn-BD-V2CQI46P.js.map +7 -0
  23. package/dist/dev/locales/bn-IN-MBEO4C3J.js +744 -0
  24. package/dist/dev/locales/bn-IN-MBEO4C3J.js.map +7 -0
  25. package/dist/dev/locales/{ca-ES-YNNMFRQX.js → ca-ES-KWEKW4C3.js} +275 -117
  26. package/dist/dev/locales/ca-ES-KWEKW4C3.js.map +7 -0
  27. package/dist/dev/locales/{cs-CZ-DGZA5IKG.js → cs-CZ-W5AHZB5H.js} +229 -71
  28. package/dist/dev/locales/cs-CZ-W5AHZB5H.js.map +7 -0
  29. package/dist/dev/locales/{da-DK-N76F4QAJ.js → da-DK-ITTM6YM4.js} +298 -140
  30. package/dist/dev/locales/da-DK-ITTM6YM4.js.map +7 -0
  31. package/dist/dev/locales/de-CH-OAWPDQFJ.js +744 -0
  32. package/dist/dev/locales/de-CH-OAWPDQFJ.js.map +7 -0
  33. package/dist/dev/locales/{de-DE-DMRXZ2SZ.js → de-DE-ZRDYEPMS.js} +199 -41
  34. package/dist/dev/locales/de-DE-ZRDYEPMS.js.map +7 -0
  35. package/dist/dev/locales/{el-GR-HIKPLEXI.js → el-GR-QXASZLPE.js} +274 -116
  36. package/dist/dev/locales/el-GR-QXASZLPE.js.map +7 -0
  37. package/dist/dev/locales/{en-SMAPCEOQ.js → en-JRVQ7H6V.js} +8 -2
  38. package/dist/dev/locales/{es-ES-AQYVXC32.js → es-ES-VLQBB7FJ.js} +212 -54
  39. package/dist/dev/locales/es-ES-VLQBB7FJ.js.map +7 -0
  40. package/dist/dev/locales/{eu-ES-3TOEU5DE.js → eu-ES-TF2DGTZU.js} +210 -52
  41. package/dist/dev/locales/eu-ES-TF2DGTZU.js.map +7 -0
  42. package/dist/dev/locales/{fa-IR-527GAKUP.js → fa-IR-ITKFQ7QV.js} +286 -128
  43. package/dist/dev/locales/fa-IR-ITKFQ7QV.js.map +7 -0
  44. package/dist/dev/locales/{fi-FI-M3WLVDFP.js → fi-FI-UWZRVXFI.js} +240 -82
  45. package/dist/dev/locales/fi-FI-UWZRVXFI.js.map +7 -0
  46. package/dist/dev/locales/{fr-FR-YE4VDJFI.js → fr-FR-A72LKGCO.js} +203 -45
  47. package/dist/dev/locales/fr-FR-A72LKGCO.js.map +7 -0
  48. package/dist/dev/locales/{gl-ES-KMXUYGUN.js → gl-ES-2QCVIBFP.js} +212 -54
  49. package/dist/dev/locales/gl-ES-2QCVIBFP.js.map +7 -0
  50. package/dist/dev/locales/he-IL-WJNUHU26.js +744 -0
  51. package/dist/dev/locales/he-IL-WJNUHU26.js.map +7 -0
  52. package/dist/dev/locales/hi-IN-XGMO235V.js +744 -0
  53. package/dist/dev/locales/hi-IN-XGMO235V.js.map +7 -0
  54. package/dist/dev/locales/{hu-HU-VIYZI3X4.js → hu-HU-37FDQFIS.js} +238 -80
  55. package/dist/dev/locales/hu-HU-37FDQFIS.js.map +7 -0
  56. package/dist/dev/locales/{id-ID-22TWZNLA.js → id-ID-EJIDCO4E.js} +245 -87
  57. package/dist/dev/locales/id-ID-EJIDCO4E.js.map +7 -0
  58. package/dist/dev/locales/{it-IT-MDEQ2SG3.js → it-IT-X34PIOJ2.js} +202 -44
  59. package/dist/dev/locales/it-IT-X34PIOJ2.js.map +7 -0
  60. package/dist/dev/locales/{ja-JP-K2DI4W6B.js → ja-JP-37FC23PR.js} +247 -89
  61. package/dist/dev/locales/ja-JP-37FC23PR.js.map +7 -0
  62. package/dist/dev/locales/{kaa-6BPSNM3R.js → kaa-7ZYDFVKA.js} +202 -44
  63. package/dist/dev/locales/kaa-7ZYDFVKA.js.map +7 -0
  64. package/dist/dev/locales/{kab-KAB-2S7ZURK7.js → kab-KAB-MILWXBA6.js} +210 -52
  65. package/dist/dev/locales/kab-KAB-MILWXBA6.js.map +7 -0
  66. package/dist/dev/locales/{kk-KZ-UJPYGRQQ.js → kk-KZ-7BWTPIAV.js} +175 -17
  67. package/dist/dev/locales/kk-KZ-7BWTPIAV.js.map +7 -0
  68. package/dist/dev/locales/{km-KH-M5T5JKUE.js → km-KH-BV4P2KSZ.js} +198 -40
  69. package/dist/dev/locales/km-KH-BV4P2KSZ.js.map +7 -0
  70. package/dist/dev/locales/{ko-KR-RQX37SNF.js → ko-KR-TSXE5P7B.js} +218 -60
  71. package/dist/dev/locales/ko-KR-TSXE5P7B.js.map +7 -0
  72. package/dist/dev/locales/{ku-TR-5XJDIERL.js → ku-TR-ASSXNN3U.js} +198 -40
  73. package/dist/dev/locales/ku-TR-ASSXNN3U.js.map +7 -0
  74. package/dist/dev/locales/{lt-LT-MGUBX6CA.js → lt-LT-G7RZYQQU.js} +179 -21
  75. package/dist/dev/locales/lt-LT-G7RZYQQU.js.map +7 -0
  76. package/dist/dev/locales/{lv-LV-MD7N5VHD.js → lv-LV-DXNPBJZU.js} +196 -38
  77. package/dist/dev/locales/lv-LV-DXNPBJZU.js.map +7 -0
  78. package/dist/dev/locales/{mr-IN-4XWMNGQC.js → mr-IN-7F2ZCTCF.js} +204 -46
  79. package/dist/dev/locales/mr-IN-7F2ZCTCF.js.map +7 -0
  80. package/dist/dev/locales/{my-MM-O4Z74GN5.js → my-MM-NBI3KQGW.js} +181 -23
  81. package/dist/dev/locales/my-MM-NBI3KQGW.js.map +7 -0
  82. package/dist/dev/locales/{nb-NO-BMB73KRH.js → nb-NO-4DCTQT6L.js} +220 -62
  83. package/dist/dev/locales/nb-NO-4DCTQT6L.js.map +7 -0
  84. package/dist/dev/locales/{nl-NL-F2257BLQ.js → nl-NL-XGZJ7V2V.js} +297 -139
  85. package/dist/dev/locales/nl-NL-XGZJ7V2V.js.map +7 -0
  86. package/dist/dev/locales/{nn-NO-NCORG7TS.js → nn-NO-FR534JV5.js} +201 -43
  87. package/dist/dev/locales/nn-NO-FR534JV5.js.map +7 -0
  88. package/dist/dev/locales/{oc-FR-ATFBDMF6.js → oc-FR-YQCIKZIK.js} +220 -62
  89. package/dist/dev/locales/oc-FR-YQCIKZIK.js.map +7 -0
  90. package/dist/dev/locales/{pa-IN-D2I375G4.js → pa-IN-UM43JGD2.js} +190 -32
  91. package/dist/dev/locales/pa-IN-UM43JGD2.js.map +7 -0
  92. package/dist/dev/locales/{percentages-YKFLWNK2.js → percentages-OGWD7R2K.js} +2 -2
  93. package/dist/dev/locales/{pl-PL-YJHOWAAW.js → pl-PL-2UGKA6HK.js} +214 -56
  94. package/dist/dev/locales/pl-PL-2UGKA6HK.js.map +7 -0
  95. package/dist/dev/locales/{pt-BR-APOPYZJ7.js → pt-BR-H23QFYE3.js} +237 -79
  96. package/dist/dev/locales/pt-BR-H23QFYE3.js.map +7 -0
  97. package/dist/dev/locales/pt-PT-RHKJH5I5.js +744 -0
  98. package/dist/dev/locales/pt-PT-RHKJH5I5.js.map +7 -0
  99. package/dist/dev/locales/{ro-RO-L575VRQA.js → ro-RO-IIFONL3T.js} +203 -45
  100. package/dist/dev/locales/ro-RO-IIFONL3T.js.map +7 -0
  101. package/dist/dev/locales/{ru-RU-BLG6HZG5.js → ru-RU-QEP6D7GK.js} +253 -95
  102. package/dist/dev/locales/ru-RU-QEP6D7GK.js.map +7 -0
  103. package/dist/dev/locales/si-LK-LZYJQLHF.js +744 -0
  104. package/dist/dev/locales/si-LK-LZYJQLHF.js.map +7 -0
  105. package/dist/dev/locales/{sk-SK-DY6IPO5U.js → sk-SK-RWC6UWGY.js} +200 -42
  106. package/dist/dev/locales/sk-SK-RWC6UWGY.js.map +7 -0
  107. package/dist/dev/locales/{sl-SI-5DZSRA47.js → sl-SI-QJT2CAUO.js} +197 -39
  108. package/dist/dev/locales/sl-SI-QJT2CAUO.js.map +7 -0
  109. package/dist/dev/locales/{sv-SE-V32YHALQ.js → sv-SE-3MAT3NDX.js} +202 -44
  110. package/dist/dev/locales/sv-SE-3MAT3NDX.js.map +7 -0
  111. package/dist/dev/locales/{ta-IN-5JRAGQAO.js → ta-IN-J7XOYF2T.js} +257 -99
  112. package/dist/dev/locales/ta-IN-J7XOYF2T.js.map +7 -0
  113. package/dist/dev/locales/{th-TH-55ACRHDJ.js → th-TH-2OI52EOQ.js} +289 -131
  114. package/dist/dev/locales/th-TH-2OI52EOQ.js.map +7 -0
  115. package/dist/dev/locales/{tr-TR-7QYBXDBO.js → tr-TR-G7TAUHUI.js} +257 -99
  116. package/dist/dev/locales/tr-TR-G7TAUHUI.js.map +7 -0
  117. package/dist/dev/locales/{uk-UA-TJS2TMRH.js → uk-UA-IVSVBJIG.js} +229 -71
  118. package/dist/dev/locales/uk-UA-IVSVBJIG.js.map +7 -0
  119. package/dist/dev/locales/{si-LK-KT7GGO6D.js → uz-UZ-KCVDUVDE.js} +212 -54
  120. package/dist/dev/locales/uz-UZ-KCVDUVDE.js.map +7 -0
  121. package/dist/dev/locales/vi-VN-KBZAVWP5.js +744 -0
  122. package/dist/dev/locales/vi-VN-KBZAVWP5.js.map +7 -0
  123. package/dist/dev/locales/{zh-CN-4MXUOFTH.js → zh-CN-IS26RG2D.js} +199 -41
  124. package/dist/dev/locales/zh-CN-IS26RG2D.js.map +7 -0
  125. package/dist/dev/locales/{zh-HK-RBTGIU3U.js → zh-HK-KBWQ6SJC.js} +175 -17
  126. package/dist/dev/locales/zh-HK-KBWQ6SJC.js.map +7 -0
  127. package/dist/dev/locales/{zh-TW-U5VF4CCU.js → zh-TW-JKJWJQ4J.js} +204 -46
  128. package/dist/dev/locales/zh-TW-JKJWJQ4J.js.map +7 -0
  129. package/dist/dev/subset-shared.chunk.js +2 -2
  130. package/dist/dev/subset-worker.chunk.js +2 -2
  131. package/dist/prod/chunk-AJI3LATG.js +1 -0
  132. package/dist/prod/chunk-COMIBRVY.js +12 -0
  133. package/dist/prod/chunk-R7EP47KM.js +4 -0
  134. package/dist/prod/{chunk-LS7FJGPW.js → chunk-Z5NKEFVG.js} +8 -8
  135. package/dist/prod/data/{image-IFOCRD4I.js → image-WVUQOLPF.js} +1 -1
  136. package/dist/prod/index.css +1 -1
  137. package/dist/prod/index.js +35 -25
  138. package/dist/prod/locales/ar-SA-IYHKZRSE.js +8 -0
  139. package/dist/prod/locales/az-AZ-WL5GYRHK.js +1 -0
  140. package/dist/prod/locales/bg-BG-FXZYTRPD.js +5 -0
  141. package/dist/prod/locales/bn-BD-KO6YL5G2.js +3 -0
  142. package/dist/prod/locales/bn-IN-PC6JHKYB.js +3 -0
  143. package/dist/prod/locales/ca-ES-AREX5NEO.js +8 -0
  144. package/dist/prod/locales/cs-CZ-HXAZMFYH.js +7 -0
  145. package/dist/prod/locales/da-DK-5X7ZLFU3.js +2 -0
  146. package/dist/prod/locales/de-CH-76ZNVSOF.js +7 -0
  147. package/dist/prod/locales/de-DE-G3JVZ4MQ.js +7 -0
  148. package/dist/prod/locales/el-GR-4AZTZGY6.js +7 -0
  149. package/dist/prod/locales/en-TSRAEZ4E.js +1 -0
  150. package/dist/prod/locales/es-ES-ART7BI3G.js +7 -0
  151. package/dist/prod/locales/eu-ES-BIF4XBMT.js +7 -0
  152. package/dist/prod/locales/fa-IR-D4HHKAAI.js +9 -0
  153. package/dist/prod/locales/fi-FI-O35ZY7UI.js +6 -0
  154. package/dist/prod/locales/fr-FR-XEFNCM4I.js +12 -0
  155. package/dist/prod/locales/gl-ES-U4NYM3X5.js +6 -0
  156. package/dist/prod/locales/he-IL-656ABAVQ.js +8 -0
  157. package/dist/prod/locales/hi-IN-Z55GAFFR.js +3 -0
  158. package/dist/prod/locales/hu-HU-UJ62DVIW.js +3 -0
  159. package/dist/prod/locales/id-ID-FLZFU3OO.js +8 -0
  160. package/dist/prod/locales/it-IT-GIGIGIBJ.js +12 -0
  161. package/dist/prod/locales/ja-JP-43VXGDWI.js +7 -0
  162. package/dist/prod/locales/kaa-L3IMSDYL.js +1 -0
  163. package/dist/prod/locales/kab-KAB-XKPWJLNL.js +4 -0
  164. package/dist/prod/locales/kk-KZ-SXPDDY2H.js +1 -0
  165. package/dist/prod/locales/km-KH-DOS4CPGC.js +7 -0
  166. package/dist/prod/locales/ko-KR-BGC6VCY4.js +5 -0
  167. package/dist/prod/locales/ku-TR-J7IUITIA.js +6 -0
  168. package/dist/prod/locales/lt-LT-AC3LV5KG.js +3 -0
  169. package/dist/prod/locales/lv-LV-I6AY7QG2.js +4 -0
  170. package/dist/prod/locales/mr-IN-5SP4HV5B.js +9 -0
  171. package/dist/prod/locales/my-MM-S7ECRBYZ.js +1 -0
  172. package/dist/prod/locales/nb-NO-6PNHTF4R.js +8 -0
  173. package/dist/prod/locales/nl-NL-R4C4SUIG.js +13 -0
  174. package/dist/prod/locales/nn-NO-3TFXTM7Y.js +4 -0
  175. package/dist/prod/locales/oc-FR-IK6GIE7H.js +4 -0
  176. package/dist/prod/locales/pa-IN-YAKHYJET.js +4 -0
  177. package/dist/prod/locales/percentages-OL6W367U.js +1 -0
  178. package/dist/prod/locales/pl-PL-BIY22ZWU.js +12 -0
  179. package/dist/prod/locales/pt-BR-Q23NUPD6.js +6 -0
  180. package/dist/prod/locales/pt-PT-LOPEJLPJ.js +8 -0
  181. package/dist/prod/locales/ro-RO-W3D2ZATV.js +12 -0
  182. package/dist/prod/locales/ru-RU-DCTW7QSH.js +10 -0
  183. package/dist/prod/locales/si-LK-FYRRHO3C.js +1 -0
  184. package/dist/prod/locales/sk-SK-MC7UOHQO.js +7 -0
  185. package/dist/prod/locales/sl-SI-L6B6HFY5.js +6 -0
  186. package/dist/prod/locales/sv-SE-KMY6L2BA.js +8 -0
  187. package/dist/prod/locales/ta-IN-ZQCYE2JK.js +6 -0
  188. package/dist/prod/locales/th-TH-WS7ECBAV.js +1 -0
  189. package/dist/prod/locales/tr-TR-S5FI7JRW.js +4 -0
  190. package/dist/prod/locales/uk-UA-4EZUWUSQ.js +6 -0
  191. package/dist/prod/locales/uz-UZ-OKHL6AFA.js +1 -0
  192. package/dist/prod/locales/vi-VN-K34TWHF7.js +7 -0
  193. package/dist/prod/locales/zh-CN-JE4UZWNO.js +11 -0
  194. package/dist/prod/locales/zh-HK-RM35YDXX.js +1 -0
  195. package/dist/prod/locales/zh-TW-ONGLV6Y5.js +9 -0
  196. package/dist/prod/subset-shared.chunk.js +1 -1
  197. package/dist/prod/subset-worker.chunk.js +1 -1
  198. package/dist/types/common/src/bounds.d.ts +10 -0
  199. package/dist/types/common/src/colors.d.ts +59 -39
  200. package/dist/types/common/src/constants.d.ts +19 -27
  201. package/dist/types/common/src/editorInterface.d.ts +34 -0
  202. package/dist/types/common/src/font-metadata.d.ts +1 -3
  203. package/dist/types/common/src/index.d.ts +2 -0
  204. package/dist/types/common/src/keys.d.ts +1 -1
  205. package/dist/types/common/src/utility-types.d.ts +0 -1
  206. package/dist/types/common/src/utils.d.ts +49 -35
  207. package/dist/types/element/src/Scene.d.ts +3 -3
  208. package/dist/types/element/src/binding.d.ts +58 -44
  209. package/dist/types/element/src/bounds.d.ts +2 -10
  210. package/dist/types/element/src/collision.d.ts +6 -2
  211. package/dist/types/element/src/comparisons.d.ts +7 -7
  212. package/dist/types/element/src/dragElements.d.ts +3 -3
  213. package/dist/types/element/src/duplicate.d.ts +3 -3
  214. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  215. package/dist/types/element/src/frame.d.ts +5 -1
  216. package/dist/types/element/src/heading.d.ts +2 -1
  217. package/dist/types/element/src/image.d.ts +1 -11
  218. package/dist/types/element/src/index.d.ts +1 -3
  219. package/dist/types/element/src/linearElementEditor.d.ts +16 -20
  220. package/dist/types/element/src/mutateElement.d.ts +3 -1
  221. package/dist/types/element/src/newElement.d.ts +6 -6
  222. package/dist/types/element/src/renderElement.d.ts +1 -7
  223. package/dist/types/element/src/resizeElements.d.ts +10 -10
  224. package/dist/types/element/src/resizeTest.d.ts +6 -5
  225. package/dist/types/element/src/selection.d.ts +3 -7
  226. package/dist/types/element/src/shape.d.ts +8 -7
  227. package/dist/types/element/src/textMeasurements.d.ts +1 -3
  228. package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
  229. package/dist/types/element/src/transformHandles.d.ts +8 -27
  230. package/dist/types/element/src/typeChecks.d.ts +4 -7
  231. package/dist/types/element/src/types.d.ts +7 -11
  232. package/dist/types/element/src/utils.d.ts +5 -2
  233. package/dist/types/element/src/zindex.d.ts +7 -1
  234. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +93 -139
  235. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -7
  236. package/dist/types/excalidraw/actions/actionBoundText.d.ts +67 -98
  237. package/dist/types/excalidraw/actions/actionCanvas.d.ts +401 -771
  238. package/dist/types/excalidraw/actions/actionClipboard.d.ts +86 -862
  239. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +32 -48
  240. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +107 -159
  241. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
  242. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -3
  243. package/dist/types/excalidraw/actions/actionElementLink.d.ts +28 -46
  244. package/dist/types/excalidraw/actions/actionElementLock.d.ts +66 -97
  245. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +33 -49
  246. package/dist/types/excalidraw/actions/actionExport.d.ts +144 -1113
  247. package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -396
  248. package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -3
  249. package/dist/types/excalidraw/actions/actionFrame.d.ts +213 -312
  250. package/dist/types/excalidraw/actions/actionGroup.d.ts +70 -109
  251. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +122 -178
  252. package/dist/types/excalidraw/actions/actionLink.d.ts +30 -46
  253. package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -413
  254. package/dist/types/excalidraw/actions/actionNavigate.d.ts +18 -361
  255. package/dist/types/excalidraw/actions/actionProperties.d.ts +127 -2510
  256. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +35 -55
  257. package/dist/types/excalidraw/actions/actionStyles.d.ts +32 -48
  258. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  259. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +32 -48
  260. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +32 -48
  261. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +25 -43
  262. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
  263. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +32 -48
  264. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +32 -48
  265. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +33 -49
  266. package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -3
  267. package/dist/types/excalidraw/actions/index.d.ts +1 -1
  268. package/dist/types/excalidraw/actions/register.d.ts +2 -2
  269. package/dist/types/excalidraw/actions/types.d.ts +4 -4
  270. package/dist/types/excalidraw/appState.d.ts +12 -8
  271. package/dist/types/excalidraw/clipboard.d.ts +7 -31
  272. package/dist/types/excalidraw/components/Actions.d.ts +14 -4
  273. package/dist/types/excalidraw/components/App.d.ts +58 -59
  274. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +1 -1
  275. package/dist/types/excalidraw/components/Card.d.ts +1 -3
  276. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -4
  277. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -3
  278. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
  279. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
  280. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
  281. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +0 -1
  282. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
  283. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  284. package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -3
  285. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  286. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  287. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
  288. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
  289. package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
  290. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  291. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -2
  292. package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -1
  293. package/dist/types/excalidraw/components/FilledButton.d.ts +2 -1
  294. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
  295. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
  296. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
  297. package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
  298. package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
  299. package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
  300. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
  301. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
  302. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  303. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
  304. package/dist/types/excalidraw/components/LinkButton.d.ts +4 -0
  305. package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
  306. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
  307. package/dist/types/excalidraw/components/MobileToolBar.d.ts +10 -0
  308. package/dist/types/excalidraw/components/Modal.d.ts +0 -1
  309. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
  310. package/dist/types/excalidraw/components/Popover.d.ts +2 -1
  311. package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
  312. package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
  313. package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
  314. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
  315. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
  316. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
  317. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
  318. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
  319. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
  320. package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
  321. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
  322. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
  323. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
  324. package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
  325. package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
  326. package/dist/types/excalidraw/components/TTDDialog/Chat/ChatHistoryMenu.d.ts +15 -0
  327. package/dist/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts +27 -0
  328. package/dist/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts +14 -0
  329. package/dist/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts +26 -0
  330. package/dist/types/excalidraw/components/TTDDialog/Chat/index.d.ts +3 -0
  331. package/dist/types/excalidraw/components/TTDDialog/Chat/useChatAgent.d.ts +8 -0
  332. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +3 -2
  333. package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +13 -0
  334. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +4 -25
  335. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +2 -2
  336. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +13 -9
  337. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
  338. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
  339. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
  340. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -3
  341. package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +9 -0
  342. package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +8 -0
  343. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +16 -16
  344. package/dist/types/excalidraw/components/TTDDialog/hooks/useChatManagement.d.ts +13 -0
  345. package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +14 -0
  346. package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +7 -0
  347. package/dist/types/excalidraw/components/TTDDialog/types.d.ts +91 -0
  348. package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +22 -0
  349. package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +24 -0
  350. package/dist/types/excalidraw/components/TTDDialog/utils/chat.d.ts +10 -0
  351. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts +1 -0
  352. package/dist/types/excalidraw/components/TextField.d.ts +1 -0
  353. package/dist/types/excalidraw/components/Toast.d.ts +3 -3
  354. package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
  355. package/dist/types/excalidraw/components/Trans.d.ts +2 -2
  356. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +6 -3
  357. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +30 -32
  358. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +6 -5
  359. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
  360. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +10 -18
  361. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +3 -3
  362. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -1
  363. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
  364. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
  365. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
  366. package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
  367. package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
  368. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
  369. package/dist/types/excalidraw/components/icons.d.ts +21 -13
  370. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +4 -3
  371. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -2
  372. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +25 -30
  373. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +6 -6
  374. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -16
  375. package/dist/types/excalidraw/data/blob.d.ts +323 -5
  376. package/dist/types/excalidraw/data/encode.d.ts +4 -4
  377. package/dist/types/excalidraw/data/encryption.d.ts +5 -5
  378. package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
  379. package/dist/types/excalidraw/data/index.d.ts +3 -3
  380. package/dist/types/excalidraw/data/json.d.ts +159 -2
  381. package/dist/types/excalidraw/data/library.d.ts +24 -9
  382. package/dist/types/excalidraw/data/restore.d.ts +25 -10
  383. package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
  384. package/dist/types/excalidraw/errors.d.ts +14 -0
  385. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  386. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +4 -3
  387. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
  388. package/dist/types/excalidraw/i18n.d.ts +2 -2
  389. package/dist/types/excalidraw/index.d.ts +6 -7
  390. package/dist/types/excalidraw/renderer/animation.d.ts +12 -0
  391. package/dist/types/excalidraw/renderer/helpers.d.ts +6 -8
  392. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -14
  393. package/dist/types/excalidraw/scene/Renderer.d.ts +5 -2
  394. package/dist/types/excalidraw/scene/export.d.ts +2 -2
  395. package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
  396. package/dist/types/excalidraw/scene/types.d.ts +22 -5
  397. package/dist/types/excalidraw/shortcut.d.ts +1 -0
  398. package/dist/types/excalidraw/snapping.d.ts +5 -5
  399. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
  400. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
  401. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
  402. package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
  403. package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
  404. package/dist/types/excalidraw/types.d.ts +29 -22
  405. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -2
  406. package/dist/types/math/src/polygon.d.ts +2 -2
  407. package/dist/types/math/src/range.d.ts +1 -3
  408. package/dist/types/math/src/segment.d.ts +3 -3
  409. package/dist/types/utils/src/bbox.d.ts +1 -1
  410. package/dist/types/utils/src/export.d.ts +5 -5
  411. package/dist/types/utils/src/shape.d.ts +6 -6
  412. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  413. package/package.json +7 -8
  414. package/dist/dev/chunk-LJB4UXX2.js.map +0 -7
  415. package/dist/dev/chunk-MFAYKRVR.js +0 -66
  416. package/dist/dev/chunk-MFAYKRVR.js.map +0 -7
  417. package/dist/dev/chunk-QF5FRM6O.js.map +0 -7
  418. package/dist/dev/locales/ar-SA-XORAP2EK.js.map +0 -7
  419. package/dist/dev/locales/az-AZ-NAUU3Z4Y.js.map +0 -7
  420. package/dist/dev/locales/bg-BG-AAABLFCY.js.map +0 -7
  421. package/dist/dev/locales/bn-BD-PM4AC5WG.js.map +0 -7
  422. package/dist/dev/locales/ca-ES-YNNMFRQX.js.map +0 -7
  423. package/dist/dev/locales/cs-CZ-DGZA5IKG.js.map +0 -7
  424. package/dist/dev/locales/da-DK-N76F4QAJ.js.map +0 -7
  425. package/dist/dev/locales/de-DE-DMRXZ2SZ.js.map +0 -7
  426. package/dist/dev/locales/el-GR-HIKPLEXI.js.map +0 -7
  427. package/dist/dev/locales/es-ES-AQYVXC32.js.map +0 -7
  428. package/dist/dev/locales/eu-ES-3TOEU5DE.js.map +0 -7
  429. package/dist/dev/locales/fa-IR-527GAKUP.js.map +0 -7
  430. package/dist/dev/locales/fi-FI-M3WLVDFP.js.map +0 -7
  431. package/dist/dev/locales/fr-FR-YE4VDJFI.js.map +0 -7
  432. package/dist/dev/locales/gl-ES-KMXUYGUN.js.map +0 -7
  433. package/dist/dev/locales/he-IL-4MU5N22B.js +0 -586
  434. package/dist/dev/locales/he-IL-4MU5N22B.js.map +0 -7
  435. package/dist/dev/locales/hi-IN-ZHZNZWFC.js +0 -586
  436. package/dist/dev/locales/hi-IN-ZHZNZWFC.js.map +0 -7
  437. package/dist/dev/locales/hu-HU-VIYZI3X4.js.map +0 -7
  438. package/dist/dev/locales/id-ID-22TWZNLA.js.map +0 -7
  439. package/dist/dev/locales/it-IT-MDEQ2SG3.js.map +0 -7
  440. package/dist/dev/locales/ja-JP-K2DI4W6B.js.map +0 -7
  441. package/dist/dev/locales/kaa-6BPSNM3R.js.map +0 -7
  442. package/dist/dev/locales/kab-KAB-2S7ZURK7.js.map +0 -7
  443. package/dist/dev/locales/kk-KZ-UJPYGRQQ.js.map +0 -7
  444. package/dist/dev/locales/km-KH-M5T5JKUE.js.map +0 -7
  445. package/dist/dev/locales/ko-KR-RQX37SNF.js.map +0 -7
  446. package/dist/dev/locales/ku-TR-5XJDIERL.js.map +0 -7
  447. package/dist/dev/locales/lt-LT-MGUBX6CA.js.map +0 -7
  448. package/dist/dev/locales/lv-LV-MD7N5VHD.js.map +0 -7
  449. package/dist/dev/locales/mr-IN-4XWMNGQC.js.map +0 -7
  450. package/dist/dev/locales/my-MM-O4Z74GN5.js.map +0 -7
  451. package/dist/dev/locales/nb-NO-BMB73KRH.js.map +0 -7
  452. package/dist/dev/locales/nl-NL-F2257BLQ.js.map +0 -7
  453. package/dist/dev/locales/nn-NO-NCORG7TS.js.map +0 -7
  454. package/dist/dev/locales/oc-FR-ATFBDMF6.js.map +0 -7
  455. package/dist/dev/locales/pa-IN-D2I375G4.js.map +0 -7
  456. package/dist/dev/locales/pl-PL-YJHOWAAW.js.map +0 -7
  457. package/dist/dev/locales/pt-BR-APOPYZJ7.js.map +0 -7
  458. package/dist/dev/locales/pt-PT-W56WCN7P.js +0 -586
  459. package/dist/dev/locales/pt-PT-W56WCN7P.js.map +0 -7
  460. package/dist/dev/locales/ro-RO-L575VRQA.js.map +0 -7
  461. package/dist/dev/locales/ru-RU-BLG6HZG5.js.map +0 -7
  462. package/dist/dev/locales/si-LK-KT7GGO6D.js.map +0 -7
  463. package/dist/dev/locales/sk-SK-DY6IPO5U.js.map +0 -7
  464. package/dist/dev/locales/sl-SI-5DZSRA47.js.map +0 -7
  465. package/dist/dev/locales/sv-SE-V32YHALQ.js.map +0 -7
  466. package/dist/dev/locales/ta-IN-5JRAGQAO.js.map +0 -7
  467. package/dist/dev/locales/th-TH-55ACRHDJ.js.map +0 -7
  468. package/dist/dev/locales/tr-TR-7QYBXDBO.js.map +0 -7
  469. package/dist/dev/locales/uk-UA-TJS2TMRH.js.map +0 -7
  470. package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js +0 -586
  471. package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js.map +0 -7
  472. package/dist/dev/locales/zh-CN-4MXUOFTH.js.map +0 -7
  473. package/dist/dev/locales/zh-HK-RBTGIU3U.js.map +0 -7
  474. package/dist/dev/locales/zh-TW-U5VF4CCU.js.map +0 -7
  475. package/dist/prod/chunk-I4UNSFV6.js +0 -12
  476. package/dist/prod/chunk-PYEQN4AH.js +0 -4
  477. package/dist/prod/chunk-Z3N5DIM6.js +0 -1
  478. package/dist/prod/locales/ar-SA-G6X2FPQ2.js +0 -10
  479. package/dist/prod/locales/az-AZ-76LH7QW2.js +0 -1
  480. package/dist/prod/locales/bg-BG-XCXSNQG7.js +0 -5
  481. package/dist/prod/locales/bn-BD-2XOGV67Q.js +0 -5
  482. package/dist/prod/locales/ca-ES-6MX7JW3Y.js +0 -8
  483. package/dist/prod/locales/cs-CZ-2BRQDIVT.js +0 -11
  484. package/dist/prod/locales/da-DK-5WZEPLOC.js +0 -5
  485. package/dist/prod/locales/de-DE-XR44H4JA.js +0 -8
  486. package/dist/prod/locales/el-GR-BZB4AONW.js +0 -10
  487. package/dist/prod/locales/en-TYY6KWIJ.js +0 -1
  488. package/dist/prod/locales/es-ES-U4NZUMDT.js +0 -9
  489. package/dist/prod/locales/eu-ES-A7QVB2H4.js +0 -11
  490. package/dist/prod/locales/fa-IR-HGAKTJCU.js +0 -8
  491. package/dist/prod/locales/fi-FI-Z5N7JZ37.js +0 -6
  492. package/dist/prod/locales/fr-FR-RHASNOE6.js +0 -9
  493. package/dist/prod/locales/gl-ES-HMX3MZ6V.js +0 -10
  494. package/dist/prod/locales/he-IL-6SHJWFNN.js +0 -10
  495. package/dist/prod/locales/hi-IN-IWLTKZ5I.js +0 -4
  496. package/dist/prod/locales/hu-HU-A5ZG7DT2.js +0 -7
  497. package/dist/prod/locales/id-ID-SAP4L64H.js +0 -10
  498. package/dist/prod/locales/it-IT-JPQ66NNP.js +0 -11
  499. package/dist/prod/locales/ja-JP-DBVTYXUO.js +0 -8
  500. package/dist/prod/locales/kaa-6HZHGXH3.js +0 -1
  501. package/dist/prod/locales/kab-KAB-ZGHBKWFO.js +0 -8
  502. package/dist/prod/locales/kk-KZ-P5N5QNE5.js +0 -1
  503. package/dist/prod/locales/km-KH-HSX4SM5Z.js +0 -11
  504. package/dist/prod/locales/ko-KR-MTYHY66A.js +0 -9
  505. package/dist/prod/locales/ku-TR-6OUDTVRD.js +0 -9
  506. package/dist/prod/locales/lt-LT-XHIRWOB4.js +0 -3
  507. package/dist/prod/locales/lv-LV-5QDEKY6T.js +0 -7
  508. package/dist/prod/locales/mr-IN-CRQNXWMA.js +0 -13
  509. package/dist/prod/locales/my-MM-5M5IBNSE.js +0 -1
  510. package/dist/prod/locales/nb-NO-T6EIAALU.js +0 -10
  511. package/dist/prod/locales/nl-NL-IS3SIHDZ.js +0 -8
  512. package/dist/prod/locales/nn-NO-6E72VCQL.js +0 -8
  513. package/dist/prod/locales/oc-FR-POXYY2M6.js +0 -8
  514. package/dist/prod/locales/pa-IN-N4M65BXN.js +0 -4
  515. package/dist/prod/locales/percentages-BXMCSKIN.js +0 -1
  516. package/dist/prod/locales/pl-PL-T2D74RX3.js +0 -9
  517. package/dist/prod/locales/pt-BR-5N22H2LF.js +0 -9
  518. package/dist/prod/locales/pt-PT-UZXXM6DQ.js +0 -9
  519. package/dist/prod/locales/ro-RO-JPDTUUEW.js +0 -11
  520. package/dist/prod/locales/ru-RU-B4JR7IUQ.js +0 -9
  521. package/dist/prod/locales/si-LK-N5RQ5JYF.js +0 -1
  522. package/dist/prod/locales/sk-SK-C5VTKIMK.js +0 -6
  523. package/dist/prod/locales/sl-SI-NN7IZMDC.js +0 -6
  524. package/dist/prod/locales/sv-SE-XGPEYMSR.js +0 -10
  525. package/dist/prod/locales/ta-IN-2NMHFXQM.js +0 -9
  526. package/dist/prod/locales/th-TH-HPSO5L25.js +0 -2
  527. package/dist/prod/locales/tr-TR-DEFEU3FU.js +0 -7
  528. package/dist/prod/locales/uk-UA-QMV73CPH.js +0 -6
  529. package/dist/prod/locales/vi-VN-M7AON7JQ.js +0 -5
  530. package/dist/prod/locales/zh-CN-LNUGB5OW.js +0 -10
  531. package/dist/prod/locales/zh-HK-E62DVLB3.js +0 -1
  532. package/dist/prod/locales/zh-TW-RAJ6MFWO.js +0 -9
  533. /package/dist/dev/{chunk-CP5DND7P.js.map → chunk-Y3BTNZQY.js.map} +0 -0
  534. /package/dist/dev/data/{image-OLV524AK.js.map → image-2BHUUSLM.js.map} +0 -0
  535. /package/dist/dev/locales/{en-SMAPCEOQ.js.map → en-JRVQ7H6V.js.map} +0 -0
  536. /package/dist/dev/locales/{percentages-YKFLWNK2.js.map → percentages-OGWD7R2K.js.map} +0 -0
@@ -1,742 +1,17 @@
1
- /// <reference types="react" />
2
1
  import type { Theme } from "@excalidraw/element/types";
3
2
  import "../components/ToolIcon.scss";
4
- export declare const actionChangeProjectName: {
5
- name: "changeProjectName";
6
- label: string;
7
- trackEvent: false;
8
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
9
- appState: {
10
- name: any;
11
- contextMenu: {
12
- items: import("../components/ContextMenu").ContextMenuItems;
13
- top: number;
14
- left: number;
15
- } | null;
16
- showWelcomeScreen: boolean;
17
- isLoading: boolean;
18
- errorMessage: import("react").ReactNode;
19
- activeEmbeddable: {
20
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
- state: "active" | "hover";
22
- } | null;
23
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
24
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
25
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
26
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
- isBindingEnabled: boolean;
28
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
29
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
30
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
31
- frameRendering: {
32
- enabled: boolean;
33
- name: boolean;
34
- outline: boolean;
35
- clip: boolean;
36
- };
37
- editingFrame: string | null;
38
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
39
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
- activeTool: {
41
- lastActiveTool: import("../types").ActiveTool | null;
42
- locked: boolean;
43
- fromSelection: boolean;
44
- } & import("../types").ActiveTool;
45
- penMode: boolean;
46
- penDetected: boolean;
47
- exportBackground: boolean;
48
- exportEmbedScene: boolean;
49
- exportWithDarkMode: boolean;
50
- exportScale: number;
51
- currentItemStrokeColor: string;
52
- currentItemBackgroundColor: string;
53
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
54
- currentItemStrokeWidth: number;
55
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
56
- currentItemRoughness: number;
57
- currentItemOpacity: number;
58
- currentItemFontFamily: number;
59
- currentItemFontSize: number;
60
- currentItemTextAlign: string;
61
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
62
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
63
- currentHoveredFontFamily: number | null;
64
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
65
- currentItemArrowType: "round" | "sharp" | "elbow";
66
- viewBackgroundColor: string;
67
- scrollX: number;
68
- scrollY: number;
69
- cursorButton: "up" | "down";
70
- scrolledOutside: boolean;
71
- isResizing: boolean;
72
- isRotating: boolean;
73
- zoom: Readonly<{
74
- value: import("../types").NormalizedZoomValue;
75
- }>;
76
- openMenu: "canvas" | "shape" | null;
77
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
78
- openSidebar: {
79
- name: string;
80
- tab?: string | undefined;
81
- } | null;
82
- openDialog: {
83
- name: "imageExport" | "help" | "jsonExport";
84
- } | {
85
- name: "ttd";
86
- tab: "mermaid" | "text-to-diagram";
87
- } | {
88
- name: "commandPalette";
89
- } | {
90
- name: "elementLinkSelector";
91
- sourceElementId: string;
92
- } | null;
93
- defaultSidebarDockedPreference: boolean;
94
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
95
- selectedElementIds: Readonly<{
96
- [id: string]: true;
97
- }>;
98
- hoveredElementIds: Readonly<{
99
- [id: string]: true;
100
- }>;
101
- previousSelectedElementIds: {
102
- [id: string]: true;
103
- };
104
- selectedElementsAreBeingDragged: boolean;
105
- shouldCacheIgnoreZoom: boolean;
106
- toast: {
107
- message: string;
108
- closable?: boolean | undefined;
109
- duration?: number | undefined;
110
- } | null;
111
- zenModeEnabled: boolean;
112
- theme: Theme;
113
- gridSize: number;
114
- gridStep: number;
115
- gridModeEnabled: boolean;
116
- viewModeEnabled: boolean;
117
- selectedGroupIds: {
118
- [groupId: string]: boolean;
119
- };
120
- editingGroupId: string | null;
121
- width: number;
122
- height: number;
123
- offsetTop: number;
124
- offsetLeft: number;
125
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
126
- collaborators: Map<import("../types").SocketId, Readonly<{
127
- pointer?: import("../types").CollaboratorPointer | undefined;
128
- button?: "up" | "down" | undefined;
129
- selectedElementIds?: Readonly<{
130
- [id: string]: true;
131
- }> | undefined;
132
- username?: string | null | undefined;
133
- userState?: import("@excalidraw/common").UserIdleState | undefined;
134
- color?: {
135
- background: string;
136
- stroke: string;
137
- } | undefined;
138
- avatarUrl?: string | undefined;
139
- id?: string | undefined;
140
- socketId?: import("../types").SocketId | undefined;
141
- isCurrentUser?: boolean | undefined;
142
- isInCall?: boolean | undefined;
143
- isSpeaking?: boolean | undefined;
144
- isMuted?: boolean | undefined;
145
- }>>;
146
- stats: {
147
- open: boolean;
148
- panels: number;
149
- };
150
- currentChartType: import("@excalidraw/element/types").ChartType;
151
- pasteDialog: {
152
- shown: false;
153
- data: null;
154
- } | {
155
- shown: true;
156
- data: import("../charts").Spreadsheet;
157
- };
158
- showHyperlinkPopup: false | "editor" | "info";
159
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
160
- snapLines: readonly import("../snapping").SnapLine[];
161
- originSnapOffset: {
162
- x: number;
163
- y: number;
164
- } | null;
165
- objectsSnapModeEnabled: boolean;
166
- userToFollow: import("../types").UserToFollow | null;
167
- followedBy: Set<import("../types").SocketId>;
168
- isCropping: boolean;
169
- croppingElementId: string | null;
170
- searchMatches: Readonly<{
171
- focusedId: string | null;
172
- matches: readonly import("../types").SearchMatch[];
173
- }> | null;
174
- activeLockedId: string | null;
175
- lockedMultiSelections: {
176
- [groupId: string]: true;
177
- };
178
- stylesPanelMode: "compact" | "full";
179
- };
180
- captureUpdate: "EVENTUALLY";
181
- };
182
- PanelComponent: ({ appState, updateData, appProps, data, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
183
- } & {
184
- keyTest?: undefined;
185
- };
186
- export declare const actionChangeExportScale: {
187
- name: "changeExportScale";
188
- label: string;
189
- trackEvent: {
190
- category: "export";
191
- action: string;
192
- };
193
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
194
- appState: {
195
- exportScale: any;
196
- contextMenu: {
197
- items: import("../components/ContextMenu").ContextMenuItems;
198
- top: number;
199
- left: number;
200
- } | null;
201
- showWelcomeScreen: boolean;
202
- isLoading: boolean;
203
- errorMessage: import("react").ReactNode;
204
- activeEmbeddable: {
205
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
206
- state: "active" | "hover";
207
- } | null;
208
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
209
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
210
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
211
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
212
- isBindingEnabled: boolean;
213
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
214
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
215
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
216
- frameRendering: {
217
- enabled: boolean;
218
- name: boolean;
219
- outline: boolean;
220
- clip: boolean;
221
- };
222
- editingFrame: string | null;
223
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
224
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
225
- activeTool: {
226
- lastActiveTool: import("../types").ActiveTool | null;
227
- locked: boolean;
228
- fromSelection: boolean;
229
- } & import("../types").ActiveTool;
230
- penMode: boolean;
231
- penDetected: boolean;
232
- exportBackground: boolean;
233
- exportEmbedScene: boolean;
234
- exportWithDarkMode: boolean;
235
- currentItemStrokeColor: string;
236
- currentItemBackgroundColor: string;
237
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
238
- currentItemStrokeWidth: number;
239
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
240
- currentItemRoughness: number;
241
- currentItemOpacity: number;
242
- currentItemFontFamily: number;
243
- currentItemFontSize: number;
244
- currentItemTextAlign: string;
245
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
246
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
247
- currentHoveredFontFamily: number | null;
248
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
249
- currentItemArrowType: "round" | "sharp" | "elbow";
250
- viewBackgroundColor: string;
251
- scrollX: number;
252
- scrollY: number;
253
- cursorButton: "up" | "down";
254
- scrolledOutside: boolean;
255
- name: string | null;
256
- isResizing: boolean;
257
- isRotating: boolean;
258
- zoom: Readonly<{
259
- value: import("../types").NormalizedZoomValue;
260
- }>;
261
- openMenu: "canvas" | "shape" | null;
262
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
263
- openSidebar: {
264
- name: string;
265
- tab?: string | undefined;
266
- } | null;
267
- openDialog: {
268
- name: "imageExport" | "help" | "jsonExport";
269
- } | {
270
- name: "ttd";
271
- tab: "mermaid" | "text-to-diagram";
272
- } | {
273
- name: "commandPalette";
274
- } | {
275
- name: "elementLinkSelector";
276
- sourceElementId: string;
277
- } | null;
278
- defaultSidebarDockedPreference: boolean;
279
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
280
- selectedElementIds: Readonly<{
281
- [id: string]: true;
282
- }>;
283
- hoveredElementIds: Readonly<{
284
- [id: string]: true;
285
- }>;
286
- previousSelectedElementIds: {
287
- [id: string]: true;
288
- };
289
- selectedElementsAreBeingDragged: boolean;
290
- shouldCacheIgnoreZoom: boolean;
291
- toast: {
292
- message: string;
293
- closable?: boolean | undefined;
294
- duration?: number | undefined;
295
- } | null;
296
- zenModeEnabled: boolean;
297
- theme: Theme;
298
- gridSize: number;
299
- gridStep: number;
300
- gridModeEnabled: boolean;
301
- viewModeEnabled: boolean;
302
- selectedGroupIds: {
303
- [groupId: string]: boolean;
304
- };
305
- editingGroupId: string | null;
306
- width: number;
307
- height: number;
308
- offsetTop: number;
309
- offsetLeft: number;
310
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
311
- collaborators: Map<import("../types").SocketId, Readonly<{
312
- pointer?: import("../types").CollaboratorPointer | undefined;
313
- button?: "up" | "down" | undefined;
314
- selectedElementIds?: Readonly<{
315
- [id: string]: true;
316
- }> | undefined;
317
- username?: string | null | undefined;
318
- userState?: import("@excalidraw/common").UserIdleState | undefined;
319
- color?: {
320
- background: string;
321
- stroke: string;
322
- } | undefined;
323
- avatarUrl?: string | undefined;
324
- id?: string | undefined;
325
- socketId?: import("../types").SocketId | undefined;
326
- isCurrentUser?: boolean | undefined;
327
- isInCall?: boolean | undefined;
328
- isSpeaking?: boolean | undefined;
329
- isMuted?: boolean | undefined;
330
- }>>;
331
- stats: {
332
- open: boolean;
333
- panels: number;
334
- };
335
- currentChartType: import("@excalidraw/element/types").ChartType;
336
- pasteDialog: {
337
- shown: false;
338
- data: null;
339
- } | {
340
- shown: true;
341
- data: import("../charts").Spreadsheet;
342
- };
343
- showHyperlinkPopup: false | "editor" | "info";
344
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
345
- snapLines: readonly import("../snapping").SnapLine[];
346
- originSnapOffset: {
347
- x: number;
348
- y: number;
349
- } | null;
350
- objectsSnapModeEnabled: boolean;
351
- userToFollow: import("../types").UserToFollow | null;
352
- followedBy: Set<import("../types").SocketId>;
353
- isCropping: boolean;
354
- croppingElementId: string | null;
355
- searchMatches: Readonly<{
356
- focusedId: string | null;
357
- matches: readonly import("../types").SearchMatch[];
358
- }> | null;
359
- activeLockedId: string | null;
360
- lockedMultiSelections: {
361
- [groupId: string]: true;
362
- };
363
- stylesPanelMode: "compact" | "full";
364
- };
365
- captureUpdate: "EVENTUALLY";
366
- };
367
- PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
368
- } & {
369
- keyTest?: undefined;
370
- };
371
- export declare const actionChangeExportBackground: {
372
- name: "changeExportBackground";
373
- label: string;
374
- trackEvent: {
375
- category: "export";
376
- action: string;
377
- };
378
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
379
- appState: {
380
- exportBackground: any;
381
- contextMenu: {
382
- items: import("../components/ContextMenu").ContextMenuItems;
383
- top: number;
384
- left: number;
385
- } | null;
386
- showWelcomeScreen: boolean;
387
- isLoading: boolean;
388
- errorMessage: import("react").ReactNode;
389
- activeEmbeddable: {
390
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
391
- state: "active" | "hover";
392
- } | null;
393
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
394
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
395
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
396
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
397
- isBindingEnabled: boolean;
398
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
399
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
400
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
401
- frameRendering: {
402
- enabled: boolean;
403
- name: boolean;
404
- outline: boolean;
405
- clip: boolean;
406
- };
407
- editingFrame: string | null;
408
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
409
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
410
- activeTool: {
411
- lastActiveTool: import("../types").ActiveTool | null;
412
- locked: boolean;
413
- fromSelection: boolean;
414
- } & import("../types").ActiveTool;
415
- penMode: boolean;
416
- penDetected: boolean;
417
- exportEmbedScene: boolean;
418
- exportWithDarkMode: boolean;
419
- exportScale: number;
420
- currentItemStrokeColor: string;
421
- currentItemBackgroundColor: string;
422
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
423
- currentItemStrokeWidth: number;
424
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
425
- currentItemRoughness: number;
426
- currentItemOpacity: number;
427
- currentItemFontFamily: number;
428
- currentItemFontSize: number;
429
- currentItemTextAlign: string;
430
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
431
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
432
- currentHoveredFontFamily: number | null;
433
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
434
- currentItemArrowType: "round" | "sharp" | "elbow";
435
- viewBackgroundColor: string;
436
- scrollX: number;
437
- scrollY: number;
438
- cursorButton: "up" | "down";
439
- scrolledOutside: boolean;
440
- name: string | null;
441
- isResizing: boolean;
442
- isRotating: boolean;
443
- zoom: Readonly<{
444
- value: import("../types").NormalizedZoomValue;
445
- }>;
446
- openMenu: "canvas" | "shape" | null;
447
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
448
- openSidebar: {
449
- name: string;
450
- tab?: string | undefined;
451
- } | null;
452
- openDialog: {
453
- name: "imageExport" | "help" | "jsonExport";
454
- } | {
455
- name: "ttd";
456
- tab: "mermaid" | "text-to-diagram";
457
- } | {
458
- name: "commandPalette";
459
- } | {
460
- name: "elementLinkSelector";
461
- sourceElementId: string;
462
- } | null;
463
- defaultSidebarDockedPreference: boolean;
464
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
465
- selectedElementIds: Readonly<{
466
- [id: string]: true;
467
- }>;
468
- hoveredElementIds: Readonly<{
469
- [id: string]: true;
470
- }>;
471
- previousSelectedElementIds: {
472
- [id: string]: true;
473
- };
474
- selectedElementsAreBeingDragged: boolean;
475
- shouldCacheIgnoreZoom: boolean;
476
- toast: {
477
- message: string;
478
- closable?: boolean | undefined;
479
- duration?: number | undefined;
480
- } | null;
481
- zenModeEnabled: boolean;
482
- theme: Theme;
483
- gridSize: number;
484
- gridStep: number;
485
- gridModeEnabled: boolean;
486
- viewModeEnabled: boolean;
487
- selectedGroupIds: {
488
- [groupId: string]: boolean;
489
- };
490
- editingGroupId: string | null;
491
- width: number;
492
- height: number;
493
- offsetTop: number;
494
- offsetLeft: number;
495
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
496
- collaborators: Map<import("../types").SocketId, Readonly<{
497
- pointer?: import("../types").CollaboratorPointer | undefined;
498
- button?: "up" | "down" | undefined;
499
- selectedElementIds?: Readonly<{
500
- [id: string]: true;
501
- }> | undefined;
502
- username?: string | null | undefined;
503
- userState?: import("@excalidraw/common").UserIdleState | undefined;
504
- color?: {
505
- background: string;
506
- stroke: string;
507
- } | undefined;
508
- avatarUrl?: string | undefined;
509
- id?: string | undefined;
510
- socketId?: import("../types").SocketId | undefined;
511
- isCurrentUser?: boolean | undefined;
512
- isInCall?: boolean | undefined;
513
- isSpeaking?: boolean | undefined;
514
- isMuted?: boolean | undefined;
515
- }>>;
516
- stats: {
517
- open: boolean;
518
- panels: number;
519
- };
520
- currentChartType: import("@excalidraw/element/types").ChartType;
521
- pasteDialog: {
522
- shown: false;
523
- data: null;
524
- } | {
525
- shown: true;
526
- data: import("../charts").Spreadsheet;
527
- };
528
- showHyperlinkPopup: false | "editor" | "info";
529
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
530
- snapLines: readonly import("../snapping").SnapLine[];
531
- originSnapOffset: {
532
- x: number;
533
- y: number;
534
- } | null;
535
- objectsSnapModeEnabled: boolean;
536
- userToFollow: import("../types").UserToFollow | null;
537
- followedBy: Set<import("../types").SocketId>;
538
- isCropping: boolean;
539
- croppingElementId: string | null;
540
- searchMatches: Readonly<{
541
- focusedId: string | null;
542
- matches: readonly import("../types").SearchMatch[];
543
- }> | null;
544
- activeLockedId: string | null;
545
- lockedMultiSelections: {
546
- [groupId: string]: true;
547
- };
548
- stylesPanelMode: "compact" | "full";
549
- };
550
- captureUpdate: "EVENTUALLY";
551
- };
552
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
553
- } & {
554
- keyTest?: undefined;
555
- };
556
- export declare const actionChangeExportEmbedScene: {
557
- name: "changeExportEmbedScene";
558
- label: string;
559
- trackEvent: {
560
- category: "export";
561
- action: string;
562
- };
563
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
564
- appState: {
565
- exportEmbedScene: any;
566
- contextMenu: {
567
- items: import("../components/ContextMenu").ContextMenuItems;
568
- top: number;
569
- left: number;
570
- } | null;
571
- showWelcomeScreen: boolean;
572
- isLoading: boolean;
573
- errorMessage: import("react").ReactNode;
574
- activeEmbeddable: {
575
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
576
- state: "active" | "hover";
577
- } | null;
578
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
579
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
580
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
581
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
582
- isBindingEnabled: boolean;
583
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
584
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
585
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
586
- frameRendering: {
587
- enabled: boolean;
588
- name: boolean;
589
- outline: boolean;
590
- clip: boolean;
591
- };
592
- editingFrame: string | null;
593
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
594
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
595
- activeTool: {
596
- lastActiveTool: import("../types").ActiveTool | null;
597
- locked: boolean;
598
- fromSelection: boolean;
599
- } & import("../types").ActiveTool;
600
- penMode: boolean;
601
- penDetected: boolean;
602
- exportBackground: boolean;
603
- exportWithDarkMode: boolean;
604
- exportScale: number;
605
- currentItemStrokeColor: string;
606
- currentItemBackgroundColor: string;
607
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
608
- currentItemStrokeWidth: number;
609
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
610
- currentItemRoughness: number;
611
- currentItemOpacity: number;
612
- currentItemFontFamily: number;
613
- currentItemFontSize: number;
614
- currentItemTextAlign: string;
615
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
616
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
617
- currentHoveredFontFamily: number | null;
618
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
619
- currentItemArrowType: "round" | "sharp" | "elbow";
620
- viewBackgroundColor: string;
621
- scrollX: number;
622
- scrollY: number;
623
- cursorButton: "up" | "down";
624
- scrolledOutside: boolean;
625
- name: string | null;
626
- isResizing: boolean;
627
- isRotating: boolean;
628
- zoom: Readonly<{
629
- value: import("../types").NormalizedZoomValue;
630
- }>;
631
- openMenu: "canvas" | "shape" | null;
632
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
633
- openSidebar: {
634
- name: string;
635
- tab?: string | undefined;
636
- } | null;
637
- openDialog: {
638
- name: "imageExport" | "help" | "jsonExport";
639
- } | {
640
- name: "ttd";
641
- tab: "mermaid" | "text-to-diagram";
642
- } | {
643
- name: "commandPalette";
644
- } | {
645
- name: "elementLinkSelector";
646
- sourceElementId: string;
647
- } | null;
648
- defaultSidebarDockedPreference: boolean;
649
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
650
- selectedElementIds: Readonly<{
651
- [id: string]: true;
652
- }>;
653
- hoveredElementIds: Readonly<{
654
- [id: string]: true;
655
- }>;
656
- previousSelectedElementIds: {
657
- [id: string]: true;
658
- };
659
- selectedElementsAreBeingDragged: boolean;
660
- shouldCacheIgnoreZoom: boolean;
661
- toast: {
662
- message: string;
663
- closable?: boolean | undefined;
664
- duration?: number | undefined;
665
- } | null;
666
- zenModeEnabled: boolean;
667
- theme: Theme;
668
- gridSize: number;
669
- gridStep: number;
670
- gridModeEnabled: boolean;
671
- viewModeEnabled: boolean;
672
- selectedGroupIds: {
673
- [groupId: string]: boolean;
674
- };
675
- editingGroupId: string | null;
676
- width: number;
677
- height: number;
678
- offsetTop: number;
679
- offsetLeft: number;
680
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
681
- collaborators: Map<import("../types").SocketId, Readonly<{
682
- pointer?: import("../types").CollaboratorPointer | undefined;
683
- button?: "up" | "down" | undefined;
684
- selectedElementIds?: Readonly<{
685
- [id: string]: true;
686
- }> | undefined;
687
- username?: string | null | undefined;
688
- userState?: import("@excalidraw/common").UserIdleState | undefined;
689
- color?: {
690
- background: string;
691
- stroke: string;
692
- } | undefined;
693
- avatarUrl?: string | undefined;
694
- id?: string | undefined;
695
- socketId?: import("../types").SocketId | undefined;
696
- isCurrentUser?: boolean | undefined;
697
- isInCall?: boolean | undefined;
698
- isSpeaking?: boolean | undefined;
699
- isMuted?: boolean | undefined;
700
- }>>;
701
- stats: {
702
- open: boolean;
703
- panels: number;
704
- };
705
- currentChartType: import("@excalidraw/element/types").ChartType;
706
- pasteDialog: {
707
- shown: false;
708
- data: null;
709
- } | {
710
- shown: true;
711
- data: import("../charts").Spreadsheet;
712
- };
713
- showHyperlinkPopup: false | "editor" | "info";
714
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
715
- snapLines: readonly import("../snapping").SnapLine[];
716
- originSnapOffset: {
717
- x: number;
718
- y: number;
719
- } | null;
720
- objectsSnapModeEnabled: boolean;
721
- userToFollow: import("../types").UserToFollow | null;
722
- followedBy: Set<import("../types").SocketId>;
723
- isCropping: boolean;
724
- croppingElementId: string | null;
725
- searchMatches: Readonly<{
726
- focusedId: string | null;
727
- matches: readonly import("../types").SearchMatch[];
728
- }> | null;
729
- activeLockedId: string | null;
730
- lockedMultiSelections: {
731
- [groupId: string]: true;
732
- };
733
- stylesPanelMode: "compact" | "full";
734
- };
735
- captureUpdate: "EVENTUALLY";
736
- };
737
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
738
- } & {
739
- keyTest?: undefined;
3
+ import type { AppState } from "../types";
4
+ export declare const actionChangeProjectName: import("./types").Action<string | null> & {
5
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
6
+ };
7
+ export declare const actionChangeExportScale: import("./types").Action<number> & {
8
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
9
+ };
10
+ export declare const actionChangeExportBackground: import("./types").Action<boolean> & {
11
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
12
+ };
13
+ export declare const actionChangeExportEmbedScene: import("./types").Action<boolean> & {
14
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
740
15
  };
741
16
  export declare const actionSaveToActiveFile: {
742
17
  name: "saveToActiveFile";
@@ -745,8 +20,8 @@ export declare const actionSaveToActiveFile: {
745
20
  trackEvent: {
746
21
  category: "export";
747
22
  };
748
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
749
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
23
+ predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
24
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
750
25
  captureUpdate: "EVENTUALLY";
751
26
  appState: {
752
27
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
@@ -760,10 +35,10 @@ export declare const actionSaveToActiveFile: {
760
35
  } | null;
761
36
  showWelcomeScreen: boolean;
762
37
  isLoading: boolean;
763
- errorMessage: import("react").ReactNode;
38
+ errorMessage: React.ReactNode;
764
39
  activeEmbeddable: {
765
40
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
766
- state: "active" | "hover";
41
+ state: "hover" | "active";
767
42
  } | null;
768
43
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
769
44
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -771,7 +46,7 @@ export declare const actionSaveToActiveFile: {
771
46
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
772
47
  isBindingEnabled: boolean;
773
48
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
774
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
49
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
775
50
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
776
51
  frameRendering: {
777
52
  enabled: boolean;
@@ -787,6 +62,10 @@ export declare const actionSaveToActiveFile: {
787
62
  locked: boolean;
788
63
  fromSelection: boolean;
789
64
  } & import("../types").ActiveTool;
65
+ preferredSelectionTool: {
66
+ type: "selection" | "lasso";
67
+ initialized: boolean;
68
+ };
790
69
  penMode: boolean;
791
70
  penDetected: boolean;
792
71
  exportBackground: boolean;
@@ -795,19 +74,19 @@ export declare const actionSaveToActiveFile: {
795
74
  exportScale: number;
796
75
  currentItemStrokeColor: string;
797
76
  currentItemBackgroundColor: string;
798
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
77
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
799
78
  currentItemStrokeWidth: number;
800
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
79
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
801
80
  currentItemRoughness: number;
802
81
  currentItemOpacity: number;
803
- currentItemFontFamily: number;
82
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
804
83
  currentItemFontSize: number;
805
- currentItemTextAlign: string;
84
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
806
85
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
807
86
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
808
- currentHoveredFontFamily: number | null;
87
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
809
88
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
810
- currentItemArrowType: "round" | "sharp" | "elbow";
89
+ currentItemArrowType: "sharp" | "round" | "elbow";
811
90
  viewBackgroundColor: string;
812
91
  scrollX: number;
813
92
  scrollY: number;
@@ -816,26 +95,26 @@ export declare const actionSaveToActiveFile: {
816
95
  name: string | null;
817
96
  isResizing: boolean;
818
97
  isRotating: boolean;
819
- zoom: Readonly<{
820
- value: import("../types").NormalizedZoomValue;
821
- }>;
822
- openMenu: "canvas" | "shape" | null;
823
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
98
+ zoom: import("../types").Zoom;
99
+ openMenu: "canvas" | null;
100
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
824
101
  openSidebar: {
825
- name: string;
826
- tab?: string | undefined;
102
+ name: import("../types").SidebarName;
103
+ tab?: import("../types").SidebarTabName;
827
104
  } | null;
828
- openDialog: {
105
+ openDialog: null | {
829
106
  name: "imageExport" | "help" | "jsonExport";
830
107
  } | {
831
108
  name: "ttd";
832
- tab: "mermaid" | "text-to-diagram";
109
+ tab: "text-to-diagram" | "mermaid";
833
110
  } | {
834
111
  name: "commandPalette";
112
+ } | {
113
+ name: "settings";
835
114
  } | {
836
115
  name: "elementLinkSelector";
837
- sourceElementId: string;
838
- } | null;
116
+ sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
117
+ };
839
118
  defaultSidebarDockedPreference: boolean;
840
119
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
841
120
  selectedElementIds: Readonly<{
@@ -858,31 +137,12 @@ export declare const actionSaveToActiveFile: {
858
137
  selectedGroupIds: {
859
138
  [groupId: string]: boolean;
860
139
  };
861
- editingGroupId: string | null;
140
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
862
141
  width: number;
863
142
  height: number;
864
143
  offsetTop: number;
865
144
  offsetLeft: number;
866
- collaborators: Map<import("../types").SocketId, Readonly<{
867
- pointer?: import("../types").CollaboratorPointer | undefined;
868
- button?: "up" | "down" | undefined;
869
- selectedElementIds?: Readonly<{
870
- [id: string]: true;
871
- }> | undefined;
872
- username?: string | null | undefined;
873
- userState?: import("@excalidraw/common").UserIdleState | undefined;
874
- color?: {
875
- background: string;
876
- stroke: string;
877
- } | undefined;
878
- avatarUrl?: string | undefined;
879
- id?: string | undefined;
880
- socketId?: import("../types").SocketId | undefined;
881
- isCurrentUser?: boolean | undefined;
882
- isInCall?: boolean | undefined;
883
- isSpeaking?: boolean | undefined;
884
- isMuted?: boolean | undefined;
885
- }>>;
145
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
886
146
  stats: {
887
147
  open: boolean;
888
148
  panels: number;
@@ -895,7 +155,7 @@ export declare const actionSaveToActiveFile: {
895
155
  shown: true;
896
156
  data: import("../charts").Spreadsheet;
897
157
  };
898
- showHyperlinkPopup: false | "editor" | "info";
158
+ showHyperlinkPopup: false | "info" | "editor";
899
159
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
900
160
  snapLines: readonly import("../snapping").SnapLine[];
901
161
  originSnapOffset: {
@@ -906,16 +166,16 @@ export declare const actionSaveToActiveFile: {
906
166
  userToFollow: import("../types").UserToFollow | null;
907
167
  followedBy: Set<import("../types").SocketId>;
908
168
  isCropping: boolean;
909
- croppingElementId: string | null;
169
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
910
170
  searchMatches: Readonly<{
911
- focusedId: string | null;
171
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
912
172
  matches: readonly import("../types").SearchMatch[];
913
173
  }> | null;
914
174
  activeLockedId: string | null;
915
175
  lockedMultiSelections: {
916
176
  [groupId: string]: true;
917
177
  };
918
- stylesPanelMode: "compact" | "full";
178
+ bindMode: import("@excalidraw/element/types").BindMode;
919
179
  };
920
180
  } | {
921
181
  captureUpdate: "EVENTUALLY";
@@ -933,7 +193,7 @@ export declare const actionSaveFileToDisk: {
933
193
  trackEvent: {
934
194
  category: "export";
935
195
  };
936
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
196
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
937
197
  captureUpdate: "EVENTUALLY";
938
198
  appState: {
939
199
  openDialog: null;
@@ -948,10 +208,10 @@ export declare const actionSaveFileToDisk: {
948
208
  } | null;
949
209
  showWelcomeScreen: boolean;
950
210
  isLoading: boolean;
951
- errorMessage: import("react").ReactNode;
211
+ errorMessage: React.ReactNode;
952
212
  activeEmbeddable: {
953
213
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
954
- state: "active" | "hover";
214
+ state: "hover" | "active";
955
215
  } | null;
956
216
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
957
217
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -959,7 +219,7 @@ export declare const actionSaveFileToDisk: {
959
219
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
960
220
  isBindingEnabled: boolean;
961
221
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
962
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
222
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
963
223
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
964
224
  frameRendering: {
965
225
  enabled: boolean;
@@ -975,6 +235,10 @@ export declare const actionSaveFileToDisk: {
975
235
  locked: boolean;
976
236
  fromSelection: boolean;
977
237
  } & import("../types").ActiveTool;
238
+ preferredSelectionTool: {
239
+ type: "selection" | "lasso";
240
+ initialized: boolean;
241
+ };
978
242
  penMode: boolean;
979
243
  penDetected: boolean;
980
244
  exportBackground: boolean;
@@ -983,19 +247,19 @@ export declare const actionSaveFileToDisk: {
983
247
  exportScale: number;
984
248
  currentItemStrokeColor: string;
985
249
  currentItemBackgroundColor: string;
986
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
250
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
987
251
  currentItemStrokeWidth: number;
988
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
252
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
989
253
  currentItemRoughness: number;
990
254
  currentItemOpacity: number;
991
- currentItemFontFamily: number;
255
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
992
256
  currentItemFontSize: number;
993
- currentItemTextAlign: string;
257
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
994
258
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
995
259
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
996
- currentHoveredFontFamily: number | null;
260
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
997
261
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
998
- currentItemArrowType: "round" | "sharp" | "elbow";
262
+ currentItemArrowType: "sharp" | "round" | "elbow";
999
263
  viewBackgroundColor: string;
1000
264
  scrollX: number;
1001
265
  scrollY: number;
@@ -1004,14 +268,12 @@ export declare const actionSaveFileToDisk: {
1004
268
  name: string | null;
1005
269
  isResizing: boolean;
1006
270
  isRotating: boolean;
1007
- zoom: Readonly<{
1008
- value: import("../types").NormalizedZoomValue;
1009
- }>;
1010
- openMenu: "canvas" | "shape" | null;
1011
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
271
+ zoom: import("../types").Zoom;
272
+ openMenu: "canvas" | null;
273
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1012
274
  openSidebar: {
1013
- name: string;
1014
- tab?: string | undefined;
275
+ name: import("../types").SidebarName;
276
+ tab?: import("../types").SidebarTabName;
1015
277
  } | null;
1016
278
  defaultSidebarDockedPreference: boolean;
1017
279
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -1035,31 +297,12 @@ export declare const actionSaveFileToDisk: {
1035
297
  selectedGroupIds: {
1036
298
  [groupId: string]: boolean;
1037
299
  };
1038
- editingGroupId: string | null;
300
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
1039
301
  width: number;
1040
302
  height: number;
1041
303
  offsetTop: number;
1042
304
  offsetLeft: number;
1043
- collaborators: Map<import("../types").SocketId, Readonly<{
1044
- pointer?: import("../types").CollaboratorPointer | undefined;
1045
- button?: "up" | "down" | undefined;
1046
- selectedElementIds?: Readonly<{
1047
- [id: string]: true;
1048
- }> | undefined;
1049
- username?: string | null | undefined;
1050
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1051
- color?: {
1052
- background: string;
1053
- stroke: string;
1054
- } | undefined;
1055
- avatarUrl?: string | undefined;
1056
- id?: string | undefined;
1057
- socketId?: import("../types").SocketId | undefined;
1058
- isCurrentUser?: boolean | undefined;
1059
- isInCall?: boolean | undefined;
1060
- isSpeaking?: boolean | undefined;
1061
- isMuted?: boolean | undefined;
1062
- }>>;
305
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
1063
306
  stats: {
1064
307
  open: boolean;
1065
308
  panels: number;
@@ -1072,7 +315,7 @@ export declare const actionSaveFileToDisk: {
1072
315
  shown: true;
1073
316
  data: import("../charts").Spreadsheet;
1074
317
  };
1075
- showHyperlinkPopup: false | "editor" | "info";
318
+ showHyperlinkPopup: false | "info" | "editor";
1076
319
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1077
320
  snapLines: readonly import("../snapping").SnapLine[];
1078
321
  originSnapOffset: {
@@ -1083,16 +326,16 @@ export declare const actionSaveFileToDisk: {
1083
326
  userToFollow: import("../types").UserToFollow | null;
1084
327
  followedBy: Set<import("../types").SocketId>;
1085
328
  isCropping: boolean;
1086
- croppingElementId: string | null;
329
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1087
330
  searchMatches: Readonly<{
1088
- focusedId: string | null;
331
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1089
332
  matches: readonly import("../types").SearchMatch[];
1090
333
  }> | null;
1091
334
  activeLockedId: string | null;
1092
335
  lockedMultiSelections: {
1093
336
  [groupId: string]: true;
1094
337
  };
1095
- stylesPanelMode: "compact" | "full";
338
+ bindMode: import("@excalidraw/element/types").BindMode;
1096
339
  };
1097
340
  } | {
1098
341
  captureUpdate: "EVENTUALLY";
@@ -1109,11 +352,12 @@ export declare const actionLoadScene: {
1109
352
  trackEvent: {
1110
353
  category: "export";
1111
354
  };
1112
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1113
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
355
+ predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
356
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<false | {
1114
357
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
1115
358
  appState: {
1116
359
  viewBackgroundColor: string;
360
+ theme: Theme;
1117
361
  frameRendering: {
1118
362
  enabled: boolean;
1119
363
  name: boolean;
@@ -1121,32 +365,31 @@ export declare const actionLoadScene: {
1121
365
  clip: boolean;
1122
366
  };
1123
367
  name: string | null;
1124
- zoom: Readonly<{
1125
- value: import("../types").NormalizedZoomValue;
1126
- }>;
368
+ zoom: import("../types").Zoom;
1127
369
  scrollX: number;
1128
370
  scrollY: number;
1129
371
  viewModeEnabled: boolean;
1130
- openDialog: {
372
+ openDialog: null | {
1131
373
  name: "imageExport" | "help" | "jsonExport";
1132
374
  } | {
1133
375
  name: "ttd";
1134
- tab: "mermaid" | "text-to-diagram";
376
+ tab: "text-to-diagram" | "mermaid";
1135
377
  } | {
1136
378
  name: "commandPalette";
379
+ } | {
380
+ name: "settings";
1137
381
  } | {
1138
382
  name: "elementLinkSelector";
1139
- sourceElementId: string;
1140
- } | null;
1141
- editingGroupId: string | null;
383
+ sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
384
+ };
385
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
1142
386
  selectedElementIds: Readonly<{
1143
387
  [id: string]: true;
1144
388
  }>;
1145
389
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1146
- theme: Theme;
1147
390
  activeEmbeddable: {
1148
391
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1149
- state: "active" | "hover";
392
+ state: "hover" | "active";
1150
393
  } | null;
1151
394
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1152
395
  selectedGroupIds: {
@@ -1154,40 +397,29 @@ export declare const actionLoadScene: {
1154
397
  };
1155
398
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1156
399
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
400
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1157
401
  isBindingEnabled: boolean;
1158
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
402
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1159
403
  isRotating: boolean;
1160
404
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1161
- collaborators: Map<import("../types").SocketId, Readonly<{
1162
- pointer?: import("../types").CollaboratorPointer | undefined;
1163
- button?: "up" | "down" | undefined;
1164
- selectedElementIds?: Readonly<{
1165
- [id: string]: true;
1166
- }> | undefined;
1167
- username?: string | null | undefined;
1168
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1169
- color?: {
1170
- background: string;
1171
- stroke: string;
1172
- } | undefined;
1173
- avatarUrl?: string | undefined;
1174
- id?: string | undefined;
1175
- socketId?: import("../types").SocketId | undefined;
1176
- isCurrentUser?: boolean | undefined;
1177
- isInCall?: boolean | undefined;
1178
- isSpeaking?: boolean | undefined;
1179
- isMuted?: boolean | undefined;
1180
- }>>;
405
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
1181
406
  snapLines: readonly import("../snapping").SnapLine[];
1182
407
  zenModeEnabled: boolean;
1183
408
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1184
409
  isCropping: boolean;
1185
- croppingElementId: string | null;
410
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1186
411
  searchMatches: Readonly<{
1187
- focusedId: string | null;
412
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1188
413
  matches: readonly import("../types").SearchMatch[];
1189
414
  }> | null;
1190
415
  activeLockedId: string | null;
416
+ hoveredElementIds: Readonly<{
417
+ [id: string]: true;
418
+ }>;
419
+ shouldCacheIgnoreZoom: boolean;
420
+ exportScale: number;
421
+ bindMode: import("@excalidraw/element/types").BindMode;
422
+ gridSize: number;
1191
423
  contextMenu: {
1192
424
  items: import("../components/ContextMenu").ContextMenuItems;
1193
425
  top: number;
@@ -1195,8 +427,7 @@ export declare const actionLoadScene: {
1195
427
  } | null;
1196
428
  showWelcomeScreen: boolean;
1197
429
  isLoading: boolean;
1198
- errorMessage: import("react").ReactNode;
1199
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
430
+ errorMessage: React.ReactNode;
1200
431
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1201
432
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1202
433
  editingFrame: string | null;
@@ -1205,52 +436,50 @@ export declare const actionLoadScene: {
1205
436
  locked: boolean;
1206
437
  fromSelection: boolean;
1207
438
  } & import("../types").ActiveTool;
439
+ preferredSelectionTool: {
440
+ type: "selection" | "lasso";
441
+ initialized: boolean;
442
+ };
1208
443
  penMode: boolean;
1209
444
  penDetected: boolean;
1210
445
  exportBackground: boolean;
1211
446
  exportEmbedScene: boolean;
1212
447
  exportWithDarkMode: boolean;
1213
- exportScale: number;
1214
448
  currentItemStrokeColor: string;
1215
449
  currentItemBackgroundColor: string;
1216
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
450
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
1217
451
  currentItemStrokeWidth: number;
1218
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
452
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
1219
453
  currentItemRoughness: number;
1220
454
  currentItemOpacity: number;
1221
- currentItemFontFamily: number;
455
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
1222
456
  currentItemFontSize: number;
1223
- currentItemTextAlign: string;
457
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
1224
458
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1225
459
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1226
- currentHoveredFontFamily: number | null;
460
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
1227
461
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1228
- currentItemArrowType: "round" | "sharp" | "elbow";
462
+ currentItemArrowType: "sharp" | "round" | "elbow";
1229
463
  cursorButton: "up" | "down";
1230
464
  scrolledOutside: boolean;
1231
465
  isResizing: boolean;
1232
- openMenu: "canvas" | "shape" | null;
1233
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
466
+ openMenu: "canvas" | null;
467
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1234
468
  openSidebar: {
1235
- name: string;
1236
- tab?: string | undefined;
469
+ name: import("../types").SidebarName;
470
+ tab?: import("../types").SidebarTabName;
1237
471
  } | null;
1238
472
  defaultSidebarDockedPreference: boolean;
1239
473
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1240
- hoveredElementIds: Readonly<{
1241
- [id: string]: true;
1242
- }>;
1243
474
  previousSelectedElementIds: {
1244
475
  [id: string]: true;
1245
476
  };
1246
477
  selectedElementsAreBeingDragged: boolean;
1247
- shouldCacheIgnoreZoom: boolean;
1248
478
  toast: {
1249
479
  message: string;
1250
- closable?: boolean | undefined;
1251
- duration?: number | undefined;
480
+ closable?: boolean;
481
+ duration?: number;
1252
482
  } | null;
1253
- gridSize: number;
1254
483
  gridStep: number;
1255
484
  gridModeEnabled: boolean;
1256
485
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
@@ -1266,7 +495,7 @@ export declare const actionLoadScene: {
1266
495
  shown: true;
1267
496
  data: import("../charts").Spreadsheet;
1268
497
  };
1269
- showHyperlinkPopup: false | "editor" | "info";
498
+ showHyperlinkPopup: false | "info" | "editor";
1270
499
  originSnapOffset: {
1271
500
  x: number;
1272
501
  y: number;
@@ -1277,7 +506,6 @@ export declare const actionLoadScene: {
1277
506
  lockedMultiSelections: {
1278
507
  [groupId: string]: true;
1279
508
  };
1280
- stylesPanelMode: "compact" | "full";
1281
509
  };
1282
510
  files: import("../types").BinaryFiles;
1283
511
  captureUpdate: "IMMEDIATELY";
@@ -1294,7 +522,7 @@ export declare const actionLoadScene: {
1294
522
  isLoading: boolean;
1295
523
  activeEmbeddable: {
1296
524
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1297
- state: "active" | "hover";
525
+ state: "hover" | "active";
1298
526
  } | null;
1299
527
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1300
528
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1302,7 +530,7 @@ export declare const actionLoadScene: {
1302
530
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1303
531
  isBindingEnabled: boolean;
1304
532
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1305
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
533
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1306
534
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1307
535
  frameRendering: {
1308
536
  enabled: boolean;
@@ -1318,6 +546,10 @@ export declare const actionLoadScene: {
1318
546
  locked: boolean;
1319
547
  fromSelection: boolean;
1320
548
  } & import("../types").ActiveTool;
549
+ preferredSelectionTool: {
550
+ type: "selection" | "lasso";
551
+ initialized: boolean;
552
+ };
1321
553
  penMode: boolean;
1322
554
  penDetected: boolean;
1323
555
  exportBackground: boolean;
@@ -1326,19 +558,19 @@ export declare const actionLoadScene: {
1326
558
  exportScale: number;
1327
559
  currentItemStrokeColor: string;
1328
560
  currentItemBackgroundColor: string;
1329
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
561
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
1330
562
  currentItemStrokeWidth: number;
1331
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
563
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
1332
564
  currentItemRoughness: number;
1333
565
  currentItemOpacity: number;
1334
- currentItemFontFamily: number;
566
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
1335
567
  currentItemFontSize: number;
1336
- currentItemTextAlign: string;
568
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
1337
569
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1338
570
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1339
- currentHoveredFontFamily: number | null;
571
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
1340
572
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1341
- currentItemArrowType: "round" | "sharp" | "elbow";
573
+ currentItemArrowType: "sharp" | "round" | "elbow";
1342
574
  viewBackgroundColor: string;
1343
575
  scrollX: number;
1344
576
  scrollY: number;
@@ -1347,26 +579,26 @@ export declare const actionLoadScene: {
1347
579
  name: string | null;
1348
580
  isResizing: boolean;
1349
581
  isRotating: boolean;
1350
- zoom: Readonly<{
1351
- value: import("../types").NormalizedZoomValue;
1352
- }>;
1353
- openMenu: "canvas" | "shape" | null;
1354
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
582
+ zoom: import("../types").Zoom;
583
+ openMenu: "canvas" | null;
584
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1355
585
  openSidebar: {
1356
- name: string;
1357
- tab?: string | undefined;
586
+ name: import("../types").SidebarName;
587
+ tab?: import("../types").SidebarTabName;
1358
588
  } | null;
1359
- openDialog: {
589
+ openDialog: null | {
1360
590
  name: "imageExport" | "help" | "jsonExport";
1361
591
  } | {
1362
592
  name: "ttd";
1363
- tab: "mermaid" | "text-to-diagram";
593
+ tab: "text-to-diagram" | "mermaid";
1364
594
  } | {
1365
595
  name: "commandPalette";
596
+ } | {
597
+ name: "settings";
1366
598
  } | {
1367
599
  name: "elementLinkSelector";
1368
- sourceElementId: string;
1369
- } | null;
600
+ sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
601
+ };
1370
602
  defaultSidebarDockedPreference: boolean;
1371
603
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1372
604
  selectedElementIds: Readonly<{
@@ -1382,8 +614,8 @@ export declare const actionLoadScene: {
1382
614
  shouldCacheIgnoreZoom: boolean;
1383
615
  toast: {
1384
616
  message: string;
1385
- closable?: boolean | undefined;
1386
- duration?: number | undefined;
617
+ closable?: boolean;
618
+ duration?: number;
1387
619
  } | null;
1388
620
  zenModeEnabled: boolean;
1389
621
  theme: Theme;
@@ -1394,32 +626,13 @@ export declare const actionLoadScene: {
1394
626
  selectedGroupIds: {
1395
627
  [groupId: string]: boolean;
1396
628
  };
1397
- editingGroupId: string | null;
629
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
1398
630
  width: number;
1399
631
  height: number;
1400
632
  offsetTop: number;
1401
633
  offsetLeft: number;
1402
634
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
1403
- collaborators: Map<import("../types").SocketId, Readonly<{
1404
- pointer?: import("../types").CollaboratorPointer | undefined;
1405
- button?: "up" | "down" | undefined;
1406
- selectedElementIds?: Readonly<{
1407
- [id: string]: true;
1408
- }> | undefined;
1409
- username?: string | null | undefined;
1410
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1411
- color?: {
1412
- background: string;
1413
- stroke: string;
1414
- } | undefined;
1415
- avatarUrl?: string | undefined;
1416
- id?: string | undefined;
1417
- socketId?: import("../types").SocketId | undefined;
1418
- isCurrentUser?: boolean | undefined;
1419
- isInCall?: boolean | undefined;
1420
- isSpeaking?: boolean | undefined;
1421
- isMuted?: boolean | undefined;
1422
- }>>;
635
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
1423
636
  stats: {
1424
637
  open: boolean;
1425
638
  panels: number;
@@ -1432,7 +645,7 @@ export declare const actionLoadScene: {
1432
645
  shown: true;
1433
646
  data: import("../charts").Spreadsheet;
1434
647
  };
1435
- showHyperlinkPopup: false | "editor" | "info";
648
+ showHyperlinkPopup: false | "info" | "editor";
1436
649
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1437
650
  snapLines: readonly import("../snapping").SnapLine[];
1438
651
  originSnapOffset: {
@@ -1443,16 +656,16 @@ export declare const actionLoadScene: {
1443
656
  userToFollow: import("../types").UserToFollow | null;
1444
657
  followedBy: Set<import("../types").SocketId>;
1445
658
  isCropping: boolean;
1446
- croppingElementId: string | null;
659
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1447
660
  searchMatches: Readonly<{
1448
- focusedId: string | null;
661
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1449
662
  matches: readonly import("../types").SearchMatch[];
1450
663
  }> | null;
1451
664
  activeLockedId: string | null;
1452
665
  lockedMultiSelections: {
1453
666
  [groupId: string]: true;
1454
667
  };
1455
- stylesPanelMode: "compact" | "full";
668
+ bindMode: import("@excalidraw/element/types").BindMode;
1456
669
  };
1457
670
  files: import("../types").BinaryFiles;
1458
671
  captureUpdate: "EVENTUALLY";
@@ -1461,188 +674,6 @@ export declare const actionLoadScene: {
1461
674
  } & {
1462
675
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1463
676
  };
1464
- export declare const actionExportWithDarkMode: {
1465
- name: "exportWithDarkMode";
1466
- label: string;
1467
- trackEvent: {
1468
- category: "export";
1469
- action: string;
1470
- };
1471
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
1472
- appState: {
1473
- exportWithDarkMode: any;
1474
- contextMenu: {
1475
- items: import("../components/ContextMenu").ContextMenuItems;
1476
- top: number;
1477
- left: number;
1478
- } | null;
1479
- showWelcomeScreen: boolean;
1480
- isLoading: boolean;
1481
- errorMessage: import("react").ReactNode;
1482
- activeEmbeddable: {
1483
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1484
- state: "active" | "hover";
1485
- } | null;
1486
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1487
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1488
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1489
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1490
- isBindingEnabled: boolean;
1491
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1492
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1493
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1494
- frameRendering: {
1495
- enabled: boolean;
1496
- name: boolean;
1497
- outline: boolean;
1498
- clip: boolean;
1499
- };
1500
- editingFrame: string | null;
1501
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1502
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1503
- activeTool: {
1504
- lastActiveTool: import("../types").ActiveTool | null;
1505
- locked: boolean;
1506
- fromSelection: boolean;
1507
- } & import("../types").ActiveTool;
1508
- penMode: boolean;
1509
- penDetected: boolean;
1510
- exportBackground: boolean;
1511
- exportEmbedScene: boolean;
1512
- exportScale: number;
1513
- currentItemStrokeColor: string;
1514
- currentItemBackgroundColor: string;
1515
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1516
- currentItemStrokeWidth: number;
1517
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1518
- currentItemRoughness: number;
1519
- currentItemOpacity: number;
1520
- currentItemFontFamily: number;
1521
- currentItemFontSize: number;
1522
- currentItemTextAlign: string;
1523
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1524
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1525
- currentHoveredFontFamily: number | null;
1526
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1527
- currentItemArrowType: "round" | "sharp" | "elbow";
1528
- viewBackgroundColor: string;
1529
- scrollX: number;
1530
- scrollY: number;
1531
- cursorButton: "up" | "down";
1532
- scrolledOutside: boolean;
1533
- name: string | null;
1534
- isResizing: boolean;
1535
- isRotating: boolean;
1536
- zoom: Readonly<{
1537
- value: import("../types").NormalizedZoomValue;
1538
- }>;
1539
- openMenu: "canvas" | "shape" | null;
1540
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1541
- openSidebar: {
1542
- name: string;
1543
- tab?: string | undefined;
1544
- } | null;
1545
- openDialog: {
1546
- name: "imageExport" | "help" | "jsonExport";
1547
- } | {
1548
- name: "ttd";
1549
- tab: "mermaid" | "text-to-diagram";
1550
- } | {
1551
- name: "commandPalette";
1552
- } | {
1553
- name: "elementLinkSelector";
1554
- sourceElementId: string;
1555
- } | null;
1556
- defaultSidebarDockedPreference: boolean;
1557
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1558
- selectedElementIds: Readonly<{
1559
- [id: string]: true;
1560
- }>;
1561
- hoveredElementIds: Readonly<{
1562
- [id: string]: true;
1563
- }>;
1564
- previousSelectedElementIds: {
1565
- [id: string]: true;
1566
- };
1567
- selectedElementsAreBeingDragged: boolean;
1568
- shouldCacheIgnoreZoom: boolean;
1569
- toast: {
1570
- message: string;
1571
- closable?: boolean | undefined;
1572
- duration?: number | undefined;
1573
- } | null;
1574
- zenModeEnabled: boolean;
1575
- theme: Theme;
1576
- gridSize: number;
1577
- gridStep: number;
1578
- gridModeEnabled: boolean;
1579
- viewModeEnabled: boolean;
1580
- selectedGroupIds: {
1581
- [groupId: string]: boolean;
1582
- };
1583
- editingGroupId: string | null;
1584
- width: number;
1585
- height: number;
1586
- offsetTop: number;
1587
- offsetLeft: number;
1588
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1589
- collaborators: Map<import("../types").SocketId, Readonly<{
1590
- pointer?: import("../types").CollaboratorPointer | undefined;
1591
- button?: "up" | "down" | undefined;
1592
- selectedElementIds?: Readonly<{
1593
- [id: string]: true;
1594
- }> | undefined;
1595
- username?: string | null | undefined;
1596
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1597
- color?: {
1598
- background: string;
1599
- stroke: string;
1600
- } | undefined;
1601
- avatarUrl?: string | undefined;
1602
- id?: string | undefined;
1603
- socketId?: import("../types").SocketId | undefined;
1604
- isCurrentUser?: boolean | undefined;
1605
- isInCall?: boolean | undefined;
1606
- isSpeaking?: boolean | undefined;
1607
- isMuted?: boolean | undefined;
1608
- }>>;
1609
- stats: {
1610
- open: boolean;
1611
- panels: number;
1612
- };
1613
- currentChartType: import("@excalidraw/element/types").ChartType;
1614
- pasteDialog: {
1615
- shown: false;
1616
- data: null;
1617
- } | {
1618
- shown: true;
1619
- data: import("../charts").Spreadsheet;
1620
- };
1621
- showHyperlinkPopup: false | "editor" | "info";
1622
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1623
- snapLines: readonly import("../snapping").SnapLine[];
1624
- originSnapOffset: {
1625
- x: number;
1626
- y: number;
1627
- } | null;
1628
- objectsSnapModeEnabled: boolean;
1629
- userToFollow: import("../types").UserToFollow | null;
1630
- followedBy: Set<import("../types").SocketId>;
1631
- isCropping: boolean;
1632
- croppingElementId: string | null;
1633
- searchMatches: Readonly<{
1634
- focusedId: string | null;
1635
- matches: readonly import("../types").SearchMatch[];
1636
- }> | null;
1637
- activeLockedId: string | null;
1638
- lockedMultiSelections: {
1639
- [groupId: string]: true;
1640
- };
1641
- stylesPanelMode: "compact" | "full";
1642
- };
1643
- captureUpdate: "EVENTUALLY";
1644
- };
1645
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1646
- } & {
1647
- keyTest?: undefined;
677
+ export declare const actionExportWithDarkMode: import("./types").Action<boolean> & {
678
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
1648
679
  };