fika-editor 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +45 -27
- package/dist/embed/350.css +1 -0
- package/dist/embed/350.js +164 -0
- package/dist/embed/agentic-manifest.json +2232 -0
- package/dist/embed/apple-touch-icon.png +0 -0
- package/dist/embed/chunks/1.js +1 -0
- package/dist/embed/chunks/104.js +1 -0
- package/dist/embed/chunks/1074.js +1 -0
- package/dist/embed/chunks/1085.js +1 -0
- package/dist/embed/chunks/1131.css +1 -0
- package/dist/embed/chunks/1131.js +1 -0
- package/dist/embed/chunks/1169.js +1 -0
- package/dist/embed/chunks/1172.js +1 -0
- package/dist/embed/chunks/1212.js +1 -0
- package/dist/embed/chunks/1255.js +1 -0
- package/dist/embed/chunks/1432.js +1 -0
- package/dist/embed/chunks/1436.js +1 -0
- package/dist/embed/chunks/1605.js +1 -0
- package/dist/embed/chunks/1668.js +1 -0
- package/dist/embed/chunks/1804.js +8 -0
- package/dist/embed/chunks/1904.js +104 -0
- package/dist/embed/chunks/1915.js +1 -0
- package/dist/embed/chunks/1916.js +1 -0
- package/dist/embed/chunks/1932.js +1 -0
- package/dist/embed/chunks/2011.js +1 -0
- package/dist/embed/chunks/2020.js +3467 -0
- package/dist/embed/chunks/2131.js +1 -0
- package/dist/embed/chunks/2143.js +62 -0
- package/dist/embed/chunks/2190.js +1 -0
- package/dist/embed/chunks/2246.js +1 -0
- package/dist/embed/chunks/2289.js +80 -0
- package/dist/embed/chunks/2402.js +1 -0
- package/dist/embed/chunks/2407.js +1 -0
- package/dist/embed/chunks/2489.js +1 -0
- package/dist/embed/chunks/2528.js +1 -0
- package/dist/embed/chunks/2632.js +1 -0
- package/dist/embed/chunks/2694.js +1 -0
- package/dist/embed/chunks/2714.js +1 -0
- package/dist/embed/chunks/273.js +24 -0
- package/dist/embed/chunks/2796.js +34 -0
- package/dist/embed/chunks/2807.css +1 -0
- package/dist/embed/chunks/2807.js +1 -0
- package/dist/embed/chunks/3030.js +1 -0
- package/dist/embed/chunks/3031.js +1 -0
- package/dist/embed/chunks/3088.js +1 -0
- package/dist/embed/chunks/3103.js +1 -0
- package/dist/embed/chunks/3143.js +1 -0
- package/dist/embed/chunks/3359.js +1 -0
- package/dist/embed/chunks/3443.js +1 -0
- package/dist/embed/chunks/3479.js +1 -0
- package/dist/embed/chunks/3555.js +1 -0
- package/dist/embed/chunks/3581.js +77 -0
- package/dist/embed/chunks/360.css +1 -0
- package/dist/embed/chunks/360.js +1 -0
- package/dist/embed/chunks/362.js +1 -0
- package/dist/embed/chunks/3729.js +160 -0
- package/dist/embed/chunks/3888.js +1 -0
- package/dist/embed/chunks/3907.js +1 -0
- package/dist/embed/chunks/397.js +1 -0
- package/dist/embed/chunks/401.js +1 -0
- package/dist/embed/chunks/4110.js +1 -0
- package/dist/embed/chunks/4145.js +1 -0
- package/dist/embed/chunks/4335.js +1 -0
- package/dist/embed/chunks/435.js +1 -0
- package/dist/embed/chunks/4354.js +27 -0
- package/dist/embed/chunks/4359.js +1 -0
- package/dist/embed/chunks/4467.js +1 -0
- package/dist/embed/chunks/4515.js +1 -0
- package/dist/embed/chunks/4552.js +287 -0
- package/dist/embed/chunks/4606.js +1 -0
- package/dist/embed/chunks/4607.js +1 -0
- package/dist/embed/chunks/4619.js +86 -0
- package/dist/embed/chunks/4625.js +153 -0
- package/dist/embed/chunks/4632.css +1 -0
- package/dist/embed/chunks/4632.js +1 -0
- package/dist/embed/chunks/4637.js +1 -0
- package/dist/embed/chunks/4794.js +1 -0
- package/dist/embed/chunks/4891.js +226 -0
- package/dist/embed/chunks/4936.js +82 -0
- package/dist/embed/chunks/4950.js +1 -0
- package/dist/embed/chunks/4975.js +255 -0
- package/dist/embed/chunks/5026.js +1 -0
- package/dist/embed/chunks/5075.js +1 -0
- package/dist/embed/chunks/5216.css +1 -0
- package/dist/embed/chunks/5216.js +1 -0
- package/dist/embed/chunks/5239.js +1 -0
- package/dist/embed/chunks/5250.js +1 -0
- package/dist/embed/chunks/5316.js +1 -0
- package/dist/embed/chunks/5437.js +1 -0
- package/dist/embed/chunks/5480.js +1 -0
- package/dist/embed/chunks/5532.js +1 -0
- package/dist/embed/chunks/5659.js +64 -0
- package/dist/embed/chunks/574.js +1 -0
- package/dist/embed/chunks/5768.js +1 -0
- package/dist/embed/chunks/5773.js +1 -0
- package/dist/embed/chunks/5792.js +141 -0
- package/dist/embed/chunks/5809.js +1 -0
- package/dist/embed/chunks/5835.js +1 -0
- package/dist/embed/chunks/5889.js +1 -0
- package/dist/embed/chunks/5901.js +1 -0
- package/dist/embed/chunks/5907.js +1 -0
- package/dist/embed/chunks/5989.js +1 -0
- package/dist/embed/chunks/5992.js +1 -0
- package/dist/embed/chunks/6014.js +1 -0
- package/dist/embed/chunks/6063.js +1 -0
- package/dist/embed/chunks/6136.js +1 -0
- package/dist/embed/chunks/6144.css +1 -0
- package/dist/embed/chunks/6144.js +1 -0
- package/dist/embed/chunks/627.js +115 -0
- package/dist/embed/chunks/6339.js +1 -0
- package/dist/embed/chunks/635.js +1 -0
- package/dist/embed/chunks/6361.js +1 -0
- package/dist/embed/chunks/647.js +1 -0
- package/dist/embed/chunks/6522.js +1 -0
- package/dist/embed/chunks/6567.js +1 -0
- package/dist/embed/chunks/6580.js +1 -0
- package/dist/embed/chunks/6609.css +1 -0
- package/dist/embed/chunks/6609.js +1 -0
- package/dist/embed/chunks/6690.js +1 -0
- package/dist/embed/chunks/6704.js +1 -0
- package/dist/embed/chunks/6778.js +1 -0
- package/dist/embed/chunks/6935.js +1 -0
- package/dist/embed/chunks/6999.js +93 -0
- package/dist/embed/chunks/7048.js +1 -0
- package/dist/embed/chunks/7101.js +1 -0
- package/dist/embed/chunks/7132.js +1 -0
- package/dist/embed/chunks/717.js +148 -0
- package/dist/embed/chunks/7175.js +90 -0
- package/dist/embed/chunks/7193.css +1 -0
- package/dist/embed/chunks/7193.js +1 -0
- package/dist/embed/chunks/7245.js +1 -0
- package/dist/embed/chunks/7255.js +1 -0
- package/dist/embed/chunks/7272.js +1 -0
- package/dist/embed/chunks/7309.js +1 -0
- package/dist/embed/chunks/7311.js +23 -0
- package/dist/embed/chunks/736.js +1 -0
- package/dist/embed/chunks/7376.js +1 -0
- package/dist/embed/chunks/7453.js +1 -0
- package/dist/embed/chunks/7463.js +1 -0
- package/dist/embed/chunks/7468.js +1 -0
- package/dist/embed/chunks/7588.js +41 -0
- package/dist/embed/chunks/7594.js +1 -0
- package/dist/embed/chunks/7854.js +38 -0
- package/dist/embed/chunks/788.js +24 -0
- package/dist/embed/chunks/7916.js +79 -0
- package/dist/embed/chunks/7924.js +1 -0
- package/dist/embed/chunks/7980.js +1 -0
- package/dist/embed/chunks/809.js +1 -0
- package/dist/embed/chunks/810.js +1 -0
- package/dist/embed/chunks/818.js +1 -0
- package/dist/embed/chunks/8212.js +36 -0
- package/dist/embed/chunks/8239.js +1 -0
- package/dist/embed/chunks/8252.js +1 -0
- package/dist/embed/chunks/8378.css +1 -0
- package/dist/embed/chunks/8378.js +1 -0
- package/dist/embed/chunks/8449.js +1 -0
- package/dist/embed/chunks/8516.js +1 -0
- package/dist/embed/chunks/8606.js +1 -0
- package/dist/embed/chunks/862.css +1 -0
- package/dist/embed/chunks/862.js +1 -0
- package/dist/embed/chunks/8620.js +1 -0
- package/dist/embed/chunks/8623.js +138 -0
- package/dist/embed/chunks/8645.js +1 -0
- package/dist/embed/chunks/8716.js +215 -0
- package/dist/embed/chunks/8724.js +1 -0
- package/dist/embed/chunks/8735.js +1 -0
- package/dist/embed/chunks/8941.js +1 -0
- package/dist/embed/chunks/9121.js +1 -0
- package/dist/embed/chunks/919.js +1 -0
- package/dist/embed/chunks/9203.js +1 -0
- package/dist/embed/chunks/9245.js +1 -0
- package/dist/embed/chunks/9252.js +1 -0
- package/dist/embed/chunks/9465.js +5 -0
- package/dist/embed/chunks/9475.js +1 -0
- package/dist/embed/chunks/9657.css +1 -0
- package/dist/embed/chunks/9657.js +1 -0
- package/dist/embed/chunks/968.js +1 -0
- package/dist/embed/chunks/9739.js +1 -0
- package/dist/embed/chunks/9761.js +1 -0
- package/dist/embed/chunks/9800.css +1 -0
- package/dist/embed/chunks/9800.js +1 -0
- package/dist/embed/chunks/9976.js +1 -0
- package/dist/embed/favicon-32.png +0 -0
- package/dist/embed/favicon.ico +0 -0
- package/dist/embed/favicon.svg +7 -0
- package/dist/embed/fika-embed.css +1 -0
- package/dist/embed/fika-embed.js +5 -0
- package/dist/embed/logo.png +0 -0
- package/dist/embed/static/font/fonts/Inter.woff2 +0 -0
- package/dist/embed/static/font/fonts/JetBrainsMono.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/embed/static/font/fonts/Lato.woff2 +0 -0
- package/dist/embed/static/font/fonts/Literata.woff2 +0 -0
- package/dist/embed/static/font/fonts/Merriweather.woff2 +0 -0
- package/dist/embed/static/font/fonts/Montserrat.woff2 +0 -0
- package/dist/embed/static/font/fonts/OpenSans.woff2 +0 -0
- package/dist/embed/static/font/fonts/Roboto.woff2 +0 -0
- package/dist/embed/static/font/fonts/SourceSansPro.woff2 +0 -0
- package/dist/embed/static/font/fonts/SourceSerif4.woff2 +0 -0
- package/dist/types/components/Button.d.ts +17 -0
- package/dist/types/components/ButtonGroup.d.ts +8 -0
- package/dist/types/components/ChartDataEditor.d.ts +13 -0
- package/dist/types/components/Checkbox.d.ts +12 -0
- package/dist/types/components/CodeEditor/CodeEditorSkeleton.d.ts +8 -0
- package/dist/types/components/CodeEditor/codeMirror.d.ts +23 -0
- package/dist/types/components/CodeEditor/index.d.ts +14 -0
- package/dist/types/components/CodeEditor/lazy.d.ts +3 -0
- package/dist/types/components/ColorButton.d.ts +8 -0
- package/dist/types/components/ColorListButton.d.ts +8 -0
- package/dist/types/components/ColorPicker/Alpha.d.ts +12 -0
- package/dist/types/components/ColorPicker/Checkboard.d.ts +11 -0
- package/dist/types/components/ColorPicker/EditableInput.d.ts +12 -0
- package/dist/types/components/ColorPicker/Hue.d.ts +13 -0
- package/dist/types/components/ColorPicker/Saturation.d.ts +13 -0
- package/dist/types/components/ColorPicker/index.d.ts +11 -0
- package/dist/types/components/ColorSwatches.d.ts +21 -0
- package/dist/types/components/ConfirmDialog.d.ts +16 -0
- package/dist/types/components/Contextmenu/MenuContent.d.ts +8 -0
- package/dist/types/components/Contextmenu/index.d.ts +14 -0
- package/dist/types/components/Contextmenu/types.d.ts +13 -0
- package/dist/types/components/Divider.d.ts +9 -0
- package/dist/types/components/Draggable.d.ts +28 -0
- package/dist/types/components/Drawer.d.ts +13 -0
- package/dist/types/components/FileInput.d.ts +11 -0
- package/dist/types/components/FitText.d.ts +17 -0
- package/dist/types/components/FontSizeControl.d.ts +12 -0
- package/dist/types/components/FormatChip.d.ts +14 -0
- package/dist/types/components/FullscreenSpin.d.ts +9 -0
- package/dist/types/components/GradientBar.d.ts +12 -0
- package/dist/types/components/Icon.d.ts +144 -0
- package/dist/types/components/InkDialog.d.ts +37 -0
- package/dist/types/components/InkLoader.d.ts +2 -0
- package/dist/types/components/InkPaintSwatches.d.ts +14 -0
- package/dist/types/components/InkProgress.d.ts +6 -0
- package/dist/types/components/Input.d.ts +25 -0
- package/dist/types/components/JobProgressOverlay.d.ts +18 -0
- package/dist/types/components/LaTeXEditor/LatexEditorSkeleton.d.ts +1 -0
- package/dist/types/components/LaTeXEditor/MathFieldSkeleton.d.ts +4 -0
- package/dist/types/components/LaTeXEditor/hfmath.d.ts +5 -0
- package/dist/types/components/LaTeXEditor/index.d.ts +12 -0
- package/dist/types/components/LaTeXEditor/lazy.d.ts +3 -0
- package/dist/types/components/MermaidEditor/MermaidEditorSkeleton.d.ts +1 -0
- package/dist/types/components/MermaidEditor/index.d.ts +8 -0
- package/dist/types/components/MermaidEditor/lazy.d.ts +3 -0
- package/dist/types/components/Message.d.ts +15 -0
- package/dist/types/components/Modal.d.ts +16 -0
- package/dist/types/components/MoveablePanel.d.ts +20 -0
- package/dist/types/components/NumberInput.d.ts +24 -0
- package/dist/types/components/OverlayTrigger.d.ts +14 -0
- package/dist/types/components/Popover.d.ts +24 -0
- package/dist/types/components/PopoverMenuItem.d.ts +11 -0
- package/dist/types/components/RadioButton.d.ts +11 -0
- package/dist/types/components/RadioGroup.d.ts +12 -0
- package/dist/types/components/Select.d.ts +23 -0
- package/dist/types/components/SelectCustom.d.ts +12 -0
- package/dist/types/components/Slider.d.ts +26 -0
- package/dist/types/components/Switch.d.ts +11 -0
- package/dist/types/components/Tabs.d.ts +23 -0
- package/dist/types/components/TextArea.d.ts +22 -0
- package/dist/types/components/WritingBoard.d.ts +28 -0
- package/dist/types/components/draggableLayout.d.ts +35 -0
- package/dist/types/components/writingBoardCommands.d.ts +7 -0
- package/dist/types/configs/animation.d.ts +274 -0
- package/dist/types/configs/chart.d.ts +11 -0
- package/dist/types/configs/code.d.ts +193 -0
- package/dist/types/configs/element.d.ts +3 -0
- package/dist/types/configs/exportMediaResolver.d.ts +11 -0
- package/dist/types/configs/exportTabs.d.ts +11 -0
- package/dist/types/configs/featureFlags.d.ts +15 -0
- package/dist/types/configs/font.d.ts +27 -0
- package/dist/types/configs/headerMenu.d.ts +4 -0
- package/dist/types/configs/hotkey.d.ts +42 -0
- package/dist/types/configs/imageClip.d.ts +30 -0
- package/dist/types/configs/inkPaint.d.ts +37 -0
- package/dist/types/configs/laser.d.ts +10 -0
- package/dist/types/configs/lines.d.ts +21 -0
- package/dist/types/configs/localeSwitcher.d.ts +2 -0
- package/dist/types/configs/mediaUpload.d.ts +71 -0
- package/dist/types/configs/mime.d.ts +4 -0
- package/dist/types/configs/shapes.d.ts +26 -0
- package/dist/types/configs/starterPresentation.d.ts +32 -0
- package/dist/types/configs/storage.d.ts +1 -0
- package/dist/types/configs/symbol/arrow.d.ts +2 -0
- package/dist/types/configs/symbol/emoji/action.d.ts +2 -0
- package/dist/types/configs/symbol/emoji/activity.d.ts +2 -0
- package/dist/types/configs/symbol/emoji/expression.d.ts +2 -0
- package/dist/types/configs/symbol/emoji/faunaFlora.d.ts +2 -0
- package/dist/types/configs/symbol/emoji/food.d.ts +2 -0
- package/dist/types/configs/symbol/emoji/objects.d.ts +2 -0
- package/dist/types/configs/symbol/emoji/symbols.d.ts +2 -0
- package/dist/types/configs/symbol/emoji/travel.d.ts +2 -0
- package/dist/types/configs/symbol/graph.d.ts +2 -0
- package/dist/types/configs/symbol/index.d.ts +8 -0
- package/dist/types/configs/symbol/letter.d.ts +2 -0
- package/dist/types/configs/symbol/math.d.ts +2 -0
- package/dist/types/configs/symbol/number.d.ts +2 -0
- package/dist/types/configs/table.d.ts +15 -0
- package/dist/types/configs/templates.d.ts +19 -0
- package/dist/types/configs/textPresets.d.ts +85 -0
- package/dist/types/configs/theme.d.ts +44 -0
- package/dist/types/directive/tooltip.d.ts +5 -0
- package/dist/types/embed/EmbedRoot.d.ts +5 -0
- package/dist/types/embed/agentic/composition.d.ts +84 -0
- package/dist/types/embed/agentic/createAgenticApi.d.ts +11 -0
- package/dist/types/embed/agentic/fixtures.d.ts +30 -0
- package/dist/types/embed/agentic/helpers.d.ts +115 -0
- package/dist/types/embed/agentic/layouts.d.ts +114 -0
- package/dist/types/embed/agentic/manifestDocs.d.ts +73 -0
- package/dist/types/embed/agentic/qa.d.ts +47 -0
- package/dist/types/embed/agentic/styles.d.ts +131 -0
- package/dist/types/embed/agentic/templates.d.ts +31 -0
- package/dist/types/embed/agentic/types.d.ts +2006 -0
- package/dist/types/embed/agentic/validators.d.ts +32 -0
- package/dist/types/embed/createController.d.ts +7 -0
- package/dist/types/embed/index.d.ts +9 -0
- package/dist/types/embed/inferViewport.d.ts +11 -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 +183 -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/useClickOutside.d.ts +7 -0
- package/dist/types/hooks/useCombineElement.d.ts +7 -0
- package/dist/types/hooks/useCopyAndPasteElement.d.ts +7 -0
- package/dist/types/hooks/useCreateElement.d.ts +50 -0
- package/dist/types/hooks/useDeleteElement.d.ts +5 -0
- package/dist/types/hooks/useElementContextmenu.d.ts +6 -0
- package/dist/types/hooks/useExport.d.ts +13 -0
- package/dist/types/hooks/useGlobalHotkey.d.ts +2 -0
- package/dist/types/hooks/useHeldSlideElement.d.ts +9 -0
- package/dist/types/hooks/useHideElement.d.ts +6 -0
- package/dist/types/hooks/useHistorySnapshot.d.ts +6 -0
- package/dist/types/hooks/useHoldAfterOpen.d.ts +2 -0
- package/dist/types/hooks/useImageHandler.d.ts +4 -0
- package/dist/types/hooks/useImport.d.ts +21 -0
- package/dist/types/hooks/useLink.d.ts +6 -0
- package/dist/types/hooks/useLockElement.d.ts +6 -0
- package/dist/types/hooks/useMediaPlayerTeleport.d.ts +5 -0
- package/dist/types/hooks/useMediaPoster.d.ts +8 -0
- package/dist/types/hooks/useMediaQueue.d.ts +24 -0
- package/dist/types/hooks/useMoveElement.d.ts +4 -0
- package/dist/types/hooks/useOrderElement.d.ts +6 -0
- package/dist/types/hooks/useOverlayPhase.d.ts +14 -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 +25 -0
- package/dist/types/hooks/useScreening.d.ts +8 -0
- package/dist/types/hooks/useSearch.d.ts +28 -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 +19 -0
- package/dist/types/hooks/useSlideHandler.d.ts +16 -0
- package/dist/types/hooks/useSlideTheme.d.ts +16 -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-react.d.ts +23 -0
- package/dist/types/i18n/i18n-types.d.ts +10276 -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/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 +1 -0
- package/dist/types/previewRaster/diffPaintedSlide.d.ts +11 -0
- package/dist/types/previewRaster/index.d.ts +9 -0
- package/dist/types/previewRaster/painters/background.d.ts +2 -0
- package/dist/types/previewRaster/painters/booth.d.ts +13 -0
- package/dist/types/previewRaster/painters/chart.d.ts +2 -0
- package/dist/types/previewRaster/painters/code.d.ts +2 -0
- package/dist/types/previewRaster/painters/image.d.ts +2 -0
- package/dist/types/previewRaster/painters/index.d.ts +3 -0
- package/dist/types/previewRaster/painters/line.d.ts +2 -0
- package/dist/types/previewRaster/painters/media.d.ts +2 -0
- package/dist/types/previewRaster/painters/shape.d.ts +2 -0
- package/dist/types/previewRaster/painters/table.d.ts +2 -0
- package/dist/types/previewRaster/painters/text.d.ts +2 -0
- package/dist/types/previewRaster/planSlideRaster.d.ts +19 -0
- package/dist/types/previewRaster/rasterCache.d.ts +19 -0
- package/dist/types/previewRaster/scheduler.d.ts +4 -0
- package/dist/types/previewRaster/stagePool.d.ts +36 -0
- package/dist/types/previewRaster/stats.d.ts +10 -0
- package/dist/types/previewRaster/subscribeSlides.d.ts +10 -0
- package/dist/types/previewRaster/types.d.ts +12 -0
- package/dist/types/services/fetch.d.ts +2 -0
- package/dist/types/services/index.d.ts +10 -0
- package/dist/types/store/accessors.d.ts +21 -0
- package/dist/types/store/importConfirm.d.ts +13 -0
- package/dist/types/store/index.d.ts +10 -0
- package/dist/types/store/keyboard.d.ts +21 -0
- package/dist/types/store/main.d.ts +83 -0
- package/dist/types/store/screen.d.ts +8 -0
- package/dist/types/store/slides.d.ts +3289 -0
- package/dist/types/store/snapshot.d.ts +16 -0
- package/dist/types/types/css.d.ts +7 -0
- package/dist/types/types/edit.d.ts +118 -0
- package/dist/types/types/export.d.ts +1 -0
- package/dist/types/types/injectKey.d.ts +12 -0
- package/dist/types/types/mobile.d.ts +1 -0
- package/dist/types/types/slides.d.ts +599 -0
- package/dist/types/types/toolbar.d.ts +9 -0
- package/dist/types/utils/agentText.d.ts +28 -0
- package/dist/types/utils/assetBase.d.ts +4 -0
- package/dist/types/utils/canvasHitTest.d.ts +188 -0
- package/dist/types/utils/canvasPointer.d.ts +53 -0
- package/dist/types/utils/canvasZoom.d.ts +36 -0
- package/dist/types/utils/clipboard.d.ts +9 -0
- package/dist/types/utils/clonePlain.d.ts +1 -0
- package/dist/types/utils/codeHighlight.d.ts +84 -0
- package/dist/types/utils/codePptxExport.d.ts +44 -0
- package/dist/types/utils/commandHistory.d.ts +17 -0
- package/dist/types/utils/commitSlideElements.d.ts +6 -0
- package/dist/types/utils/common.d.ts +30 -0
- package/dist/types/utils/crypto.d.ts +10 -0
- package/dist/types/utils/cssm.d.ts +4 -0
- package/dist/types/utils/database.d.ts +20 -0
- package/dist/types/utils/debounce.d.ts +19 -0
- package/dist/types/utils/element.d.ts +369 -0
- package/dist/types/utils/elementOrder.d.ts +8 -0
- package/dist/types/utils/elementOutline.d.ts +41 -0
- package/dist/types/utils/elementPaint.d.ts +129 -0
- package/dist/types/utils/emitter.d.ts +54 -0
- package/dist/types/utils/exportFonts.d.ts +22 -0
- package/dist/types/utils/fitLabel.d.ts +17 -0
- package/dist/types/utils/font.d.ts +14 -0
- package/dist/types/utils/freehand.d.ts +57 -0
- package/dist/types/utils/fullscreen.d.ts +3 -0
- package/dist/types/utils/gestureBind.d.ts +18 -0
- package/dist/types/utils/hotkeyTarget.d.ts +2 -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/hyperlinkFollow.d.ts +12 -0
- package/dist/types/utils/image.d.ts +25 -0
- package/dist/types/utils/imageBitmapCache.d.ts +6 -0
- package/dist/types/utils/imagePaintSample.d.ts +34 -0
- package/dist/types/utils/importApply.d.ts +31 -0
- package/dist/types/utils/inkCommands.d.ts +68 -0
- package/dist/types/utils/jobProgress.d.ts +36 -0
- package/dist/types/utils/latex.d.ts +27 -0
- package/dist/types/utils/latexToOmml.d.ts +28 -0
- package/dist/types/utils/liveElementOffset.d.ts +56 -0
- package/dist/types/utils/liveElementPaint.d.ts +13 -0
- package/dist/types/utils/liveElementSize.d.ts +33 -0
- package/dist/types/utils/liveLayoutCommit.d.ts +2 -0
- package/dist/types/utils/markdown.d.ts +48 -0
- package/dist/types/utils/math.d.ts +90 -0
- package/dist/types/utils/mediaFile.d.ts +14 -0
- package/dist/types/utils/mediaLayout.d.ts +24 -0
- package/dist/types/utils/mediaPoster.d.ts +12 -0
- package/dist/types/utils/mermaid.d.ts +18 -0
- package/dist/types/utils/message.d.ts +27 -0
- package/dist/types/utils/object.d.ts +10 -0
- package/dist/types/utils/openContextmenu.d.ts +29 -0
- package/dist/types/utils/placeholderLayout.d.ts +64 -0
- package/dist/types/utils/placeholderPaint.d.ts +57 -0
- package/dist/types/utils/portal.d.ts +37 -0
- package/dist/types/utils/pptxImportDiagnostics.d.ts +36 -0
- package/dist/types/utils/pptxImportFidelity.d.ts +138 -0
- package/dist/types/utils/pptxImportFonts.d.ts +34 -0
- package/dist/types/utils/pptxImportMetrics.d.ts +29 -0
- package/dist/types/utils/pptxImportPicture.d.ts +30 -0
- package/dist/types/utils/pptxImportText.d.ts +26 -0
- package/dist/types/utils/pptxSourcePackage.d.ts +19 -0
- package/dist/types/utils/pptxStructuredText.d.ts +6 -0
- package/dist/types/utils/pptxUnit.d.ts +19 -0
- package/dist/types/utils/prosemirror/caret.d.ts +22 -0
- package/dist/types/utils/prosemirror/commands/applyPlaceholderStyles.d.ts +29 -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/commands/wrapEmptyBulletList.d.ts +5 -0
- package/dist/types/utils/prosemirror/commitEditor.d.ts +7 -0
- package/dist/types/utils/prosemirror/commitPolicy.d.ts +11 -0
- package/dist/types/utils/prosemirror/index.d.ts +6 -0
- package/dist/types/utils/prosemirror/plugins/index.d.ts +7 -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/plugins/placeholderFill.d.ts +3 -0
- package/dist/types/utils/prosemirror/richTextAttrsFromElement.d.ts +3 -0
- package/dist/types/utils/prosemirror/schema/index.d.ts +26 -0
- package/dist/types/utils/prosemirror/schema/marks.d.ts +18 -0
- package/dist/types/utils/prosemirror/schema/nodes.d.ts +12 -0
- package/dist/types/utils/prosemirror/selection.d.ts +15 -0
- package/dist/types/utils/prosemirror/utils.d.ts +69 -0
- package/dist/types/utils/scribbleJoin.d.ts +27 -0
- package/dist/types/utils/selection.d.ts +1 -0
- package/dist/types/utils/slideOrder.d.ts +3 -0
- package/dist/types/utils/snap.d.ts +69 -0
- package/dist/types/utils/spatial/hitIndex.d.ts +18 -0
- package/dist/types/utils/spatial/index.d.ts +3 -0
- package/dist/types/utils/spatial/segment.d.ts +8 -0
- package/dist/types/utils/spatial/snapIndex.d.ts +24 -0
- package/dist/types/utils/svg2Base64.d.ts +1 -0
- package/dist/types/utils/svgPathParser.d.ts +12 -0
- package/dist/types/utils/textBoxLock.d.ts +17 -0
- package/dist/types/utils/textContrast.d.ts +204 -0
- package/dist/types/utils/textFit.d.ts +195 -0
- package/dist/types/utils/textParser.d.ts +5 -0
- package/dist/types/utils/tooltipBind.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/AlignmentLine.d.ts +13 -0
- package/dist/types/views/Editor/Canvas/CanvasScrollbars.d.ts +16 -0
- package/dist/types/views/Editor/Canvas/EditableElement.d.ts +13 -0
- package/dist/types/views/Editor/Canvas/EditableElement.equal.d.ts +17 -0
- package/dist/types/views/Editor/Canvas/ElementCreateSelection.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/AnimationIndex.d.ts +9 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/BorderPanel.d.ts +2 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/ChartToolbar.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/CodeToolbar.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/ImageToolbar.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/LatexToolbar.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/LineToolbar.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/ShapeToolbar.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/TableToolbar.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/TextStyleControls.d.ts +2 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/TextToolbar.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/FloatingToolbar/index.d.ts +8 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/LinkHandler.d.ts +8 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/floatCompare.d.ts +15 -0
- package/dist/types/views/Editor/Canvas/ElementFloatLayer/index.d.ts +12 -0
- package/dist/types/views/Editor/Canvas/GridLines.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/HitLayer.d.ts +19 -0
- package/dist/types/views/Editor/Canvas/LinkDialog.d.ts +5 -0
- package/dist/types/views/Editor/Canvas/MouseSelection.d.ts +8 -0
- package/dist/types/views/Editor/Canvas/Operate/BorderLine.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/Operate/CommonElementOperate.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/Operate/ContextMenuBridge.d.ts +9 -0
- package/dist/types/views/Editor/Canvas/Operate/ImageElementOperate.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/Operate/LineElementOperate.d.ts +9 -0
- package/dist/types/views/Editor/Canvas/Operate/MediaElementOperate.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/Operate/MultiSelectOperate.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/Operate/ResizeHandler.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/Operate/RotateHandler.d.ts +8 -0
- package/dist/types/views/Editor/Canvas/Operate/ShapeElementOperate.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/Operate/TableElementOperate.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/Operate/TextElementOperate.d.ts +10 -0
- package/dist/types/views/Editor/Canvas/Operate/index.d.ts +25 -0
- package/dist/types/views/Editor/Canvas/Operate/operateCompare.d.ts +33 -0
- package/dist/types/views/Editor/Canvas/Operate/operateMemo.d.ts +12 -0
- package/dist/types/views/Editor/Canvas/Operate/stopHandleEvent.d.ts +3 -0
- package/dist/types/views/Editor/Canvas/Operate/useLatest.d.ts +2 -0
- package/dist/types/views/Editor/Canvas/Ruler.d.ts +14 -0
- package/dist/types/views/Editor/Canvas/ShapeCreateCanvas.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/ViewportBackground.d.ts +2 -0
- package/dist/types/views/Editor/Canvas/elementListSync.d.ts +12 -0
- package/dist/types/views/Editor/Canvas/hooks/useCommonOperate.d.ts +44 -0
- package/dist/types/views/Editor/Canvas/hooks/useDragElement.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/hooks/useDragLineElement.d.ts +6 -0
- package/dist/types/views/Editor/Canvas/hooks/useDrop.d.ts +4 -0
- package/dist/types/views/Editor/Canvas/hooks/useInsertFromCreateSelection.d.ts +13 -0
- package/dist/types/views/Editor/Canvas/hooks/useMouseSelection.d.ts +14 -0
- package/dist/types/views/Editor/Canvas/hooks/useMoveShapeKeypoint.d.ts +5 -0
- package/dist/types/views/Editor/Canvas/hooks/useOperateChrome.d.ts +11 -0
- package/dist/types/views/Editor/Canvas/hooks/useRotateElement.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/hooks/useRotateGroupElement.d.ts +7 -0
- package/dist/types/views/Editor/Canvas/hooks/useScaleElement.d.ts +12 -0
- package/dist/types/views/Editor/Canvas/hooks/useSelectElement.d.ts +5 -0
- package/dist/types/views/Editor/Canvas/hooks/useViewportSize.d.ts +13 -0
- package/dist/types/views/Editor/Canvas/index.d.ts +6 -0
- package/dist/types/views/Editor/CanvasTool/ChartPool.d.ts +8 -0
- package/dist/types/views/Editor/CanvasTool/LinePool.d.ts +10 -0
- package/dist/types/views/Editor/CanvasTool/MediaPicker.d.ts +7 -0
- package/dist/types/views/Editor/CanvasTool/SVGPathEditor.d.ts +8 -0
- package/dist/types/views/Editor/CanvasTool/ShapeItemThumbnail.d.ts +12 -0
- package/dist/types/views/Editor/CanvasTool/ShapePool.d.ts +15 -0
- package/dist/types/views/Editor/CanvasTool/SymbolPool.d.ts +7 -0
- package/dist/types/views/Editor/CanvasTool/TableGenerator.d.ts +12 -0
- package/dist/types/views/Editor/CanvasTool/VirtualSymbolGrid.d.ts +10 -0
- package/dist/types/views/Editor/CanvasTool/index.d.ts +7 -0
- package/dist/types/views/Editor/ChartDataEditorDialog.d.ts +2 -0
- package/dist/types/views/Editor/CodeEditorDialog.d.ts +2 -0
- package/dist/types/views/Editor/EditorHeader/HotkeyDoc.d.ts +6 -0
- package/dist/types/views/Editor/EditorHeader/index.d.ts +6 -0
- package/dist/types/views/Editor/ExportDialog/index.d.ts +4 -0
- package/dist/types/views/Editor/ImportReplaceDialog.d.ts +2 -0
- package/dist/types/views/Editor/InlineMathEditorDialog.d.ts +2 -0
- package/dist/types/views/Editor/LatexEditorDialog.d.ts +2 -0
- package/dist/types/views/Editor/MarkupPanel.d.ts +2 -0
- package/dist/types/views/Editor/MermaidEditorDialog.d.ts +2 -0
- package/dist/types/views/Editor/NotesPanel.d.ts +2 -0
- package/dist/types/views/Editor/Remark/Editor.d.ts +6 -0
- package/dist/types/views/Editor/Remark/index.d.ts +11 -0
- package/dist/types/views/Editor/SearchPanel.d.ts +2 -0
- package/dist/types/views/Editor/SelectPanel.d.ts +2 -0
- package/dist/types/views/Editor/SlideCodePanel.d.ts +11 -0
- package/dist/types/views/Editor/Thumbnails/ExportThemeDialog.d.ts +10 -0
- package/dist/types/views/Editor/Thumbnails/LayoutPicker.d.ts +9 -0
- package/dist/types/views/Editor/Thumbnails/index.d.ts +6 -0
- package/dist/types/views/Editor/Thumbnails/paneSize.d.ts +20 -0
- package/dist/types/views/Editor/Thumbnails/useThumbnailVirtualizer.d.ts +13 -0
- package/dist/types/views/Editor/Toolbar/ElementAnimationPanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementPositionPanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/AudioStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/ThemeColorsSetting.d.ts +4 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/CodeStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/LatexStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/VideoStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/ElementStylePanel/index.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/MultiPositionPanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/MultiStylePanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/SlideAnimationPanel.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/SlideDesignPanel/ViewportSizeSetting.d.ts +7 -0
- package/dist/types/views/Editor/Toolbar/SlideDesignPanel/index.d.ts +7 -0
- package/dist/types/views/Editor/Toolbar/common/AnimationPool.d.ts +17 -0
- package/dist/types/views/Editor/Toolbar/common/BoxInsetControl.d.ts +14 -0
- package/dist/types/views/Editor/Toolbar/common/ElementColorMask.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/common/ElementFilter.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/common/ElementFlip.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/common/ElementOpacity.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/common/ElementOutline.d.ts +5 -0
- package/dist/types/views/Editor/Toolbar/common/ElementShadow.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/common/PanelSection.d.ts +10 -0
- package/dist/types/views/Editor/Toolbar/common/RichTextBase.d.ts +10 -0
- package/dist/types/views/Editor/Toolbar/common/SVGLine.d.ts +10 -0
- package/dist/types/views/Editor/Toolbar/common/TextStyleContent.d.ts +2 -0
- package/dist/types/views/Editor/Toolbar/common/handleElement.d.ts +19 -0
- package/dist/types/views/Editor/Toolbar/common/panelSwitch.d.ts +4 -0
- package/dist/types/views/Editor/Toolbar/common/textBoxStyle.d.ts +25 -0
- package/dist/types/views/Editor/Toolbar/index.d.ts +6 -0
- package/dist/types/views/Editor/Toolbar/paneSize.d.ts +15 -0
- package/dist/types/views/Editor/index.d.ts +2 -0
- package/dist/types/views/Editor/slideCodeMirror.d.ts +17 -0
- package/dist/types/views/Editor/slideCodeUtils.d.ts +14 -0
- package/dist/types/views/Editor/slideValidator.d.ts +12 -0
- package/dist/types/views/Mobile/MobileEditor/ElementToolbar.d.ts +1 -0
- package/dist/types/views/Mobile/MobileEditor/Header.d.ts +5 -0
- package/dist/types/views/Mobile/MobileEditor/MobileEditableElement.d.ts +7 -0
- package/dist/types/views/Mobile/MobileEditor/MobileOperate.d.ts +12 -0
- package/dist/types/views/Mobile/MobileEditor/SlideToolbar.d.ts +1 -0
- package/dist/types/views/Mobile/MobileEditor/index.d.ts +5 -0
- package/dist/types/views/Mobile/MobilePlayer.d.ts +5 -0
- package/dist/types/views/Mobile/MobilePreview.d.ts +5 -0
- package/dist/types/views/Mobile/MobileThumbnails.d.ts +3 -0
- package/dist/types/views/Mobile/index.d.ts +1 -0
- package/dist/types/views/Screen/AudienceView.d.ts +1 -0
- package/dist/types/views/Screen/BaseView.d.ts +3 -0
- package/dist/types/views/Screen/BottomThumbnails.d.ts +1 -0
- package/dist/types/views/Screen/CountdownTimer.d.ts +6 -0
- package/dist/types/views/Screen/LaserColorSwatches.d.ts +8 -0
- package/dist/types/views/Screen/LaserTrailOverlay.d.ts +11 -0
- package/dist/types/views/Screen/PresenterToolbar.d.ts +30 -0
- package/dist/types/views/Screen/PresenterView.d.ts +3 -0
- package/dist/types/views/Screen/ScreenElement.d.ts +12 -0
- package/dist/types/views/Screen/ScreenShell.d.ts +2 -0
- package/dist/types/views/Screen/ScreenSlide.d.ts +11 -0
- package/dist/types/views/Screen/ScreenSlideList.d.ts +15 -0
- package/dist/types/views/Screen/SlideThumbnails.d.ts +7 -0
- package/dist/types/views/Screen/WritingBoardTool.d.ts +9 -0
- package/dist/types/views/Screen/hooks/useExecPlay.d.ts +33 -0
- package/dist/types/views/Screen/hooks/useFullscreen.d.ts +5 -0
- package/dist/types/views/Screen/hooks/useScreenTools.d.ts +20 -0
- package/dist/types/views/Screen/hooks/useSlideSize.d.ts +11 -0
- package/dist/types/views/Screen/index.d.ts +2 -0
- package/dist/types/views/Screen/lazy.d.ts +2 -0
- package/dist/types/views/Screen/screenWindow.d.ts +11 -0
- package/dist/types/views/components/ThumbnailSlide/index.d.ts +13 -0
- package/dist/types/views/components/ThumbnailSlide/paintedSlide.d.ts +29 -0
- package/dist/types/views/components/element/AudioElement/ScreenAudioElement.d.ts +6 -0
- package/dist/types/views/components/element/AudioElement/index.d.ts +9 -0
- package/dist/types/views/components/element/ChartElement/BaseChartElement.d.ts +9 -0
- package/dist/types/views/components/element/ChartElement/Chart.d.ts +13 -0
- package/dist/types/views/components/element/ChartElement/chartBooth.d.ts +2 -0
- package/dist/types/views/components/element/ChartElement/chartOption.d.ts +17 -0
- package/dist/types/views/components/element/ChartElement/index.d.ts +9 -0
- package/dist/types/views/components/element/CodeElement/BaseCodeElement.d.ts +6 -0
- package/dist/types/views/components/element/CodeElement/CodeBlockSkeleton.d.ts +13 -0
- package/dist/types/views/components/element/CodeElement/CodeContent.d.ts +6 -0
- package/dist/types/views/components/element/CodeElement/index.d.ts +9 -0
- package/dist/types/views/components/element/ElementOutline.d.ts +8 -0
- package/dist/types/views/components/element/ImageElement/BaseImageElement.d.ts +6 -0
- package/dist/types/views/components/element/ImageElement/ImageBitmapSurface.d.ts +10 -0
- package/dist/types/views/components/element/ImageElement/ImageClipHandler.d.ts +15 -0
- package/dist/types/views/components/element/ImageElement/ImageOutline/ImageEllipseOutline.d.ts +8 -0
- package/dist/types/views/components/element/ImageElement/ImageOutline/ImagePolygonOutline.d.ts +9 -0
- package/dist/types/views/components/element/ImageElement/ImageOutline/ImageRectOutline.d.ts +9 -0
- package/dist/types/views/components/element/ImageElement/ImageOutline/index.d.ts +6 -0
- package/dist/types/views/components/element/ImageElement/index.d.ts +9 -0
- package/dist/types/views/components/element/ImageElement/useClipImage.d.ts +10 -0
- package/dist/types/views/components/element/ImageElement/useFilter.d.ts +4 -0
- package/dist/types/views/components/element/ImageElement/useImageBitmap.d.ts +2 -0
- package/dist/types/views/components/element/LatexElement/BaseLatexElement.d.ts +6 -0
- package/dist/types/views/components/element/LatexElement/LatexContent.d.ts +6 -0
- package/dist/types/views/components/element/LatexElement/index.d.ts +9 -0
- package/dist/types/views/components/element/LineElement/BaseLineElement.d.ts +6 -0
- package/dist/types/views/components/element/LineElement/LinePointMarker.d.ts +12 -0
- package/dist/types/views/components/element/LineElement/index.d.ts +9 -0
- package/dist/types/views/components/element/MediaPlayer/index.d.ts +20 -0
- package/dist/types/views/components/element/MediaPlayer/useMSE.d.ts +4 -0
- package/dist/types/views/components/element/MediaPlayer/useMediaPlayback.d.ts +67 -0
- package/dist/types/views/components/element/MermaidElement/BaseMermaidElement.d.ts +6 -0
- package/dist/types/views/components/element/MermaidElement/MermaidContent.d.ts +6 -0
- package/dist/types/views/components/element/MermaidElement/index.d.ts +9 -0
- package/dist/types/views/components/element/ProsemirrorEditor.d.ts +60 -0
- package/dist/types/views/components/element/ShapeElement/BaseShapeElement.d.ts +6 -0
- package/dist/types/views/components/element/ShapeElement/GradientDefs.d.ts +9 -0
- package/dist/types/views/components/element/ShapeElement/PatternDefs.d.ts +6 -0
- package/dist/types/views/components/element/ShapeElement/index.d.ts +10 -0
- package/dist/types/views/components/element/ShapeElement/shapePaintEqual.d.ts +15 -0
- package/dist/types/views/components/element/TableElement/BaseTableElement.d.ts +6 -0
- package/dist/types/views/components/element/TableElement/CustomTextarea.d.ts +12 -0
- package/dist/types/views/components/element/TableElement/EditableTable.d.ts +19 -0
- package/dist/types/views/components/element/TableElement/StaticTable.d.ts +12 -0
- package/dist/types/views/components/element/TableElement/cellEdit.d.ts +15 -0
- package/dist/types/views/components/element/TableElement/gridCompare.d.ts +28 -0
- package/dist/types/views/components/element/TableElement/index.d.ts +10 -0
- package/dist/types/views/components/element/TableElement/useHideCells.d.ts +4 -0
- package/dist/types/views/components/element/TableElement/useMathReady.d.ts +4 -0
- package/dist/types/views/components/element/TableElement/useSubThemeColor.d.ts +9 -0
- package/dist/types/views/components/element/TableElement/utils.d.ts +17 -0
- package/dist/types/views/components/element/TextElement/BaseTextElement.d.ts +15 -0
- package/dist/types/views/components/element/TextElement/index.d.ts +13 -0
- package/dist/types/views/components/element/VideoElement/ScreenVideoElement.d.ts +6 -0
- package/dist/types/views/components/element/VideoElement/index.d.ts +9 -0
- package/dist/types/views/components/element/hooks/useAutoShapeTextHeight.d.ts +2 -0
- package/dist/types/views/components/element/hooks/useElementFill.d.ts +5 -0
- package/dist/types/views/components/element/hooks/useElementFlip.d.ts +4 -0
- package/dist/types/views/components/element/hooks/useElementOutline.d.ts +10 -0
- package/dist/types/views/components/element/hooks/useElementShadow.d.ts +5 -0
- package/dist/types/views/components/element/hooks/useLiveBoxFit.d.ts +12 -0
- package/dist/types/views/components/element/hooks/useTextFit.d.ts +26 -0
- package/docs/RELEASE.md +14 -0
- package/package.json +26 -17
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type IMouseSelectionProps = {
|
|
2
|
+
top: number;
|
|
3
|
+
left: number;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
};
|
|
7
|
+
declare const MouseSelection: import("react").MemoExoticComponent<(props: IMouseSelectionProps) => import("react").JSX.Element>;
|
|
8
|
+
export default MouseSelection;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type CSSProperties, type MouseEvent as ReactMouseEvent } from 'react';
|
|
2
|
+
import type { OperateBorderLines } from '../../../../types/edit';
|
|
3
|
+
export type IBorderLineProps = {
|
|
4
|
+
type: OperateBorderLines;
|
|
5
|
+
isWide?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
onMouseDown?: (e: ReactMouseEvent<HTMLDivElement>) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const BorderLine: import("react").MemoExoticComponent<({ type, isWide, className, style, onMouseDown }: IBorderLineProps) => import("react").JSX.Element>;
|
|
11
|
+
export default BorderLine;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PPTVideoElement, PPTLatexElement, PPTAudioElement, PPTChartElement } from '../../../../types/slides';
|
|
2
|
+
import type { OperateResizeHandlers } from '../../../../types/edit';
|
|
3
|
+
type PPTElement = PPTVideoElement | PPTLatexElement | PPTAudioElement | PPTChartElement;
|
|
4
|
+
export type ICommonElementOperateProps = {
|
|
5
|
+
elementInfo: PPTElement;
|
|
6
|
+
handlerVisible: boolean;
|
|
7
|
+
rotateElement: (e: MouseEvent, element: PPTElement) => void;
|
|
8
|
+
scaleElement: (e: MouseEvent, element: PPTElement, command: OperateResizeHandlers) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const CommonElementOperate: import("react").MemoExoticComponent<(props: ICommonElementOperateProps) => import("react").JSX.Element>;
|
|
11
|
+
export default CommonElementOperate;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { MutableRefObject } from 'react';
|
|
2
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
3
|
+
import type { ContextmenuItem } from '../../../../components/Contextmenu/types';
|
|
4
|
+
export type ElementContextmenus = (element: PPTElement, isMultiSelect: boolean) => ContextmenuItem[] | null;
|
|
5
|
+
/** Isolates context-menu store subscriptions so operate chrome does not rerender on keystroke. */
|
|
6
|
+
export default function ContextMenuBridge({ openLinkDialog, menuRef, }: {
|
|
7
|
+
openLinkDialog: () => void;
|
|
8
|
+
menuRef: MutableRefObject<ElementContextmenus | null>;
|
|
9
|
+
}): any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PPTImageElement } from '../../../../types/slides';
|
|
2
|
+
import type { OperateResizeHandlers } from '../../../../types/edit';
|
|
3
|
+
export type IImageElementOperateProps = {
|
|
4
|
+
elementInfo: PPTImageElement;
|
|
5
|
+
handlerVisible: boolean;
|
|
6
|
+
rotateElement: (e: MouseEvent, element: PPTImageElement) => void;
|
|
7
|
+
scaleElement: (e: MouseEvent, element: PPTImageElement, command: OperateResizeHandlers) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const ImageElementOperate: import("react").MemoExoticComponent<(props: IImageElementOperateProps) => import("react").JSX.Element>;
|
|
10
|
+
export default ImageElementOperate;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PPTLineElement } from '../../../../types/slides';
|
|
2
|
+
import { OperateLineHandlers } from '../../../../types/edit';
|
|
3
|
+
export type ILineElementOperateProps = {
|
|
4
|
+
elementInfo: PPTLineElement;
|
|
5
|
+
handlerVisible: boolean;
|
|
6
|
+
dragLineElement: (e: MouseEvent, element: PPTLineElement, command: OperateLineHandlers) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const LineElementOperate: import("react").MemoExoticComponent<(props: ILineElementOperateProps) => import("react").JSX.Element>;
|
|
9
|
+
export default LineElementOperate;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PPTAudioElement, PPTVideoElement } from '../../../../types/slides';
|
|
2
|
+
import type { OperateResizeHandlers } from '../../../../types/edit';
|
|
3
|
+
type MediaElement = PPTVideoElement | PPTAudioElement;
|
|
4
|
+
export type IMediaElementOperateProps = {
|
|
5
|
+
elementInfo: MediaElement;
|
|
6
|
+
handlerVisible: boolean;
|
|
7
|
+
rotateElement: (e: MouseEvent, element: MediaElement) => void;
|
|
8
|
+
scaleElement: (e: MouseEvent, element: MediaElement, command: OperateResizeHandlers) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const MediaElementOperate: import("react").MemoExoticComponent<(props: IMediaElementOperateProps) => import("react").JSX.Element>;
|
|
11
|
+
export default MediaElementOperate;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
2
|
+
import type { OperateResizeHandlers, MultiSelectRange } from '../../../../types/edit';
|
|
3
|
+
export type IMultiSelectOperateProps = {
|
|
4
|
+
elementList: PPTElement[];
|
|
5
|
+
scaleMultiElement: (e: MouseEvent, range: MultiSelectRange, command: OperateResizeHandlers) => void;
|
|
6
|
+
rotateGroupElement: (e: MouseEvent, elements: PPTElement[]) => void;
|
|
7
|
+
dragElement: (e: MouseEvent | TouchEvent, element: PPTElement) => void;
|
|
8
|
+
openLinkDialog: () => void;
|
|
9
|
+
};
|
|
10
|
+
declare const MultiSelectOperate: import("react").MemoExoticComponent<(props: IMultiSelectOperateProps) => import("react").JSX.Element>;
|
|
11
|
+
export default MultiSelectOperate;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type CSSProperties, type MouseEvent as ReactMouseEvent } from 'react';
|
|
2
|
+
import type { OperateResizeHandlers } from '../../../../types/edit';
|
|
3
|
+
export type IResizeHandlerProps = {
|
|
4
|
+
type?: OperateResizeHandlers;
|
|
5
|
+
rotate?: number;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
onMouseDown?: (e: ReactMouseEvent<HTMLDivElement>) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const ResizeHandler: import("react").MemoExoticComponent<({ type, rotate, className, style, onMouseDown }: IResizeHandlerProps) => import("react").JSX.Element>;
|
|
11
|
+
export default ResizeHandler;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type CSSProperties, type MouseEvent as ReactMouseEvent } from 'react';
|
|
2
|
+
export type IRotateHandlerProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
onMouseDown?: (e: ReactMouseEvent<HTMLDivElement>) => void;
|
|
6
|
+
};
|
|
7
|
+
declare const RotateHandler: import("react").NamedExoticComponent<IRotateHandlerProps>;
|
|
8
|
+
export default RotateHandler;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PPTShapeElement } from '../../../../types/slides';
|
|
2
|
+
import type { OperateResizeHandlers } from '../../../../types/edit';
|
|
3
|
+
export type IShapeElementOperateProps = {
|
|
4
|
+
elementInfo: PPTShapeElement;
|
|
5
|
+
handlerVisible: boolean;
|
|
6
|
+
rotateElement: (e: MouseEvent, element: PPTShapeElement) => void;
|
|
7
|
+
scaleElement: (e: MouseEvent, element: PPTShapeElement, command: OperateResizeHandlers) => void;
|
|
8
|
+
moveShapeKeypoint: (e: MouseEvent, element: PPTShapeElement, index: number) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const ShapeElementOperate: import("react").MemoExoticComponent<(props: IShapeElementOperateProps) => import("react").JSX.Element>;
|
|
11
|
+
export default ShapeElementOperate;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PPTTableElement } from '../../../../types/slides';
|
|
2
|
+
import type { OperateResizeHandlers } from '../../../../types/edit';
|
|
3
|
+
export type ITableElementOperateProps = {
|
|
4
|
+
elementInfo: PPTTableElement;
|
|
5
|
+
handlerVisible: boolean;
|
|
6
|
+
rotateElement: (e: MouseEvent, element: PPTTableElement) => void;
|
|
7
|
+
scaleElement: (e: MouseEvent, element: PPTTableElement, command: OperateResizeHandlers) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const TableElementOperate: import("react").MemoExoticComponent<(props: ITableElementOperateProps) => import("react").JSX.Element>;
|
|
10
|
+
export default TableElementOperate;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PPTTextElement } from '../../../../types/slides';
|
|
2
|
+
import type { OperateResizeHandlers } from '../../../../types/edit';
|
|
3
|
+
export type ITextElementOperateProps = {
|
|
4
|
+
elementInfo: PPTTextElement;
|
|
5
|
+
handlerVisible: boolean;
|
|
6
|
+
rotateElement: (e: MouseEvent, element: PPTTextElement) => void;
|
|
7
|
+
scaleElement: (e: MouseEvent, element: PPTTextElement, command: OperateResizeHandlers) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const TextElementOperate: import("react").MemoExoticComponent<(props: ITextElementOperateProps) => import("react").JSX.Element>;
|
|
10
|
+
export default TextElementOperate;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type PPTElement, type PPTLineElement, type PPTVideoElement, type PPTAudioElement, type PPTShapeElement, type PPTChartElement } from '../../../../types/slides';
|
|
3
|
+
import type { OperateLineHandlers, OperateResizeHandlers } from '../../../../types/edit';
|
|
4
|
+
export type IOperateProps = {
|
|
5
|
+
elementInfo: PPTElement;
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
isActiveGroupElement: boolean;
|
|
9
|
+
isMultiSelect: boolean;
|
|
10
|
+
isEditing: boolean;
|
|
11
|
+
rotateElement: (e: MouseEvent, element: Exclude<PPTElement, PPTChartElement | PPTLineElement | PPTVideoElement | PPTAudioElement>) => void;
|
|
12
|
+
scaleElement: (e: MouseEvent, element: Exclude<PPTElement, PPTLineElement>, command: OperateResizeHandlers) => void;
|
|
13
|
+
dragLineElement: (e: MouseEvent, element: PPTLineElement, command: OperateLineHandlers) => void;
|
|
14
|
+
moveShapeKeypoint: (e: MouseEvent, element: PPTShapeElement, index: number) => void;
|
|
15
|
+
dragElement: (e: MouseEvent | TouchEvent, element: PPTElement) => void;
|
|
16
|
+
beginEdit: (elementId: string, caret?: {
|
|
17
|
+
left: number;
|
|
18
|
+
top: number;
|
|
19
|
+
}) => void;
|
|
20
|
+
openLinkDialog: () => void;
|
|
21
|
+
className?: string;
|
|
22
|
+
style?: CSSProperties;
|
|
23
|
+
};
|
|
24
|
+
declare const Operate: import("react").MemoExoticComponent<(props: IOperateProps) => import("react").JSX.Element>;
|
|
25
|
+
export default Operate;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
3
|
+
export declare function styleEqual(a?: CSSProperties, b?: CSSProperties): boolean;
|
|
4
|
+
export declare function deepEqualIgnore(a: unknown, b: unknown, ignoreKeys: ReadonlySet<string>): boolean;
|
|
5
|
+
export declare function elementChromeEqual(prev: PPTElement, next: PPTElement, ignoreContent?: boolean): boolean;
|
|
6
|
+
export declare function boxGeometryChanged(prev: PPTElement, next: PPTElement): boolean;
|
|
7
|
+
type OperateFlags = {
|
|
8
|
+
isSelected: boolean;
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
isActiveGroupElement: boolean;
|
|
11
|
+
isMultiSelect: boolean;
|
|
12
|
+
isEditing: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
elementInfo: PPTElement;
|
|
16
|
+
};
|
|
17
|
+
export declare function operatePropsEqual(prev: OperateFlags, next: OperateFlags, ignoreContent?: boolean): boolean;
|
|
18
|
+
export declare function typedOperateEqual<T extends {
|
|
19
|
+
elementInfo: PPTElement;
|
|
20
|
+
handlerVisible: boolean;
|
|
21
|
+
}>(prev: T, next: T, ignoreContent?: boolean): boolean;
|
|
22
|
+
export declare function multiSelectOperateEqual(prev: {
|
|
23
|
+
elementList: PPTElement[];
|
|
24
|
+
}, next: {
|
|
25
|
+
elementList: PPTElement[];
|
|
26
|
+
}, ignoreContent?: boolean): boolean;
|
|
27
|
+
export declare function handlerChromeEqual<T extends {
|
|
28
|
+
type?: unknown;
|
|
29
|
+
rotate?: number;
|
|
30
|
+
className?: string;
|
|
31
|
+
style?: CSSProperties;
|
|
32
|
+
}>(prev: T, next: T): boolean;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
2
|
+
import { operatePropsEqual } from './operateCompare';
|
|
3
|
+
export declare function operateMemoEqual<T extends Parameters<typeof operatePropsEqual>[0]>(prev: T, next: T): boolean;
|
|
4
|
+
export declare function typedOperateMemoEqual<T extends {
|
|
5
|
+
elementInfo: PPTElement;
|
|
6
|
+
handlerVisible: boolean;
|
|
7
|
+
}>(prev: T, next: T): boolean;
|
|
8
|
+
export declare function multiSelectOperateMemoEqual(prev: {
|
|
9
|
+
elementList: PPTElement[];
|
|
10
|
+
}, next: {
|
|
11
|
+
elementList: PPTElement[];
|
|
12
|
+
}): boolean;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../types/slides';
|
|
2
|
+
interface ViewportStyles {
|
|
3
|
+
top: number;
|
|
4
|
+
left: number;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
}
|
|
8
|
+
export type IRulerProps = {
|
|
9
|
+
viewportStyles: ViewportStyles;
|
|
10
|
+
elementList: PPTElement[];
|
|
11
|
+
};
|
|
12
|
+
export declare function areRulerPropsEqual(prev: IRulerProps, next: IRulerProps): boolean;
|
|
13
|
+
declare const Ruler: import("react").MemoExoticComponent<({ viewportStyles, elementList }: IRulerProps) => import("react").JSX.Element>;
|
|
14
|
+
export default Ruler;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CreateCustomShapeData, CustomShapeDrawMode } from '../../../types/edit';
|
|
2
|
+
export type IShapeCreateCanvasProps = {
|
|
3
|
+
mode: CustomShapeDrawMode;
|
|
4
|
+
onCreated?: (payload: CreateCustomShapeData[]) => void;
|
|
5
|
+
};
|
|
6
|
+
declare const ShapeCreateCanvas: import("react").MemoExoticComponent<(props: IShapeCreateCanvasProps) => import("react").JSX.Element>;
|
|
7
|
+
export default ShapeCreateCanvas;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PPTElement, Slide } from '../../../types/slides';
|
|
2
|
+
export declare const isContentLikeKey: (key: string, prev: PPTElement, next: PPTElement) => boolean;
|
|
3
|
+
export type ElementListSyncAction = 'replace' | 'skip' | 'patch-chrome';
|
|
4
|
+
export type SlideElementsSnap = {
|
|
5
|
+
id: string;
|
|
6
|
+
elements: PPTElement[];
|
|
7
|
+
};
|
|
8
|
+
export declare const snapSlideElements: (slide: Slide | undefined) => SlideElementsSnap | undefined;
|
|
9
|
+
export declare const slideElementsSnapEqual: (prev: SlideElementsSnap | undefined, next: SlideElementsSnap | undefined, editingId: string) => boolean;
|
|
10
|
+
export declare const classifyElementListSync: (prev: Slide | undefined, next: Slide | undefined, editingId: string) => ElementListSyncAction;
|
|
11
|
+
export declare const isInPlaceEditingContentPatch: (prev: Slide | undefined, next: Slide | undefined, editingId: string) => boolean;
|
|
12
|
+
export declare const patchEditingElementChrome: (list: PPTElement[], storeEl: PPTElement) => PPTElement[];
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OperateResizeHandlers, OperateBorderLines } from '../../../../types/edit';
|
|
2
|
+
export default _default;
|
|
3
|
+
/**
|
|
4
|
+
* Handle/border lists only. Positions live in CSS against the operate wrapper
|
|
5
|
+
* so applyLiveSize can resize the box without a React re-render.
|
|
6
|
+
*/
|
|
7
|
+
declare function _default(): {
|
|
8
|
+
resizeHandlers: readonly [{
|
|
9
|
+
readonly direction: OperateResizeHandlers.LEFT_TOP;
|
|
10
|
+
}, {
|
|
11
|
+
readonly direction: OperateResizeHandlers.TOP;
|
|
12
|
+
}, {
|
|
13
|
+
readonly direction: OperateResizeHandlers.RIGHT_TOP;
|
|
14
|
+
}, {
|
|
15
|
+
readonly direction: OperateResizeHandlers.LEFT;
|
|
16
|
+
}, {
|
|
17
|
+
readonly direction: OperateResizeHandlers.RIGHT;
|
|
18
|
+
}, {
|
|
19
|
+
readonly direction: OperateResizeHandlers.LEFT_BOTTOM;
|
|
20
|
+
}, {
|
|
21
|
+
readonly direction: OperateResizeHandlers.BOTTOM;
|
|
22
|
+
}, {
|
|
23
|
+
readonly direction: OperateResizeHandlers.RIGHT_BOTTOM;
|
|
24
|
+
}];
|
|
25
|
+
textElementResizeHandlers: readonly [{
|
|
26
|
+
readonly direction: OperateResizeHandlers.LEFT;
|
|
27
|
+
}, {
|
|
28
|
+
readonly direction: OperateResizeHandlers.RIGHT;
|
|
29
|
+
}];
|
|
30
|
+
verticalTextElementResizeHandlers: readonly [{
|
|
31
|
+
readonly direction: OperateResizeHandlers.TOP;
|
|
32
|
+
}, {
|
|
33
|
+
readonly direction: OperateResizeHandlers.BOTTOM;
|
|
34
|
+
}];
|
|
35
|
+
borderLines: readonly [{
|
|
36
|
+
readonly type: OperateBorderLines.T;
|
|
37
|
+
}, {
|
|
38
|
+
readonly type: OperateBorderLines.B;
|
|
39
|
+
}, {
|
|
40
|
+
readonly type: OperateBorderLines.L;
|
|
41
|
+
}, {
|
|
42
|
+
readonly type: OperateBorderLines.R;
|
|
43
|
+
}];
|
|
44
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
2
|
+
import type { AlignmentLineProps } from '../../../../types/edit';
|
|
3
|
+
export default _default;
|
|
4
|
+
declare function _default(elementList: PPTElement[], setElementList: (value: PPTElement[]) => void, _alignmentLines: AlignmentLineProps[], setAlignmentLines: (value: AlignmentLineProps[]) => void, canvasScale: number): {
|
|
5
|
+
dragElement: (e: MouseEvent | TouchEvent, element: PPTElement) => void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PPTElement, PPTLineElement } from '../../../../types/slides';
|
|
2
|
+
import { OperateLineHandlers } from '../../../../types/edit';
|
|
3
|
+
export default _default;
|
|
4
|
+
declare function _default(elementList: PPTElement[], setElementList: (value: PPTElement[]) => void): {
|
|
5
|
+
dragLineElement: (e: MouseEvent, element: PPTLineElement, command: OperateLineHandlers) => void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CreateElementSelectionData } from '../../../../types/edit';
|
|
2
|
+
export default _default;
|
|
3
|
+
declare function _default(viewportRef: {
|
|
4
|
+
current: HTMLElement | null;
|
|
5
|
+
}): {
|
|
6
|
+
formatCreateSelection: (selectionData: CreateElementSelectionData) => {
|
|
7
|
+
left: number;
|
|
8
|
+
top: number;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
insertElementFromCreateSelection: (selectionData: CreateElementSelectionData) => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
2
|
+
export default _default;
|
|
3
|
+
declare function _default(elementList: PPTElement[], viewportRef: {
|
|
4
|
+
current: HTMLElement | null;
|
|
5
|
+
}): {
|
|
6
|
+
mouseSelection: {
|
|
7
|
+
top: number;
|
|
8
|
+
left: number;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
mouseSelectionVisible: boolean;
|
|
13
|
+
updateMouseSelection: (e: MouseEvent) => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PPTElement, PPTShapeElement } from '../../../../types/slides';
|
|
2
|
+
export default _default;
|
|
3
|
+
declare function _default(elementList: PPTElement[], setElementList: (value: PPTElement[]) => void, canvasScale: number): {
|
|
4
|
+
moveShapeKeypoint: (e: MouseEvent | TouchEvent, element: PPTShapeElement, index?: number) => void;
|
|
5
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default _default;
|
|
2
|
+
/**
|
|
3
|
+
* Editor overlay polarity from the slide's known fill — O(1), no pixel reads.
|
|
4
|
+
* Image / gradient slides use the same representative surface as text contrast.
|
|
5
|
+
* A contrasting halo covers mixed patches (photo, white card on a dark slide)
|
|
6
|
+
* so guides stay visible without sampling during drag.
|
|
7
|
+
*/
|
|
8
|
+
declare function _default(): {
|
|
9
|
+
operateLineColor: string;
|
|
10
|
+
operateLineHalo: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PPTElement, PPTLineElement, PPTVideoElement, PPTAudioElement, PPTChartElement } from '../../../../types/slides';
|
|
2
|
+
export default _default;
|
|
3
|
+
declare function _default(elementList: PPTElement[], setElementList: (value: PPTElement[]) => void, viewportRef: {
|
|
4
|
+
current: HTMLElement | null;
|
|
5
|
+
}, canvasScale: number): {
|
|
6
|
+
rotateElement: (e: MouseEvent | TouchEvent, element: Exclude<PPTElement, PPTChartElement | PPTLineElement | PPTVideoElement | PPTAudioElement>) => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
2
|
+
export default _default;
|
|
3
|
+
declare function _default(elementList: PPTElement[], setElementList: (value: PPTElement[]) => void, viewportRef: {
|
|
4
|
+
current: HTMLElement | null;
|
|
5
|
+
}, canvasScale: number): {
|
|
6
|
+
rotateGroupElement: (e: MouseEvent, elements: PPTElement[]) => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PPTElement, PPTLineElement } from '../../../../types/slides';
|
|
2
|
+
import { OperateResizeHandlers, type MultiSelectRange } from '../../../../types/edit';
|
|
3
|
+
export default _default;
|
|
4
|
+
/**
|
|
5
|
+
* Live resize follows the pointer only. Snap/guides belong on move, not scale —
|
|
6
|
+
* setAlignmentLines during the gesture re-renders the canvas (even `[] !== []`)
|
|
7
|
+
* and makes the preview lag.
|
|
8
|
+
*/
|
|
9
|
+
declare function _default(elementList: PPTElement[], setElementList: (value: PPTElement[]) => void, canvasScale: number): {
|
|
10
|
+
scaleElement: (e: MouseEvent | TouchEvent, element: Exclude<PPTElement, PPTLineElement>, command: OperateResizeHandlers) => void;
|
|
11
|
+
scaleMultiElement: (e: MouseEvent, range: MultiSelectRange, command: OperateResizeHandlers) => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
2
|
+
export default _default;
|
|
3
|
+
declare function _default(elementList: PPTElement[], moveElement: (e: MouseEvent | TouchEvent, element: PPTElement) => void): {
|
|
4
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTElement, startMove?: boolean, andEdit?: boolean) => void;
|
|
5
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default _default;
|
|
2
|
+
declare function _default(canvasRef: {
|
|
3
|
+
current: HTMLElement | null;
|
|
4
|
+
}): {
|
|
5
|
+
viewportStyles: {
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
};
|
|
11
|
+
dragViewport: (e: MouseEvent) => void;
|
|
12
|
+
panViewport: (dx: number, dy: number) => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { ChartType } from '../../../types/slides';
|
|
3
|
+
export type IChartPoolProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
onSelect?: (payload: ChartType) => void;
|
|
7
|
+
};
|
|
8
|
+
export default function ChartPool(props: IChartPoolProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type LinePoolItem } from '../../../configs/lines';
|
|
3
|
+
export type ILinePoolProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
onSelect?: (payload: LinePoolItem) => void;
|
|
7
|
+
};
|
|
8
|
+
declare function LinePool(props: ILinePoolProps): import("react").JSX.Element;
|
|
9
|
+
declare const _default: import("react").MemoExoticComponent<typeof LinePool>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
export type ISVGPathEditorProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
onInsert?: (path: string) => void;
|
|
7
|
+
};
|
|
8
|
+
export default function SVGPathEditor(props: ISVGPathEditorProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type CSSProperties, type MouseEventHandler } from 'react';
|
|
2
|
+
import type { ShapePoolItem } from '../../../configs/shapes';
|
|
3
|
+
export type IShapeItemThumbnailProps = {
|
|
4
|
+
shape: ShapePoolItem;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
8
|
+
onSelect?: (shape: ShapePoolItem) => void;
|
|
9
|
+
};
|
|
10
|
+
declare function ShapeItemThumbnail({ shape, className, style, onClick, onSelect }: IShapeItemThumbnailProps): import("react").JSX.Element;
|
|
11
|
+
declare const _default: import("react").MemoExoticComponent<typeof ShapeItemThumbnail>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type ShapePoolItem } from '../../../configs/shapes';
|
|
3
|
+
import type { LinePoolItem } from '../../../configs/lines';
|
|
4
|
+
export type IShapePoolProps = {
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
onSelect?: (payload: ShapePoolItem) => void;
|
|
8
|
+
onSelectLine?: (payload: LinePoolItem) => void;
|
|
9
|
+
onScribble?: () => void;
|
|
10
|
+
onPolygon?: () => void;
|
|
11
|
+
onPathDraw?: () => void;
|
|
12
|
+
};
|
|
13
|
+
declare function ShapePool(props: IShapePoolProps): import("react").JSX.Element;
|
|
14
|
+
declare const _default: import("react").MemoExoticComponent<typeof ShapePool>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
interface InsertData {
|
|
3
|
+
row: number;
|
|
4
|
+
col: number;
|
|
5
|
+
}
|
|
6
|
+
export default function TableGenerator({ className, style, onInsert, }: {
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
onInsert?: (payload: InsertData) => void;
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
export type IVirtualSymbolGridProps = {
|
|
3
|
+
items: string[];
|
|
4
|
+
emoji?: boolean;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
onSelect?: (value: string) => void;
|
|
9
|
+
};
|
|
10
|
+
export default function VirtualSymbolGrid({ items, emoji, loading, className, style, onSelect, }: IVirtualSymbolGridProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import 'overlayscrollbars/overlayscrollbars.css';
|
|
3
|
+
declare const CanvasTool: import("react").MemoExoticComponent<({ className, style }: {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
}) => import("react").JSX.Element>;
|
|
7
|
+
export default CanvasTool;
|