@excalidraw/excalidraw 0.18.0-a9e2d2348-preview-2 → 0.18.0-ac0d305

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