@excalidraw/excalidraw 0.18.0-a9e2d2348-preview → 0.18.0-c4c0649

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 (1045) hide show
  1. package/CHANGELOG.md +40 -14
  2. package/README.md +1 -1
  3. package/dist/dev/chunk-FB2NA5UG.js +4132 -0
  4. package/dist/dev/chunk-FB2NA5UG.js.map +7 -0
  5. package/dist/dev/chunk-HNRFOURL.js +23482 -0
  6. package/dist/dev/chunk-HNRFOURL.js.map +7 -0
  7. package/dist/dev/chunk-JCUIYZXF.js +716 -0
  8. package/dist/dev/chunk-JCUIYZXF.js.map +7 -0
  9. package/dist/dev/chunk-MFAYKRVR.js +66 -0
  10. package/dist/dev/chunk-MFAYKRVR.js.map +7 -0
  11. package/dist/dev/chunk-VKWYDXFZ.js +7 -0
  12. package/dist/dev/chunk-VKWYDXFZ.js.map +7 -0
  13. package/dist/dev/chunk-XDFCUUT6.js +31 -0
  14. package/dist/dev/chunk-XDFCUUT6.js.map +7 -0
  15. package/dist/dev/data/image-SLEZBMLG.js +13 -0
  16. package/dist/dev/data/image-SLEZBMLG.js.map +7 -0
  17. package/dist/dev/fonts/Assistant/Assistant-Bold.woff2 +0 -0
  18. package/dist/dev/fonts/Assistant/Assistant-Medium.woff2 +0 -0
  19. package/dist/dev/fonts/Assistant/Assistant-Regular.woff2 +0 -0
  20. package/dist/dev/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
  21. package/dist/dev/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
  22. package/dist/dev/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
  23. package/dist/dev/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
  24. package/dist/dev/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
  25. package/dist/dev/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
  26. package/dist/dev/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
  27. package/dist/dev/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
  28. package/dist/dev/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
  29. package/dist/dev/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
  30. package/dist/dev/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
  31. package/dist/dev/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
  32. package/dist/dev/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
  33. package/dist/dev/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
  34. package/dist/dev/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  35. package/dist/dev/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  36. package/dist/dev/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  37. package/dist/dev/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  38. package/dist/dev/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  39. package/dist/dev/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  40. package/dist/dev/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  41. package/dist/dev/fonts/Virgil/Virgil-Regular.woff2 +0 -0
  42. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
  43. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
  44. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
  45. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
  46. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
  47. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
  48. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
  49. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
  50. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
  51. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
  52. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
  53. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
  54. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
  55. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
  56. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
  57. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
  58. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
  59. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
  60. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
  61. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
  62. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
  63. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
  64. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
  65. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
  66. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
  67. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
  68. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
  69. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
  70. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
  71. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
  72. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
  73. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
  74. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
  75. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
  76. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
  77. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
  78. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
  79. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
  80. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
  81. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
  82. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
  83. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
  84. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
  85. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
  86. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
  87. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
  88. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
  89. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
  90. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
  91. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
  92. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
  93. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
  94. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
  95. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
  96. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
  97. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
  98. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
  99. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
  100. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
  101. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
  102. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
  103. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
  104. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
  105. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
  106. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
  107. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
  108. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
  109. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
  110. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
  111. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
  112. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
  113. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
  114. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
  115. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
  116. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
  117. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
  118. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
  119. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
  120. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
  121. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
  122. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
  123. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
  124. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
  125. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
  126. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
  127. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
  128. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
  129. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
  130. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
  131. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
  132. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
  133. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
  134. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
  135. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
  136. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
  137. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
  138. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
  139. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
  140. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
  141. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
  142. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
  143. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
  144. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
  145. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
  146. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
  147. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
  148. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
  149. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
  150. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
  151. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
  152. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
  153. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
  154. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
  155. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
  156. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
  157. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
  158. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
  159. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
  160. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
  161. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
  162. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
  163. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
  164. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
  165. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
  166. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
  167. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
  168. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
  169. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
  170. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
  171. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
  172. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
  173. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
  174. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
  175. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
  176. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
  177. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
  178. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
  179. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
  180. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
  181. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
  182. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
  183. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
  184. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
  185. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
  186. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
  187. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
  188. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
  189. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
  190. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
  191. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
  192. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
  193. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
  194. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
  195. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
  196. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
  197. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
  198. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
  199. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
  200. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
  201. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
  202. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
  203. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
  204. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
  205. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
  206. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
  207. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
  208. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
  209. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
  210. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
  211. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
  212. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
  213. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
  214. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
  215. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
  216. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
  217. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
  218. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
  219. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
  220. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
  221. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
  222. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
  223. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
  224. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
  225. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
  226. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
  227. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
  228. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
  229. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
  230. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
  231. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
  232. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
  233. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
  234. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
  235. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
  236. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
  237. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
  238. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
  239. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
  240. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
  241. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
  242. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
  243. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
  244. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
  245. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
  246. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
  247. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
  248. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
  249. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
  250. package/dist/dev/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
  251. package/dist/dev/index.css +6663 -0
  252. package/dist/dev/index.css.map +7 -0
  253. package/dist/dev/index.js +36921 -100
  254. package/dist/dev/index.js.map +4 -4
  255. package/dist/dev/locales/ar-SA-XORAP2EK.js +586 -0
  256. package/dist/dev/locales/ar-SA-XORAP2EK.js.map +7 -0
  257. package/dist/dev/locales/az-AZ-NAUU3Z4Y.js +586 -0
  258. package/dist/dev/locales/az-AZ-NAUU3Z4Y.js.map +7 -0
  259. package/dist/dev/locales/bg-BG-AAABLFCY.js +586 -0
  260. package/dist/dev/locales/bg-BG-AAABLFCY.js.map +7 -0
  261. package/dist/dev/locales/bn-BD-PM4AC5WG.js +586 -0
  262. package/dist/dev/locales/bn-BD-PM4AC5WG.js.map +7 -0
  263. package/dist/dev/locales/ca-ES-YNNMFRQX.js +586 -0
  264. package/dist/dev/locales/ca-ES-YNNMFRQX.js.map +7 -0
  265. package/dist/dev/locales/cs-CZ-DGZA5IKG.js +586 -0
  266. package/dist/dev/locales/cs-CZ-DGZA5IKG.js.map +7 -0
  267. package/dist/dev/locales/da-DK-N76F4QAJ.js +586 -0
  268. package/dist/dev/locales/da-DK-N76F4QAJ.js.map +7 -0
  269. package/dist/dev/locales/de-DE-DMRXZ2SZ.js +586 -0
  270. package/dist/dev/locales/de-DE-DMRXZ2SZ.js.map +7 -0
  271. package/dist/dev/locales/el-GR-HIKPLEXI.js +586 -0
  272. package/dist/dev/locales/el-GR-HIKPLEXI.js.map +7 -0
  273. package/dist/dev/locales/en-ZDTPSZNL.js +78 -0
  274. package/dist/dev/locales/en-ZDTPSZNL.js.map +7 -0
  275. package/dist/dev/locales/es-ES-AQYVXC32.js +586 -0
  276. package/dist/dev/locales/es-ES-AQYVXC32.js.map +7 -0
  277. package/dist/dev/locales/eu-ES-3TOEU5DE.js +586 -0
  278. package/dist/dev/locales/eu-ES-3TOEU5DE.js.map +7 -0
  279. package/dist/dev/locales/fa-IR-527GAKUP.js +586 -0
  280. package/dist/dev/locales/fa-IR-527GAKUP.js.map +7 -0
  281. package/dist/dev/locales/fi-FI-M3WLVDFP.js +586 -0
  282. package/dist/dev/locales/fi-FI-M3WLVDFP.js.map +7 -0
  283. package/dist/dev/locales/fr-FR-YE4VDJFI.js +586 -0
  284. package/dist/dev/locales/fr-FR-YE4VDJFI.js.map +7 -0
  285. package/dist/dev/locales/gl-ES-KMXUYGUN.js +586 -0
  286. package/dist/dev/locales/gl-ES-KMXUYGUN.js.map +7 -0
  287. package/dist/dev/locales/he-IL-4MU5N22B.js +586 -0
  288. package/dist/dev/locales/he-IL-4MU5N22B.js.map +7 -0
  289. package/dist/dev/locales/hi-IN-ZHZNZWFC.js +586 -0
  290. package/dist/dev/locales/hi-IN-ZHZNZWFC.js.map +7 -0
  291. package/dist/dev/locales/hu-HU-VIYZI3X4.js +586 -0
  292. package/dist/dev/locales/hu-HU-VIYZI3X4.js.map +7 -0
  293. package/dist/dev/locales/id-ID-22TWZNLA.js +586 -0
  294. package/dist/dev/locales/id-ID-22TWZNLA.js.map +7 -0
  295. package/dist/dev/locales/it-IT-MDEQ2SG3.js +586 -0
  296. package/dist/dev/locales/it-IT-MDEQ2SG3.js.map +7 -0
  297. package/dist/dev/locales/ja-JP-K2DI4W6B.js +586 -0
  298. package/dist/dev/locales/ja-JP-K2DI4W6B.js.map +7 -0
  299. package/dist/dev/locales/kaa-6BPSNM3R.js +586 -0
  300. package/dist/dev/locales/kaa-6BPSNM3R.js.map +7 -0
  301. package/dist/dev/locales/kab-KAB-2S7ZURK7.js +586 -0
  302. package/dist/dev/locales/kab-KAB-2S7ZURK7.js.map +7 -0
  303. package/dist/dev/locales/kk-KZ-UJPYGRQQ.js +586 -0
  304. package/dist/dev/locales/kk-KZ-UJPYGRQQ.js.map +7 -0
  305. package/dist/dev/locales/km-KH-M5T5JKUE.js +586 -0
  306. package/dist/dev/locales/km-KH-M5T5JKUE.js.map +7 -0
  307. package/dist/dev/locales/ko-KR-RQX37SNF.js +586 -0
  308. package/dist/dev/locales/ko-KR-RQX37SNF.js.map +7 -0
  309. package/dist/dev/locales/ku-TR-5XJDIERL.js +586 -0
  310. package/dist/dev/locales/ku-TR-5XJDIERL.js.map +7 -0
  311. package/dist/dev/locales/lt-LT-MGUBX6CA.js +586 -0
  312. package/dist/dev/locales/lt-LT-MGUBX6CA.js.map +7 -0
  313. package/dist/dev/locales/lv-LV-MD7N5VHD.js +586 -0
  314. package/dist/dev/locales/lv-LV-MD7N5VHD.js.map +7 -0
  315. package/dist/dev/locales/mr-IN-4XWMNGQC.js +586 -0
  316. package/dist/dev/locales/mr-IN-4XWMNGQC.js.map +7 -0
  317. package/dist/dev/locales/my-MM-O4Z74GN5.js +586 -0
  318. package/dist/dev/locales/my-MM-O4Z74GN5.js.map +7 -0
  319. package/dist/dev/locales/nb-NO-BMB73KRH.js +586 -0
  320. package/dist/dev/locales/nb-NO-BMB73KRH.js.map +7 -0
  321. package/dist/dev/locales/nl-NL-F2257BLQ.js +586 -0
  322. package/dist/dev/locales/nl-NL-F2257BLQ.js.map +7 -0
  323. package/dist/dev/locales/nn-NO-NCORG7TS.js +586 -0
  324. package/dist/dev/locales/nn-NO-NCORG7TS.js.map +7 -0
  325. package/dist/dev/locales/oc-FR-ATFBDMF6.js +586 -0
  326. package/dist/dev/locales/oc-FR-ATFBDMF6.js.map +7 -0
  327. package/dist/dev/locales/pa-IN-D2I375G4.js +586 -0
  328. package/dist/dev/locales/pa-IN-D2I375G4.js.map +7 -0
  329. package/dist/dev/locales/percentages-YKFLWNK2.js +12 -0
  330. package/dist/dev/locales/percentages-YKFLWNK2.js.map +7 -0
  331. package/dist/dev/locales/pl-PL-YJHOWAAW.js +586 -0
  332. package/dist/dev/locales/pl-PL-YJHOWAAW.js.map +7 -0
  333. package/dist/dev/locales/pt-BR-APOPYZJ7.js +586 -0
  334. package/dist/dev/locales/pt-BR-APOPYZJ7.js.map +7 -0
  335. package/dist/dev/locales/pt-PT-W56WCN7P.js +586 -0
  336. package/dist/dev/locales/pt-PT-W56WCN7P.js.map +7 -0
  337. package/dist/dev/locales/ro-RO-L575VRQA.js +586 -0
  338. package/dist/dev/locales/ro-RO-L575VRQA.js.map +7 -0
  339. package/dist/dev/locales/ru-RU-BLG6HZG5.js +586 -0
  340. package/dist/dev/locales/ru-RU-BLG6HZG5.js.map +7 -0
  341. package/dist/dev/locales/si-LK-KT7GGO6D.js +586 -0
  342. package/dist/dev/locales/si-LK-KT7GGO6D.js.map +7 -0
  343. package/dist/dev/locales/sk-SK-DY6IPO5U.js +586 -0
  344. package/dist/dev/locales/sk-SK-DY6IPO5U.js.map +7 -0
  345. package/dist/dev/locales/sl-SI-5DZSRA47.js +586 -0
  346. package/dist/dev/locales/sl-SI-5DZSRA47.js.map +7 -0
  347. package/dist/dev/locales/sv-SE-V32YHALQ.js +586 -0
  348. package/dist/dev/locales/sv-SE-V32YHALQ.js.map +7 -0
  349. package/dist/dev/locales/ta-IN-5JRAGQAO.js +586 -0
  350. package/dist/dev/locales/ta-IN-5JRAGQAO.js.map +7 -0
  351. package/dist/dev/locales/th-TH-55ACRHDJ.js +586 -0
  352. package/dist/dev/locales/th-TH-55ACRHDJ.js.map +7 -0
  353. package/dist/dev/locales/tr-TR-7QYBXDBO.js +586 -0
  354. package/dist/dev/locales/tr-TR-7QYBXDBO.js.map +7 -0
  355. package/dist/dev/locales/uk-UA-TJS2TMRH.js +586 -0
  356. package/dist/dev/locales/uk-UA-TJS2TMRH.js.map +7 -0
  357. package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js +586 -0
  358. package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js.map +7 -0
  359. package/dist/dev/locales/zh-CN-4MXUOFTH.js +586 -0
  360. package/dist/dev/locales/zh-CN-4MXUOFTH.js.map +7 -0
  361. package/dist/dev/locales/zh-HK-RBTGIU3U.js +586 -0
  362. package/dist/dev/locales/zh-HK-RBTGIU3U.js.map +7 -0
  363. package/dist/dev/locales/zh-TW-U5VF4CCU.js +586 -0
  364. package/dist/dev/locales/zh-TW-U5VF4CCU.js.map +7 -0
  365. package/dist/dev/subset-shared.chunk.js +8 -33
  366. package/dist/dev/subset-shared.chunk.js.map +3 -3
  367. package/dist/dev/subset-worker.chunk.js +7 -1
  368. package/dist/dev/subset-worker.chunk.js.map +1 -1
  369. package/dist/prod/chunk-G6SRO7HP.js +7 -0
  370. package/dist/prod/chunk-GCFVWREF.js +12 -0
  371. package/dist/prod/chunk-LS7FJGPW.js +86 -0
  372. package/dist/prod/chunk-M3D5LUUK.js +33 -0
  373. package/dist/prod/chunk-SRAX5OIU.js +1 -0
  374. package/dist/prod/chunk-Z3N5DIM6.js +1 -0
  375. package/dist/prod/data/image-PMKVN4IF.js +1 -0
  376. package/dist/prod/fonts/Assistant/Assistant-Bold.woff2 +0 -0
  377. package/dist/prod/fonts/Assistant/Assistant-Medium.woff2 +0 -0
  378. package/dist/prod/fonts/Assistant/Assistant-Regular.woff2 +0 -0
  379. package/dist/prod/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
  380. package/dist/prod/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
  381. package/dist/prod/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
  382. package/dist/prod/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
  383. package/dist/prod/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
  384. package/dist/prod/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
  385. package/dist/prod/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
  386. package/dist/prod/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
  387. package/dist/prod/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
  388. package/dist/prod/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
  389. package/dist/prod/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
  390. package/dist/prod/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
  391. package/dist/prod/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
  392. package/dist/prod/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
  393. package/dist/prod/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  394. package/dist/prod/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  395. package/dist/prod/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  396. package/dist/prod/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  397. package/dist/prod/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  398. package/dist/prod/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  399. package/dist/prod/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  400. package/dist/prod/fonts/Virgil/Virgil-Regular.woff2 +0 -0
  401. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
  402. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
  403. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
  404. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
  405. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
  406. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
  407. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
  408. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
  409. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
  410. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
  411. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
  412. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
  413. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
  414. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
  415. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
  416. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
  417. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
  418. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
  419. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
  420. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
  421. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
  422. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
  423. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
  424. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
  425. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
  426. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
  427. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
  428. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
  429. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
  430. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
  431. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
  432. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
  433. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
  434. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
  435. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
  436. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
  437. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
  438. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
  439. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
  440. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
  441. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
  442. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
  443. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
  444. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
  445. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
  446. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
  447. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
  448. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
  449. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
  450. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
  451. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
  452. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
  453. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
  454. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
  455. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
  456. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
  457. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
  458. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
  459. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
  460. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
  461. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
  462. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
  463. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
  464. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
  465. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
  466. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
  467. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
  468. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
  469. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
  470. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
  471. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
  472. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
  473. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
  474. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
  475. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
  476. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
  477. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
  478. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
  479. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
  480. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
  481. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
  482. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
  483. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
  484. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
  485. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
  486. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
  487. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
  488. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
  489. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
  490. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
  491. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
  492. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
  493. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
  494. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
  495. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
  496. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
  497. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
  498. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
  499. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
  500. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
  501. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
  502. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
  503. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
  504. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
  505. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
  506. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
  507. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
  508. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
  509. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
  510. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
  511. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
  512. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
  513. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
  514. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
  515. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
  516. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
  517. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
  518. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
  519. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
  520. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
  521. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
  522. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
  523. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
  524. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
  525. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
  526. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
  527. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
  528. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
  529. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
  530. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
  531. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
  532. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
  533. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
  534. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
  535. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
  536. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
  537. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
  538. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
  539. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
  540. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
  541. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
  542. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
  543. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
  544. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
  545. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
  546. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
  547. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
  548. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
  549. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
  550. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
  551. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
  552. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
  553. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
  554. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
  555. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
  556. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
  557. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
  558. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
  559. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
  560. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
  561. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
  562. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
  563. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
  564. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
  565. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
  566. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
  567. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
  568. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
  569. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
  570. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
  571. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
  572. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
  573. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
  574. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
  575. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
  576. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
  577. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
  578. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
  579. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
  580. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
  581. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
  582. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
  583. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
  584. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
  585. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
  586. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
  587. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
  588. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
  589. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
  590. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
  591. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
  592. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
  593. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
  594. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
  595. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
  596. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
  597. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
  598. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
  599. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
  600. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
  601. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
  602. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
  603. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
  604. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
  605. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
  606. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
  607. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
  608. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
  609. package/dist/prod/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
  610. package/dist/prod/index.css +1 -0
  611. package/dist/prod/index.js +112 -1
  612. package/dist/prod/locales/ar-SA-G6X2FPQ2.js +10 -0
  613. package/dist/prod/locales/az-AZ-76LH7QW2.js +1 -0
  614. package/dist/prod/locales/bg-BG-XCXSNQG7.js +5 -0
  615. package/dist/prod/locales/bn-BD-2XOGV67Q.js +5 -0
  616. package/dist/prod/locales/ca-ES-6MX7JW3Y.js +8 -0
  617. package/dist/prod/locales/cs-CZ-2BRQDIVT.js +11 -0
  618. package/dist/prod/locales/da-DK-5WZEPLOC.js +5 -0
  619. package/dist/prod/locales/de-DE-XR44H4JA.js +8 -0
  620. package/dist/prod/locales/el-GR-BZB4AONW.js +10 -0
  621. package/dist/prod/locales/en-MHZ26NAR.js +1 -0
  622. package/dist/prod/locales/es-ES-U4NZUMDT.js +9 -0
  623. package/dist/prod/locales/eu-ES-A7QVB2H4.js +11 -0
  624. package/dist/prod/locales/fa-IR-HGAKTJCU.js +8 -0
  625. package/dist/prod/locales/fi-FI-Z5N7JZ37.js +6 -0
  626. package/dist/prod/locales/fr-FR-RHASNOE6.js +9 -0
  627. package/dist/prod/locales/gl-ES-HMX3MZ6V.js +10 -0
  628. package/dist/prod/locales/he-IL-6SHJWFNN.js +10 -0
  629. package/dist/prod/locales/hi-IN-IWLTKZ5I.js +4 -0
  630. package/dist/prod/locales/hu-HU-A5ZG7DT2.js +7 -0
  631. package/dist/prod/locales/id-ID-SAP4L64H.js +10 -0
  632. package/dist/prod/locales/it-IT-JPQ66NNP.js +11 -0
  633. package/dist/prod/locales/ja-JP-DBVTYXUO.js +8 -0
  634. package/dist/prod/locales/kaa-6HZHGXH3.js +1 -0
  635. package/dist/prod/locales/kab-KAB-ZGHBKWFO.js +8 -0
  636. package/dist/prod/locales/kk-KZ-P5N5QNE5.js +1 -0
  637. package/dist/prod/locales/km-KH-HSX4SM5Z.js +11 -0
  638. package/dist/prod/locales/ko-KR-MTYHY66A.js +9 -0
  639. package/dist/prod/locales/ku-TR-6OUDTVRD.js +9 -0
  640. package/dist/prod/locales/lt-LT-XHIRWOB4.js +3 -0
  641. package/dist/prod/locales/lv-LV-5QDEKY6T.js +7 -0
  642. package/dist/prod/locales/mr-IN-CRQNXWMA.js +13 -0
  643. package/dist/prod/locales/my-MM-5M5IBNSE.js +1 -0
  644. package/dist/prod/locales/nb-NO-T6EIAALU.js +10 -0
  645. package/dist/prod/locales/nl-NL-IS3SIHDZ.js +8 -0
  646. package/dist/prod/locales/nn-NO-6E72VCQL.js +8 -0
  647. package/dist/prod/locales/oc-FR-POXYY2M6.js +8 -0
  648. package/dist/prod/locales/pa-IN-N4M65BXN.js +4 -0
  649. package/dist/prod/locales/percentages-BXMCSKIN.js +1 -0
  650. package/dist/prod/locales/pl-PL-T2D74RX3.js +9 -0
  651. package/dist/prod/locales/pt-BR-5N22H2LF.js +9 -0
  652. package/dist/prod/locales/pt-PT-UZXXM6DQ.js +9 -0
  653. package/dist/prod/locales/ro-RO-JPDTUUEW.js +11 -0
  654. package/dist/prod/locales/ru-RU-B4JR7IUQ.js +9 -0
  655. package/dist/prod/locales/si-LK-N5RQ5JYF.js +1 -0
  656. package/dist/prod/locales/sk-SK-C5VTKIMK.js +6 -0
  657. package/dist/prod/locales/sl-SI-NN7IZMDC.js +6 -0
  658. package/dist/prod/locales/sv-SE-XGPEYMSR.js +10 -0
  659. package/dist/prod/locales/ta-IN-2NMHFXQM.js +9 -0
  660. package/dist/prod/locales/th-TH-HPSO5L25.js +2 -0
  661. package/dist/prod/locales/tr-TR-DEFEU3FU.js +7 -0
  662. package/dist/prod/locales/uk-UA-QMV73CPH.js +6 -0
  663. package/dist/prod/locales/vi-VN-M7AON7JQ.js +5 -0
  664. package/dist/prod/locales/zh-CN-LNUGB5OW.js +10 -0
  665. package/dist/prod/locales/zh-HK-E62DVLB3.js +1 -0
  666. package/dist/prod/locales/zh-TW-RAJ6MFWO.js +9 -0
  667. package/dist/prod/subset-shared.chunk.js +1 -1
  668. package/dist/prod/subset-worker.chunk.js +1 -1
  669. package/dist/types/{excalidraw/binaryheap.d.ts → common/src/binary-heap.d.ts} +12 -12
  670. package/dist/types/{excalidraw → common/src}/colors.d.ts +62 -61
  671. package/dist/types/{excalidraw → common/src}/constants.d.ts +328 -323
  672. package/dist/types/{excalidraw → common/src}/emitter.d.ts +16 -16
  673. package/dist/types/{excalidraw/fonts/FontMetadata.d.ts → common/src/font-metadata.d.ts} +48 -38
  674. package/dist/types/common/src/index.d.ts +12 -0
  675. package/dist/types/{excalidraw → common/src}/keys.d.ts +189 -189
  676. package/dist/types/{excalidraw → common/src}/points.d.ts +9 -7
  677. package/dist/types/common/src/promise-pool.d.ts +6 -0
  678. package/dist/types/{excalidraw → common/src}/queue.d.ts +9 -9
  679. package/dist/types/{excalidraw → common/src}/random.d.ts +3 -3
  680. package/dist/types/{excalidraw/data → common/src}/url.d.ts +7 -7
  681. package/dist/types/{excalidraw → common/src}/utility-types.d.ts +38 -33
  682. package/dist/types/{excalidraw → common/src}/utils.d.ts +269 -256
  683. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +76 -79
  684. package/dist/types/{excalidraw/scene → element/src}/Shape.d.ts +17 -17
  685. package/dist/types/{excalidraw/scene → element/src}/ShapeCache.d.ts +25 -25
  686. package/dist/types/element/src/align.d.ts +7 -0
  687. package/dist/types/{excalidraw/element → element/src}/binding.d.ts +107 -99
  688. package/dist/types/{excalidraw/element → element/src}/bounds.d.ts +81 -76
  689. package/dist/types/{excalidraw/element → element/src}/collision.d.ts +26 -26
  690. package/dist/types/{excalidraw/scene → element/src}/comparisons.d.ts +8 -8
  691. package/dist/types/{excalidraw/element → element/src}/containerCache.d.ts +11 -11
  692. package/dist/types/{excalidraw/element → element/src}/cropElement.d.ts +19 -19
  693. package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +196 -191
  694. package/dist/types/{excalidraw/element → element/src}/distance.d.ts +3 -3
  695. package/dist/types/{excalidraw → element/src}/distribute.d.ts +6 -6
  696. package/dist/types/{excalidraw/element → element/src}/dragElements.d.ts +33 -32
  697. package/dist/types/element/src/duplicate.d.ts +63 -0
  698. package/dist/types/{excalidraw/element → element/src}/elbowArrow.d.ts +17 -17
  699. package/dist/types/{excalidraw/element → element/src}/elementLink.d.ts +13 -13
  700. package/dist/types/element/src/embeddable.d.ts +10 -0
  701. package/dist/types/{excalidraw/element → element/src}/flowchart.d.ts +26 -25
  702. package/dist/types/{excalidraw → element/src}/fractionalIndex.d.ts +51 -48
  703. package/dist/types/{excalidraw → element/src}/frame.d.ts +70 -69
  704. package/dist/types/{excalidraw → element/src}/groups.d.ts +33 -33
  705. package/dist/types/{excalidraw/element → element/src}/heading.d.ts +15 -16
  706. package/dist/types/{excalidraw/element → element/src}/image.d.ts +32 -32
  707. package/dist/types/element/src/index.d.ts +59 -0
  708. package/dist/types/{excalidraw/element → element/src}/linearElementEditor.d.ts +126 -130
  709. package/dist/types/{excalidraw/element → element/src}/mutateElement.d.ts +21 -13
  710. package/dist/types/{excalidraw/element → element/src}/newElement.d.ts +61 -101
  711. package/dist/types/{excalidraw/renderer → element/src}/renderElement.d.ts +28 -28
  712. package/dist/types/{excalidraw/element → element/src}/resizeElements.d.ts +31 -31
  713. package/dist/types/{excalidraw/element → element/src}/resizeTest.d.ts +15 -15
  714. package/dist/types/{excalidraw/scene → element/src}/selection.d.ts +38 -32
  715. package/dist/types/element/src/shapes.d.ts +23 -0
  716. package/dist/types/{excalidraw/element → element/src}/showSelectedShapeActions.d.ts +3 -3
  717. package/dist/types/{excalidraw/element → element/src}/sizeHelpers.d.ts +34 -35
  718. package/dist/types/{excalidraw/element → element/src}/sortElements.d.ts +2 -2
  719. package/dist/types/element/src/store.d.ts +227 -0
  720. package/dist/types/{excalidraw/element → element/src}/textElement.d.ts +40 -39
  721. package/dist/types/{excalidraw/element → element/src}/textMeasurements.d.ts +41 -41
  722. package/dist/types/{excalidraw/element → element/src}/textWrapping.d.ts +13 -13
  723. package/dist/types/{excalidraw/element → element/src}/transformHandles.d.ts +55 -55
  724. package/dist/types/{excalidraw/element → element/src}/typeChecks.d.ts +43 -39
  725. package/dist/types/{excalidraw/element → element/src}/types.d.ts +290 -282
  726. package/dist/types/{excalidraw/element → element/src}/utils.d.ts +21 -21
  727. package/dist/types/{excalidraw → element/src}/zindex.d.ts +7 -6
  728. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +519 -534
  729. package/dist/types/excalidraw/actions/actionAlign.d.ts +110 -110
  730. package/dist/types/excalidraw/actions/actionBoundText.d.ts +383 -393
  731. package/dist/types/excalidraw/actions/actionCanvas.d.ts +2377 -2266
  732. package/dist/types/excalidraw/actions/actionClipboard.d.ts +1153 -1183
  733. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +186 -191
  734. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +558 -573
  735. package/dist/types/excalidraw/actions/actionDistribute.d.ts +35 -35
  736. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +18 -22
  737. package/dist/types/excalidraw/actions/actionElementLink.d.ts +208 -213
  738. package/dist/types/excalidraw/actions/actionElementLock.d.ts +370 -381
  739. package/dist/types/excalidraw/{element/embeddable.d.ts → actions/actionEmbeddable.d.ts} +183 -198
  740. package/dist/types/excalidraw/actions/actionExport.d.ts +1621 -1666
  741. package/dist/types/excalidraw/actions/actionFinalize.d.ts +352 -362
  742. package/dist/types/excalidraw/actions/actionFlip.d.ts +35 -35
  743. package/dist/types/excalidraw/actions/actionFrame.d.ts +1233 -1253
  744. package/dist/types/excalidraw/actions/actionGroup.d.ts +381 -391
  745. package/dist/types/excalidraw/actions/actionHistory.d.ts +6 -7
  746. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +187 -192
  747. package/dist/types/excalidraw/actions/actionLink.d.ts +187 -192
  748. package/dist/types/excalidraw/actions/actionMenu.d.ts +539 -554
  749. package/dist/types/excalidraw/actions/actionNavigate.d.ts +357 -367
  750. package/dist/types/excalidraw/actions/actionProperties.d.ts +2721 -2796
  751. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +186 -191
  752. package/dist/types/excalidraw/actions/actionStyles.d.ts +200 -205
  753. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +17 -17
  754. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +189 -194
  755. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +187 -192
  756. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +180 -357
  757. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  758. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +186 -192
  759. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +187 -193
  760. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +187 -193
  761. package/dist/types/excalidraw/actions/actionZindex.d.ts +75 -75
  762. package/dist/types/excalidraw/actions/index.d.ts +28 -27
  763. package/dist/types/excalidraw/actions/manager.d.ts +21 -21
  764. package/dist/types/excalidraw/actions/register.d.ts +5 -5
  765. package/dist/types/excalidraw/actions/shortcuts.d.ts +4 -4
  766. package/dist/types/excalidraw/actions/types.d.ts +46 -46
  767. package/dist/types/excalidraw/analytics.d.ts +1 -1
  768. package/dist/types/excalidraw/animated-trail.d.ts +39 -33
  769. package/dist/types/excalidraw/animation-frame-handler.d.ts +16 -16
  770. package/dist/types/excalidraw/appState.d.ts +87 -86
  771. package/dist/types/excalidraw/charts.d.ts +27 -27
  772. package/dist/types/excalidraw/clients.d.ts +14 -14
  773. package/dist/types/excalidraw/clipboard.d.ts +66 -66
  774. package/dist/types/excalidraw/components/Actions.d.ts +34 -34
  775. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +4 -4
  776. package/dist/types/excalidraw/components/App.d.ts +562 -544
  777. package/dist/types/excalidraw/components/Avatar.d.ts +11 -11
  778. package/dist/types/excalidraw/components/BraveMeasureTextError.d.ts +2 -2
  779. package/dist/types/excalidraw/components/Button.d.ts +17 -17
  780. package/dist/types/excalidraw/components/ButtonIcon.d.ts +15 -15
  781. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +11 -11
  782. package/dist/types/excalidraw/components/ButtonIconSelect.d.ts +20 -20
  783. package/dist/types/excalidraw/components/ButtonSelect.d.ts +9 -9
  784. package/dist/types/excalidraw/components/ButtonSeparator.d.ts +1 -1
  785. package/dist/types/excalidraw/components/Card.d.ts +7 -7
  786. package/dist/types/excalidraw/components/CheckboxItem.d.ts +8 -8
  787. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +10 -9
  788. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +23 -19
  789. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +8 -8
  790. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +7 -8
  791. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +17 -18
  792. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +9 -10
  793. package/dist/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +5 -5
  794. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +8 -8
  795. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +9 -9
  796. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +21 -21
  797. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +21 -21
  798. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +18 -18
  799. package/dist/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +2 -2
  800. package/dist/types/excalidraw/components/CommandPalette/types.d.ts +26 -26
  801. package/dist/types/excalidraw/components/ConfirmDialog.d.ts +10 -10
  802. package/dist/types/excalidraw/components/ContextMenu.d.ts +16 -16
  803. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  804. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +7 -7
  805. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +31 -31
  806. package/dist/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +4 -4
  807. package/dist/types/excalidraw/components/Dialog.d.ts +13 -13
  808. package/dist/types/excalidraw/components/DialogActionButton.d.ts +10 -10
  809. package/dist/types/excalidraw/{element → components}/ElementCanvasButtons.d.ts +7 -7
  810. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +12 -11
  811. package/dist/types/excalidraw/components/ErrorDialog.d.ts +5 -5
  812. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +16 -16
  813. package/dist/types/excalidraw/components/EyeDropper.d.ts +28 -28
  814. package/dist/types/excalidraw/components/FilledButton.d.ts +18 -18
  815. package/dist/types/excalidraw/components/FixedSideContainer.d.ts +9 -9
  816. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +10 -10
  817. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +21 -21
  818. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +26 -26
  819. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +6 -6
  820. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +14 -14
  821. package/dist/types/excalidraw/components/HandButton.d.ts +10 -10
  822. package/dist/types/excalidraw/components/HelpButton.d.ts +7 -7
  823. package/dist/types/excalidraw/components/HelpDialog.d.ts +4 -4
  824. package/dist/types/excalidraw/components/HintViewer.d.ts +10 -10
  825. package/dist/types/excalidraw/components/IconPicker.d.ts +15 -15
  826. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +14 -14
  827. package/dist/types/excalidraw/components/InitializeApp.d.ts +10 -10
  828. package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -3
  829. package/dist/types/excalidraw/components/Island.d.ts +10 -10
  830. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +15 -15
  831. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +10 -10
  832. package/dist/types/excalidraw/components/LayerUI.d.ts +31 -31
  833. package/dist/types/excalidraw/components/LibraryMenu.d.ts +10 -10
  834. package/dist/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +7 -7
  835. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +9 -9
  836. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +18 -18
  837. package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +14 -14
  838. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +23 -23
  839. package/dist/types/excalidraw/components/LibraryUnit.d.ts +15 -15
  840. package/dist/types/excalidraw/components/LoadingMessage.d.ts +6 -6
  841. package/dist/types/excalidraw/components/LockButton.d.ts +10 -10
  842. package/dist/types/excalidraw/components/MagicButton.d.ts +10 -10
  843. package/dist/types/excalidraw/components/MobileMenu.d.ts +25 -25
  844. package/dist/types/excalidraw/components/Modal.d.ts +12 -12
  845. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +17 -17
  846. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +17 -17
  847. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +22 -22
  848. package/dist/types/excalidraw/components/Paragraph.d.ts +4 -4
  849. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +8 -8
  850. package/dist/types/excalidraw/components/PenModeButton.d.ts +12 -12
  851. package/dist/types/excalidraw/components/Popover.d.ts +15 -15
  852. package/dist/types/excalidraw/components/ProjectName.d.ts +10 -10
  853. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +15 -15
  854. package/dist/types/excalidraw/components/PublishLibrary.d.ts +16 -16
  855. package/dist/types/excalidraw/components/QuickSearch.d.ts +9 -9
  856. package/dist/types/excalidraw/components/RadioGroup.d.ts +14 -14
  857. package/dist/types/excalidraw/components/Range.d.ts +8 -8
  858. package/dist/types/excalidraw/components/SVGLayer.d.ts +7 -7
  859. package/dist/types/excalidraw/components/ScrollableList.d.ts +9 -9
  860. package/dist/types/excalidraw/components/SearchMenu.d.ts +5 -5
  861. package/dist/types/excalidraw/components/Section.d.ts +6 -6
  862. package/dist/types/excalidraw/components/ShareableLinkDialog.d.ts +7 -7
  863. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +76 -76
  864. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +7 -7
  865. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +9 -9
  866. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +10 -10
  867. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +7 -7
  868. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +7 -7
  869. package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +6 -6
  870. package/dist/types/excalidraw/components/Sidebar/common.d.ts +34 -34
  871. package/dist/types/excalidraw/components/Spinner.d.ts +8 -8
  872. package/dist/types/excalidraw/components/Stack.d.ts +15 -15
  873. package/dist/types/excalidraw/components/Stats/Angle.d.ts +11 -11
  874. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +11 -11
  875. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +11 -10
  876. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +11 -11
  877. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +35 -35
  878. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +11 -11
  879. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +11 -11
  880. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +14 -14
  881. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +12 -12
  882. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +14 -14
  883. package/dist/types/excalidraw/components/Stats/Position.d.ts +12 -12
  884. package/dist/types/excalidraw/components/Stats/index.d.ts +36 -36
  885. package/dist/types/excalidraw/components/Stats/utils.d.ts +19 -26
  886. package/dist/types/excalidraw/components/Switch.d.ts +9 -9
  887. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +6 -6
  888. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +30 -30
  889. package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +9 -9
  890. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +8 -8
  891. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +17 -17
  892. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +4 -4
  893. package/dist/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -1
  894. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +8 -8
  895. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +9 -9
  896. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +7 -7
  897. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +11 -11
  898. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +9 -9
  899. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +33 -33
  900. package/dist/types/excalidraw/components/TextField.d.ts +21 -21
  901. package/dist/types/excalidraw/components/Toast.d.ts +9 -9
  902. package/dist/types/excalidraw/components/ToolButton.d.ts +49 -49
  903. package/dist/types/excalidraw/components/Tooltip.d.ts +18 -18
  904. package/dist/types/excalidraw/components/Trans.d.ts +9 -9
  905. package/dist/types/excalidraw/components/UserList.d.ts +18 -18
  906. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +30 -29
  907. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +14 -14
  908. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +19 -19
  909. package/dist/types/excalidraw/components/canvases/index.d.ts +3 -3
  910. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +86 -86
  911. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +15 -15
  912. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +11 -11
  913. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +46 -46
  914. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +8 -8
  915. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +18 -18
  916. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +7 -7
  917. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +16 -16
  918. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +5 -5
  919. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +11 -11
  920. package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +6 -6
  921. package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +3 -3
  922. package/dist/types/excalidraw/components/footer/Footer.d.ts +12 -12
  923. package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +8 -8
  924. package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +4 -4
  925. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +19 -18
  926. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +9 -9
  927. package/dist/types/excalidraw/components/icons.d.ts +223 -221
  928. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +10 -10
  929. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +64 -64
  930. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +83 -80
  931. package/dist/types/excalidraw/components/shapes.d.ts +62 -0
  932. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +58 -58
  933. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +19 -19
  934. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +85 -85
  935. package/dist/types/excalidraw/context/tunnels.d.ts +21 -21
  936. package/dist/types/excalidraw/context/ui-appState.d.ts +4 -4
  937. package/dist/types/excalidraw/cursor.d.ts +5 -5
  938. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +8 -8
  939. package/dist/types/excalidraw/data/ai/types.d.ts +242 -242
  940. package/dist/types/excalidraw/data/blob.d.ts +53 -53
  941. package/dist/types/excalidraw/data/encode.d.ts +55 -55
  942. package/dist/types/excalidraw/data/encryption.d.ts +9 -9
  943. package/dist/types/excalidraw/data/filesystem.d.ts +21 -21
  944. package/dist/types/excalidraw/data/image.d.ts +9 -9
  945. package/dist/types/excalidraw/data/index.d.ts +22 -22
  946. package/dist/types/excalidraw/data/json.d.ts +16 -16
  947. package/dist/types/excalidraw/data/library.d.ts +112 -112
  948. package/dist/types/excalidraw/data/reconcile.d.ts +6 -6
  949. package/dist/types/excalidraw/data/resave.d.ts +5 -5
  950. package/dist/types/excalidraw/data/restore.d.ts +21 -21
  951. package/dist/types/excalidraw/data/transform.d.ts +81 -81
  952. package/dist/types/excalidraw/data/types.d.ts +45 -45
  953. package/dist/types/excalidraw/deburr.d.ts +1 -1
  954. package/dist/types/excalidraw/editor-jotai.d.ts +56 -56
  955. package/dist/types/excalidraw/eraser/index.d.ts +14 -0
  956. package/dist/types/excalidraw/errors.d.ts +29 -32
  957. package/dist/types/excalidraw/fonts/Cascadia/index.d.ts +2 -2
  958. package/dist/types/excalidraw/fonts/ComicShanns/index.d.ts +2 -2
  959. package/dist/types/excalidraw/fonts/Emoji/index.d.ts +2 -2
  960. package/dist/types/excalidraw/fonts/ExcalidrawFontFace.d.ts +25 -25
  961. package/dist/types/excalidraw/fonts/Excalifont/index.d.ts +2 -2
  962. package/dist/types/excalidraw/fonts/Fonts.d.ts +79 -89
  963. package/dist/types/excalidraw/fonts/Helvetica/index.d.ts +2 -2
  964. package/dist/types/excalidraw/fonts/Liberation/index.d.ts +2 -2
  965. package/dist/types/excalidraw/fonts/Lilita/index.d.ts +2 -2
  966. package/dist/types/excalidraw/fonts/Nunito/index.d.ts +2 -2
  967. package/dist/types/excalidraw/fonts/Virgil/index.d.ts +2 -2
  968. package/dist/types/excalidraw/fonts/Xiaolai/index.d.ts +8 -8
  969. package/dist/types/excalidraw/fonts/index.d.ts +1 -1
  970. package/dist/types/excalidraw/gesture.d.ts +6 -6
  971. package/dist/types/excalidraw/history.d.ts +32 -40
  972. package/dist/types/excalidraw/hooks/useCallbackRefState.d.ts +1 -1
  973. package/dist/types/excalidraw/hooks/useCopiedIndicator.d.ts +5 -5
  974. package/dist/types/excalidraw/hooks/useCreatePortalContainer.d.ts +4 -4
  975. package/dist/types/excalidraw/hooks/useEmitter.d.ts +2 -2
  976. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +11 -11
  977. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +20 -20
  978. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +2 -2
  979. package/dist/types/excalidraw/hooks/useStable.d.ts +1 -1
  980. package/dist/types/excalidraw/hooks/useStableCallback.d.ts +4 -4
  981. package/dist/types/excalidraw/hooks/useTransition.d.ts +2 -2
  982. package/dist/types/excalidraw/i18n.d.ts +24 -24
  983. package/dist/types/excalidraw/index-node.d.ts +1 -1
  984. package/dist/types/excalidraw/index.d.ts +46 -45
  985. package/dist/types/excalidraw/laser-trails.d.ts +20 -20
  986. package/dist/types/excalidraw/lasso/index.d.ts +15 -0
  987. package/dist/types/excalidraw/lasso/utils.d.ts +12 -0
  988. package/dist/types/excalidraw/mermaid.d.ts +2 -2
  989. package/dist/types/excalidraw/polyfill.d.ts +2 -2
  990. package/dist/types/excalidraw/reactUtils.d.ts +14 -14
  991. package/dist/types/excalidraw/renderer/helpers.d.ts +18 -13
  992. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +20 -20
  993. package/dist/types/excalidraw/renderer/renderNewElementScene.d.ts +7 -7
  994. package/dist/types/excalidraw/renderer/renderSnaps.d.ts +2 -2
  995. package/dist/types/excalidraw/renderer/roundRect.d.ts +11 -11
  996. package/dist/types/excalidraw/renderer/staticScene.d.ts +11 -11
  997. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +5 -5
  998. package/dist/types/excalidraw/scene/Renderer.d.ts +28 -28
  999. package/dist/types/excalidraw/scene/export.d.ts +36 -36
  1000. package/dist/types/excalidraw/scene/index.d.ts +4 -4
  1001. package/dist/types/excalidraw/scene/normalize.d.ts +4 -4
  1002. package/dist/types/excalidraw/scene/scroll.d.ts +23 -23
  1003. package/dist/types/excalidraw/scene/scrollbars.d.ts +11 -12
  1004. package/dist/types/excalidraw/scene/types.d.ts +120 -118
  1005. package/dist/types/excalidraw/scene/zoom.d.ts +12 -12
  1006. package/dist/types/excalidraw/snapping.d.ts +111 -112
  1007. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +45 -45
  1008. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +13 -13
  1009. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +2 -2
  1010. package/dist/types/excalidraw/subset/subset-main.d.ts +12 -12
  1011. package/dist/types/excalidraw/subset/subset-shared.chunk.d.ts +32 -32
  1012. package/dist/types/excalidraw/subset/subset-worker.chunk.d.ts +15 -15
  1013. package/dist/types/excalidraw/subset/woff2/woff2-bindings.d.ts +31 -31
  1014. package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +14 -14
  1015. package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +2 -2
  1016. package/dist/types/excalidraw/types.d.ts +700 -687
  1017. package/dist/types/excalidraw/visualdebug.d.ts +41 -41
  1018. package/dist/types/excalidraw/workers.d.ts +36 -36
  1019. package/dist/types/excalidraw/{element → wysiwyg}/textWysiwyg.d.ts +24 -22
  1020. package/dist/types/math/{angle.d.ts → src/angle.d.ts} +17 -17
  1021. package/dist/types/math/{curve.d.ts → src/curve.d.ts} +42 -40
  1022. package/dist/types/math/{ellipse.d.ts → src/ellipse.d.ts} +44 -44
  1023. package/dist/types/math/{index.d.ts → src/index.d.ts} +12 -12
  1024. package/dist/types/math/{line.d.ts → src/line.d.ts} +17 -17
  1025. package/dist/types/math/{point.d.ts → src/point.d.ts} +122 -122
  1026. package/dist/types/math/{polygon.d.ts → src/polygon.d.ts} +6 -5
  1027. package/dist/types/math/{range.d.ts → src/range.d.ts} +44 -44
  1028. package/dist/types/math/{rectangle.d.ts → src/rectangle.d.ts} +3 -3
  1029. package/dist/types/math/{segment.d.ts → src/segment.d.ts} +39 -39
  1030. package/dist/types/math/{triangle.d.ts → src/triangle.d.ts} +11 -11
  1031. package/dist/types/math/{types.d.ts → src/types.d.ts} +106 -105
  1032. package/dist/types/math/{utils.d.ts → src/utils.d.ts} +7 -7
  1033. package/dist/types/math/{vector.d.ts → src/vector.d.ts} +92 -88
  1034. package/dist/types/utils/{bbox.d.ts → src/bbox.d.ts} +9 -9
  1035. package/dist/types/utils/{collision.d.ts → src/collision.d.ts} +8 -9
  1036. package/dist/types/utils/{export.d.ts → src/export.d.ts} +35 -35
  1037. package/dist/types/utils/{index.d.ts → src/index.d.ts} +4 -4
  1038. package/dist/types/utils/{geometry → src}/shape.d.ts +58 -71
  1039. package/dist/types/utils/{withinBounds.d.ts → src/withinBounds.d.ts} +19 -19
  1040. package/history.ts +70 -94
  1041. package/package.json +17 -6
  1042. package/dist/types/excalidraw/align.d.ts +0 -7
  1043. package/dist/types/excalidraw/element/index.d.ts +0 -26
  1044. package/dist/types/excalidraw/shapes.d.ts +0 -85
  1045. package/dist/types/excalidraw/store.d.ts +0 -129
@@ -1,2266 +1,2377 @@
1
- /// <reference types="react" />
2
- import type { ExcalidrawElement } from "../element/types";
3
- import type { AppState, Offsets } from "../types";
4
- import type { SceneBounds } from "../element/bounds";
5
- export declare const actionChangeViewBackgroundColor: {
6
- name: "changeViewBackgroundColor";
7
- label: string;
8
- paletteName: string;
9
- trackEvent: false;
10
- predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
11
- perform: (_: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
12
- appState: any;
13
- captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
14
- };
15
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
16
- } & {
17
- keyTest?: undefined;
18
- };
19
- export declare const actionClearCanvas: {
20
- name: "clearCanvas";
21
- label: string;
22
- paletteName: string;
23
- icon: import("react/jsx-runtime").JSX.Element;
24
- trackEvent: {
25
- category: "canvas";
26
- };
27
- predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
28
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
29
- elements: import("../element/types").OrderedExcalidrawElement[];
30
- appState: {
31
- files: {};
32
- theme: import("../element/types").Theme;
33
- penMode: boolean;
34
- penDetected: boolean;
35
- exportBackground: boolean;
36
- exportEmbedScene: boolean;
37
- gridSize: number;
38
- gridStep: number;
39
- gridModeEnabled: boolean;
40
- stats: {
41
- open: boolean;
42
- panels: number;
43
- };
44
- pasteDialog: {
45
- shown: false;
46
- data: null;
47
- } | {
48
- shown: true;
49
- data: import("../charts").Spreadsheet;
50
- };
51
- activeTool: {
52
- lastActiveTool: import("../types").ActiveTool | null;
53
- locked: boolean;
54
- } & import("../types").ActiveTool;
55
- viewModeEnabled: boolean;
56
- zenModeEnabled: boolean;
57
- objectsSnapModeEnabled: boolean;
58
- name: string | null;
59
- currentItemArrowType: "round" | "sharp" | "elbow";
60
- contextMenu: {
61
- items: import("../components/ContextMenu").ContextMenuItems;
62
- top: number;
63
- left: number;
64
- } | null;
65
- showWelcomeScreen: boolean;
66
- isLoading: boolean;
67
- errorMessage: import("react").ReactNode;
68
- activeEmbeddable: {
69
- element: import("../element/types").NonDeletedExcalidrawElement;
70
- state: "hover" | "active";
71
- } | null;
72
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
73
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
74
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
75
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
76
- isBindingEnabled: boolean;
77
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
78
- suggestedBindings: import("../element/binding").SuggestedBinding[];
79
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
80
- frameRendering: {
81
- enabled: boolean;
82
- name: boolean;
83
- outline: boolean;
84
- clip: boolean;
85
- };
86
- editingFrame: string | null;
87
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
88
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
89
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
90
- exportWithDarkMode: boolean;
91
- exportScale: number;
92
- currentItemStrokeColor: string;
93
- currentItemBackgroundColor: string;
94
- currentItemFillStyle: import("../element/types").FillStyle;
95
- currentItemStrokeWidth: number;
96
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
97
- currentItemRoughness: number;
98
- currentItemOpacity: number;
99
- currentItemFontFamily: number;
100
- currentItemFontSize: number;
101
- currentItemTextAlign: string;
102
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
103
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
104
- currentHoveredFontFamily: number | null;
105
- currentItemRoundness: import("../element/types").StrokeRoundness;
106
- viewBackgroundColor: string;
107
- scrollX: number;
108
- scrollY: number;
109
- cursorButton: "up" | "down";
110
- scrolledOutside: boolean;
111
- isResizing: boolean;
112
- isRotating: boolean;
113
- zoom: Readonly<{
114
- value: import("../types").NormalizedZoomValue;
115
- }>;
116
- openMenu: "canvas" | "shape" | null;
117
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
118
- openSidebar: {
119
- name: string;
120
- tab?: string | undefined;
121
- } | null;
122
- openDialog: {
123
- name: "imageExport" | "help" | "jsonExport";
124
- } | {
125
- name: "ttd";
126
- tab: "text-to-diagram" | "mermaid";
127
- } | {
128
- name: "commandPalette";
129
- } | {
130
- name: "elementLinkSelector";
131
- sourceElementId: string;
132
- } | null;
133
- defaultSidebarDockedPreference: boolean;
134
- lastPointerDownWith: import("../element/types").PointerType;
135
- selectedElementIds: Readonly<{
136
- [id: string]: true;
137
- }>;
138
- hoveredElementIds: Readonly<{
139
- [id: string]: true;
140
- }>;
141
- previousSelectedElementIds: {
142
- [id: string]: true;
143
- };
144
- selectedElementsAreBeingDragged: boolean;
145
- shouldCacheIgnoreZoom: boolean;
146
- toast: {
147
- message: string;
148
- closable?: boolean | undefined;
149
- duration?: number | undefined;
150
- } | null;
151
- selectedGroupIds: {
152
- [groupId: string]: boolean;
153
- };
154
- editingGroupId: string | null;
155
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
156
- collaborators: Map<import("../types").SocketId, Readonly<{
157
- pointer?: import("../types").CollaboratorPointer | undefined;
158
- button?: "up" | "down" | undefined;
159
- selectedElementIds?: Readonly<{
160
- [id: string]: true;
161
- }> | undefined;
162
- username?: string | null | undefined;
163
- userState?: import("../constants").UserIdleState | undefined;
164
- color?: {
165
- background: string;
166
- stroke: string;
167
- } | undefined;
168
- avatarUrl?: string | undefined;
169
- id?: string | undefined;
170
- socketId?: import("../types").SocketId | undefined;
171
- isCurrentUser?: boolean | undefined;
172
- isInCall?: boolean | undefined;
173
- isSpeaking?: boolean | undefined;
174
- isMuted?: boolean | undefined;
175
- }>>;
176
- currentChartType: import("../element/types").ChartType;
177
- pendingImageElementId: string | null;
178
- showHyperlinkPopup: false | "info" | "editor";
179
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
180
- snapLines: readonly import("../snapping").SnapLine[];
181
- originSnapOffset: {
182
- x: number;
183
- y: number;
184
- } | null;
185
- userToFollow: import("../types").UserToFollow | null;
186
- followedBy: Set<import("../types").SocketId>;
187
- isCropping: boolean;
188
- croppingElementId: string | null;
189
- searchMatches: readonly {
190
- id: string;
191
- focus: boolean;
192
- matchedLines: {
193
- offsetX: number;
194
- offsetY: number;
195
- width: number;
196
- height: number;
197
- }[];
198
- }[];
199
- };
200
- captureUpdate: "IMMEDIATELY";
201
- };
202
- } & {
203
- keyTest?: undefined;
204
- };
205
- export declare const actionZoomIn: {
206
- name: "zoomIn";
207
- label: string;
208
- viewMode: true;
209
- icon: import("react/jsx-runtime").JSX.Element;
210
- trackEvent: {
211
- category: "canvas";
212
- };
213
- perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
214
- appState: {
215
- userToFollow: null;
216
- scrollX: number;
217
- scrollY: number;
218
- zoom: {
219
- value: import("../types").NormalizedZoomValue;
220
- };
221
- contextMenu: {
222
- items: import("../components/ContextMenu").ContextMenuItems;
223
- top: number;
224
- left: number;
225
- } | null;
226
- showWelcomeScreen: boolean;
227
- isLoading: boolean;
228
- errorMessage: import("react").ReactNode;
229
- activeEmbeddable: {
230
- element: import("../element/types").NonDeletedExcalidrawElement;
231
- state: "hover" | "active";
232
- } | null;
233
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
234
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
235
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
236
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
237
- isBindingEnabled: boolean;
238
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
239
- suggestedBindings: import("../element/binding").SuggestedBinding[];
240
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
241
- frameRendering: {
242
- enabled: boolean;
243
- name: boolean;
244
- outline: boolean;
245
- clip: boolean;
246
- };
247
- editingFrame: string | null;
248
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
249
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
250
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
251
- activeTool: {
252
- lastActiveTool: import("../types").ActiveTool | null;
253
- locked: boolean;
254
- } & import("../types").ActiveTool;
255
- penMode: boolean;
256
- penDetected: boolean;
257
- exportBackground: boolean;
258
- exportEmbedScene: boolean;
259
- exportWithDarkMode: boolean;
260
- exportScale: number;
261
- currentItemStrokeColor: string;
262
- currentItemBackgroundColor: string;
263
- currentItemFillStyle: import("../element/types").FillStyle;
264
- currentItemStrokeWidth: number;
265
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
266
- currentItemRoughness: number;
267
- currentItemOpacity: number;
268
- currentItemFontFamily: number;
269
- currentItemFontSize: number;
270
- currentItemTextAlign: string;
271
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
272
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
273
- currentHoveredFontFamily: number | null;
274
- currentItemRoundness: import("../element/types").StrokeRoundness;
275
- currentItemArrowType: "round" | "sharp" | "elbow";
276
- viewBackgroundColor: string;
277
- cursorButton: "up" | "down";
278
- scrolledOutside: boolean;
279
- name: string | null;
280
- isResizing: boolean;
281
- isRotating: boolean;
282
- openMenu: "canvas" | "shape" | null;
283
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
284
- openSidebar: {
285
- name: string;
286
- tab?: string | undefined;
287
- } | null;
288
- openDialog: {
289
- name: "imageExport" | "help" | "jsonExport";
290
- } | {
291
- name: "ttd";
292
- tab: "text-to-diagram" | "mermaid";
293
- } | {
294
- name: "commandPalette";
295
- } | {
296
- name: "elementLinkSelector";
297
- sourceElementId: string;
298
- } | null;
299
- defaultSidebarDockedPreference: boolean;
300
- lastPointerDownWith: import("../element/types").PointerType;
301
- selectedElementIds: Readonly<{
302
- [id: string]: true;
303
- }>;
304
- hoveredElementIds: Readonly<{
305
- [id: string]: true;
306
- }>;
307
- previousSelectedElementIds: {
308
- [id: string]: true;
309
- };
310
- selectedElementsAreBeingDragged: boolean;
311
- shouldCacheIgnoreZoom: boolean;
312
- toast: {
313
- message: string;
314
- closable?: boolean | undefined;
315
- duration?: number | undefined;
316
- } | null;
317
- zenModeEnabled: boolean;
318
- theme: import("../element/types").Theme;
319
- gridSize: number;
320
- gridStep: number;
321
- gridModeEnabled: boolean;
322
- viewModeEnabled: boolean;
323
- selectedGroupIds: {
324
- [groupId: string]: boolean;
325
- };
326
- editingGroupId: string | null;
327
- width: number;
328
- height: number;
329
- offsetTop: number;
330
- offsetLeft: number;
331
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
332
- collaborators: Map<import("../types").SocketId, Readonly<{
333
- pointer?: import("../types").CollaboratorPointer | undefined;
334
- button?: "up" | "down" | undefined;
335
- selectedElementIds?: Readonly<{
336
- [id: string]: true;
337
- }> | undefined;
338
- username?: string | null | undefined;
339
- userState?: import("../constants").UserIdleState | undefined;
340
- color?: {
341
- background: string;
342
- stroke: string;
343
- } | undefined;
344
- avatarUrl?: string | undefined;
345
- id?: string | undefined;
346
- socketId?: import("../types").SocketId | undefined;
347
- isCurrentUser?: boolean | undefined;
348
- isInCall?: boolean | undefined;
349
- isSpeaking?: boolean | undefined;
350
- isMuted?: boolean | undefined;
351
- }>>;
352
- stats: {
353
- open: boolean;
354
- panels: number;
355
- };
356
- currentChartType: import("../element/types").ChartType;
357
- pasteDialog: {
358
- shown: false;
359
- data: null;
360
- } | {
361
- shown: true;
362
- data: import("../charts").Spreadsheet;
363
- };
364
- pendingImageElementId: string | null;
365
- showHyperlinkPopup: false | "info" | "editor";
366
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
367
- snapLines: readonly import("../snapping").SnapLine[];
368
- originSnapOffset: {
369
- x: number;
370
- y: number;
371
- } | null;
372
- objectsSnapModeEnabled: boolean;
373
- followedBy: Set<import("../types").SocketId>;
374
- isCropping: boolean;
375
- croppingElementId: string | null;
376
- searchMatches: readonly {
377
- id: string;
378
- focus: boolean;
379
- matchedLines: {
380
- offsetX: number;
381
- offsetY: number;
382
- width: number;
383
- height: number;
384
- }[];
385
- }[];
386
- };
387
- captureUpdate: "EVENTUALLY";
388
- };
389
- PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
390
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
391
- } & {
392
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
393
- };
394
- export declare const actionZoomOut: {
395
- name: "zoomOut";
396
- label: string;
397
- icon: import("react/jsx-runtime").JSX.Element;
398
- viewMode: true;
399
- trackEvent: {
400
- category: "canvas";
401
- };
402
- perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
403
- appState: {
404
- userToFollow: null;
405
- scrollX: number;
406
- scrollY: number;
407
- zoom: {
408
- value: import("../types").NormalizedZoomValue;
409
- };
410
- contextMenu: {
411
- items: import("../components/ContextMenu").ContextMenuItems;
412
- top: number;
413
- left: number;
414
- } | null;
415
- showWelcomeScreen: boolean;
416
- isLoading: boolean;
417
- errorMessage: import("react").ReactNode;
418
- activeEmbeddable: {
419
- element: import("../element/types").NonDeletedExcalidrawElement;
420
- state: "hover" | "active";
421
- } | null;
422
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
423
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
424
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
425
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
426
- isBindingEnabled: boolean;
427
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
428
- suggestedBindings: import("../element/binding").SuggestedBinding[];
429
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
430
- frameRendering: {
431
- enabled: boolean;
432
- name: boolean;
433
- outline: boolean;
434
- clip: boolean;
435
- };
436
- editingFrame: string | null;
437
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
438
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
439
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
440
- activeTool: {
441
- lastActiveTool: import("../types").ActiveTool | null;
442
- locked: boolean;
443
- } & import("../types").ActiveTool;
444
- penMode: boolean;
445
- penDetected: boolean;
446
- exportBackground: boolean;
447
- exportEmbedScene: boolean;
448
- exportWithDarkMode: boolean;
449
- exportScale: number;
450
- currentItemStrokeColor: string;
451
- currentItemBackgroundColor: string;
452
- currentItemFillStyle: import("../element/types").FillStyle;
453
- currentItemStrokeWidth: number;
454
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
455
- currentItemRoughness: number;
456
- currentItemOpacity: number;
457
- currentItemFontFamily: number;
458
- currentItemFontSize: number;
459
- currentItemTextAlign: string;
460
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
461
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
462
- currentHoveredFontFamily: number | null;
463
- currentItemRoundness: import("../element/types").StrokeRoundness;
464
- currentItemArrowType: "round" | "sharp" | "elbow";
465
- viewBackgroundColor: string;
466
- cursorButton: "up" | "down";
467
- scrolledOutside: boolean;
468
- name: string | null;
469
- isResizing: boolean;
470
- isRotating: boolean;
471
- openMenu: "canvas" | "shape" | null;
472
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
473
- openSidebar: {
474
- name: string;
475
- tab?: string | undefined;
476
- } | null;
477
- openDialog: {
478
- name: "imageExport" | "help" | "jsonExport";
479
- } | {
480
- name: "ttd";
481
- tab: "text-to-diagram" | "mermaid";
482
- } | {
483
- name: "commandPalette";
484
- } | {
485
- name: "elementLinkSelector";
486
- sourceElementId: string;
487
- } | null;
488
- defaultSidebarDockedPreference: boolean;
489
- lastPointerDownWith: import("../element/types").PointerType;
490
- selectedElementIds: Readonly<{
491
- [id: string]: true;
492
- }>;
493
- hoveredElementIds: Readonly<{
494
- [id: string]: true;
495
- }>;
496
- previousSelectedElementIds: {
497
- [id: string]: true;
498
- };
499
- selectedElementsAreBeingDragged: boolean;
500
- shouldCacheIgnoreZoom: boolean;
501
- toast: {
502
- message: string;
503
- closable?: boolean | undefined;
504
- duration?: number | undefined;
505
- } | null;
506
- zenModeEnabled: boolean;
507
- theme: import("../element/types").Theme;
508
- gridSize: number;
509
- gridStep: number;
510
- gridModeEnabled: boolean;
511
- viewModeEnabled: boolean;
512
- selectedGroupIds: {
513
- [groupId: string]: boolean;
514
- };
515
- editingGroupId: string | null;
516
- width: number;
517
- height: number;
518
- offsetTop: number;
519
- offsetLeft: number;
520
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
521
- collaborators: Map<import("../types").SocketId, Readonly<{
522
- pointer?: import("../types").CollaboratorPointer | undefined;
523
- button?: "up" | "down" | undefined;
524
- selectedElementIds?: Readonly<{
525
- [id: string]: true;
526
- }> | undefined;
527
- username?: string | null | undefined;
528
- userState?: import("../constants").UserIdleState | undefined;
529
- color?: {
530
- background: string;
531
- stroke: string;
532
- } | undefined;
533
- avatarUrl?: string | undefined;
534
- id?: string | undefined;
535
- socketId?: import("../types").SocketId | undefined;
536
- isCurrentUser?: boolean | undefined;
537
- isInCall?: boolean | undefined;
538
- isSpeaking?: boolean | undefined;
539
- isMuted?: boolean | undefined;
540
- }>>;
541
- stats: {
542
- open: boolean;
543
- panels: number;
544
- };
545
- currentChartType: import("../element/types").ChartType;
546
- pasteDialog: {
547
- shown: false;
548
- data: null;
549
- } | {
550
- shown: true;
551
- data: import("../charts").Spreadsheet;
552
- };
553
- pendingImageElementId: string | null;
554
- showHyperlinkPopup: false | "info" | "editor";
555
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
556
- snapLines: readonly import("../snapping").SnapLine[];
557
- originSnapOffset: {
558
- x: number;
559
- y: number;
560
- } | null;
561
- objectsSnapModeEnabled: boolean;
562
- followedBy: Set<import("../types").SocketId>;
563
- isCropping: boolean;
564
- croppingElementId: string | null;
565
- searchMatches: readonly {
566
- id: string;
567
- focus: boolean;
568
- matchedLines: {
569
- offsetX: number;
570
- offsetY: number;
571
- width: number;
572
- height: number;
573
- }[];
574
- }[];
575
- };
576
- captureUpdate: "EVENTUALLY";
577
- };
578
- PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
579
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
580
- } & {
581
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
582
- };
583
- export declare const actionResetZoom: {
584
- name: "resetZoom";
585
- label: string;
586
- icon: import("react/jsx-runtime").JSX.Element;
587
- viewMode: true;
588
- trackEvent: {
589
- category: "canvas";
590
- };
591
- perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
592
- appState: {
593
- userToFollow: null;
594
- scrollX: number;
595
- scrollY: number;
596
- zoom: {
597
- value: import("../types").NormalizedZoomValue;
598
- };
599
- contextMenu: {
600
- items: import("../components/ContextMenu").ContextMenuItems;
601
- top: number;
602
- left: number;
603
- } | null;
604
- showWelcomeScreen: boolean;
605
- isLoading: boolean;
606
- errorMessage: import("react").ReactNode;
607
- activeEmbeddable: {
608
- element: import("../element/types").NonDeletedExcalidrawElement;
609
- state: "hover" | "active";
610
- } | null;
611
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
612
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
613
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
614
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
615
- isBindingEnabled: boolean;
616
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
617
- suggestedBindings: import("../element/binding").SuggestedBinding[];
618
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
619
- frameRendering: {
620
- enabled: boolean;
621
- name: boolean;
622
- outline: boolean;
623
- clip: boolean;
624
- };
625
- editingFrame: string | null;
626
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
627
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
628
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
629
- activeTool: {
630
- lastActiveTool: import("../types").ActiveTool | null;
631
- locked: boolean;
632
- } & import("../types").ActiveTool;
633
- penMode: boolean;
634
- penDetected: boolean;
635
- exportBackground: boolean;
636
- exportEmbedScene: boolean;
637
- exportWithDarkMode: boolean;
638
- exportScale: number;
639
- currentItemStrokeColor: string;
640
- currentItemBackgroundColor: string;
641
- currentItemFillStyle: import("../element/types").FillStyle;
642
- currentItemStrokeWidth: number;
643
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
644
- currentItemRoughness: number;
645
- currentItemOpacity: number;
646
- currentItemFontFamily: number;
647
- currentItemFontSize: number;
648
- currentItemTextAlign: string;
649
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
650
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
651
- currentHoveredFontFamily: number | null;
652
- currentItemRoundness: import("../element/types").StrokeRoundness;
653
- currentItemArrowType: "round" | "sharp" | "elbow";
654
- viewBackgroundColor: string;
655
- cursorButton: "up" | "down";
656
- scrolledOutside: boolean;
657
- name: string | null;
658
- isResizing: boolean;
659
- isRotating: boolean;
660
- openMenu: "canvas" | "shape" | null;
661
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
662
- openSidebar: {
663
- name: string;
664
- tab?: string | undefined;
665
- } | null;
666
- openDialog: {
667
- name: "imageExport" | "help" | "jsonExport";
668
- } | {
669
- name: "ttd";
670
- tab: "text-to-diagram" | "mermaid";
671
- } | {
672
- name: "commandPalette";
673
- } | {
674
- name: "elementLinkSelector";
675
- sourceElementId: string;
676
- } | null;
677
- defaultSidebarDockedPreference: boolean;
678
- lastPointerDownWith: import("../element/types").PointerType;
679
- selectedElementIds: Readonly<{
680
- [id: string]: true;
681
- }>;
682
- hoveredElementIds: Readonly<{
683
- [id: string]: true;
684
- }>;
685
- previousSelectedElementIds: {
686
- [id: string]: true;
687
- };
688
- selectedElementsAreBeingDragged: boolean;
689
- shouldCacheIgnoreZoom: boolean;
690
- toast: {
691
- message: string;
692
- closable?: boolean | undefined;
693
- duration?: number | undefined;
694
- } | null;
695
- zenModeEnabled: boolean;
696
- theme: import("../element/types").Theme;
697
- gridSize: number;
698
- gridStep: number;
699
- gridModeEnabled: boolean;
700
- viewModeEnabled: boolean;
701
- selectedGroupIds: {
702
- [groupId: string]: boolean;
703
- };
704
- editingGroupId: string | null;
705
- width: number;
706
- height: number;
707
- offsetTop: number;
708
- offsetLeft: number;
709
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
710
- collaborators: Map<import("../types").SocketId, Readonly<{
711
- pointer?: import("../types").CollaboratorPointer | undefined;
712
- button?: "up" | "down" | undefined;
713
- selectedElementIds?: Readonly<{
714
- [id: string]: true;
715
- }> | undefined;
716
- username?: string | null | undefined;
717
- userState?: import("../constants").UserIdleState | undefined;
718
- color?: {
719
- background: string;
720
- stroke: string;
721
- } | undefined;
722
- avatarUrl?: string | undefined;
723
- id?: string | undefined;
724
- socketId?: import("../types").SocketId | undefined;
725
- isCurrentUser?: boolean | undefined;
726
- isInCall?: boolean | undefined;
727
- isSpeaking?: boolean | undefined;
728
- isMuted?: boolean | undefined;
729
- }>>;
730
- stats: {
731
- open: boolean;
732
- panels: number;
733
- };
734
- currentChartType: import("../element/types").ChartType;
735
- pasteDialog: {
736
- shown: false;
737
- data: null;
738
- } | {
739
- shown: true;
740
- data: import("../charts").Spreadsheet;
741
- };
742
- pendingImageElementId: string | null;
743
- showHyperlinkPopup: false | "info" | "editor";
744
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
745
- snapLines: readonly import("../snapping").SnapLine[];
746
- originSnapOffset: {
747
- x: number;
748
- y: number;
749
- } | null;
750
- objectsSnapModeEnabled: boolean;
751
- followedBy: Set<import("../types").SocketId>;
752
- isCropping: boolean;
753
- croppingElementId: string | null;
754
- searchMatches: readonly {
755
- id: string;
756
- focus: boolean;
757
- matchedLines: {
758
- offsetX: number;
759
- offsetY: number;
760
- width: number;
761
- height: number;
762
- }[];
763
- }[];
764
- };
765
- captureUpdate: "EVENTUALLY";
766
- };
767
- PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
768
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
769
- } & {
770
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
771
- };
772
- export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
773
- bounds: SceneBounds;
774
- canvasOffsets?: Partial<{
775
- top: number;
776
- right: number;
777
- bottom: number;
778
- left: number;
779
- }> | undefined;
780
- appState: Readonly<AppState>;
781
- /** whether to fit content to viewport (beyond >100%) */
782
- fitToViewport: boolean;
783
- /** zoom content to cover X of the viewport, when fitToViewport=true */
784
- viewportZoomFactor?: number | undefined;
785
- minZoom?: number | undefined;
786
- maxZoom?: number | undefined;
787
- }) => {
788
- appState: {
789
- scrollX: number;
790
- scrollY: number;
791
- zoom: {
792
- value: import("../types").NormalizedZoomValue;
793
- };
794
- contextMenu: {
795
- items: import("../components/ContextMenu").ContextMenuItems;
796
- top: number;
797
- left: number;
798
- } | null;
799
- showWelcomeScreen: boolean;
800
- isLoading: boolean;
801
- errorMessage: import("react").ReactNode;
802
- activeEmbeddable: {
803
- element: import("../element/types").NonDeletedExcalidrawElement;
804
- state: "hover" | "active";
805
- } | null;
806
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
807
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
808
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
809
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
810
- isBindingEnabled: boolean;
811
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
812
- suggestedBindings: import("../element/binding").SuggestedBinding[];
813
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
814
- frameRendering: {
815
- enabled: boolean;
816
- name: boolean;
817
- outline: boolean;
818
- clip: boolean;
819
- };
820
- editingFrame: string | null;
821
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
822
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
823
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
824
- activeTool: {
825
- lastActiveTool: import("../types").ActiveTool | null;
826
- locked: boolean;
827
- } & import("../types").ActiveTool;
828
- penMode: boolean;
829
- penDetected: boolean;
830
- exportBackground: boolean;
831
- exportEmbedScene: boolean;
832
- exportWithDarkMode: boolean;
833
- exportScale: number;
834
- currentItemStrokeColor: string;
835
- currentItemBackgroundColor: string;
836
- currentItemFillStyle: import("../element/types").FillStyle;
837
- currentItemStrokeWidth: number;
838
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
839
- currentItemRoughness: number;
840
- currentItemOpacity: number;
841
- currentItemFontFamily: number;
842
- currentItemFontSize: number;
843
- currentItemTextAlign: string;
844
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
845
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
846
- currentHoveredFontFamily: number | null;
847
- currentItemRoundness: import("../element/types").StrokeRoundness;
848
- currentItemArrowType: "round" | "sharp" | "elbow";
849
- viewBackgroundColor: string;
850
- cursorButton: "up" | "down";
851
- scrolledOutside: boolean;
852
- name: string | null;
853
- isResizing: boolean;
854
- isRotating: boolean;
855
- openMenu: "canvas" | "shape" | null;
856
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
857
- openSidebar: {
858
- name: string;
859
- tab?: string | undefined;
860
- } | null;
861
- openDialog: {
862
- name: "imageExport" | "help" | "jsonExport";
863
- } | {
864
- name: "ttd";
865
- tab: "text-to-diagram" | "mermaid";
866
- } | {
867
- name: "commandPalette";
868
- } | {
869
- name: "elementLinkSelector";
870
- sourceElementId: string;
871
- } | null;
872
- defaultSidebarDockedPreference: boolean;
873
- lastPointerDownWith: import("../element/types").PointerType;
874
- selectedElementIds: Readonly<{
875
- [id: string]: true;
876
- }>;
877
- hoveredElementIds: Readonly<{
878
- [id: string]: true;
879
- }>;
880
- previousSelectedElementIds: {
881
- [id: string]: true;
882
- };
883
- selectedElementsAreBeingDragged: boolean;
884
- shouldCacheIgnoreZoom: boolean;
885
- toast: {
886
- message: string;
887
- closable?: boolean | undefined;
888
- duration?: number | undefined;
889
- } | null;
890
- zenModeEnabled: boolean;
891
- theme: import("../element/types").Theme;
892
- gridSize: number;
893
- gridStep: number;
894
- gridModeEnabled: boolean;
895
- viewModeEnabled: boolean;
896
- selectedGroupIds: {
897
- [groupId: string]: boolean;
898
- };
899
- editingGroupId: string | null;
900
- width: number;
901
- height: number;
902
- offsetTop: number;
903
- offsetLeft: number;
904
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
905
- collaborators: Map<import("../types").SocketId, Readonly<{
906
- pointer?: import("../types").CollaboratorPointer | undefined;
907
- button?: "up" | "down" | undefined;
908
- selectedElementIds?: Readonly<{
909
- [id: string]: true;
910
- }> | undefined;
911
- username?: string | null | undefined;
912
- userState?: import("../constants").UserIdleState | undefined;
913
- color?: {
914
- background: string;
915
- stroke: string;
916
- } | undefined;
917
- avatarUrl?: string | undefined;
918
- id?: string | undefined;
919
- socketId?: import("../types").SocketId | undefined;
920
- isCurrentUser?: boolean | undefined;
921
- isInCall?: boolean | undefined;
922
- isSpeaking?: boolean | undefined;
923
- isMuted?: boolean | undefined;
924
- }>>;
925
- stats: {
926
- open: boolean;
927
- panels: number;
928
- };
929
- currentChartType: import("../element/types").ChartType;
930
- pasteDialog: {
931
- shown: false;
932
- data: null;
933
- } | {
934
- shown: true;
935
- data: import("../charts").Spreadsheet;
936
- };
937
- pendingImageElementId: string | null;
938
- showHyperlinkPopup: false | "info" | "editor";
939
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
940
- snapLines: readonly import("../snapping").SnapLine[];
941
- originSnapOffset: {
942
- x: number;
943
- y: number;
944
- } | null;
945
- objectsSnapModeEnabled: boolean;
946
- userToFollow: import("../types").UserToFollow | null;
947
- followedBy: Set<import("../types").SocketId>;
948
- isCropping: boolean;
949
- croppingElementId: string | null;
950
- searchMatches: readonly {
951
- id: string;
952
- focus: boolean;
953
- matchedLines: {
954
- offsetX: number;
955
- offsetY: number;
956
- width: number;
957
- height: number;
958
- }[];
959
- }[];
960
- };
961
- captureUpdate: "EVENTUALLY";
962
- };
963
- export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
964
- canvasOffsets?: Partial<{
965
- top: number;
966
- right: number;
967
- bottom: number;
968
- left: number;
969
- }> | undefined;
970
- targetElements: readonly ExcalidrawElement[];
971
- appState: Readonly<AppState>;
972
- /** whether to fit content to viewport (beyond >100%) */
973
- fitToViewport: boolean;
974
- /** zoom content to cover X of the viewport, when fitToViewport=true */
975
- viewportZoomFactor?: number | undefined;
976
- minZoom?: number | undefined;
977
- maxZoom?: number | undefined;
978
- }) => {
979
- appState: {
980
- scrollX: number;
981
- scrollY: number;
982
- zoom: {
983
- value: import("../types").NormalizedZoomValue;
984
- };
985
- contextMenu: {
986
- items: import("../components/ContextMenu").ContextMenuItems;
987
- top: number;
988
- left: number;
989
- } | null;
990
- showWelcomeScreen: boolean;
991
- isLoading: boolean;
992
- errorMessage: import("react").ReactNode;
993
- activeEmbeddable: {
994
- element: import("../element/types").NonDeletedExcalidrawElement;
995
- state: "hover" | "active";
996
- } | null;
997
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
998
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
999
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
1000
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
1001
- isBindingEnabled: boolean;
1002
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1003
- suggestedBindings: import("../element/binding").SuggestedBinding[];
1004
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1005
- frameRendering: {
1006
- enabled: boolean;
1007
- name: boolean;
1008
- outline: boolean;
1009
- clip: boolean;
1010
- };
1011
- editingFrame: string | null;
1012
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1013
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
1014
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1015
- activeTool: {
1016
- lastActiveTool: import("../types").ActiveTool | null;
1017
- locked: boolean;
1018
- } & import("../types").ActiveTool;
1019
- penMode: boolean;
1020
- penDetected: boolean;
1021
- exportBackground: boolean;
1022
- exportEmbedScene: boolean;
1023
- exportWithDarkMode: boolean;
1024
- exportScale: number;
1025
- currentItemStrokeColor: string;
1026
- currentItemBackgroundColor: string;
1027
- currentItemFillStyle: import("../element/types").FillStyle;
1028
- currentItemStrokeWidth: number;
1029
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1030
- currentItemRoughness: number;
1031
- currentItemOpacity: number;
1032
- currentItemFontFamily: number;
1033
- currentItemFontSize: number;
1034
- currentItemTextAlign: string;
1035
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1036
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1037
- currentHoveredFontFamily: number | null;
1038
- currentItemRoundness: import("../element/types").StrokeRoundness;
1039
- currentItemArrowType: "round" | "sharp" | "elbow";
1040
- viewBackgroundColor: string;
1041
- cursorButton: "up" | "down";
1042
- scrolledOutside: boolean;
1043
- name: string | null;
1044
- isResizing: boolean;
1045
- isRotating: boolean;
1046
- openMenu: "canvas" | "shape" | null;
1047
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1048
- openSidebar: {
1049
- name: string;
1050
- tab?: string | undefined;
1051
- } | null;
1052
- openDialog: {
1053
- name: "imageExport" | "help" | "jsonExport";
1054
- } | {
1055
- name: "ttd";
1056
- tab: "text-to-diagram" | "mermaid";
1057
- } | {
1058
- name: "commandPalette";
1059
- } | {
1060
- name: "elementLinkSelector";
1061
- sourceElementId: string;
1062
- } | null;
1063
- defaultSidebarDockedPreference: boolean;
1064
- lastPointerDownWith: import("../element/types").PointerType;
1065
- selectedElementIds: Readonly<{
1066
- [id: string]: true;
1067
- }>;
1068
- hoveredElementIds: Readonly<{
1069
- [id: string]: true;
1070
- }>;
1071
- previousSelectedElementIds: {
1072
- [id: string]: true;
1073
- };
1074
- selectedElementsAreBeingDragged: boolean;
1075
- shouldCacheIgnoreZoom: boolean;
1076
- toast: {
1077
- message: string;
1078
- closable?: boolean | undefined;
1079
- duration?: number | undefined;
1080
- } | null;
1081
- zenModeEnabled: boolean;
1082
- theme: import("../element/types").Theme;
1083
- gridSize: number;
1084
- gridStep: number;
1085
- gridModeEnabled: boolean;
1086
- viewModeEnabled: boolean;
1087
- selectedGroupIds: {
1088
- [groupId: string]: boolean;
1089
- };
1090
- editingGroupId: string | null;
1091
- width: number;
1092
- height: number;
1093
- offsetTop: number;
1094
- offsetLeft: number;
1095
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1096
- collaborators: Map<import("../types").SocketId, Readonly<{
1097
- pointer?: import("../types").CollaboratorPointer | undefined;
1098
- button?: "up" | "down" | undefined;
1099
- selectedElementIds?: Readonly<{
1100
- [id: string]: true;
1101
- }> | undefined;
1102
- username?: string | null | undefined;
1103
- userState?: import("../constants").UserIdleState | undefined;
1104
- color?: {
1105
- background: string;
1106
- stroke: string;
1107
- } | undefined;
1108
- avatarUrl?: string | undefined;
1109
- id?: string | undefined;
1110
- socketId?: import("../types").SocketId | undefined;
1111
- isCurrentUser?: boolean | undefined;
1112
- isInCall?: boolean | undefined;
1113
- isSpeaking?: boolean | undefined;
1114
- isMuted?: boolean | undefined;
1115
- }>>;
1116
- stats: {
1117
- open: boolean;
1118
- panels: number;
1119
- };
1120
- currentChartType: import("../element/types").ChartType;
1121
- pasteDialog: {
1122
- shown: false;
1123
- data: null;
1124
- } | {
1125
- shown: true;
1126
- data: import("../charts").Spreadsheet;
1127
- };
1128
- pendingImageElementId: string | null;
1129
- showHyperlinkPopup: false | "info" | "editor";
1130
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1131
- snapLines: readonly import("../snapping").SnapLine[];
1132
- originSnapOffset: {
1133
- x: number;
1134
- y: number;
1135
- } | null;
1136
- objectsSnapModeEnabled: boolean;
1137
- userToFollow: import("../types").UserToFollow | null;
1138
- followedBy: Set<import("../types").SocketId>;
1139
- isCropping: boolean;
1140
- croppingElementId: string | null;
1141
- searchMatches: readonly {
1142
- id: string;
1143
- focus: boolean;
1144
- matchedLines: {
1145
- offsetX: number;
1146
- offsetY: number;
1147
- width: number;
1148
- height: number;
1149
- }[];
1150
- }[];
1151
- };
1152
- captureUpdate: "EVENTUALLY";
1153
- };
1154
- export declare const actionZoomToFitSelectionInViewport: {
1155
- name: "zoomToFitSelectionInViewport";
1156
- label: string;
1157
- icon: import("react/jsx-runtime").JSX.Element;
1158
- trackEvent: {
1159
- category: "canvas";
1160
- };
1161
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
1162
- appState: {
1163
- scrollX: number;
1164
- scrollY: number;
1165
- zoom: {
1166
- value: import("../types").NormalizedZoomValue;
1167
- };
1168
- contextMenu: {
1169
- items: import("../components/ContextMenu").ContextMenuItems;
1170
- top: number;
1171
- left: number;
1172
- } | null;
1173
- showWelcomeScreen: boolean;
1174
- isLoading: boolean;
1175
- errorMessage: import("react").ReactNode;
1176
- activeEmbeddable: {
1177
- element: import("../element/types").NonDeletedExcalidrawElement;
1178
- state: "hover" | "active";
1179
- } | null;
1180
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
1181
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
1182
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
1183
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
1184
- isBindingEnabled: boolean;
1185
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1186
- suggestedBindings: import("../element/binding").SuggestedBinding[];
1187
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1188
- frameRendering: {
1189
- enabled: boolean;
1190
- name: boolean;
1191
- outline: boolean;
1192
- clip: boolean;
1193
- };
1194
- editingFrame: string | null;
1195
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1196
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
1197
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1198
- activeTool: {
1199
- lastActiveTool: import("../types").ActiveTool | null;
1200
- locked: boolean;
1201
- } & import("../types").ActiveTool;
1202
- penMode: boolean;
1203
- penDetected: boolean;
1204
- exportBackground: boolean;
1205
- exportEmbedScene: boolean;
1206
- exportWithDarkMode: boolean;
1207
- exportScale: number;
1208
- currentItemStrokeColor: string;
1209
- currentItemBackgroundColor: string;
1210
- currentItemFillStyle: import("../element/types").FillStyle;
1211
- currentItemStrokeWidth: number;
1212
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1213
- currentItemRoughness: number;
1214
- currentItemOpacity: number;
1215
- currentItemFontFamily: number;
1216
- currentItemFontSize: number;
1217
- currentItemTextAlign: string;
1218
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1219
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1220
- currentHoveredFontFamily: number | null;
1221
- currentItemRoundness: import("../element/types").StrokeRoundness;
1222
- currentItemArrowType: "round" | "sharp" | "elbow";
1223
- viewBackgroundColor: string;
1224
- cursorButton: "up" | "down";
1225
- scrolledOutside: boolean;
1226
- name: string | null;
1227
- isResizing: boolean;
1228
- isRotating: boolean;
1229
- openMenu: "canvas" | "shape" | null;
1230
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1231
- openSidebar: {
1232
- name: string;
1233
- tab?: string | undefined;
1234
- } | null;
1235
- openDialog: {
1236
- name: "imageExport" | "help" | "jsonExport";
1237
- } | {
1238
- name: "ttd";
1239
- tab: "text-to-diagram" | "mermaid";
1240
- } | {
1241
- name: "commandPalette";
1242
- } | {
1243
- name: "elementLinkSelector";
1244
- sourceElementId: string;
1245
- } | null;
1246
- defaultSidebarDockedPreference: boolean;
1247
- lastPointerDownWith: import("../element/types").PointerType;
1248
- selectedElementIds: Readonly<{
1249
- [id: string]: true;
1250
- }>;
1251
- hoveredElementIds: Readonly<{
1252
- [id: string]: true;
1253
- }>;
1254
- previousSelectedElementIds: {
1255
- [id: string]: true;
1256
- };
1257
- selectedElementsAreBeingDragged: boolean;
1258
- shouldCacheIgnoreZoom: boolean;
1259
- toast: {
1260
- message: string;
1261
- closable?: boolean | undefined;
1262
- duration?: number | undefined;
1263
- } | null;
1264
- zenModeEnabled: boolean;
1265
- theme: import("../element/types").Theme;
1266
- gridSize: number;
1267
- gridStep: number;
1268
- gridModeEnabled: boolean;
1269
- viewModeEnabled: boolean;
1270
- selectedGroupIds: {
1271
- [groupId: string]: boolean;
1272
- };
1273
- editingGroupId: string | null;
1274
- width: number;
1275
- height: number;
1276
- offsetTop: number;
1277
- offsetLeft: number;
1278
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1279
- collaborators: Map<import("../types").SocketId, Readonly<{
1280
- pointer?: import("../types").CollaboratorPointer | undefined;
1281
- button?: "up" | "down" | undefined;
1282
- selectedElementIds?: Readonly<{
1283
- [id: string]: true;
1284
- }> | undefined;
1285
- username?: string | null | undefined;
1286
- userState?: import("../constants").UserIdleState | undefined;
1287
- color?: {
1288
- background: string;
1289
- stroke: string;
1290
- } | undefined;
1291
- avatarUrl?: string | undefined;
1292
- id?: string | undefined;
1293
- socketId?: import("../types").SocketId | undefined;
1294
- isCurrentUser?: boolean | undefined;
1295
- isInCall?: boolean | undefined;
1296
- isSpeaking?: boolean | undefined;
1297
- isMuted?: boolean | undefined;
1298
- }>>;
1299
- stats: {
1300
- open: boolean;
1301
- panels: number;
1302
- };
1303
- currentChartType: import("../element/types").ChartType;
1304
- pasteDialog: {
1305
- shown: false;
1306
- data: null;
1307
- } | {
1308
- shown: true;
1309
- data: import("../charts").Spreadsheet;
1310
- };
1311
- pendingImageElementId: string | null;
1312
- showHyperlinkPopup: false | "info" | "editor";
1313
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1314
- snapLines: readonly import("../snapping").SnapLine[];
1315
- originSnapOffset: {
1316
- x: number;
1317
- y: number;
1318
- } | null;
1319
- objectsSnapModeEnabled: boolean;
1320
- userToFollow: import("../types").UserToFollow | null;
1321
- followedBy: Set<import("../types").SocketId>;
1322
- isCropping: boolean;
1323
- croppingElementId: string | null;
1324
- searchMatches: readonly {
1325
- id: string;
1326
- focus: boolean;
1327
- matchedLines: {
1328
- offsetX: number;
1329
- offsetY: number;
1330
- width: number;
1331
- height: number;
1332
- }[];
1333
- }[];
1334
- };
1335
- captureUpdate: "EVENTUALLY";
1336
- };
1337
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1338
- } & {
1339
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1340
- };
1341
- export declare const actionZoomToFitSelection: {
1342
- name: "zoomToFitSelection";
1343
- label: string;
1344
- icon: import("react/jsx-runtime").JSX.Element;
1345
- trackEvent: {
1346
- category: "canvas";
1347
- };
1348
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
1349
- appState: {
1350
- scrollX: number;
1351
- scrollY: number;
1352
- zoom: {
1353
- value: import("../types").NormalizedZoomValue;
1354
- };
1355
- contextMenu: {
1356
- items: import("../components/ContextMenu").ContextMenuItems;
1357
- top: number;
1358
- left: number;
1359
- } | null;
1360
- showWelcomeScreen: boolean;
1361
- isLoading: boolean;
1362
- errorMessage: import("react").ReactNode;
1363
- activeEmbeddable: {
1364
- element: import("../element/types").NonDeletedExcalidrawElement;
1365
- state: "hover" | "active";
1366
- } | null;
1367
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
1368
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
1369
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
1370
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
1371
- isBindingEnabled: boolean;
1372
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1373
- suggestedBindings: import("../element/binding").SuggestedBinding[];
1374
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1375
- frameRendering: {
1376
- enabled: boolean;
1377
- name: boolean;
1378
- outline: boolean;
1379
- clip: boolean;
1380
- };
1381
- editingFrame: string | null;
1382
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1383
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
1384
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1385
- activeTool: {
1386
- lastActiveTool: import("../types").ActiveTool | null;
1387
- locked: boolean;
1388
- } & import("../types").ActiveTool;
1389
- penMode: boolean;
1390
- penDetected: boolean;
1391
- exportBackground: boolean;
1392
- exportEmbedScene: boolean;
1393
- exportWithDarkMode: boolean;
1394
- exportScale: number;
1395
- currentItemStrokeColor: string;
1396
- currentItemBackgroundColor: string;
1397
- currentItemFillStyle: import("../element/types").FillStyle;
1398
- currentItemStrokeWidth: number;
1399
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1400
- currentItemRoughness: number;
1401
- currentItemOpacity: number;
1402
- currentItemFontFamily: number;
1403
- currentItemFontSize: number;
1404
- currentItemTextAlign: string;
1405
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1406
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1407
- currentHoveredFontFamily: number | null;
1408
- currentItemRoundness: import("../element/types").StrokeRoundness;
1409
- currentItemArrowType: "round" | "sharp" | "elbow";
1410
- viewBackgroundColor: string;
1411
- cursorButton: "up" | "down";
1412
- scrolledOutside: boolean;
1413
- name: string | null;
1414
- isResizing: boolean;
1415
- isRotating: boolean;
1416
- openMenu: "canvas" | "shape" | null;
1417
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1418
- openSidebar: {
1419
- name: string;
1420
- tab?: string | undefined;
1421
- } | null;
1422
- openDialog: {
1423
- name: "imageExport" | "help" | "jsonExport";
1424
- } | {
1425
- name: "ttd";
1426
- tab: "text-to-diagram" | "mermaid";
1427
- } | {
1428
- name: "commandPalette";
1429
- } | {
1430
- name: "elementLinkSelector";
1431
- sourceElementId: string;
1432
- } | null;
1433
- defaultSidebarDockedPreference: boolean;
1434
- lastPointerDownWith: import("../element/types").PointerType;
1435
- selectedElementIds: Readonly<{
1436
- [id: string]: true;
1437
- }>;
1438
- hoveredElementIds: Readonly<{
1439
- [id: string]: true;
1440
- }>;
1441
- previousSelectedElementIds: {
1442
- [id: string]: true;
1443
- };
1444
- selectedElementsAreBeingDragged: boolean;
1445
- shouldCacheIgnoreZoom: boolean;
1446
- toast: {
1447
- message: string;
1448
- closable?: boolean | undefined;
1449
- duration?: number | undefined;
1450
- } | null;
1451
- zenModeEnabled: boolean;
1452
- theme: import("../element/types").Theme;
1453
- gridSize: number;
1454
- gridStep: number;
1455
- gridModeEnabled: boolean;
1456
- viewModeEnabled: boolean;
1457
- selectedGroupIds: {
1458
- [groupId: string]: boolean;
1459
- };
1460
- editingGroupId: string | null;
1461
- width: number;
1462
- height: number;
1463
- offsetTop: number;
1464
- offsetLeft: number;
1465
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1466
- collaborators: Map<import("../types").SocketId, Readonly<{
1467
- pointer?: import("../types").CollaboratorPointer | undefined;
1468
- button?: "up" | "down" | undefined;
1469
- selectedElementIds?: Readonly<{
1470
- [id: string]: true;
1471
- }> | undefined;
1472
- username?: string | null | undefined;
1473
- userState?: import("../constants").UserIdleState | undefined;
1474
- color?: {
1475
- background: string;
1476
- stroke: string;
1477
- } | undefined;
1478
- avatarUrl?: string | undefined;
1479
- id?: string | undefined;
1480
- socketId?: import("../types").SocketId | undefined;
1481
- isCurrentUser?: boolean | undefined;
1482
- isInCall?: boolean | undefined;
1483
- isSpeaking?: boolean | undefined;
1484
- isMuted?: boolean | undefined;
1485
- }>>;
1486
- stats: {
1487
- open: boolean;
1488
- panels: number;
1489
- };
1490
- currentChartType: import("../element/types").ChartType;
1491
- pasteDialog: {
1492
- shown: false;
1493
- data: null;
1494
- } | {
1495
- shown: true;
1496
- data: import("../charts").Spreadsheet;
1497
- };
1498
- pendingImageElementId: string | null;
1499
- showHyperlinkPopup: false | "info" | "editor";
1500
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1501
- snapLines: readonly import("../snapping").SnapLine[];
1502
- originSnapOffset: {
1503
- x: number;
1504
- y: number;
1505
- } | null;
1506
- objectsSnapModeEnabled: boolean;
1507
- userToFollow: import("../types").UserToFollow | null;
1508
- followedBy: Set<import("../types").SocketId>;
1509
- isCropping: boolean;
1510
- croppingElementId: string | null;
1511
- searchMatches: readonly {
1512
- id: string;
1513
- focus: boolean;
1514
- matchedLines: {
1515
- offsetX: number;
1516
- offsetY: number;
1517
- width: number;
1518
- height: number;
1519
- }[];
1520
- }[];
1521
- };
1522
- captureUpdate: "EVENTUALLY";
1523
- };
1524
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1525
- } & {
1526
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1527
- };
1528
- export declare const actionZoomToFit: {
1529
- name: "zoomToFit";
1530
- label: string;
1531
- icon: import("react/jsx-runtime").JSX.Element;
1532
- viewMode: true;
1533
- trackEvent: {
1534
- category: "canvas";
1535
- };
1536
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
1537
- appState: {
1538
- scrollX: number;
1539
- scrollY: number;
1540
- zoom: {
1541
- value: import("../types").NormalizedZoomValue;
1542
- };
1543
- contextMenu: {
1544
- items: import("../components/ContextMenu").ContextMenuItems;
1545
- top: number;
1546
- left: number;
1547
- } | null;
1548
- showWelcomeScreen: boolean;
1549
- isLoading: boolean;
1550
- errorMessage: import("react").ReactNode;
1551
- activeEmbeddable: {
1552
- element: import("../element/types").NonDeletedExcalidrawElement;
1553
- state: "hover" | "active";
1554
- } | null;
1555
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
1556
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
1557
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
1558
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
1559
- isBindingEnabled: boolean;
1560
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1561
- suggestedBindings: import("../element/binding").SuggestedBinding[];
1562
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1563
- frameRendering: {
1564
- enabled: boolean;
1565
- name: boolean;
1566
- outline: boolean;
1567
- clip: boolean;
1568
- };
1569
- editingFrame: string | null;
1570
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1571
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
1572
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1573
- activeTool: {
1574
- lastActiveTool: import("../types").ActiveTool | null;
1575
- locked: boolean;
1576
- } & import("../types").ActiveTool;
1577
- penMode: boolean;
1578
- penDetected: boolean;
1579
- exportBackground: boolean;
1580
- exportEmbedScene: boolean;
1581
- exportWithDarkMode: boolean;
1582
- exportScale: number;
1583
- currentItemStrokeColor: string;
1584
- currentItemBackgroundColor: string;
1585
- currentItemFillStyle: import("../element/types").FillStyle;
1586
- currentItemStrokeWidth: number;
1587
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1588
- currentItemRoughness: number;
1589
- currentItemOpacity: number;
1590
- currentItemFontFamily: number;
1591
- currentItemFontSize: number;
1592
- currentItemTextAlign: string;
1593
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1594
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1595
- currentHoveredFontFamily: number | null;
1596
- currentItemRoundness: import("../element/types").StrokeRoundness;
1597
- currentItemArrowType: "round" | "sharp" | "elbow";
1598
- viewBackgroundColor: string;
1599
- cursorButton: "up" | "down";
1600
- scrolledOutside: boolean;
1601
- name: string | null;
1602
- isResizing: boolean;
1603
- isRotating: boolean;
1604
- openMenu: "canvas" | "shape" | null;
1605
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1606
- openSidebar: {
1607
- name: string;
1608
- tab?: string | undefined;
1609
- } | null;
1610
- openDialog: {
1611
- name: "imageExport" | "help" | "jsonExport";
1612
- } | {
1613
- name: "ttd";
1614
- tab: "text-to-diagram" | "mermaid";
1615
- } | {
1616
- name: "commandPalette";
1617
- } | {
1618
- name: "elementLinkSelector";
1619
- sourceElementId: string;
1620
- } | null;
1621
- defaultSidebarDockedPreference: boolean;
1622
- lastPointerDownWith: import("../element/types").PointerType;
1623
- selectedElementIds: Readonly<{
1624
- [id: string]: true;
1625
- }>;
1626
- hoveredElementIds: Readonly<{
1627
- [id: string]: true;
1628
- }>;
1629
- previousSelectedElementIds: {
1630
- [id: string]: true;
1631
- };
1632
- selectedElementsAreBeingDragged: boolean;
1633
- shouldCacheIgnoreZoom: boolean;
1634
- toast: {
1635
- message: string;
1636
- closable?: boolean | undefined;
1637
- duration?: number | undefined;
1638
- } | null;
1639
- zenModeEnabled: boolean;
1640
- theme: import("../element/types").Theme;
1641
- gridSize: number;
1642
- gridStep: number;
1643
- gridModeEnabled: boolean;
1644
- viewModeEnabled: boolean;
1645
- selectedGroupIds: {
1646
- [groupId: string]: boolean;
1647
- };
1648
- editingGroupId: string | null;
1649
- width: number;
1650
- height: number;
1651
- offsetTop: number;
1652
- offsetLeft: number;
1653
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1654
- collaborators: Map<import("../types").SocketId, Readonly<{
1655
- pointer?: import("../types").CollaboratorPointer | undefined;
1656
- button?: "up" | "down" | undefined;
1657
- selectedElementIds?: Readonly<{
1658
- [id: string]: true;
1659
- }> | undefined;
1660
- username?: string | null | undefined;
1661
- userState?: import("../constants").UserIdleState | undefined;
1662
- color?: {
1663
- background: string;
1664
- stroke: string;
1665
- } | undefined;
1666
- avatarUrl?: string | undefined;
1667
- id?: string | undefined;
1668
- socketId?: import("../types").SocketId | undefined;
1669
- isCurrentUser?: boolean | undefined;
1670
- isInCall?: boolean | undefined;
1671
- isSpeaking?: boolean | undefined;
1672
- isMuted?: boolean | undefined;
1673
- }>>;
1674
- stats: {
1675
- open: boolean;
1676
- panels: number;
1677
- };
1678
- currentChartType: import("../element/types").ChartType;
1679
- pasteDialog: {
1680
- shown: false;
1681
- data: null;
1682
- } | {
1683
- shown: true;
1684
- data: import("../charts").Spreadsheet;
1685
- };
1686
- pendingImageElementId: string | null;
1687
- showHyperlinkPopup: false | "info" | "editor";
1688
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1689
- snapLines: readonly import("../snapping").SnapLine[];
1690
- originSnapOffset: {
1691
- x: number;
1692
- y: number;
1693
- } | null;
1694
- objectsSnapModeEnabled: boolean;
1695
- userToFollow: import("../types").UserToFollow | null;
1696
- followedBy: Set<import("../types").SocketId>;
1697
- isCropping: boolean;
1698
- croppingElementId: string | null;
1699
- searchMatches: readonly {
1700
- id: string;
1701
- focus: boolean;
1702
- matchedLines: {
1703
- offsetX: number;
1704
- offsetY: number;
1705
- width: number;
1706
- height: number;
1707
- }[];
1708
- }[];
1709
- };
1710
- captureUpdate: "EVENTUALLY";
1711
- };
1712
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1713
- } & {
1714
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1715
- };
1716
- export declare const actionToggleTheme: {
1717
- name: "toggleTheme";
1718
- label: (_: readonly ExcalidrawElement[], appState: Readonly<AppState>) => "buttons.lightMode" | "buttons.darkMode";
1719
- keywords: string[];
1720
- icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
1721
- viewMode: true;
1722
- trackEvent: {
1723
- category: "canvas";
1724
- };
1725
- perform: (_: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
1726
- appState: {
1727
- theme: any;
1728
- contextMenu: {
1729
- items: import("../components/ContextMenu").ContextMenuItems;
1730
- top: number;
1731
- left: number;
1732
- } | null;
1733
- showWelcomeScreen: boolean;
1734
- isLoading: boolean;
1735
- errorMessage: import("react").ReactNode;
1736
- activeEmbeddable: {
1737
- element: import("../element/types").NonDeletedExcalidrawElement;
1738
- state: "hover" | "active";
1739
- } | null;
1740
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
1741
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
1742
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
1743
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
1744
- isBindingEnabled: boolean;
1745
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1746
- suggestedBindings: import("../element/binding").SuggestedBinding[];
1747
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1748
- frameRendering: {
1749
- enabled: boolean;
1750
- name: boolean;
1751
- outline: boolean;
1752
- clip: boolean;
1753
- };
1754
- editingFrame: string | null;
1755
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1756
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
1757
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1758
- activeTool: {
1759
- lastActiveTool: import("../types").ActiveTool | null;
1760
- locked: boolean;
1761
- } & import("../types").ActiveTool;
1762
- penMode: boolean;
1763
- penDetected: boolean;
1764
- exportBackground: boolean;
1765
- exportEmbedScene: boolean;
1766
- exportWithDarkMode: boolean;
1767
- exportScale: number;
1768
- currentItemStrokeColor: string;
1769
- currentItemBackgroundColor: string;
1770
- currentItemFillStyle: import("../element/types").FillStyle;
1771
- currentItemStrokeWidth: number;
1772
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1773
- currentItemRoughness: number;
1774
- currentItemOpacity: number;
1775
- currentItemFontFamily: number;
1776
- currentItemFontSize: number;
1777
- currentItemTextAlign: string;
1778
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1779
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1780
- currentHoveredFontFamily: number | null;
1781
- currentItemRoundness: import("../element/types").StrokeRoundness;
1782
- currentItemArrowType: "round" | "sharp" | "elbow";
1783
- viewBackgroundColor: string;
1784
- scrollX: number;
1785
- scrollY: number;
1786
- cursorButton: "up" | "down";
1787
- scrolledOutside: boolean;
1788
- name: string | null;
1789
- isResizing: boolean;
1790
- isRotating: boolean;
1791
- zoom: Readonly<{
1792
- value: import("../types").NormalizedZoomValue;
1793
- }>;
1794
- openMenu: "canvas" | "shape" | null;
1795
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1796
- openSidebar: {
1797
- name: string;
1798
- tab?: string | undefined;
1799
- } | null;
1800
- openDialog: {
1801
- name: "imageExport" | "help" | "jsonExport";
1802
- } | {
1803
- name: "ttd";
1804
- tab: "text-to-diagram" | "mermaid";
1805
- } | {
1806
- name: "commandPalette";
1807
- } | {
1808
- name: "elementLinkSelector";
1809
- sourceElementId: string;
1810
- } | null;
1811
- defaultSidebarDockedPreference: boolean;
1812
- lastPointerDownWith: import("../element/types").PointerType;
1813
- selectedElementIds: Readonly<{
1814
- [id: string]: true;
1815
- }>;
1816
- hoveredElementIds: Readonly<{
1817
- [id: string]: true;
1818
- }>;
1819
- previousSelectedElementIds: {
1820
- [id: string]: true;
1821
- };
1822
- selectedElementsAreBeingDragged: boolean;
1823
- shouldCacheIgnoreZoom: boolean;
1824
- toast: {
1825
- message: string;
1826
- closable?: boolean | undefined;
1827
- duration?: number | undefined;
1828
- } | null;
1829
- zenModeEnabled: boolean;
1830
- gridSize: number;
1831
- gridStep: number;
1832
- gridModeEnabled: boolean;
1833
- viewModeEnabled: boolean;
1834
- selectedGroupIds: {
1835
- [groupId: string]: boolean;
1836
- };
1837
- editingGroupId: string | null;
1838
- width: number;
1839
- height: number;
1840
- offsetTop: number;
1841
- offsetLeft: number;
1842
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1843
- collaborators: Map<import("../types").SocketId, Readonly<{
1844
- pointer?: import("../types").CollaboratorPointer | undefined;
1845
- button?: "up" | "down" | undefined;
1846
- selectedElementIds?: Readonly<{
1847
- [id: string]: true;
1848
- }> | undefined;
1849
- username?: string | null | undefined;
1850
- userState?: import("../constants").UserIdleState | undefined;
1851
- color?: {
1852
- background: string;
1853
- stroke: string;
1854
- } | undefined;
1855
- avatarUrl?: string | undefined;
1856
- id?: string | undefined;
1857
- socketId?: import("../types").SocketId | undefined;
1858
- isCurrentUser?: boolean | undefined;
1859
- isInCall?: boolean | undefined;
1860
- isSpeaking?: boolean | undefined;
1861
- isMuted?: boolean | undefined;
1862
- }>>;
1863
- stats: {
1864
- open: boolean;
1865
- panels: number;
1866
- };
1867
- currentChartType: import("../element/types").ChartType;
1868
- pasteDialog: {
1869
- shown: false;
1870
- data: null;
1871
- } | {
1872
- shown: true;
1873
- data: import("../charts").Spreadsheet;
1874
- };
1875
- pendingImageElementId: string | null;
1876
- showHyperlinkPopup: false | "info" | "editor";
1877
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1878
- snapLines: readonly import("../snapping").SnapLine[];
1879
- originSnapOffset: {
1880
- x: number;
1881
- y: number;
1882
- } | null;
1883
- objectsSnapModeEnabled: boolean;
1884
- userToFollow: import("../types").UserToFollow | null;
1885
- followedBy: Set<import("../types").SocketId>;
1886
- isCropping: boolean;
1887
- croppingElementId: string | null;
1888
- searchMatches: readonly {
1889
- id: string;
1890
- focus: boolean;
1891
- matchedLines: {
1892
- offsetX: number;
1893
- offsetY: number;
1894
- width: number;
1895
- height: number;
1896
- }[];
1897
- }[];
1898
- };
1899
- captureUpdate: "EVENTUALLY";
1900
- };
1901
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1902
- predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1903
- } & {
1904
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1905
- };
1906
- export declare const actionToggleEraserTool: {
1907
- name: "toggleEraserTool";
1908
- label: string;
1909
- trackEvent: {
1910
- category: "toolbar";
1911
- };
1912
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
1913
- appState: {
1914
- selectedElementIds: {};
1915
- selectedGroupIds: {};
1916
- activeEmbeddable: null;
1917
- activeTool: {
1918
- lastActiveTool: import("../types").ActiveTool | null;
1919
- locked: boolean;
1920
- } & import("../types").ActiveTool;
1921
- contextMenu: {
1922
- items: import("../components/ContextMenu").ContextMenuItems;
1923
- top: number;
1924
- left: number;
1925
- } | null;
1926
- showWelcomeScreen: boolean;
1927
- isLoading: boolean;
1928
- errorMessage: import("react").ReactNode;
1929
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
1930
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
1931
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
1932
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
1933
- isBindingEnabled: boolean;
1934
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1935
- suggestedBindings: import("../element/binding").SuggestedBinding[];
1936
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1937
- frameRendering: {
1938
- enabled: boolean;
1939
- name: boolean;
1940
- outline: boolean;
1941
- clip: boolean;
1942
- };
1943
- editingFrame: string | null;
1944
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1945
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
1946
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1947
- penMode: boolean;
1948
- penDetected: boolean;
1949
- exportBackground: boolean;
1950
- exportEmbedScene: boolean;
1951
- exportWithDarkMode: boolean;
1952
- exportScale: number;
1953
- currentItemStrokeColor: string;
1954
- currentItemBackgroundColor: string;
1955
- currentItemFillStyle: import("../element/types").FillStyle;
1956
- currentItemStrokeWidth: number;
1957
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1958
- currentItemRoughness: number;
1959
- currentItemOpacity: number;
1960
- currentItemFontFamily: number;
1961
- currentItemFontSize: number;
1962
- currentItemTextAlign: string;
1963
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1964
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1965
- currentHoveredFontFamily: number | null;
1966
- currentItemRoundness: import("../element/types").StrokeRoundness;
1967
- currentItemArrowType: "round" | "sharp" | "elbow";
1968
- viewBackgroundColor: string;
1969
- scrollX: number;
1970
- scrollY: number;
1971
- cursorButton: "up" | "down";
1972
- scrolledOutside: boolean;
1973
- name: string | null;
1974
- isResizing: boolean;
1975
- isRotating: boolean;
1976
- zoom: Readonly<{
1977
- value: import("../types").NormalizedZoomValue;
1978
- }>;
1979
- openMenu: "canvas" | "shape" | null;
1980
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1981
- openSidebar: {
1982
- name: string;
1983
- tab?: string | undefined;
1984
- } | null;
1985
- openDialog: {
1986
- name: "imageExport" | "help" | "jsonExport";
1987
- } | {
1988
- name: "ttd";
1989
- tab: "text-to-diagram" | "mermaid";
1990
- } | {
1991
- name: "commandPalette";
1992
- } | {
1993
- name: "elementLinkSelector";
1994
- sourceElementId: string;
1995
- } | null;
1996
- defaultSidebarDockedPreference: boolean;
1997
- lastPointerDownWith: import("../element/types").PointerType;
1998
- hoveredElementIds: Readonly<{
1999
- [id: string]: true;
2000
- }>;
2001
- previousSelectedElementIds: {
2002
- [id: string]: true;
2003
- };
2004
- selectedElementsAreBeingDragged: boolean;
2005
- shouldCacheIgnoreZoom: boolean;
2006
- toast: {
2007
- message: string;
2008
- closable?: boolean | undefined;
2009
- duration?: number | undefined;
2010
- } | null;
2011
- zenModeEnabled: boolean;
2012
- theme: import("../element/types").Theme;
2013
- gridSize: number;
2014
- gridStep: number;
2015
- gridModeEnabled: boolean;
2016
- viewModeEnabled: boolean;
2017
- editingGroupId: string | null;
2018
- width: number;
2019
- height: number;
2020
- offsetTop: number;
2021
- offsetLeft: number;
2022
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
2023
- collaborators: Map<import("../types").SocketId, Readonly<{
2024
- pointer?: import("../types").CollaboratorPointer | undefined;
2025
- button?: "up" | "down" | undefined;
2026
- selectedElementIds?: Readonly<{
2027
- [id: string]: true;
2028
- }> | undefined;
2029
- username?: string | null | undefined;
2030
- userState?: import("../constants").UserIdleState | undefined;
2031
- color?: {
2032
- background: string;
2033
- stroke: string;
2034
- } | undefined;
2035
- avatarUrl?: string | undefined;
2036
- id?: string | undefined;
2037
- socketId?: import("../types").SocketId | undefined;
2038
- isCurrentUser?: boolean | undefined;
2039
- isInCall?: boolean | undefined;
2040
- isSpeaking?: boolean | undefined;
2041
- isMuted?: boolean | undefined;
2042
- }>>;
2043
- stats: {
2044
- open: boolean;
2045
- panels: number;
2046
- };
2047
- currentChartType: import("../element/types").ChartType;
2048
- pasteDialog: {
2049
- shown: false;
2050
- data: null;
2051
- } | {
2052
- shown: true;
2053
- data: import("../charts").Spreadsheet;
2054
- };
2055
- pendingImageElementId: string | null;
2056
- showHyperlinkPopup: false | "info" | "editor";
2057
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
2058
- snapLines: readonly import("../snapping").SnapLine[];
2059
- originSnapOffset: {
2060
- x: number;
2061
- y: number;
2062
- } | null;
2063
- objectsSnapModeEnabled: boolean;
2064
- userToFollow: import("../types").UserToFollow | null;
2065
- followedBy: Set<import("../types").SocketId>;
2066
- isCropping: boolean;
2067
- croppingElementId: string | null;
2068
- searchMatches: readonly {
2069
- id: string;
2070
- focus: boolean;
2071
- matchedLines: {
2072
- offsetX: number;
2073
- offsetY: number;
2074
- width: number;
2075
- height: number;
2076
- }[];
2077
- }[];
2078
- };
2079
- captureUpdate: "IMMEDIATELY";
2080
- };
2081
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2082
- } & {
2083
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2084
- };
2085
- export declare const actionToggleHandTool: {
2086
- name: "toggleHandTool";
2087
- label: string;
2088
- paletteName: string;
2089
- trackEvent: {
2090
- category: "toolbar";
2091
- };
2092
- icon: import("react/jsx-runtime").JSX.Element;
2093
- viewMode: false;
2094
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
2095
- appState: {
2096
- selectedElementIds: {};
2097
- selectedGroupIds: {};
2098
- activeEmbeddable: null;
2099
- activeTool: {
2100
- lastActiveTool: import("../types").ActiveTool | null;
2101
- locked: boolean;
2102
- } & import("../types").ActiveTool;
2103
- contextMenu: {
2104
- items: import("../components/ContextMenu").ContextMenuItems;
2105
- top: number;
2106
- left: number;
2107
- } | null;
2108
- showWelcomeScreen: boolean;
2109
- isLoading: boolean;
2110
- errorMessage: import("react").ReactNode;
2111
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
2112
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
2113
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
2114
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
2115
- isBindingEnabled: boolean;
2116
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
2117
- suggestedBindings: import("../element/binding").SuggestedBinding[];
2118
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
2119
- frameRendering: {
2120
- enabled: boolean;
2121
- name: boolean;
2122
- outline: boolean;
2123
- clip: boolean;
2124
- };
2125
- editingFrame: string | null;
2126
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
2127
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
2128
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
2129
- penMode: boolean;
2130
- penDetected: boolean;
2131
- exportBackground: boolean;
2132
- exportEmbedScene: boolean;
2133
- exportWithDarkMode: boolean;
2134
- exportScale: number;
2135
- currentItemStrokeColor: string;
2136
- currentItemBackgroundColor: string;
2137
- currentItemFillStyle: import("../element/types").FillStyle;
2138
- currentItemStrokeWidth: number;
2139
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
2140
- currentItemRoughness: number;
2141
- currentItemOpacity: number;
2142
- currentItemFontFamily: number;
2143
- currentItemFontSize: number;
2144
- currentItemTextAlign: string;
2145
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
2146
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
2147
- currentHoveredFontFamily: number | null;
2148
- currentItemRoundness: import("../element/types").StrokeRoundness;
2149
- currentItemArrowType: "round" | "sharp" | "elbow";
2150
- viewBackgroundColor: string;
2151
- scrollX: number;
2152
- scrollY: number;
2153
- cursorButton: "up" | "down";
2154
- scrolledOutside: boolean;
2155
- name: string | null;
2156
- isResizing: boolean;
2157
- isRotating: boolean;
2158
- zoom: Readonly<{
2159
- value: import("../types").NormalizedZoomValue;
2160
- }>;
2161
- openMenu: "canvas" | "shape" | null;
2162
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2163
- openSidebar: {
2164
- name: string;
2165
- tab?: string | undefined;
2166
- } | null;
2167
- openDialog: {
2168
- name: "imageExport" | "help" | "jsonExport";
2169
- } | {
2170
- name: "ttd";
2171
- tab: "text-to-diagram" | "mermaid";
2172
- } | {
2173
- name: "commandPalette";
2174
- } | {
2175
- name: "elementLinkSelector";
2176
- sourceElementId: string;
2177
- } | null;
2178
- defaultSidebarDockedPreference: boolean;
2179
- lastPointerDownWith: import("../element/types").PointerType;
2180
- hoveredElementIds: Readonly<{
2181
- [id: string]: true;
2182
- }>;
2183
- previousSelectedElementIds: {
2184
- [id: string]: true;
2185
- };
2186
- selectedElementsAreBeingDragged: boolean;
2187
- shouldCacheIgnoreZoom: boolean;
2188
- toast: {
2189
- message: string;
2190
- closable?: boolean | undefined;
2191
- duration?: number | undefined;
2192
- } | null;
2193
- zenModeEnabled: boolean;
2194
- theme: import("../element/types").Theme;
2195
- gridSize: number;
2196
- gridStep: number;
2197
- gridModeEnabled: boolean;
2198
- viewModeEnabled: boolean;
2199
- editingGroupId: string | null;
2200
- width: number;
2201
- height: number;
2202
- offsetTop: number;
2203
- offsetLeft: number;
2204
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
2205
- collaborators: Map<import("../types").SocketId, Readonly<{
2206
- pointer?: import("../types").CollaboratorPointer | undefined;
2207
- button?: "up" | "down" | undefined;
2208
- selectedElementIds?: Readonly<{
2209
- [id: string]: true;
2210
- }> | undefined;
2211
- username?: string | null | undefined;
2212
- userState?: import("../constants").UserIdleState | undefined;
2213
- color?: {
2214
- background: string;
2215
- stroke: string;
2216
- } | undefined;
2217
- avatarUrl?: string | undefined;
2218
- id?: string | undefined;
2219
- socketId?: import("../types").SocketId | undefined;
2220
- isCurrentUser?: boolean | undefined;
2221
- isInCall?: boolean | undefined;
2222
- isSpeaking?: boolean | undefined;
2223
- isMuted?: boolean | undefined;
2224
- }>>;
2225
- stats: {
2226
- open: boolean;
2227
- panels: number;
2228
- };
2229
- currentChartType: import("../element/types").ChartType;
2230
- pasteDialog: {
2231
- shown: false;
2232
- data: null;
2233
- } | {
2234
- shown: true;
2235
- data: import("../charts").Spreadsheet;
2236
- };
2237
- pendingImageElementId: string | null;
2238
- showHyperlinkPopup: false | "info" | "editor";
2239
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
2240
- snapLines: readonly import("../snapping").SnapLine[];
2241
- originSnapOffset: {
2242
- x: number;
2243
- y: number;
2244
- } | null;
2245
- objectsSnapModeEnabled: boolean;
2246
- userToFollow: import("../types").UserToFollow | null;
2247
- followedBy: Set<import("../types").SocketId>;
2248
- isCropping: boolean;
2249
- croppingElementId: string | null;
2250
- searchMatches: readonly {
2251
- id: string;
2252
- focus: boolean;
2253
- matchedLines: {
2254
- offsetX: number;
2255
- offsetY: number;
2256
- width: number;
2257
- height: number;
2258
- }[];
2259
- }[];
2260
- };
2261
- captureUpdate: "IMMEDIATELY";
2262
- };
2263
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2264
- } & {
2265
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2266
- };
1
+ /// <reference types="react" />
2
+ import { type SceneBounds } from "@excalidraw/element";
3
+ import type { ExcalidrawElement } from "@excalidraw/element/types";
4
+ import type { AppState, Offsets } from "../types";
5
+ export declare const actionChangeViewBackgroundColor: {
6
+ name: "changeViewBackgroundColor";
7
+ label: string;
8
+ trackEvent: false;
9
+ predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
10
+ perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
11
+ appState: any;
12
+ captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
13
+ };
14
+ PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
15
+ } & {
16
+ keyTest?: undefined;
17
+ };
18
+ export declare const actionClearCanvas: {
19
+ name: "clearCanvas";
20
+ label: string;
21
+ icon: import("react/jsx-runtime").JSX.Element;
22
+ trackEvent: {
23
+ category: "canvas";
24
+ };
25
+ predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
26
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
27
+ elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
28
+ appState: {
29
+ files: {};
30
+ theme: import("@excalidraw/element/types").Theme;
31
+ penMode: boolean;
32
+ penDetected: boolean;
33
+ exportBackground: boolean;
34
+ exportEmbedScene: boolean;
35
+ gridSize: number;
36
+ gridStep: number;
37
+ gridModeEnabled: boolean;
38
+ stats: {
39
+ open: boolean;
40
+ panels: number;
41
+ };
42
+ pasteDialog: {
43
+ shown: false;
44
+ data: null;
45
+ } | {
46
+ shown: true;
47
+ data: import("../charts").Spreadsheet;
48
+ };
49
+ activeTool: {
50
+ lastActiveTool: import("../types").ActiveTool | null;
51
+ locked: boolean;
52
+ fromSelection: boolean;
53
+ } & import("../types").ActiveTool;
54
+ contextMenu: {
55
+ items: import("../components/ContextMenu").ContextMenuItems;
56
+ top: number;
57
+ left: number;
58
+ } | null;
59
+ exportWithDarkMode: boolean;
60
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
61
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
62
+ cursorButton: "up" | "down";
63
+ scrollX: number;
64
+ scrollY: number;
65
+ showWelcomeScreen: boolean;
66
+ isLoading: boolean;
67
+ errorMessage: import("react").ReactNode;
68
+ activeEmbeddable: {
69
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
70
+ state: "hover" | "active";
71
+ } | null;
72
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
73
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
74
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
75
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
76
+ isBindingEnabled: boolean;
77
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
78
+ frameRendering: {
79
+ enabled: boolean;
80
+ name: boolean;
81
+ outline: boolean;
82
+ clip: boolean;
83
+ };
84
+ editingFrame: string | null;
85
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
86
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
87
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
88
+ exportScale: number;
89
+ currentItemStrokeColor: string;
90
+ currentItemBackgroundColor: string;
91
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
92
+ currentItemStrokeWidth: number;
93
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
94
+ currentItemRoughness: number;
95
+ currentItemOpacity: number;
96
+ currentItemFontFamily: number;
97
+ currentItemFontSize: number;
98
+ currentItemTextAlign: string;
99
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
100
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
101
+ currentHoveredFontFamily: number | null;
102
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
103
+ currentItemArrowType: "round" | "sharp" | "elbow";
104
+ viewBackgroundColor: string;
105
+ scrolledOutside: boolean;
106
+ name: string | null;
107
+ isResizing: boolean;
108
+ isRotating: boolean;
109
+ zoom: Readonly<{
110
+ value: import("../types").NormalizedZoomValue;
111
+ }>;
112
+ openMenu: "canvas" | "shape" | null;
113
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
114
+ openSidebar: {
115
+ name: string;
116
+ tab?: string | undefined;
117
+ } | null;
118
+ openDialog: {
119
+ name: "imageExport" | "help" | "jsonExport";
120
+ } | {
121
+ name: "ttd";
122
+ tab: "text-to-diagram" | "mermaid";
123
+ } | {
124
+ name: "commandPalette";
125
+ } | {
126
+ name: "elementLinkSelector";
127
+ sourceElementId: string;
128
+ } | null;
129
+ defaultSidebarDockedPreference: boolean;
130
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
131
+ selectedElementIds: Readonly<{
132
+ [id: string]: true;
133
+ }>;
134
+ hoveredElementIds: Readonly<{
135
+ [id: string]: true;
136
+ }>;
137
+ previousSelectedElementIds: {
138
+ [id: string]: true;
139
+ };
140
+ selectedElementsAreBeingDragged: boolean;
141
+ shouldCacheIgnoreZoom: boolean;
142
+ toast: {
143
+ message: string;
144
+ closable?: boolean | undefined;
145
+ duration?: number | undefined;
146
+ } | null;
147
+ zenModeEnabled: boolean;
148
+ viewModeEnabled: boolean;
149
+ selectedGroupIds: {
150
+ [groupId: string]: boolean;
151
+ };
152
+ editingGroupId: string | null;
153
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
154
+ collaborators: Map<import("../types").SocketId, Readonly<{
155
+ pointer?: import("../types").CollaboratorPointer | undefined;
156
+ button?: "up" | "down" | undefined;
157
+ selectedElementIds?: Readonly<{
158
+ [id: string]: true;
159
+ }> | undefined;
160
+ username?: string | null | undefined;
161
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
162
+ color?: {
163
+ background: string;
164
+ stroke: string;
165
+ } | undefined;
166
+ avatarUrl?: string | undefined;
167
+ id?: string | undefined;
168
+ socketId?: import("../types").SocketId | undefined;
169
+ isCurrentUser?: boolean | undefined;
170
+ isInCall?: boolean | undefined;
171
+ isSpeaking?: boolean | undefined;
172
+ isMuted?: boolean | undefined;
173
+ }>>;
174
+ currentChartType: import("@excalidraw/element/types").ChartType;
175
+ pendingImageElementId: string | null;
176
+ showHyperlinkPopup: false | "info" | "editor";
177
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
178
+ snapLines: readonly import("../snapping").SnapLine[];
179
+ originSnapOffset: {
180
+ x: number;
181
+ y: number;
182
+ } | null;
183
+ objectsSnapModeEnabled: boolean;
184
+ userToFollow: import("../types").UserToFollow | null;
185
+ followedBy: Set<import("../types").SocketId>;
186
+ isCropping: boolean;
187
+ croppingElementId: string | null;
188
+ searchMatches: Readonly<{
189
+ focusedId: string | null;
190
+ matches: readonly import("../types").SearchMatch[];
191
+ }> | null;
192
+ };
193
+ captureUpdate: "IMMEDIATELY";
194
+ };
195
+ } & {
196
+ keyTest?: undefined;
197
+ };
198
+ export declare const actionZoomIn: {
199
+ name: "zoomIn";
200
+ label: string;
201
+ viewMode: true;
202
+ icon: import("react/jsx-runtime").JSX.Element;
203
+ trackEvent: {
204
+ category: "canvas";
205
+ };
206
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
207
+ appState: {
208
+ userToFollow: null;
209
+ scrollX: number;
210
+ scrollY: number;
211
+ zoom: {
212
+ value: import("../types").NormalizedZoomValue;
213
+ };
214
+ contextMenu: {
215
+ items: import("../components/ContextMenu").ContextMenuItems;
216
+ top: number;
217
+ left: number;
218
+ } | null;
219
+ showWelcomeScreen: boolean;
220
+ isLoading: boolean;
221
+ errorMessage: import("react").ReactNode;
222
+ activeEmbeddable: {
223
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
224
+ state: "hover" | "active";
225
+ } | null;
226
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
227
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
228
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
229
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
230
+ isBindingEnabled: boolean;
231
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
232
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
233
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
234
+ frameRendering: {
235
+ enabled: boolean;
236
+ name: boolean;
237
+ outline: boolean;
238
+ clip: boolean;
239
+ };
240
+ editingFrame: string | null;
241
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
242
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
243
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
244
+ activeTool: {
245
+ lastActiveTool: import("../types").ActiveTool | null;
246
+ locked: boolean;
247
+ fromSelection: boolean;
248
+ } & import("../types").ActiveTool;
249
+ penMode: boolean;
250
+ penDetected: boolean;
251
+ exportBackground: boolean;
252
+ exportEmbedScene: boolean;
253
+ exportWithDarkMode: boolean;
254
+ exportScale: number;
255
+ currentItemStrokeColor: string;
256
+ currentItemBackgroundColor: string;
257
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
258
+ currentItemStrokeWidth: number;
259
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
260
+ currentItemRoughness: number;
261
+ currentItemOpacity: number;
262
+ currentItemFontFamily: number;
263
+ currentItemFontSize: number;
264
+ currentItemTextAlign: string;
265
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
266
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
267
+ currentHoveredFontFamily: number | null;
268
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
269
+ currentItemArrowType: "round" | "sharp" | "elbow";
270
+ viewBackgroundColor: string;
271
+ cursorButton: "up" | "down";
272
+ scrolledOutside: boolean;
273
+ name: string | null;
274
+ isResizing: boolean;
275
+ isRotating: boolean;
276
+ openMenu: "canvas" | "shape" | null;
277
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
278
+ openSidebar: {
279
+ name: string;
280
+ tab?: string | undefined;
281
+ } | null;
282
+ openDialog: {
283
+ name: "imageExport" | "help" | "jsonExport";
284
+ } | {
285
+ name: "ttd";
286
+ tab: "text-to-diagram" | "mermaid";
287
+ } | {
288
+ name: "commandPalette";
289
+ } | {
290
+ name: "elementLinkSelector";
291
+ sourceElementId: string;
292
+ } | null;
293
+ defaultSidebarDockedPreference: boolean;
294
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
295
+ selectedElementIds: Readonly<{
296
+ [id: string]: true;
297
+ }>;
298
+ hoveredElementIds: Readonly<{
299
+ [id: string]: true;
300
+ }>;
301
+ previousSelectedElementIds: {
302
+ [id: string]: true;
303
+ };
304
+ selectedElementsAreBeingDragged: boolean;
305
+ shouldCacheIgnoreZoom: boolean;
306
+ toast: {
307
+ message: string;
308
+ closable?: boolean | undefined;
309
+ duration?: number | undefined;
310
+ } | null;
311
+ zenModeEnabled: boolean;
312
+ theme: import("@excalidraw/element/types").Theme;
313
+ gridSize: number;
314
+ gridStep: number;
315
+ gridModeEnabled: boolean;
316
+ viewModeEnabled: boolean;
317
+ selectedGroupIds: {
318
+ [groupId: string]: boolean;
319
+ };
320
+ editingGroupId: string | null;
321
+ width: number;
322
+ height: number;
323
+ offsetTop: number;
324
+ offsetLeft: number;
325
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
326
+ collaborators: Map<import("../types").SocketId, Readonly<{
327
+ pointer?: import("../types").CollaboratorPointer | undefined;
328
+ button?: "up" | "down" | undefined;
329
+ selectedElementIds?: Readonly<{
330
+ [id: string]: true;
331
+ }> | undefined;
332
+ username?: string | null | undefined;
333
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
334
+ color?: {
335
+ background: string;
336
+ stroke: string;
337
+ } | undefined;
338
+ avatarUrl?: string | undefined;
339
+ id?: string | undefined;
340
+ socketId?: import("../types").SocketId | undefined;
341
+ isCurrentUser?: boolean | undefined;
342
+ isInCall?: boolean | undefined;
343
+ isSpeaking?: boolean | undefined;
344
+ isMuted?: boolean | undefined;
345
+ }>>;
346
+ stats: {
347
+ open: boolean;
348
+ panels: number;
349
+ };
350
+ currentChartType: import("@excalidraw/element/types").ChartType;
351
+ pasteDialog: {
352
+ shown: false;
353
+ data: null;
354
+ } | {
355
+ shown: true;
356
+ data: import("../charts").Spreadsheet;
357
+ };
358
+ pendingImageElementId: string | null;
359
+ showHyperlinkPopup: false | "info" | "editor";
360
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
361
+ snapLines: readonly import("../snapping").SnapLine[];
362
+ originSnapOffset: {
363
+ x: number;
364
+ y: number;
365
+ } | null;
366
+ objectsSnapModeEnabled: boolean;
367
+ followedBy: Set<import("../types").SocketId>;
368
+ isCropping: boolean;
369
+ croppingElementId: string | null;
370
+ searchMatches: Readonly<{
371
+ focusedId: string | null;
372
+ matches: readonly import("../types").SearchMatch[];
373
+ }> | null;
374
+ };
375
+ captureUpdate: "EVENTUALLY";
376
+ };
377
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
378
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
379
+ } & {
380
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
381
+ };
382
+ export declare const actionZoomOut: {
383
+ name: "zoomOut";
384
+ label: string;
385
+ icon: import("react/jsx-runtime").JSX.Element;
386
+ viewMode: true;
387
+ trackEvent: {
388
+ category: "canvas";
389
+ };
390
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
391
+ appState: {
392
+ userToFollow: null;
393
+ scrollX: number;
394
+ scrollY: number;
395
+ zoom: {
396
+ value: import("../types").NormalizedZoomValue;
397
+ };
398
+ contextMenu: {
399
+ items: import("../components/ContextMenu").ContextMenuItems;
400
+ top: number;
401
+ left: number;
402
+ } | null;
403
+ showWelcomeScreen: boolean;
404
+ isLoading: boolean;
405
+ errorMessage: import("react").ReactNode;
406
+ activeEmbeddable: {
407
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
408
+ state: "hover" | "active";
409
+ } | null;
410
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
411
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
412
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
413
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
414
+ isBindingEnabled: boolean;
415
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
416
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
417
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
418
+ frameRendering: {
419
+ enabled: boolean;
420
+ name: boolean;
421
+ outline: boolean;
422
+ clip: boolean;
423
+ };
424
+ editingFrame: string | null;
425
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
426
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
427
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
428
+ activeTool: {
429
+ lastActiveTool: import("../types").ActiveTool | null;
430
+ locked: boolean;
431
+ fromSelection: boolean;
432
+ } & import("../types").ActiveTool;
433
+ penMode: boolean;
434
+ penDetected: boolean;
435
+ exportBackground: boolean;
436
+ exportEmbedScene: boolean;
437
+ exportWithDarkMode: boolean;
438
+ exportScale: number;
439
+ currentItemStrokeColor: string;
440
+ currentItemBackgroundColor: string;
441
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
442
+ currentItemStrokeWidth: number;
443
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
444
+ currentItemRoughness: number;
445
+ currentItemOpacity: number;
446
+ currentItemFontFamily: number;
447
+ currentItemFontSize: number;
448
+ currentItemTextAlign: string;
449
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
450
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
451
+ currentHoveredFontFamily: number | null;
452
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
453
+ currentItemArrowType: "round" | "sharp" | "elbow";
454
+ viewBackgroundColor: string;
455
+ cursorButton: "up" | "down";
456
+ scrolledOutside: boolean;
457
+ name: string | null;
458
+ isResizing: boolean;
459
+ isRotating: boolean;
460
+ openMenu: "canvas" | "shape" | null;
461
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
462
+ openSidebar: {
463
+ name: string;
464
+ tab?: string | undefined;
465
+ } | null;
466
+ openDialog: {
467
+ name: "imageExport" | "help" | "jsonExport";
468
+ } | {
469
+ name: "ttd";
470
+ tab: "text-to-diagram" | "mermaid";
471
+ } | {
472
+ name: "commandPalette";
473
+ } | {
474
+ name: "elementLinkSelector";
475
+ sourceElementId: string;
476
+ } | null;
477
+ defaultSidebarDockedPreference: boolean;
478
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
479
+ selectedElementIds: Readonly<{
480
+ [id: string]: true;
481
+ }>;
482
+ hoveredElementIds: Readonly<{
483
+ [id: string]: true;
484
+ }>;
485
+ previousSelectedElementIds: {
486
+ [id: string]: true;
487
+ };
488
+ selectedElementsAreBeingDragged: boolean;
489
+ shouldCacheIgnoreZoom: boolean;
490
+ toast: {
491
+ message: string;
492
+ closable?: boolean | undefined;
493
+ duration?: number | undefined;
494
+ } | null;
495
+ zenModeEnabled: boolean;
496
+ theme: import("@excalidraw/element/types").Theme;
497
+ gridSize: number;
498
+ gridStep: number;
499
+ gridModeEnabled: boolean;
500
+ viewModeEnabled: boolean;
501
+ selectedGroupIds: {
502
+ [groupId: string]: boolean;
503
+ };
504
+ editingGroupId: string | null;
505
+ width: number;
506
+ height: number;
507
+ offsetTop: number;
508
+ offsetLeft: number;
509
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
510
+ collaborators: Map<import("../types").SocketId, Readonly<{
511
+ pointer?: import("../types").CollaboratorPointer | undefined;
512
+ button?: "up" | "down" | undefined;
513
+ selectedElementIds?: Readonly<{
514
+ [id: string]: true;
515
+ }> | undefined;
516
+ username?: string | null | undefined;
517
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
518
+ color?: {
519
+ background: string;
520
+ stroke: string;
521
+ } | undefined;
522
+ avatarUrl?: string | undefined;
523
+ id?: string | undefined;
524
+ socketId?: import("../types").SocketId | undefined;
525
+ isCurrentUser?: boolean | undefined;
526
+ isInCall?: boolean | undefined;
527
+ isSpeaking?: boolean | undefined;
528
+ isMuted?: boolean | undefined;
529
+ }>>;
530
+ stats: {
531
+ open: boolean;
532
+ panels: number;
533
+ };
534
+ currentChartType: import("@excalidraw/element/types").ChartType;
535
+ pasteDialog: {
536
+ shown: false;
537
+ data: null;
538
+ } | {
539
+ shown: true;
540
+ data: import("../charts").Spreadsheet;
541
+ };
542
+ pendingImageElementId: string | null;
543
+ showHyperlinkPopup: false | "info" | "editor";
544
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
545
+ snapLines: readonly import("../snapping").SnapLine[];
546
+ originSnapOffset: {
547
+ x: number;
548
+ y: number;
549
+ } | null;
550
+ objectsSnapModeEnabled: boolean;
551
+ followedBy: Set<import("../types").SocketId>;
552
+ isCropping: boolean;
553
+ croppingElementId: string | null;
554
+ searchMatches: Readonly<{
555
+ focusedId: string | null;
556
+ matches: readonly import("../types").SearchMatch[];
557
+ }> | null;
558
+ };
559
+ captureUpdate: "EVENTUALLY";
560
+ };
561
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
562
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
563
+ } & {
564
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
565
+ };
566
+ export declare const actionResetZoom: {
567
+ name: "resetZoom";
568
+ label: string;
569
+ icon: import("react/jsx-runtime").JSX.Element;
570
+ viewMode: true;
571
+ trackEvent: {
572
+ category: "canvas";
573
+ };
574
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
575
+ appState: {
576
+ userToFollow: null;
577
+ scrollX: number;
578
+ scrollY: number;
579
+ zoom: {
580
+ value: import("../types").NormalizedZoomValue;
581
+ };
582
+ contextMenu: {
583
+ items: import("../components/ContextMenu").ContextMenuItems;
584
+ top: number;
585
+ left: number;
586
+ } | null;
587
+ showWelcomeScreen: boolean;
588
+ isLoading: boolean;
589
+ errorMessage: import("react").ReactNode;
590
+ activeEmbeddable: {
591
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
592
+ state: "hover" | "active";
593
+ } | null;
594
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
595
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
596
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
597
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
598
+ isBindingEnabled: boolean;
599
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
600
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
601
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
602
+ frameRendering: {
603
+ enabled: boolean;
604
+ name: boolean;
605
+ outline: boolean;
606
+ clip: boolean;
607
+ };
608
+ editingFrame: string | null;
609
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
610
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
611
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
612
+ activeTool: {
613
+ lastActiveTool: import("../types").ActiveTool | null;
614
+ locked: boolean;
615
+ fromSelection: boolean;
616
+ } & import("../types").ActiveTool;
617
+ penMode: boolean;
618
+ penDetected: boolean;
619
+ exportBackground: boolean;
620
+ exportEmbedScene: boolean;
621
+ exportWithDarkMode: boolean;
622
+ exportScale: number;
623
+ currentItemStrokeColor: string;
624
+ currentItemBackgroundColor: string;
625
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
626
+ currentItemStrokeWidth: number;
627
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
628
+ currentItemRoughness: number;
629
+ currentItemOpacity: number;
630
+ currentItemFontFamily: number;
631
+ currentItemFontSize: number;
632
+ currentItemTextAlign: string;
633
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
634
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
635
+ currentHoveredFontFamily: number | null;
636
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
637
+ currentItemArrowType: "round" | "sharp" | "elbow";
638
+ viewBackgroundColor: string;
639
+ cursorButton: "up" | "down";
640
+ scrolledOutside: boolean;
641
+ name: string | null;
642
+ isResizing: boolean;
643
+ isRotating: boolean;
644
+ openMenu: "canvas" | "shape" | null;
645
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
646
+ openSidebar: {
647
+ name: string;
648
+ tab?: string | undefined;
649
+ } | null;
650
+ openDialog: {
651
+ name: "imageExport" | "help" | "jsonExport";
652
+ } | {
653
+ name: "ttd";
654
+ tab: "text-to-diagram" | "mermaid";
655
+ } | {
656
+ name: "commandPalette";
657
+ } | {
658
+ name: "elementLinkSelector";
659
+ sourceElementId: string;
660
+ } | null;
661
+ defaultSidebarDockedPreference: boolean;
662
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
663
+ selectedElementIds: Readonly<{
664
+ [id: string]: true;
665
+ }>;
666
+ hoveredElementIds: Readonly<{
667
+ [id: string]: true;
668
+ }>;
669
+ previousSelectedElementIds: {
670
+ [id: string]: true;
671
+ };
672
+ selectedElementsAreBeingDragged: boolean;
673
+ shouldCacheIgnoreZoom: boolean;
674
+ toast: {
675
+ message: string;
676
+ closable?: boolean | undefined;
677
+ duration?: number | undefined;
678
+ } | null;
679
+ zenModeEnabled: boolean;
680
+ theme: import("@excalidraw/element/types").Theme;
681
+ gridSize: number;
682
+ gridStep: number;
683
+ gridModeEnabled: boolean;
684
+ viewModeEnabled: boolean;
685
+ selectedGroupIds: {
686
+ [groupId: string]: boolean;
687
+ };
688
+ editingGroupId: string | null;
689
+ width: number;
690
+ height: number;
691
+ offsetTop: number;
692
+ offsetLeft: number;
693
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
694
+ collaborators: Map<import("../types").SocketId, Readonly<{
695
+ pointer?: import("../types").CollaboratorPointer | undefined;
696
+ button?: "up" | "down" | undefined;
697
+ selectedElementIds?: Readonly<{
698
+ [id: string]: true;
699
+ }> | undefined;
700
+ username?: string | null | undefined;
701
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
702
+ color?: {
703
+ background: string;
704
+ stroke: string;
705
+ } | undefined;
706
+ avatarUrl?: string | undefined;
707
+ id?: string | undefined;
708
+ socketId?: import("../types").SocketId | undefined;
709
+ isCurrentUser?: boolean | undefined;
710
+ isInCall?: boolean | undefined;
711
+ isSpeaking?: boolean | undefined;
712
+ isMuted?: boolean | undefined;
713
+ }>>;
714
+ stats: {
715
+ open: boolean;
716
+ panels: number;
717
+ };
718
+ currentChartType: import("@excalidraw/element/types").ChartType;
719
+ pasteDialog: {
720
+ shown: false;
721
+ data: null;
722
+ } | {
723
+ shown: true;
724
+ data: import("../charts").Spreadsheet;
725
+ };
726
+ pendingImageElementId: string | null;
727
+ showHyperlinkPopup: false | "info" | "editor";
728
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
729
+ snapLines: readonly import("../snapping").SnapLine[];
730
+ originSnapOffset: {
731
+ x: number;
732
+ y: number;
733
+ } | null;
734
+ objectsSnapModeEnabled: boolean;
735
+ followedBy: Set<import("../types").SocketId>;
736
+ isCropping: boolean;
737
+ croppingElementId: string | null;
738
+ searchMatches: Readonly<{
739
+ focusedId: string | null;
740
+ matches: readonly import("../types").SearchMatch[];
741
+ }> | null;
742
+ };
743
+ captureUpdate: "EVENTUALLY";
744
+ };
745
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
746
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
747
+ } & {
748
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
749
+ };
750
+ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
751
+ bounds: SceneBounds;
752
+ canvasOffsets?: Partial<{
753
+ top: number;
754
+ right: number;
755
+ bottom: number;
756
+ left: number;
757
+ }> | undefined;
758
+ appState: Readonly<AppState>;
759
+ /** whether to fit content to viewport (beyond >100%) */
760
+ fitToViewport: boolean;
761
+ /** zoom content to cover X of the viewport, when fitToViewport=true */
762
+ viewportZoomFactor?: number | undefined;
763
+ minZoom?: number | undefined;
764
+ maxZoom?: number | undefined;
765
+ }) => {
766
+ appState: {
767
+ scrollX: number;
768
+ scrollY: number;
769
+ zoom: {
770
+ value: import("../types").NormalizedZoomValue;
771
+ };
772
+ contextMenu: {
773
+ items: import("../components/ContextMenu").ContextMenuItems;
774
+ top: number;
775
+ left: number;
776
+ } | null;
777
+ showWelcomeScreen: boolean;
778
+ isLoading: boolean;
779
+ errorMessage: import("react").ReactNode;
780
+ activeEmbeddable: {
781
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
782
+ state: "hover" | "active";
783
+ } | null;
784
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
785
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
786
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
787
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
788
+ isBindingEnabled: boolean;
789
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
790
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
791
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
792
+ frameRendering: {
793
+ enabled: boolean;
794
+ name: boolean;
795
+ outline: boolean;
796
+ clip: boolean;
797
+ };
798
+ editingFrame: string | null;
799
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
800
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
801
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
802
+ activeTool: {
803
+ lastActiveTool: import("../types").ActiveTool | null;
804
+ locked: boolean;
805
+ fromSelection: boolean;
806
+ } & import("../types").ActiveTool;
807
+ penMode: boolean;
808
+ penDetected: boolean;
809
+ exportBackground: boolean;
810
+ exportEmbedScene: boolean;
811
+ exportWithDarkMode: boolean;
812
+ exportScale: number;
813
+ currentItemStrokeColor: string;
814
+ currentItemBackgroundColor: string;
815
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
816
+ currentItemStrokeWidth: number;
817
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
818
+ currentItemRoughness: number;
819
+ currentItemOpacity: number;
820
+ currentItemFontFamily: number;
821
+ currentItemFontSize: number;
822
+ currentItemTextAlign: string;
823
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
824
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
825
+ currentHoveredFontFamily: number | null;
826
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
827
+ currentItemArrowType: "round" | "sharp" | "elbow";
828
+ viewBackgroundColor: string;
829
+ cursorButton: "up" | "down";
830
+ scrolledOutside: boolean;
831
+ name: string | null;
832
+ isResizing: boolean;
833
+ isRotating: boolean;
834
+ openMenu: "canvas" | "shape" | null;
835
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
836
+ openSidebar: {
837
+ name: string;
838
+ tab?: string | undefined;
839
+ } | null;
840
+ openDialog: {
841
+ name: "imageExport" | "help" | "jsonExport";
842
+ } | {
843
+ name: "ttd";
844
+ tab: "text-to-diagram" | "mermaid";
845
+ } | {
846
+ name: "commandPalette";
847
+ } | {
848
+ name: "elementLinkSelector";
849
+ sourceElementId: string;
850
+ } | null;
851
+ defaultSidebarDockedPreference: boolean;
852
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
853
+ selectedElementIds: Readonly<{
854
+ [id: string]: true;
855
+ }>;
856
+ hoveredElementIds: Readonly<{
857
+ [id: string]: true;
858
+ }>;
859
+ previousSelectedElementIds: {
860
+ [id: string]: true;
861
+ };
862
+ selectedElementsAreBeingDragged: boolean;
863
+ shouldCacheIgnoreZoom: boolean;
864
+ toast: {
865
+ message: string;
866
+ closable?: boolean | undefined;
867
+ duration?: number | undefined;
868
+ } | null;
869
+ zenModeEnabled: boolean;
870
+ theme: import("@excalidraw/element/types").Theme;
871
+ gridSize: number;
872
+ gridStep: number;
873
+ gridModeEnabled: boolean;
874
+ viewModeEnabled: boolean;
875
+ selectedGroupIds: {
876
+ [groupId: string]: boolean;
877
+ };
878
+ editingGroupId: string | null;
879
+ width: number;
880
+ height: number;
881
+ offsetTop: number;
882
+ offsetLeft: number;
883
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
884
+ collaborators: Map<import("../types").SocketId, Readonly<{
885
+ pointer?: import("../types").CollaboratorPointer | undefined;
886
+ button?: "up" | "down" | undefined;
887
+ selectedElementIds?: Readonly<{
888
+ [id: string]: true;
889
+ }> | undefined;
890
+ username?: string | null | undefined;
891
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
892
+ color?: {
893
+ background: string;
894
+ stroke: string;
895
+ } | undefined;
896
+ avatarUrl?: string | undefined;
897
+ id?: string | undefined;
898
+ socketId?: import("../types").SocketId | undefined;
899
+ isCurrentUser?: boolean | undefined;
900
+ isInCall?: boolean | undefined;
901
+ isSpeaking?: boolean | undefined;
902
+ isMuted?: boolean | undefined;
903
+ }>>;
904
+ stats: {
905
+ open: boolean;
906
+ panels: number;
907
+ };
908
+ currentChartType: import("@excalidraw/element/types").ChartType;
909
+ pasteDialog: {
910
+ shown: false;
911
+ data: null;
912
+ } | {
913
+ shown: true;
914
+ data: import("../charts").Spreadsheet;
915
+ };
916
+ pendingImageElementId: string | null;
917
+ showHyperlinkPopup: false | "info" | "editor";
918
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
919
+ snapLines: readonly import("../snapping").SnapLine[];
920
+ originSnapOffset: {
921
+ x: number;
922
+ y: number;
923
+ } | null;
924
+ objectsSnapModeEnabled: boolean;
925
+ userToFollow: import("../types").UserToFollow | null;
926
+ followedBy: Set<import("../types").SocketId>;
927
+ isCropping: boolean;
928
+ croppingElementId: string | null;
929
+ searchMatches: Readonly<{
930
+ focusedId: string | null;
931
+ matches: readonly import("../types").SearchMatch[];
932
+ }> | null;
933
+ };
934
+ captureUpdate: "EVENTUALLY";
935
+ };
936
+ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
937
+ canvasOffsets?: Partial<{
938
+ top: number;
939
+ right: number;
940
+ bottom: number;
941
+ left: number;
942
+ }> | undefined;
943
+ targetElements: readonly ExcalidrawElement[];
944
+ appState: Readonly<AppState>;
945
+ /** whether to fit content to viewport (beyond >100%) */
946
+ fitToViewport: boolean;
947
+ /** zoom content to cover X of the viewport, when fitToViewport=true */
948
+ viewportZoomFactor?: number | undefined;
949
+ minZoom?: number | undefined;
950
+ maxZoom?: number | undefined;
951
+ }) => {
952
+ appState: {
953
+ scrollX: number;
954
+ scrollY: number;
955
+ zoom: {
956
+ value: import("../types").NormalizedZoomValue;
957
+ };
958
+ contextMenu: {
959
+ items: import("../components/ContextMenu").ContextMenuItems;
960
+ top: number;
961
+ left: number;
962
+ } | null;
963
+ showWelcomeScreen: boolean;
964
+ isLoading: boolean;
965
+ errorMessage: import("react").ReactNode;
966
+ activeEmbeddable: {
967
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
968
+ state: "hover" | "active";
969
+ } | null;
970
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
971
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
972
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
973
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
974
+ isBindingEnabled: boolean;
975
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
976
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
977
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
978
+ frameRendering: {
979
+ enabled: boolean;
980
+ name: boolean;
981
+ outline: boolean;
982
+ clip: boolean;
983
+ };
984
+ editingFrame: string | null;
985
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
986
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
987
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
988
+ activeTool: {
989
+ lastActiveTool: import("../types").ActiveTool | null;
990
+ locked: boolean;
991
+ fromSelection: boolean;
992
+ } & import("../types").ActiveTool;
993
+ penMode: boolean;
994
+ penDetected: boolean;
995
+ exportBackground: boolean;
996
+ exportEmbedScene: boolean;
997
+ exportWithDarkMode: boolean;
998
+ exportScale: number;
999
+ currentItemStrokeColor: string;
1000
+ currentItemBackgroundColor: string;
1001
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1002
+ currentItemStrokeWidth: number;
1003
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1004
+ currentItemRoughness: number;
1005
+ currentItemOpacity: number;
1006
+ currentItemFontFamily: number;
1007
+ currentItemFontSize: number;
1008
+ currentItemTextAlign: string;
1009
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1010
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1011
+ currentHoveredFontFamily: number | null;
1012
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1013
+ currentItemArrowType: "round" | "sharp" | "elbow";
1014
+ viewBackgroundColor: string;
1015
+ cursorButton: "up" | "down";
1016
+ scrolledOutside: boolean;
1017
+ name: string | null;
1018
+ isResizing: boolean;
1019
+ isRotating: boolean;
1020
+ openMenu: "canvas" | "shape" | null;
1021
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1022
+ openSidebar: {
1023
+ name: string;
1024
+ tab?: string | undefined;
1025
+ } | null;
1026
+ openDialog: {
1027
+ name: "imageExport" | "help" | "jsonExport";
1028
+ } | {
1029
+ name: "ttd";
1030
+ tab: "text-to-diagram" | "mermaid";
1031
+ } | {
1032
+ name: "commandPalette";
1033
+ } | {
1034
+ name: "elementLinkSelector";
1035
+ sourceElementId: string;
1036
+ } | null;
1037
+ defaultSidebarDockedPreference: boolean;
1038
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1039
+ selectedElementIds: Readonly<{
1040
+ [id: string]: true;
1041
+ }>;
1042
+ hoveredElementIds: Readonly<{
1043
+ [id: string]: true;
1044
+ }>;
1045
+ previousSelectedElementIds: {
1046
+ [id: string]: true;
1047
+ };
1048
+ selectedElementsAreBeingDragged: boolean;
1049
+ shouldCacheIgnoreZoom: boolean;
1050
+ toast: {
1051
+ message: string;
1052
+ closable?: boolean | undefined;
1053
+ duration?: number | undefined;
1054
+ } | null;
1055
+ zenModeEnabled: boolean;
1056
+ theme: import("@excalidraw/element/types").Theme;
1057
+ gridSize: number;
1058
+ gridStep: number;
1059
+ gridModeEnabled: boolean;
1060
+ viewModeEnabled: boolean;
1061
+ selectedGroupIds: {
1062
+ [groupId: string]: boolean;
1063
+ };
1064
+ editingGroupId: string | null;
1065
+ width: number;
1066
+ height: number;
1067
+ offsetTop: number;
1068
+ offsetLeft: number;
1069
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1070
+ collaborators: Map<import("../types").SocketId, Readonly<{
1071
+ pointer?: import("../types").CollaboratorPointer | undefined;
1072
+ button?: "up" | "down" | undefined;
1073
+ selectedElementIds?: Readonly<{
1074
+ [id: string]: true;
1075
+ }> | undefined;
1076
+ username?: string | null | undefined;
1077
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1078
+ color?: {
1079
+ background: string;
1080
+ stroke: string;
1081
+ } | undefined;
1082
+ avatarUrl?: string | undefined;
1083
+ id?: string | undefined;
1084
+ socketId?: import("../types").SocketId | undefined;
1085
+ isCurrentUser?: boolean | undefined;
1086
+ isInCall?: boolean | undefined;
1087
+ isSpeaking?: boolean | undefined;
1088
+ isMuted?: boolean | undefined;
1089
+ }>>;
1090
+ stats: {
1091
+ open: boolean;
1092
+ panels: number;
1093
+ };
1094
+ currentChartType: import("@excalidraw/element/types").ChartType;
1095
+ pasteDialog: {
1096
+ shown: false;
1097
+ data: null;
1098
+ } | {
1099
+ shown: true;
1100
+ data: import("../charts").Spreadsheet;
1101
+ };
1102
+ pendingImageElementId: string | null;
1103
+ showHyperlinkPopup: false | "info" | "editor";
1104
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1105
+ snapLines: readonly import("../snapping").SnapLine[];
1106
+ originSnapOffset: {
1107
+ x: number;
1108
+ y: number;
1109
+ } | null;
1110
+ objectsSnapModeEnabled: boolean;
1111
+ userToFollow: import("../types").UserToFollow | null;
1112
+ followedBy: Set<import("../types").SocketId>;
1113
+ isCropping: boolean;
1114
+ croppingElementId: string | null;
1115
+ searchMatches: Readonly<{
1116
+ focusedId: string | null;
1117
+ matches: readonly import("../types").SearchMatch[];
1118
+ }> | null;
1119
+ };
1120
+ captureUpdate: "EVENTUALLY";
1121
+ };
1122
+ export declare const actionZoomToFitSelectionInViewport: {
1123
+ name: "zoomToFitSelectionInViewport";
1124
+ label: string;
1125
+ icon: import("react/jsx-runtime").JSX.Element;
1126
+ trackEvent: {
1127
+ category: "canvas";
1128
+ };
1129
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
1130
+ appState: {
1131
+ scrollX: number;
1132
+ scrollY: number;
1133
+ zoom: {
1134
+ value: import("../types").NormalizedZoomValue;
1135
+ };
1136
+ contextMenu: {
1137
+ items: import("../components/ContextMenu").ContextMenuItems;
1138
+ top: number;
1139
+ left: number;
1140
+ } | null;
1141
+ showWelcomeScreen: boolean;
1142
+ isLoading: boolean;
1143
+ errorMessage: import("react").ReactNode;
1144
+ activeEmbeddable: {
1145
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1146
+ state: "hover" | "active";
1147
+ } | null;
1148
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1149
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1150
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1151
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1152
+ isBindingEnabled: boolean;
1153
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1154
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1155
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1156
+ frameRendering: {
1157
+ enabled: boolean;
1158
+ name: boolean;
1159
+ outline: boolean;
1160
+ clip: boolean;
1161
+ };
1162
+ editingFrame: string | null;
1163
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1164
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1165
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1166
+ activeTool: {
1167
+ lastActiveTool: import("../types").ActiveTool | null;
1168
+ locked: boolean;
1169
+ fromSelection: boolean;
1170
+ } & import("../types").ActiveTool;
1171
+ penMode: boolean;
1172
+ penDetected: boolean;
1173
+ exportBackground: boolean;
1174
+ exportEmbedScene: boolean;
1175
+ exportWithDarkMode: boolean;
1176
+ exportScale: number;
1177
+ currentItemStrokeColor: string;
1178
+ currentItemBackgroundColor: string;
1179
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1180
+ currentItemStrokeWidth: number;
1181
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1182
+ currentItemRoughness: number;
1183
+ currentItemOpacity: number;
1184
+ currentItemFontFamily: number;
1185
+ currentItemFontSize: number;
1186
+ currentItemTextAlign: string;
1187
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1188
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1189
+ currentHoveredFontFamily: number | null;
1190
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1191
+ currentItemArrowType: "round" | "sharp" | "elbow";
1192
+ viewBackgroundColor: string;
1193
+ cursorButton: "up" | "down";
1194
+ scrolledOutside: boolean;
1195
+ name: string | null;
1196
+ isResizing: boolean;
1197
+ isRotating: boolean;
1198
+ openMenu: "canvas" | "shape" | null;
1199
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1200
+ openSidebar: {
1201
+ name: string;
1202
+ tab?: string | undefined;
1203
+ } | null;
1204
+ openDialog: {
1205
+ name: "imageExport" | "help" | "jsonExport";
1206
+ } | {
1207
+ name: "ttd";
1208
+ tab: "text-to-diagram" | "mermaid";
1209
+ } | {
1210
+ name: "commandPalette";
1211
+ } | {
1212
+ name: "elementLinkSelector";
1213
+ sourceElementId: string;
1214
+ } | null;
1215
+ defaultSidebarDockedPreference: boolean;
1216
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1217
+ selectedElementIds: Readonly<{
1218
+ [id: string]: true;
1219
+ }>;
1220
+ hoveredElementIds: Readonly<{
1221
+ [id: string]: true;
1222
+ }>;
1223
+ previousSelectedElementIds: {
1224
+ [id: string]: true;
1225
+ };
1226
+ selectedElementsAreBeingDragged: boolean;
1227
+ shouldCacheIgnoreZoom: boolean;
1228
+ toast: {
1229
+ message: string;
1230
+ closable?: boolean | undefined;
1231
+ duration?: number | undefined;
1232
+ } | null;
1233
+ zenModeEnabled: boolean;
1234
+ theme: import("@excalidraw/element/types").Theme;
1235
+ gridSize: number;
1236
+ gridStep: number;
1237
+ gridModeEnabled: boolean;
1238
+ viewModeEnabled: boolean;
1239
+ selectedGroupIds: {
1240
+ [groupId: string]: boolean;
1241
+ };
1242
+ editingGroupId: string | null;
1243
+ width: number;
1244
+ height: number;
1245
+ offsetTop: number;
1246
+ offsetLeft: number;
1247
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1248
+ collaborators: Map<import("../types").SocketId, Readonly<{
1249
+ pointer?: import("../types").CollaboratorPointer | undefined;
1250
+ button?: "up" | "down" | undefined;
1251
+ selectedElementIds?: Readonly<{
1252
+ [id: string]: true;
1253
+ }> | undefined;
1254
+ username?: string | null | undefined;
1255
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1256
+ color?: {
1257
+ background: string;
1258
+ stroke: string;
1259
+ } | undefined;
1260
+ avatarUrl?: string | undefined;
1261
+ id?: string | undefined;
1262
+ socketId?: import("../types").SocketId | undefined;
1263
+ isCurrentUser?: boolean | undefined;
1264
+ isInCall?: boolean | undefined;
1265
+ isSpeaking?: boolean | undefined;
1266
+ isMuted?: boolean | undefined;
1267
+ }>>;
1268
+ stats: {
1269
+ open: boolean;
1270
+ panels: number;
1271
+ };
1272
+ currentChartType: import("@excalidraw/element/types").ChartType;
1273
+ pasteDialog: {
1274
+ shown: false;
1275
+ data: null;
1276
+ } | {
1277
+ shown: true;
1278
+ data: import("../charts").Spreadsheet;
1279
+ };
1280
+ pendingImageElementId: string | null;
1281
+ showHyperlinkPopup: false | "info" | "editor";
1282
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1283
+ snapLines: readonly import("../snapping").SnapLine[];
1284
+ originSnapOffset: {
1285
+ x: number;
1286
+ y: number;
1287
+ } | null;
1288
+ objectsSnapModeEnabled: boolean;
1289
+ userToFollow: import("../types").UserToFollow | null;
1290
+ followedBy: Set<import("../types").SocketId>;
1291
+ isCropping: boolean;
1292
+ croppingElementId: string | null;
1293
+ searchMatches: Readonly<{
1294
+ focusedId: string | null;
1295
+ matches: readonly import("../types").SearchMatch[];
1296
+ }> | null;
1297
+ };
1298
+ captureUpdate: "EVENTUALLY";
1299
+ };
1300
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1301
+ } & {
1302
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1303
+ };
1304
+ export declare const actionZoomToFitSelection: {
1305
+ name: "zoomToFitSelection";
1306
+ label: string;
1307
+ icon: import("react/jsx-runtime").JSX.Element;
1308
+ trackEvent: {
1309
+ category: "canvas";
1310
+ };
1311
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
1312
+ appState: {
1313
+ scrollX: number;
1314
+ scrollY: number;
1315
+ zoom: {
1316
+ value: import("../types").NormalizedZoomValue;
1317
+ };
1318
+ contextMenu: {
1319
+ items: import("../components/ContextMenu").ContextMenuItems;
1320
+ top: number;
1321
+ left: number;
1322
+ } | null;
1323
+ showWelcomeScreen: boolean;
1324
+ isLoading: boolean;
1325
+ errorMessage: import("react").ReactNode;
1326
+ activeEmbeddable: {
1327
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1328
+ state: "hover" | "active";
1329
+ } | null;
1330
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1331
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1332
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1333
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1334
+ isBindingEnabled: boolean;
1335
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1336
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1337
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1338
+ frameRendering: {
1339
+ enabled: boolean;
1340
+ name: boolean;
1341
+ outline: boolean;
1342
+ clip: boolean;
1343
+ };
1344
+ editingFrame: string | null;
1345
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1346
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1347
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1348
+ activeTool: {
1349
+ lastActiveTool: import("../types").ActiveTool | null;
1350
+ locked: boolean;
1351
+ fromSelection: boolean;
1352
+ } & import("../types").ActiveTool;
1353
+ penMode: boolean;
1354
+ penDetected: boolean;
1355
+ exportBackground: boolean;
1356
+ exportEmbedScene: boolean;
1357
+ exportWithDarkMode: boolean;
1358
+ exportScale: number;
1359
+ currentItemStrokeColor: string;
1360
+ currentItemBackgroundColor: string;
1361
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1362
+ currentItemStrokeWidth: number;
1363
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1364
+ currentItemRoughness: number;
1365
+ currentItemOpacity: number;
1366
+ currentItemFontFamily: number;
1367
+ currentItemFontSize: number;
1368
+ currentItemTextAlign: string;
1369
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1370
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1371
+ currentHoveredFontFamily: number | null;
1372
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1373
+ currentItemArrowType: "round" | "sharp" | "elbow";
1374
+ viewBackgroundColor: string;
1375
+ cursorButton: "up" | "down";
1376
+ scrolledOutside: boolean;
1377
+ name: string | null;
1378
+ isResizing: boolean;
1379
+ isRotating: boolean;
1380
+ openMenu: "canvas" | "shape" | null;
1381
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1382
+ openSidebar: {
1383
+ name: string;
1384
+ tab?: string | undefined;
1385
+ } | null;
1386
+ openDialog: {
1387
+ name: "imageExport" | "help" | "jsonExport";
1388
+ } | {
1389
+ name: "ttd";
1390
+ tab: "text-to-diagram" | "mermaid";
1391
+ } | {
1392
+ name: "commandPalette";
1393
+ } | {
1394
+ name: "elementLinkSelector";
1395
+ sourceElementId: string;
1396
+ } | null;
1397
+ defaultSidebarDockedPreference: boolean;
1398
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1399
+ selectedElementIds: Readonly<{
1400
+ [id: string]: true;
1401
+ }>;
1402
+ hoveredElementIds: Readonly<{
1403
+ [id: string]: true;
1404
+ }>;
1405
+ previousSelectedElementIds: {
1406
+ [id: string]: true;
1407
+ };
1408
+ selectedElementsAreBeingDragged: boolean;
1409
+ shouldCacheIgnoreZoom: boolean;
1410
+ toast: {
1411
+ message: string;
1412
+ closable?: boolean | undefined;
1413
+ duration?: number | undefined;
1414
+ } | null;
1415
+ zenModeEnabled: boolean;
1416
+ theme: import("@excalidraw/element/types").Theme;
1417
+ gridSize: number;
1418
+ gridStep: number;
1419
+ gridModeEnabled: boolean;
1420
+ viewModeEnabled: boolean;
1421
+ selectedGroupIds: {
1422
+ [groupId: string]: boolean;
1423
+ };
1424
+ editingGroupId: string | null;
1425
+ width: number;
1426
+ height: number;
1427
+ offsetTop: number;
1428
+ offsetLeft: number;
1429
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1430
+ collaborators: Map<import("../types").SocketId, Readonly<{
1431
+ pointer?: import("../types").CollaboratorPointer | undefined;
1432
+ button?: "up" | "down" | undefined;
1433
+ selectedElementIds?: Readonly<{
1434
+ [id: string]: true;
1435
+ }> | undefined;
1436
+ username?: string | null | undefined;
1437
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1438
+ color?: {
1439
+ background: string;
1440
+ stroke: string;
1441
+ } | undefined;
1442
+ avatarUrl?: string | undefined;
1443
+ id?: string | undefined;
1444
+ socketId?: import("../types").SocketId | undefined;
1445
+ isCurrentUser?: boolean | undefined;
1446
+ isInCall?: boolean | undefined;
1447
+ isSpeaking?: boolean | undefined;
1448
+ isMuted?: boolean | undefined;
1449
+ }>>;
1450
+ stats: {
1451
+ open: boolean;
1452
+ panels: number;
1453
+ };
1454
+ currentChartType: import("@excalidraw/element/types").ChartType;
1455
+ pasteDialog: {
1456
+ shown: false;
1457
+ data: null;
1458
+ } | {
1459
+ shown: true;
1460
+ data: import("../charts").Spreadsheet;
1461
+ };
1462
+ pendingImageElementId: string | null;
1463
+ showHyperlinkPopup: false | "info" | "editor";
1464
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1465
+ snapLines: readonly import("../snapping").SnapLine[];
1466
+ originSnapOffset: {
1467
+ x: number;
1468
+ y: number;
1469
+ } | null;
1470
+ objectsSnapModeEnabled: boolean;
1471
+ userToFollow: import("../types").UserToFollow | null;
1472
+ followedBy: Set<import("../types").SocketId>;
1473
+ isCropping: boolean;
1474
+ croppingElementId: string | null;
1475
+ searchMatches: Readonly<{
1476
+ focusedId: string | null;
1477
+ matches: readonly import("../types").SearchMatch[];
1478
+ }> | null;
1479
+ };
1480
+ captureUpdate: "EVENTUALLY";
1481
+ };
1482
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1483
+ } & {
1484
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1485
+ };
1486
+ export declare const actionZoomToFit: {
1487
+ name: "zoomToFit";
1488
+ label: string;
1489
+ icon: import("react/jsx-runtime").JSX.Element;
1490
+ viewMode: true;
1491
+ trackEvent: {
1492
+ category: "canvas";
1493
+ };
1494
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
1495
+ appState: {
1496
+ scrollX: number;
1497
+ scrollY: number;
1498
+ zoom: {
1499
+ value: import("../types").NormalizedZoomValue;
1500
+ };
1501
+ contextMenu: {
1502
+ items: import("../components/ContextMenu").ContextMenuItems;
1503
+ top: number;
1504
+ left: number;
1505
+ } | null;
1506
+ showWelcomeScreen: boolean;
1507
+ isLoading: boolean;
1508
+ errorMessage: import("react").ReactNode;
1509
+ activeEmbeddable: {
1510
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1511
+ state: "hover" | "active";
1512
+ } | null;
1513
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1514
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1515
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1516
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1517
+ isBindingEnabled: boolean;
1518
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1519
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1520
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1521
+ frameRendering: {
1522
+ enabled: boolean;
1523
+ name: boolean;
1524
+ outline: boolean;
1525
+ clip: boolean;
1526
+ };
1527
+ editingFrame: string | null;
1528
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1529
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1530
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1531
+ activeTool: {
1532
+ lastActiveTool: import("../types").ActiveTool | null;
1533
+ locked: boolean;
1534
+ fromSelection: boolean;
1535
+ } & import("../types").ActiveTool;
1536
+ penMode: boolean;
1537
+ penDetected: boolean;
1538
+ exportBackground: boolean;
1539
+ exportEmbedScene: boolean;
1540
+ exportWithDarkMode: boolean;
1541
+ exportScale: number;
1542
+ currentItemStrokeColor: string;
1543
+ currentItemBackgroundColor: string;
1544
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1545
+ currentItemStrokeWidth: number;
1546
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1547
+ currentItemRoughness: number;
1548
+ currentItemOpacity: number;
1549
+ currentItemFontFamily: number;
1550
+ currentItemFontSize: number;
1551
+ currentItemTextAlign: string;
1552
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1553
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1554
+ currentHoveredFontFamily: number | null;
1555
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1556
+ currentItemArrowType: "round" | "sharp" | "elbow";
1557
+ viewBackgroundColor: string;
1558
+ cursorButton: "up" | "down";
1559
+ scrolledOutside: boolean;
1560
+ name: string | null;
1561
+ isResizing: boolean;
1562
+ isRotating: boolean;
1563
+ openMenu: "canvas" | "shape" | null;
1564
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1565
+ openSidebar: {
1566
+ name: string;
1567
+ tab?: string | undefined;
1568
+ } | null;
1569
+ openDialog: {
1570
+ name: "imageExport" | "help" | "jsonExport";
1571
+ } | {
1572
+ name: "ttd";
1573
+ tab: "text-to-diagram" | "mermaid";
1574
+ } | {
1575
+ name: "commandPalette";
1576
+ } | {
1577
+ name: "elementLinkSelector";
1578
+ sourceElementId: string;
1579
+ } | null;
1580
+ defaultSidebarDockedPreference: boolean;
1581
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1582
+ selectedElementIds: Readonly<{
1583
+ [id: string]: true;
1584
+ }>;
1585
+ hoveredElementIds: Readonly<{
1586
+ [id: string]: true;
1587
+ }>;
1588
+ previousSelectedElementIds: {
1589
+ [id: string]: true;
1590
+ };
1591
+ selectedElementsAreBeingDragged: boolean;
1592
+ shouldCacheIgnoreZoom: boolean;
1593
+ toast: {
1594
+ message: string;
1595
+ closable?: boolean | undefined;
1596
+ duration?: number | undefined;
1597
+ } | null;
1598
+ zenModeEnabled: boolean;
1599
+ theme: import("@excalidraw/element/types").Theme;
1600
+ gridSize: number;
1601
+ gridStep: number;
1602
+ gridModeEnabled: boolean;
1603
+ viewModeEnabled: boolean;
1604
+ selectedGroupIds: {
1605
+ [groupId: string]: boolean;
1606
+ };
1607
+ editingGroupId: string | null;
1608
+ width: number;
1609
+ height: number;
1610
+ offsetTop: number;
1611
+ offsetLeft: number;
1612
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1613
+ collaborators: Map<import("../types").SocketId, Readonly<{
1614
+ pointer?: import("../types").CollaboratorPointer | undefined;
1615
+ button?: "up" | "down" | undefined;
1616
+ selectedElementIds?: Readonly<{
1617
+ [id: string]: true;
1618
+ }> | undefined;
1619
+ username?: string | null | undefined;
1620
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1621
+ color?: {
1622
+ background: string;
1623
+ stroke: string;
1624
+ } | undefined;
1625
+ avatarUrl?: string | undefined;
1626
+ id?: string | undefined;
1627
+ socketId?: import("../types").SocketId | undefined;
1628
+ isCurrentUser?: boolean | undefined;
1629
+ isInCall?: boolean | undefined;
1630
+ isSpeaking?: boolean | undefined;
1631
+ isMuted?: boolean | undefined;
1632
+ }>>;
1633
+ stats: {
1634
+ open: boolean;
1635
+ panels: number;
1636
+ };
1637
+ currentChartType: import("@excalidraw/element/types").ChartType;
1638
+ pasteDialog: {
1639
+ shown: false;
1640
+ data: null;
1641
+ } | {
1642
+ shown: true;
1643
+ data: import("../charts").Spreadsheet;
1644
+ };
1645
+ pendingImageElementId: string | null;
1646
+ showHyperlinkPopup: false | "info" | "editor";
1647
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1648
+ snapLines: readonly import("../snapping").SnapLine[];
1649
+ originSnapOffset: {
1650
+ x: number;
1651
+ y: number;
1652
+ } | null;
1653
+ objectsSnapModeEnabled: boolean;
1654
+ userToFollow: import("../types").UserToFollow | null;
1655
+ followedBy: Set<import("../types").SocketId>;
1656
+ isCropping: boolean;
1657
+ croppingElementId: string | null;
1658
+ searchMatches: Readonly<{
1659
+ focusedId: string | null;
1660
+ matches: readonly import("../types").SearchMatch[];
1661
+ }> | null;
1662
+ };
1663
+ captureUpdate: "EVENTUALLY";
1664
+ };
1665
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1666
+ } & {
1667
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1668
+ };
1669
+ export declare const actionToggleTheme: {
1670
+ name: "toggleTheme";
1671
+ label: (_: readonly ExcalidrawElement[], appState: Readonly<AppState>) => "buttons.lightMode" | "buttons.darkMode";
1672
+ keywords: string[];
1673
+ icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
1674
+ viewMode: true;
1675
+ trackEvent: {
1676
+ category: "canvas";
1677
+ };
1678
+ perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
1679
+ appState: {
1680
+ theme: any;
1681
+ contextMenu: {
1682
+ items: import("../components/ContextMenu").ContextMenuItems;
1683
+ top: number;
1684
+ left: number;
1685
+ } | null;
1686
+ showWelcomeScreen: boolean;
1687
+ isLoading: boolean;
1688
+ errorMessage: import("react").ReactNode;
1689
+ activeEmbeddable: {
1690
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1691
+ state: "hover" | "active";
1692
+ } | null;
1693
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1694
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1695
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1696
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1697
+ isBindingEnabled: boolean;
1698
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1699
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1700
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1701
+ frameRendering: {
1702
+ enabled: boolean;
1703
+ name: boolean;
1704
+ outline: boolean;
1705
+ clip: boolean;
1706
+ };
1707
+ editingFrame: string | null;
1708
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1709
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1710
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1711
+ activeTool: {
1712
+ lastActiveTool: import("../types").ActiveTool | null;
1713
+ locked: boolean;
1714
+ fromSelection: boolean;
1715
+ } & import("../types").ActiveTool;
1716
+ penMode: boolean;
1717
+ penDetected: boolean;
1718
+ exportBackground: boolean;
1719
+ exportEmbedScene: boolean;
1720
+ exportWithDarkMode: boolean;
1721
+ exportScale: number;
1722
+ currentItemStrokeColor: string;
1723
+ currentItemBackgroundColor: string;
1724
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1725
+ currentItemStrokeWidth: number;
1726
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1727
+ currentItemRoughness: number;
1728
+ currentItemOpacity: number;
1729
+ currentItemFontFamily: number;
1730
+ currentItemFontSize: number;
1731
+ currentItemTextAlign: string;
1732
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1733
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1734
+ currentHoveredFontFamily: number | null;
1735
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1736
+ currentItemArrowType: "round" | "sharp" | "elbow";
1737
+ viewBackgroundColor: string;
1738
+ scrollX: number;
1739
+ scrollY: number;
1740
+ cursorButton: "up" | "down";
1741
+ scrolledOutside: boolean;
1742
+ name: string | null;
1743
+ isResizing: boolean;
1744
+ isRotating: boolean;
1745
+ zoom: Readonly<{
1746
+ value: import("../types").NormalizedZoomValue;
1747
+ }>;
1748
+ openMenu: "canvas" | "shape" | null;
1749
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1750
+ openSidebar: {
1751
+ name: string;
1752
+ tab?: string | undefined;
1753
+ } | null;
1754
+ openDialog: {
1755
+ name: "imageExport" | "help" | "jsonExport";
1756
+ } | {
1757
+ name: "ttd";
1758
+ tab: "text-to-diagram" | "mermaid";
1759
+ } | {
1760
+ name: "commandPalette";
1761
+ } | {
1762
+ name: "elementLinkSelector";
1763
+ sourceElementId: string;
1764
+ } | null;
1765
+ defaultSidebarDockedPreference: boolean;
1766
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1767
+ selectedElementIds: Readonly<{
1768
+ [id: string]: true;
1769
+ }>;
1770
+ hoveredElementIds: Readonly<{
1771
+ [id: string]: true;
1772
+ }>;
1773
+ previousSelectedElementIds: {
1774
+ [id: string]: true;
1775
+ };
1776
+ selectedElementsAreBeingDragged: boolean;
1777
+ shouldCacheIgnoreZoom: boolean;
1778
+ toast: {
1779
+ message: string;
1780
+ closable?: boolean | undefined;
1781
+ duration?: number | undefined;
1782
+ } | null;
1783
+ zenModeEnabled: boolean;
1784
+ gridSize: number;
1785
+ gridStep: number;
1786
+ gridModeEnabled: boolean;
1787
+ viewModeEnabled: boolean;
1788
+ selectedGroupIds: {
1789
+ [groupId: string]: boolean;
1790
+ };
1791
+ editingGroupId: string | null;
1792
+ width: number;
1793
+ height: number;
1794
+ offsetTop: number;
1795
+ offsetLeft: number;
1796
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1797
+ collaborators: Map<import("../types").SocketId, Readonly<{
1798
+ pointer?: import("../types").CollaboratorPointer | undefined;
1799
+ button?: "up" | "down" | undefined;
1800
+ selectedElementIds?: Readonly<{
1801
+ [id: string]: true;
1802
+ }> | undefined;
1803
+ username?: string | null | undefined;
1804
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1805
+ color?: {
1806
+ background: string;
1807
+ stroke: string;
1808
+ } | undefined;
1809
+ avatarUrl?: string | undefined;
1810
+ id?: string | undefined;
1811
+ socketId?: import("../types").SocketId | undefined;
1812
+ isCurrentUser?: boolean | undefined;
1813
+ isInCall?: boolean | undefined;
1814
+ isSpeaking?: boolean | undefined;
1815
+ isMuted?: boolean | undefined;
1816
+ }>>;
1817
+ stats: {
1818
+ open: boolean;
1819
+ panels: number;
1820
+ };
1821
+ currentChartType: import("@excalidraw/element/types").ChartType;
1822
+ pasteDialog: {
1823
+ shown: false;
1824
+ data: null;
1825
+ } | {
1826
+ shown: true;
1827
+ data: import("../charts").Spreadsheet;
1828
+ };
1829
+ pendingImageElementId: string | null;
1830
+ showHyperlinkPopup: false | "info" | "editor";
1831
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1832
+ snapLines: readonly import("../snapping").SnapLine[];
1833
+ originSnapOffset: {
1834
+ x: number;
1835
+ y: number;
1836
+ } | null;
1837
+ objectsSnapModeEnabled: boolean;
1838
+ userToFollow: import("../types").UserToFollow | null;
1839
+ followedBy: Set<import("../types").SocketId>;
1840
+ isCropping: boolean;
1841
+ croppingElementId: string | null;
1842
+ searchMatches: Readonly<{
1843
+ focusedId: string | null;
1844
+ matches: readonly import("../types").SearchMatch[];
1845
+ }> | null;
1846
+ };
1847
+ captureUpdate: "EVENTUALLY";
1848
+ };
1849
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1850
+ predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1851
+ } & {
1852
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1853
+ };
1854
+ export declare const actionToggleEraserTool: {
1855
+ name: "toggleEraserTool";
1856
+ label: string;
1857
+ trackEvent: {
1858
+ category: "toolbar";
1859
+ };
1860
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
1861
+ appState: {
1862
+ selectedElementIds: {};
1863
+ selectedGroupIds: {};
1864
+ activeEmbeddable: null;
1865
+ activeTool: {
1866
+ lastActiveTool: import("../types").ActiveTool | null;
1867
+ locked: boolean;
1868
+ fromSelection: boolean;
1869
+ } & import("../types").ActiveTool;
1870
+ contextMenu: {
1871
+ items: import("../components/ContextMenu").ContextMenuItems;
1872
+ top: number;
1873
+ left: number;
1874
+ } | null;
1875
+ showWelcomeScreen: boolean;
1876
+ isLoading: boolean;
1877
+ errorMessage: import("react").ReactNode;
1878
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1879
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1880
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1881
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1882
+ isBindingEnabled: boolean;
1883
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1884
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1885
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1886
+ frameRendering: {
1887
+ enabled: boolean;
1888
+ name: boolean;
1889
+ outline: boolean;
1890
+ clip: boolean;
1891
+ };
1892
+ editingFrame: string | null;
1893
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1894
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1895
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1896
+ penMode: boolean;
1897
+ penDetected: boolean;
1898
+ exportBackground: boolean;
1899
+ exportEmbedScene: boolean;
1900
+ exportWithDarkMode: boolean;
1901
+ exportScale: number;
1902
+ currentItemStrokeColor: string;
1903
+ currentItemBackgroundColor: string;
1904
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1905
+ currentItemStrokeWidth: number;
1906
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1907
+ currentItemRoughness: number;
1908
+ currentItemOpacity: number;
1909
+ currentItemFontFamily: number;
1910
+ currentItemFontSize: number;
1911
+ currentItemTextAlign: string;
1912
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1913
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1914
+ currentHoveredFontFamily: number | null;
1915
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1916
+ currentItemArrowType: "round" | "sharp" | "elbow";
1917
+ viewBackgroundColor: string;
1918
+ scrollX: number;
1919
+ scrollY: number;
1920
+ cursorButton: "up" | "down";
1921
+ scrolledOutside: boolean;
1922
+ name: string | null;
1923
+ isResizing: boolean;
1924
+ isRotating: boolean;
1925
+ zoom: Readonly<{
1926
+ value: import("../types").NormalizedZoomValue;
1927
+ }>;
1928
+ openMenu: "canvas" | "shape" | null;
1929
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1930
+ openSidebar: {
1931
+ name: string;
1932
+ tab?: string | undefined;
1933
+ } | null;
1934
+ openDialog: {
1935
+ name: "imageExport" | "help" | "jsonExport";
1936
+ } | {
1937
+ name: "ttd";
1938
+ tab: "text-to-diagram" | "mermaid";
1939
+ } | {
1940
+ name: "commandPalette";
1941
+ } | {
1942
+ name: "elementLinkSelector";
1943
+ sourceElementId: string;
1944
+ } | null;
1945
+ defaultSidebarDockedPreference: boolean;
1946
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1947
+ hoveredElementIds: Readonly<{
1948
+ [id: string]: true;
1949
+ }>;
1950
+ previousSelectedElementIds: {
1951
+ [id: string]: true;
1952
+ };
1953
+ selectedElementsAreBeingDragged: boolean;
1954
+ shouldCacheIgnoreZoom: boolean;
1955
+ toast: {
1956
+ message: string;
1957
+ closable?: boolean | undefined;
1958
+ duration?: number | undefined;
1959
+ } | null;
1960
+ zenModeEnabled: boolean;
1961
+ theme: import("@excalidraw/element/types").Theme;
1962
+ gridSize: number;
1963
+ gridStep: number;
1964
+ gridModeEnabled: boolean;
1965
+ viewModeEnabled: boolean;
1966
+ editingGroupId: string | null;
1967
+ width: number;
1968
+ height: number;
1969
+ offsetTop: number;
1970
+ offsetLeft: number;
1971
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1972
+ collaborators: Map<import("../types").SocketId, Readonly<{
1973
+ pointer?: import("../types").CollaboratorPointer | undefined;
1974
+ button?: "up" | "down" | undefined;
1975
+ selectedElementIds?: Readonly<{
1976
+ [id: string]: true;
1977
+ }> | undefined;
1978
+ username?: string | null | undefined;
1979
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1980
+ color?: {
1981
+ background: string;
1982
+ stroke: string;
1983
+ } | undefined;
1984
+ avatarUrl?: string | undefined;
1985
+ id?: string | undefined;
1986
+ socketId?: import("../types").SocketId | undefined;
1987
+ isCurrentUser?: boolean | undefined;
1988
+ isInCall?: boolean | undefined;
1989
+ isSpeaking?: boolean | undefined;
1990
+ isMuted?: boolean | undefined;
1991
+ }>>;
1992
+ stats: {
1993
+ open: boolean;
1994
+ panels: number;
1995
+ };
1996
+ currentChartType: import("@excalidraw/element/types").ChartType;
1997
+ pasteDialog: {
1998
+ shown: false;
1999
+ data: null;
2000
+ } | {
2001
+ shown: true;
2002
+ data: import("../charts").Spreadsheet;
2003
+ };
2004
+ pendingImageElementId: string | null;
2005
+ showHyperlinkPopup: false | "info" | "editor";
2006
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2007
+ snapLines: readonly import("../snapping").SnapLine[];
2008
+ originSnapOffset: {
2009
+ x: number;
2010
+ y: number;
2011
+ } | null;
2012
+ objectsSnapModeEnabled: boolean;
2013
+ userToFollow: import("../types").UserToFollow | null;
2014
+ followedBy: Set<import("../types").SocketId>;
2015
+ isCropping: boolean;
2016
+ croppingElementId: string | null;
2017
+ searchMatches: Readonly<{
2018
+ focusedId: string | null;
2019
+ matches: readonly import("../types").SearchMatch[];
2020
+ }> | null;
2021
+ };
2022
+ captureUpdate: "IMMEDIATELY";
2023
+ };
2024
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
2025
+ } & {
2026
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
2027
+ };
2028
+ export declare const actionToggleLassoTool: {
2029
+ name: "toggleLassoTool";
2030
+ label: string;
2031
+ icon: import("react/jsx-runtime").JSX.Element;
2032
+ trackEvent: {
2033
+ category: "toolbar";
2034
+ };
2035
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
2036
+ appState: {
2037
+ selectedElementIds: {};
2038
+ selectedGroupIds: {};
2039
+ activeEmbeddable: null;
2040
+ activeTool: {
2041
+ lastActiveTool: import("../types").ActiveTool | null;
2042
+ locked: boolean;
2043
+ fromSelection: boolean;
2044
+ } & import("../types").ActiveTool;
2045
+ contextMenu: {
2046
+ items: import("../components/ContextMenu").ContextMenuItems;
2047
+ top: number;
2048
+ left: number;
2049
+ } | null;
2050
+ showWelcomeScreen: boolean;
2051
+ isLoading: boolean;
2052
+ errorMessage: import("react").ReactNode;
2053
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2054
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2055
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
2056
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2057
+ isBindingEnabled: boolean;
2058
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2059
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2060
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2061
+ frameRendering: {
2062
+ enabled: boolean;
2063
+ name: boolean;
2064
+ outline: boolean;
2065
+ clip: boolean;
2066
+ };
2067
+ editingFrame: string | null;
2068
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2069
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2070
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2071
+ penMode: boolean;
2072
+ penDetected: boolean;
2073
+ exportBackground: boolean;
2074
+ exportEmbedScene: boolean;
2075
+ exportWithDarkMode: boolean;
2076
+ exportScale: number;
2077
+ currentItemStrokeColor: string;
2078
+ currentItemBackgroundColor: string;
2079
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
2080
+ currentItemStrokeWidth: number;
2081
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
2082
+ currentItemRoughness: number;
2083
+ currentItemOpacity: number;
2084
+ currentItemFontFamily: number;
2085
+ currentItemFontSize: number;
2086
+ currentItemTextAlign: string;
2087
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2088
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2089
+ currentHoveredFontFamily: number | null;
2090
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2091
+ currentItemArrowType: "round" | "sharp" | "elbow";
2092
+ viewBackgroundColor: string;
2093
+ scrollX: number;
2094
+ scrollY: number;
2095
+ cursorButton: "up" | "down";
2096
+ scrolledOutside: boolean;
2097
+ name: string | null;
2098
+ isResizing: boolean;
2099
+ isRotating: boolean;
2100
+ zoom: Readonly<{
2101
+ value: import("../types").NormalizedZoomValue;
2102
+ }>;
2103
+ openMenu: "canvas" | "shape" | null;
2104
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2105
+ openSidebar: {
2106
+ name: string;
2107
+ tab?: string | undefined;
2108
+ } | null;
2109
+ openDialog: {
2110
+ name: "imageExport" | "help" | "jsonExport";
2111
+ } | {
2112
+ name: "ttd";
2113
+ tab: "text-to-diagram" | "mermaid";
2114
+ } | {
2115
+ name: "commandPalette";
2116
+ } | {
2117
+ name: "elementLinkSelector";
2118
+ sourceElementId: string;
2119
+ } | null;
2120
+ defaultSidebarDockedPreference: boolean;
2121
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
2122
+ hoveredElementIds: Readonly<{
2123
+ [id: string]: true;
2124
+ }>;
2125
+ previousSelectedElementIds: {
2126
+ [id: string]: true;
2127
+ };
2128
+ selectedElementsAreBeingDragged: boolean;
2129
+ shouldCacheIgnoreZoom: boolean;
2130
+ toast: {
2131
+ message: string;
2132
+ closable?: boolean | undefined;
2133
+ duration?: number | undefined;
2134
+ } | null;
2135
+ zenModeEnabled: boolean;
2136
+ theme: import("@excalidraw/element/types").Theme;
2137
+ gridSize: number;
2138
+ gridStep: number;
2139
+ gridModeEnabled: boolean;
2140
+ viewModeEnabled: boolean;
2141
+ editingGroupId: string | null;
2142
+ width: number;
2143
+ height: number;
2144
+ offsetTop: number;
2145
+ offsetLeft: number;
2146
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
2147
+ collaborators: Map<import("../types").SocketId, Readonly<{
2148
+ pointer?: import("../types").CollaboratorPointer | undefined;
2149
+ button?: "up" | "down" | undefined;
2150
+ selectedElementIds?: Readonly<{
2151
+ [id: string]: true;
2152
+ }> | undefined;
2153
+ username?: string | null | undefined;
2154
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
2155
+ color?: {
2156
+ background: string;
2157
+ stroke: string;
2158
+ } | undefined;
2159
+ avatarUrl?: string | undefined;
2160
+ id?: string | undefined;
2161
+ socketId?: import("../types").SocketId | undefined;
2162
+ isCurrentUser?: boolean | undefined;
2163
+ isInCall?: boolean | undefined;
2164
+ isSpeaking?: boolean | undefined;
2165
+ isMuted?: boolean | undefined;
2166
+ }>>;
2167
+ stats: {
2168
+ open: boolean;
2169
+ panels: number;
2170
+ };
2171
+ currentChartType: import("@excalidraw/element/types").ChartType;
2172
+ pasteDialog: {
2173
+ shown: false;
2174
+ data: null;
2175
+ } | {
2176
+ shown: true;
2177
+ data: import("../charts").Spreadsheet;
2178
+ };
2179
+ pendingImageElementId: string | null;
2180
+ showHyperlinkPopup: false | "info" | "editor";
2181
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2182
+ snapLines: readonly import("../snapping").SnapLine[];
2183
+ originSnapOffset: {
2184
+ x: number;
2185
+ y: number;
2186
+ } | null;
2187
+ objectsSnapModeEnabled: boolean;
2188
+ userToFollow: import("../types").UserToFollow | null;
2189
+ followedBy: Set<import("../types").SocketId>;
2190
+ isCropping: boolean;
2191
+ croppingElementId: string | null;
2192
+ searchMatches: Readonly<{
2193
+ focusedId: string | null;
2194
+ matches: readonly import("../types").SearchMatch[];
2195
+ }> | null;
2196
+ };
2197
+ captureUpdate: "NEVER";
2198
+ };
2199
+ } & {
2200
+ keyTest?: undefined;
2201
+ };
2202
+ export declare const actionToggleHandTool: {
2203
+ name: "toggleHandTool";
2204
+ label: string;
2205
+ trackEvent: {
2206
+ category: "toolbar";
2207
+ };
2208
+ icon: import("react/jsx-runtime").JSX.Element;
2209
+ viewMode: false;
2210
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
2211
+ appState: {
2212
+ selectedElementIds: {};
2213
+ selectedGroupIds: {};
2214
+ activeEmbeddable: null;
2215
+ activeTool: {
2216
+ lastActiveTool: import("../types").ActiveTool | null;
2217
+ locked: boolean;
2218
+ fromSelection: boolean;
2219
+ } & import("../types").ActiveTool;
2220
+ contextMenu: {
2221
+ items: import("../components/ContextMenu").ContextMenuItems;
2222
+ top: number;
2223
+ left: number;
2224
+ } | null;
2225
+ showWelcomeScreen: boolean;
2226
+ isLoading: boolean;
2227
+ errorMessage: import("react").ReactNode;
2228
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2229
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2230
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
2231
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2232
+ isBindingEnabled: boolean;
2233
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2234
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2235
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2236
+ frameRendering: {
2237
+ enabled: boolean;
2238
+ name: boolean;
2239
+ outline: boolean;
2240
+ clip: boolean;
2241
+ };
2242
+ editingFrame: string | null;
2243
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2244
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2245
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2246
+ penMode: boolean;
2247
+ penDetected: boolean;
2248
+ exportBackground: boolean;
2249
+ exportEmbedScene: boolean;
2250
+ exportWithDarkMode: boolean;
2251
+ exportScale: number;
2252
+ currentItemStrokeColor: string;
2253
+ currentItemBackgroundColor: string;
2254
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
2255
+ currentItemStrokeWidth: number;
2256
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
2257
+ currentItemRoughness: number;
2258
+ currentItemOpacity: number;
2259
+ currentItemFontFamily: number;
2260
+ currentItemFontSize: number;
2261
+ currentItemTextAlign: string;
2262
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2263
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2264
+ currentHoveredFontFamily: number | null;
2265
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2266
+ currentItemArrowType: "round" | "sharp" | "elbow";
2267
+ viewBackgroundColor: string;
2268
+ scrollX: number;
2269
+ scrollY: number;
2270
+ cursorButton: "up" | "down";
2271
+ scrolledOutside: boolean;
2272
+ name: string | null;
2273
+ isResizing: boolean;
2274
+ isRotating: boolean;
2275
+ zoom: Readonly<{
2276
+ value: import("../types").NormalizedZoomValue;
2277
+ }>;
2278
+ openMenu: "canvas" | "shape" | null;
2279
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2280
+ openSidebar: {
2281
+ name: string;
2282
+ tab?: string | undefined;
2283
+ } | null;
2284
+ openDialog: {
2285
+ name: "imageExport" | "help" | "jsonExport";
2286
+ } | {
2287
+ name: "ttd";
2288
+ tab: "text-to-diagram" | "mermaid";
2289
+ } | {
2290
+ name: "commandPalette";
2291
+ } | {
2292
+ name: "elementLinkSelector";
2293
+ sourceElementId: string;
2294
+ } | null;
2295
+ defaultSidebarDockedPreference: boolean;
2296
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
2297
+ hoveredElementIds: Readonly<{
2298
+ [id: string]: true;
2299
+ }>;
2300
+ previousSelectedElementIds: {
2301
+ [id: string]: true;
2302
+ };
2303
+ selectedElementsAreBeingDragged: boolean;
2304
+ shouldCacheIgnoreZoom: boolean;
2305
+ toast: {
2306
+ message: string;
2307
+ closable?: boolean | undefined;
2308
+ duration?: number | undefined;
2309
+ } | null;
2310
+ zenModeEnabled: boolean;
2311
+ theme: import("@excalidraw/element/types").Theme;
2312
+ gridSize: number;
2313
+ gridStep: number;
2314
+ gridModeEnabled: boolean;
2315
+ viewModeEnabled: boolean;
2316
+ editingGroupId: string | null;
2317
+ width: number;
2318
+ height: number;
2319
+ offsetTop: number;
2320
+ offsetLeft: number;
2321
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
2322
+ collaborators: Map<import("../types").SocketId, Readonly<{
2323
+ pointer?: import("../types").CollaboratorPointer | undefined;
2324
+ button?: "up" | "down" | undefined;
2325
+ selectedElementIds?: Readonly<{
2326
+ [id: string]: true;
2327
+ }> | undefined;
2328
+ username?: string | null | undefined;
2329
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
2330
+ color?: {
2331
+ background: string;
2332
+ stroke: string;
2333
+ } | undefined;
2334
+ avatarUrl?: string | undefined;
2335
+ id?: string | undefined;
2336
+ socketId?: import("../types").SocketId | undefined;
2337
+ isCurrentUser?: boolean | undefined;
2338
+ isInCall?: boolean | undefined;
2339
+ isSpeaking?: boolean | undefined;
2340
+ isMuted?: boolean | undefined;
2341
+ }>>;
2342
+ stats: {
2343
+ open: boolean;
2344
+ panels: number;
2345
+ };
2346
+ currentChartType: import("@excalidraw/element/types").ChartType;
2347
+ pasteDialog: {
2348
+ shown: false;
2349
+ data: null;
2350
+ } | {
2351
+ shown: true;
2352
+ data: import("../charts").Spreadsheet;
2353
+ };
2354
+ pendingImageElementId: string | null;
2355
+ showHyperlinkPopup: false | "info" | "editor";
2356
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2357
+ snapLines: readonly import("../snapping").SnapLine[];
2358
+ originSnapOffset: {
2359
+ x: number;
2360
+ y: number;
2361
+ } | null;
2362
+ objectsSnapModeEnabled: boolean;
2363
+ userToFollow: import("../types").UserToFollow | null;
2364
+ followedBy: Set<import("../types").SocketId>;
2365
+ isCropping: boolean;
2366
+ croppingElementId: string | null;
2367
+ searchMatches: Readonly<{
2368
+ focusedId: string | null;
2369
+ matches: readonly import("../types").SearchMatch[];
2370
+ }> | null;
2371
+ };
2372
+ captureUpdate: "IMMEDIATELY";
2373
+ };
2374
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
2375
+ } & {
2376
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
2377
+ };