@lofcz/pptist 2.0.0
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.
- package/LICENSE +661 -0
- package/README.md +260 -0
- package/dist/embed/favicon.ico +0 -0
- package/dist/embed/fonts/AlibabaPuHuiTi.woff2 +0 -0
- package/dist/embed/fonts/CangerXiaowanzi.woff2 +0 -0
- package/dist/embed/fonts/DeYiHei.woff2 +0 -0
- package/dist/embed/fonts/FengguangMingrui.woff2 +0 -0
- package/dist/embed/fonts/Inter.woff2 +0 -0
- package/dist/embed/fonts/JetBrainsMono.woff2 +0 -0
- package/dist/embed/fonts/LXGWWenKai.woff2 +0 -0
- package/dist/embed/fonts/Literata.woff2 +0 -0
- package/dist/embed/fonts/Merriweather.woff2 +0 -0
- package/dist/embed/fonts/MiSans.woff2 +0 -0
- package/dist/embed/fonts/Montserrat.woff2 +0 -0
- package/dist/embed/fonts/OpenSans.woff2 +0 -0
- package/dist/embed/fonts/Roboto.woff2 +0 -0
- package/dist/embed/fonts/RuiziZhenyan.woff2 +0 -0
- package/dist/embed/fonts/ShetuModernSquare.woff2 +0 -0
- package/dist/embed/fonts/SourceHanSans.woff2 +0 -0
- package/dist/embed/fonts/SourceHanSerif.woff2 +0 -0
- package/dist/embed/fonts/SourceSansPro.woff2 +0 -0
- package/dist/embed/fonts/SourceSerif4.woff2 +0 -0
- package/dist/embed/fonts/SucaiJishiCoolSquare.woff2 +0 -0
- package/dist/embed/fonts/SucaiJishiKangkang.woff2 +0 -0
- package/dist/embed/fonts/TuniuRounded.woff2 +0 -0
- package/dist/embed/fonts/WenDingPLKaiTi.woff2 +0 -0
- package/dist/embed/fonts/WenDingPLSongTi.woff2 +0 -0
- package/dist/embed/fonts/YousheTitleBlack.woff2 +0 -0
- package/dist/embed/fonts/ZcoolHappy.woff2 +0 -0
- package/dist/embed/fonts/ZhuQueFangSong.woff2 +0 -0
- package/dist/embed/fonts/ZizhiQuXiMai.woff2 +0 -0
- package/dist/embed/imgs/template_1.webp +0 -0
- package/dist/embed/imgs/template_2.webp +0 -0
- package/dist/embed/imgs/template_3.webp +0 -0
- package/dist/embed/imgs/template_4.webp +0 -0
- package/dist/embed/imgs/template_5.webp +0 -0
- package/dist/embed/imgs/template_6.webp +0 -0
- package/dist/embed/imgs/template_7.webp +0 -0
- package/dist/embed/imgs/template_8.webp +0 -0
- package/dist/embed/logo.png +0 -0
- package/dist/embed/mocks/AIPPT.json +475 -0
- package/dist/embed/mocks/AIPPT_Outline.md +69 -0
- package/dist/embed/mocks/imgs.json +482 -0
- package/dist/embed/mocks/slides.json +184 -0
- package/dist/embed/mocks/template_1.json +1 -0
- package/dist/embed/mocks/template_2.json +1 -0
- package/dist/embed/mocks/template_3.json +1 -0
- package/dist/embed/mocks/template_4.json +1 -0
- package/dist/embed/mocks/template_5.json +1 -0
- package/dist/embed/mocks/template_6.json +1 -0
- package/dist/embed/mocks/template_7.json +1 -0
- package/dist/embed/mocks/template_8.json +1 -0
- package/dist/embed/pptist-embed.css +2 -0
- package/dist/embed/pptist-embed.js +112091 -0
- package/dist/types/App.vue.d.ts +3 -0
- package/dist/types/components/Button.vue.d.ts +32 -0
- package/dist/types/components/ButtonGroup.vue.d.ts +18 -0
- package/dist/types/components/ChartDataEditor.vue.d.ts +20 -0
- package/dist/types/components/Checkbox.vue.d.ts +23 -0
- package/dist/types/components/CheckboxButton.vue.d.ts +20 -0
- package/dist/types/components/ColorButton.vue.d.ts +6 -0
- package/dist/types/components/ColorListButton.vue.d.ts +6 -0
- package/dist/types/components/ColorPicker/Alpha.vue.d.ts +11 -0
- package/dist/types/components/ColorPicker/Checkboard.vue.d.ts +12 -0
- package/dist/types/components/ColorPicker/EditableInput.vue.d.ts +11 -0
- package/dist/types/components/ColorPicker/Hue.vue.d.ts +12 -0
- package/dist/types/components/ColorPicker/Saturation.vue.d.ts +12 -0
- package/dist/types/components/ColorPicker/index.vue.d.ts +12 -0
- package/dist/types/components/Contextmenu/MenuContent.vue.d.ts +8 -0
- package/dist/types/components/Contextmenu/index.vue.d.ts +10 -0
- package/dist/types/components/Contextmenu/types.d.ts +13 -0
- package/dist/types/components/Divider.vue.d.ts +10 -0
- package/dist/types/components/Drawer.vue.d.ts +29 -0
- package/dist/types/components/FileInput.vue.d.ts +22 -0
- package/dist/types/components/FullscreenSpin.vue.d.ts +12 -0
- package/dist/types/components/GradientBar.vue.d.ts +14 -0
- package/dist/types/components/ImageWaterfallViewer.vue.d.ts +36 -0
- package/dist/types/components/Input.vue.d.ts +44 -0
- package/dist/types/components/LaTeXEditor/FormulaContent.vue.d.ts +8 -0
- package/dist/types/components/LaTeXEditor/SymbolContent.vue.d.ts +6 -0
- package/dist/types/components/LaTeXEditor/hfmath.d.ts +2 -0
- package/dist/types/components/LaTeXEditor/index.vue.d.ts +20 -0
- package/dist/types/components/Message.vue.d.ts +24 -0
- package/dist/types/components/Modal.vue.d.ts +34 -0
- package/dist/types/components/MoveablePanel.vue.d.ts +44 -0
- package/dist/types/components/NumberInput.vue.d.ts +43 -0
- package/dist/types/components/OutlineEditor.vue.d.ts +10 -0
- package/dist/types/components/Popover.vue.d.ts +41 -0
- package/dist/types/components/PopoverMenuItem.vue.d.ts +22 -0
- package/dist/types/components/RadioButton.vue.d.ts +19 -0
- package/dist/types/components/RadioGroup.vue.d.ts +23 -0
- package/dist/types/components/Select.vue.d.ts +38 -0
- package/dist/types/components/SelectCustom.vue.d.ts +26 -0
- package/dist/types/components/SelectGroup.vue.d.ts +13 -0
- package/dist/types/components/Slider.vue.d.ts +21 -0
- package/dist/types/components/Switch.vue.d.ts +13 -0
- package/dist/types/components/Tabs.vue.d.ts +27 -0
- package/dist/types/components/TextArea.vue.d.ts +28 -0
- package/dist/types/components/TextColorButton.vue.d.ts +16 -0
- package/dist/types/components/WritingBoard.vue.d.ts +30 -0
- package/dist/types/configs/animation.d.ts +34 -0
- package/dist/types/configs/chart.d.ts +4 -0
- package/dist/types/configs/element.d.ts +2 -0
- package/dist/types/configs/font.d.ts +4 -0
- package/dist/types/configs/hotkey.d.ts +41 -0
- package/dist/types/configs/imageClip.d.ts +25 -0
- package/dist/types/configs/latex.d.ts +11 -0
- package/dist/types/configs/lines.d.ts +16 -0
- package/dist/types/configs/mime.d.ts +1 -0
- package/dist/types/configs/shapes.d.ts +27 -0
- package/dist/types/configs/storage.d.ts +1 -0
- package/dist/types/configs/symbol.d.ts +7 -0
- package/dist/types/configs/theme.d.ts +11 -0
- package/dist/types/directive/clickOutside.d.ts +3 -0
- package/dist/types/directive/contextmenu.d.ts +3 -0
- package/dist/types/directive/index.d.ts +5 -0
- package/dist/types/directive/loading.d.ts +4 -0
- package/dist/types/directive/tooltip.d.ts +4 -0
- package/dist/types/embed/EmbedRoot.vue.d.ts +7 -0
- package/dist/types/embed/agentic/createAgenticApi.d.ts +12 -0
- package/dist/types/embed/agentic/fixtures.d.ts +28 -0
- package/dist/types/embed/agentic/helpers.d.ts +99 -0
- package/dist/types/embed/agentic/types.d.ts +1786 -0
- package/dist/types/embed/agentic/validators.d.ts +20 -0
- package/dist/types/embed/createController.d.ts +7 -0
- package/dist/types/embed/index.d.ts +5 -0
- package/dist/types/embed/localeBridge.d.ts +4 -0
- package/dist/types/embed/mount.d.ts +12 -0
- package/dist/types/embed/types.d.ts +44 -0
- package/dist/types/hooks/useAIPPT.d.ts +14 -0
- package/dist/types/hooks/useAddSlidesOrElements.d.ts +6 -0
- package/dist/types/hooks/useAlignActiveElement.d.ts +5 -0
- package/dist/types/hooks/useAlignElementToCanvas.d.ts +5 -0
- package/dist/types/hooks/useCombineElement.d.ts +6 -0
- package/dist/types/hooks/useCopyAndPasteElement.d.ts +7 -0
- package/dist/types/hooks/useCreateElement.d.ts +36 -0
- package/dist/types/hooks/useDeleteElement.d.ts +5 -0
- package/dist/types/hooks/useExport.d.ts +10 -0
- package/dist/types/hooks/useGlobalHotkey.d.ts +2 -0
- package/dist/types/hooks/useHideElement.d.ts +6 -0
- package/dist/types/hooks/useHistorySnapshot.d.ts +6 -0
- package/dist/types/hooks/useImageHandler.d.ts +4 -0
- package/dist/types/hooks/useImport.d.ts +10 -0
- package/dist/types/hooks/useLink.d.ts +6 -0
- package/dist/types/hooks/useLoadSlides.d.ts +4 -0
- package/dist/types/hooks/useLockElement.d.ts +6 -0
- package/dist/types/hooks/useMoveElement.d.ts +4 -0
- package/dist/types/hooks/useOrderElement.d.ts +6 -0
- package/dist/types/hooks/usePasteDataTransfer.d.ts +7 -0
- package/dist/types/hooks/usePasteEvent.d.ts +2 -0
- package/dist/types/hooks/usePasteTextClipboardData.d.ts +8 -0
- package/dist/types/hooks/useScaleCanvas.d.ts +7 -0
- package/dist/types/hooks/useScreening.d.ts +6 -0
- package/dist/types/hooks/useSearch.d.ts +44 -0
- package/dist/types/hooks/useSectionHandler.d.ts +8 -0
- package/dist/types/hooks/useSelectElement.d.ts +5 -0
- package/dist/types/hooks/useShapeFormatPainter.d.ts +4 -0
- package/dist/types/hooks/useSlideBackgroundStyle.d.ts +21 -0
- package/dist/types/hooks/useSlideHandler.d.ts +16 -0
- package/dist/types/hooks/useSlideTheme.d.ts +14 -0
- package/dist/types/hooks/useTextFormatPainter.d.ts +4 -0
- package/dist/types/hooks/useUniformDisplayElement.d.ts +6 -0
- package/dist/types/i18n/cs/canvas/index.d.ts +3 -0
- package/dist/types/i18n/cs/common/index.d.ts +3 -0
- package/dist/types/i18n/cs/components/index.d.ts +3 -0
- package/dist/types/i18n/cs/configs/index.d.ts +3 -0
- package/dist/types/i18n/cs/editor/index.d.ts +3 -0
- package/dist/types/i18n/cs/export/index.d.ts +3 -0
- package/dist/types/i18n/cs/index.d.ts +3 -0
- package/dist/types/i18n/cs/mobile/index.d.ts +3 -0
- package/dist/types/i18n/cs/screen/index.d.ts +3 -0
- package/dist/types/i18n/en/canvas/index.d.ts +3 -0
- package/dist/types/i18n/en/common/index.d.ts +3 -0
- package/dist/types/i18n/en/components/index.d.ts +3 -0
- package/dist/types/i18n/en/configs/index.d.ts +3 -0
- package/dist/types/i18n/en/editor/index.d.ts +3 -0
- package/dist/types/i18n/en/export/index.d.ts +3 -0
- package/dist/types/i18n/en/index.d.ts +3 -0
- package/dist/types/i18n/en/mobile/index.d.ts +3 -0
- package/dist/types/i18n/en/screen/index.d.ts +3 -0
- package/dist/types/i18n/formatters.d.ts +6 -0
- package/dist/types/i18n/getLL.d.ts +8 -0
- package/dist/types/i18n/i18n-types.d.ts +8863 -0
- package/dist/types/i18n/i18n-util.async.d.ts +16 -0
- package/dist/types/i18n/i18n-util.d.ts +24 -0
- package/dist/types/i18n/i18n-util.sync.d.ts +4 -0
- package/dist/types/i18n/i18n-vue.d.ts +9 -0
- package/dist/types/i18n/locale.d.ts +12 -0
- package/dist/types/i18n/pl/canvas/index.d.ts +3 -0
- package/dist/types/i18n/pl/common/index.d.ts +3 -0
- package/dist/types/i18n/pl/components/index.d.ts +3 -0
- package/dist/types/i18n/pl/configs/index.d.ts +3 -0
- package/dist/types/i18n/pl/editor/index.d.ts +3 -0
- package/dist/types/i18n/pl/export/index.d.ts +3 -0
- package/dist/types/i18n/pl/index.d.ts +3 -0
- package/dist/types/i18n/pl/mobile/index.d.ts +3 -0
- package/dist/types/i18n/pl/screen/index.d.ts +3 -0
- package/dist/types/i18n/sk/canvas/index.d.ts +3 -0
- package/dist/types/i18n/sk/common/index.d.ts +3 -0
- package/dist/types/i18n/sk/components/index.d.ts +3 -0
- package/dist/types/i18n/sk/configs/index.d.ts +3 -0
- package/dist/types/i18n/sk/editor/index.d.ts +3 -0
- package/dist/types/i18n/sk/export/index.d.ts +3 -0
- package/dist/types/i18n/sk/index.d.ts +3 -0
- package/dist/types/i18n/sk/mobile/index.d.ts +3 -0
- package/dist/types/i18n/sk/screen/index.d.ts +3 -0
- package/dist/types/i18n/useI18nContext.d.ts +9 -0
- package/dist/types/langs/en.d.ts +854 -0
- package/dist/types/langs/zh-CN.d.ts +826 -0
- package/dist/types/main.d.ts +5 -0
- package/dist/types/services/axios.d.ts +2 -0
- package/dist/types/services/fetch.d.ts +2 -0
- package/dist/types/services/index.d.ts +34 -0
- package/dist/types/store/index.d.ts +6 -0
- package/dist/types/store/keyboard.d.ts +16 -0
- package/dist/types/store/main.d.ts +919 -0
- package/dist/types/store/screen.d.ts +6 -0
- package/dist/types/store/slides.d.ts +1576 -0
- package/dist/types/store/snapshot.d.ts +21 -0
- package/dist/types/types/AIPPT.d.ts +36 -0
- package/dist/types/types/edit.d.ts +111 -0
- package/dist/types/types/export.d.ts +1 -0
- package/dist/types/types/injectKey.d.ts +10 -0
- package/dist/types/types/mobile.d.ts +1 -0
- package/dist/types/types/slides.d.ts +744 -0
- package/dist/types/types/toolbar.d.ts +9 -0
- package/dist/types/utils/clipboard.d.ts +9 -0
- package/dist/types/utils/common.d.ts +22 -0
- package/dist/types/utils/crypto.d.ts +10 -0
- package/dist/types/utils/database.d.ts +17 -0
- package/dist/types/utils/element.d.ts +304 -0
- package/dist/types/utils/emitter.d.ts +23 -0
- package/dist/types/utils/font.d.ts +1 -0
- package/dist/types/utils/fullscreen.d.ts +3 -0
- package/dist/types/utils/htmlParser/format.d.ts +3 -0
- package/dist/types/utils/htmlParser/index.d.ts +4 -0
- package/dist/types/utils/htmlParser/lexer.d.ts +2 -0
- package/dist/types/utils/htmlParser/parser.d.ts +15 -0
- package/dist/types/utils/htmlParser/stringify.d.ts +3 -0
- package/dist/types/utils/htmlParser/tags.d.ts +4 -0
- package/dist/types/utils/htmlParser/types.d.ts +55 -0
- package/dist/types/utils/image.d.ts +25 -0
- package/dist/types/utils/message.d.ts +28 -0
- package/dist/types/utils/portal.d.ts +5 -0
- package/dist/types/utils/print.d.ts +7 -0
- package/dist/types/utils/prosemirror/commands/replaceText.d.ts +2 -0
- package/dist/types/utils/prosemirror/commands/setListStyle.d.ts +4 -0
- package/dist/types/utils/prosemirror/commands/setTextAlign.d.ts +5 -0
- package/dist/types/utils/prosemirror/commands/setTextIndent.d.ts +3 -0
- package/dist/types/utils/prosemirror/commands/toggleList.d.ts +8 -0
- package/dist/types/utils/prosemirror/index.d.ts +4 -0
- package/dist/types/utils/prosemirror/plugins/index.d.ts +10 -0
- package/dist/types/utils/prosemirror/plugins/inputrules.d.ts +7 -0
- package/dist/types/utils/prosemirror/plugins/keymap.d.ts +3 -0
- package/dist/types/utils/prosemirror/plugins/placeholder.d.ts +2 -0
- package/dist/types/utils/prosemirror/schema/index.d.ts +25 -0
- package/dist/types/utils/prosemirror/schema/marks.d.ts +18 -0
- package/dist/types/utils/prosemirror/schema/nodes.d.ts +11 -0
- package/dist/types/utils/prosemirror/utils.d.ts +69 -0
- package/dist/types/utils/selection.d.ts +1 -0
- package/dist/types/utils/svg2Base64.d.ts +1 -0
- package/dist/types/utils/svgPathParser.d.ts +39 -0
- package/dist/types/utils/textParser.d.ts +5 -0
- package/dist/types/views/Editor/AIPPTDialog.vue.d.ts +3 -0
- package/dist/types/views/Editor/Canvas/AlignmentLine.vue.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/EditableElement.vue.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/ElementCreateSelection.vue.d.ts +8 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/AnimationIndex.vue.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/BorderPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/ChartToolbar.vue.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/ImageToolbar.vue.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/LatexToolbar.vue.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/LineToolbar.vue.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/ShapeToolbar.vue.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/TableToolbar.vue.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/TextStyleControls.vue.d.ts +3 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/TextToolbar.vue.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/index.vue.d.ts +12 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/LinkHandler.vue.d.ts +9 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/index.vue.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/GridLines.vue.d.ts +3 -0
- package/dist/types/views/Editor/Canvas/LinkDialog.vue.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/MouseSelection.vue.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/Operate/BorderLine.vue.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/Operate/CommonElementOperate.vue.d.ts +15 -0
- package/dist/types/views/Editor/Canvas/Operate/ImageElementOperate.vue.d.ts +15 -0
- package/dist/types/views/Editor/Canvas/Operate/LineElementOperate.vue.d.ts +13 -0
- package/dist/types/views/Editor/Canvas/Operate/MultiSelectOperate.vue.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/Operate/ResizeHandler.vue.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/Operate/RotateHandler.vue.d.ts +3 -0
- package/dist/types/views/Editor/Canvas/Operate/ShapeElementOperate.vue.d.ts +17 -0
- package/dist/types/views/Editor/Canvas/Operate/TableElementOperate.vue.d.ts +15 -0
- package/dist/types/views/Editor/Canvas/Operate/TextElementOperate.vue.d.ts +15 -0
- package/dist/types/views/Editor/Canvas/Operate/index.vue.d.ts +16 -0
- package/dist/types/views/Editor/Canvas/Ruler.vue.d.ts +14 -0
- package/dist/types/views/Editor/Canvas/ShapeCreateCanvas.vue.d.ts +8 -0
- package/dist/types/views/Editor/Canvas/ViewportBackground.vue.d.ts +3 -0
- package/dist/types/views/Editor/Canvas/hooks/useCommonOperate.d.ts +89 -0
- package/dist/types/views/Editor/Canvas/hooks/useDragElement.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/hooks/useDragLineElement.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/hooks/useDrop.d.ts +3 -0
- package/dist/types/views/Editor/Canvas/hooks/useInsertFromCreateSelection.d.ts +12 -0
- package/dist/types/views/Editor/Canvas/hooks/useMouseSelection.d.ts +24 -0
- package/dist/types/views/Editor/Canvas/hooks/useMoveShapeKeypoint.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/hooks/useRotateElement.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/hooks/useRotateGroupElement.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/hooks/useScaleElement.d.ts +8 -0
- package/dist/types/views/Editor/Canvas/hooks/useSelectElement.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/hooks/useViewportSize.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/index.vue.d.ts +3 -0
- package/dist/types/views/Editor/CanvasTool/ChartPool.vue.d.ts +8 -0
- package/dist/types/views/Editor/CanvasTool/LinePool.vue.d.ts +8 -0
- package/dist/types/views/Editor/CanvasTool/MediaInput.vue.d.ts +23 -0
- package/dist/types/views/Editor/CanvasTool/ShapeItemThumbnail.vue.d.ts +7 -0
- package/dist/types/views/Editor/CanvasTool/ShapePool.vue.d.ts +8 -0
- package/dist/types/views/Editor/CanvasTool/TableGenerator.vue.d.ts +13 -0
- package/dist/types/views/Editor/CanvasTool/index.vue.d.ts +3 -0
- package/dist/types/views/Editor/ChartDataEditorDialog.vue.d.ts +3 -0
- package/dist/types/views/Editor/EditorHeader/HotkeyDoc.vue.d.ts +3 -0
- package/dist/types/views/Editor/EditorHeader/index.vue.d.ts +3 -0
- package/dist/types/views/Editor/ExportDialog/ExportImage.vue.d.ts +7 -0
- package/dist/types/views/Editor/ExportDialog/ExportJSON.vue.d.ts +7 -0
- package/dist/types/views/Editor/ExportDialog/ExportPDF.vue.d.ts +7 -0
- package/dist/types/views/Editor/ExportDialog/ExportPPTX.vue.d.ts +7 -0
- package/dist/types/views/Editor/ExportDialog/ExportSpecificFile.vue.d.ts +7 -0
- package/dist/types/views/Editor/ExportDialog/index.vue.d.ts +3 -0
- package/dist/types/views/Editor/ImageLibPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/LatexEditorDialog.vue.d.ts +3 -0
- package/dist/types/views/Editor/MarkupPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/NotesPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Remark/Editor.vue.d.ts +10 -0
- package/dist/types/views/Editor/Remark/index.vue.d.ts +10 -0
- package/dist/types/views/Editor/SearchPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/SelectPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/SymbolPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Thumbnails/Templates.vue.d.ts +16 -0
- package/dist/types/views/Editor/Thumbnails/index.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementAnimationPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementPositionPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/AudioStylePanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/ThemeColorsSetting.vue.d.ts +10 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/LatexStylePanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/VideoStylePanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/index.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/MultiPositionPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/MultiStylePanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/SlideAnimationPanel.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/SlideDesignPanel/ThemeColorsSetting.vue.d.ts +7 -0
- package/dist/types/views/Editor/Toolbar/SlideDesignPanel/ThemeStylesExtract.vue.d.ts +7 -0
- package/dist/types/views/Editor/Toolbar/SlideDesignPanel/index.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/common/ElementColorMask.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/common/ElementFilter.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/common/ElementFlip.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/common/ElementOpacity.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/common/ElementOutline.vue.d.ts +8 -0
- package/dist/types/views/Editor/Toolbar/common/ElementShadow.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/common/RichTextBase.vue.d.ts +3 -0
- package/dist/types/views/Editor/Toolbar/common/SVGLine.vue.d.ts +15 -0
- package/dist/types/views/Editor/Toolbar/index.vue.d.ts +3 -0
- package/dist/types/views/Editor/index.vue.d.ts +3 -0
- package/dist/types/views/Mobile/MobileEditor/ElementToolbar.vue.d.ts +3 -0
- package/dist/types/views/Mobile/MobileEditor/Header.vue.d.ts +7 -0
- package/dist/types/views/Mobile/MobileEditor/MobileEditableElement.vue.d.ts +9 -0
- package/dist/types/views/Mobile/MobileEditor/MobileOperate.vue.d.ts +13 -0
- package/dist/types/views/Mobile/MobileEditor/SlideToolbar.vue.d.ts +3 -0
- package/dist/types/views/Mobile/MobileEditor/index.vue.d.ts +7 -0
- package/dist/types/views/Mobile/MobilePlayer.vue.d.ts +7 -0
- package/dist/types/views/Mobile/MobilePreview.vue.d.ts +7 -0
- package/dist/types/views/Mobile/MobileThumbnails.vue.d.ts +3 -0
- package/dist/types/views/Mobile/index.vue.d.ts +3 -0
- package/dist/types/views/Screen/AudienceView.vue.d.ts +3 -0
- package/dist/types/views/Screen/BaseView.vue.d.ts +6 -0
- package/dist/types/views/Screen/BottomThumbnails.vue.d.ts +3 -0
- package/dist/types/views/Screen/CountdownTimer.vue.d.ts +14 -0
- package/dist/types/views/Screen/PresenterView.vue.d.ts +6 -0
- package/dist/types/views/Screen/ScreenElement.vue.d.ts +11 -0
- package/dist/types/views/Screen/ScreenSlide.vue.d.ts +11 -0
- package/dist/types/views/Screen/ScreenSlideList.vue.d.ts +10 -0
- package/dist/types/views/Screen/SlideThumbnails.vue.d.ts +10 -0
- package/dist/types/views/Screen/WritingBoardTool.vue.d.ts +16 -0
- package/dist/types/views/Screen/hooks/useExecPlay.d.ts +23 -0
- package/dist/types/views/Screen/hooks/useFullscreen.d.ts +5 -0
- package/dist/types/views/Screen/hooks/useSlideSize.d.ts +6 -0
- package/dist/types/views/Screen/hooks/useSlidesWithTurningMode.d.ts +14 -0
- package/dist/types/views/Screen/index.vue.d.ts +3 -0
- package/dist/types/views/components/ThumbnailSlide/ThumbnailElement.vue.d.ts +8 -0
- package/dist/types/views/components/ThumbnailSlide/index.vue.d.ts +11 -0
- package/dist/types/views/components/element/AudioElement/AudioPlayer.vue.d.ts +14 -0
- package/dist/types/views/components/element/AudioElement/BaseAudioElement.vue.d.ts +7 -0
- package/dist/types/views/components/element/AudioElement/ScreenAudioElement.vue.d.ts +7 -0
- package/dist/types/views/components/element/AudioElement/index.vue.d.ts +10 -0
- package/dist/types/views/components/element/ChartElement/BaseChartElement.vue.d.ts +8 -0
- package/dist/types/views/components/element/ChartElement/Chart.vue.d.ts +14 -0
- package/dist/types/views/components/element/ChartElement/chartOption.d.ts +15 -0
- package/dist/types/views/components/element/ChartElement/index.vue.d.ts +10 -0
- package/dist/types/views/components/element/ElementOutline.vue.d.ts +9 -0
- package/dist/types/views/components/element/ImageElement/BaseImageElement.vue.d.ts +7 -0
- package/dist/types/views/components/element/ImageElement/ImageClipHandler.vue.d.ts +19 -0
- package/dist/types/views/components/element/ImageElement/ImageOutline/ImageEllipseOutline.vue.d.ts +9 -0
- package/dist/types/views/components/element/ImageElement/ImageOutline/ImagePolygonOutline.vue.d.ts +10 -0
- package/dist/types/views/components/element/ImageElement/ImageOutline/ImageRectOutline.vue.d.ts +12 -0
- package/dist/types/views/components/element/ImageElement/ImageOutline/index.vue.d.ts +7 -0
- package/dist/types/views/components/element/ImageElement/index.vue.d.ts +10 -0
- package/dist/types/views/components/element/ImageElement/useClipImage.d.ts +19 -0
- package/dist/types/views/components/element/ImageElement/useFilter.d.ts +6 -0
- package/dist/types/views/components/element/LatexElement/BaseLatexElement.vue.d.ts +7 -0
- package/dist/types/views/components/element/LatexElement/index.vue.d.ts +10 -0
- package/dist/types/views/components/element/LineElement/BaseLineElement.vue.d.ts +7 -0
- package/dist/types/views/components/element/LineElement/LinePointMarker.vue.d.ts +13 -0
- package/dist/types/views/components/element/LineElement/index.vue.d.ts +10 -0
- package/dist/types/views/components/element/ProsemirrorEditor.vue.d.ts +32 -0
- package/dist/types/views/components/element/ShapeElement/BaseShapeElement.vue.d.ts +7 -0
- package/dist/types/views/components/element/ShapeElement/GradientDefs.vue.d.ts +12 -0
- package/dist/types/views/components/element/ShapeElement/PatternDefs.vue.d.ts +7 -0
- package/dist/types/views/components/element/ShapeElement/index.vue.d.ts +10 -0
- package/dist/types/views/components/element/TableElement/BaseTableElement.vue.d.ts +7 -0
- package/dist/types/views/components/element/TableElement/CustomTextarea.vue.d.ts +14 -0
- package/dist/types/views/components/element/TableElement/EditableTable.vue.d.ts +23 -0
- package/dist/types/views/components/element/TableElement/StaticTable.vue.d.ts +15 -0
- package/dist/types/views/components/element/TableElement/index.vue.d.ts +10 -0
- package/dist/types/views/components/element/TableElement/useHideCells.d.ts +6 -0
- package/dist/types/views/components/element/TableElement/useSubThemeColor.d.ts +6 -0
- package/dist/types/views/components/element/TableElement/utils.d.ts +11 -0
- package/dist/types/views/components/element/TextElement/BaseTextElement.vue.d.ts +8 -0
- package/dist/types/views/components/element/TextElement/index.vue.d.ts +10 -0
- package/dist/types/views/components/element/VideoElement/BaseVideoElement.vue.d.ts +7 -0
- package/dist/types/views/components/element/VideoElement/ScreenVideoElement.vue.d.ts +7 -0
- package/dist/types/views/components/element/VideoElement/VideoPlayer/index.vue.d.ts +15 -0
- package/dist/types/views/components/element/VideoElement/VideoPlayer/useMSE.d.ts +3 -0
- package/dist/types/views/components/element/VideoElement/index.vue.d.ts +10 -0
- package/dist/types/views/components/element/hooks/useElementFill.d.ts +6 -0
- package/dist/types/views/components/element/hooks/useElementFlip.d.ts +5 -0
- package/dist/types/views/components/element/hooks/useElementOutline.d.ts +9 -0
- package/dist/types/views/components/element/hooks/useElementShadow.d.ts +6 -0
- package/docs/AGENTIC_BRIDGE.md +513 -0
- package/docs/EMBED.md +307 -0
- package/docs/RELEASE.md +47 -0
- package/package.json +127 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type CSSProperties } from 'vue';
|
|
2
|
+
import { type Placement } from 'tippy.js';
|
|
3
|
+
import 'tippy.js/animations/scale.css';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
value?: boolean;
|
|
6
|
+
trigger?: 'click' | 'mouseenter' | 'manual';
|
|
7
|
+
placement?: Placement;
|
|
8
|
+
appendTo?: HTMLElement | 'parent';
|
|
9
|
+
contentStyle?: CSSProperties;
|
|
10
|
+
center?: boolean;
|
|
11
|
+
offset?: number;
|
|
12
|
+
};
|
|
13
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
content?: (props: typeof __VLS_1) => any;
|
|
16
|
+
} & {
|
|
17
|
+
default?: (props: typeof __VLS_3) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
20
|
+
hide: () => any;
|
|
21
|
+
show: () => any;
|
|
22
|
+
"update:value": (payload: boolean) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onHide?: (() => any) | undefined;
|
|
25
|
+
onShow?: (() => any) | undefined;
|
|
26
|
+
"onUpdate:value"?: ((payload: boolean) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
center: boolean;
|
|
29
|
+
value: boolean;
|
|
30
|
+
trigger: "click" | "mouseenter" | "manual";
|
|
31
|
+
offset: number;
|
|
32
|
+
placement: Placement;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
center?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
click: () => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onClick?: (() => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
center: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
"update:value": (payload: string) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
"onUpdate:value"?: ((payload: string) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
interface SelectOption {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string | number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
value: string | number;
|
|
8
|
+
options: SelectOption[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
defaultLabel?: string;
|
|
12
|
+
search?: boolean;
|
|
13
|
+
searchLabel?: string;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_1: {}, __VLS_28: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
18
|
+
} & {
|
|
19
|
+
icon?: (props: typeof __VLS_28) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
22
|
+
"update:value": (payload: string | number) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
"onUpdate:value"?: ((payload: string | number) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
search: boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
autofocus: boolean;
|
|
29
|
+
defaultLabel: string;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_18: {}, __VLS_20: {}, __VLS_22: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
label?: (props: typeof __VLS_1) => any;
|
|
7
|
+
} & {
|
|
8
|
+
icon?: (props: typeof __VLS_3) => any;
|
|
9
|
+
} & {
|
|
10
|
+
options?: (props: typeof __VLS_18) => any;
|
|
11
|
+
} & {
|
|
12
|
+
label?: (props: typeof __VLS_20) => any;
|
|
13
|
+
} & {
|
|
14
|
+
icon?: (props: typeof __VLS_22) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: number | [number, number];
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
step?: number;
|
|
7
|
+
range?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
"update:value": (payload: number | [number, number]) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
"onUpdate:value"?: ((payload: number | [number, number]) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
max: number;
|
|
15
|
+
min: number;
|
|
16
|
+
range: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
step: number;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
"update:value": (payload: boolean) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onUpdate:value"?: ((payload: boolean) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type CSSProperties } from 'vue';
|
|
2
|
+
interface TabItem {
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
value: string;
|
|
10
|
+
tabs: TabItem[];
|
|
11
|
+
card?: boolean;
|
|
12
|
+
tabsStyle?: CSSProperties;
|
|
13
|
+
tabStyle?: CSSProperties;
|
|
14
|
+
spaceAround?: boolean;
|
|
15
|
+
spaceBetween?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
|
+
"update:value": (payload: string) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:value"?: ((payload: string) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
card: boolean;
|
|
23
|
+
spaceAround: boolean;
|
|
24
|
+
spaceBetween: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: string;
|
|
3
|
+
rows?: number;
|
|
4
|
+
padding?: number;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
resizable?: boolean;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
10
|
+
focus: () => void;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
+
blur: (payload: FocusEvent) => any;
|
|
13
|
+
enter: (payload: KeyboardEvent) => any;
|
|
14
|
+
focus: (payload: FocusEvent) => any;
|
|
15
|
+
"update:value": (payload: string) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onBlur?: ((payload: FocusEvent) => any) | undefined;
|
|
18
|
+
onEnter?: ((payload: KeyboardEvent) => any) | undefined;
|
|
19
|
+
onFocus?: ((payload: FocusEvent) => any) | undefined;
|
|
20
|
+
"onUpdate:value"?: ((payload: string) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
rows: number;
|
|
23
|
+
placeholder: string;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
resizable: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
color: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_8: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_8) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
color?: string;
|
|
3
|
+
model?: 'pen' | 'eraser' | 'mark' | 'shape';
|
|
4
|
+
shapeType?: 'rect' | 'circle' | 'arrow';
|
|
5
|
+
blackboard?: boolean;
|
|
6
|
+
penSize?: number;
|
|
7
|
+
markSize?: number;
|
|
8
|
+
rubberSize?: number;
|
|
9
|
+
shapeSize?: number;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
12
|
+
clearCanvas: () => void;
|
|
13
|
+
getImageDataURL: () => string | undefined;
|
|
14
|
+
setImageDataURL: (imageDataURL: string) => void;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
end: () => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onEnd?: (() => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
color: string;
|
|
21
|
+
blackboard: boolean;
|
|
22
|
+
model: "pen" | "eraser" | "mark" | "shape";
|
|
23
|
+
shapeType: "rect" | "circle" | "arrow";
|
|
24
|
+
penSize: number;
|
|
25
|
+
markSize: number;
|
|
26
|
+
rubberSize: number;
|
|
27
|
+
shapeSize: number;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
export declare const ENTER_ANIMATIONS: {
|
|
6
|
+
type: string;
|
|
7
|
+
name: import("typesafe-i18n").LocalizedString;
|
|
8
|
+
children: {
|
|
9
|
+
name: import("typesafe-i18n").LocalizedString;
|
|
10
|
+
value: string;
|
|
11
|
+
}[];
|
|
12
|
+
}[];
|
|
13
|
+
export declare const EXIT_ANIMATIONS: {
|
|
14
|
+
type: string;
|
|
15
|
+
name: import("typesafe-i18n").LocalizedString;
|
|
16
|
+
children: {
|
|
17
|
+
name: import("typesafe-i18n").LocalizedString;
|
|
18
|
+
value: string;
|
|
19
|
+
}[];
|
|
20
|
+
}[];
|
|
21
|
+
export declare const ATTENTION_ANIMATIONS: {
|
|
22
|
+
type: string;
|
|
23
|
+
name: import("typesafe-i18n").LocalizedString;
|
|
24
|
+
children: {
|
|
25
|
+
name: import("typesafe-i18n").LocalizedString;
|
|
26
|
+
value: string;
|
|
27
|
+
}[];
|
|
28
|
+
}[];
|
|
29
|
+
interface SlideAnimation {
|
|
30
|
+
label: string;
|
|
31
|
+
value: TurningMode;
|
|
32
|
+
}
|
|
33
|
+
export declare const SLIDE_ANIMATIONS: SlideAnimation[];
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
export declare const HOTKEY_DOC: HotkeyItem[];
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const enum ClipPathTypes {
|
|
2
|
+
RECT = "rect",
|
|
3
|
+
ELLIPSE = "ellipse",
|
|
4
|
+
POLYGON = "polygon"
|
|
5
|
+
}
|
|
6
|
+
export declare const enum ClipPaths {
|
|
7
|
+
RECT = "rect",
|
|
8
|
+
ROUNDRECT = "roundRect",
|
|
9
|
+
ELLIPSE = "ellipse",
|
|
10
|
+
TRIANGLE = "triangle",
|
|
11
|
+
PENTAGON = "pentagon",
|
|
12
|
+
RHOMBUS = "rhombus",
|
|
13
|
+
STAR = "star"
|
|
14
|
+
}
|
|
15
|
+
interface ClipPath {
|
|
16
|
+
[key: string]: {
|
|
17
|
+
name: string;
|
|
18
|
+
type: ClipPathTypes;
|
|
19
|
+
style: string;
|
|
20
|
+
radius?: string;
|
|
21
|
+
createPath?: (width: number, height: number) => string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export declare const CLIPPATHS: ClipPath;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const FORMULA_LIST: {
|
|
2
|
+
label: import("typesafe-i18n").LocalizedString;
|
|
3
|
+
latex: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const SYMBOL_LIST: {
|
|
6
|
+
type: string;
|
|
7
|
+
label: import("typesafe-i18n").LocalizedString;
|
|
8
|
+
children: {
|
|
9
|
+
latex: string;
|
|
10
|
+
}[];
|
|
11
|
+
}[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { LinePoint, LineStyleType } from '../types/slides';
|
|
2
|
+
export interface LinePoolItem {
|
|
3
|
+
path: string;
|
|
4
|
+
style: LineStyleType;
|
|
5
|
+
points: [LinePoint, LinePoint];
|
|
6
|
+
isBroken?: boolean;
|
|
7
|
+
isBroken2?: boolean;
|
|
8
|
+
isCurve?: boolean;
|
|
9
|
+
isCubic?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface PresetLine {
|
|
12
|
+
type: string;
|
|
13
|
+
children: LinePoolItem[];
|
|
14
|
+
}
|
|
15
|
+
export declare const LINE_LIST: PresetLine[];
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MIME_MAP: Record<string, string>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ShapePathFormulasKeys } from '../types/slides';
|
|
2
|
+
export type ShapeCategoryKey = 'rectangle' | 'common' | 'arrow' | 'other' | 'line';
|
|
3
|
+
export interface ShapePoolItem {
|
|
4
|
+
viewBox: [number, number];
|
|
5
|
+
path: string;
|
|
6
|
+
special?: boolean;
|
|
7
|
+
pathFormula?: ShapePathFormulasKeys;
|
|
8
|
+
outlined?: boolean;
|
|
9
|
+
pptxShapeType?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
withborder?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface ShapeListItem {
|
|
14
|
+
categoryKey: ShapeCategoryKey;
|
|
15
|
+
children: ShapePoolItem[];
|
|
16
|
+
}
|
|
17
|
+
export interface ShapePathFormula {
|
|
18
|
+
editable?: boolean;
|
|
19
|
+
defaultValue?: number[];
|
|
20
|
+
range?: [number, number][];
|
|
21
|
+
relative?: string[];
|
|
22
|
+
getBaseSize?: ((width: number, height: number) => number)[];
|
|
23
|
+
formula: (width: number, height: number, values?: number[]) => string;
|
|
24
|
+
}
|
|
25
|
+
export declare const SHAPE_PATH_FORMULAS: Record<string, ShapePathFormula>;
|
|
26
|
+
/** Shape categories with paths; resolve labels via `LL.configs.shapes` in UI. */
|
|
27
|
+
export declare const SHAPE_LIST: ShapeListItem[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LOCALSTORAGE_KEY_DISCARDED_DB = "PPTIST_DISCARDED_DB";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type SymbolCategoryKey = 'letter' | 'number' | 'math' | 'arrow' | 'graph' | 'emoji';
|
|
2
|
+
export interface SymbolListItem {
|
|
3
|
+
key: SymbolCategoryKey;
|
|
4
|
+
children: string[][];
|
|
5
|
+
}
|
|
6
|
+
/** Symbol groups; resolve tab labels via `LL.configs.symbols` in UI. */
|
|
7
|
+
export declare const SYMBOL_LIST: SymbolListItem[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PPTElementOutline, PPTElementShadow } from '../types/slides';
|
|
2
|
+
export interface PresetTheme {
|
|
3
|
+
background: string;
|
|
4
|
+
fontColor: string;
|
|
5
|
+
fontname: string;
|
|
6
|
+
colors: string[];
|
|
7
|
+
borderColor?: string;
|
|
8
|
+
outline?: PPTElementOutline;
|
|
9
|
+
shadow?: PPTElementShadow;
|
|
10
|
+
}
|
|
11
|
+
export declare const PRESET_THEMES: PresetTheme[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PptistMountOptions } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
init: PptistMountOptions;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import type { Pinia } from 'pinia';
|
|
3
|
+
import { applyLocale } from '../localeBridge';
|
|
4
|
+
import type { PptistAgentApi } from './types';
|
|
5
|
+
interface AgenticRuntime {
|
|
6
|
+
api: PptistAgentApi;
|
|
7
|
+
stop(): void;
|
|
8
|
+
}
|
|
9
|
+
export declare function createAgenticApi(pinia: Pinia, app: App, options?: {
|
|
10
|
+
setLocale?: (locale: Parameters<typeof applyLocale>[0]) => Promise<void>;
|
|
11
|
+
}): AgenticRuntime;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { PPTElement } from '../../types/slides';
|
|
2
|
+
import type { PptistDocument } from '../types';
|
|
3
|
+
export declare const agenticBridgeGoldenElementTypes: PPTElement["type"][];
|
|
4
|
+
export declare const agenticBridgeGoldenIds: {
|
|
5
|
+
readonly slide: "slide_fixture_all_elements";
|
|
6
|
+
readonly section: "section_fixture";
|
|
7
|
+
readonly note: "note_fixture";
|
|
8
|
+
readonly noteReply: "reply_fixture";
|
|
9
|
+
readonly animations: {
|
|
10
|
+
readonly textIn: "animation_fixture_text_in";
|
|
11
|
+
readonly shapeAttention: "animation_fixture_shape_attention";
|
|
12
|
+
readonly imageOut: "animation_fixture_image_out";
|
|
13
|
+
};
|
|
14
|
+
readonly elements: {
|
|
15
|
+
readonly text: "text_fixture";
|
|
16
|
+
readonly image: "image_fixture";
|
|
17
|
+
readonly shape: "shape_fixture";
|
|
18
|
+
readonly line: "line_fixture";
|
|
19
|
+
readonly chart: "chart_fixture";
|
|
20
|
+
readonly table: "table_fixture";
|
|
21
|
+
readonly latex: "latex_fixture";
|
|
22
|
+
readonly video: "video_fixture";
|
|
23
|
+
readonly audio: "audio_fixture";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const agenticBridgeGoldenDocument: PptistDocument;
|
|
27
|
+
export declare const agenticBridgeGoldenDocuments: PptistDocument[];
|
|
28
|
+
export declare const agenticBridgeFixture: PptistDocument;
|