lt-ppt 1.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 +31 -0
- package/dist/InnerApp-Cw-WNV5d.js +96942 -0
- package/dist/favicon.ico +0 -0
- package/dist/imgs/template_1.webp +0 -0
- package/dist/imgs/template_2.webp +0 -0
- package/dist/imgs/template_3.webp +0 -0
- package/dist/imgs/template_4.webp +0 -0
- package/dist/imgs/template_5.webp +0 -0
- package/dist/imgs/template_6.webp +0 -0
- package/dist/imgs/template_7.webp +0 -0
- package/dist/imgs/template_8.webp +0 -0
- package/dist/index-Bp6Exf0_.js +166 -0
- package/dist/index-lXMdfvq4.js +8 -0
- package/dist/lib-CcU3sBPZ.js +1907 -0
- package/dist/logo.png +0 -0
- package/dist/lt-ppt.css +7 -0
- package/dist/lt-ppt.es.js +5 -0
- package/dist/lt-ppt.umd.js +461 -0
- package/dist/mocks/AIPPT.json +475 -0
- package/dist/mocks/AIPPT_Outline.md +69 -0
- package/dist/mocks/imgs.json +482 -0
- package/dist/mocks/slides.json +184 -0
- package/dist/mocks/template_1.json +1 -0
- package/dist/mocks/template_2.json +1 -0
- package/dist/mocks/template_3.json +1 -0
- package/dist/mocks/template_4.json +1 -0
- package/dist/mocks/template_5.json +1 -0
- package/dist/mocks/template_6.json +1 -0
- package/dist/mocks/template_7.json +1 -0
- package/dist/mocks/template_8.json +1 -0
- package/dist/pinia-CVat9nJz.js +4417 -0
- package/dist/screen-B0Lx73x7.js +12797 -0
- package/dist/tippy.esm-Dos-q4Dz.js +1711 -0
- package/dist/types/lib.d.ts +2 -0
- package/dist/types/src/InnerApp.vue.d.ts +10 -0
- package/dist/types/src/LtPPT.vue.d.ts +22 -0
- package/dist/types/src/components/Button.vue.d.ts +28 -0
- package/dist/types/src/components/ButtonGroup.vue.d.ts +16 -0
- package/dist/types/src/components/Checkbox.vue.d.ts +19 -0
- package/dist/types/src/components/CheckboxButton.vue.d.ts +16 -0
- package/dist/types/src/components/ColorButton.vue.d.ts +5 -0
- package/dist/types/src/components/ColorListButton.vue.d.ts +5 -0
- package/dist/types/src/components/ColorPicker/Alpha.vue.d.ts +12 -0
- package/dist/types/src/components/ColorPicker/Checkboard.vue.d.ts +11 -0
- package/dist/types/src/components/ColorPicker/EditableInput.vue.d.ts +10 -0
- package/dist/types/src/components/ColorPicker/Hue.vue.d.ts +13 -0
- package/dist/types/src/components/ColorPicker/Saturation.vue.d.ts +13 -0
- package/dist/types/src/components/ColorPicker/index.vue.d.ts +11 -0
- package/dist/types/src/components/Contextmenu/MenuContent.vue.d.ts +7 -0
- package/dist/types/src/components/Contextmenu/index.vue.d.ts +9 -0
- package/dist/types/src/components/Contextmenu/types.d.ts +13 -0
- package/dist/types/src/components/Divider.vue.d.ts +9 -0
- package/dist/types/src/components/Drawer.vue.d.ts +24 -0
- package/dist/types/src/components/FileInput.vue.d.ts +20 -0
- package/dist/types/src/components/FullscreenSpin.vue.d.ts +11 -0
- package/dist/types/src/components/GradientBar.vue.d.ts +15 -0
- package/dist/types/src/components/ImageWaterfallViewer.vue.d.ts +35 -0
- package/dist/types/src/components/Input.vue.d.ts +41 -0
- package/dist/types/src/components/LaTeXEditor/FormulaContent.vue.d.ts +7 -0
- package/dist/types/src/components/LaTeXEditor/SymbolContent.vue.d.ts +5 -0
- package/dist/types/src/components/LaTeXEditor/hfmath.d.ts +2 -0
- package/dist/types/src/components/LaTeXEditor/index.vue.d.ts +73 -0
- package/dist/types/src/components/LanguageSwitch.vue.d.ts +2 -0
- package/dist/types/src/components/Message.vue.d.ts +23 -0
- package/dist/types/src/components/Modal.vue.d.ts +32 -0
- package/dist/types/src/components/MoveablePanel.vue.d.ts +41 -0
- package/dist/types/src/components/NumberInput.vue.d.ts +38 -0
- package/dist/types/src/components/OutlineEditor.vue.d.ts +9 -0
- package/dist/types/src/components/Popover.vue.d.ts +38 -0
- package/dist/types/src/components/PopoverMenuItem.vue.d.ts +18 -0
- package/dist/types/src/components/RadioButton.vue.d.ts +15 -0
- package/dist/types/src/components/RadioGroup.vue.d.ts +19 -0
- package/dist/types/src/components/Select.vue.d.ts +143 -0
- package/dist/types/src/components/SelectCustom.vue.d.ts +20 -0
- package/dist/types/src/components/SelectGroup.vue.d.ts +9 -0
- package/dist/types/src/components/Slider.vue.d.ts +22 -0
- package/dist/types/src/components/Switch.vue.d.ts +12 -0
- package/dist/types/src/components/Tabs.vue.d.ts +26 -0
- package/dist/types/src/components/TextArea.vue.d.ts +29 -0
- package/dist/types/src/components/TextColorButton.vue.d.ts +12 -0
- package/dist/types/src/components/WritingBoard.vue.d.ts +32 -0
- package/dist/types/src/configs/animation.d.ts +34 -0
- package/dist/types/src/configs/chart.d.ts +4 -0
- package/dist/types/src/configs/element.d.ts +2 -0
- package/dist/types/src/configs/font.d.ts +4 -0
- package/dist/types/src/configs/hotkey.d.ts +41 -0
- package/dist/types/src/configs/imageClip.d.ts +25 -0
- package/dist/types/src/configs/latex.d.ts +11 -0
- package/dist/types/src/configs/lines.d.ts +16 -0
- package/dist/types/src/configs/mime.d.ts +1 -0
- package/dist/types/src/configs/shapes.d.ts +26 -0
- package/dist/types/src/configs/storage.d.ts +1 -0
- package/dist/types/src/configs/symbol.d.ts +5 -0
- package/dist/types/src/configs/theme.d.ts +11 -0
- package/dist/types/src/directive/clickOutside.d.ts +3 -0
- package/dist/types/src/directive/contextmenu.d.ts +3 -0
- package/dist/types/src/directive/index.d.ts +5 -0
- package/dist/types/src/directive/loading.d.ts +3 -0
- package/dist/types/src/directive/tooltip.d.ts +3 -0
- package/dist/types/src/hooks/useAIPPT.d.ts +14 -0
- package/dist/types/src/hooks/useAddSlidesOrElements.d.ts +6 -0
- package/dist/types/src/hooks/useAlignActiveElement.d.ts +5 -0
- package/dist/types/src/hooks/useAlignElementToCanvas.d.ts +5 -0
- package/dist/types/src/hooks/useCombineElement.d.ts +6 -0
- package/dist/types/src/hooks/useCopyAndPasteElement.d.ts +7 -0
- package/dist/types/src/hooks/useCreateElement.d.ts +36 -0
- package/dist/types/src/hooks/useDeleteElement.d.ts +5 -0
- package/dist/types/src/hooks/useExport.d.ts +11 -0
- package/dist/types/src/hooks/useGlobalHotkey.d.ts +2 -0
- package/dist/types/src/hooks/useHideElement.d.ts +6 -0
- package/dist/types/src/hooks/useHistorySnapshot.d.ts +6 -0
- package/dist/types/src/hooks/useImport.d.ts +15 -0
- package/dist/types/src/hooks/useLink.d.ts +6 -0
- package/dist/types/src/hooks/useLoadSlides.d.ts +4 -0
- package/dist/types/src/hooks/useLockElement.d.ts +6 -0
- package/dist/types/src/hooks/useMoveElement.d.ts +4 -0
- package/dist/types/src/hooks/useOrderElement.d.ts +6 -0
- package/dist/types/src/hooks/usePasteDataTransfer.d.ts +7 -0
- package/dist/types/src/hooks/usePasteEvent.d.ts +2 -0
- package/dist/types/src/hooks/usePasteTextClipboardData.d.ts +8 -0
- package/dist/types/src/hooks/useScaleCanvas.d.ts +7 -0
- package/dist/types/src/hooks/useScreening.d.ts +6 -0
- package/dist/types/src/hooks/useSearch.d.ts +44 -0
- package/dist/types/src/hooks/useSectionHandler.d.ts +8 -0
- package/dist/types/src/hooks/useSelectElement.d.ts +5 -0
- package/dist/types/src/hooks/useShapeFormatPainter.d.ts +4 -0
- package/dist/types/src/hooks/useSlideBackgroundStyle.d.ts +21 -0
- package/dist/types/src/hooks/useSlideHandler.d.ts +16 -0
- package/dist/types/src/hooks/useSlideTheme.d.ts +14 -0
- package/dist/types/src/hooks/useTextFormatPainter.d.ts +4 -0
- package/dist/types/src/hooks/useUniformDisplayElement.d.ts +6 -0
- package/dist/types/src/lib.d.ts +5 -0
- package/dist/types/src/locales/en.d.ts +859 -0
- package/dist/types/src/locales/index.d.ts +1753 -0
- package/dist/types/src/locales/zh-CN.d.ts +887 -0
- package/dist/types/src/services/axios.d.ts +2 -0
- package/dist/types/src/services/fetch.d.ts +2 -0
- package/dist/types/src/services/index.d.ts +36 -0
- package/dist/types/src/store/index.d.ts +6 -0
- package/dist/types/src/store/keyboard.d.ts +16 -0
- package/dist/types/src/store/main.d.ts +915 -0
- package/dist/types/src/store/screen.d.ts +6 -0
- package/dist/types/src/store/slides.d.ts +1559 -0
- package/dist/types/src/store/snapshot.d.ts +21 -0
- package/dist/types/src/types/AIPPT.d.ts +36 -0
- package/dist/types/src/types/edit.d.ts +111 -0
- package/dist/types/src/types/export.d.ts +1 -0
- package/dist/types/src/types/injectKey.d.ts +10 -0
- package/dist/types/src/types/lt-ppt.d.ts +30 -0
- package/dist/types/src/types/mobile.d.ts +1 -0
- package/dist/types/src/types/slides.d.ts +732 -0
- package/dist/types/src/types/toolbar.d.ts +9 -0
- package/dist/types/src/utils/clipboard.d.ts +9 -0
- package/dist/types/src/utils/common.d.ts +18 -0
- package/dist/types/src/utils/crypto.d.ts +10 -0
- package/dist/types/src/utils/database.d.ts +17 -0
- package/dist/types/src/utils/element.d.ts +94 -0
- package/dist/types/src/utils/emitter.d.ts +23 -0
- package/dist/types/src/utils/font.d.ts +1 -0
- package/dist/types/src/utils/fonts.d.ts +5 -0
- package/dist/types/src/utils/fullscreen.d.ts +3 -0
- package/dist/types/src/utils/htmlParser/format.d.ts +3 -0
- package/dist/types/src/utils/htmlParser/index.d.ts +4 -0
- package/dist/types/src/utils/htmlParser/lexer.d.ts +2 -0
- package/dist/types/src/utils/htmlParser/parser.d.ts +15 -0
- package/dist/types/src/utils/htmlParser/stringify.d.ts +3 -0
- package/dist/types/src/utils/htmlParser/tags.d.ts +4 -0
- package/dist/types/src/utils/htmlParser/types.d.ts +55 -0
- package/dist/types/src/utils/iframe-sdk/index.d.ts +52 -0
- package/dist/types/src/utils/iframe-sdk/types.d.ts +30 -0
- package/dist/types/src/utils/image.d.ts +32 -0
- package/dist/types/src/utils/message.d.ts +28 -0
- package/dist/types/src/utils/print.d.ts +7 -0
- package/dist/types/src/utils/prosemirror/commands/replaceText.d.ts +2 -0
- package/dist/types/src/utils/prosemirror/commands/setListStyle.d.ts +4 -0
- package/dist/types/src/utils/prosemirror/commands/setTextAlign.d.ts +5 -0
- package/dist/types/src/utils/prosemirror/commands/setTextIndent.d.ts +3 -0
- package/dist/types/src/utils/prosemirror/commands/toggleList.d.ts +8 -0
- package/dist/types/src/utils/prosemirror/index.d.ts +4 -0
- package/dist/types/src/utils/prosemirror/plugins/index.d.ts +10 -0
- package/dist/types/src/utils/prosemirror/plugins/inputrules.d.ts +7 -0
- package/dist/types/src/utils/prosemirror/plugins/keymap.d.ts +3 -0
- package/dist/types/src/utils/prosemirror/plugins/placeholder.d.ts +2 -0
- package/dist/types/src/utils/prosemirror/schema/index.d.ts +24 -0
- package/dist/types/src/utils/prosemirror/schema/marks.d.ts +17 -0
- package/dist/types/src/utils/prosemirror/schema/nodes.d.ts +11 -0
- package/dist/types/src/utils/prosemirror/utils.d.ts +69 -0
- package/dist/types/src/utils/selection.d.ts +1 -0
- package/dist/types/src/utils/svg2Base64.d.ts +1 -0
- package/dist/types/src/utils/svgPathParser.d.ts +120 -0
- package/dist/types/src/utils/textParser.d.ts +5 -0
- package/dist/types/src/views/Editor/AIPPTDialog.vue.d.ts +111 -0
- package/dist/types/src/views/Editor/Canvas/AlignmentLine.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/EditableElement.vue.d.ts +12 -0
- package/dist/types/src/views/Editor/Canvas/ElementCreateSelection.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/GridLines.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Canvas/LinkDialog.vue.d.ts +115 -0
- package/dist/types/src/views/Editor/Canvas/MouseSelection.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/Operate/BorderLine.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/Operate/CommonElementOperate.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Canvas/Operate/ImageElementOperate.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Canvas/Operate/LineElementOperate.vue.d.ts +12 -0
- package/dist/types/src/views/Editor/Canvas/Operate/LinkHandler.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/Canvas/Operate/MultiSelectOperate.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/Canvas/Operate/ResizeHandler.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/Operate/RotateHandler.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Canvas/Operate/ShapeElementOperate.vue.d.ts +16 -0
- package/dist/types/src/views/Editor/Canvas/Operate/TableElementOperate.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Canvas/Operate/TextElementOperate.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Canvas/Operate/index.vue.d.ts +16 -0
- package/dist/types/src/views/Editor/Canvas/Ruler.vue.d.ts +13 -0
- package/dist/types/src/views/Editor/Canvas/ShapeCreateCanvas.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/ViewportBackground.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useCommonOperate.d.ts +89 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useDragElement.d.ts +7 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useDragLineElement.d.ts +7 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useDrop.d.ts +3 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useInsertFromCreateSelection.d.ts +12 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useMouseSelection.d.ts +24 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useMoveShapeKeypoint.d.ts +6 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useRotateElement.d.ts +6 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useScaleElement.d.ts +8 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useSelectElement.d.ts +6 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useViewportSize.d.ts +11 -0
- package/dist/types/src/views/Editor/Canvas/index.vue.d.ts +5 -0
- package/dist/types/src/views/Editor/CanvasTool/ChartPool.vue.d.ts +7 -0
- package/dist/types/src/views/Editor/CanvasTool/LinePool.vue.d.ts +7 -0
- package/dist/types/src/views/Editor/CanvasTool/MediaInput.vue.d.ts +22 -0
- package/dist/types/src/views/Editor/CanvasTool/ShapeItemThumbnail.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/CanvasTool/ShapePool.vue.d.ts +7 -0
- package/dist/types/src/views/Editor/CanvasTool/TableGenerator.vue.d.ts +12 -0
- package/dist/types/src/views/Editor/CanvasTool/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/EditorHeader/HotkeyDoc.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/EditorHeader/index.vue.d.ts +4 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportImage.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportJSON.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportPDF.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportPDF2.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportPPTX.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportSpecificFile.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/ExportDialog/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/ImageLibPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/MarkupPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/NotesPanel.vue.d.ts +57 -0
- package/dist/types/src/views/Editor/Remark/Editor.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Remark/index.vue.d.ts +35 -0
- package/dist/types/src/views/Editor/SearchPanel.vue.d.ts +111 -0
- package/dist/types/src/views/Editor/SelectPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/SymbolPanel.vue.d.ts +4 -0
- package/dist/types/src/views/Editor/Thumbnails/Templates.vue.d.ts +17 -0
- package/dist/types/src/views/Editor/Thumbnails/index.vue.d.ts +91 -0
- package/dist/types/src/views/Editor/Toolbar/ElementAnimationPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementPositionPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/AudioStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/ChartDataEditor.vue.d.ts +19 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/ThemeColorsSetting.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/LatexStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/VideoStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/MultiPositionPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/MultiStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/SlideAnimationPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/SlideDesignPanel/ThemeColorsSetting.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/Toolbar/SlideDesignPanel/ThemeStylesExtract.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/Toolbar/SlideDesignPanel/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementColorMask.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementFilter.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementFlip.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementOpacity.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementOutline.vue.d.ts +7 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementShadow.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/RichTextBase.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/SVGLine.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Toolbar/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/index.vue.d.ts +2 -0
- package/dist/types/src/views/Mobile/MobileEditor/ElementToolbar.vue.d.ts +2 -0
- package/dist/types/src/views/Mobile/MobileEditor/Header.vue.d.ts +6 -0
- package/dist/types/src/views/Mobile/MobileEditor/MobileEditableElement.vue.d.ts +8 -0
- package/dist/types/src/views/Mobile/MobileEditor/MobileOperate.vue.d.ts +12 -0
- package/dist/types/src/views/Mobile/MobileEditor/SlideToolbar.vue.d.ts +2 -0
- package/dist/types/src/views/Mobile/MobileEditor/index.vue.d.ts +9 -0
- package/dist/types/src/views/Mobile/MobilePlayer.vue.d.ts +6 -0
- package/dist/types/src/views/Mobile/MobilePreview.vue.d.ts +8 -0
- package/dist/types/src/views/Mobile/MobileThumbnails.vue.d.ts +2 -0
- package/dist/types/src/views/Mobile/index.vue.d.ts +2 -0
- package/dist/types/src/views/Screen/BaseView.vue.d.ts +5 -0
- package/dist/types/src/views/Screen/BottomThumbnails.vue.d.ts +4 -0
- package/dist/types/src/views/Screen/CountdownTimer.vue.d.ts +13 -0
- package/dist/types/src/views/Screen/PresenterView.vue.d.ts +8 -0
- package/dist/types/src/views/Screen/ScreenElement.vue.d.ts +10 -0
- package/dist/types/src/views/Screen/ScreenSlide.vue.d.ts +10 -0
- package/dist/types/src/views/Screen/ScreenSlideList.vue.d.ts +9 -0
- package/dist/types/src/views/Screen/SlideThumbnails.vue.d.ts +9 -0
- package/dist/types/src/views/Screen/WritingBoardTool.vue.d.ts +77 -0
- package/dist/types/src/views/Screen/hooks/useExecPlay.d.ts +20 -0
- package/dist/types/src/views/Screen/hooks/useFullscreen.d.ts +5 -0
- package/dist/types/src/views/Screen/hooks/useSlideSize.d.ts +6 -0
- package/dist/types/src/views/Screen/hooks/useSlidesWithTurningMode.d.ts +14 -0
- package/dist/types/src/views/Screen/index.vue.d.ts +2 -0
- package/dist/types/src/views/components/ThumbnailSlide/ThumbnailElement.vue.d.ts +7 -0
- package/dist/types/src/views/components/ThumbnailSlide/index.vue.d.ts +10 -0
- package/dist/types/src/views/components/element/AudioElement/AudioPlayer.vue.d.ts +17 -0
- package/dist/types/src/views/components/element/AudioElement/BaseAudioElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/AudioElement/ScreenAudioElement.vue.d.ts +39 -0
- package/dist/types/src/views/components/element/AudioElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ChartElement/BaseChartElement.vue.d.ts +7 -0
- package/dist/types/src/views/components/element/ChartElement/Chart.vue.d.ts +15 -0
- package/dist/types/src/views/components/element/ChartElement/chartOption.d.ts +15 -0
- package/dist/types/src/views/components/element/ChartElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ElementOutline.vue.d.ts +8 -0
- package/dist/types/src/views/components/element/ImageElement/BaseImageElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/ImageElement/ImageClipHandler.vue.d.ts +18 -0
- package/dist/types/src/views/components/element/ImageElement/ImageOutline/ImageEllipseOutline.vue.d.ts +8 -0
- package/dist/types/src/views/components/element/ImageElement/ImageOutline/ImagePolygonOutline.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ImageElement/ImageOutline/ImageRectOutline.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/ImageElement/ImageOutline/index.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/ImageElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ImageElement/useClipImage.d.ts +19 -0
- package/dist/types/src/views/components/element/ImageElement/useFilter.d.ts +6 -0
- package/dist/types/src/views/components/element/LatexElement/BaseLatexElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/LatexElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/LineElement/BaseLineElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/LineElement/LinePointMarker.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/LineElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ProsemirrorEditor.vue.d.ts +33 -0
- package/dist/types/src/views/components/element/ShapeElement/BaseShapeElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/ShapeElement/GradientDefs.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/ShapeElement/PatternDefs.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/ShapeElement/index.vue.d.ts +68 -0
- package/dist/types/src/views/components/element/TableElement/BaseTableElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/TableElement/CustomTextarea.vue.d.ts +15 -0
- package/dist/types/src/views/components/element/TableElement/EditableTable.vue.d.ts +22 -0
- package/dist/types/src/views/components/element/TableElement/StaticTable.vue.d.ts +14 -0
- package/dist/types/src/views/components/element/TableElement/index.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/TableElement/useHideCells.d.ts +6 -0
- package/dist/types/src/views/components/element/TableElement/useSubThemeColor.d.ts +6 -0
- package/dist/types/src/views/components/element/TableElement/utils.d.ts +8 -0
- package/dist/types/src/views/components/element/TextElement/BaseTextElement.vue.d.ts +7 -0
- package/dist/types/src/views/components/element/TextElement/index.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/VideoElement/BaseVideoElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/VideoElement/ScreenVideoElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/VideoElement/VideoPlayer/index.vue.d.ts +19 -0
- package/dist/types/src/views/components/element/VideoElement/VideoPlayer/useMSE.d.ts +3 -0
- package/dist/types/src/views/components/element/VideoElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/hooks/useElementFill.d.ts +6 -0
- package/dist/types/src/views/components/element/hooks/useElementFlip.d.ts +5 -0
- package/dist/types/src/views/components/element/hooks/useElementOutline.d.ts +9 -0
- package/dist/types/src/views/components/element/hooks/useElementShadow.d.ts +6 -0
- package/dist/vue-i18n-R6dI71u7.js +3595 -0
- package/package.json +109 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PPTAudioElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTAudioElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { PPTAudioElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTAudioElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
6
|
+
audioPlayerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
src: string;
|
|
8
|
+
loop: boolean;
|
|
9
|
+
autoplay?: boolean | undefined;
|
|
10
|
+
scale?: number | undefined;
|
|
11
|
+
}> & Readonly<{}>, {
|
|
12
|
+
toggle: () => void;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
14
|
+
scale: number;
|
|
15
|
+
autoplay: boolean;
|
|
16
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
17
|
+
audioRef: HTMLAudioElement;
|
|
18
|
+
volumeBarRef: HTMLDivElement;
|
|
19
|
+
playBarWrapRef: HTMLDivElement;
|
|
20
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
21
|
+
P: {};
|
|
22
|
+
B: {};
|
|
23
|
+
D: {};
|
|
24
|
+
C: {};
|
|
25
|
+
M: {};
|
|
26
|
+
Defaults: {};
|
|
27
|
+
}, Readonly<{
|
|
28
|
+
src: string;
|
|
29
|
+
loop: boolean;
|
|
30
|
+
autoplay?: boolean | undefined;
|
|
31
|
+
scale?: number | undefined;
|
|
32
|
+
}> & Readonly<{}>, {
|
|
33
|
+
toggle: () => void;
|
|
34
|
+
}, {}, {}, {}, {
|
|
35
|
+
scale: number;
|
|
36
|
+
autoplay: boolean;
|
|
37
|
+
}> | null;
|
|
38
|
+
}, HTMLDivElement>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PPTAudioElement } from '../../../../types/slides';
|
|
2
|
+
import { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
elementInfo: PPTAudioElement;
|
|
5
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTAudioElement, canMove?: boolean) => void;
|
|
6
|
+
contextmenus: () => ContextmenuItem[] | null;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PPTChartElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTChartElement;
|
|
4
|
+
target?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ChartData, ChartOptions, ChartType } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
type: ChartType;
|
|
6
|
+
data: ChartData;
|
|
7
|
+
themeColors: string[];
|
|
8
|
+
textColor?: string;
|
|
9
|
+
lineColor?: string;
|
|
10
|
+
options?: ChartOptions;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
|
+
chartRef: HTMLDivElement;
|
|
14
|
+
}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComposeOption } from 'echarts/core';
|
|
2
|
+
import { BarSeriesOption, LineSeriesOption, PieSeriesOption, ScatterSeriesOption, RadarSeriesOption } from 'echarts/charts';
|
|
3
|
+
import { ChartData, ChartType } from '../../../../types/slides';
|
|
4
|
+
type EChartOption = ComposeOption<BarSeriesOption | LineSeriesOption | PieSeriesOption | ScatterSeriesOption | RadarSeriesOption>;
|
|
5
|
+
export interface ChartOptionPayload {
|
|
6
|
+
type: ChartType;
|
|
7
|
+
data: ChartData;
|
|
8
|
+
themeColors: string[];
|
|
9
|
+
textColor?: string;
|
|
10
|
+
lineColor?: string;
|
|
11
|
+
lineSmooth?: boolean;
|
|
12
|
+
stack?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const getChartOption: ({ type, data, themeColors, textColor, lineColor, lineSmooth, stack, }: ChartOptionPayload) => EChartOption | null;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PPTChartElement } from '../../../../types/slides';
|
|
2
|
+
import { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
elementInfo: PPTChartElement;
|
|
5
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTChartElement, canMove?: boolean) => void;
|
|
6
|
+
contextmenus: () => ContextmenuItem[] | null;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PPTElementOutline } from '../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
outline?: PPTElementOutline;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: 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>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PPTImageElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTImageElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ImageClipedEmitData } from '../../../../types/edit';
|
|
2
|
+
import { ImageElementClip } from '../../../../types/slides';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
src: string;
|
|
5
|
+
clipPath: string;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
top: number;
|
|
9
|
+
left: number;
|
|
10
|
+
rotate: number;
|
|
11
|
+
clipData?: ImageElementClip;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
clip: (payload: ImageClipedEmitData | null) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onClip?: ((payload: ImageClipedEmitData | null) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PPTElementOutline } from '../../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
outline?: PPTElementOutline;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: 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>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PPTElementOutline } from '../../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
createPath: (width: number, height: number) => string;
|
|
6
|
+
outline?: PPTElementOutline;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: 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
|
+
export default _default;
|
package/dist/types/src/views/components/element/ImageElement/ImageOutline/ImageRectOutline.vue.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PPTElementOutline } from '../../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
outline?: PPTElementOutline;
|
|
6
|
+
radius?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
radius: string;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PPTImageElement } from '../../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTImageElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PPTImageElement } from '../../../../types/slides';
|
|
2
|
+
import { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
elementInfo: PPTImageElement;
|
|
5
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTImageElement, canMove?: boolean) => void;
|
|
6
|
+
contextmenus: () => ContextmenuItem[] | null;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { ClipPathTypes } from '../../../../configs/imageClip';
|
|
3
|
+
import { PPTImageElement } from '../../../../types/slides';
|
|
4
|
+
declare const _default: (element: Ref<PPTImageElement>) => {
|
|
5
|
+
clipShape: import('vue').ComputedRef<{
|
|
6
|
+
name: string;
|
|
7
|
+
type: ClipPathTypes;
|
|
8
|
+
style: string;
|
|
9
|
+
radius?: string | undefined;
|
|
10
|
+
createPath?: ((width: number, height: number) => string) | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
imgPosition: import('vue').ComputedRef<{
|
|
13
|
+
top: string;
|
|
14
|
+
left: string;
|
|
15
|
+
width: string;
|
|
16
|
+
height: string;
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PPTLatexElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTLatexElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PPTLatexElement } from '../../../../types/slides';
|
|
2
|
+
import { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
elementInfo: PPTLatexElement;
|
|
5
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTLatexElement, canMove?: boolean) => void;
|
|
6
|
+
contextmenus: () => ContextmenuItem[] | null;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PPTLineElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTLineElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LinePoint } from '../../../../types/slides';
|
|
2
|
+
type NonEmptyLinePoint = Exclude<LinePoint, ''>;
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
id: string;
|
|
5
|
+
position: 'start' | 'end';
|
|
6
|
+
type: NonEmptyLinePoint;
|
|
7
|
+
baseSize: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGMarkerElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PPTLineElement } from '../../../../types/slides';
|
|
2
|
+
import { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
elementInfo: PPTLineElement;
|
|
5
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTLineElement, canMove?: boolean) => void;
|
|
6
|
+
contextmenus: () => ContextmenuItem[] | null;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
elementId: string;
|
|
3
|
+
defaultColor: string;
|
|
4
|
+
defaultFontName: string;
|
|
5
|
+
value: string;
|
|
6
|
+
editable?: boolean;
|
|
7
|
+
autoFocus?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
10
|
+
focus: () => void;
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
blur: () => any;
|
|
13
|
+
focus: () => any;
|
|
14
|
+
mousedown: (payload: MouseEvent) => any;
|
|
15
|
+
update: (payload: {
|
|
16
|
+
value: string;
|
|
17
|
+
ignore: boolean;
|
|
18
|
+
}) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onBlur?: (() => any) | undefined;
|
|
21
|
+
onFocus?: (() => any) | undefined;
|
|
22
|
+
onMousedown?: ((payload: MouseEvent) => any) | undefined;
|
|
23
|
+
onUpdate?: ((payload: {
|
|
24
|
+
value: string;
|
|
25
|
+
ignore: boolean;
|
|
26
|
+
}) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
editable: boolean;
|
|
29
|
+
autoFocus: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
editorViewRef: HTMLDivElement;
|
|
32
|
+
}, HTMLDivElement>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PPTShapeElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTShapeElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GradientColor, GradientType } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
type: GradientType;
|
|
5
|
+
colors: GradientColor[];
|
|
6
|
+
rotate?: number;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
rotate: number;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
3
|
+
src: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGPatternElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { PPTShapeElement } from '../../../../types/slides';
|
|
2
|
+
import { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
elementInfo: PPTShapeElement;
|
|
5
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTShapeElement, canMove?: boolean) => void;
|
|
6
|
+
contextmenus: () => ContextmenuItem[] | null;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
prosemirrorEditorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
10
|
+
elementId: string;
|
|
11
|
+
defaultColor: string;
|
|
12
|
+
defaultFontName: string;
|
|
13
|
+
value: string;
|
|
14
|
+
editable?: boolean | undefined;
|
|
15
|
+
autoFocus?: boolean | undefined;
|
|
16
|
+
}> & Readonly<{
|
|
17
|
+
onBlur?: (() => any) | undefined;
|
|
18
|
+
onFocus?: (() => any) | undefined;
|
|
19
|
+
onMousedown?: ((payload: MouseEvent) => any) | undefined;
|
|
20
|
+
onUpdate?: ((payload: {
|
|
21
|
+
value: string;
|
|
22
|
+
ignore: boolean;
|
|
23
|
+
}) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
focus: () => void;
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
27
|
+
blur: () => any;
|
|
28
|
+
focus: () => any;
|
|
29
|
+
mousedown: (payload: MouseEvent) => any;
|
|
30
|
+
update: (payload: {
|
|
31
|
+
value: string;
|
|
32
|
+
ignore: boolean;
|
|
33
|
+
}) => any;
|
|
34
|
+
}, import('vue').PublicProps, {
|
|
35
|
+
editable: boolean;
|
|
36
|
+
autoFocus: boolean;
|
|
37
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
38
|
+
editorViewRef: HTMLDivElement;
|
|
39
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
40
|
+
P: {};
|
|
41
|
+
B: {};
|
|
42
|
+
D: {};
|
|
43
|
+
C: {};
|
|
44
|
+
M: {};
|
|
45
|
+
Defaults: {};
|
|
46
|
+
}, Readonly<{
|
|
47
|
+
elementId: string;
|
|
48
|
+
defaultColor: string;
|
|
49
|
+
defaultFontName: string;
|
|
50
|
+
value: string;
|
|
51
|
+
editable?: boolean | undefined;
|
|
52
|
+
autoFocus?: boolean | undefined;
|
|
53
|
+
}> & Readonly<{
|
|
54
|
+
onBlur?: (() => any) | undefined;
|
|
55
|
+
onFocus?: (() => any) | undefined;
|
|
56
|
+
onMousedown?: ((payload: MouseEvent) => any) | undefined;
|
|
57
|
+
onUpdate?: ((payload: {
|
|
58
|
+
value: string;
|
|
59
|
+
ignore: boolean;
|
|
60
|
+
}) => any) | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
focus: () => void;
|
|
63
|
+
}, {}, {}, {}, {
|
|
64
|
+
editable: boolean;
|
|
65
|
+
autoFocus: boolean;
|
|
66
|
+
}> | null;
|
|
67
|
+
}, HTMLDivElement>;
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PPTTableElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTTableElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
|
+
updateValue: (payload: string) => any;
|
|
6
|
+
insertExcelData: (payload: string[][]) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onUpdateValue?: ((payload: string) => any) | undefined;
|
|
9
|
+
onInsertExcelData?: ((payload: string[][]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
value: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
|
+
textareaRef: HTMLDivElement;
|
|
14
|
+
}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PPTElementOutline, TableCell, TableTheme } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
data: TableCell[][];
|
|
4
|
+
width: number;
|
|
5
|
+
cellMinHeight: number;
|
|
6
|
+
colWidths: number[];
|
|
7
|
+
outline: PPTElementOutline;
|
|
8
|
+
theme?: TableTheme;
|
|
9
|
+
editable?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
change: (payload: TableCell[][]) => any;
|
|
13
|
+
changeColWidths: (payload: number[]) => any;
|
|
14
|
+
changeSelectedCells: (payload: string[]) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onChange?: ((payload: TableCell[][]) => any) | undefined;
|
|
17
|
+
onChangeColWidths?: ((payload: number[]) => any) | undefined;
|
|
18
|
+
onChangeSelectedCells?: ((payload: string[]) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
editable: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PPTElementOutline, TableCell, TableTheme } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
data: TableCell[][];
|
|
4
|
+
width: number;
|
|
5
|
+
cellMinHeight: number;
|
|
6
|
+
colWidths: number[];
|
|
7
|
+
outline: PPTElementOutline;
|
|
8
|
+
theme?: TableTheme;
|
|
9
|
+
editable?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
editable: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PPTTableElement } from '../../../../types/slides';
|
|
2
|
+
import { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
elementInfo: PPTTableElement;
|
|
5
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTTableElement, canMove?: boolean) => void;
|
|
6
|
+
contextmenus: () => ContextmenuItem[] | null;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
elementRef: HTMLDivElement;
|
|
10
|
+
}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { TableCellStyle } from '../../../../types/slides';
|
|
3
|
+
/**
|
|
4
|
+
* 计算单元格文本样式
|
|
5
|
+
* @param style 单元格文本样式原数据
|
|
6
|
+
*/
|
|
7
|
+
export declare const getTextStyle: (style?: TableCellStyle) => CSSProperties;
|
|
8
|
+
export declare const formatText: (text: string) => string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PPTTextElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTTextElement;
|
|
4
|
+
target?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PPTTextElement } from '../../../../types/slides';
|
|
2
|
+
import { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
elementInfo: PPTTextElement;
|
|
5
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTTextElement, canMove?: boolean) => void;
|
|
6
|
+
contextmenus: () => ContextmenuItem[] | null;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
elementRef: HTMLDivElement;
|
|
10
|
+
}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PPTVideoElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTVideoElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PPTVideoElement } from '../../../../types/slides';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
elementInfo: PPTVideoElement;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
src: string;
|
|
5
|
+
poster?: string;
|
|
6
|
+
autoplay?: boolean;
|
|
7
|
+
scale?: number;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
scale: number;
|
|
11
|
+
autoplay: boolean;
|
|
12
|
+
poster: string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
bgCanvasRef: HTMLCanvasElement;
|
|
15
|
+
videoRef: HTMLVideoElement;
|
|
16
|
+
volumeBarRef: HTMLDivElement;
|
|
17
|
+
playBarWrapRef: HTMLDivElement;
|
|
18
|
+
}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PPTVideoElement } from '../../../../types/slides';
|
|
2
|
+
import { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
elementInfo: PPTVideoElement;
|
|
5
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTVideoElement, canMove?: boolean) => void;
|
|
6
|
+
contextmenus: () => ContextmenuItem[] | null;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { PPTElementOutline } from '../../../../types/slides';
|
|
3
|
+
declare const _default: (outline: Ref<PPTElementOutline | undefined>) => {
|
|
4
|
+
outlineWidth: import('vue').ComputedRef<number>;
|
|
5
|
+
outlineStyle: import('vue').ComputedRef<import('../../../../types/slides').LineStyleType>;
|
|
6
|
+
outlineColor: import('vue').ComputedRef<string>;
|
|
7
|
+
strokeDashArray: import('vue').ComputedRef<string>;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|