@vervedoc/ppt 1.0.2

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 (528) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +44 -0
  3. package/dist/components/CheckboxButton.vue.d.ts +15 -0
  4. package/dist/components/CheckboxButton.vue.d.ts.map +1 -0
  5. package/dist/components/CheckboxButtonGroup.vue.d.ts +3 -0
  6. package/dist/components/CheckboxButtonGroup.vue.d.ts.map +1 -0
  7. package/dist/components/ColorPicker/Alpha.vue.d.ts +60 -0
  8. package/dist/components/ColorPicker/Alpha.vue.d.ts.map +1 -0
  9. package/dist/components/ColorPicker/Checkboard.vue.d.ts +39 -0
  10. package/dist/components/ColorPicker/Checkboard.vue.d.ts.map +1 -0
  11. package/dist/components/ColorPicker/EditableInput.vue.d.ts +20 -0
  12. package/dist/components/ColorPicker/EditableInput.vue.d.ts.map +1 -0
  13. package/dist/components/ColorPicker/Hue.vue.d.ts +29 -0
  14. package/dist/components/ColorPicker/Hue.vue.d.ts.map +1 -0
  15. package/dist/components/ColorPicker/Saturation.vue.d.ts +31 -0
  16. package/dist/components/ColorPicker/Saturation.vue.d.ts.map +1 -0
  17. package/dist/components/ColorPicker/index.vue.d.ts +191 -0
  18. package/dist/components/ColorPicker/index.vue.d.ts.map +1 -0
  19. package/dist/components/Contextmenu/MenuContent.vue.d.ts +23 -0
  20. package/dist/components/Contextmenu/MenuContent.vue.d.ts.map +1 -0
  21. package/dist/components/Contextmenu/index.vue.d.ts +65 -0
  22. package/dist/components/Contextmenu/index.vue.d.ts.map +1 -0
  23. package/dist/components/Contextmenu/types.d.ts +14 -0
  24. package/dist/components/Contextmenu/types.d.ts.map +1 -0
  25. package/dist/components/FileInput.vue.d.ts +21 -0
  26. package/dist/components/FileInput.vue.d.ts.map +1 -0
  27. package/dist/components/FullscreenSpin.vue.d.ts +24 -0
  28. package/dist/components/FullscreenSpin.vue.d.ts.map +1 -0
  29. package/dist/components/LaTeXEditor/FormulaContent.vue.d.ts +48 -0
  30. package/dist/components/LaTeXEditor/FormulaContent.vue.d.ts.map +1 -0
  31. package/dist/components/LaTeXEditor/SymbolContent.vue.d.ts +15 -0
  32. package/dist/components/LaTeXEditor/SymbolContent.vue.d.ts.map +1 -0
  33. package/dist/components/LaTeXEditor/hfmath.d.ts +3 -0
  34. package/dist/components/LaTeXEditor/hfmath.d.ts.map +1 -0
  35. package/dist/components/LaTeXEditor/index.vue.d.ts +104 -0
  36. package/dist/components/LaTeXEditor/index.vue.d.ts.map +1 -0
  37. package/dist/components/PptEditor.vue.d.ts +33 -0
  38. package/dist/components/PptEditor.vue.d.ts.map +1 -0
  39. package/dist/components/UnifiedTopHeader.vue.d.ts +21 -0
  40. package/dist/components/UnifiedTopHeader.vue.d.ts.map +1 -0
  41. package/dist/components/WritingBoard.vue.d.ts +60 -0
  42. package/dist/components/WritingBoard.vue.d.ts.map +1 -0
  43. package/dist/configs/animation.d.ts +28 -0
  44. package/dist/configs/animation.d.ts.map +1 -0
  45. package/dist/configs/canvas.d.ts +4 -0
  46. package/dist/configs/canvas.d.ts.map +1 -0
  47. package/dist/configs/chartTypes.d.ts +7 -0
  48. package/dist/configs/chartTypes.d.ts.map +1 -0
  49. package/dist/configs/element.d.ts +3 -0
  50. package/dist/configs/element.d.ts.map +1 -0
  51. package/dist/configs/font.d.ts +9 -0
  52. package/dist/configs/font.d.ts.map +1 -0
  53. package/dist/configs/hotkey.d.ts +37 -0
  54. package/dist/configs/hotkey.d.ts.map +1 -0
  55. package/dist/configs/imageClip.d.ts +106 -0
  56. package/dist/configs/imageClip.d.ts.map +1 -0
  57. package/dist/configs/latex.d.ts +12 -0
  58. package/dist/configs/latex.d.ts.map +1 -0
  59. package/dist/configs/lines.d.ts +15 -0
  60. package/dist/configs/lines.d.ts.map +1 -0
  61. package/dist/configs/shapes.d.ts +28 -0
  62. package/dist/configs/shapes.d.ts.map +1 -0
  63. package/dist/configs/storage.d.ts +2 -0
  64. package/dist/configs/storage.d.ts.map +1 -0
  65. package/dist/configs/symbol.d.ts +6 -0
  66. package/dist/configs/symbol.d.ts.map +1 -0
  67. package/dist/configs/theme.d.ts +6 -0
  68. package/dist/configs/theme.d.ts.map +1 -0
  69. package/dist/hooks/useAddSlidesOrElements.d.ts +7 -0
  70. package/dist/hooks/useAddSlidesOrElements.d.ts.map +1 -0
  71. package/dist/hooks/useAlignActiveElement.d.ts +6 -0
  72. package/dist/hooks/useAlignActiveElement.d.ts.map +1 -0
  73. package/dist/hooks/useAlignElementToCanvas.d.ts +6 -0
  74. package/dist/hooks/useAlignElementToCanvas.d.ts.map +1 -0
  75. package/dist/hooks/useCombineElement.d.ts +7 -0
  76. package/dist/hooks/useCombineElement.d.ts.map +1 -0
  77. package/dist/hooks/useCopyAndPasteElement.d.ts +8 -0
  78. package/dist/hooks/useCopyAndPasteElement.d.ts.map +1 -0
  79. package/dist/hooks/useCreateElement.d.ts +33 -0
  80. package/dist/hooks/useCreateElement.d.ts.map +1 -0
  81. package/dist/hooks/useDeleteElement.d.ts +6 -0
  82. package/dist/hooks/useDeleteElement.d.ts.map +1 -0
  83. package/dist/hooks/useExport.d.ts +11 -0
  84. package/dist/hooks/useExport.d.ts.map +1 -0
  85. package/dist/hooks/useGlobalHotkey.d.ts +3 -0
  86. package/dist/hooks/useGlobalHotkey.d.ts.map +1 -0
  87. package/dist/hooks/useHistorySnapshot.d.ts +7 -0
  88. package/dist/hooks/useHistorySnapshot.d.ts.map +1 -0
  89. package/dist/hooks/useLink.d.ts +7 -0
  90. package/dist/hooks/useLink.d.ts.map +1 -0
  91. package/dist/hooks/useLoadSlides.d.ts +5 -0
  92. package/dist/hooks/useLoadSlides.d.ts.map +1 -0
  93. package/dist/hooks/useLockElement.d.ts +7 -0
  94. package/dist/hooks/useLockElement.d.ts.map +1 -0
  95. package/dist/hooks/useMoveElement.d.ts +5 -0
  96. package/dist/hooks/useMoveElement.d.ts.map +1 -0
  97. package/dist/hooks/useOrderElement.d.ts +7 -0
  98. package/dist/hooks/useOrderElement.d.ts.map +1 -0
  99. package/dist/hooks/usePasteEvent.d.ts +3 -0
  100. package/dist/hooks/usePasteEvent.d.ts.map +1 -0
  101. package/dist/hooks/usePasteTextClipboardData.d.ts +9 -0
  102. package/dist/hooks/usePasteTextClipboardData.d.ts.map +1 -0
  103. package/dist/hooks/useScaleCanvas.d.ts +8 -0
  104. package/dist/hooks/useScaleCanvas.d.ts.map +1 -0
  105. package/dist/hooks/useScreening.d.ts +7 -0
  106. package/dist/hooks/useScreening.d.ts.map +1 -0
  107. package/dist/hooks/useSelectAllElement.d.ts +5 -0
  108. package/dist/hooks/useSelectAllElement.d.ts.map +1 -0
  109. package/dist/hooks/useSlideBackgroundStyle.d.ts +22 -0
  110. package/dist/hooks/useSlideBackgroundStyle.d.ts.map +1 -0
  111. package/dist/hooks/useSlideHandler.d.ts +15 -0
  112. package/dist/hooks/useSlideHandler.d.ts.map +1 -0
  113. package/dist/hooks/useUniformDisplayElement.d.ts +7 -0
  114. package/dist/hooks/useUniformDisplayElement.d.ts.map +1 -0
  115. package/dist/i18n/enUS.d.ts +67 -0
  116. package/dist/i18n/enUS.d.ts.map +1 -0
  117. package/dist/i18n/index.d.ts +15 -0
  118. package/dist/i18n/index.d.ts.map +1 -0
  119. package/dist/i18n/types.d.ts +3 -0
  120. package/dist/i18n/types.d.ts.map +1 -0
  121. package/dist/i18n/zhCN.d.ts +67 -0
  122. package/dist/i18n/zhCN.d.ts.map +1 -0
  123. package/dist/index.d.ts +6 -0
  124. package/dist/index.d.ts.map +1 -0
  125. package/dist/main.d.ts +1 -0
  126. package/dist/main.d.ts.map +1 -0
  127. package/dist/mocks/layout.d.ts +3 -0
  128. package/dist/mocks/layout.d.ts.map +1 -0
  129. package/dist/mocks/slides.d.ts +3 -0
  130. package/dist/mocks/slides.d.ts.map +1 -0
  131. package/dist/mocks/theme.d.ts +3 -0
  132. package/dist/mocks/theme.d.ts.map +1 -0
  133. package/dist/object/PptEditor.d.ts +24 -0
  134. package/dist/object/PptEditor.d.ts.map +1 -0
  135. package/dist/plugins/component.d.ts +6 -0
  136. package/dist/plugins/component.d.ts.map +1 -0
  137. package/dist/plugins/directive/clickOutside.d.ts +4 -0
  138. package/dist/plugins/directive/clickOutside.d.ts.map +1 -0
  139. package/dist/plugins/directive/contextmenu.d.ts +4 -0
  140. package/dist/plugins/directive/contextmenu.d.ts.map +1 -0
  141. package/dist/plugins/directive/index.d.ts +6 -0
  142. package/dist/plugins/directive/index.d.ts.map +1 -0
  143. package/dist/plugins/icon.d.ts +6 -0
  144. package/dist/plugins/icon.d.ts.map +1 -0
  145. package/dist/ppt-editor-ui.js +31539 -0
  146. package/dist/store/index.d.ts +7 -0
  147. package/dist/store/index.d.ts.map +1 -0
  148. package/dist/store/keyboard.d.ts +17 -0
  149. package/dist/store/keyboard.d.ts.map +1 -0
  150. package/dist/store/main.d.ts +1069 -0
  151. package/dist/store/main.d.ts.map +1 -0
  152. package/dist/store/screen.d.ts +7 -0
  153. package/dist/store/screen.d.ts.map +1 -0
  154. package/dist/store/slides.d.ts +2422 -0
  155. package/dist/store/slides.d.ts.map +1 -0
  156. package/dist/store/snapshot.d.ts +22 -0
  157. package/dist/store/snapshot.d.ts.map +1 -0
  158. package/dist/types/edit.d.ts +86 -0
  159. package/dist/types/edit.d.ts.map +1 -0
  160. package/dist/types/export.d.ts +2 -0
  161. package/dist/types/export.d.ts.map +1 -0
  162. package/dist/types/injectKey.d.ts +6 -0
  163. package/dist/types/injectKey.d.ts.map +1 -0
  164. package/dist/types/slides.d.ts +629 -0
  165. package/dist/types/slides.d.ts.map +1 -0
  166. package/dist/types/toolbar.d.ts +10 -0
  167. package/dist/types/toolbar.d.ts.map +1 -0
  168. package/dist/utils/clipboard.d.ts +9 -0
  169. package/dist/utils/clipboard.d.ts.map +1 -0
  170. package/dist/utils/common.d.ts +11 -0
  171. package/dist/utils/common.d.ts.map +1 -0
  172. package/dist/utils/crypto.d.ts +11 -0
  173. package/dist/utils/crypto.d.ts.map +1 -0
  174. package/dist/utils/database.d.ts +14 -0
  175. package/dist/utils/database.d.ts.map +1 -0
  176. package/dist/utils/element.d.ts +75 -0
  177. package/dist/utils/element.d.ts.map +1 -0
  178. package/dist/utils/emitter.d.ts +22 -0
  179. package/dist/utils/emitter.d.ts.map +1 -0
  180. package/dist/utils/font.d.ts +6 -0
  181. package/dist/utils/font.d.ts.map +1 -0
  182. package/dist/utils/fullscreen.d.ts +4 -0
  183. package/dist/utils/fullscreen.d.ts.map +1 -0
  184. package/dist/utils/htmlParser/format.d.ts +4 -0
  185. package/dist/utils/htmlParser/format.d.ts.map +1 -0
  186. package/dist/utils/htmlParser/index.d.ts +5 -0
  187. package/dist/utils/htmlParser/index.d.ts.map +1 -0
  188. package/dist/utils/htmlParser/lexer.d.ts +3 -0
  189. package/dist/utils/htmlParser/lexer.d.ts.map +1 -0
  190. package/dist/utils/htmlParser/parser.d.ts +16 -0
  191. package/dist/utils/htmlParser/parser.d.ts.map +1 -0
  192. package/dist/utils/htmlParser/stringify.d.ts +4 -0
  193. package/dist/utils/htmlParser/stringify.d.ts.map +1 -0
  194. package/dist/utils/htmlParser/tags.d.ts +14 -0
  195. package/dist/utils/htmlParser/tags.d.ts.map +1 -0
  196. package/dist/utils/htmlParser/types.d.ts +56 -0
  197. package/dist/utils/htmlParser/types.d.ts.map +1 -0
  198. package/dist/utils/image.d.ts +16 -0
  199. package/dist/utils/image.d.ts.map +1 -0
  200. package/dist/utils/pptxImport/color.resolver.d.ts +29 -0
  201. package/dist/utils/pptxImport/color.resolver.d.ts.map +1 -0
  202. package/dist/utils/pptxImport/constants.d.ts +38 -0
  203. package/dist/utils/pptxImport/constants.d.ts.map +1 -0
  204. package/dist/utils/pptxImport/index.d.ts +12 -0
  205. package/dist/utils/pptxImport/index.d.ts.map +1 -0
  206. package/dist/utils/pptxImport/parsers/background.parser.d.ts +11 -0
  207. package/dist/utils/pptxImport/parsers/background.parser.d.ts.map +1 -0
  208. package/dist/utils/pptxImport/parsers/chart.parser.d.ts +7 -0
  209. package/dist/utils/pptxImport/parsers/chart.parser.d.ts.map +1 -0
  210. package/dist/utils/pptxImport/parsers/group.parser.d.ts +8 -0
  211. package/dist/utils/pptxImport/parsers/group.parser.d.ts.map +1 -0
  212. package/dist/utils/pptxImport/parsers/image.parser.d.ts +7 -0
  213. package/dist/utils/pptxImport/parsers/image.parser.d.ts.map +1 -0
  214. package/dist/utils/pptxImport/parsers/line.parser.d.ts +7 -0
  215. package/dist/utils/pptxImport/parsers/line.parser.d.ts.map +1 -0
  216. package/dist/utils/pptxImport/parsers/media.parser.d.ts +11 -0
  217. package/dist/utils/pptxImport/parsers/media.parser.d.ts.map +1 -0
  218. package/dist/utils/pptxImport/parsers/shape.parser.d.ts +13 -0
  219. package/dist/utils/pptxImport/parsers/shape.parser.d.ts.map +1 -0
  220. package/dist/utils/pptxImport/parsers/table.parser.d.ts +7 -0
  221. package/dist/utils/pptxImport/parsers/table.parser.d.ts.map +1 -0
  222. package/dist/utils/pptxImport/parsers/text.parser.d.ts +29 -0
  223. package/dist/utils/pptxImport/parsers/text.parser.d.ts.map +1 -0
  224. package/dist/utils/pptxImport/preset-shapes.d.ts +14 -0
  225. package/dist/utils/pptxImport/preset-shapes.d.ts.map +1 -0
  226. package/dist/utils/pptxImport/rels.resolver.d.ts +10 -0
  227. package/dist/utils/pptxImport/rels.resolver.d.ts.map +1 -0
  228. package/dist/utils/pptxImport/slide.parser.d.ts +12 -0
  229. package/dist/utils/pptxImport/slide.parser.d.ts.map +1 -0
  230. package/dist/utils/pptxImport/theme.resolver.d.ts +3 -0
  231. package/dist/utils/pptxImport/theme.resolver.d.ts.map +1 -0
  232. package/dist/utils/pptxImport/types.d.ts +59 -0
  233. package/dist/utils/pptxImport/types.d.ts.map +1 -0
  234. package/dist/utils/pptxImport/xml.helper.d.ts +15 -0
  235. package/dist/utils/pptxImport/xml.helper.d.ts.map +1 -0
  236. package/dist/utils/print.d.ts +8 -0
  237. package/dist/utils/print.d.ts.map +1 -0
  238. package/dist/utils/prosemirror/commands/setTextAlign.d.ts +6 -0
  239. package/dist/utils/prosemirror/commands/setTextAlign.d.ts.map +1 -0
  240. package/dist/utils/prosemirror/commands/setTextIndent.d.ts +3 -0
  241. package/dist/utils/prosemirror/commands/setTextIndent.d.ts.map +1 -0
  242. package/dist/utils/prosemirror/commands/toggleList.d.ts +5 -0
  243. package/dist/utils/prosemirror/commands/toggleList.d.ts.map +1 -0
  244. package/dist/utils/prosemirror/index.d.ts +4 -0
  245. package/dist/utils/prosemirror/index.d.ts.map +1 -0
  246. package/dist/utils/prosemirror/plugins/index.d.ts +8 -0
  247. package/dist/utils/prosemirror/plugins/index.d.ts.map +1 -0
  248. package/dist/utils/prosemirror/plugins/inputrules.d.ts +8 -0
  249. package/dist/utils/prosemirror/plugins/inputrules.d.ts.map +1 -0
  250. package/dist/utils/prosemirror/plugins/keymap.d.ts +4 -0
  251. package/dist/utils/prosemirror/plugins/keymap.d.ts.map +1 -0
  252. package/dist/utils/prosemirror/schema/index.d.ts +29 -0
  253. package/dist/utils/prosemirror/schema/index.d.ts.map +1 -0
  254. package/dist/utils/prosemirror/schema/marks.d.ts +17 -0
  255. package/dist/utils/prosemirror/schema/marks.d.ts.map +1 -0
  256. package/dist/utils/prosemirror/schema/nodes.d.ts +17 -0
  257. package/dist/utils/prosemirror/schema/nodes.d.ts.map +1 -0
  258. package/dist/utils/prosemirror/utils.d.ts +67 -0
  259. package/dist/utils/prosemirror/utils.d.ts.map +1 -0
  260. package/dist/utils/selection.d.ts +2 -0
  261. package/dist/utils/selection.d.ts.map +1 -0
  262. package/dist/utils/svg2Base64.d.ts +2 -0
  263. package/dist/utils/svg2Base64.d.ts.map +1 -0
  264. package/dist/utils/svgPathParser.d.ts +13 -0
  265. package/dist/utils/svgPathParser.d.ts.map +1 -0
  266. package/dist/utils/textParser.d.ts +6 -0
  267. package/dist/utils/textParser.d.ts.map +1 -0
  268. package/dist/views/Editor/Canvas/AlignmentLine.vue.d.ts +41 -0
  269. package/dist/views/Editor/Canvas/AlignmentLine.vue.d.ts.map +1 -0
  270. package/dist/views/Editor/Canvas/EditableElement.vue.d.ts +1184 -0
  271. package/dist/views/Editor/Canvas/EditableElement.vue.d.ts.map +1 -0
  272. package/dist/views/Editor/Canvas/ElementCreateSelection.vue.d.ts +31 -0
  273. package/dist/views/Editor/Canvas/ElementCreateSelection.vue.d.ts.map +1 -0
  274. package/dist/views/Editor/Canvas/GridLines.vue.d.ts +9 -0
  275. package/dist/views/Editor/Canvas/GridLines.vue.d.ts.map +1 -0
  276. package/dist/views/Editor/Canvas/LinkDialog.vue.d.ts +635 -0
  277. package/dist/views/Editor/Canvas/LinkDialog.vue.d.ts.map +1 -0
  278. package/dist/views/Editor/Canvas/MouseSelection.vue.d.ts +47 -0
  279. package/dist/views/Editor/Canvas/MouseSelection.vue.d.ts.map +1 -0
  280. package/dist/views/Editor/Canvas/Operate/BorderLine.vue.d.ts +25 -0
  281. package/dist/views/Editor/Canvas/Operate/BorderLine.vue.d.ts.map +1 -0
  282. package/dist/views/Editor/Canvas/Operate/CommonElementOperate.vue.d.ts +149 -0
  283. package/dist/views/Editor/Canvas/Operate/CommonElementOperate.vue.d.ts.map +1 -0
  284. package/dist/views/Editor/Canvas/Operate/ImageElementOperate.vue.d.ts +148 -0
  285. package/dist/views/Editor/Canvas/Operate/ImageElementOperate.vue.d.ts.map +1 -0
  286. package/dist/views/Editor/Canvas/Operate/LineElementOperate.vue.d.ts +68 -0
  287. package/dist/views/Editor/Canvas/Operate/LineElementOperate.vue.d.ts.map +1 -0
  288. package/dist/views/Editor/Canvas/Operate/LinkHandler.vue.d.ts +35 -0
  289. package/dist/views/Editor/Canvas/Operate/LinkHandler.vue.d.ts.map +1 -0
  290. package/dist/views/Editor/Canvas/Operate/MultiSelectOperate.vue.d.ts +147 -0
  291. package/dist/views/Editor/Canvas/Operate/MultiSelectOperate.vue.d.ts.map +1 -0
  292. package/dist/views/Editor/Canvas/Operate/ResizeHandler.vue.d.ts +28 -0
  293. package/dist/views/Editor/Canvas/Operate/ResizeHandler.vue.d.ts.map +1 -0
  294. package/dist/views/Editor/Canvas/Operate/RotateHandler.vue.d.ts +3 -0
  295. package/dist/views/Editor/Canvas/Operate/RotateHandler.vue.d.ts.map +1 -0
  296. package/dist/views/Editor/Canvas/Operate/ShapeElementOperate.vue.d.ts +147 -0
  297. package/dist/views/Editor/Canvas/Operate/ShapeElementOperate.vue.d.ts.map +1 -0
  298. package/dist/views/Editor/Canvas/Operate/TableElementOperate.vue.d.ts +135 -0
  299. package/dist/views/Editor/Canvas/Operate/TableElementOperate.vue.d.ts.map +1 -0
  300. package/dist/views/Editor/Canvas/Operate/TextElementOperate.vue.d.ts +135 -0
  301. package/dist/views/Editor/Canvas/Operate/TextElementOperate.vue.d.ts.map +1 -0
  302. package/dist/views/Editor/Canvas/Operate/index.vue.d.ts +864 -0
  303. package/dist/views/Editor/Canvas/Operate/index.vue.d.ts.map +1 -0
  304. package/dist/views/Editor/Canvas/Ruler.vue.d.ts +23 -0
  305. package/dist/views/Editor/Canvas/Ruler.vue.d.ts.map +1 -0
  306. package/dist/views/Editor/Canvas/ViewportBackground.vue.d.ts +29 -0
  307. package/dist/views/Editor/Canvas/ViewportBackground.vue.d.ts.map +1 -0
  308. package/dist/views/Editor/Canvas/hooks/useCommonOperate.d.ts +77 -0
  309. package/dist/views/Editor/Canvas/hooks/useCommonOperate.d.ts.map +1 -0
  310. package/dist/views/Editor/Canvas/hooks/useDragElement.d.ts +8 -0
  311. package/dist/views/Editor/Canvas/hooks/useDragElement.d.ts.map +1 -0
  312. package/dist/views/Editor/Canvas/hooks/useDragLineElement.d.ts +8 -0
  313. package/dist/views/Editor/Canvas/hooks/useDragLineElement.d.ts.map +1 -0
  314. package/dist/views/Editor/Canvas/hooks/useDropImageOrText.d.ts +4 -0
  315. package/dist/views/Editor/Canvas/hooks/useDropImageOrText.d.ts.map +1 -0
  316. package/dist/views/Editor/Canvas/hooks/useInsertFromCreateSelection.d.ts +7 -0
  317. package/dist/views/Editor/Canvas/hooks/useInsertFromCreateSelection.d.ts.map +1 -0
  318. package/dist/views/Editor/Canvas/hooks/useMouseSelection.d.ts +25 -0
  319. package/dist/views/Editor/Canvas/hooks/useMouseSelection.d.ts.map +1 -0
  320. package/dist/views/Editor/Canvas/hooks/useRotateElement.d.ts +7 -0
  321. package/dist/views/Editor/Canvas/hooks/useRotateElement.d.ts.map +1 -0
  322. package/dist/views/Editor/Canvas/hooks/useScaleElement.d.ts +9 -0
  323. package/dist/views/Editor/Canvas/hooks/useScaleElement.d.ts.map +1 -0
  324. package/dist/views/Editor/Canvas/hooks/useSelectElement.d.ts +8 -0
  325. package/dist/views/Editor/Canvas/hooks/useSelectElement.d.ts.map +1 -0
  326. package/dist/views/Editor/Canvas/hooks/useViewportSize.d.ts +12 -0
  327. package/dist/views/Editor/Canvas/hooks/useViewportSize.d.ts.map +1 -0
  328. package/dist/views/Editor/Canvas/index.vue.d.ts +3917 -0
  329. package/dist/views/Editor/Canvas/index.vue.d.ts.map +1 -0
  330. package/dist/views/Editor/CanvasTool/ChartPool.vue.d.ts +9 -0
  331. package/dist/views/Editor/CanvasTool/ChartPool.vue.d.ts.map +1 -0
  332. package/dist/views/Editor/CanvasTool/LinePool.vue.d.ts +55 -0
  333. package/dist/views/Editor/CanvasTool/LinePool.vue.d.ts.map +1 -0
  334. package/dist/views/Editor/CanvasTool/MediaInput.vue.d.ts +20 -0
  335. package/dist/views/Editor/CanvasTool/MediaInput.vue.d.ts.map +1 -0
  336. package/dist/views/Editor/CanvasTool/ShapePool.vue.d.ts +9 -0
  337. package/dist/views/Editor/CanvasTool/ShapePool.vue.d.ts.map +1 -0
  338. package/dist/views/Editor/CanvasTool/TableGenerator.vue.d.ts +19 -0
  339. package/dist/views/Editor/CanvasTool/TableGenerator.vue.d.ts.map +1 -0
  340. package/dist/views/Editor/CanvasTool/index.vue.d.ts +234 -0
  341. package/dist/views/Editor/CanvasTool/index.vue.d.ts.map +1 -0
  342. package/dist/views/Editor/EditorHeader/HotkeyDoc.vue.d.ts +11 -0
  343. package/dist/views/Editor/EditorHeader/HotkeyDoc.vue.d.ts.map +1 -0
  344. package/dist/views/Editor/ExportDialog/ExportImage.vue.d.ts +631 -0
  345. package/dist/views/Editor/ExportDialog/ExportImage.vue.d.ts.map +1 -0
  346. package/dist/views/Editor/ExportDialog/ExportJSON.vue.d.ts +7 -0
  347. package/dist/views/Editor/ExportDialog/ExportJSON.vue.d.ts.map +1 -0
  348. package/dist/views/Editor/ExportDialog/ExportPDF.vue.d.ts +1094 -0
  349. package/dist/views/Editor/ExportDialog/ExportPDF.vue.d.ts.map +1 -0
  350. package/dist/views/Editor/ExportDialog/ExportPPTX.vue.d.ts +12 -0
  351. package/dist/views/Editor/ExportDialog/ExportPPTX.vue.d.ts.map +1 -0
  352. package/dist/views/Editor/ExportDialog/ExportSpecificFile.vue.d.ts +10 -0
  353. package/dist/views/Editor/ExportDialog/ExportSpecificFile.vue.d.ts.map +1 -0
  354. package/dist/views/Editor/ExportDialog/index.vue.d.ts +13 -0
  355. package/dist/views/Editor/ExportDialog/index.vue.d.ts.map +1 -0
  356. package/dist/views/Editor/Remark/index.vue.d.ts +19 -0
  357. package/dist/views/Editor/Remark/index.vue.d.ts.map +1 -0
  358. package/dist/views/Editor/Thumbnails/LayoutPool.vue.d.ts +625 -0
  359. package/dist/views/Editor/Thumbnails/LayoutPool.vue.d.ts.map +1 -0
  360. package/dist/views/Editor/Thumbnails/index.vue.d.ts +1332 -0
  361. package/dist/views/Editor/Thumbnails/index.vue.d.ts.map +1 -0
  362. package/dist/views/Editor/Toolbar/ElementAnimationPanel.vue.d.ts +591 -0
  363. package/dist/views/Editor/Toolbar/ElementAnimationPanel.vue.d.ts.map +1 -0
  364. package/dist/views/Editor/Toolbar/ElementPositionPanel.vue.d.ts +465 -0
  365. package/dist/views/Editor/Toolbar/ElementPositionPanel.vue.d.ts.map +1 -0
  366. package/dist/views/Editor/Toolbar/ElementStylePanel/AudioStylePanel.vue.d.ts +463 -0
  367. package/dist/views/Editor/Toolbar/ElementStylePanel/AudioStylePanel.vue.d.ts.map +1 -0
  368. package/dist/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/ChartDataEditor.vue.d.ts +73 -0
  369. package/dist/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/ChartDataEditor.vue.d.ts.map +1 -0
  370. package/dist/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.vue.d.ts +584 -0
  371. package/dist/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.vue.d.ts.map +1 -0
  372. package/dist/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue.d.ts +635 -0
  373. package/dist/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue.d.ts.map +1 -0
  374. package/dist/views/Editor/Toolbar/ElementStylePanel/LatexStylePanel.vue.d.ts +572 -0
  375. package/dist/views/Editor/Toolbar/ElementStylePanel/LatexStylePanel.vue.d.ts.map +1 -0
  376. package/dist/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.vue.d.ts +481 -0
  377. package/dist/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.vue.d.ts.map +1 -0
  378. package/dist/views/Editor/Toolbar/ElementStylePanel/MultiStylePanel.vue.d.ts +77 -0
  379. package/dist/views/Editor/Toolbar/ElementStylePanel/MultiStylePanel.vue.d.ts.map +1 -0
  380. package/dist/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue.d.ts +575 -0
  381. package/dist/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue.d.ts.map +1 -0
  382. package/dist/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue.d.ts +546 -0
  383. package/dist/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue.d.ts.map +1 -0
  384. package/dist/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.vue.d.ts +385 -0
  385. package/dist/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.vue.d.ts.map +1 -0
  386. package/dist/views/Editor/Toolbar/ElementStylePanel/VideoStylePanel.vue.d.ts +452 -0
  387. package/dist/views/Editor/Toolbar/ElementStylePanel/VideoStylePanel.vue.d.ts.map +1 -0
  388. package/dist/views/Editor/Toolbar/ElementStylePanel/index.vue.d.ts +5181 -0
  389. package/dist/views/Editor/Toolbar/ElementStylePanel/index.vue.d.ts.map +1 -0
  390. package/dist/views/Editor/Toolbar/MultiPositionPanel.vue.d.ts +11 -0
  391. package/dist/views/Editor/Toolbar/MultiPositionPanel.vue.d.ts.map +1 -0
  392. package/dist/views/Editor/Toolbar/SlideAnimationPanel.vue.d.ts +13 -0
  393. package/dist/views/Editor/Toolbar/SlideAnimationPanel.vue.d.ts.map +1 -0
  394. package/dist/views/Editor/Toolbar/SlideDesignPanel.vue.d.ts +45 -0
  395. package/dist/views/Editor/Toolbar/SlideDesignPanel.vue.d.ts.map +1 -0
  396. package/dist/views/Editor/Toolbar/SymbolPanel.vue.d.ts +12 -0
  397. package/dist/views/Editor/Toolbar/SymbolPanel.vue.d.ts.map +1 -0
  398. package/dist/views/Editor/Toolbar/common/ColorButton.vue.d.ts +13 -0
  399. package/dist/views/Editor/Toolbar/common/ColorButton.vue.d.ts.map +1 -0
  400. package/dist/views/Editor/Toolbar/common/ElementFilter.vue.d.ts +33 -0
  401. package/dist/views/Editor/Toolbar/common/ElementFilter.vue.d.ts.map +1 -0
  402. package/dist/views/Editor/Toolbar/common/ElementFlip.vue.d.ts +8 -0
  403. package/dist/views/Editor/Toolbar/common/ElementFlip.vue.d.ts.map +1 -0
  404. package/dist/views/Editor/Toolbar/common/ElementOpacity.vue.d.ts +6 -0
  405. package/dist/views/Editor/Toolbar/common/ElementOpacity.vue.d.ts.map +1 -0
  406. package/dist/views/Editor/Toolbar/common/ElementOutline.vue.d.ts +33 -0
  407. package/dist/views/Editor/Toolbar/common/ElementOutline.vue.d.ts.map +1 -0
  408. package/dist/views/Editor/Toolbar/common/ElementShadow.vue.d.ts +21 -0
  409. package/dist/views/Editor/Toolbar/common/ElementShadow.vue.d.ts.map +1 -0
  410. package/dist/views/Editor/Toolbar/index.vue.d.ts +6302 -0
  411. package/dist/views/Editor/Toolbar/index.vue.d.ts.map +1 -0
  412. package/dist/views/Screen/BaseView.vue.d.ts +2127 -0
  413. package/dist/views/Screen/BaseView.vue.d.ts.map +1 -0
  414. package/dist/views/Screen/PresenterView.vue.d.ts +2111 -0
  415. package/dist/views/Screen/PresenterView.vue.d.ts.map +1 -0
  416. package/dist/views/Screen/ScreenElement.vue.d.ts +775 -0
  417. package/dist/views/Screen/ScreenElement.vue.d.ts.map +1 -0
  418. package/dist/views/Screen/ScreenSlide.vue.d.ts +838 -0
  419. package/dist/views/Screen/ScreenSlide.vue.d.ts.map +1 -0
  420. package/dist/views/Screen/ScreenSlideList.vue.d.ts +1352 -0
  421. package/dist/views/Screen/ScreenSlideList.vue.d.ts.map +1 -0
  422. package/dist/views/Screen/SlideThumbnails.vue.d.ts +638 -0
  423. package/dist/views/Screen/SlideThumbnails.vue.d.ts.map +1 -0
  424. package/dist/views/Screen/WritingBoardTool.vue.d.ts +116 -0
  425. package/dist/views/Screen/WritingBoardTool.vue.d.ts.map +1 -0
  426. package/dist/views/Screen/hooks/useExecPlay.d.ts +17 -0
  427. package/dist/views/Screen/hooks/useExecPlay.d.ts.map +1 -0
  428. package/dist/views/Screen/hooks/useFullscreen.d.ts +6 -0
  429. package/dist/views/Screen/hooks/useFullscreen.d.ts.map +1 -0
  430. package/dist/views/Screen/hooks/useSlideSize.d.ts +7 -0
  431. package/dist/views/Screen/hooks/useSlideSize.d.ts.map +1 -0
  432. package/dist/views/Screen/index.vue.d.ts +4237 -0
  433. package/dist/views/Screen/index.vue.d.ts.map +1 -0
  434. package/dist/views/components/ThumbnailSlide/ThumbnailElement.vue.d.ts +569 -0
  435. package/dist/views/components/ThumbnailSlide/ThumbnailElement.vue.d.ts.map +1 -0
  436. package/dist/views/components/ThumbnailSlide/index.vue.d.ts +619 -0
  437. package/dist/views/components/ThumbnailSlide/index.vue.d.ts.map +1 -0
  438. package/dist/views/components/element/AudioElement/AudioPlayer.vue.d.ts +69 -0
  439. package/dist/views/components/element/AudioElement/AudioPlayer.vue.d.ts.map +1 -0
  440. package/dist/views/components/element/AudioElement/BaseAudioElement.vue.d.ts +17 -0
  441. package/dist/views/components/element/AudioElement/BaseAudioElement.vue.d.ts.map +1 -0
  442. package/dist/views/components/element/AudioElement/ScreenAudioElement.vue.d.ts +93 -0
  443. package/dist/views/components/element/AudioElement/ScreenAudioElement.vue.d.ts.map +1 -0
  444. package/dist/views/components/element/AudioElement/index.vue.d.ts +107 -0
  445. package/dist/views/components/element/AudioElement/index.vue.d.ts.map +1 -0
  446. package/dist/views/components/element/ChartElement/BaseChartElement.vue.d.ts +122 -0
  447. package/dist/views/components/element/ChartElement/BaseChartElement.vue.d.ts.map +1 -0
  448. package/dist/views/components/element/ChartElement/Chart.vue.d.ts +78 -0
  449. package/dist/views/components/element/ChartElement/Chart.vue.d.ts.map +1 -0
  450. package/dist/views/components/element/ChartElement/ScreenChartElement.vue.d.ts +134 -0
  451. package/dist/views/components/element/ChartElement/ScreenChartElement.vue.d.ts.map +1 -0
  452. package/dist/views/components/element/ChartElement/index.vue.d.ts +137 -0
  453. package/dist/views/components/element/ChartElement/index.vue.d.ts.map +1 -0
  454. package/dist/views/components/element/ElementOutline.vue.d.ts +33 -0
  455. package/dist/views/components/element/ElementOutline.vue.d.ts.map +1 -0
  456. package/dist/views/components/element/ImageElement/BaseImageElement.vue.d.ts +146 -0
  457. package/dist/views/components/element/ImageElement/BaseImageElement.vue.d.ts.map +1 -0
  458. package/dist/views/components/element/ImageElement/ImageClipHandler.vue.d.ts +104 -0
  459. package/dist/views/components/element/ImageElement/ImageClipHandler.vue.d.ts.map +1 -0
  460. package/dist/views/components/element/ImageElement/ImageOutline/ImageEllipseOutline.vue.d.ts +33 -0
  461. package/dist/views/components/element/ImageElement/ImageOutline/ImageEllipseOutline.vue.d.ts.map +1 -0
  462. package/dist/views/components/element/ImageElement/ImageOutline/ImagePolygonOutline.vue.d.ts +41 -0
  463. package/dist/views/components/element/ImageElement/ImageOutline/ImagePolygonOutline.vue.d.ts.map +1 -0
  464. package/dist/views/components/element/ImageElement/ImageOutline/ImageRectOutline.vue.d.ts +43 -0
  465. package/dist/views/components/element/ImageElement/ImageOutline/ImageRectOutline.vue.d.ts.map +1 -0
  466. package/dist/views/components/element/ImageElement/ImageOutline/index.vue.d.ts +123 -0
  467. package/dist/views/components/element/ImageElement/ImageOutline/index.vue.d.ts.map +1 -0
  468. package/dist/views/components/element/ImageElement/index.vue.d.ts +266 -0
  469. package/dist/views/components/element/ImageElement/index.vue.d.ts.map +1 -0
  470. package/dist/views/components/element/ImageElement/useClipImage.d.ts +13 -0
  471. package/dist/views/components/element/ImageElement/useClipImage.d.ts.map +1 -0
  472. package/dist/views/components/element/ImageElement/useFilter.d.ts +7 -0
  473. package/dist/views/components/element/ImageElement/useFilter.d.ts.map +1 -0
  474. package/dist/views/components/element/LatexElement/BaseLatexElement.vue.d.ts +15 -0
  475. package/dist/views/components/element/LatexElement/BaseLatexElement.vue.d.ts.map +1 -0
  476. package/dist/views/components/element/LatexElement/index.vue.d.ts +33 -0
  477. package/dist/views/components/element/LatexElement/index.vue.d.ts.map +1 -0
  478. package/dist/views/components/element/LineElement/BaseLineElement.vue.d.ts +67 -0
  479. package/dist/views/components/element/LineElement/BaseLineElement.vue.d.ts.map +1 -0
  480. package/dist/views/components/element/LineElement/LinePointMarker.vue.d.ts +48 -0
  481. package/dist/views/components/element/LineElement/LinePointMarker.vue.d.ts.map +1 -0
  482. package/dist/views/components/element/LineElement/index.vue.d.ts +83 -0
  483. package/dist/views/components/element/LineElement/index.vue.d.ts.map +1 -0
  484. package/dist/views/components/element/ProsemirrorEditor.vue.d.ts +62 -0
  485. package/dist/views/components/element/ProsemirrorEditor.vue.d.ts.map +1 -0
  486. package/dist/views/components/element/ShapeElement/BaseShapeElement.vue.d.ts +67 -0
  487. package/dist/views/components/element/ShapeElement/BaseShapeElement.vue.d.ts.map +1 -0
  488. package/dist/views/components/element/ShapeElement/GradientDefs.vue.d.ts +46 -0
  489. package/dist/views/components/element/ShapeElement/GradientDefs.vue.d.ts.map +1 -0
  490. package/dist/views/components/element/ShapeElement/index.vue.d.ts +146 -0
  491. package/dist/views/components/element/ShapeElement/index.vue.d.ts.map +1 -0
  492. package/dist/views/components/element/TableElement/BaseTableElement.vue.d.ts +92 -0
  493. package/dist/views/components/element/TableElement/BaseTableElement.vue.d.ts.map +1 -0
  494. package/dist/views/components/element/TableElement/CustomTextarea.vue.d.ts +33 -0
  495. package/dist/views/components/element/TableElement/CustomTextarea.vue.d.ts.map +1 -0
  496. package/dist/views/components/element/TableElement/EditableTable.vue.d.ts +133 -0
  497. package/dist/views/components/element/TableElement/EditableTable.vue.d.ts.map +1 -0
  498. package/dist/views/components/element/TableElement/StaticTable.vue.d.ts +80 -0
  499. package/dist/views/components/element/TableElement/StaticTable.vue.d.ts.map +1 -0
  500. package/dist/views/components/element/TableElement/index.vue.d.ts +168 -0
  501. package/dist/views/components/element/TableElement/index.vue.d.ts.map +1 -0
  502. package/dist/views/components/element/TableElement/useHideCells.d.ts +7 -0
  503. package/dist/views/components/element/TableElement/useHideCells.d.ts.map +1 -0
  504. package/dist/views/components/element/TableElement/useSubThemeColor.d.ts +7 -0
  505. package/dist/views/components/element/TableElement/useSubThemeColor.d.ts.map +1 -0
  506. package/dist/views/components/element/TableElement/utils.d.ts +26 -0
  507. package/dist/views/components/element/TableElement/utils.d.ts.map +1 -0
  508. package/dist/views/components/element/TextElement/BaseTextElement.vue.d.ts +48 -0
  509. package/dist/views/components/element/TextElement/BaseTextElement.vue.d.ts.map +1 -0
  510. package/dist/views/components/element/TextElement/index.vue.d.ts +127 -0
  511. package/dist/views/components/element/TextElement/index.vue.d.ts.map +1 -0
  512. package/dist/views/components/element/VideoElement/BaseVideoElement.vue.d.ts +15 -0
  513. package/dist/views/components/element/VideoElement/BaseVideoElement.vue.d.ts.map +1 -0
  514. package/dist/views/components/element/VideoElement/ScreenVideoElement.vue.d.ts +106 -0
  515. package/dist/views/components/element/VideoElement/ScreenVideoElement.vue.d.ts.map +1 -0
  516. package/dist/views/components/element/VideoElement/VideoPlayer/index.vue.d.ts +89 -0
  517. package/dist/views/components/element/VideoElement/VideoPlayer/index.vue.d.ts.map +1 -0
  518. package/dist/views/components/element/VideoElement/VideoPlayer/useMSE.d.ts +4 -0
  519. package/dist/views/components/element/VideoElement/VideoPlayer/useMSE.d.ts.map +1 -0
  520. package/dist/views/components/element/VideoElement/index.vue.d.ts +121 -0
  521. package/dist/views/components/element/VideoElement/index.vue.d.ts.map +1 -0
  522. package/dist/views/components/element/hooks/useElementFlip.d.ts +6 -0
  523. package/dist/views/components/element/hooks/useElementFlip.d.ts.map +1 -0
  524. package/dist/views/components/element/hooks/useElementOutline.d.ts +9 -0
  525. package/dist/views/components/element/hooks/useElementOutline.d.ts.map +1 -0
  526. package/dist/views/components/element/hooks/useElementShadow.d.ts +7 -0
  527. package/dist/views/components/element/hooks/useElementShadow.d.ts.map +1 -0
  528. package/package.json +92 -0
@@ -0,0 +1,629 @@
1
+ import { IBarChartOptions, ILineChartOptions, IPieChartOptions } from 'chartist';
2
+ export declare const enum ShapePathFormulasKeys {
3
+ ROUND_RECT = "roundRect",
4
+ ROUND_RECT_DIAGONAL = "roundRectDiagonal",
5
+ ROUND_RECT_SINGLE = "roundRectSingle",
6
+ ROUND_RECT_SAMESIDE = "roundRectSameSide",
7
+ CUT_RECT_DIAGONAL = "cutRectDiagonal",
8
+ CUT_RECT_SINGLE = "cutRectSingle",
9
+ CUT_RECT_SAMESIDE = "cutRectSameSide",
10
+ MESSAGE = "message",
11
+ ROUND_MESSAGE = "roundMessage",
12
+ L = "L",
13
+ RING_RECT = "ringRect",
14
+ PLUS = "plus"
15
+ }
16
+ export declare const enum ElementTypes {
17
+ TEXT = "text",
18
+ IMAGE = "image",
19
+ SHAPE = "shape",
20
+ LINE = "line",
21
+ CHART = "chart",
22
+ TABLE = "table",
23
+ LATEX = "latex",
24
+ VIDEO = "video",
25
+ AUDIO = "audio"
26
+ }
27
+ /**
28
+ * 元素阴影
29
+ *
30
+ * h: 水平偏移量
31
+ *
32
+ * v: 垂直偏移量
33
+ *
34
+ * blur: 模糊程度
35
+ *
36
+ * color: 阴影颜色
37
+ */
38
+ export interface PPTElementShadow {
39
+ h: number;
40
+ v: number;
41
+ blur: number;
42
+ color: string;
43
+ }
44
+ /**
45
+ * 元素边框
46
+ *
47
+ * style?: 边框样式(实线或虚线)
48
+ *
49
+ * width?: 边框宽度
50
+ *
51
+ * color?: 边框颜色
52
+ */
53
+ export interface PPTElementOutline {
54
+ style?: 'dashed' | 'solid';
55
+ width?: number;
56
+ color?: string;
57
+ }
58
+ /**
59
+ * 元素超链接
60
+ *
61
+ * type: 链接类型(网页、幻灯片页面)
62
+ *
63
+ * target: 目标地址(网页链接、幻灯片页面ID)
64
+ */
65
+ export interface PPTElementLink {
66
+ type: 'web' | 'slide';
67
+ target: string;
68
+ }
69
+ /**
70
+ * 元素通用属性
71
+ *
72
+ * id: 元素ID
73
+ *
74
+ * left: 元素水平方向位置(距离画布左侧)
75
+ *
76
+ * top: 元素垂直方向位置(距离画布顶部)
77
+ *
78
+ * lock?: 锁定元素
79
+ *
80
+ * groupId?: 组合ID(拥有相同组合ID的元素即为同一组合元素成员)
81
+ *
82
+ * width: 元素宽度
83
+ *
84
+ * height: 元素高度
85
+ *
86
+ * rotate: 旋转角度
87
+ *
88
+ * link?: 超链接
89
+ */
90
+ interface PPTBaseElement {
91
+ id: string;
92
+ left: number;
93
+ top: number;
94
+ lock?: boolean;
95
+ groupId?: string;
96
+ width: number;
97
+ height: number;
98
+ rotate: number;
99
+ link?: PPTElementLink;
100
+ }
101
+ /**
102
+ * 文本元素
103
+ *
104
+ * type: 元素类型(text)
105
+ *
106
+ * content: 文本内容(HTML字符串)
107
+ *
108
+ * defaultFontName: 默认字体(会被文本内容中的HTML内联样式覆盖)
109
+ *
110
+ * defaultColor: 默认颜色(会被文本内容中的HTML内联样式覆盖)
111
+ *
112
+ * outline?: 边框
113
+ *
114
+ * fill?: 填充色
115
+ *
116
+ * lineHeight?: 行高(倍),默认1.5
117
+ *
118
+ * wordSpace?: 字间距,默认0
119
+ *
120
+ * opacity?: 不透明度,默认1
121
+ *
122
+ * shadow?: 阴影
123
+ *
124
+ * textIndent?: 段落首行缩进
125
+ *
126
+ * paragraphSpace?: 段间距,默认 5px
127
+ */
128
+ export interface PPTTextElement extends PPTBaseElement {
129
+ type: 'text';
130
+ content: string;
131
+ defaultFontName: string;
132
+ defaultColor: string;
133
+ outline?: PPTElementOutline;
134
+ fill?: string;
135
+ lineHeight?: number;
136
+ wordSpace?: number;
137
+ opacity?: number;
138
+ shadow?: PPTElementShadow;
139
+ textIndent?: number;
140
+ paragraphSpace?: number;
141
+ textInsets?: [number, number, number, number];
142
+ }
143
+ /**
144
+ * 图片翻转、形状翻转
145
+ *
146
+ * flipH?: 水平翻转
147
+ *
148
+ * flipV?: 垂直翻转
149
+ */
150
+ export interface ImageOrShapeFlip {
151
+ flipH?: boolean;
152
+ flipV?: boolean;
153
+ }
154
+ /**
155
+ * 图片滤镜
156
+ *
157
+ * https://developer.mozilla.org/zh-CN/docs/Web/CSS/filter
158
+ *
159
+ * 'blur'?: 模糊,默认0(px)
160
+ *
161
+ * 'brightness'?: 亮度,默认100(%)
162
+ *
163
+ * 'contrast'?: 对比度,默认100(%)
164
+ *
165
+ * 'grayscale'?: 灰度,默认0(%)
166
+ *
167
+ * 'saturate'?: 饱和度,默认100(%)
168
+ *
169
+ * 'hue-rotate'?: 色相旋转,默认0(deg)
170
+ *
171
+ * 'opacity'?: 不透明度,默认100(%)
172
+ */
173
+ export interface ImageElementFilters {
174
+ 'blur'?: string;
175
+ 'brightness'?: string;
176
+ 'contrast'?: string;
177
+ 'grayscale'?: string;
178
+ 'saturate'?: string;
179
+ 'hue-rotate'?: string;
180
+ 'opacity'?: string;
181
+ }
182
+ /**
183
+ * 图片裁剪
184
+ *
185
+ * range: 裁剪范围,例如:[[10, 10], [90, 90]] 表示裁取原图从左上角 10%, 10% 到 90%, 90% 的范围
186
+ *
187
+ * shape: 裁剪形状,见 configs/imageClip.ts CLIPPATHS
188
+ */
189
+ export interface ImageElementClip {
190
+ range: [[number, number], [number, number]];
191
+ shape: string;
192
+ }
193
+ /**
194
+ * 图片元素
195
+ *
196
+ * type: 元素类型(image)
197
+ *
198
+ * fixedRatio: 固定图片宽高比例
199
+ *
200
+ * src: 图片地址
201
+ *
202
+ * outline?: 边框
203
+ *
204
+ * filters?: 图片滤镜
205
+ *
206
+ * clip?: 裁剪信息
207
+ *
208
+ * flipH?: 水平翻转
209
+ *
210
+ * flipV?: 垂直翻转
211
+ *
212
+ * shadow?: 阴影
213
+ */
214
+ export interface PPTImageElement extends PPTBaseElement {
215
+ type: 'image';
216
+ fixedRatio: boolean;
217
+ src: string;
218
+ outline?: PPTElementOutline;
219
+ filters?: ImageElementFilters;
220
+ clip?: ImageElementClip;
221
+ flipH?: boolean;
222
+ flipV?: boolean;
223
+ shadow?: PPTElementShadow;
224
+ }
225
+ /**
226
+ * 形状渐变
227
+ *
228
+ * type: 渐变类型(径向、线性)
229
+ *
230
+ * color: 渐变颜色
231
+ *
232
+ * rotate: 渐变角度(线性渐变)
233
+ */
234
+ export interface ShapeGradient {
235
+ type: 'linear' | 'radial';
236
+ color: [string, string];
237
+ rotate: number;
238
+ }
239
+ /**
240
+ * 形状内文本
241
+ *
242
+ * content: 文本内容(HTML字符串)
243
+ *
244
+ * defaultFontName: 默认字体(会被文本内容中的HTML内联样式覆盖)
245
+ *
246
+ * defaultColor: 默认颜色(会被文本内容中的HTML内联样式覆盖)
247
+ *
248
+ * align: 文本对齐方向(垂直方向)
249
+ */
250
+ export interface ShapeText {
251
+ content: string;
252
+ defaultFontName: string;
253
+ defaultColor: string;
254
+ align: 'top' | 'middle' | 'bottom';
255
+ textInsets?: [number, number, number, number];
256
+ }
257
+ /**
258
+ * 形状元素
259
+ *
260
+ * type: 元素类型(shape)
261
+ *
262
+ * viewBox: SVG的viewBox属性,例如 [1000, 1000] 表示 '0 0 1000 1000'
263
+ *
264
+ * path: 形状路径,SVG path 的 d 属性
265
+ *
266
+ * fixedRatio: 固定形状宽高比例
267
+ *
268
+ * fill: 填充,不存在渐变时生效
269
+ *
270
+ * gradient?: 渐变,该属性存在时将优先作为填充
271
+ *
272
+ * outline?: 边框
273
+ *
274
+ * opacity?: 不透明度
275
+ *
276
+ * flipH?: 水平翻转
277
+ *
278
+ * flipV?: 垂直翻转
279
+ *
280
+ * shadow?: 阴影
281
+ *
282
+ * special?: 特殊形状(标记一些难以解析的形状,例如路径使用了 L Q C A 以外的类型,该类形状在导出后将变为图片的形式)
283
+ *
284
+ * text?: 形状内文本
285
+ *
286
+ * pathFormula?: 形状路径计算公式
287
+ * 一般情况下,形状的大小变化时仅由宽高基于 viewBox 的缩放比例来调整形状,而 viewBox 本身和 path 不会变化,
288
+ * 但也有一些形状希望能更精确的控制一些关键点的位置,此时就需要提供路径计算公式,通过在缩放时更新 viewBox 并重新计算 path 来重新绘制形状
289
+ */
290
+ export interface PPTShapeElement extends PPTBaseElement {
291
+ type: 'shape';
292
+ viewBox: [number, number];
293
+ path: string;
294
+ fixedRatio: boolean;
295
+ fill: string;
296
+ gradient?: ShapeGradient;
297
+ outline?: PPTElementOutline;
298
+ opacity?: number;
299
+ flipH?: boolean;
300
+ flipV?: boolean;
301
+ shadow?: PPTElementShadow;
302
+ special?: boolean;
303
+ text?: ShapeText;
304
+ pathFormula?: ShapePathFormulasKeys;
305
+ }
306
+ export type LinePoint = '' | 'arrow' | 'dot';
307
+ /**
308
+ * 线条元素
309
+ *
310
+ * type: 元素类型(line)
311
+ *
312
+ * start: 起点位置([x, y])
313
+ *
314
+ * end: 终点位置([x, y])
315
+ *
316
+ * style: 线条样式(实线、虚线)
317
+ *
318
+ * color: 线条颜色
319
+ *
320
+ * points: 端点样式([起点样式, 终点样式],可选:无、箭头、圆点)
321
+ *
322
+ * shadow?: 阴影
323
+ *
324
+ * broken?: 折线控制点位置([x, y])
325
+ *
326
+ * curve?: 二次曲线控制点位置([x, y])
327
+ *
328
+ * curve?: 三次曲线控制点位置([[x1, y1], [x2, y2]])
329
+ */
330
+ export interface PPTLineElement extends Omit<PPTBaseElement, 'height' | 'rotate'> {
331
+ type: 'line';
332
+ start: [number, number];
333
+ end: [number, number];
334
+ style: 'solid' | 'dashed';
335
+ color: string;
336
+ points: [LinePoint, LinePoint];
337
+ shadow?: PPTElementShadow;
338
+ broken?: [number, number];
339
+ curve?: [number, number];
340
+ cubic?: [[number, number], [number, number]];
341
+ }
342
+ export type PresetChartType = 'bar' | 'horizontalBar' | 'line' | 'area' | 'scatter' | 'pie' | 'ring';
343
+ export type ChartType = 'bar' | 'line' | 'pie';
344
+ export type ChartOptions = ILineChartOptions & IBarChartOptions & IPieChartOptions;
345
+ export interface ChartData {
346
+ labels: string[];
347
+ legends: string[];
348
+ series: number[][];
349
+ }
350
+ /**
351
+ * 图表元素
352
+ *
353
+ * type: 元素类型(chart)
354
+ *
355
+ * fill?: 填充色
356
+ *
357
+ * chartType: 图表基础类型(bar/line/pie),所有图表类型都是由这三种基本类型衍生而来
358
+ *
359
+ * data: 图表数据
360
+ *
361
+ * options?: 图表配置项
362
+ *
363
+ * outline?: 边框
364
+ *
365
+ * themeColor: 主题色
366
+ *
367
+ * gridColor?: 网格&坐标颜色
368
+ *
369
+ * legend?: 图例/位置
370
+ */
371
+ export interface PPTChartElement extends PPTBaseElement {
372
+ type: 'chart';
373
+ fill?: string;
374
+ chartType: ChartType;
375
+ data: ChartData;
376
+ options?: ChartOptions;
377
+ outline?: PPTElementOutline;
378
+ themeColor: string[];
379
+ gridColor?: string;
380
+ legend?: '' | 'top' | 'bottom';
381
+ }
382
+ /**
383
+ * 表格单元格样式
384
+ *
385
+ * bold?: 加粗
386
+ *
387
+ * em?: 斜体
388
+ *
389
+ * underline?: 下划线
390
+ *
391
+ * strikethrough?: 删除线
392
+ *
393
+ * color?: 字体颜色
394
+ *
395
+ * backcolor?: 填充色
396
+ *
397
+ * fontsize?: 字体大小
398
+ *
399
+ * fontname?: 字体
400
+ *
401
+ * align?: 对齐方式
402
+ */
403
+ export interface TableCellStyle {
404
+ bold?: boolean;
405
+ em?: boolean;
406
+ underline?: boolean;
407
+ strikethrough?: boolean;
408
+ color?: string;
409
+ backcolor?: string;
410
+ fontsize?: string;
411
+ fontname?: string;
412
+ align?: 'left' | 'center' | 'right';
413
+ }
414
+ /**
415
+ * 表格单元格
416
+ *
417
+ * id: 单元格ID
418
+ *
419
+ * colspan: 合并列数
420
+ *
421
+ * rowspan: 合并行数
422
+ *
423
+ * text: 文字内容
424
+ *
425
+ * style?: 单元格样式
426
+ */
427
+ export interface TableCell {
428
+ id: string;
429
+ colspan: number;
430
+ rowspan: number;
431
+ text: string;
432
+ style?: TableCellStyle;
433
+ }
434
+ /**
435
+ * 表格主题
436
+ *
437
+ * color: 主题色
438
+ *
439
+ * rowHeader: 标题行
440
+ *
441
+ * rowFooter: 汇总行
442
+ *
443
+ * colHeader: 第一列
444
+ *
445
+ * colFooter: 最后一列
446
+ */
447
+ export interface TableTheme {
448
+ color: string;
449
+ rowHeader: boolean;
450
+ rowFooter: boolean;
451
+ colHeader: boolean;
452
+ colFooter: boolean;
453
+ }
454
+ /**
455
+ * 表格元素
456
+ *
457
+ * type: 元素类型(table)
458
+ *
459
+ * outline: 边框
460
+ *
461
+ * theme?: 主题
462
+ *
463
+ * colWidths: 列宽数组,如[30, 50, 20]表示三列宽度分别为30%, 50%, 20%
464
+ *
465
+ * data: 表格数据
466
+ */
467
+ export interface PPTTableElement extends PPTBaseElement {
468
+ type: 'table';
469
+ outline: PPTElementOutline;
470
+ theme?: TableTheme;
471
+ colWidths: number[];
472
+ data: TableCell[][];
473
+ }
474
+ /**
475
+ * LaTeX元素(公式)
476
+ *
477
+ * type: 元素类型(latex)
478
+ *
479
+ * latex: latex代码
480
+ *
481
+ * path: svg path
482
+ *
483
+ * color: 颜色
484
+ *
485
+ * strokeWidth: 路径宽度
486
+ *
487
+ * viewBox: SVG的viewBox属性
488
+ *
489
+ * fixedRatio: 固定形状宽高比例
490
+ */
491
+ export interface PPTLatexElement extends PPTBaseElement {
492
+ type: 'latex';
493
+ latex: string;
494
+ path: string;
495
+ color: string;
496
+ strokeWidth: number;
497
+ viewBox: [number, number];
498
+ fixedRatio: boolean;
499
+ }
500
+ /**
501
+ * 视频元素
502
+ *
503
+ * type: 元素类型(video)
504
+ *
505
+ * src: 视频地址
506
+ *
507
+ * poster: 预览封面
508
+ */
509
+ export interface PPTVideoElement extends PPTBaseElement {
510
+ type: 'video';
511
+ src: string;
512
+ poster?: string;
513
+ }
514
+ /**
515
+ * 音频元素
516
+ *
517
+ * type: 元素类型(audio)
518
+ *
519
+ * fixedRatio: 固定图标宽高比例
520
+ *
521
+ * color: 图标颜色
522
+ *
523
+ * loop: 循环播放
524
+ *
525
+ * autoplay: 自动播放
526
+ *
527
+ * src: 音频地址
528
+ */
529
+ export interface PPTAudioElement extends PPTBaseElement {
530
+ type: 'audio';
531
+ fixedRatio: boolean;
532
+ color: string;
533
+ loop: boolean;
534
+ autoplay: boolean;
535
+ src: string;
536
+ }
537
+ export type PPTElement = PPTTextElement | PPTImageElement | PPTShapeElement | PPTLineElement | PPTChartElement | PPTTableElement | PPTLatexElement | PPTVideoElement | PPTAudioElement;
538
+ /**
539
+ * 元素动画
540
+ *
541
+ * id: 动画id
542
+ *
543
+ * elId: 元素ID
544
+ *
545
+ * effect: 动画效果
546
+ *
547
+ * type: 动画类型(入场、退场、强调)
548
+ *
549
+ * duration: 动画持续时间
550
+ *
551
+ * trigger: 动画触发方式(click - 单击时、meantime - 与上一动画同时、auto - 上一动画之后)
552
+ */
553
+ export interface PPTAnimation {
554
+ id: string;
555
+ elId: string;
556
+ effect: string;
557
+ type: 'in' | 'out' | 'attention';
558
+ duration: number;
559
+ trigger: 'click' | 'meantime' | 'auto';
560
+ }
561
+ /**
562
+ * 幻灯片背景
563
+ *
564
+ * type: 背景类型(纯色、图片、渐变)
565
+ *
566
+ * color?: 背景颜色(纯色)
567
+ *
568
+ * image?: 图片地址(图片)
569
+ *
570
+ * imageSize?: 图片填充方式
571
+ *
572
+ * gradientType?: 渐变类型(线性、径向)
573
+ *
574
+ * gradientColor?: 渐变颜色
575
+ *
576
+ * gradientRotate?: 渐变角度(线性)
577
+ */
578
+ export interface SlideBackground {
579
+ type: 'solid' | 'image' | 'gradient';
580
+ color?: string;
581
+ image?: string;
582
+ imageSize?: 'cover' | 'contain' | 'repeat';
583
+ gradientType?: 'linear' | 'radial';
584
+ gradientColor?: [string, string];
585
+ gradientRotate?: number;
586
+ }
587
+ export type TurningMode = 'no' | 'fade' | 'slideX' | 'slideY';
588
+ /**
589
+ * 幻灯片页面
590
+ *
591
+ * id: 页面ID
592
+ *
593
+ * elements: 元素集合
594
+ *
595
+ * remark?: 备注
596
+ *
597
+ * background?: 页面背景
598
+ *
599
+ * animations?: 元素动画集合
600
+ *
601
+ * turningMode?: 翻页方式
602
+ */
603
+ export interface Slide {
604
+ id: string;
605
+ elements: PPTElement[];
606
+ remark?: string;
607
+ background?: SlideBackground;
608
+ animations?: PPTAnimation[];
609
+ turningMode?: TurningMode;
610
+ }
611
+ /**
612
+ * 幻灯片主题
613
+ *
614
+ * backgroundColor: 页面背景颜色
615
+ *
616
+ * themeColor: 主题色,用于默认创建的形状颜色等
617
+ *
618
+ * fontColor: 字体颜色
619
+ *
620
+ * fontName: 字体
621
+ */
622
+ export interface SlideTheme {
623
+ backgroundColor: string;
624
+ themeColor: string;
625
+ fontColor: string;
626
+ fontName: string;
627
+ }
628
+ export {};
629
+ //# sourceMappingURL=slides.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slides.d.ts","sourceRoot":"","sources":["../../src/types/slides.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBA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AAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,10 @@
1
+ export declare const enum ToolbarStates {
2
+ SYMBOL = "symbol",
3
+ EL_ANIMATION = "elAnimation",
4
+ EL_STYLE = "elStyle",
5
+ EL_POSITION = "elPosition",
6
+ SLIDE_DESIGN = "slideDesign",
7
+ SLIDE_ANIMATION = "slideAnimation",
8
+ MULTI_POSITION = "multiPosition"
9
+ }
10
+ //# sourceMappingURL=toolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../src/types/toolbar.ts"],"names":[],"mappings":"AAAA,0BAAkB,aAAa;IAC7B,MAAM,WAAW;IACjB,YAAY,gBAAgB;IAC5B,QAAQ,YAAY;IACpB,WAAW,eAAe;IAC1B,YAAY,gBAAgB;IAC5B,eAAe,mBAAmB;IAClC,cAAc,kBAAkB;CACjC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * 复制文本到剪贴板
3
+ * @param text 文本内容
4
+ */
5
+ export declare const copyText: (text: string) => Promise<unknown>;
6
+ export declare const readClipboard: () => Promise<string>;
7
+ export declare const pasteCustomClipboardString: (text: string) => any;
8
+ export declare const pasteExcelClipboardString: (text: string) => string[][] | null;
9
+ //# sourceMappingURL=clipboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../src/utils/clipboard.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,QAAQ,SAAU,MAAM,qBAoBpC,CAAA;AAGD,eAAO,MAAM,aAAa,QAAO,OAAO,CAAC,MAAM,CAU9C,CAAA;AAGD,eAAO,MAAM,0BAA0B,SAAU,MAAM,QAUtD,CAAA;AAGD,eAAO,MAAM,yBAAyB,SAAU,MAAM,KAAG,MAAM,EAAE,EAAE,GAAG,IAerE,CAAA"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 补足数字位数
3
+ * @param digit 数字
4
+ * @param len 位数
5
+ */
6
+ export declare const fillDigit: (digit: number, len: number) => string;
7
+ /**
8
+ * 判断设备
9
+ */
10
+ export declare const isPC: () => boolean;
11
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/utils/common.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,SAAS,UAAW,MAAM,OAAO,MAAM,WAEnD,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,IAAI,eAEhB,CAAA"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 加密
3
+ * @param msg 待加密字符串
4
+ */
5
+ export declare const encrypt: (msg: string) => string;
6
+ /**
7
+ * 解密
8
+ * @param ciphertext 待解密字符串
9
+ */
10
+ export declare const decrypt: (ciphertext: string) => string;
11
+ //# sourceMappingURL=crypto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../src/utils/crypto.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,OAAO,QAAS,MAAM,WAElC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,eAAgB,MAAM,WAGzC,CAAA"}