fika-editor 3.0.0 → 3.0.1

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 (793) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +45 -27
  3. package/dist/embed/350.css +1 -0
  4. package/dist/embed/350.js +164 -0
  5. package/dist/embed/agentic-manifest.json +2232 -0
  6. package/dist/embed/apple-touch-icon.png +0 -0
  7. package/dist/embed/chunks/1.js +1 -0
  8. package/dist/embed/chunks/104.js +1 -0
  9. package/dist/embed/chunks/1074.js +1 -0
  10. package/dist/embed/chunks/1085.js +1 -0
  11. package/dist/embed/chunks/1131.css +1 -0
  12. package/dist/embed/chunks/1131.js +1 -0
  13. package/dist/embed/chunks/1169.js +1 -0
  14. package/dist/embed/chunks/1172.js +1 -0
  15. package/dist/embed/chunks/1212.js +1 -0
  16. package/dist/embed/chunks/1255.js +1 -0
  17. package/dist/embed/chunks/1432.js +1 -0
  18. package/dist/embed/chunks/1436.js +1 -0
  19. package/dist/embed/chunks/1605.js +1 -0
  20. package/dist/embed/chunks/1668.js +1 -0
  21. package/dist/embed/chunks/1804.js +8 -0
  22. package/dist/embed/chunks/1904.js +104 -0
  23. package/dist/embed/chunks/1915.js +1 -0
  24. package/dist/embed/chunks/1916.js +1 -0
  25. package/dist/embed/chunks/1932.js +1 -0
  26. package/dist/embed/chunks/2011.js +1 -0
  27. package/dist/embed/chunks/2020.js +3467 -0
  28. package/dist/embed/chunks/2131.js +1 -0
  29. package/dist/embed/chunks/2143.js +62 -0
  30. package/dist/embed/chunks/2190.js +1 -0
  31. package/dist/embed/chunks/2246.js +1 -0
  32. package/dist/embed/chunks/2289.js +80 -0
  33. package/dist/embed/chunks/2402.js +1 -0
  34. package/dist/embed/chunks/2407.js +1 -0
  35. package/dist/embed/chunks/2489.js +1 -0
  36. package/dist/embed/chunks/2528.js +1 -0
  37. package/dist/embed/chunks/2632.js +1 -0
  38. package/dist/embed/chunks/2694.js +1 -0
  39. package/dist/embed/chunks/2714.js +1 -0
  40. package/dist/embed/chunks/273.js +24 -0
  41. package/dist/embed/chunks/2796.js +34 -0
  42. package/dist/embed/chunks/2807.css +1 -0
  43. package/dist/embed/chunks/2807.js +1 -0
  44. package/dist/embed/chunks/3030.js +1 -0
  45. package/dist/embed/chunks/3031.js +1 -0
  46. package/dist/embed/chunks/3088.js +1 -0
  47. package/dist/embed/chunks/3103.js +1 -0
  48. package/dist/embed/chunks/3143.js +1 -0
  49. package/dist/embed/chunks/3359.js +1 -0
  50. package/dist/embed/chunks/3443.js +1 -0
  51. package/dist/embed/chunks/3479.js +1 -0
  52. package/dist/embed/chunks/3555.js +1 -0
  53. package/dist/embed/chunks/3581.js +77 -0
  54. package/dist/embed/chunks/360.css +1 -0
  55. package/dist/embed/chunks/360.js +1 -0
  56. package/dist/embed/chunks/362.js +1 -0
  57. package/dist/embed/chunks/3729.js +160 -0
  58. package/dist/embed/chunks/3888.js +1 -0
  59. package/dist/embed/chunks/3907.js +1 -0
  60. package/dist/embed/chunks/397.js +1 -0
  61. package/dist/embed/chunks/401.js +1 -0
  62. package/dist/embed/chunks/4110.js +1 -0
  63. package/dist/embed/chunks/4145.js +1 -0
  64. package/dist/embed/chunks/4335.js +1 -0
  65. package/dist/embed/chunks/435.js +1 -0
  66. package/dist/embed/chunks/4354.js +27 -0
  67. package/dist/embed/chunks/4359.js +1 -0
  68. package/dist/embed/chunks/4467.js +1 -0
  69. package/dist/embed/chunks/4515.js +1 -0
  70. package/dist/embed/chunks/4552.js +287 -0
  71. package/dist/embed/chunks/4606.js +1 -0
  72. package/dist/embed/chunks/4607.js +1 -0
  73. package/dist/embed/chunks/4619.js +86 -0
  74. package/dist/embed/chunks/4625.js +153 -0
  75. package/dist/embed/chunks/4632.css +1 -0
  76. package/dist/embed/chunks/4632.js +1 -0
  77. package/dist/embed/chunks/4637.js +1 -0
  78. package/dist/embed/chunks/4794.js +1 -0
  79. package/dist/embed/chunks/4891.js +226 -0
  80. package/dist/embed/chunks/4936.js +82 -0
  81. package/dist/embed/chunks/4950.js +1 -0
  82. package/dist/embed/chunks/4975.js +255 -0
  83. package/dist/embed/chunks/5026.js +1 -0
  84. package/dist/embed/chunks/5075.js +1 -0
  85. package/dist/embed/chunks/5216.css +1 -0
  86. package/dist/embed/chunks/5216.js +1 -0
  87. package/dist/embed/chunks/5239.js +1 -0
  88. package/dist/embed/chunks/5250.js +1 -0
  89. package/dist/embed/chunks/5316.js +1 -0
  90. package/dist/embed/chunks/5437.js +1 -0
  91. package/dist/embed/chunks/5480.js +1 -0
  92. package/dist/embed/chunks/5532.js +1 -0
  93. package/dist/embed/chunks/5659.js +64 -0
  94. package/dist/embed/chunks/574.js +1 -0
  95. package/dist/embed/chunks/5768.js +1 -0
  96. package/dist/embed/chunks/5773.js +1 -0
  97. package/dist/embed/chunks/5792.js +141 -0
  98. package/dist/embed/chunks/5809.js +1 -0
  99. package/dist/embed/chunks/5835.js +1 -0
  100. package/dist/embed/chunks/5889.js +1 -0
  101. package/dist/embed/chunks/5901.js +1 -0
  102. package/dist/embed/chunks/5907.js +1 -0
  103. package/dist/embed/chunks/5989.js +1 -0
  104. package/dist/embed/chunks/5992.js +1 -0
  105. package/dist/embed/chunks/6014.js +1 -0
  106. package/dist/embed/chunks/6063.js +1 -0
  107. package/dist/embed/chunks/6136.js +1 -0
  108. package/dist/embed/chunks/6144.css +1 -0
  109. package/dist/embed/chunks/6144.js +1 -0
  110. package/dist/embed/chunks/627.js +115 -0
  111. package/dist/embed/chunks/6339.js +1 -0
  112. package/dist/embed/chunks/635.js +1 -0
  113. package/dist/embed/chunks/6361.js +1 -0
  114. package/dist/embed/chunks/647.js +1 -0
  115. package/dist/embed/chunks/6522.js +1 -0
  116. package/dist/embed/chunks/6567.js +1 -0
  117. package/dist/embed/chunks/6580.js +1 -0
  118. package/dist/embed/chunks/6609.css +1 -0
  119. package/dist/embed/chunks/6609.js +1 -0
  120. package/dist/embed/chunks/6690.js +1 -0
  121. package/dist/embed/chunks/6704.js +1 -0
  122. package/dist/embed/chunks/6778.js +1 -0
  123. package/dist/embed/chunks/6935.js +1 -0
  124. package/dist/embed/chunks/6999.js +93 -0
  125. package/dist/embed/chunks/7048.js +1 -0
  126. package/dist/embed/chunks/7101.js +1 -0
  127. package/dist/embed/chunks/7132.js +1 -0
  128. package/dist/embed/chunks/717.js +148 -0
  129. package/dist/embed/chunks/7175.js +90 -0
  130. package/dist/embed/chunks/7193.css +1 -0
  131. package/dist/embed/chunks/7193.js +1 -0
  132. package/dist/embed/chunks/7245.js +1 -0
  133. package/dist/embed/chunks/7255.js +1 -0
  134. package/dist/embed/chunks/7272.js +1 -0
  135. package/dist/embed/chunks/7309.js +1 -0
  136. package/dist/embed/chunks/7311.js +23 -0
  137. package/dist/embed/chunks/736.js +1 -0
  138. package/dist/embed/chunks/7376.js +1 -0
  139. package/dist/embed/chunks/7453.js +1 -0
  140. package/dist/embed/chunks/7463.js +1 -0
  141. package/dist/embed/chunks/7468.js +1 -0
  142. package/dist/embed/chunks/7588.js +41 -0
  143. package/dist/embed/chunks/7594.js +1 -0
  144. package/dist/embed/chunks/7854.js +38 -0
  145. package/dist/embed/chunks/788.js +24 -0
  146. package/dist/embed/chunks/7916.js +79 -0
  147. package/dist/embed/chunks/7924.js +1 -0
  148. package/dist/embed/chunks/7980.js +1 -0
  149. package/dist/embed/chunks/809.js +1 -0
  150. package/dist/embed/chunks/810.js +1 -0
  151. package/dist/embed/chunks/818.js +1 -0
  152. package/dist/embed/chunks/8212.js +36 -0
  153. package/dist/embed/chunks/8239.js +1 -0
  154. package/dist/embed/chunks/8252.js +1 -0
  155. package/dist/embed/chunks/8378.css +1 -0
  156. package/dist/embed/chunks/8378.js +1 -0
  157. package/dist/embed/chunks/8449.js +1 -0
  158. package/dist/embed/chunks/8516.js +1 -0
  159. package/dist/embed/chunks/8606.js +1 -0
  160. package/dist/embed/chunks/862.css +1 -0
  161. package/dist/embed/chunks/862.js +1 -0
  162. package/dist/embed/chunks/8620.js +1 -0
  163. package/dist/embed/chunks/8623.js +138 -0
  164. package/dist/embed/chunks/8645.js +1 -0
  165. package/dist/embed/chunks/8716.js +215 -0
  166. package/dist/embed/chunks/8724.js +1 -0
  167. package/dist/embed/chunks/8735.js +1 -0
  168. package/dist/embed/chunks/8941.js +1 -0
  169. package/dist/embed/chunks/9121.js +1 -0
  170. package/dist/embed/chunks/919.js +1 -0
  171. package/dist/embed/chunks/9203.js +1 -0
  172. package/dist/embed/chunks/9245.js +1 -0
  173. package/dist/embed/chunks/9252.js +1 -0
  174. package/dist/embed/chunks/9465.js +5 -0
  175. package/dist/embed/chunks/9475.js +1 -0
  176. package/dist/embed/chunks/9657.css +1 -0
  177. package/dist/embed/chunks/9657.js +1 -0
  178. package/dist/embed/chunks/968.js +1 -0
  179. package/dist/embed/chunks/9739.js +1 -0
  180. package/dist/embed/chunks/9761.js +1 -0
  181. package/dist/embed/chunks/9800.css +1 -0
  182. package/dist/embed/chunks/9800.js +1 -0
  183. package/dist/embed/chunks/9976.js +1 -0
  184. package/dist/embed/favicon-32.png +0 -0
  185. package/dist/embed/favicon.ico +0 -0
  186. package/dist/embed/favicon.svg +7 -0
  187. package/dist/embed/fika-embed.css +1 -0
  188. package/dist/embed/fika-embed.js +5 -0
  189. package/dist/embed/logo.png +0 -0
  190. package/dist/embed/static/font/fonts/Inter.woff2 +0 -0
  191. package/dist/embed/static/font/fonts/JetBrainsMono.woff2 +0 -0
  192. package/dist/embed/static/font/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  193. package/dist/embed/static/font/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  194. package/dist/embed/static/font/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  195. package/dist/embed/static/font/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  196. package/dist/embed/static/font/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  197. package/dist/embed/static/font/fonts/KaTeX_Main-Bold.woff2 +0 -0
  198. package/dist/embed/static/font/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  199. package/dist/embed/static/font/fonts/KaTeX_Main-Italic.woff2 +0 -0
  200. package/dist/embed/static/font/fonts/KaTeX_Main-Regular.woff2 +0 -0
  201. package/dist/embed/static/font/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  202. package/dist/embed/static/font/fonts/KaTeX_Math-Italic.woff2 +0 -0
  203. package/dist/embed/static/font/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  204. package/dist/embed/static/font/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  205. package/dist/embed/static/font/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  206. package/dist/embed/static/font/fonts/KaTeX_Script-Regular.woff2 +0 -0
  207. package/dist/embed/static/font/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  208. package/dist/embed/static/font/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  209. package/dist/embed/static/font/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  210. package/dist/embed/static/font/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  211. package/dist/embed/static/font/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  212. package/dist/embed/static/font/fonts/Lato.woff2 +0 -0
  213. package/dist/embed/static/font/fonts/Literata.woff2 +0 -0
  214. package/dist/embed/static/font/fonts/Merriweather.woff2 +0 -0
  215. package/dist/embed/static/font/fonts/Montserrat.woff2 +0 -0
  216. package/dist/embed/static/font/fonts/OpenSans.woff2 +0 -0
  217. package/dist/embed/static/font/fonts/Roboto.woff2 +0 -0
  218. package/dist/embed/static/font/fonts/SourceSansPro.woff2 +0 -0
  219. package/dist/embed/static/font/fonts/SourceSerif4.woff2 +0 -0
  220. package/dist/types/components/Button.d.ts +17 -0
  221. package/dist/types/components/ButtonGroup.d.ts +8 -0
  222. package/dist/types/components/ChartDataEditor.d.ts +13 -0
  223. package/dist/types/components/Checkbox.d.ts +12 -0
  224. package/dist/types/components/CodeEditor/CodeEditorSkeleton.d.ts +8 -0
  225. package/dist/types/components/CodeEditor/codeMirror.d.ts +23 -0
  226. package/dist/types/components/CodeEditor/index.d.ts +14 -0
  227. package/dist/types/components/CodeEditor/lazy.d.ts +3 -0
  228. package/dist/types/components/ColorButton.d.ts +8 -0
  229. package/dist/types/components/ColorListButton.d.ts +8 -0
  230. package/dist/types/components/ColorPicker/Alpha.d.ts +12 -0
  231. package/dist/types/components/ColorPicker/Checkboard.d.ts +11 -0
  232. package/dist/types/components/ColorPicker/EditableInput.d.ts +12 -0
  233. package/dist/types/components/ColorPicker/Hue.d.ts +13 -0
  234. package/dist/types/components/ColorPicker/Saturation.d.ts +13 -0
  235. package/dist/types/components/ColorPicker/index.d.ts +11 -0
  236. package/dist/types/components/ColorSwatches.d.ts +21 -0
  237. package/dist/types/components/ConfirmDialog.d.ts +16 -0
  238. package/dist/types/components/Contextmenu/MenuContent.d.ts +8 -0
  239. package/dist/types/components/Contextmenu/index.d.ts +14 -0
  240. package/dist/types/components/Contextmenu/types.d.ts +13 -0
  241. package/dist/types/components/Divider.d.ts +9 -0
  242. package/dist/types/components/Draggable.d.ts +28 -0
  243. package/dist/types/components/Drawer.d.ts +13 -0
  244. package/dist/types/components/FileInput.d.ts +11 -0
  245. package/dist/types/components/FitText.d.ts +17 -0
  246. package/dist/types/components/FontSizeControl.d.ts +12 -0
  247. package/dist/types/components/FormatChip.d.ts +14 -0
  248. package/dist/types/components/FullscreenSpin.d.ts +9 -0
  249. package/dist/types/components/GradientBar.d.ts +12 -0
  250. package/dist/types/components/Icon.d.ts +144 -0
  251. package/dist/types/components/InkDialog.d.ts +37 -0
  252. package/dist/types/components/InkLoader.d.ts +2 -0
  253. package/dist/types/components/InkPaintSwatches.d.ts +14 -0
  254. package/dist/types/components/InkProgress.d.ts +6 -0
  255. package/dist/types/components/Input.d.ts +25 -0
  256. package/dist/types/components/JobProgressOverlay.d.ts +18 -0
  257. package/dist/types/components/LaTeXEditor/LatexEditorSkeleton.d.ts +1 -0
  258. package/dist/types/components/LaTeXEditor/MathFieldSkeleton.d.ts +4 -0
  259. package/dist/types/components/LaTeXEditor/hfmath.d.ts +5 -0
  260. package/dist/types/components/LaTeXEditor/index.d.ts +12 -0
  261. package/dist/types/components/LaTeXEditor/lazy.d.ts +3 -0
  262. package/dist/types/components/MermaidEditor/MermaidEditorSkeleton.d.ts +1 -0
  263. package/dist/types/components/MermaidEditor/index.d.ts +8 -0
  264. package/dist/types/components/MermaidEditor/lazy.d.ts +3 -0
  265. package/dist/types/components/Message.d.ts +15 -0
  266. package/dist/types/components/Modal.d.ts +16 -0
  267. package/dist/types/components/MoveablePanel.d.ts +20 -0
  268. package/dist/types/components/NumberInput.d.ts +24 -0
  269. package/dist/types/components/OverlayTrigger.d.ts +14 -0
  270. package/dist/types/components/Popover.d.ts +24 -0
  271. package/dist/types/components/PopoverMenuItem.d.ts +11 -0
  272. package/dist/types/components/RadioButton.d.ts +11 -0
  273. package/dist/types/components/RadioGroup.d.ts +12 -0
  274. package/dist/types/components/Select.d.ts +23 -0
  275. package/dist/types/components/SelectCustom.d.ts +12 -0
  276. package/dist/types/components/Slider.d.ts +26 -0
  277. package/dist/types/components/Switch.d.ts +11 -0
  278. package/dist/types/components/Tabs.d.ts +23 -0
  279. package/dist/types/components/TextArea.d.ts +22 -0
  280. package/dist/types/components/WritingBoard.d.ts +28 -0
  281. package/dist/types/components/draggableLayout.d.ts +35 -0
  282. package/dist/types/components/writingBoardCommands.d.ts +7 -0
  283. package/dist/types/configs/animation.d.ts +274 -0
  284. package/dist/types/configs/chart.d.ts +11 -0
  285. package/dist/types/configs/code.d.ts +193 -0
  286. package/dist/types/configs/element.d.ts +3 -0
  287. package/dist/types/configs/exportMediaResolver.d.ts +11 -0
  288. package/dist/types/configs/exportTabs.d.ts +11 -0
  289. package/dist/types/configs/featureFlags.d.ts +15 -0
  290. package/dist/types/configs/font.d.ts +27 -0
  291. package/dist/types/configs/headerMenu.d.ts +4 -0
  292. package/dist/types/configs/hotkey.d.ts +42 -0
  293. package/dist/types/configs/imageClip.d.ts +30 -0
  294. package/dist/types/configs/inkPaint.d.ts +37 -0
  295. package/dist/types/configs/laser.d.ts +10 -0
  296. package/dist/types/configs/lines.d.ts +21 -0
  297. package/dist/types/configs/localeSwitcher.d.ts +2 -0
  298. package/dist/types/configs/mediaUpload.d.ts +71 -0
  299. package/dist/types/configs/mime.d.ts +4 -0
  300. package/dist/types/configs/shapes.d.ts +26 -0
  301. package/dist/types/configs/starterPresentation.d.ts +32 -0
  302. package/dist/types/configs/storage.d.ts +1 -0
  303. package/dist/types/configs/symbol/arrow.d.ts +2 -0
  304. package/dist/types/configs/symbol/emoji/action.d.ts +2 -0
  305. package/dist/types/configs/symbol/emoji/activity.d.ts +2 -0
  306. package/dist/types/configs/symbol/emoji/expression.d.ts +2 -0
  307. package/dist/types/configs/symbol/emoji/faunaFlora.d.ts +2 -0
  308. package/dist/types/configs/symbol/emoji/food.d.ts +2 -0
  309. package/dist/types/configs/symbol/emoji/objects.d.ts +2 -0
  310. package/dist/types/configs/symbol/emoji/symbols.d.ts +2 -0
  311. package/dist/types/configs/symbol/emoji/travel.d.ts +2 -0
  312. package/dist/types/configs/symbol/graph.d.ts +2 -0
  313. package/dist/types/configs/symbol/index.d.ts +8 -0
  314. package/dist/types/configs/symbol/letter.d.ts +2 -0
  315. package/dist/types/configs/symbol/math.d.ts +2 -0
  316. package/dist/types/configs/symbol/number.d.ts +2 -0
  317. package/dist/types/configs/table.d.ts +15 -0
  318. package/dist/types/configs/templates.d.ts +19 -0
  319. package/dist/types/configs/textPresets.d.ts +85 -0
  320. package/dist/types/configs/theme.d.ts +44 -0
  321. package/dist/types/directive/tooltip.d.ts +5 -0
  322. package/dist/types/embed/EmbedRoot.d.ts +5 -0
  323. package/dist/types/embed/agentic/composition.d.ts +84 -0
  324. package/dist/types/embed/agentic/createAgenticApi.d.ts +11 -0
  325. package/dist/types/embed/agentic/fixtures.d.ts +30 -0
  326. package/dist/types/embed/agentic/helpers.d.ts +115 -0
  327. package/dist/types/embed/agentic/layouts.d.ts +114 -0
  328. package/dist/types/embed/agentic/manifestDocs.d.ts +73 -0
  329. package/dist/types/embed/agentic/qa.d.ts +47 -0
  330. package/dist/types/embed/agentic/styles.d.ts +131 -0
  331. package/dist/types/embed/agentic/templates.d.ts +31 -0
  332. package/dist/types/embed/agentic/types.d.ts +2006 -0
  333. package/dist/types/embed/agentic/validators.d.ts +32 -0
  334. package/dist/types/embed/createController.d.ts +7 -0
  335. package/dist/types/embed/index.d.ts +9 -0
  336. package/dist/types/embed/inferViewport.d.ts +11 -0
  337. package/dist/types/embed/localeBridge.d.ts +4 -0
  338. package/dist/types/embed/mount.d.ts +12 -0
  339. package/dist/types/embed/types.d.ts +183 -0
  340. package/dist/types/hooks/useAddSlidesOrElements.d.ts +6 -0
  341. package/dist/types/hooks/useAlignActiveElement.d.ts +5 -0
  342. package/dist/types/hooks/useAlignElementToCanvas.d.ts +5 -0
  343. package/dist/types/hooks/useClickOutside.d.ts +7 -0
  344. package/dist/types/hooks/useCombineElement.d.ts +7 -0
  345. package/dist/types/hooks/useCopyAndPasteElement.d.ts +7 -0
  346. package/dist/types/hooks/useCreateElement.d.ts +50 -0
  347. package/dist/types/hooks/useDeleteElement.d.ts +5 -0
  348. package/dist/types/hooks/useElementContextmenu.d.ts +6 -0
  349. package/dist/types/hooks/useExport.d.ts +13 -0
  350. package/dist/types/hooks/useGlobalHotkey.d.ts +2 -0
  351. package/dist/types/hooks/useHeldSlideElement.d.ts +9 -0
  352. package/dist/types/hooks/useHideElement.d.ts +6 -0
  353. package/dist/types/hooks/useHistorySnapshot.d.ts +6 -0
  354. package/dist/types/hooks/useHoldAfterOpen.d.ts +2 -0
  355. package/dist/types/hooks/useImageHandler.d.ts +4 -0
  356. package/dist/types/hooks/useImport.d.ts +21 -0
  357. package/dist/types/hooks/useLink.d.ts +6 -0
  358. package/dist/types/hooks/useLockElement.d.ts +6 -0
  359. package/dist/types/hooks/useMediaPlayerTeleport.d.ts +5 -0
  360. package/dist/types/hooks/useMediaPoster.d.ts +8 -0
  361. package/dist/types/hooks/useMediaQueue.d.ts +24 -0
  362. package/dist/types/hooks/useMoveElement.d.ts +4 -0
  363. package/dist/types/hooks/useOrderElement.d.ts +6 -0
  364. package/dist/types/hooks/useOverlayPhase.d.ts +14 -0
  365. package/dist/types/hooks/usePasteDataTransfer.d.ts +7 -0
  366. package/dist/types/hooks/usePasteEvent.d.ts +2 -0
  367. package/dist/types/hooks/usePasteTextClipboardData.d.ts +8 -0
  368. package/dist/types/hooks/useScaleCanvas.d.ts +25 -0
  369. package/dist/types/hooks/useScreening.d.ts +8 -0
  370. package/dist/types/hooks/useSearch.d.ts +28 -0
  371. package/dist/types/hooks/useSectionHandler.d.ts +8 -0
  372. package/dist/types/hooks/useSelectElement.d.ts +5 -0
  373. package/dist/types/hooks/useShapeFormatPainter.d.ts +4 -0
  374. package/dist/types/hooks/useSlideBackgroundStyle.d.ts +19 -0
  375. package/dist/types/hooks/useSlideHandler.d.ts +16 -0
  376. package/dist/types/hooks/useSlideTheme.d.ts +16 -0
  377. package/dist/types/hooks/useUniformDisplayElement.d.ts +6 -0
  378. package/dist/types/i18n/cs/canvas/index.d.ts +3 -0
  379. package/dist/types/i18n/cs/common/index.d.ts +3 -0
  380. package/dist/types/i18n/cs/components/index.d.ts +3 -0
  381. package/dist/types/i18n/cs/configs/index.d.ts +3 -0
  382. package/dist/types/i18n/cs/editor/index.d.ts +3 -0
  383. package/dist/types/i18n/cs/export/index.d.ts +3 -0
  384. package/dist/types/i18n/cs/index.d.ts +3 -0
  385. package/dist/types/i18n/cs/mobile/index.d.ts +3 -0
  386. package/dist/types/i18n/cs/screen/index.d.ts +3 -0
  387. package/dist/types/i18n/en/canvas/index.d.ts +3 -0
  388. package/dist/types/i18n/en/common/index.d.ts +3 -0
  389. package/dist/types/i18n/en/components/index.d.ts +3 -0
  390. package/dist/types/i18n/en/configs/index.d.ts +3 -0
  391. package/dist/types/i18n/en/editor/index.d.ts +3 -0
  392. package/dist/types/i18n/en/export/index.d.ts +3 -0
  393. package/dist/types/i18n/en/index.d.ts +3 -0
  394. package/dist/types/i18n/en/mobile/index.d.ts +3 -0
  395. package/dist/types/i18n/en/screen/index.d.ts +3 -0
  396. package/dist/types/i18n/formatters.d.ts +6 -0
  397. package/dist/types/i18n/getLL.d.ts +8 -0
  398. package/dist/types/i18n/i18n-react.d.ts +23 -0
  399. package/dist/types/i18n/i18n-types.d.ts +10276 -0
  400. package/dist/types/i18n/i18n-util.async.d.ts +16 -0
  401. package/dist/types/i18n/i18n-util.d.ts +24 -0
  402. package/dist/types/i18n/i18n-util.sync.d.ts +4 -0
  403. package/dist/types/i18n/locale.d.ts +12 -0
  404. package/dist/types/i18n/pl/canvas/index.d.ts +3 -0
  405. package/dist/types/i18n/pl/common/index.d.ts +3 -0
  406. package/dist/types/i18n/pl/components/index.d.ts +3 -0
  407. package/dist/types/i18n/pl/configs/index.d.ts +3 -0
  408. package/dist/types/i18n/pl/editor/index.d.ts +3 -0
  409. package/dist/types/i18n/pl/export/index.d.ts +3 -0
  410. package/dist/types/i18n/pl/index.d.ts +3 -0
  411. package/dist/types/i18n/pl/mobile/index.d.ts +3 -0
  412. package/dist/types/i18n/pl/screen/index.d.ts +3 -0
  413. package/dist/types/i18n/sk/canvas/index.d.ts +3 -0
  414. package/dist/types/i18n/sk/common/index.d.ts +3 -0
  415. package/dist/types/i18n/sk/components/index.d.ts +3 -0
  416. package/dist/types/i18n/sk/configs/index.d.ts +3 -0
  417. package/dist/types/i18n/sk/editor/index.d.ts +3 -0
  418. package/dist/types/i18n/sk/export/index.d.ts +3 -0
  419. package/dist/types/i18n/sk/index.d.ts +3 -0
  420. package/dist/types/i18n/sk/mobile/index.d.ts +3 -0
  421. package/dist/types/i18n/sk/screen/index.d.ts +3 -0
  422. package/dist/types/i18n/useI18nContext.d.ts +1 -0
  423. package/dist/types/previewRaster/diffPaintedSlide.d.ts +11 -0
  424. package/dist/types/previewRaster/index.d.ts +9 -0
  425. package/dist/types/previewRaster/painters/background.d.ts +2 -0
  426. package/dist/types/previewRaster/painters/booth.d.ts +13 -0
  427. package/dist/types/previewRaster/painters/chart.d.ts +2 -0
  428. package/dist/types/previewRaster/painters/code.d.ts +2 -0
  429. package/dist/types/previewRaster/painters/image.d.ts +2 -0
  430. package/dist/types/previewRaster/painters/index.d.ts +3 -0
  431. package/dist/types/previewRaster/painters/line.d.ts +2 -0
  432. package/dist/types/previewRaster/painters/media.d.ts +2 -0
  433. package/dist/types/previewRaster/painters/shape.d.ts +2 -0
  434. package/dist/types/previewRaster/painters/table.d.ts +2 -0
  435. package/dist/types/previewRaster/painters/text.d.ts +2 -0
  436. package/dist/types/previewRaster/planSlideRaster.d.ts +19 -0
  437. package/dist/types/previewRaster/rasterCache.d.ts +19 -0
  438. package/dist/types/previewRaster/scheduler.d.ts +4 -0
  439. package/dist/types/previewRaster/stagePool.d.ts +36 -0
  440. package/dist/types/previewRaster/stats.d.ts +10 -0
  441. package/dist/types/previewRaster/subscribeSlides.d.ts +10 -0
  442. package/dist/types/previewRaster/types.d.ts +12 -0
  443. package/dist/types/services/fetch.d.ts +2 -0
  444. package/dist/types/services/index.d.ts +10 -0
  445. package/dist/types/store/accessors.d.ts +21 -0
  446. package/dist/types/store/importConfirm.d.ts +13 -0
  447. package/dist/types/store/index.d.ts +10 -0
  448. package/dist/types/store/keyboard.d.ts +21 -0
  449. package/dist/types/store/main.d.ts +83 -0
  450. package/dist/types/store/screen.d.ts +8 -0
  451. package/dist/types/store/slides.d.ts +3289 -0
  452. package/dist/types/store/snapshot.d.ts +16 -0
  453. package/dist/types/types/css.d.ts +7 -0
  454. package/dist/types/types/edit.d.ts +118 -0
  455. package/dist/types/types/export.d.ts +1 -0
  456. package/dist/types/types/injectKey.d.ts +12 -0
  457. package/dist/types/types/mobile.d.ts +1 -0
  458. package/dist/types/types/slides.d.ts +599 -0
  459. package/dist/types/types/toolbar.d.ts +9 -0
  460. package/dist/types/utils/agentText.d.ts +28 -0
  461. package/dist/types/utils/assetBase.d.ts +4 -0
  462. package/dist/types/utils/canvasHitTest.d.ts +188 -0
  463. package/dist/types/utils/canvasPointer.d.ts +53 -0
  464. package/dist/types/utils/canvasZoom.d.ts +36 -0
  465. package/dist/types/utils/clipboard.d.ts +9 -0
  466. package/dist/types/utils/clonePlain.d.ts +1 -0
  467. package/dist/types/utils/codeHighlight.d.ts +84 -0
  468. package/dist/types/utils/codePptxExport.d.ts +44 -0
  469. package/dist/types/utils/commandHistory.d.ts +17 -0
  470. package/dist/types/utils/commitSlideElements.d.ts +6 -0
  471. package/dist/types/utils/common.d.ts +30 -0
  472. package/dist/types/utils/crypto.d.ts +10 -0
  473. package/dist/types/utils/cssm.d.ts +4 -0
  474. package/dist/types/utils/database.d.ts +20 -0
  475. package/dist/types/utils/debounce.d.ts +19 -0
  476. package/dist/types/utils/element.d.ts +369 -0
  477. package/dist/types/utils/elementOrder.d.ts +8 -0
  478. package/dist/types/utils/elementOutline.d.ts +41 -0
  479. package/dist/types/utils/elementPaint.d.ts +129 -0
  480. package/dist/types/utils/emitter.d.ts +54 -0
  481. package/dist/types/utils/exportFonts.d.ts +22 -0
  482. package/dist/types/utils/fitLabel.d.ts +17 -0
  483. package/dist/types/utils/font.d.ts +14 -0
  484. package/dist/types/utils/freehand.d.ts +57 -0
  485. package/dist/types/utils/fullscreen.d.ts +3 -0
  486. package/dist/types/utils/gestureBind.d.ts +18 -0
  487. package/dist/types/utils/hotkeyTarget.d.ts +2 -0
  488. package/dist/types/utils/htmlParser/format.d.ts +3 -0
  489. package/dist/types/utils/htmlParser/index.d.ts +4 -0
  490. package/dist/types/utils/htmlParser/lexer.d.ts +2 -0
  491. package/dist/types/utils/htmlParser/parser.d.ts +15 -0
  492. package/dist/types/utils/htmlParser/stringify.d.ts +3 -0
  493. package/dist/types/utils/htmlParser/tags.d.ts +4 -0
  494. package/dist/types/utils/htmlParser/types.d.ts +55 -0
  495. package/dist/types/utils/hyperlinkFollow.d.ts +12 -0
  496. package/dist/types/utils/image.d.ts +25 -0
  497. package/dist/types/utils/imageBitmapCache.d.ts +6 -0
  498. package/dist/types/utils/imagePaintSample.d.ts +34 -0
  499. package/dist/types/utils/importApply.d.ts +31 -0
  500. package/dist/types/utils/inkCommands.d.ts +68 -0
  501. package/dist/types/utils/jobProgress.d.ts +36 -0
  502. package/dist/types/utils/latex.d.ts +27 -0
  503. package/dist/types/utils/latexToOmml.d.ts +28 -0
  504. package/dist/types/utils/liveElementOffset.d.ts +56 -0
  505. package/dist/types/utils/liveElementPaint.d.ts +13 -0
  506. package/dist/types/utils/liveElementSize.d.ts +33 -0
  507. package/dist/types/utils/liveLayoutCommit.d.ts +2 -0
  508. package/dist/types/utils/markdown.d.ts +48 -0
  509. package/dist/types/utils/math.d.ts +90 -0
  510. package/dist/types/utils/mediaFile.d.ts +14 -0
  511. package/dist/types/utils/mediaLayout.d.ts +24 -0
  512. package/dist/types/utils/mediaPoster.d.ts +12 -0
  513. package/dist/types/utils/mermaid.d.ts +18 -0
  514. package/dist/types/utils/message.d.ts +27 -0
  515. package/dist/types/utils/object.d.ts +10 -0
  516. package/dist/types/utils/openContextmenu.d.ts +29 -0
  517. package/dist/types/utils/placeholderLayout.d.ts +64 -0
  518. package/dist/types/utils/placeholderPaint.d.ts +57 -0
  519. package/dist/types/utils/portal.d.ts +37 -0
  520. package/dist/types/utils/pptxImportDiagnostics.d.ts +36 -0
  521. package/dist/types/utils/pptxImportFidelity.d.ts +138 -0
  522. package/dist/types/utils/pptxImportFonts.d.ts +34 -0
  523. package/dist/types/utils/pptxImportMetrics.d.ts +29 -0
  524. package/dist/types/utils/pptxImportPicture.d.ts +30 -0
  525. package/dist/types/utils/pptxImportText.d.ts +26 -0
  526. package/dist/types/utils/pptxSourcePackage.d.ts +19 -0
  527. package/dist/types/utils/pptxStructuredText.d.ts +6 -0
  528. package/dist/types/utils/pptxUnit.d.ts +19 -0
  529. package/dist/types/utils/prosemirror/caret.d.ts +22 -0
  530. package/dist/types/utils/prosemirror/commands/applyPlaceholderStyles.d.ts +29 -0
  531. package/dist/types/utils/prosemirror/commands/replaceText.d.ts +2 -0
  532. package/dist/types/utils/prosemirror/commands/setListStyle.d.ts +4 -0
  533. package/dist/types/utils/prosemirror/commands/setTextAlign.d.ts +5 -0
  534. package/dist/types/utils/prosemirror/commands/setTextIndent.d.ts +3 -0
  535. package/dist/types/utils/prosemirror/commands/toggleList.d.ts +8 -0
  536. package/dist/types/utils/prosemirror/commands/wrapEmptyBulletList.d.ts +5 -0
  537. package/dist/types/utils/prosemirror/commitEditor.d.ts +7 -0
  538. package/dist/types/utils/prosemirror/commitPolicy.d.ts +11 -0
  539. package/dist/types/utils/prosemirror/index.d.ts +6 -0
  540. package/dist/types/utils/prosemirror/plugins/index.d.ts +7 -0
  541. package/dist/types/utils/prosemirror/plugins/inputrules.d.ts +7 -0
  542. package/dist/types/utils/prosemirror/plugins/keymap.d.ts +3 -0
  543. package/dist/types/utils/prosemirror/plugins/placeholder.d.ts +2 -0
  544. package/dist/types/utils/prosemirror/plugins/placeholderFill.d.ts +3 -0
  545. package/dist/types/utils/prosemirror/richTextAttrsFromElement.d.ts +3 -0
  546. package/dist/types/utils/prosemirror/schema/index.d.ts +26 -0
  547. package/dist/types/utils/prosemirror/schema/marks.d.ts +18 -0
  548. package/dist/types/utils/prosemirror/schema/nodes.d.ts +12 -0
  549. package/dist/types/utils/prosemirror/selection.d.ts +15 -0
  550. package/dist/types/utils/prosemirror/utils.d.ts +69 -0
  551. package/dist/types/utils/scribbleJoin.d.ts +27 -0
  552. package/dist/types/utils/selection.d.ts +1 -0
  553. package/dist/types/utils/slideOrder.d.ts +3 -0
  554. package/dist/types/utils/snap.d.ts +69 -0
  555. package/dist/types/utils/spatial/hitIndex.d.ts +18 -0
  556. package/dist/types/utils/spatial/index.d.ts +3 -0
  557. package/dist/types/utils/spatial/segment.d.ts +8 -0
  558. package/dist/types/utils/spatial/snapIndex.d.ts +24 -0
  559. package/dist/types/utils/svg2Base64.d.ts +1 -0
  560. package/dist/types/utils/svgPathParser.d.ts +12 -0
  561. package/dist/types/utils/textBoxLock.d.ts +17 -0
  562. package/dist/types/utils/textContrast.d.ts +204 -0
  563. package/dist/types/utils/textFit.d.ts +195 -0
  564. package/dist/types/utils/textParser.d.ts +5 -0
  565. package/dist/types/utils/tooltipBind.d.ts +10 -0
  566. package/dist/types/views/Editor/Canvas/AlignmentLine.d.ts +13 -0
  567. package/dist/types/views/Editor/Canvas/CanvasScrollbars.d.ts +16 -0
  568. package/dist/types/views/Editor/Canvas/EditableElement.d.ts +13 -0
  569. package/dist/types/views/Editor/Canvas/EditableElement.equal.d.ts +17 -0
  570. package/dist/types/views/Editor/Canvas/ElementCreateSelection.d.ts +6 -0
  571. package/dist/types/views/Editor/Canvas/ElementFloatLayer/AnimationIndex.d.ts +9 -0
  572. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/BorderPanel.d.ts +2 -0
  573. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/ChartToolbar.d.ts +6 -0
  574. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/CodeToolbar.d.ts +6 -0
  575. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/ImageToolbar.d.ts +6 -0
  576. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/LatexToolbar.d.ts +6 -0
  577. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/LineToolbar.d.ts +6 -0
  578. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/ShapeToolbar.d.ts +7 -0
  579. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/TableToolbar.d.ts +6 -0
  580. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/TextStyleControls.d.ts +2 -0
  581. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/TextToolbar.d.ts +6 -0
  582. package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/index.d.ts +8 -0
  583. package/dist/types/views/Editor/Canvas/ElementFloatLayer/LinkHandler.d.ts +8 -0
  584. package/dist/types/views/Editor/Canvas/ElementFloatLayer/floatCompare.d.ts +15 -0
  585. package/dist/types/views/Editor/Canvas/ElementFloatLayer/index.d.ts +12 -0
  586. package/dist/types/views/Editor/Canvas/GridLines.d.ts +6 -0
  587. package/dist/types/views/Editor/Canvas/HitLayer.d.ts +19 -0
  588. package/dist/types/views/Editor/Canvas/LinkDialog.d.ts +5 -0
  589. package/dist/types/views/Editor/Canvas/MouseSelection.d.ts +8 -0
  590. package/dist/types/views/Editor/Canvas/Operate/BorderLine.d.ts +11 -0
  591. package/dist/types/views/Editor/Canvas/Operate/CommonElementOperate.d.ts +11 -0
  592. package/dist/types/views/Editor/Canvas/Operate/ContextMenuBridge.d.ts +9 -0
  593. package/dist/types/views/Editor/Canvas/Operate/ImageElementOperate.d.ts +10 -0
  594. package/dist/types/views/Editor/Canvas/Operate/LineElementOperate.d.ts +9 -0
  595. package/dist/types/views/Editor/Canvas/Operate/MediaElementOperate.d.ts +11 -0
  596. package/dist/types/views/Editor/Canvas/Operate/MultiSelectOperate.d.ts +11 -0
  597. package/dist/types/views/Editor/Canvas/Operate/ResizeHandler.d.ts +11 -0
  598. package/dist/types/views/Editor/Canvas/Operate/RotateHandler.d.ts +8 -0
  599. package/dist/types/views/Editor/Canvas/Operate/ShapeElementOperate.d.ts +11 -0
  600. package/dist/types/views/Editor/Canvas/Operate/TableElementOperate.d.ts +10 -0
  601. package/dist/types/views/Editor/Canvas/Operate/TextElementOperate.d.ts +10 -0
  602. package/dist/types/views/Editor/Canvas/Operate/index.d.ts +25 -0
  603. package/dist/types/views/Editor/Canvas/Operate/operateCompare.d.ts +33 -0
  604. package/dist/types/views/Editor/Canvas/Operate/operateMemo.d.ts +12 -0
  605. package/dist/types/views/Editor/Canvas/Operate/stopHandleEvent.d.ts +3 -0
  606. package/dist/types/views/Editor/Canvas/Operate/useLatest.d.ts +2 -0
  607. package/dist/types/views/Editor/Canvas/Ruler.d.ts +14 -0
  608. package/dist/types/views/Editor/Canvas/ShapeCreateCanvas.d.ts +7 -0
  609. package/dist/types/views/Editor/Canvas/ViewportBackground.d.ts +2 -0
  610. package/dist/types/views/Editor/Canvas/elementListSync.d.ts +12 -0
  611. package/dist/types/views/Editor/Canvas/hooks/useCommonOperate.d.ts +44 -0
  612. package/dist/types/views/Editor/Canvas/hooks/useDragElement.d.ts +6 -0
  613. package/dist/types/views/Editor/Canvas/hooks/useDragLineElement.d.ts +6 -0
  614. package/dist/types/views/Editor/Canvas/hooks/useDrop.d.ts +4 -0
  615. package/dist/types/views/Editor/Canvas/hooks/useInsertFromCreateSelection.d.ts +13 -0
  616. package/dist/types/views/Editor/Canvas/hooks/useMouseSelection.d.ts +14 -0
  617. package/dist/types/views/Editor/Canvas/hooks/useMoveShapeKeypoint.d.ts +5 -0
  618. package/dist/types/views/Editor/Canvas/hooks/useOperateChrome.d.ts +11 -0
  619. package/dist/types/views/Editor/Canvas/hooks/useRotateElement.d.ts +7 -0
  620. package/dist/types/views/Editor/Canvas/hooks/useRotateGroupElement.d.ts +7 -0
  621. package/dist/types/views/Editor/Canvas/hooks/useScaleElement.d.ts +12 -0
  622. package/dist/types/views/Editor/Canvas/hooks/useSelectElement.d.ts +5 -0
  623. package/dist/types/views/Editor/Canvas/hooks/useViewportSize.d.ts +13 -0
  624. package/dist/types/views/Editor/Canvas/index.d.ts +6 -0
  625. package/dist/types/views/Editor/CanvasTool/ChartPool.d.ts +8 -0
  626. package/dist/types/views/Editor/CanvasTool/LinePool.d.ts +10 -0
  627. package/dist/types/views/Editor/CanvasTool/MediaPicker.d.ts +7 -0
  628. package/dist/types/views/Editor/CanvasTool/SVGPathEditor.d.ts +8 -0
  629. package/dist/types/views/Editor/CanvasTool/ShapeItemThumbnail.d.ts +12 -0
  630. package/dist/types/views/Editor/CanvasTool/ShapePool.d.ts +15 -0
  631. package/dist/types/views/Editor/CanvasTool/SymbolPool.d.ts +7 -0
  632. package/dist/types/views/Editor/CanvasTool/TableGenerator.d.ts +12 -0
  633. package/dist/types/views/Editor/CanvasTool/VirtualSymbolGrid.d.ts +10 -0
  634. package/dist/types/views/Editor/CanvasTool/index.d.ts +7 -0
  635. package/dist/types/views/Editor/ChartDataEditorDialog.d.ts +2 -0
  636. package/dist/types/views/Editor/CodeEditorDialog.d.ts +2 -0
  637. package/dist/types/views/Editor/EditorHeader/HotkeyDoc.d.ts +6 -0
  638. package/dist/types/views/Editor/EditorHeader/index.d.ts +6 -0
  639. package/dist/types/views/Editor/ExportDialog/index.d.ts +4 -0
  640. package/dist/types/views/Editor/ImportReplaceDialog.d.ts +2 -0
  641. package/dist/types/views/Editor/InlineMathEditorDialog.d.ts +2 -0
  642. package/dist/types/views/Editor/LatexEditorDialog.d.ts +2 -0
  643. package/dist/types/views/Editor/MarkupPanel.d.ts +2 -0
  644. package/dist/types/views/Editor/MermaidEditorDialog.d.ts +2 -0
  645. package/dist/types/views/Editor/NotesPanel.d.ts +2 -0
  646. package/dist/types/views/Editor/Remark/Editor.d.ts +6 -0
  647. package/dist/types/views/Editor/Remark/index.d.ts +11 -0
  648. package/dist/types/views/Editor/SearchPanel.d.ts +2 -0
  649. package/dist/types/views/Editor/SelectPanel.d.ts +2 -0
  650. package/dist/types/views/Editor/SlideCodePanel.d.ts +11 -0
  651. package/dist/types/views/Editor/Thumbnails/ExportThemeDialog.d.ts +10 -0
  652. package/dist/types/views/Editor/Thumbnails/LayoutPicker.d.ts +9 -0
  653. package/dist/types/views/Editor/Thumbnails/index.d.ts +6 -0
  654. package/dist/types/views/Editor/Thumbnails/paneSize.d.ts +20 -0
  655. package/dist/types/views/Editor/Thumbnails/useThumbnailVirtualizer.d.ts +13 -0
  656. package/dist/types/views/Editor/Toolbar/ElementAnimationPanel.d.ts +2 -0
  657. package/dist/types/views/Editor/Toolbar/ElementPositionPanel.d.ts +2 -0
  658. package/dist/types/views/Editor/Toolbar/ElementStylePanel/AudioStylePanel.d.ts +2 -0
  659. package/dist/types/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/ThemeColorsSetting.d.ts +4 -0
  660. package/dist/types/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.d.ts +2 -0
  661. package/dist/types/views/Editor/Toolbar/ElementStylePanel/CodeStylePanel.d.ts +2 -0
  662. package/dist/types/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.d.ts +2 -0
  663. package/dist/types/views/Editor/Toolbar/ElementStylePanel/LatexStylePanel.d.ts +2 -0
  664. package/dist/types/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.d.ts +2 -0
  665. package/dist/types/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.d.ts +2 -0
  666. package/dist/types/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.d.ts +2 -0
  667. package/dist/types/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.d.ts +2 -0
  668. package/dist/types/views/Editor/Toolbar/ElementStylePanel/VideoStylePanel.d.ts +2 -0
  669. package/dist/types/views/Editor/Toolbar/ElementStylePanel/index.d.ts +2 -0
  670. package/dist/types/views/Editor/Toolbar/MultiPositionPanel.d.ts +2 -0
  671. package/dist/types/views/Editor/Toolbar/MultiStylePanel.d.ts +2 -0
  672. package/dist/types/views/Editor/Toolbar/SlideAnimationPanel.d.ts +2 -0
  673. package/dist/types/views/Editor/Toolbar/SlideDesignPanel/ViewportSizeSetting.d.ts +7 -0
  674. package/dist/types/views/Editor/Toolbar/SlideDesignPanel/index.d.ts +7 -0
  675. package/dist/types/views/Editor/Toolbar/common/AnimationPool.d.ts +17 -0
  676. package/dist/types/views/Editor/Toolbar/common/BoxInsetControl.d.ts +14 -0
  677. package/dist/types/views/Editor/Toolbar/common/ElementColorMask.d.ts +2 -0
  678. package/dist/types/views/Editor/Toolbar/common/ElementFilter.d.ts +2 -0
  679. package/dist/types/views/Editor/Toolbar/common/ElementFlip.d.ts +2 -0
  680. package/dist/types/views/Editor/Toolbar/common/ElementOpacity.d.ts +2 -0
  681. package/dist/types/views/Editor/Toolbar/common/ElementOutline.d.ts +5 -0
  682. package/dist/types/views/Editor/Toolbar/common/ElementShadow.d.ts +2 -0
  683. package/dist/types/views/Editor/Toolbar/common/PanelSection.d.ts +10 -0
  684. package/dist/types/views/Editor/Toolbar/common/RichTextBase.d.ts +10 -0
  685. package/dist/types/views/Editor/Toolbar/common/SVGLine.d.ts +10 -0
  686. package/dist/types/views/Editor/Toolbar/common/TextStyleContent.d.ts +2 -0
  687. package/dist/types/views/Editor/Toolbar/common/handleElement.d.ts +19 -0
  688. package/dist/types/views/Editor/Toolbar/common/panelSwitch.d.ts +4 -0
  689. package/dist/types/views/Editor/Toolbar/common/textBoxStyle.d.ts +25 -0
  690. package/dist/types/views/Editor/Toolbar/index.d.ts +6 -0
  691. package/dist/types/views/Editor/Toolbar/paneSize.d.ts +15 -0
  692. package/dist/types/views/Editor/index.d.ts +2 -0
  693. package/dist/types/views/Editor/slideCodeMirror.d.ts +17 -0
  694. package/dist/types/views/Editor/slideCodeUtils.d.ts +14 -0
  695. package/dist/types/views/Editor/slideValidator.d.ts +12 -0
  696. package/dist/types/views/Mobile/MobileEditor/ElementToolbar.d.ts +1 -0
  697. package/dist/types/views/Mobile/MobileEditor/Header.d.ts +5 -0
  698. package/dist/types/views/Mobile/MobileEditor/MobileEditableElement.d.ts +7 -0
  699. package/dist/types/views/Mobile/MobileEditor/MobileOperate.d.ts +12 -0
  700. package/dist/types/views/Mobile/MobileEditor/SlideToolbar.d.ts +1 -0
  701. package/dist/types/views/Mobile/MobileEditor/index.d.ts +5 -0
  702. package/dist/types/views/Mobile/MobilePlayer.d.ts +5 -0
  703. package/dist/types/views/Mobile/MobilePreview.d.ts +5 -0
  704. package/dist/types/views/Mobile/MobileThumbnails.d.ts +3 -0
  705. package/dist/types/views/Mobile/index.d.ts +1 -0
  706. package/dist/types/views/Screen/AudienceView.d.ts +1 -0
  707. package/dist/types/views/Screen/BaseView.d.ts +3 -0
  708. package/dist/types/views/Screen/BottomThumbnails.d.ts +1 -0
  709. package/dist/types/views/Screen/CountdownTimer.d.ts +6 -0
  710. package/dist/types/views/Screen/LaserColorSwatches.d.ts +8 -0
  711. package/dist/types/views/Screen/LaserTrailOverlay.d.ts +11 -0
  712. package/dist/types/views/Screen/PresenterToolbar.d.ts +30 -0
  713. package/dist/types/views/Screen/PresenterView.d.ts +3 -0
  714. package/dist/types/views/Screen/ScreenElement.d.ts +12 -0
  715. package/dist/types/views/Screen/ScreenShell.d.ts +2 -0
  716. package/dist/types/views/Screen/ScreenSlide.d.ts +11 -0
  717. package/dist/types/views/Screen/ScreenSlideList.d.ts +15 -0
  718. package/dist/types/views/Screen/SlideThumbnails.d.ts +7 -0
  719. package/dist/types/views/Screen/WritingBoardTool.d.ts +9 -0
  720. package/dist/types/views/Screen/hooks/useExecPlay.d.ts +33 -0
  721. package/dist/types/views/Screen/hooks/useFullscreen.d.ts +5 -0
  722. package/dist/types/views/Screen/hooks/useScreenTools.d.ts +20 -0
  723. package/dist/types/views/Screen/hooks/useSlideSize.d.ts +11 -0
  724. package/dist/types/views/Screen/index.d.ts +2 -0
  725. package/dist/types/views/Screen/lazy.d.ts +2 -0
  726. package/dist/types/views/Screen/screenWindow.d.ts +11 -0
  727. package/dist/types/views/components/ThumbnailSlide/index.d.ts +13 -0
  728. package/dist/types/views/components/ThumbnailSlide/paintedSlide.d.ts +29 -0
  729. package/dist/types/views/components/element/AudioElement/ScreenAudioElement.d.ts +6 -0
  730. package/dist/types/views/components/element/AudioElement/index.d.ts +9 -0
  731. package/dist/types/views/components/element/ChartElement/BaseChartElement.d.ts +9 -0
  732. package/dist/types/views/components/element/ChartElement/Chart.d.ts +13 -0
  733. package/dist/types/views/components/element/ChartElement/chartBooth.d.ts +2 -0
  734. package/dist/types/views/components/element/ChartElement/chartOption.d.ts +17 -0
  735. package/dist/types/views/components/element/ChartElement/index.d.ts +9 -0
  736. package/dist/types/views/components/element/CodeElement/BaseCodeElement.d.ts +6 -0
  737. package/dist/types/views/components/element/CodeElement/CodeBlockSkeleton.d.ts +13 -0
  738. package/dist/types/views/components/element/CodeElement/CodeContent.d.ts +6 -0
  739. package/dist/types/views/components/element/CodeElement/index.d.ts +9 -0
  740. package/dist/types/views/components/element/ElementOutline.d.ts +8 -0
  741. package/dist/types/views/components/element/ImageElement/BaseImageElement.d.ts +6 -0
  742. package/dist/types/views/components/element/ImageElement/ImageBitmapSurface.d.ts +10 -0
  743. package/dist/types/views/components/element/ImageElement/ImageClipHandler.d.ts +15 -0
  744. package/dist/types/views/components/element/ImageElement/ImageOutline/ImageEllipseOutline.d.ts +8 -0
  745. package/dist/types/views/components/element/ImageElement/ImageOutline/ImagePolygonOutline.d.ts +9 -0
  746. package/dist/types/views/components/element/ImageElement/ImageOutline/ImageRectOutline.d.ts +9 -0
  747. package/dist/types/views/components/element/ImageElement/ImageOutline/index.d.ts +6 -0
  748. package/dist/types/views/components/element/ImageElement/index.d.ts +9 -0
  749. package/dist/types/views/components/element/ImageElement/useClipImage.d.ts +10 -0
  750. package/dist/types/views/components/element/ImageElement/useFilter.d.ts +4 -0
  751. package/dist/types/views/components/element/ImageElement/useImageBitmap.d.ts +2 -0
  752. package/dist/types/views/components/element/LatexElement/BaseLatexElement.d.ts +6 -0
  753. package/dist/types/views/components/element/LatexElement/LatexContent.d.ts +6 -0
  754. package/dist/types/views/components/element/LatexElement/index.d.ts +9 -0
  755. package/dist/types/views/components/element/LineElement/BaseLineElement.d.ts +6 -0
  756. package/dist/types/views/components/element/LineElement/LinePointMarker.d.ts +12 -0
  757. package/dist/types/views/components/element/LineElement/index.d.ts +9 -0
  758. package/dist/types/views/components/element/MediaPlayer/index.d.ts +20 -0
  759. package/dist/types/views/components/element/MediaPlayer/useMSE.d.ts +4 -0
  760. package/dist/types/views/components/element/MediaPlayer/useMediaPlayback.d.ts +67 -0
  761. package/dist/types/views/components/element/MermaidElement/BaseMermaidElement.d.ts +6 -0
  762. package/dist/types/views/components/element/MermaidElement/MermaidContent.d.ts +6 -0
  763. package/dist/types/views/components/element/MermaidElement/index.d.ts +9 -0
  764. package/dist/types/views/components/element/ProsemirrorEditor.d.ts +60 -0
  765. package/dist/types/views/components/element/ShapeElement/BaseShapeElement.d.ts +6 -0
  766. package/dist/types/views/components/element/ShapeElement/GradientDefs.d.ts +9 -0
  767. package/dist/types/views/components/element/ShapeElement/PatternDefs.d.ts +6 -0
  768. package/dist/types/views/components/element/ShapeElement/index.d.ts +10 -0
  769. package/dist/types/views/components/element/ShapeElement/shapePaintEqual.d.ts +15 -0
  770. package/dist/types/views/components/element/TableElement/BaseTableElement.d.ts +6 -0
  771. package/dist/types/views/components/element/TableElement/CustomTextarea.d.ts +12 -0
  772. package/dist/types/views/components/element/TableElement/EditableTable.d.ts +19 -0
  773. package/dist/types/views/components/element/TableElement/StaticTable.d.ts +12 -0
  774. package/dist/types/views/components/element/TableElement/cellEdit.d.ts +15 -0
  775. package/dist/types/views/components/element/TableElement/gridCompare.d.ts +28 -0
  776. package/dist/types/views/components/element/TableElement/index.d.ts +10 -0
  777. package/dist/types/views/components/element/TableElement/useHideCells.d.ts +4 -0
  778. package/dist/types/views/components/element/TableElement/useMathReady.d.ts +4 -0
  779. package/dist/types/views/components/element/TableElement/useSubThemeColor.d.ts +9 -0
  780. package/dist/types/views/components/element/TableElement/utils.d.ts +17 -0
  781. package/dist/types/views/components/element/TextElement/BaseTextElement.d.ts +15 -0
  782. package/dist/types/views/components/element/TextElement/index.d.ts +13 -0
  783. package/dist/types/views/components/element/VideoElement/ScreenVideoElement.d.ts +6 -0
  784. package/dist/types/views/components/element/VideoElement/index.d.ts +9 -0
  785. package/dist/types/views/components/element/hooks/useAutoShapeTextHeight.d.ts +2 -0
  786. package/dist/types/views/components/element/hooks/useElementFill.d.ts +5 -0
  787. package/dist/types/views/components/element/hooks/useElementFlip.d.ts +4 -0
  788. package/dist/types/views/components/element/hooks/useElementOutline.d.ts +10 -0
  789. package/dist/types/views/components/element/hooks/useElementShadow.d.ts +5 -0
  790. package/dist/types/views/components/element/hooks/useLiveBoxFit.d.ts +12 -0
  791. package/dist/types/views/components/element/hooks/useTextFit.d.ts +26 -0
  792. package/docs/RELEASE.md +14 -0
  793. package/package.json +26 -17
@@ -0,0 +1,28 @@
1
+ import { type ShapeType } from '../utils/inkCommands';
2
+ import { type InkPaint } from '../configs/inkPaint';
3
+ export type IWritingBoardProps = {
4
+ paint?: InkPaint;
5
+ model?: 'pen' | 'eraser' | 'mark' | 'shape';
6
+ shapeType?: ShapeType;
7
+ blackboard?: boolean;
8
+ penSize?: number;
9
+ markSize?: number;
10
+ rubberSize?: number;
11
+ shapeSize?: number;
12
+ interactive?: boolean;
13
+ className?: string;
14
+ onEnd?: () => void;
15
+ onHistoryChange?: (payload: {
16
+ canUndo: boolean;
17
+ canRedo: boolean;
18
+ }) => void;
19
+ };
20
+ export type WritingBoardHandle = {
21
+ clearCanvas: () => void;
22
+ getImageDataURL: () => string | undefined;
23
+ setImageDataURL: (imageDataURL: string) => void;
24
+ undo: () => void;
25
+ redo: () => void;
26
+ };
27
+ declare const WritingBoard: import("react").NamedExoticComponent<IWritingBoardProps & import("react").RefAttributes<WritingBoardHandle>>;
28
+ export default WritingBoard;
@@ -0,0 +1,35 @@
1
+ import type { VirtualItem } from '@tanstack/react-virtual';
2
+ export type DragTranslate = {
3
+ x: number;
4
+ y: number;
5
+ scaleX: number;
6
+ scaleY: number;
7
+ };
8
+ export type OverlayPaint = {
9
+ slideId: string;
10
+ width: number;
11
+ height: number;
12
+ thumbX: number;
13
+ thumbY: number;
14
+ thumbW: number;
15
+ thumbH: number;
16
+ };
17
+ /** dnd-kit strips CSS transforms when measuring. Virtual Y must be layout (`top`), not translateY. */
18
+ export declare const virtualRowBox: (row: Pick<VirtualItem, 'start' | 'size'>, drag: Pick<DragTranslate, 'x' | 'y'> | null) => {
19
+ top: number;
20
+ height: number;
21
+ x: number;
22
+ y: number;
23
+ };
24
+ export declare const restrictDragToVertical: ({ transform }: {
25
+ transform: DragTranslate;
26
+ }) => {
27
+ y: number;
28
+ scaleX: number;
29
+ scaleY: number;
30
+ x: number;
31
+ };
32
+ export declare const overlayFromNode: (node: HTMLElement, slideId: string) => OverlayPaint;
33
+ export declare const wheelDeltaPx: (delta: number, deltaMode: number, pageSize: number, lineSize?: number) => number;
34
+ export declare const clampScrollTop: (scrollTop: number, delta: number, max: number) => number;
35
+ export declare const mergeActiveVirtualRow: <T extends Pick<VirtualItem, 'index'>>(rows: readonly T[], activeIndex: number, measured: T | undefined) => T[];
@@ -0,0 +1,7 @@
1
+ import type { ShapeStroke, Stroke } from '../utils/inkCommands';
2
+ export declare const appendEraserPoint: (points: Array<{
3
+ x: number;
4
+ y: number;
5
+ }>, x: number, y: number, size: number, force?: boolean) => boolean;
6
+ export declare const drawShapeStroke: (ctx: CanvasRenderingContext2D, stroke: ShapeStroke) => void;
7
+ export declare const renderStroke: (ctx: CanvasRenderingContext2D, canvas: HTMLCanvasElement, stroke: Stroke, last?: boolean) => void;
@@ -0,0 +1,274 @@
1
+ import type { TurningMode } from '../types/slides';
2
+ export declare const ANIMATION_DEFAULT_DURATION = 1000;
3
+ export declare const ANIMATION_DEFAULT_TRIGGER = "click";
4
+ export declare const ANIMATION_CLASS_PREFIX = "animate__";
5
+ /** Locale-free enter animation structure. Resolve labels at call/render time. */
6
+ export declare const ENTER_ANIMATIONS: readonly [{
7
+ readonly type: 'bounce';
8
+ readonly children: readonly [{
9
+ readonly value: 'bounceIn';
10
+ }, {
11
+ readonly value: 'bounceInLeft';
12
+ }, {
13
+ readonly value: 'bounceInRight';
14
+ }, {
15
+ readonly value: 'bounceInUp';
16
+ }, {
17
+ readonly value: 'bounceInDown';
18
+ }];
19
+ }, {
20
+ readonly type: 'fade';
21
+ readonly children: readonly [{
22
+ readonly value: 'fadeIn';
23
+ }, {
24
+ readonly value: 'fadeInDown';
25
+ }, {
26
+ readonly value: 'fadeInDownBig';
27
+ }, {
28
+ readonly value: 'fadeInLeft';
29
+ }, {
30
+ readonly value: 'fadeInLeftBig';
31
+ }, {
32
+ readonly value: 'fadeInRight';
33
+ }, {
34
+ readonly value: 'fadeInRightBig';
35
+ }, {
36
+ readonly value: 'fadeInUp';
37
+ }, {
38
+ readonly value: 'fadeInUpBig';
39
+ }, {
40
+ readonly value: 'fadeInTopLeft';
41
+ }, {
42
+ readonly value: 'fadeInTopRight';
43
+ }, {
44
+ readonly value: 'fadeInBottomLeft';
45
+ }, {
46
+ readonly value: 'fadeInBottomRight';
47
+ }];
48
+ }, {
49
+ readonly type: 'rotate';
50
+ readonly children: readonly [{
51
+ readonly value: 'rotateIn';
52
+ }, {
53
+ readonly value: 'rotateInDownLeft';
54
+ }, {
55
+ readonly value: 'rotateInDownRight';
56
+ }, {
57
+ readonly value: 'rotateInUpLeft';
58
+ }, {
59
+ readonly value: 'rotateInUpRight';
60
+ }];
61
+ }, {
62
+ readonly type: 'zoom';
63
+ readonly children: readonly [{
64
+ readonly value: 'zoomIn';
65
+ }, {
66
+ readonly value: 'zoomInDown';
67
+ }, {
68
+ readonly value: 'zoomInLeft';
69
+ }, {
70
+ readonly value: 'zoomInRight';
71
+ }, {
72
+ readonly value: 'zoomInUp';
73
+ }];
74
+ }, {
75
+ readonly type: 'slide';
76
+ readonly children: readonly [{
77
+ readonly value: 'slideInDown';
78
+ }, {
79
+ readonly value: 'slideInLeft';
80
+ }, {
81
+ readonly value: 'slideInRight';
82
+ }, {
83
+ readonly value: 'slideInUp';
84
+ }];
85
+ }, {
86
+ readonly type: 'flip';
87
+ readonly children: readonly [{
88
+ readonly value: 'flipInX';
89
+ }, {
90
+ readonly value: 'flipInY';
91
+ }];
92
+ }, {
93
+ readonly type: 'back';
94
+ readonly children: readonly [{
95
+ readonly value: 'backInDown';
96
+ }, {
97
+ readonly value: 'backInLeft';
98
+ }, {
99
+ readonly value: 'backInRight';
100
+ }, {
101
+ readonly value: 'backInUp';
102
+ }];
103
+ }, {
104
+ readonly type: 'lightSpeed';
105
+ readonly children: readonly [{
106
+ readonly value: 'lightSpeedInRight';
107
+ }, {
108
+ readonly value: 'lightSpeedInLeft';
109
+ }];
110
+ }];
111
+ /** Locale-free exit animation structure. Resolve labels at call/render time. */
112
+ export declare const EXIT_ANIMATIONS: readonly [{
113
+ readonly type: 'bounce';
114
+ readonly children: readonly [{
115
+ readonly value: 'bounceOut';
116
+ }, {
117
+ readonly value: 'bounceOutLeft';
118
+ }, {
119
+ readonly value: 'bounceOutRight';
120
+ }, {
121
+ readonly value: 'bounceOutUp';
122
+ }, {
123
+ readonly value: 'bounceOutDown';
124
+ }];
125
+ }, {
126
+ readonly type: 'fade';
127
+ readonly children: readonly [{
128
+ readonly value: 'fadeOut';
129
+ }, {
130
+ readonly value: 'fadeOutDown';
131
+ }, {
132
+ readonly value: 'fadeOutDownBig';
133
+ }, {
134
+ readonly value: 'fadeOutLeft';
135
+ }, {
136
+ readonly value: 'fadeOutLeftBig';
137
+ }, {
138
+ readonly value: 'fadeOutRight';
139
+ }, {
140
+ readonly value: 'fadeOutRightBig';
141
+ }, {
142
+ readonly value: 'fadeOutUp';
143
+ }, {
144
+ readonly value: 'fadeOutUpBig';
145
+ }, {
146
+ readonly value: 'fadeOutTopLeft';
147
+ }, {
148
+ readonly value: 'fadeOutTopRight';
149
+ }, {
150
+ readonly value: 'fadeOutBottomLeft';
151
+ }, {
152
+ readonly value: 'fadeOutBottomRight';
153
+ }];
154
+ }, {
155
+ readonly type: 'rotate';
156
+ readonly children: readonly [{
157
+ readonly value: 'rotateOut';
158
+ }, {
159
+ readonly value: 'rotateOutDownLeft';
160
+ }, {
161
+ readonly value: 'rotateOutDownRight';
162
+ }, {
163
+ readonly value: 'rotateOutUpLeft';
164
+ }, {
165
+ readonly value: 'rotateOutUpRight';
166
+ }];
167
+ }, {
168
+ readonly type: 'zoom';
169
+ readonly children: readonly [{
170
+ readonly value: 'zoomOut';
171
+ }, {
172
+ readonly value: 'zoomOutDown';
173
+ }, {
174
+ readonly value: 'zoomOutLeft';
175
+ }, {
176
+ readonly value: 'zoomOutRight';
177
+ }, {
178
+ readonly value: 'zoomOutUp';
179
+ }];
180
+ }, {
181
+ readonly type: 'slide';
182
+ readonly children: readonly [{
183
+ readonly value: 'slideOutDown';
184
+ }, {
185
+ readonly value: 'slideOutLeft';
186
+ }, {
187
+ readonly value: 'slideOutRight';
188
+ }, {
189
+ readonly value: 'slideOutUp';
190
+ }];
191
+ }, {
192
+ readonly type: 'flip';
193
+ readonly children: readonly [{
194
+ readonly value: 'flipOutX';
195
+ }, {
196
+ readonly value: 'flipOutY';
197
+ }];
198
+ }, {
199
+ readonly type: 'back';
200
+ readonly children: readonly [{
201
+ readonly value: 'backOutDown';
202
+ }, {
203
+ readonly value: 'backOutLeft';
204
+ }, {
205
+ readonly value: 'backOutRight';
206
+ }, {
207
+ readonly value: 'backOutUp';
208
+ }];
209
+ }, {
210
+ readonly type: 'lightSpeed';
211
+ readonly children: readonly [{
212
+ readonly value: 'lightSpeedOutRight';
213
+ }, {
214
+ readonly value: 'lightSpeedOutLeft';
215
+ }];
216
+ }];
217
+ /** Locale-free attention animation structure. Resolve labels at call/render time. */
218
+ export declare const ATTENTION_ANIMATIONS: readonly [{
219
+ readonly type: 'shake';
220
+ readonly children: readonly [{
221
+ readonly value: 'shakeX';
222
+ }, {
223
+ readonly value: 'shakeY';
224
+ }, {
225
+ readonly value: 'headShake';
226
+ }, {
227
+ readonly value: 'swing';
228
+ }, {
229
+ readonly value: 'wobble';
230
+ }, {
231
+ readonly value: 'tada';
232
+ }, {
233
+ readonly value: 'jello';
234
+ }];
235
+ }, {
236
+ readonly type: 'other';
237
+ readonly children: readonly [{
238
+ readonly value: 'bounce';
239
+ }, {
240
+ readonly value: 'flash';
241
+ }, {
242
+ readonly value: 'pulse';
243
+ }, {
244
+ readonly value: 'rubberBand';
245
+ }, {
246
+ readonly value: 'heartBeat';
247
+ }];
248
+ }];
249
+ export interface AnimationPreset {
250
+ name: string;
251
+ value: string;
252
+ }
253
+ export interface AnimationPresetGroup {
254
+ type: string;
255
+ name: string;
256
+ children: AnimationPreset[];
257
+ }
258
+ interface SlideAnimation {
259
+ label: string;
260
+ value: TurningMode;
261
+ }
262
+ /** Locale-free slide transition values. Resolve labels via getSlideAnimations(). */
263
+ export declare const SLIDE_ANIMATIONS: {
264
+ value: TurningMode;
265
+ }[];
266
+ /** Enter animations with labels in the active locale. */
267
+ export declare function getEnterAnimations(): AnimationPresetGroup[];
268
+ /** Exit animations with labels in the active locale. */
269
+ export declare function getExitAnimations(): AnimationPresetGroup[];
270
+ /** Attention animations with labels in the active locale. */
271
+ export declare function getAttentionAnimations(): AnimationPresetGroup[];
272
+ /** Slide transitions with labels in the active locale. */
273
+ export declare function getSlideAnimations(): SlideAnimation[];
274
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { ChartData, ChartType } from '../types/slides';
2
+ /** Stock grid / axis-line color when the chart has no explicit `lineColor`. */
3
+ export declare const DEFAULT_CHART_LINE_COLOR = "#e8ecf4";
4
+ /**
5
+ * Chart type labels for the active locale.
6
+ * Resolve at call/render time — do not cache at module load (locale may change).
7
+ */
8
+ export declare function getChartTypeMap(): Record<ChartType, string>;
9
+ /** Default chart datasets with labels in the active locale. */
10
+ export declare function getChartDefaultData(): Record<ChartType, ChartData>;
11
+ export declare const CHART_PRESET_THEMES: string[][];
@@ -0,0 +1,193 @@
1
+ export interface CodeEditorPayload {
2
+ code: string;
3
+ language: string;
4
+ theme: string;
5
+ fontSize: number;
6
+ showLineNumbers: boolean;
7
+ }
8
+ export declare const DEFAULT_CODE_LANGUAGE = "typescript";
9
+ export declare const DEFAULT_CODE_THEME = "github-dark";
10
+ export declare const DEFAULT_CODE_FONT_SIZE = 18;
11
+ export declare const DEFAULT_CODE_WIDTH = 640;
12
+ export declare const DEFAULT_CODE_HEIGHT = 360;
13
+ export declare const CODE_PAD_X = 16;
14
+ export declare const CODE_PAD_Y = 12;
15
+ export declare const CODE_LINE_HEIGHT = 1.5;
16
+ export declare function measureCodeElementSize(data: Pick<CodeEditorPayload, 'code' | 'fontSize' | 'showLineNumbers'>): {
17
+ width: number;
18
+ height: number;
19
+ };
20
+ export declare const DEFAULT_CODE_SAMPLE = "function greet(name: string) {\n return `Hello, ${name}!`\n}\n\nconsole.log(greet('world'))";
21
+ export declare const CODE_LANGUAGES: readonly [{
22
+ readonly id: 'typescript';
23
+ readonly label: 'TypeScript';
24
+ }, {
25
+ readonly id: 'javascript';
26
+ readonly label: 'JavaScript';
27
+ }, {
28
+ readonly id: 'python';
29
+ readonly label: 'Python';
30
+ }, {
31
+ readonly id: 'json';
32
+ readonly label: 'JSON';
33
+ }, {
34
+ readonly id: 'html';
35
+ readonly label: 'HTML';
36
+ }, {
37
+ readonly id: 'css';
38
+ readonly label: 'CSS';
39
+ }, {
40
+ readonly id: 'vue';
41
+ readonly label: 'Vue';
42
+ }, {
43
+ readonly id: 'rust';
44
+ readonly label: 'Rust';
45
+ }, {
46
+ readonly id: 'go';
47
+ readonly label: 'Go';
48
+ }, {
49
+ readonly id: 'java';
50
+ readonly label: 'Java';
51
+ }, {
52
+ readonly id: 'csharp';
53
+ readonly label: 'C#';
54
+ }, {
55
+ readonly id: 'cpp';
56
+ readonly label: 'C++';
57
+ }, {
58
+ readonly id: 'sql';
59
+ readonly label: 'SQL';
60
+ }, {
61
+ readonly id: 'bash';
62
+ readonly label: 'Bash';
63
+ }, {
64
+ readonly id: 'markdown';
65
+ readonly label: 'Markdown';
66
+ }, {
67
+ readonly id: 'yaml';
68
+ readonly label: 'YAML';
69
+ }, {
70
+ readonly id: 'xml';
71
+ readonly label: 'XML';
72
+ }, {
73
+ readonly id: 'php';
74
+ readonly label: 'PHP';
75
+ }, {
76
+ readonly id: 'ruby';
77
+ readonly label: 'Ruby';
78
+ }, {
79
+ readonly id: 'swift';
80
+ readonly label: 'Swift';
81
+ }, {
82
+ readonly id: 'kotlin';
83
+ readonly label: 'Kotlin';
84
+ }, {
85
+ readonly id: 'plaintext';
86
+ readonly label: 'Plain text';
87
+ }];
88
+ export type CodeLanguageId = (typeof CODE_LANGUAGES)[number]['id'];
89
+ export declare const CODE_LANGUAGE_ALIASES: Record<string, CodeLanguageId>;
90
+ export declare const CODE_THEMES: readonly [{
91
+ readonly id: 'github-dark';
92
+ readonly label: 'GitHub Dark';
93
+ }, {
94
+ readonly id: 'github-light';
95
+ readonly label: 'GitHub Light';
96
+ }, {
97
+ readonly id: 'synthwave-84';
98
+ readonly label: "Synthwave '84";
99
+ }, {
100
+ readonly id: 'laserwave';
101
+ readonly label: 'LaserWave';
102
+ }, {
103
+ readonly id: 'aurora-x';
104
+ readonly label: 'Aurora X';
105
+ }, {
106
+ readonly id: 'andromeeda';
107
+ readonly label: 'Andromeeda';
108
+ }, {
109
+ readonly id: 'houston';
110
+ readonly label: 'Houston';
111
+ }, {
112
+ readonly id: 'dracula';
113
+ readonly label: 'Dracula';
114
+ }, {
115
+ readonly id: 'tokyo-night';
116
+ readonly label: 'Tokyo Night';
117
+ }, {
118
+ readonly id: 'night-owl';
119
+ readonly label: 'Night Owl';
120
+ }, {
121
+ readonly id: 'horizon';
122
+ readonly label: 'Horizon';
123
+ }, {
124
+ readonly id: 'monokai';
125
+ readonly label: 'Monokai';
126
+ }, {
127
+ readonly id: 'plastic';
128
+ readonly label: 'Plastic';
129
+ }, {
130
+ readonly id: 'poimandres';
131
+ readonly label: 'Poimandres';
132
+ }, {
133
+ readonly id: 'ayu-dark';
134
+ readonly label: 'Ayu Dark';
135
+ }, {
136
+ readonly id: 'ayu-mirage';
137
+ readonly label: 'Ayu Mirage';
138
+ }, {
139
+ readonly id: 'vesper';
140
+ readonly label: 'Vesper';
141
+ }, {
142
+ readonly id: 'rose-pine';
143
+ readonly label: 'Rosé Pine';
144
+ }, {
145
+ readonly id: 'rose-pine-moon';
146
+ readonly label: 'Rosé Pine Moon';
147
+ }, {
148
+ readonly id: 'material-theme-palenight';
149
+ readonly label: 'Material Palenight';
150
+ }, {
151
+ readonly id: 'material-theme-ocean';
152
+ readonly label: 'Material Ocean';
153
+ }, {
154
+ readonly id: 'kanagawa-wave';
155
+ readonly label: 'Kanagawa Wave';
156
+ }, {
157
+ readonly id: 'one-dark-pro';
158
+ readonly label: 'One Dark Pro';
159
+ }, {
160
+ readonly id: 'one-light';
161
+ readonly label: 'One Light';
162
+ }, {
163
+ readonly id: 'catppuccin-mocha';
164
+ readonly label: 'Catppuccin Mocha';
165
+ }, {
166
+ readonly id: 'catppuccin-macchiato';
167
+ readonly label: 'Catppuccin Macchiato';
168
+ }, {
169
+ readonly id: 'catppuccin-frappe';
170
+ readonly label: 'Catppuccin Frappé';
171
+ }, {
172
+ readonly id: 'catppuccin-latte';
173
+ readonly label: 'Catppuccin Latte';
174
+ }, {
175
+ readonly id: 'vitesse-dark';
176
+ readonly label: 'Vitesse Dark';
177
+ }, {
178
+ readonly id: 'vitesse-light';
179
+ readonly label: 'Vitesse Light';
180
+ }, {
181
+ readonly id: 'nord';
182
+ readonly label: 'Nord';
183
+ }, {
184
+ readonly id: 'min-dark';
185
+ readonly label: 'Min Dark';
186
+ }, {
187
+ readonly id: 'min-light';
188
+ readonly label: 'Min Light';
189
+ }];
190
+ export type CodeThemeId = (typeof CODE_THEMES)[number]['id'];
191
+ export declare function resolveCodeLanguage(language: string): CodeLanguageId;
192
+ export declare function resolveCodeTheme(theme: string): CodeThemeId;
193
+ export declare function isLightCodeTheme(theme: string): boolean;
@@ -0,0 +1,3 @@
1
+ /** Element type labels in the active locale. */
2
+ export declare function getElementTypeZh(): Record<string, string>;
3
+ export declare const MIN_SIZE: Record<string, number>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Optional host-provided fallback for export-time media fetches.
3
+ *
4
+ * Direct browser `fetch` of third-party image URLs often fails CORS (the image
5
+ * still displays via <img>, but XHR/fetch cannot read the bytes for PPTX
6
+ * packaging). Hosts like sciobot-next can supply a same-origin proxy that
7
+ * returns a data: URL.
8
+ */
9
+ export type FikaExportMediaResolver = (url: string) => Promise<string | null | undefined>;
10
+ export declare function setFikaExportMediaResolver(resolver?: FikaExportMediaResolver | null): void;
11
+ export declare function getFikaExportMediaResolver(): FikaExportMediaResolver | null;
@@ -0,0 +1,11 @@
1
+ import type { DialogForExportTypes } from '../types/export';
2
+ /** Non-empty export dialog format ids. */
3
+ export type ExportTabId = Exclude<DialogForExportTypes, ''>;
4
+ export type FikaExportTabsConfig = Partial<Record<ExportTabId, boolean>>;
5
+ /** Configure which export formats are available in an embedded host. Omitted keys stay enabled. */
6
+ export declare function setFikaExportTabs(config?: FikaExportTabsConfig): void;
7
+ export declare function getFikaExportTabs(): Readonly<Record<ExportTabId, boolean>>;
8
+ export declare function isExportTabEnabled(tab: ExportTabId): boolean;
9
+ export declare function getEnabledExportTabs(): ExportTabId[];
10
+ /** Resolve a requested export format to an enabled one, or close the dialog when none are enabled. */
11
+ export declare function resolveExportDialogType(type: DialogForExportTypes): DialogForExportTypes;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Compile-time feature flags.
3
+ *
4
+ * `EXTRAS_ENABLED` gates demo / upstream-only chrome that has no place in an
5
+ * embedded product build: the GitHub link, the
6
+ * feedback & FAQ links, and the "for testing only" demo disclaimer.
7
+ *
8
+ * The value comes from the `__FIKA_EXTRAS_ENABLED__` constant that Rsbuild
9
+ * replaces at build time (see `rsbuild.config.ts` / `rsbuild.config.embed.ts`). Because
10
+ * it resolves to a literal `true`/`false`, any `if (EXTRAS_ENABLED)` branch is
11
+ * eliminated by the bundler when the flag
12
+ * is off — the default for consumer builds. Enable it with
13
+ * `FIKA_EXTRAS_ENABLED=true` at build time.
14
+ */
15
+ export declare const EXTRAS_ENABLED: boolean;
@@ -0,0 +1,27 @@
1
+ export declare const FONT_SIZE_PRESETS: readonly [12, 14, 16, 18, 20, 22, 24, 28, 32, 36, 40, 44, 48, 54, 60, 66, 72, 76, 80, 88, 96, 104, 112, 120];
2
+ export declare const FONT_SIZE_MIN: number;
3
+ export declare const FONT_SIZE_MAX: number;
4
+ export declare const FONT_SIZE_STEP = 2;
5
+ export declare const FONT_SIZE_PX_OPTIONS: {
6
+ label: string;
7
+ value: string;
8
+ }[];
9
+ export declare const FONT_SIZE_NUMBER_OPTIONS: {
10
+ label: string;
11
+ value: 12 | 14 | 16 | 18 | 20 | 22 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 54 | 60 | 66 | 72 | 76 | 80 | 88 | 96 | 104 | 112 | 120;
12
+ }[];
13
+ export declare function parseFontSize(value: string | number | undefined, fallback?: number): number;
14
+ export declare function clampFontSize(size: number, min?: number, max?: number): number;
15
+ export declare function stepFontSize(size: number, direction: 1 | -1, min?: number, max?: number): number;
16
+ export declare function fontSizeToPx(size: number): string;
17
+ export declare const FONT_VALUES: readonly ['', 'SourceSerif4', 'JetBrainsMono', 'Literata', 'Inter', 'Roboto', 'OpenSans', 'Montserrat', 'SourceSansPro', 'Merriweather', 'Lato'];
18
+ export interface FontOption {
19
+ label: string;
20
+ value: string;
21
+ }
22
+ /** CJK faces that used to ship with extras builds; strip them from templates. */
23
+ export declare const EASTERN_EXTRAS_FONT_VALUES: string[];
24
+ /** @deprecated Use FONT_VALUES — kept for loadGoogleFonts preset detection */
25
+ export declare const FONTS: FontOption[];
26
+ export declare function getFonts(): FontOption[];
27
+ export declare function useFonts(): FontOption[];
@@ -0,0 +1,4 @@
1
+ import type { FikaHeaderMenuItem } from '../embed/types';
2
+ /** Host-configured extra entries for the editor header's screening dropdown. */
3
+ export declare function setFikaHeaderMenuItems(items?: FikaHeaderMenuItem[]): void;
4
+ export declare function getFikaHeaderMenuItems(): readonly FikaHeaderMenuItem[];
@@ -0,0 +1,42 @@
1
+ export declare const enum KEYS {
2
+ C = "C",
3
+ X = "X",
4
+ Z = "Z",
5
+ Y = "Y",
6
+ A = "A",
7
+ G = "G",
8
+ L = "L",
9
+ F = "F",
10
+ D = "D",
11
+ B = "B",
12
+ P = "P",
13
+ O = "O",
14
+ R = "R",
15
+ T = "T",
16
+ MINUS = "-",
17
+ EQUAL = "=",
18
+ DIGIT_0 = "0",
19
+ DELETE = "DELETE",
20
+ UP = "ARROWUP",
21
+ DOWN = "ARROWDOWN",
22
+ LEFT = "ARROWLEFT",
23
+ RIGHT = "ARROWRIGHT",
24
+ ENTER = "ENTER",
25
+ SPACE = " ",
26
+ TAB = "TAB",
27
+ BACKSPACE = "BACKSPACE",
28
+ ESC = "ESCAPE",
29
+ PAGEUP = "PAGEUP",
30
+ PAGEDOWN = "PAGEDOWN",
31
+ F5 = "F5"
32
+ }
33
+ interface HotkeyItem {
34
+ type: string;
35
+ children: {
36
+ label: string;
37
+ value?: string;
38
+ }[];
39
+ }
40
+ /** Hotkey documentation with labels in the active locale. */
41
+ export declare function getHotkeyDoc(): HotkeyItem[];
42
+ export {};