oasis-editor 0.0.16 → 0.0.18
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/dist/{OasisEditorApp-CVvcxpbi.js → OasisEditorApp-Cwoo0WV0.js} +1 -1
- package/dist/app/bootstrap/createOasisEditorApp.d.ts +2 -2
- package/dist/app/bootstrap/createOasisEditorContainer.d.ts +2 -2
- package/dist/app/client/OasisEditorClient.d.ts +4 -4
- package/dist/app/clipboard/htmlClipboardParser.d.ts +1 -1
- package/dist/app/controllers/EditorCommandRegistry.d.ts +1 -1
- package/dist/app/controllers/EditorCommandsController.d.ts +6 -6
- package/dist/app/controllers/createResizeSession.d.ts +4 -4
- package/dist/app/controllers/createRotateSession.d.ts +3 -3
- package/dist/app/controllers/documentIO/DocumentExporter.d.ts +1 -1
- package/dist/app/controllers/documentIO/DocumentImporter.d.ts +3 -3
- package/dist/app/controllers/documentIO/ImageInsertionService.d.ts +2 -2
- package/dist/app/controllers/tableOpsCellSpanCommands.d.ts +2 -2
- package/dist/app/controllers/tableOpsGuards.d.ts +2 -2
- package/dist/app/controllers/tableOpsMutationCommands.d.ts +1 -1
- package/dist/app/controllers/tableOpsRowColumnCommands.d.ts +1 -1
- package/dist/app/controllers/tableOpsSelectionAwareCommands.d.ts +3 -3
- package/dist/app/controllers/tableOpsSelectionNavigation.d.ts +1 -1
- package/dist/app/controllers/tableOpsSelectionRanges.d.ts +3 -3
- package/dist/app/controllers/tableResize/tableResizeApply.d.ts +2 -2
- package/dist/app/controllers/tableResize/tableResizeConstraints.d.ts +3 -3
- package/dist/app/controllers/tableResize/tableResizeGeometry.d.ts +2 -2
- package/dist/app/controllers/tableResize/tableResizeHitTest.d.ts +2 -2
- package/dist/app/controllers/tableResize/tableResizeTypes.d.ts +2 -2
- package/dist/app/controllers/useEditorClipboard.d.ts +2 -2
- package/dist/app/controllers/useEditorDocumentIO.d.ts +4 -4
- package/dist/app/controllers/useEditorFindReplace.d.ts +2 -2
- package/dist/app/controllers/useEditorHistoryActions.d.ts +3 -3
- package/dist/app/controllers/useEditorImageOperations.d.ts +10 -10
- package/dist/app/controllers/useEditorKeyboard.d.ts +4 -4
- package/dist/app/controllers/useEditorLayout.d.ts +15 -15
- package/dist/app/controllers/useEditorNavigation.d.ts +2 -2
- package/dist/app/controllers/useEditorPersistence.d.ts +2 -2
- package/dist/app/controllers/useEditorRevision.d.ts +3 -3
- package/dist/app/controllers/useEditorStyle.d.ts +4 -4
- package/dist/app/controllers/useEditorSurfaceEvents.d.ts +2 -2
- package/dist/app/controllers/useEditorTableDrag.d.ts +5 -5
- package/dist/app/controllers/useEditorTableOperations.d.ts +9 -9
- package/dist/app/controllers/useEditorTableResize.d.ts +3 -3
- package/dist/app/controllers/useEditorTextBoxOperations.d.ts +4 -4
- package/dist/app/controllers/useEditorTextDrag.d.ts +7 -7
- package/dist/app/controllers/useEditorTextInput.d.ts +2 -2
- package/dist/app/services/FindReplaceService.d.ts +1 -1
- package/dist/app/services/PersistenceService.d.ts +1 -1
- package/dist/core/Editor.d.ts +4 -4
- package/dist/core/cloneState.d.ts +1 -1
- package/dist/core/commands/CommandBus.d.ts +2 -2
- package/dist/core/commands/CommandRegistry.d.ts +1 -1
- package/dist/core/commands/block.d.ts +2 -2
- package/dist/core/commands/clipboard.d.ts +1 -1
- package/dist/core/commands/floatingLayout.d.ts +1 -1
- package/dist/core/commands/footnotes.d.ts +1 -1
- package/dist/core/commands/history.d.ts +1 -1
- package/dist/core/commands/image.d.ts +3 -3
- package/dist/core/commands/link.d.ts +1 -1
- package/dist/core/commands/list.d.ts +2 -2
- package/dist/core/commands/misc.d.ts +1 -1
- package/dist/core/commands/publicCommandTypes.d.ts +3 -3
- package/dist/core/commands/selectedObjectRun.d.ts +1 -1
- package/dist/core/commands/selection.d.ts +1 -1
- package/dist/core/commands/shape.d.ts +1 -1
- package/dist/core/commands/table/insertTableCommand.d.ts +1 -1
- package/dist/core/commands/table/tableCellStyleCommands.d.ts +1 -1
- package/dist/core/commands/table/tableColumnCommands.d.ts +1 -1
- package/dist/core/commands/table/tableCommandUtils.d.ts +1 -1
- package/dist/core/commands/table/tableRowCommands.d.ts +1 -1
- package/dist/core/commands/table/tableStyleCommands.d.ts +1 -1
- package/dist/core/commands/table.d.ts +5 -5
- package/dist/core/commands/text.d.ts +2 -2
- package/dist/core/commands/textBox.d.ts +3 -3
- package/dist/core/document/blockReplacement.d.ts +1 -1
- package/dist/core/document/bookmarkAnchors.d.ts +1 -1
- package/dist/core/document/clone.d.ts +1 -1
- package/dist/core/document/imageCaptions.d.ts +1 -1
- package/dist/core/document/paragraphRunBuild.d.ts +1 -1
- package/dist/core/document/paragraphRunEdit.d.ts +1 -1
- package/dist/core/document/paragraphRunQuery.d.ts +1 -1
- package/dist/core/document/paragraphRuns.d.ts +3 -3
- package/dist/core/editorCommands.d.ts +14 -14
- package/dist/core/editorState.d.ts +1 -1
- package/dist/core/endnotes.d.ts +1 -1
- package/dist/core/engine.d.ts +1 -1
- package/dist/core/footnotes.d.ts +1 -1
- package/dist/core/headings.d.ts +1 -1
- package/dist/core/html/htmlBlockWalker.d.ts +1 -1
- package/dist/core/html/htmlStyleParser.d.ts +3 -3
- package/dist/core/html/htmlTextSerializer.d.ts +1 -1
- package/dist/core/html/inlineImageParser.d.ts +1 -1
- package/dist/core/html/inlineStyleParser.d.ts +1 -1
- package/dist/core/html/paragraphStyleParser.d.ts +1 -1
- package/dist/core/html/styleCss.d.ts +1 -1
- package/dist/core/model/assets.d.ts +1 -1
- package/dist/core/model/documentIndex.d.ts +3 -3
- package/dist/core/model/documentSections.d.ts +1 -1
- package/dist/core/model/editingZones.d.ts +3 -3
- package/dist/core/model/editorState.d.ts +2 -2
- package/dist/core/model/index.d.ts +24 -24
- package/dist/core/model/pageGeometry.d.ts +1 -1
- package/dist/core/model/paragraphWalker.d.ts +2 -2
- package/dist/core/model/queries.d.ts +2 -2
- package/dist/core/model/styleDefaults.d.ts +1 -1
- package/dist/core/model/styleResolution.d.ts +1 -1
- package/dist/core/model/types/document.d.ts +7 -7
- package/dist/core/model/types/documentEndnotes.d.ts +1 -1
- package/dist/core/model/types/documentFootnotes.d.ts +1 -1
- package/dist/core/model/types/layout.d.ts +4 -4
- package/dist/core/model/types/nodes.d.ts +2 -2
- package/dist/core/model/types/styles.d.ts +1 -1
- package/dist/core/model.d.ts +2 -2
- package/dist/core/plugin.d.ts +5 -5
- package/dist/core/plugins/PluginCollection.d.ts +1 -1
- package/dist/core/plugins/PluginUiRegistry.d.ts +1 -1
- package/dist/core/selection/navigation.d.ts +1 -1
- package/dist/core/selection/rangeEditing.d.ts +2 -2
- package/dist/core/selection.d.ts +1 -1
- package/dist/core/tableLayout.d.ts +1 -1
- package/dist/core/textStyle/textStyleKeys.d.ts +1 -1
- package/dist/core/textStyle/textStyleMutations.d.ts +2 -2
- package/dist/core/textStyleMappings.d.ts +1 -1
- package/dist/export/docx/bookmarksXml.d.ts +1 -1
- package/dist/export/docx/borders.d.ts +1 -1
- package/dist/export/docx/commentsXml.d.ts +1 -1
- package/dist/export/docx/docxTypes.d.ts +3 -3
- package/dist/export/docx/endnotesXml.d.ts +2 -2
- package/dist/export/docx/exportEditorDocumentToDocx.d.ts +1 -1
- package/dist/export/docx/footnotesXml.d.ts +2 -2
- package/dist/export/docx/stylesXml.d.ts +1 -1
- package/dist/export/docx/tableXml.d.ts +1 -1
- package/dist/export/docx/text/blocksXml.d.ts +2 -2
- package/dist/export/docx/text/drawingContainerXml.d.ts +2 -2
- package/dist/export/docx/text/dropCapXml.d.ts +1 -1
- package/dist/export/docx/text/endnoteRunXml.d.ts +2 -2
- package/dist/export/docx/text/fieldRunXml.d.ts +1 -1
- package/dist/export/docx/text/footnoteRunXml.d.ts +2 -2
- package/dist/export/docx/text/hyperlinkXml.d.ts +1 -1
- package/dist/export/docx/text/imageRunXml.d.ts +1 -1
- package/dist/export/docx/text/paragraphPropertiesXml.d.ts +1 -1
- package/dist/export/docx/text/runPropertiesXml.d.ts +1 -1
- package/dist/export/docx/text/runXml.d.ts +2 -2
- package/dist/export/docx/text/styleMaterialization.d.ts +1 -1
- package/dist/export/docx/text/textBoxRunXml.d.ts +2 -2
- package/dist/export/docx/textXml.d.ts +1 -1
- package/dist/export/pdf/draw/drawBlockList.d.ts +3 -3
- package/dist/export/pdf/draw/drawFragment.d.ts +3 -3
- package/dist/export/pdf/draw/drawPageBackground.d.ts +1 -1
- package/dist/export/pdf/draw/drawParagraph.d.ts +3 -3
- package/dist/export/pdf/draw/drawTable.d.ts +3 -3
- package/dist/export/pdf/draw/drawTextBoxShape.d.ts +3 -3
- package/dist/export/pdf/draw/fragmentGeometry.d.ts +1 -1
- package/dist/export/pdf/draw/lists.d.ts +3 -3
- package/dist/export/pdf/exportEditorDocumentToPdf.d.ts +1 -1
- package/dist/export/pdf/fonts/PdfFontRegistry.d.ts +1 -1
- package/dist/export/pdf/fonts/TrueTypePdfFontSubsetter.d.ts +1 -1
- package/dist/export/pdf/fonts/collectPdfFontFamilies.d.ts +1 -1
- package/dist/export/pdf/images.d.ts +2 -2
- package/dist/export/pdf/layout/layoutParagraph.d.ts +2 -2
- package/dist/export/pdf/units.d.ts +1 -1
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/locales/en.d.ts +26 -0
- package/dist/i18n/locales/pt-BR.d.ts +26 -0
- package/dist/import/DocumentFormatImporter.d.ts +1 -1
- package/dist/import/documentImporterRegistry.d.ts +1 -1
- package/dist/import/docx/assetRegistry.d.ts +1 -1
- package/dist/import/docx/bookmarks.d.ts +1 -1
- package/dist/import/docx/borders.d.ts +2 -2
- package/dist/import/docx/comments.d.ts +1 -1
- package/dist/import/docx/docxImporter.d.ts +1 -1
- package/dist/import/docx/dropCap.d.ts +3 -3
- package/dist/import/docx/endnotes.d.ts +5 -5
- package/dist/import/docx/footnotes.d.ts +5 -5
- package/dist/import/docx/headerFooter.d.ts +5 -5
- package/dist/import/docx/importDocxInWorker.d.ts +2 -2
- package/dist/import/docx/importDocxToEditorDocument.d.ts +1 -1
- package/dist/import/docx/nestedBlocks.d.ts +6 -6
- package/dist/import/docx/numbering.d.ts +2 -2
- package/dist/import/docx/paragraphStyle.d.ts +2 -2
- package/dist/import/docx/paragraphs.d.ts +6 -6
- package/dist/import/docx/relationships.d.ts +1 -1
- package/dist/import/docx/runStyle.d.ts +3 -3
- package/dist/import/docx/runs/drawingImage.d.ts +4 -4
- package/dist/import/docx/runs/fields.d.ts +1 -1
- package/dist/import/docx/runs/relationships.d.ts +3 -3
- package/dist/import/docx/runs/textBox.d.ts +3 -3
- package/dist/import/docx/runs/types.d.ts +2 -2
- package/dist/import/docx/runs/vmlImage.d.ts +4 -4
- package/dist/import/docx/runs.d.ts +10 -10
- package/dist/import/docx/sectionProperties.d.ts +3 -3
- package/dist/import/docx/settings.d.ts +1 -1
- package/dist/import/docx/styleUtils.d.ts +1 -1
- package/dist/import/docx/stylesXml.d.ts +2 -2
- package/dist/import/docx/tables.d.ts +6 -6
- package/dist/import/docx/theme.d.ts +2 -2
- package/dist/import/docx/themeColors.d.ts +1 -1
- package/dist/import/docx/themeFonts.d.ts +1 -1
- package/dist/import/docx/xmlHelpers.d.ts +1 -1
- package/dist/import/html/htmlImporter.d.ts +1 -1
- package/dist/import/html/importHtmlToEditorDocument.d.ts +1 -1
- package/dist/{index-u3nvOtUO.js → index-CBbhzffQ.js} +92 -19
- package/dist/layoutProjection/blockHeights.d.ts +1 -1
- package/dist/layoutProjection/blocksPagination.d.ts +2 -2
- package/dist/layoutProjection/constants.d.ts +1 -1
- package/dist/layoutProjection/documentLayout.d.ts +2 -2
- package/dist/layoutProjection/dropCapExclusion.d.ts +2 -2
- package/dist/layoutProjection/endnotePagination.d.ts +1 -1
- package/dist/layoutProjection/floatingObjects.d.ts +1 -1
- package/dist/layoutProjection/footnotePagination.d.ts +2 -2
- package/dist/layoutProjection/headerFooterFootnotes.d.ts +2 -2
- package/dist/layoutProjection/headerFooterProjection.d.ts +2 -2
- package/dist/layoutProjection/index.d.ts +9 -9
- package/dist/layoutProjection/paragraphBorders.d.ts +1 -1
- package/dist/layoutProjection/paragraphPagination.d.ts +4 -4
- package/dist/layoutProjection/paragraphProjection.d.ts +1 -1
- package/dist/layoutProjection/sectionPagination.d.ts +2 -2
- package/dist/layoutProjection/tablePagination.d.ts +2 -2
- package/dist/layoutProjection/tableProjection.d.ts +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +4 -4
- package/dist/plugins/internal/createEssentialsPlugin.d.ts +3 -3
- package/dist/plugins/internal/essentialsCommandBuilders.d.ts +1 -1
- package/dist/plugins/internal/essentialsCommandGroups.d.ts +3 -3
- package/dist/testing/wordLayoutParity.d.ts +1 -1
- package/dist/text/fonts/FontProgramFactory.d.ts +2 -2
- package/dist/text/fonts/core/types.d.ts +1 -1
- package/dist/text/fonts/decoders/FontDecoderRegistry.d.ts +1 -1
- package/dist/text/fonts/decoders/TtfDecoder.d.ts +1 -1
- package/dist/text/fonts/decoders/Woff2Decoder.d.ts +3 -3
- package/dist/text/fonts/layout/SimpleTextLayouter.d.ts +1 -1
- package/dist/text/fonts/preciseFontMetrics.d.ts +1 -1
- package/dist/text/fonts/preciseFontMode.d.ts +1 -1
- package/dist/text/fonts/sfnt/SfntFontProgram.d.ts +3 -3
- package/dist/text/fonts/vendor/woff2/glyf-reconstructor.d.ts +1 -1
- package/dist/text/truetype/CmapParser.d.ts +1 -1
- package/dist/text/truetype/SfntTableDirectory.d.ts +1 -1
- package/dist/text/truetype/TrueTypeFont.d.ts +2 -2
- package/dist/text/truetype/tableParsers.d.ts +1 -1
- package/dist/ui/OasisEditorApp.d.ts +2 -2
- package/dist/ui/OasisEditorAppLazy.d.ts +1 -1
- package/dist/ui/OasisEditorAppProps.d.ts +7 -7
- package/dist/ui/OasisEditorContainer.d.ts +1 -1
- package/dist/ui/OasisEditorEditor.d.ts +6 -6
- package/dist/ui/OasisEditorLoading.d.ts +1 -1
- package/dist/ui/app/EditorDialogsLayer.d.ts +7 -7
- package/dist/ui/app/EditorDragLayers.d.ts +5 -5
- package/dist/ui/app/EditorWorkspace.d.ts +9 -9
- package/dist/ui/app/buildEditorViewProps.d.ts +9 -9
- package/dist/ui/app/createEditorEssentialsPlugin.d.ts +7 -7
- package/dist/ui/app/createRuntimeCommandHost.d.ts +7 -7
- package/dist/ui/app/fontOptions.d.ts +2 -2
- package/dist/ui/app/shouldShowCaret.d.ts +2 -2
- package/dist/ui/app/useCanvasSurfaceHitResolver.d.ts +3 -3
- package/dist/ui/app/useEditorAppState.d.ts +2 -2
- package/dist/ui/app/useEditorContextMenuClipboard.d.ts +3 -3
- package/dist/ui/app/useEditorDialogs.d.ts +17 -17
- package/dist/ui/app/useEditorFocus.d.ts +2 -2
- package/dist/ui/app/useEditorFontOptions.d.ts +2 -2
- package/dist/ui/app/useEditorInteractionWiring.d.ts +13 -13
- package/dist/ui/app/useEditorRuntimeBootstrap.d.ts +3 -3
- package/dist/ui/app/useEditorRuntimePlugins.d.ts +3 -3
- package/dist/ui/app/useEditorTransactions.d.ts +5 -5
- package/dist/ui/app/useEditorUiOptions.d.ts +4 -4
- package/dist/ui/app/useFontDialogBridge.d.ts +3 -3
- package/dist/ui/app/useParagraphDialogBridge.d.ts +3 -3
- package/dist/ui/app/useTablePropertiesDialogBridge.d.ts +2 -2
- package/dist/ui/canvas/CanvasCommentGeometry.d.ts +3 -3
- package/dist/ui/canvas/CanvasDebug.d.ts +3 -3
- package/dist/ui/canvas/CanvasGeometry.d.ts +2 -2
- package/dist/ui/canvas/CanvasHitTestService.d.ts +2 -2
- package/dist/ui/canvas/CanvasLayoutSnapshot.d.ts +3 -3
- package/dist/ui/canvas/CanvasSelectionGeometry.d.ts +3 -3
- package/dist/ui/canvas/CanvasTableLayout.d.ts +3 -3
- package/dist/ui/canvas/canvasBlockPainter.d.ts +1 -1
- package/dist/ui/canvas/canvasDropCapPainter.d.ts +1 -1
- package/dist/ui/canvas/canvasPageRenderer.d.ts +1 -1
- package/dist/ui/canvas/canvasParagraphPainter.d.ts +1 -1
- package/dist/ui/canvas/canvasTablePainter.d.ts +1 -1
- package/dist/ui/canvas/canvasTextBoxPainter.d.ts +1 -1
- package/dist/ui/canvas/imageContour.d.ts +1 -1
- package/dist/ui/canvas/listNumbering.d.ts +1 -1
- package/dist/ui/canvas/textBoxRenderHeight.d.ts +1 -1
- package/dist/ui/canvas/verticalText.d.ts +1 -1
- package/dist/ui/components/CanvasEditorSurface.d.ts +3 -3
- package/dist/ui/components/CommentHighlightOverlay.d.ts +3 -3
- package/dist/ui/components/Dialogs/Dialog.d.ts +1 -1
- package/dist/ui/components/Dialogs/FontDialog.d.ts +2 -2
- package/dist/ui/components/Dialogs/FontDialogModel.d.ts +2 -2
- package/dist/ui/components/Dialogs/ParagraphDialog.d.ts +1 -1
- package/dist/ui/components/Dialogs/TablePropertiesDialog.d.ts +1 -1
- package/dist/ui/components/Dialogs/font-dialog/AdvancedFontTab.d.ts +1 -1
- package/dist/ui/components/Dialogs/font-dialog/FontDialogController.d.ts +2 -2
- package/dist/ui/components/Dialogs/font-dialog/FontDialogTypes.d.ts +2 -2
- package/dist/ui/components/Dialogs/font-dialog/FontTab.d.ts +1 -1
- package/dist/ui/components/Dialogs/font-dialog/useFontDialogController.d.ts +2 -2
- package/dist/ui/components/DropCaret.d.ts +1 -1
- package/dist/ui/components/FindReplace/FindReplaceDialog.d.ts +2 -2
- package/dist/ui/components/FloatingToolbar/FloatingLayoutOptions.d.ts +2 -2
- package/dist/ui/components/FloatingToolbar/FloatingTableToolbar.d.ts +3 -3
- package/dist/ui/components/Menubar/Menubar.d.ts +2 -2
- package/dist/ui/components/Menubar/defaultMenuItems.d.ts +1 -1
- package/dist/ui/components/Menubar/menuRegistry.d.ts +4 -4
- package/dist/ui/components/OasisBrandMark.d.ts +1 -1
- package/dist/ui/components/Outline/OutlinePanel.d.ts +1 -1
- package/dist/ui/components/PluginUi/PluginUiHost.d.ts +2 -2
- package/dist/ui/components/RevisionOverlay.d.ts +1 -1
- package/dist/ui/components/Ruler/HorizontalRuler.d.ts +3 -3
- package/dist/ui/components/Ruler/rulerGeometry.d.ts +1 -1
- package/dist/ui/components/Tabs/Tabs.d.ts +1 -1
- package/dist/ui/components/TitleBar/TitleBar.d.ts +1 -1
- package/dist/ui/components/Toolbar/LineSpacingButton.d.ts +1 -1
- package/dist/ui/components/Toolbar/Toolbar.d.ts +4 -4
- package/dist/ui/components/Toolbar/ToolbarOverflowManager.d.ts +1 -1
- package/dist/ui/components/Toolbar/controls/ListOptionsControl.d.ts +2 -2
- package/dist/ui/components/Toolbar/controls/UnderlineControl.d.ts +2 -2
- package/dist/ui/components/Toolbar/groups/MetricGroup.d.ts +1 -1
- package/dist/ui/components/Toolbar/groups/SectionGroup.d.ts +1 -1
- package/dist/ui/components/Toolbar/groups/TableGroup.d.ts +1 -1
- package/dist/ui/components/Toolbar/presets/defaultPalette.d.ts +1 -1
- package/dist/ui/components/Toolbar/presets/defaultToolbar.d.ts +1 -1
- package/dist/ui/components/Toolbar/primitives/Button.d.ts +1 -1
- package/dist/ui/components/Toolbar/primitives/ColorPicker.d.ts +2 -2
- package/dist/ui/components/Toolbar/primitives/GridPicker.d.ts +1 -1
- package/dist/ui/components/Toolbar/primitives/Menu.d.ts +1 -1
- package/dist/ui/components/Toolbar/primitives/Popover.d.ts +2 -2
- package/dist/ui/components/Toolbar/primitives/Select.d.ts +1 -1
- package/dist/ui/components/Toolbar/primitives/Separator.d.ts +1 -1
- package/dist/ui/components/Toolbar/primitives/SplitButton.d.ts +1 -1
- package/dist/ui/components/Toolbar/primitives/useDismiss.d.ts +1 -1
- package/dist/ui/components/Toolbar/primitives/usePopoverPosition.d.ts +1 -1
- package/dist/ui/components/Toolbar/registry/ToolbarRegistry.d.ts +1 -1
- package/dist/ui/components/Toolbar/renderers/ToolbarItemRenderer.d.ts +2 -2
- package/dist/ui/components/Toolbar/renderers/renderers.d.ts +2 -2
- package/dist/ui/components/Toolbar/ribbon/RibbonGroup.d.ts +2 -2
- package/dist/ui/components/Toolbar/ribbon/RibbonPanel.d.ts +2 -2
- package/dist/ui/components/Toolbar/ribbon/RibbonRow.d.ts +1 -1
- package/dist/ui/components/Toolbar/ribbon/RibbonTabs.d.ts +2 -2
- package/dist/ui/components/Toolbar/ribbon/ribbonModel.d.ts +1 -1
- package/dist/ui/components/Toolbar/schema/items.d.ts +5 -5
- package/dist/ui/components/Toolbar/state/bindItem.d.ts +2 -2
- package/dist/ui/components/Toolbar/state/createToolbarApi.d.ts +2 -2
- package/dist/ui/components/Toolbar/underlineStyles.d.ts +2 -2
- package/dist/ui/editorHistory.d.ts +1 -1
- package/dist/ui/editorUiTypes.d.ts +4 -4
- package/dist/ui/imageGeometry.d.ts +1 -1
- package/dist/ui/layoutIdentity.d.ts +1 -1
- package/dist/ui/layoutInvalidation.d.ts +2 -2
- package/dist/ui/mount.d.ts +2 -2
- package/dist/ui/overlays/ResizeHandlesOverlay.d.ts +1 -1
- package/dist/ui/public/Button.d.ts +1 -1
- package/dist/ui/public/Checkbox.d.ts +1 -1
- package/dist/ui/public/DialogFooter.d.ts +1 -1
- package/dist/ui/public/FloatingActionButton.d.ts +1 -1
- package/dist/ui/public/IconButton.d.ts +1 -1
- package/dist/ui/public/SelectField.d.ts +1 -1
- package/dist/ui/public/SidePanel.d.ts +1 -1
- package/dist/ui/public/TextField.d.ts +1 -1
- package/dist/ui/public/index.d.ts +36 -36
- package/dist/ui/shells/BalloonShell.d.ts +1 -1
- package/dist/ui/shells/DocumentShell.d.ts +8 -8
- package/dist/ui/shells/InlineShell.d.ts +1 -1
- package/dist/ui/tableGeometry.d.ts +1 -1
- package/dist/ui/tableUiUtils.d.ts +1 -1
- package/dist/ui/textMeasurement/alignment.d.ts +1 -1
- package/dist/ui/textMeasurement/characterWidth.d.ts +1 -1
- package/dist/ui/textMeasurement/composer.d.ts +2 -2
- package/dist/ui/textMeasurement/fontMetrics.d.ts +1 -1
- package/dist/ui/textMeasurement/indentation.d.ts +1 -1
- package/dist/ui/textMeasurement/layoutLine.d.ts +1 -1
- package/dist/ui/textMeasurement/paragraphLineHeight.d.ts +1 -1
- package/dist/ui/textMeasurement/tabStops.d.ts +2 -2
- package/dist/ui/textMeasurement/tokenizer.d.ts +2 -2
- package/dist/ui/textMeasurement/types.d.ts +2 -2
- package/dist/ui/textMeasurement.d.ts +6 -6
- package/dist/ui/toolbarStyleState.d.ts +1 -1
- package/dist/ui/utils/customIcons.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { n as normalizeSelection, g as getParagraphs, c as createEditorParagraphFromRuns, a as getParagraphLength, b as createEditorRun, d as getDocumentSections, e as createEditorStyledRun, f as getParagraphText, h as getActiveZone, i as getActiveSectionIndex, p as positionToParagraphOffset, j as paragraphOffsetToPosition, k as clampPosition, l as findParagraphIndex, m as createCollapsedSelection, o as isSelectionCollapsed, q as createEditorParagraph, r as getBlockParagraphs, s as findParagraphTableLocation, t as buildTableCellLayout, u as createEditorTableCell, v as createEditorTable, w as createEditorTableRow, x as underlineStyleToCssDecorationStyle, y as resolveImageSrc, z as createEditorFootnote, A as createFootnoteReferenceRun, B as renumberFootnotes, C as iterateFootnoteReferenceRuns, D as getFootnoteDisplayMarker, E as createSignal, F as createEffect, G as onCleanup, H as buildCanvasLayoutSnapshot, I as on, J as onMount, K as debounce, L as unwrap, M as getDocumentParagraphs, N as getDocumentSectionsCanonical, O as createEditorDocument, P as getPageContentWidth, Q as getDocumentPageSettings, R as getTableCellContentWidthForParagraph, S as resolveResizedDimensions, T as resolveTextBoxRenderHeight, U as resolveEffectiveParagraphStyle, V as resolveEffectiveTextStyleForParagraph, W as iterateEndnoteReferenceRuns, X as JSZip, Y as imageContentTypeDefaults, Z as imageExtensionFromMime, _ as pxToPt$1, $ as buildSegmentTable, a0 as buildCanvasTableLayout, a1 as resolveFloatingObjectRect, a2 as getTextBoxFloatingGeometry, a3 as getPresetPathSegments, a4 as projectBlocksLayout, a5 as textStyleToFontSizePt, a6 as PX_PER_POINT, a7 as DEFAULT_FONT_SIZE_PX, a8 as isDoubleUnderlineStyle, a9 as isWavyUnderlineStyle, aa as underlineStyleLineWidthPx, ab as underlineStyleDashArray, ac as getListLabelInset, ad as getParagraphBorderInsets, ae as normalizeFamily, af as ROBOTO_FONT_FILES, ag as loadFontAsset, ah as OFFICE_COMPAT_FONT_FAMILIES, ai as buildSfnt, aj as defaultFontDecoderRegistry, ak as SfntFontProgram, al as collectPdfFontFamilies, am as projectDocumentLayout, an as getPageHeaderZoneTop, ao as getPageBodyTop, ap as findFootnoteReference, aq as FOOTNOTE_MARKER_GUTTER_PX, ar as resolveImporterForFile, as as createEditorStateFromDocument, at as getDocumentParagraphsCanonical, au as getToolbarStyleState, av as STANDARD_FONT_SIZES_PT, aw as fontSizePxToPt, ax as probeLocalFontFamilies, ay as createInitialEditorState, az as parseFontSizePtToPx, aA as formatFontSizePt, aB as listKindForTag, aC as isParagraphTag, aD as collectInlineRuns, aE as parseParagraphStyle, aF as t, aG as preciseFontModeVersion, aH as isPreciseFontModeEnabled, aI as togglePreciseFontMode, aJ as nextFontSizePt, aK as previousFontSizePt, aL as fontSizePtToPx, aM as createDefaultToolbarPreset, aN as defaultMenuItems, aO as MenuRegistry, aP as createToolbarRegistry, aQ as Editor, aR as resolveCommandRef, aS as commandRefName, aT as InlineShell, aU as BalloonShell, aV as DocumentShell, aW as createMemo, aX as getCaretRectFromSnapshot, aY as getParagraphRectFromSnapshot, aZ as createComponent, a_ as CaretOverlay, a$ as Show, b0 as createRenderEffect, b1 as style, b2 as setAttribute, b3 as setStyleProperty, b4 as memo, b5 as template, b6 as insert, b7 as use, b8 as addEventListener, b9 as Dialog, ba as delegateEvents, bb as className, bc as For, bd as UNDERLINE_STYLE_OPTIONS, be as Tabs, bf as measureParagraphMinContentWidthPx, bg as getEditableBlocksForZone, bh as findParagraphLocation, bi as createSectionBoundaryParagraph, bj as normalizePageSettings, bk as DEFAULT_EDITOR_PAGE_SETTINGS, bl as markStart, bm as markEnd, bn as getParagraphEntries, bo as getParagraphById, bp as PluginUiHost, bq as OasisEditorEditor, br as perfTimer, bs as OasisBrandMark, bt as setPreciseFontPreference, bu as setWelcomeSeen, bv as enablePreciseFontMode, bw as createOasisEditorClient, bx as setLocale, by as startLongTaskObserver, bz as installGlobalReport, bA as applyStoredPreciseFontPreference, bB as getWelcomeSeen, bC as isLocalFontAccessSupported, bD as EDITOR_SCROLL_PADDING_PX, bE as Toolbar, bF as OasisEditorLoading, bG as createEditorLogger, bH as getCachedCanvasImage, bI as registerDomStatsSurface } from "./index-
|
|
4
|
+
import { n as normalizeSelection, g as getParagraphs, c as createEditorParagraphFromRuns, a as getParagraphLength, b as createEditorRun, d as getDocumentSections, e as createEditorStyledRun, f as getParagraphText, h as getActiveZone, i as getActiveSectionIndex, p as positionToParagraphOffset, j as paragraphOffsetToPosition, k as clampPosition, l as findParagraphIndex, m as createCollapsedSelection, o as isSelectionCollapsed, q as createEditorParagraph, r as getBlockParagraphs, s as findParagraphTableLocation, t as buildTableCellLayout, u as createEditorTableCell, v as createEditorTable, w as createEditorTableRow, x as underlineStyleToCssDecorationStyle, y as resolveImageSrc, z as createEditorFootnote, A as createFootnoteReferenceRun, B as renumberFootnotes, C as iterateFootnoteReferenceRuns, D as getFootnoteDisplayMarker, E as createSignal, F as createEffect, G as onCleanup, H as buildCanvasLayoutSnapshot, I as on, J as onMount, K as debounce, L as unwrap, M as getDocumentParagraphs, N as getDocumentSectionsCanonical, O as createEditorDocument, P as getPageContentWidth, Q as getDocumentPageSettings, R as getTableCellContentWidthForParagraph, S as resolveResizedDimensions, T as resolveTextBoxRenderHeight, U as resolveEffectiveParagraphStyle, V as resolveEffectiveTextStyleForParagraph, W as iterateEndnoteReferenceRuns, X as JSZip, Y as imageContentTypeDefaults, Z as imageExtensionFromMime, _ as pxToPt$1, $ as buildSegmentTable, a0 as buildCanvasTableLayout, a1 as resolveFloatingObjectRect, a2 as getTextBoxFloatingGeometry, a3 as getPresetPathSegments, a4 as projectBlocksLayout, a5 as textStyleToFontSizePt, a6 as PX_PER_POINT, a7 as DEFAULT_FONT_SIZE_PX, a8 as isDoubleUnderlineStyle, a9 as isWavyUnderlineStyle, aa as underlineStyleLineWidthPx, ab as underlineStyleDashArray, ac as getListLabelInset, ad as getParagraphBorderInsets, ae as normalizeFamily, af as ROBOTO_FONT_FILES, ag as loadFontAsset, ah as OFFICE_COMPAT_FONT_FAMILIES, ai as buildSfnt, aj as defaultFontDecoderRegistry, ak as SfntFontProgram, al as collectPdfFontFamilies, am as projectDocumentLayout, an as getPageHeaderZoneTop, ao as getPageBodyTop, ap as findFootnoteReference, aq as FOOTNOTE_MARKER_GUTTER_PX, ar as resolveImporterForFile, as as createEditorStateFromDocument, at as getDocumentParagraphsCanonical, au as getToolbarStyleState, av as STANDARD_FONT_SIZES_PT, aw as fontSizePxToPt, ax as probeLocalFontFamilies, ay as createInitialEditorState, az as parseFontSizePtToPx, aA as formatFontSizePt, aB as listKindForTag, aC as isParagraphTag, aD as collectInlineRuns, aE as parseParagraphStyle, aF as t, aG as preciseFontModeVersion, aH as isPreciseFontModeEnabled, aI as togglePreciseFontMode, aJ as nextFontSizePt, aK as previousFontSizePt, aL as fontSizePtToPx, aM as createDefaultToolbarPreset, aN as defaultMenuItems, aO as MenuRegistry, aP as createToolbarRegistry, aQ as Editor, aR as resolveCommandRef, aS as commandRefName, aT as InlineShell, aU as BalloonShell, aV as DocumentShell, aW as createMemo, aX as getCaretRectFromSnapshot, aY as getParagraphRectFromSnapshot, aZ as createComponent, a_ as CaretOverlay, a$ as Show, b0 as createRenderEffect, b1 as style, b2 as setAttribute, b3 as setStyleProperty, b4 as memo, b5 as template, b6 as insert, b7 as use, b8 as addEventListener, b9 as Dialog, ba as delegateEvents, bb as className, bc as For, bd as UNDERLINE_STYLE_OPTIONS, be as Tabs, bf as measureParagraphMinContentWidthPx, bg as getEditableBlocksForZone, bh as findParagraphLocation, bi as createSectionBoundaryParagraph, bj as normalizePageSettings, bk as DEFAULT_EDITOR_PAGE_SETTINGS, bl as markStart, bm as markEnd, bn as getParagraphEntries, bo as getParagraphById, bp as PluginUiHost, bq as OasisEditorEditor, br as perfTimer, bs as OasisBrandMark, bt as setPreciseFontPreference, bu as setWelcomeSeen, bv as enablePreciseFontMode, bw as createOasisEditorClient, bx as setLocale, by as startLongTaskObserver, bz as installGlobalReport, bA as applyStoredPreciseFontPreference, bB as getWelcomeSeen, bC as isLocalFontAccessSupported, bD as EDITOR_SCROLL_PADDING_PX, bE as Toolbar, bF as OasisEditorLoading, bG as createEditorLogger, bH as getCachedCanvasImage, bI as registerDomStatsSurface } from "./index-CBbhzffQ.js";
|
|
5
5
|
function getSelectedObjectRun(state, predicate) {
|
|
6
6
|
const normalized = normalizeSelection(state);
|
|
7
7
|
if (normalized.isCollapsed || normalized.startIndex !== normalized.endIndex || normalized.endParagraphOffset - normalized.startParagraphOffset !== 1) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OasisEditorAppProps } from '
|
|
2
|
-
import { OasisEditorClient } from '
|
|
1
|
+
import { OasisEditorAppProps } from '../../ui/OasisEditorApp.js';
|
|
2
|
+
import { OasisEditorClient } from '../client/OasisEditorClient.js';
|
|
3
3
|
|
|
4
4
|
export type OasisEditorInstance = OasisEditorClient;
|
|
5
5
|
export declare function createOasisEditor(container: HTMLElement, props?: OasisEditorAppProps): OasisEditorInstance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OasisEditorContainerProps } from '
|
|
2
|
-
import { OasisEditorClient } from '
|
|
1
|
+
import { OasisEditorContainerProps } from '../../ui/OasisEditorContainer.js';
|
|
2
|
+
import { OasisEditorClient } from '../client/OasisEditorClient.js';
|
|
3
3
|
|
|
4
4
|
export type OasisEditorContainerInstance = OasisEditorClient;
|
|
5
5
|
export declare function createOasisEditorContainer(container: HTMLElement, props?: OasisEditorContainerProps): OasisEditorContainerInstance;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EditorDocument, EditorSelection, EditorState } from '
|
|
2
|
-
import { Editor } from '
|
|
3
|
-
import { ToolbarCommandState } from '
|
|
4
|
-
import { TypedCommandBus } from '
|
|
1
|
+
import { EditorDocument, EditorSelection, EditorState } from '../../core/model.js';
|
|
2
|
+
import { Editor } from '../../core/Editor.js';
|
|
3
|
+
import { ToolbarCommandState } from '../../ui/components/Toolbar/schema/items.js';
|
|
4
|
+
import { TypedCommandBus } from '../../core/commands/publicCommandTypes.js';
|
|
5
5
|
|
|
6
6
|
export type OasisEditorClientEvent = "ready" | "change" | "documentChange" | "selectionChange" | "error";
|
|
7
7
|
export interface OasisEditorClientEvents {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorClipboardParagraphSpec } from '
|
|
1
|
+
import { EditorClipboardParagraphSpec } from '../../core/commands/clipboard.js';
|
|
2
2
|
|
|
3
3
|
export declare function parseEditorClipboardHtmlWithDom(html: string): EditorClipboardParagraphSpec[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EditorParagraphListStyle, EditorParagraphStyle, EditorSection, EditorState, EditorTextStyle } from '
|
|
2
|
-
import { TextCaseMode } from '
|
|
3
|
-
import { EditorTransactionOptions } from '
|
|
4
|
-
import { BooleanStyleKey, ParagraphStyleKey, ToolbarStyleState } from '
|
|
5
|
-
import { EditorLogger } from '
|
|
6
|
-
import { SelectedImageRun } from '
|
|
1
|
+
import { EditorParagraphListStyle, EditorParagraphStyle, EditorSection, EditorState, EditorTextStyle } from '../../core/model.js';
|
|
2
|
+
import { TextCaseMode } from '../../core/commands/text.js';
|
|
3
|
+
import { EditorTransactionOptions } from '../../ui/editorHistory.js';
|
|
4
|
+
import { BooleanStyleKey, ParagraphStyleKey, ToolbarStyleState } from '../../ui/toolbarStyleState.js';
|
|
5
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
6
|
+
import { SelectedImageRun } from '../../core/commands/image.js';
|
|
7
7
|
|
|
8
8
|
export interface EditorCommandsControllerDeps {
|
|
9
9
|
state: EditorState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EditorState } from '
|
|
2
|
-
import { ResizeHandleDirection } from '
|
|
3
|
-
import { EditorHistoryState } from '
|
|
4
|
-
import { EditorLogger } from '
|
|
1
|
+
import { EditorState } from '../../core/model.js';
|
|
2
|
+
import { ResizeHandleDirection } from '../../ui/resizeGeometry.js';
|
|
3
|
+
import { EditorHistoryState } from '../../ui/editorHistory.js';
|
|
4
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
5
5
|
|
|
6
6
|
export interface ResizeSessionSelection {
|
|
7
7
|
width: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorState } from '
|
|
2
|
-
import { EditorHistoryState } from '
|
|
3
|
-
import { EditorLogger } from '
|
|
1
|
+
import { EditorState } from '../../core/model.js';
|
|
2
|
+
import { EditorHistoryState } from '../../ui/editorHistory.js';
|
|
3
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Object-type-specific behaviour for a rotate session. Images and text boxes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorState } from '
|
|
2
|
-
import { EditorLogger } from '
|
|
3
|
-
import { ImportProgressPhase } from '
|
|
1
|
+
import { EditorState } from '../../../core/model.js';
|
|
2
|
+
import { EditorLogger } from '../../../utils/logger.js';
|
|
3
|
+
import { ImportProgressPhase } from '../useEditorDocumentIO.js';
|
|
4
4
|
|
|
5
5
|
export interface DocumentImporterDeps {
|
|
6
6
|
applyState: (state: EditorState) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorPosition, EditorState } from '
|
|
2
|
-
import { EditorLogger } from '
|
|
1
|
+
import { EditorPosition, EditorState } from '../../../core/model.js';
|
|
2
|
+
import { EditorLogger } from '../../../utils/logger.js';
|
|
3
3
|
|
|
4
4
|
export interface ImageInsertionServiceDeps {
|
|
5
5
|
state: () => EditorState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorBlockNode, EditorEditingZone, EditorState } from '
|
|
2
|
-
import { HorizontalTableCellRange, VerticalTableCellRange } from '
|
|
1
|
+
import { EditorBlockNode, EditorEditingZone, EditorState } from '../../core/model.js';
|
|
2
|
+
import { HorizontalTableCellRange, VerticalTableCellRange } from './tableOpsSelectionRanges.js';
|
|
3
3
|
|
|
4
4
|
interface TableCellSpanOperationsDeps {
|
|
5
5
|
getTargetBlocks: (state: EditorState, zone: EditorEditingZone) => EditorBlockNode[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorBlockNode, EditorEditingZone, EditorState } from '
|
|
2
|
-
import { HorizontalTableCellRange, VerticalTableCellRange } from '
|
|
1
|
+
import { EditorBlockNode, EditorEditingZone, EditorState } from '../../core/model.js';
|
|
2
|
+
import { HorizontalTableCellRange, VerticalTableCellRange } from './tableOpsSelectionRanges.js';
|
|
3
3
|
|
|
4
4
|
interface TableOpsGuardsDeps {
|
|
5
5
|
getTargetBlocks: (state: EditorState, zone: EditorEditingZone) => EditorBlockNode[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorBlockNode, EditorEditingZone, EditorState } from '
|
|
1
|
+
import { EditorBlockNode, EditorEditingZone, EditorState } from '../../core/model.js';
|
|
2
2
|
|
|
3
3
|
export declare const updateBlocksInCurrentSection: (current: EditorState, blocks: EditorBlockNode[], zone?: EditorEditingZone) => EditorState;
|
|
4
4
|
export declare const applyTableAwareParagraphEdit: (current: EditorState, getTargetBlocks: (state: EditorState, zone: EditorEditingZone) => EditorBlockNode[], edit: (tempState: EditorState) => EditorState) => EditorState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorBlockNode, EditorEditingZone, EditorState } from '
|
|
1
|
+
import { EditorBlockNode, EditorEditingZone, EditorState } from '../../core/model.js';
|
|
2
2
|
|
|
3
3
|
interface TableRowColumnOperationsDeps {
|
|
4
4
|
getTargetBlocks: (state: EditorState, zone: EditorEditingZone) => EditorBlockNode[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorBlockNode, EditorEditingZone, EditorState } from '
|
|
2
|
-
import { EditorLogger } from '
|
|
3
|
-
import { SelectedTableCells } from '
|
|
1
|
+
import { EditorBlockNode, EditorEditingZone, EditorState } from '../../core/model.js';
|
|
2
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
3
|
+
import { SelectedTableCells } from './tableOpsSelectionRanges.js';
|
|
4
4
|
|
|
5
5
|
interface TableSelectionAwareCommandsDeps {
|
|
6
6
|
applyTransactionalState: (producer: (current: EditorState) => EditorState, options?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorDocument, EditorPosition, EditorParagraphNode, EditorTableCellNode, EditorTableNode, EditorTableRowNode } from '
|
|
1
|
+
import { EditorDocument, EditorPosition, EditorParagraphNode, EditorTableCellNode, EditorTableNode, EditorTableRowNode } from '../../core/model.js';
|
|
2
2
|
|
|
3
3
|
export declare const getRowVisualWidth: (row: EditorTableRowNode) => number;
|
|
4
4
|
export declare const getTableVisualWidth: (table: EditorTableNode) => number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorBlockNode, EditorEditingZone, EditorState } from '
|
|
2
|
-
import { TableCellLayoutEntry } from '
|
|
3
|
-
import { EditorLogger } from '
|
|
1
|
+
import { EditorBlockNode, EditorEditingZone, EditorState } from '../../core/model.js';
|
|
2
|
+
import { TableCellLayoutEntry } from '../../core/tableLayout.js';
|
|
3
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
4
4
|
|
|
5
5
|
export interface HorizontalTableCellRange {
|
|
6
6
|
blockIndex: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorState } from '
|
|
2
|
-
import { TableResizeState } from '
|
|
1
|
+
import { EditorState } from '../../../core/model.js';
|
|
2
|
+
import { TableResizeState } from './tableResizeTypes.js';
|
|
3
3
|
|
|
4
4
|
export declare function applyRowResize(state: EditorState, resize: TableResizeState, delta: number): EditorState;
|
|
5
5
|
export declare function applyColumnResize(state: EditorState, resize: TableResizeState, delta: number): EditorState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorTableNode, EditorState } from '
|
|
2
|
-
import { TableCellLayoutEntry } from '
|
|
3
|
-
import { TableGeometry } from '
|
|
1
|
+
import { EditorTableNode, EditorState } from '../../../core/model.js';
|
|
2
|
+
import { TableCellLayoutEntry } from '../../../core/tableLayout.js';
|
|
3
|
+
import { TableGeometry } from './tableResizeTypes.js';
|
|
4
4
|
|
|
5
5
|
export declare function resolveHorizontalCellChromePx(cell: EditorTableNode["rows"][number]["cells"][number]): number;
|
|
6
6
|
export declare function resolveRowHeightsPx(tableNode: EditorTableNode, tableLayout: TableCellLayoutEntry[], geometry: TableGeometry): number[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorState, EditorTableNode } from '
|
|
2
|
-
import { TableGeometry } from '
|
|
1
|
+
import { EditorState, EditorTableNode } from '../../../core/model.js';
|
|
2
|
+
import { TableGeometry } from './tableResizeTypes.js';
|
|
3
3
|
|
|
4
4
|
export declare function getTableById(state: EditorState, tableId: string): EditorTableNode | null;
|
|
5
5
|
export declare function buildTableGeometries(surface: HTMLElement, state: EditorState): TableGeometry[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState } from '
|
|
2
|
-
import { ResizeHoverInfo } from '
|
|
1
|
+
import { EditorState } from '../../../core/model.js';
|
|
2
|
+
import { ResizeHoverInfo } from './tableResizeTypes.js';
|
|
3
3
|
|
|
4
4
|
export declare function findTableResizeHoverInfo(event: MouseEvent, surface: HTMLElement, state: EditorState): ResizeHoverInfo | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorTableNode } from '
|
|
2
|
-
import { TableCellLayoutEntry } from '
|
|
1
|
+
import { EditorTableNode } from '../../../core/model.js';
|
|
2
|
+
import { TableCellLayoutEntry } from '../../../core/tableLayout.js';
|
|
3
3
|
|
|
4
4
|
export type ResizeSide = "left" | "right" | "top" | "bottom";
|
|
5
5
|
export interface SnapshotCellRect {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorPosition, EditorState } from '
|
|
2
|
-
import { EditorTransactionOptions } from '
|
|
1
|
+
import { EditorPosition, EditorState } from '../../core/model.js';
|
|
2
|
+
import { EditorTransactionOptions } from '../../ui/editorHistory.js';
|
|
3
3
|
|
|
4
4
|
export interface EditorClipboardDeps {
|
|
5
5
|
state: () => EditorState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorState, EditorPosition } from '
|
|
2
|
-
import { ImportStage } from '
|
|
3
|
-
import { EditorLogger } from '
|
|
1
|
+
import { EditorState, EditorPosition } from '../../core/model.js';
|
|
2
|
+
import { ImportStage } from '../../import/DocumentFormatImporter.js';
|
|
3
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
4
4
|
|
|
5
5
|
export type ImportProgressPhase = "reading-file" | ImportStage | "applying-editor-state" | "stabilizing-layout" | "done" | "error";
|
|
6
6
|
export interface ImportProgressState {
|
|
@@ -22,7 +22,7 @@ export interface UseEditorDocumentIOProps {
|
|
|
22
22
|
logger: EditorLogger;
|
|
23
23
|
}
|
|
24
24
|
export declare function createEditorDocumentIO(deps: UseEditorDocumentIOProps): {
|
|
25
|
-
importProgress: import('
|
|
25
|
+
importProgress: import('solid-js').Accessor<ImportProgressState | null>;
|
|
26
26
|
handleImportFile: (file: File | null) => Promise<void>;
|
|
27
27
|
handleExportDocx: () => Promise<void>;
|
|
28
28
|
handleExportPdf: () => Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FindOptions, FindReplaceMatch } from '
|
|
2
|
-
import { EditorState } from '
|
|
1
|
+
import { FindOptions, FindReplaceMatch } from '../services/FindReplaceService.js';
|
|
2
|
+
import { EditorState } from '../../core/model.js';
|
|
3
3
|
|
|
4
4
|
export interface UseEditorFindReplaceResult {
|
|
5
5
|
searchTerm: () => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorHistoryState } from '
|
|
2
|
-
import { EditorState } from '
|
|
3
|
-
import { createEditorImageOperations } from '
|
|
1
|
+
import { EditorHistoryState } from '../../ui/editorHistory.js';
|
|
2
|
+
import { EditorState } from '../../core/model.js';
|
|
3
|
+
import { createEditorImageOperations } from './useEditorImageOperations.js';
|
|
4
4
|
|
|
5
5
|
export interface UseEditorHistoryActionsProps {
|
|
6
6
|
state: () => EditorState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EditorPosition, EditorState } from '
|
|
2
|
-
import { ResizeHandleDirection } from '
|
|
3
|
-
import { EditorLogger } from '
|
|
4
|
-
import { EditorHistoryState } from '
|
|
1
|
+
import { EditorPosition, EditorState } from '../../core/model.js';
|
|
2
|
+
import { ResizeHandleDirection } from '../../ui/resizeGeometry.js';
|
|
3
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
4
|
+
import { EditorHistoryState } from '../../ui/editorHistory.js';
|
|
5
5
|
|
|
6
6
|
export interface ActiveImageDrag {
|
|
7
7
|
paragraphId: string;
|
|
@@ -33,16 +33,16 @@ export interface EditorImageOperationsDeps {
|
|
|
33
33
|
logger: EditorLogger;
|
|
34
34
|
}
|
|
35
35
|
export declare function createEditorImageOperations(deps: EditorImageOperationsDeps): {
|
|
36
|
-
dragging: import('
|
|
37
|
-
draggedImageInfo: import('
|
|
38
|
-
mousePos: import('
|
|
36
|
+
dragging: import('solid-js').Accessor<boolean>;
|
|
37
|
+
draggedImageInfo: import('solid-js').Accessor<ActiveImageDrag | null>;
|
|
38
|
+
mousePos: import('solid-js').Accessor<{
|
|
39
39
|
x: number;
|
|
40
40
|
y: number;
|
|
41
41
|
}>;
|
|
42
|
-
dropTargetPos: import('
|
|
42
|
+
dropTargetPos: import('solid-js').Accessor<EditorPosition | null>;
|
|
43
43
|
getSelectedImageInfo: (current: EditorState) => {
|
|
44
|
-
paragraph: import('
|
|
45
|
-
run: import('
|
|
44
|
+
paragraph: import('../../core/model.js').EditorParagraphNode;
|
|
45
|
+
run: import('../../core/model.js').EditorTextRun;
|
|
46
46
|
startOffset: number;
|
|
47
47
|
width: number;
|
|
48
48
|
height: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EditorDocument, EditorPosition, EditorState } from '
|
|
2
|
-
import { BooleanStyleKey } from '
|
|
3
|
-
import { EditorCommandRegistry } from '
|
|
4
|
-
import { SelectedImageRun } from '
|
|
1
|
+
import { EditorDocument, EditorPosition, EditorState } from '../../core/model.js';
|
|
2
|
+
import { BooleanStyleKey } from '../../ui/toolbarStyleState.js';
|
|
3
|
+
import { EditorCommandRegistry } from './EditorCommandRegistry.js';
|
|
4
|
+
import { SelectedImageRun } from '../../core/commands/image.js';
|
|
5
5
|
|
|
6
6
|
export interface EditorKeyboardDeps {
|
|
7
7
|
state: () => EditorState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorLayoutParagraph, EditorState } from '
|
|
2
|
-
import { CaretBox, CommentHighlightBox, InputBox, SelectionBox } from '
|
|
3
|
-
import { SelectedImageSelectionBox, SelectedTextBoxSelectionBox } from '
|
|
1
|
+
import { EditorLayoutParagraph, EditorState } from '../../core/model.js';
|
|
2
|
+
import { CaretBox, CommentHighlightBox, InputBox, SelectionBox } from '../../ui/editorUiTypes.js';
|
|
3
|
+
import { SelectedImageSelectionBox, SelectedTextBoxSelectionBox } from '../../ui/canvas/CanvasSelectionGeometry.js';
|
|
4
4
|
|
|
5
5
|
interface UseEditorLayoutProps {
|
|
6
6
|
state: EditorState;
|
|
@@ -15,16 +15,16 @@ export interface LayoutInvalidation {
|
|
|
15
15
|
dirtyAll?: boolean;
|
|
16
16
|
}
|
|
17
17
|
export declare function useEditorLayout(props: UseEditorLayoutProps): {
|
|
18
|
-
measuredBlockHeights: import('
|
|
19
|
-
measuredParagraphLayouts: import('
|
|
20
|
-
inputBox: import('
|
|
21
|
-
selectionBoxes: import('
|
|
22
|
-
commentHighlights: import('
|
|
23
|
-
selectedImageBox: import('
|
|
24
|
-
selectedTextBoxBox: import('
|
|
25
|
-
caretBox: import('
|
|
26
|
-
preferredColumnX: import('
|
|
27
|
-
setPreferredColumnX: import('
|
|
18
|
+
measuredBlockHeights: import('solid-js').Accessor<Record<string, number>>;
|
|
19
|
+
measuredParagraphLayouts: import('solid-js').Accessor<Record<string, EditorLayoutParagraph>>;
|
|
20
|
+
inputBox: import('solid-js').Accessor<InputBox>;
|
|
21
|
+
selectionBoxes: import('solid-js').Accessor<SelectionBox[]>;
|
|
22
|
+
commentHighlights: import('solid-js').Accessor<CommentHighlightBox[]>;
|
|
23
|
+
selectedImageBox: import('solid-js').Accessor<SelectedImageSelectionBox | null>;
|
|
24
|
+
selectedTextBoxBox: import('solid-js').Accessor<SelectedTextBoxSelectionBox | null>;
|
|
25
|
+
caretBox: import('solid-js').Accessor<CaretBox>;
|
|
26
|
+
preferredColumnX: import('solid-js').Accessor<number | null>;
|
|
27
|
+
setPreferredColumnX: import('solid-js').Setter<number | null>;
|
|
28
28
|
clearPreferredColumn: () => null;
|
|
29
29
|
requestInputBoxSync: (reason?: LayoutSyncReason) => void;
|
|
30
30
|
scheduleDeferredLayoutMeasurement: (reason: LayoutSyncReason, options?: {
|
|
@@ -35,8 +35,8 @@ export declare function useEditorLayout(props: UseEditorLayoutProps): {
|
|
|
35
35
|
stabilizeLayoutAfterImport: () => Promise<void>;
|
|
36
36
|
syncMeasuredLayoutMetrics: (reason?: LayoutSyncReason) => boolean;
|
|
37
37
|
syncInputBox: (_reason?: LayoutSyncReason) => void;
|
|
38
|
-
setMeasuredBlockHeights: import('
|
|
39
|
-
setMeasuredParagraphLayouts: import('
|
|
38
|
+
setMeasuredBlockHeights: import('solid-js').Setter<Record<string, number>>;
|
|
39
|
+
setMeasuredParagraphLayouts: import('solid-js').Setter<Record<string, EditorLayoutParagraph>>;
|
|
40
40
|
applyInvalidation: (invalidation: LayoutInvalidation) => void;
|
|
41
41
|
onCleanupHook: () => void;
|
|
42
42
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorState } from '
|
|
2
|
-
import { CaretBox } from '
|
|
1
|
+
import { EditorState } from '../../core/model.js';
|
|
2
|
+
import { CaretBox } from '../../ui/editorUiTypes.js';
|
|
3
3
|
|
|
4
4
|
export interface UseEditorNavigationProps {
|
|
5
5
|
state: () => EditorState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorDocument, EditorState } from '
|
|
2
|
-
import { EditorLogger } from '
|
|
1
|
+
import { EditorDocument, EditorState } from '../../core/model.js';
|
|
2
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
3
3
|
|
|
4
4
|
export type PersistenceStatus = "Saved" | "Saving..." | "Error" | "Initial";
|
|
5
5
|
export interface UseEditorPersistenceResult {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EditorState } from '
|
|
2
|
-
import { RevisionBox } from '
|
|
1
|
+
import { EditorState } from '../../core/model.js';
|
|
2
|
+
import { RevisionBox } from '../../ui/editorUiTypes.js';
|
|
3
3
|
|
|
4
4
|
export interface UseEditorRevisionProps {
|
|
5
5
|
state: () => EditorState;
|
|
6
6
|
surfaceRef: () => HTMLDivElement | null;
|
|
7
7
|
}
|
|
8
8
|
export declare function createEditorRevisionController(deps: UseEditorRevisionProps): {
|
|
9
|
-
hoveredRevision: import('
|
|
9
|
+
hoveredRevision: import('solid-js').Accessor<RevisionBox | null>;
|
|
10
10
|
handleRevisionMouseEnter: (revisionId: string, event: MouseEvent) => void;
|
|
11
11
|
handleRevisionMouseLeave: () => void;
|
|
12
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorState, EditorTextStyle } from '
|
|
2
|
-
import { ToolbarStyleState, BooleanStyleKey } from '
|
|
3
|
-
import { createEditorCommandsController } from '
|
|
1
|
+
import { EditorState, EditorTextStyle } from '../../core/model.js';
|
|
2
|
+
import { ToolbarStyleState, BooleanStyleKey } from '../../ui/toolbarStyleState.js';
|
|
3
|
+
import { createEditorCommandsController } from './EditorCommandsController.js';
|
|
4
4
|
|
|
5
5
|
type ValueStyleKey = "fontFamily" | "fontSize" | "color" | "highlight" | "shading" | "language" | "textEffect" | "link" | "underlineStyle";
|
|
6
6
|
export interface UseEditorStyleProps {
|
|
@@ -14,7 +14,7 @@ export interface UseEditorStyleProps {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
export declare function createEditorStyleController(deps: UseEditorStyleProps): {
|
|
17
|
-
pendingCaretTextStyle: import('
|
|
17
|
+
pendingCaretTextStyle: import('solid-js').Accessor<EditorTextStyle | undefined>;
|
|
18
18
|
clearPendingCaretTextStyle: () => void;
|
|
19
19
|
toolbarStyleState: () => ToolbarStyleState;
|
|
20
20
|
applyToolbarValueStyleCommand: <K extends ValueStyleKey>(key: K, value: EditorTextStyle[K] | null) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorState, EditorParagraphNode } from '
|
|
2
|
-
import { SurfaceHit } from '
|
|
1
|
+
import { EditorState, EditorParagraphNode } from '../../core/model.js';
|
|
2
|
+
import { SurfaceHit } from '../../ui/canvas/CanvasHitTestService.js';
|
|
3
3
|
|
|
4
4
|
export interface UseEditorSurfaceEventsProps {
|
|
5
5
|
state: () => EditorState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState, EditorPosition } from '
|
|
1
|
+
import { EditorState, EditorPosition } from '../../core/model.js';
|
|
2
2
|
|
|
3
3
|
export interface TableDragOps {
|
|
4
4
|
dragging: () => boolean;
|
|
@@ -12,18 +12,18 @@ export declare function createEditorTableDrag(deps: {
|
|
|
12
12
|
resolvePositionAtSurfacePoint: (clientX: number, clientY: number) => EditorPosition | null;
|
|
13
13
|
focusInput: () => void;
|
|
14
14
|
}): {
|
|
15
|
-
dragging: import('
|
|
16
|
-
draggedTableInfo: import('
|
|
15
|
+
dragging: import('solid-js').Accessor<boolean>;
|
|
16
|
+
draggedTableInfo: import('solid-js').Accessor<{
|
|
17
17
|
tableId: string;
|
|
18
18
|
width: number;
|
|
19
19
|
height: number;
|
|
20
20
|
offsetX: number;
|
|
21
21
|
offsetY: number;
|
|
22
22
|
} | null>;
|
|
23
|
-
mousePos: import('
|
|
23
|
+
mousePos: import('solid-js').Accessor<{
|
|
24
24
|
x: number;
|
|
25
25
|
y: number;
|
|
26
26
|
}>;
|
|
27
|
-
dropTargetPos: import('
|
|
27
|
+
dropTargetPos: import('solid-js').Accessor<EditorPosition | null>;
|
|
28
28
|
handleMouseDown: (tableId: string, event: MouseEvent) => void;
|
|
29
29
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorBlockNode, EditorState, EditorEditingZone } from '
|
|
2
|
-
import { EditorLogger } from '
|
|
1
|
+
import { EditorBlockNode, EditorState, EditorEditingZone } from '../../core/model.js';
|
|
2
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
3
3
|
|
|
4
4
|
export interface EditorTableOperationsDeps {
|
|
5
5
|
applyTransactionalState: (producer: (current: EditorState) => EditorState, options?: {
|
|
@@ -11,8 +11,8 @@ export interface EditorTableOperationsDeps {
|
|
|
11
11
|
}
|
|
12
12
|
export declare function createEditorTableOperations(deps: EditorTableOperationsDeps): {
|
|
13
13
|
resolveTableCellRangeSelection: (current: EditorState) => EditorState["selection"] | null;
|
|
14
|
-
resolveHorizontalTableCellRange: (current: EditorState) => import('
|
|
15
|
-
resolveVerticalTableCellRange: (current: EditorState) => import('
|
|
14
|
+
resolveHorizontalTableCellRange: (current: EditorState) => import('./tableOpsSelectionRanges.js').HorizontalTableCellRange | null;
|
|
15
|
+
resolveVerticalTableCellRange: (current: EditorState) => import('./tableOpsSelectionRanges.js').VerticalTableCellRange | null;
|
|
16
16
|
canMergeSelectedTableCells: (current: EditorState) => boolean;
|
|
17
17
|
canSplitSelectedTableCell: (current: EditorState) => boolean;
|
|
18
18
|
canMergeSelectedTableRows: (current: EditorState) => boolean;
|
|
@@ -31,12 +31,12 @@ export declare function createEditorTableOperations(deps: EditorTableOperationsD
|
|
|
31
31
|
deleteSelectedTableRow: (current: EditorState) => EditorState;
|
|
32
32
|
insertSelectedTableColumn: (current: EditorState, direction: -1 | 1) => EditorState;
|
|
33
33
|
deleteSelectedTableColumn: (current: EditorState) => EditorState;
|
|
34
|
-
getRowVisualWidth: (row: import('
|
|
35
|
-
getTableVisualWidth: (table: import('
|
|
36
|
-
findCellAtVisualColumn: (row: import('
|
|
37
|
-
findFirstNavigableParagraphInTable: (table: import('
|
|
34
|
+
getRowVisualWidth: (row: import('../../core/model.js').EditorTableRowNode) => number;
|
|
35
|
+
getTableVisualWidth: (table: import('../../core/model.js').EditorTableNode) => number;
|
|
36
|
+
findCellAtVisualColumn: (row: import('../../core/model.js').EditorTableRowNode, visualColumn: number) => import('../../core/model.js').EditorTableCellNode | null;
|
|
37
|
+
findFirstNavigableParagraphInTable: (table: import('../../core/model.js').EditorTableNode) => import('../../core/model.js').EditorParagraphNode | null;
|
|
38
38
|
updateBlocksInCurrentSection: (current: EditorState, blocks: EditorBlockNode[], zone?: EditorEditingZone) => EditorState;
|
|
39
|
-
resolveAdjacentTableCellPosition: (document: import('
|
|
39
|
+
resolveAdjacentTableCellPosition: (document: import('../../core/model.js').EditorDocument, paragraphId: string, delta: -1 | 1) => import('../../core/model.js').EditorPosition | null;
|
|
40
40
|
applyTableAwareParagraphEdit: (current: EditorState, edit: (tempState: EditorState) => EditorState) => EditorState;
|
|
41
41
|
withExpandedTableCellSelection: (current: EditorState) => EditorState;
|
|
42
42
|
applySelectionAwareTextCommand: (command: (current: EditorState) => EditorState) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EditorState } from '
|
|
2
|
-
import { TableResizeOps } from '
|
|
1
|
+
import { EditorState } from '../../core/model.js';
|
|
2
|
+
import { TableResizeOps } from './tableResize/tableResizeTypes.js';
|
|
3
3
|
|
|
4
|
-
export { type TableResizeOps } from '
|
|
4
|
+
export { type TableResizeOps } from './tableResize/tableResizeTypes.js';
|
|
5
5
|
export declare function createEditorTableResize(deps: {
|
|
6
6
|
state: () => EditorState;
|
|
7
7
|
applyTransactionalState: (producer: (current: EditorState) => EditorState) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EditorState } from '
|
|
2
|
-
import { ResizeHandleDirection } from '
|
|
3
|
-
import { EditorLogger } from '
|
|
4
|
-
import { EditorHistoryState } from '
|
|
1
|
+
import { EditorState } from '../../core/model.js';
|
|
2
|
+
import { ResizeHandleDirection } from '../../ui/resizeGeometry.js';
|
|
3
|
+
import { EditorLogger } from '../../utils/logger.js';
|
|
4
|
+
import { EditorHistoryState } from '../../ui/editorHistory.js';
|
|
5
5
|
|
|
6
6
|
export interface EditorTextBoxOperationsDeps {
|
|
7
7
|
state: EditorState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorPosition, EditorState } from '
|
|
2
|
-
import { SurfaceHit } from '
|
|
1
|
+
import { EditorPosition, EditorState } from '../../core/model.js';
|
|
2
|
+
import { SurfaceHit } from '../../ui/canvas/CanvasHitTestService.js';
|
|
3
3
|
|
|
4
4
|
export interface EditorTextDragDeps {
|
|
5
5
|
state: () => EditorState;
|
|
@@ -21,14 +21,14 @@ export interface EditorTextDragDeps {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
export declare function createEditorTextDrag(deps: EditorTextDragDeps): {
|
|
24
|
-
dragging: import('
|
|
25
|
-
dropTargetPos: import('
|
|
26
|
-
copyMode: import('
|
|
27
|
-
pointerPos: import('
|
|
24
|
+
dragging: import('solid-js').Accessor<boolean>;
|
|
25
|
+
dropTargetPos: import('solid-js').Accessor<EditorPosition | null>;
|
|
26
|
+
copyMode: import('solid-js').Accessor<boolean>;
|
|
27
|
+
pointerPos: import('solid-js').Accessor<{
|
|
28
28
|
x: number;
|
|
29
29
|
y: number;
|
|
30
30
|
} | null>;
|
|
31
|
-
caretViewport: import('
|
|
31
|
+
caretViewport: import('solid-js').Accessor<{
|
|
32
32
|
left: number;
|
|
33
33
|
top: number;
|
|
34
34
|
height: number;
|