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,204 @@
|
|
|
1
|
+
import type { Gradient, PPTElement, PPTTableElement, Slide, SlideBackground } from '../types/slides';
|
|
2
|
+
/**
|
|
3
|
+
* Painter's-algorithm text contrast repair for AI-imported decks.
|
|
4
|
+
*
|
|
5
|
+
* The query engine answers "what is painted under this text?" by sampling
|
|
6
|
+
* points inside the text's bounds and walking the slide's element list from
|
|
7
|
+
* the text downwards (elements render in array order, so the first hit while
|
|
8
|
+
* walking backwards is the topmost layer below the text). A layer only
|
|
9
|
+
* counts when it actually covers the sample: empty / transparent fills and
|
|
10
|
+
* outline-only (border) shapes are see-through; filled shapes are hit-tested
|
|
11
|
+
* against their path (ellipse corners are not a rectangle). Themed table
|
|
12
|
+
* cells sit on zinc paper with an opaque ink header (same as the renderer).
|
|
13
|
+
* Images are `unknown` unless a sampled color cache is supplied (AI import
|
|
14
|
+
* prefetches overlap regions via `fast-average-color`). Patterns and charts stay
|
|
15
|
+
* `unknown`.
|
|
16
|
+
*
|
|
17
|
+
* Texts whose worst-case WCAG contrast falls below {@link CONTRAST_TRIGGER}
|
|
18
|
+
* are recolored with a stark black ↔ white inversion based on the
|
|
19
|
+
* *background* polarity (dark fill → white ink, light fill → black ink).
|
|
20
|
+
* Text that already has the right polarity is left alone — flipping white
|
|
21
|
+
* numbers on a mid-teal chip to black "improves" the WCAG ratio (2.98 → 7)
|
|
22
|
+
* but looks worse. Mid-tone "barely AA" greys of the *wrong* polarity are
|
|
23
|
+
* still snapped to black/white; AI decks need decisive contrast.
|
|
24
|
+
*/
|
|
25
|
+
/** Fix texts below this ratio (WCAG AA minimum for large text). */
|
|
26
|
+
export declare const CONTRAST_TRIGGER = 3;
|
|
27
|
+
/** Stark fixes (black/white) clear this comfortably; kept for callers/tests. */
|
|
28
|
+
export declare const CONTRAST_TARGET = 4.5;
|
|
29
|
+
interface ThemeColors {
|
|
30
|
+
backgroundColor: string;
|
|
31
|
+
fontColor: string;
|
|
32
|
+
}
|
|
33
|
+
/** Canvas-space rectangle with a sampled average hex (from `fast-average-color`). */
|
|
34
|
+
export interface ImageRegionPaint {
|
|
35
|
+
minX: number;
|
|
36
|
+
maxX: number;
|
|
37
|
+
minY: number;
|
|
38
|
+
maxY: number;
|
|
39
|
+
hex: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Prefetched image paints for one slide. Without this, photographs stay
|
|
43
|
+
* `unknown` and the fixer leaves overlapping text alone.
|
|
44
|
+
*/
|
|
45
|
+
export interface ImagePaintCache {
|
|
46
|
+
/** Image element id → sampled text∩image regions. */
|
|
47
|
+
byElementId: Map<string, ImageRegionPaint[]>;
|
|
48
|
+
/** Slide image-background regions (cover-mapped), if any. */
|
|
49
|
+
slideBackground?: ImageRegionPaint[];
|
|
50
|
+
}
|
|
51
|
+
export interface ContrastContext {
|
|
52
|
+
images?: ImagePaintCache;
|
|
53
|
+
}
|
|
54
|
+
/** Flatten a gradient to a single representative color (average of stops). */
|
|
55
|
+
export declare const gradientAverageColor: (gradient: Gradient) => string;
|
|
56
|
+
/**
|
|
57
|
+
* Representative surface color of a slide background. Gradients average their
|
|
58
|
+
* stops; images fall back to `fallback` (usually the theme background) because
|
|
59
|
+
* the pixel paint is unknown without a sample cache. Translucent solids are
|
|
60
|
+
* composited over white so polarity matches what the user actually sees.
|
|
61
|
+
*/
|
|
62
|
+
export declare const resolveSlideSurfaceColor: (background: SlideBackground | undefined, fallback?: string) => string;
|
|
63
|
+
/** Effective opaque fill of one cell (explicit backcolor, else theme stripe). */
|
|
64
|
+
export declare const resolveTableCellFill: (el: PPTTableElement, row: number, col: number) => string | null;
|
|
65
|
+
export interface BackgroundQueryResult {
|
|
66
|
+
/** Distinct opaque colors found under the sampled points. */
|
|
67
|
+
colors: string[];
|
|
68
|
+
/** True when any sample hit a layer that can't be evaluated (image, …). */
|
|
69
|
+
unknown: boolean;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Query engine: resolve what is painted under the element at `index`.
|
|
73
|
+
* Samples the element's bounds and, per sample, returns the topmost paint of
|
|
74
|
+
* the elements below it in painter order, falling back to the slide
|
|
75
|
+
* background.
|
|
76
|
+
*/
|
|
77
|
+
export declare const queryBackgroundsUnder: (elements: PPTElement[], index: number, background: SlideBackground | undefined, theme: ThemeColors, ctx?: ContrastContext) => BackgroundQueryResult;
|
|
78
|
+
/**
|
|
79
|
+
* Return a readable replacement for `color` against every background, or
|
|
80
|
+
* `null` when the original should be kept.
|
|
81
|
+
*
|
|
82
|
+
* Preferred ink follows the *background*: dark fill → white, light fill →
|
|
83
|
+
* black. Text that already has that polarity is never flipped — white on a
|
|
84
|
+
* mid-luminance teal chip is ~2.98:1 (just under {@link CONTRAST_TRIGGER})
|
|
85
|
+
* but inverting it to black is the numbered-chip regression. Wrong-polarity
|
|
86
|
+
* text below the trigger snaps to the preferred ink (no muddy mid-tones).
|
|
87
|
+
*/
|
|
88
|
+
export declare const fixColorForBackgrounds: (color: string, backgrounds: string[]) => string | null;
|
|
89
|
+
export declare const isDefaultInk: (color: string) => boolean;
|
|
90
|
+
export type InkPolarity = '#ffffff' | '#000000';
|
|
91
|
+
/**
|
|
92
|
+
* Canonical default ink for a set of surfaces (solid fill or every gradient stop).
|
|
93
|
+
*
|
|
94
|
+
* WCAG `mostReadable` prefers black on hot pink (`#e64980` 5.63 vs 3.73) even
|
|
95
|
+
* though white also clears 3:1 and is what a dark slide should use. Rule:
|
|
96
|
+
* 1. If only one of black/white meets {@link CONTRAST_TRIGGER} against every
|
|
97
|
+
* surface, use that one.
|
|
98
|
+
* 2. Otherwise (both pass, both fail, mixed stops) use perceived darkness of
|
|
99
|
+
* the darkest surface — not max-contrast, not `isDark()`.
|
|
100
|
+
*
|
|
101
|
+
* Do **not** use {@link fixColorForBackgrounds} for defaults: that helper is
|
|
102
|
+
* conservative AI-import repair and will keep `#333` on magenta because 3.4:1
|
|
103
|
+
* already passes the trigger.
|
|
104
|
+
*/
|
|
105
|
+
export declare const preferredInk: (surfaces: string | string[] | null | undefined) => InkPolarity;
|
|
106
|
+
/** Every evaluable paint in a slide fill (gradient stops, else the flat surface). */
|
|
107
|
+
export declare const resolveSlideSurfaceColors: (background: SlideBackground | undefined, fallback?: string) => string[];
|
|
108
|
+
/** Surfaces the element's text actually sits on: opaque own fill, else the slide. */
|
|
109
|
+
export declare const resolveElementSurfaces: (options?: {
|
|
110
|
+
fill?: string;
|
|
111
|
+
background?: SlideBackground;
|
|
112
|
+
fallbackSurface?: string;
|
|
113
|
+
}) => string[];
|
|
114
|
+
/**
|
|
115
|
+
* Default body ink for new / unstyled text: strictly black or white from
|
|
116
|
+
* {@link preferredInk}. Explicit saturated colors pass through.
|
|
117
|
+
*/
|
|
118
|
+
export declare const resolveDefaultFontColor: (color: string, surface: string | string[] | null | undefined) => string;
|
|
119
|
+
/** Default font color against a slide background (and optional own fill). */
|
|
120
|
+
export declare const resolveElementDefaultFontColor: (preferred: string, options?: {
|
|
121
|
+
fill?: string;
|
|
122
|
+
background?: SlideBackground;
|
|
123
|
+
fallbackSurface?: string;
|
|
124
|
+
}) => string;
|
|
125
|
+
/**
|
|
126
|
+
* Chart axis / legend / label ink. Same rules as text: default greys / black /
|
|
127
|
+
* white snap to {@link preferredInk} on the chart fill, else the slide.
|
|
128
|
+
* Explicit saturated colors pass through.
|
|
129
|
+
*/
|
|
130
|
+
export declare const resolveChartLabelColor: (chart: {
|
|
131
|
+
textColor?: string;
|
|
132
|
+
fill?: string;
|
|
133
|
+
}, options?: {
|
|
134
|
+
background?: SlideBackground;
|
|
135
|
+
fallbackSurface?: string;
|
|
136
|
+
fontColor?: string;
|
|
137
|
+
}) => string;
|
|
138
|
+
/** Lift only series that disappear into the slide (Ink #171717 is ~1.1:1). */
|
|
139
|
+
export declare const CHART_SERIES_CONTRAST = 2;
|
|
140
|
+
/**
|
|
141
|
+
* Series fills/strokes must clear the slide (or chart fill). Ink's #171717
|
|
142
|
+
* on #0c0d10 is ~1:1 — lift it instead of painting invisible bars/lines.
|
|
143
|
+
*/
|
|
144
|
+
export declare const resolveChartSeriesColors: (colors: string[] | undefined, surfaces: string | string[] | null | undefined) => string[];
|
|
145
|
+
export declare const resolveChartElementSeriesColors: (chart: {
|
|
146
|
+
themeColors?: string[];
|
|
147
|
+
fill?: string;
|
|
148
|
+
}, options?: {
|
|
149
|
+
background?: SlideBackground;
|
|
150
|
+
fallbackSurface?: string;
|
|
151
|
+
}) => string[];
|
|
152
|
+
/**
|
|
153
|
+
* Placeholder ink is the same binary polarity as body text — never a mixed grey.
|
|
154
|
+
*/
|
|
155
|
+
export declare const resolvePlaceholderColor: (options: {
|
|
156
|
+
author?: string;
|
|
157
|
+
body?: string;
|
|
158
|
+
surfaces: string[];
|
|
159
|
+
}) => InkPolarity;
|
|
160
|
+
/** Distinct normalized text colors declared in an HTML content string. */
|
|
161
|
+
export declare const collectHtmlTextColors: (html: string) => string[];
|
|
162
|
+
/** Rewrite `color:` declarations via `replace` (return null to keep as-is). */
|
|
163
|
+
export declare const rewriteHtmlTextColors: (html: string, replace: (color: string) => string | null) => string;
|
|
164
|
+
export type ContrastAction = {
|
|
165
|
+
kind: 'fix';
|
|
166
|
+
slideIndex: number;
|
|
167
|
+
elementIndex: number;
|
|
168
|
+
elementType: 'text' | 'shape' | 'latex' | 'table';
|
|
169
|
+
target: 'html' | 'defaultColor' | 'latex' | 'tableCell';
|
|
170
|
+
from: string;
|
|
171
|
+
to: string;
|
|
172
|
+
backgrounds: string[];
|
|
173
|
+
ratioBefore: number;
|
|
174
|
+
ratioAfter: number;
|
|
175
|
+
snippet?: string;
|
|
176
|
+
} | {
|
|
177
|
+
kind: 'skip';
|
|
178
|
+
slideIndex: number;
|
|
179
|
+
elementIndex: number;
|
|
180
|
+
elementType: 'text' | 'shape' | 'latex' | 'table';
|
|
181
|
+
reason: string;
|
|
182
|
+
colors?: string[];
|
|
183
|
+
backgrounds?: string[];
|
|
184
|
+
snippet?: string;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Same decisions as {@link fixSlideTextContrast}, but returns a per-target
|
|
188
|
+
* action log (fixes + skips) instead of mutating. Used for verification.
|
|
189
|
+
*/
|
|
190
|
+
export declare const diagnoseSlideTextContrast: (slide: Slide, theme: ThemeColors, slideIndex?: number, ctx?: ContrastContext) => ContrastAction[];
|
|
191
|
+
/**
|
|
192
|
+
* Repair unreadable text colors on a slide in place. Returns the number of
|
|
193
|
+
* applied fixes. Used for AI-generated imports only — user background changes
|
|
194
|
+
* go through {@link applySlideBackgroundWithContrast} / {@link preferredInk}.
|
|
195
|
+
*/
|
|
196
|
+
export declare const fixSlideTextContrast: (slide: Slide, theme: ThemeColors, ctx?: ContrastContext) => number;
|
|
197
|
+
export declare const rewriteDefaultInksInHtml: (html: string, ink: string) => string;
|
|
198
|
+
/**
|
|
199
|
+
* Clone a slide and snap *default* ink (theme grey / black / white) to
|
|
200
|
+
* {@link preferredInk} for the new slide fill. Explicit colors and text on
|
|
201
|
+
* opaque own fills are left alone. Mutates nothing on the input.
|
|
202
|
+
*/
|
|
203
|
+
export declare const applySlideBackgroundWithContrast: (slide: Slide, theme: ThemeColors) => Slide;
|
|
204
|
+
export {};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared text-fitting primitives built on `@chenglou/pretext`.
|
|
3
|
+
*
|
|
4
|
+
* Given a fixed-size text box, find the largest uniform font factor at which
|
|
5
|
+
* the content still fits — by measuring wrapped line count with pretext, then
|
|
6
|
+
* painting that factor as *actual font sizes* (Excel shrink-to-fit). Never a
|
|
7
|
+
* CSS zoom of the authored layout: zoom keeps the original wraps and scales
|
|
8
|
+
* paragraph gaps, which leaves a large empty region under the last line.
|
|
9
|
+
*
|
|
10
|
+
* pretext uses canvas, so this only does real work in a DOM/canvas runtime;
|
|
11
|
+
* callers wrap usage so a non-DOM context falls back gracefully.
|
|
12
|
+
*/
|
|
13
|
+
import { prepare as pretextPrepare } from '@chenglou/pretext';
|
|
14
|
+
/** ProseMirror's default text size (assets/styles/prosemirror.scss). */
|
|
15
|
+
export declare const DEFAULT_TEXT_FONT_SIZE = 16;
|
|
16
|
+
/** Matches `ul, ol { padding-inline-start: 1em }` when the list has no inline pad. */
|
|
17
|
+
export declare const DEFAULT_LIST_PADDING_EM = 1;
|
|
18
|
+
/** Matches `li { padding-inline-start: 0.4em }` (marker-to-text gap). */
|
|
19
|
+
export declare const LIST_MARKER_GAP_EM = 0.4;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Prefer per-block `listIndentPx` from the imported list padding.
|
|
22
|
+
* Kept as a fallback indent (px) when a list item has no padding of its own.
|
|
23
|
+
*/
|
|
24
|
+
export declare const BULLET_INDENT = 40;
|
|
25
|
+
/** A single measurable text block (one paragraph or one list item). */
|
|
26
|
+
export interface TextFitBlock {
|
|
27
|
+
/** Plain text of the block (markers stripped). */
|
|
28
|
+
text: string;
|
|
29
|
+
/** Authored font size in px (its largest run, to stay safe). */
|
|
30
|
+
size: number;
|
|
31
|
+
bold?: boolean;
|
|
32
|
+
italic?: boolean;
|
|
33
|
+
fontFamily: string;
|
|
34
|
+
/** When true, a list marker indent is subtracted from the text column. */
|
|
35
|
+
listItem?: boolean;
|
|
36
|
+
/** `ul`/`ol` padding-inline-start in px, when authored as px. */
|
|
37
|
+
listIndentPx?: number;
|
|
38
|
+
/** `ul`/`ol` padding-inline-start in em, when authored as em. */
|
|
39
|
+
listIndentEm?: number;
|
|
40
|
+
}
|
|
41
|
+
export interface MeasureBlocksOptions {
|
|
42
|
+
/** Box content width in px (insets already removed). */
|
|
43
|
+
innerWidth: number;
|
|
44
|
+
/** Line height multiplier (e.g. 1.5). */
|
|
45
|
+
lineHeight: number;
|
|
46
|
+
/**
|
|
47
|
+
* Vertical gap between consecutive blocks, in px. CSS `--paragraphSpace` is
|
|
48
|
+
* a fixed px value on the box — it does **not** shrink with the font (Excel
|
|
49
|
+
* cell padding / our fittedContent paint). Do not scale this with sizeScale.
|
|
50
|
+
*/
|
|
51
|
+
blockSpace?: number;
|
|
52
|
+
/** Fallback list gutter in px when a list item has no `listIndentPx`/`Em`. */
|
|
53
|
+
bulletIndent?: number;
|
|
54
|
+
letterSpacing?: number;
|
|
55
|
+
/** Multiply every block's font size by this factor before measuring (default 1). */
|
|
56
|
+
sizeScale?: number;
|
|
57
|
+
}
|
|
58
|
+
/** Extra inner-height reserved so overflow:hidden does not clip glyph ink that
|
|
59
|
+
* sits outside the CSS line box (PowerPoint lnSpcReduction / line-height < 1).
|
|
60
|
+
* Sized from the font, not a fixed slab — large pads look like over-shrink. */
|
|
61
|
+
export declare function fitClipPadding(maxFontSize: number, lineHeight: number): number;
|
|
62
|
+
export declare const MIN_FIT_SCALE = 0.2;
|
|
63
|
+
/**
|
|
64
|
+
* Excel-style shrink-to-fit from a *real* laid-out height: the largest scale
|
|
65
|
+
* `<= 1` at which `contentHeight * scale <= innerHeight`. Never grows past 100%.
|
|
66
|
+
* When content already fits, returns 1 (empty space in a tall box is authored).
|
|
67
|
+
*/
|
|
68
|
+
export declare function fitScaleFromContentHeight(contentHeight: number, innerHeight: number, options?: {
|
|
69
|
+
minScale?: number;
|
|
70
|
+
}): number;
|
|
71
|
+
/**
|
|
72
|
+
* Natural (unzoomed) scroll height of a text-fit host. Forces zoom to 1 for
|
|
73
|
+
* one synchronous layout read (no clone — cloning a focused ProseMirror can
|
|
74
|
+
* under-measure and snap the scale back to 100% on click). Width is locked to
|
|
75
|
+
* the box inner width because Chrome `zoom` shrinks `clientWidth`.
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* Content-box size of the clipped text frame (padding already removed).
|
|
79
|
+
* Prefers the live DOM box so shrink-to-fit tracks applyLiveSize / resize
|
|
80
|
+
* instead of the last committed store width/height.
|
|
81
|
+
*/
|
|
82
|
+
export declare function innerBoxFromContentElement(box: HTMLElement | null | undefined, fallback: {
|
|
83
|
+
innerWidth: number;
|
|
84
|
+
innerHeight: number;
|
|
85
|
+
}): {
|
|
86
|
+
innerWidth: number;
|
|
87
|
+
innerHeight: number;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Inner box from applyLiveSize inline styles + authored inset.
|
|
91
|
+
* No getComputedStyle / clientWidth — safe on the resize hot path.
|
|
92
|
+
*/
|
|
93
|
+
export declare function innerBoxFromLiveStyles(box: HTMLElement | null | undefined, el: {
|
|
94
|
+
width: number;
|
|
95
|
+
height: number;
|
|
96
|
+
inset?: [number, number, number, number];
|
|
97
|
+
}): {
|
|
98
|
+
innerWidth: number;
|
|
99
|
+
innerHeight: number;
|
|
100
|
+
};
|
|
101
|
+
export declare function contentBoxOfHost(host: HTMLElement | null | undefined): HTMLElement | null;
|
|
102
|
+
export declare function measureUnzoomedScrollHeight(host: HTMLElement, innerWidth: number): number;
|
|
103
|
+
/**
|
|
104
|
+
* Total wrapped height (px) of `blocks` laid out in a column of `innerWidth`,
|
|
105
|
+
* with each block's font size multiplied by `sizeScale`. Each block is measured
|
|
106
|
+
* independently with pretext, then summed with the (unscaled, px-fixed)
|
|
107
|
+
* inter-block gap. Returns 0 for an empty input.
|
|
108
|
+
*/
|
|
109
|
+
export declare function measureTextBlocksHeight(blocks: TextFitBlock[], options: MeasureBlocksOptions): number;
|
|
110
|
+
export interface FitFontScaleOptions {
|
|
111
|
+
innerWidth: number;
|
|
112
|
+
innerHeight: number;
|
|
113
|
+
lineHeight: number;
|
|
114
|
+
blockSpace?: number;
|
|
115
|
+
bulletIndent?: number;
|
|
116
|
+
letterSpacing?: number;
|
|
117
|
+
/** Smallest font factor to fall back to before clipping takes over (default 0.1). */
|
|
118
|
+
minScale?: number;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Largest uniform font factor in `[minScale, 1]` at which `blocks` fit
|
|
122
|
+
* `innerHeight`, found by binary search over pretext measurements. The factor
|
|
123
|
+
* multiplies the authored font sizes; because wrapping changes as the type
|
|
124
|
+
* shrinks, this re-measures at each candidate (not a single geometric divide).
|
|
125
|
+
* Returns 1 when content already fits (or measurement isn't possible).
|
|
126
|
+
*/
|
|
127
|
+
export declare function fitFontScaleForBlocks(blocks: TextFitBlock[], options: FitFontScaleOptions): number;
|
|
128
|
+
/**
|
|
129
|
+
* Uniform zoom factor `innerHeight / height(authored)` — wrapping stays at the
|
|
130
|
+
* authored size. Only for the live editor (authored HTML + CSS zoom). Fitted
|
|
131
|
+
* static/thumbnail paint must use {@link fitFontScaleForBlocks} instead.
|
|
132
|
+
*/
|
|
133
|
+
export declare function fitZoomScaleForBlocks(blocks: TextFitBlock[], options: FitFontScaleOptions): number;
|
|
134
|
+
export type FitMeasureSession = {
|
|
135
|
+
key: string;
|
|
136
|
+
lineHeight: number;
|
|
137
|
+
maxFont: number;
|
|
138
|
+
items: Array<{
|
|
139
|
+
block: TextFitBlock;
|
|
140
|
+
size: number;
|
|
141
|
+
handle: ReturnType<typeof pretextPrepare>;
|
|
142
|
+
}>;
|
|
143
|
+
};
|
|
144
|
+
export declare function fitSessionKey(html: string, fontFamily: string, lineHeight: number, letterSpacing: number, locale: string, defaultSize?: number): string;
|
|
145
|
+
/**
|
|
146
|
+
* One-time pretext `prepare()` for authored font sizes. Resize then only
|
|
147
|
+
* calls `layout()` with the new width (no canvas, no DOM, no re-prepare).
|
|
148
|
+
*/
|
|
149
|
+
export declare function createFitMeasureSession(html: string, options: {
|
|
150
|
+
key: string;
|
|
151
|
+
defaultFontFamily: string;
|
|
152
|
+
lineHeight: number;
|
|
153
|
+
letterSpacing?: number;
|
|
154
|
+
/** Painted size for runs with no inline `font-size` (placeholder body is 20, not 16). */
|
|
155
|
+
defaultSize?: number;
|
|
156
|
+
}): FitMeasureSession | null;
|
|
157
|
+
/** Resize hot path: pure `layout()` over cached prepare handles. */
|
|
158
|
+
export declare function measureSessionHeight(session: FitMeasureSession, innerWidth: number, blockSpace?: number, bulletIndent?: number): number;
|
|
159
|
+
export declare function fitZoomScaleFromSession(session: FitMeasureSession, innerWidth: number, innerHeight: number, blockSpace?: number): number;
|
|
160
|
+
/**
|
|
161
|
+
* One-shot locked-box scale for a rich-text HTML string. Editor resize keeps a
|
|
162
|
+
* cached session; preview/export call this so they shrink with the same math.
|
|
163
|
+
*/
|
|
164
|
+
export declare function textFitScaleForHtml(html: string, options: {
|
|
165
|
+
innerWidth: number;
|
|
166
|
+
innerHeight: number;
|
|
167
|
+
defaultFontFamily?: string;
|
|
168
|
+
defaultSize?: number;
|
|
169
|
+
lineHeight: number;
|
|
170
|
+
letterSpacing?: number;
|
|
171
|
+
blockSpace?: number;
|
|
172
|
+
locale?: string;
|
|
173
|
+
}): number;
|
|
174
|
+
export interface ExtractedContent {
|
|
175
|
+
blocks: TextFitBlock[];
|
|
176
|
+
}
|
|
177
|
+
export interface ExtractOptions {
|
|
178
|
+
defaultFontFamily: string;
|
|
179
|
+
defaultSize?: number;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Parse a Fika rich-text HTML string into measurable blocks. Each list item
|
|
183
|
+
* and top-level paragraph/quote becomes one block; a block's representative font
|
|
184
|
+
* size is the largest inline size in it (so measurement never under-estimates).
|
|
185
|
+
* Returns no blocks when there's no DOM parser or no text. List items are tagged
|
|
186
|
+
* so the marker indent is accounted for.
|
|
187
|
+
*/
|
|
188
|
+
export declare function extractFitBlocksFromHtml(html: string, options: ExtractOptions): ExtractedContent;
|
|
189
|
+
/**
|
|
190
|
+
* Return a copy of `html` with every inline `font-size:Npx` multiplied by
|
|
191
|
+
* `scale` (rounded to 0.1px). Text without an explicit size is untouched here —
|
|
192
|
+
* the renderer scales that through the `--text-fit-base-size` CSS variable. A
|
|
193
|
+
* scale >= 1 (or a non-DOM context) returns the HTML unchanged.
|
|
194
|
+
*/
|
|
195
|
+
export declare function scaleHtmlFontSizes(html: string, scale: number): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import 'tippy.js/dist/tippy.css';
|
|
2
|
+
import 'tippy.js/animations/scale.css';
|
|
3
|
+
import '../directive/tooltip.scss';
|
|
4
|
+
/**
|
|
5
|
+
* Tippy tooltips for `[data-tooltip]`. Call once from the app/embed entry.
|
|
6
|
+
*
|
|
7
|
+
* Standalone presentation mode portals into `#fika-portals`, a sibling of
|
|
8
|
+
* `#app`. Watch the shell (or the embed root) so slideshow toolbar tips bind.
|
|
9
|
+
*/
|
|
10
|
+
export declare function bindTooltips(root?: ParentNode): () => void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { AlignmentLineAxis, SnapKind } from '../../../types/edit';
|
|
2
|
+
export type IAlignmentLineProps = {
|
|
3
|
+
type: 'vertical' | 'horizontal';
|
|
4
|
+
axis: AlignmentLineAxis;
|
|
5
|
+
length: number;
|
|
6
|
+
canvasScale: number;
|
|
7
|
+
kind?: SnapKind;
|
|
8
|
+
marks?: number[];
|
|
9
|
+
label?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function areAlignmentLinePropsEqual(prev: IAlignmentLineProps, next: IAlignmentLineProps): boolean;
|
|
12
|
+
declare const AlignmentLine: import("react").MemoExoticComponent<(props: IAlignmentLineProps) => import("react").JSX.Element>;
|
|
13
|
+
export default AlignmentLine;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface ViewportStyles {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
}
|
|
7
|
+
export type ICanvasScrollbarsProps = {
|
|
8
|
+
canvasRef: HTMLElement | {
|
|
9
|
+
current?: HTMLElement | null;
|
|
10
|
+
} | null;
|
|
11
|
+
viewportStyles: ViewportStyles;
|
|
12
|
+
canvasScale: number;
|
|
13
|
+
pan: (dx: number, dy: number) => void;
|
|
14
|
+
};
|
|
15
|
+
declare const CanvasScrollbars: import("react").MemoExoticComponent<(props: ICanvasScrollbarsProps) => import("react").JSX.Element>;
|
|
16
|
+
export default CanvasScrollbars;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type PPTElement } from '../../../types/slides';
|
|
3
|
+
export type IEditableElementProps = {
|
|
4
|
+
elementInfo: PPTElement;
|
|
5
|
+
elementIndex: number;
|
|
6
|
+
isMultiSelect: boolean;
|
|
7
|
+
isEditing?: boolean;
|
|
8
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTElement, canMove?: boolean) => void;
|
|
9
|
+
openLinkDialog: () => void;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
};
|
|
12
|
+
declare const EditableElement: import("react").MemoExoticComponent<(props: IEditableElementProps) => import("react").JSX.Element>;
|
|
13
|
+
export default EditableElement;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { PPTElement } from '../../../types/slides';
|
|
3
|
+
export type EditableElementCompareProps = {
|
|
4
|
+
elementInfo: PPTElement;
|
|
5
|
+
elementIndex: number;
|
|
6
|
+
isMultiSelect: boolean;
|
|
7
|
+
isEditing?: boolean;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
};
|
|
10
|
+
export declare const sameEditableGeometry: (a: PPTElement, b: PPTElement) => boolean;
|
|
11
|
+
/**
|
|
12
|
+
* EditableElement is a per-element instance: sibling content cannot invalidate
|
|
13
|
+
* this wrapper. Canvas JSON-clones the whole list on every store write, so
|
|
14
|
+
* compare identity / geometry / lock / edit flags — not object identity, and
|
|
15
|
+
* not ProseMirror-owned content while this element is editing.
|
|
16
|
+
*/
|
|
17
|
+
export declare const areEditableElementPropsEqual: (prev: EditableElementCompareProps, next: EditableElementCompareProps) => boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CreateElementSelectionData } from '../../../types/edit';
|
|
2
|
+
export type IElementCreateSelectionProps = {
|
|
3
|
+
onCreated?: (payload: CreateElementSelectionData) => void;
|
|
4
|
+
};
|
|
5
|
+
declare const ElementCreateSelection: import("react").MemoExoticComponent<(props: IElementCreateSelectionProps) => import("react").JSX.Element>;
|
|
6
|
+
export default ElementCreateSelection;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
2
|
+
import type { getElementRange } from '../../../../utils/element';
|
|
3
|
+
export type IAnimationIndexProps = {
|
|
4
|
+
elementInfo: PPTElement;
|
|
5
|
+
range: ReturnType<typeof getElementRange>;
|
|
6
|
+
indexList: number[];
|
|
7
|
+
};
|
|
8
|
+
declare const AnimationIndex: import("react").MemoExoticComponent<(props: IAnimationIndexProps) => import("react").JSX.Element>;
|
|
9
|
+
export default AnimationIndex;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PPTChartElement } from '../../../../../types/slides';
|
|
2
|
+
export type IChartToolbarProps = {
|
|
3
|
+
elementInfo: PPTChartElement;
|
|
4
|
+
};
|
|
5
|
+
declare const ChartToolbar: import("react").MemoExoticComponent<(_props: IChartToolbarProps) => import("react").JSX.Element>;
|
|
6
|
+
export default ChartToolbar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PPTCodeElement } from '../../../../../types/slides';
|
|
2
|
+
export type ICodeToolbarProps = {
|
|
3
|
+
elementInfo: PPTCodeElement;
|
|
4
|
+
};
|
|
5
|
+
declare const CodeToolbar: import("react").MemoExoticComponent<(props: ICodeToolbarProps) => import("react").JSX.Element>;
|
|
6
|
+
export default CodeToolbar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PPTImageElement } from '../../../../../types/slides';
|
|
2
|
+
export type IImageToolbarProps = {
|
|
3
|
+
elementInfo: PPTImageElement;
|
|
4
|
+
};
|
|
5
|
+
declare const ImageToolbar: import("react").MemoExoticComponent<(_props: IImageToolbarProps) => import("react").JSX.Element>;
|
|
6
|
+
export default ImageToolbar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PPTLatexElement } from '../../../../../types/slides';
|
|
2
|
+
export type ILatexToolbarProps = {
|
|
3
|
+
elementInfo: PPTLatexElement;
|
|
4
|
+
};
|
|
5
|
+
declare const LatexToolbar: import("react").MemoExoticComponent<(_props: ILatexToolbarProps) => import("react").JSX.Element>;
|
|
6
|
+
export default LatexToolbar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PPTLineElement } from '../../../../../types/slides';
|
|
2
|
+
export type ILineToolbarProps = {
|
|
3
|
+
elementInfo: PPTLineElement;
|
|
4
|
+
};
|
|
5
|
+
declare const LineToolbar: import("react").MemoExoticComponent<(_props: ILineToolbarProps) => import("react").JSX.Element>;
|
|
6
|
+
export default LineToolbar;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PPTShapeElement } from '../../../../../types/slides';
|
|
2
|
+
export type IShapeToolbarProps = {
|
|
3
|
+
elementInfo: PPTShapeElement;
|
|
4
|
+
onResize?: () => void;
|
|
5
|
+
};
|
|
6
|
+
declare const ShapeToolbar: import("react").MemoExoticComponent<(props: IShapeToolbarProps) => import("react").JSX.Element>;
|
|
7
|
+
export default ShapeToolbar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PPTTableElement } from '../../../../../types/slides';
|
|
2
|
+
export type ITableToolbarProps = {
|
|
3
|
+
elementInfo: PPTTableElement;
|
|
4
|
+
};
|
|
5
|
+
declare const TableToolbar: import("react").MemoExoticComponent<(props: ITableToolbarProps) => import("react").JSX.Element>;
|
|
6
|
+
export default TableToolbar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PPTTextElement } from '../../../../../types/slides';
|
|
2
|
+
export type ITextToolbarProps = {
|
|
3
|
+
elementInfo: PPTTextElement;
|
|
4
|
+
};
|
|
5
|
+
declare const TextToolbar: import("react").MemoExoticComponent<(_props: ITextToolbarProps) => import("react").JSX.Element>;
|
|
6
|
+
export default TextToolbar;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type PPTElement } from '../../../../../types/slides';
|
|
2
|
+
export type IFloatingToolbarProps = {
|
|
3
|
+
elementInfo: PPTElement;
|
|
4
|
+
toolbarStyle: Record<string, string>;
|
|
5
|
+
onMeasure?: (width: number) => void;
|
|
6
|
+
};
|
|
7
|
+
declare const FloatingToolbar: import("react").MemoExoticComponent<(props: IFloatingToolbarProps) => import("react").JSX.Element>;
|
|
8
|
+
export default FloatingToolbar;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../../types/slides';
|
|
2
|
+
export type ILinkHandlerProps = {
|
|
3
|
+
elementInfo: PPTElement;
|
|
4
|
+
handlerStyle: Record<string, string>;
|
|
5
|
+
openLinkDialog: () => void;
|
|
6
|
+
};
|
|
7
|
+
declare const LinkHandler: import("react").MemoExoticComponent<(props: ILinkHandlerProps) => import("react").JSX.Element>;
|
|
8
|
+
export default LinkHandler;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PPTElement, Slide } from '../../../../types/slides';
|
|
2
|
+
type SlidesLookup = {
|
|
3
|
+
slides: Slide[];
|
|
4
|
+
slideIndex: number;
|
|
5
|
+
};
|
|
6
|
+
export declare function findSlideElement(state: SlidesLookup, id: string): PPTElement;
|
|
7
|
+
export declare function elementLayoutSignature(element: PPTElement): string;
|
|
8
|
+
export declare function elementListLayoutEqual(prev: PPTElement[], next: PPTElement[]): boolean;
|
|
9
|
+
export declare function sameOffsetStyle(prev?: Record<string, string>, next?: Record<string, string>): boolean;
|
|
10
|
+
export declare function sameElementId<T extends {
|
|
11
|
+
elementInfo: {
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
}>(prev: T, next: T): boolean;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type PPTElement } from '../../../../types/slides';
|
|
2
|
+
import type useViewportSize from '../hooks/useViewportSize';
|
|
3
|
+
export type IElementFloatLayerProps = {
|
|
4
|
+
elementList: PPTElement[];
|
|
5
|
+
canvasRef: HTMLElement | {
|
|
6
|
+
current?: HTMLElement | null;
|
|
7
|
+
} | null;
|
|
8
|
+
viewportStyles: ReturnType<typeof useViewportSize>['viewportStyles'];
|
|
9
|
+
openLinkDialog: () => void;
|
|
10
|
+
};
|
|
11
|
+
declare const ElementFloatLayer: import("react").MemoExoticComponent<(props: IElementFloatLayerProps) => import("react").JSX.Element>;
|
|
12
|
+
export default ElementFloatLayer;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { PPTElement } from '../../../types/slides';
|
|
2
|
+
export type IHitLayerProps = {
|
|
3
|
+
elementList: PPTElement[];
|
|
4
|
+
canvasScale: number;
|
|
5
|
+
hiddenElementIdList: string[];
|
|
6
|
+
activeElementIdList: string[];
|
|
7
|
+
editingElementId: string | null;
|
|
8
|
+
clipingImageElementId: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
selectElement: (e: MouseEvent | TouchEvent, element: PPTElement, canMove?: boolean, andEdit?: boolean) => void;
|
|
11
|
+
beginEdit: (elementId: string, caret?: {
|
|
12
|
+
left: number;
|
|
13
|
+
top: number;
|
|
14
|
+
}) => void;
|
|
15
|
+
openLinkDialog: () => void;
|
|
16
|
+
className?: string;
|
|
17
|
+
};
|
|
18
|
+
declare const HitLayer: import("react").MemoExoticComponent<(props: IHitLayerProps) => import("react").JSX.Element>;
|
|
19
|
+
export default HitLayer;
|