oasis-editor 0.0.195 → 0.0.197
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-DQgltded.js +1 -0
- package/dist/adapters/mountController.d.ts +0 -1
- package/dist/adapters/react.d.ts +0 -1
- package/dist/adapters/vue.d.ts +0 -1
- package/dist/app/bootstrap/createOasisEditorApp.d.ts +0 -1
- package/dist/app/bootstrap/createOasisEditorContainer.d.ts +0 -1
- package/dist/app/client/OasisEditorClient.d.ts +15 -4
- package/dist/app/client/publicDocumentApi.d.ts +0 -1
- package/dist/app/clipboard/htmlClipboardParser.d.ts +0 -1
- package/dist/app/controllers/EditorCommandRegistry.d.ts +0 -1
- package/dist/app/controllers/EditorCommandsController.d.ts +0 -1
- package/dist/app/controllers/EditorKeyboardDeps.d.ts +0 -1
- package/dist/app/controllers/controllerPorts.d.ts +0 -1
- package/dist/app/controllers/createCropSession.d.ts +0 -1
- package/dist/app/controllers/createResizeSession.d.ts +0 -1
- package/dist/app/controllers/createRotateSession.d.ts +0 -1
- package/dist/app/controllers/documentIO/DocumentExporter.d.ts +0 -1
- package/dist/app/controllers/documentIO/DocumentImporter.d.ts +0 -1
- package/dist/app/controllers/documentIO/ImageInsertionService.d.ts +0 -1
- package/dist/app/controllers/documentIO/importProgress.d.ts +0 -1
- package/dist/app/controllers/tableOpsCellSpanCommands.d.ts +0 -1
- package/dist/app/controllers/tableOpsGuards.d.ts +0 -1
- package/dist/app/controllers/tableOpsMutationCommands.d.ts +0 -1
- package/dist/app/controllers/tableOpsRowColumnCommands.d.ts +0 -1
- package/dist/app/controllers/tableOpsSelectionAwareCommands.d.ts +0 -1
- package/dist/app/controllers/tableOpsSelectionNavigation.d.ts +0 -1
- package/dist/app/controllers/tableOpsSelectionRanges.d.ts +0 -1
- package/dist/app/controllers/tableResize/tableResizeApply.d.ts +0 -1
- package/dist/app/controllers/tableResize/tableResizeConstraints.d.ts +0 -1
- package/dist/app/controllers/tableResize/tableResizeGeometry.d.ts +0 -1
- package/dist/app/controllers/tableResize/tableResizeHitTest.d.ts +0 -1
- package/dist/app/controllers/tableResize/tableResizeTypes.d.ts +0 -1
- package/dist/app/controllers/tableResize/tableResizeUnits.d.ts +0 -1
- package/dist/app/controllers/useEditorClipboard.d.ts +0 -1
- package/dist/app/controllers/useEditorDocumentIO.d.ts +0 -1
- package/dist/app/controllers/useEditorFindReplace.d.ts +0 -1
- package/dist/app/controllers/useEditorHistoryActions.d.ts +0 -1
- package/dist/app/controllers/useEditorImageOperations.d.ts +0 -1
- package/dist/app/controllers/useEditorKeyboard.d.ts +0 -1
- package/dist/app/controllers/useEditorLayout.d.ts +0 -1
- package/dist/app/controllers/useEditorNavigation.d.ts +0 -1
- package/dist/app/controllers/useEditorPersistence.d.ts +0 -1
- package/dist/app/controllers/useEditorRevision.d.ts +0 -1
- package/dist/app/controllers/useEditorStyle.d.ts +0 -1
- package/dist/app/controllers/useEditorSurfaceEvents.d.ts +0 -1
- package/dist/app/controllers/useEditorTableCornerResize.d.ts +0 -1
- package/dist/app/controllers/useEditorTableDrag.d.ts +0 -1
- package/dist/app/controllers/useEditorTableOperations.d.ts +0 -1
- package/dist/app/controllers/useEditorTableResize.d.ts +0 -1
- package/dist/app/controllers/useEditorTextBoxOperations.d.ts +0 -1
- package/dist/app/controllers/useEditorTextDrag.d.ts +0 -1
- package/dist/app/controllers/useEditorTextInput.d.ts +0 -1
- package/dist/app/services/FindReplaceService.d.ts +0 -1
- package/dist/app/services/indexedDbPersistence.d.ts +0 -1
- package/dist/app/services/tablePropertiesService.d.ts +0 -1
- package/dist/assets/importDocxWorker-BacVrzqW.js +14531 -0
- package/dist/core/Editor.d.ts +0 -1
- package/dist/core/cloneState.d.ts +0 -1
- package/dist/core/commands/CommandBus.d.ts +0 -1
- package/dist/core/commands/CommandRegistry.d.ts +0 -1
- package/dist/core/commands/block.d.ts +0 -1
- package/dist/core/commands/builtinCommands.d.ts +1 -1
- package/dist/core/commands/clipboard.d.ts +0 -1
- package/dist/core/commands/design.d.ts +0 -1
- package/dist/core/commands/floatingLayout.d.ts +0 -1
- package/dist/core/commands/footnotes.d.ts +0 -1
- package/dist/core/commands/history.d.ts +0 -1
- package/dist/core/commands/html.d.ts +6 -0
- package/dist/core/commands/image.d.ts +0 -1
- package/dist/core/commands/link.d.ts +0 -1
- package/dist/core/commands/list.d.ts +0 -1
- package/dist/core/commands/misc.d.ts +0 -1
- package/dist/core/commands/publicCommandTypes.d.ts +3 -1
- package/dist/core/commands/selectedObjectRun.d.ts +0 -1
- package/dist/core/commands/selection.d.ts +0 -1
- package/dist/core/commands/shape.d.ts +0 -1
- package/dist/core/commands/table/insertTableCommand.d.ts +0 -1
- package/dist/core/commands/table/tableCellStyleCommands.d.ts +0 -1
- package/dist/core/commands/table/tableColumnCommands.d.ts +0 -1
- package/dist/core/commands/table/tableCommandUtils.d.ts +0 -1
- package/dist/core/commands/table/tableFloatingCommands.d.ts +0 -1
- package/dist/core/commands/table/tableRowCommands.d.ts +0 -1
- package/dist/core/commands/table/tableStyleCommands.d.ts +0 -1
- package/dist/core/commands/tableOfContents.d.ts +0 -1
- package/dist/core/commands/textBox.d.ts +0 -1
- package/dist/core/commands/textCase.d.ts +0 -1
- package/dist/core/commands/textDeletion.d.ts +0 -1
- package/dist/core/commands/textEditing.d.ts +0 -1
- package/dist/core/commands/textFormatting.d.ts +0 -1
- package/dist/core/document/blockReplacement.d.ts +0 -1
- package/dist/core/document/bookmarkAnchors.d.ts +0 -1
- package/dist/core/document/clone.d.ts +0 -1
- package/dist/core/document/commentAnchors.d.ts +0 -1
- package/dist/core/document/imageCaptions.d.ts +0 -1
- package/dist/core/document/paragraphRunBuild.d.ts +0 -1
- package/dist/core/document/paragraphRunEdit.d.ts +0 -1
- package/dist/core/document/paragraphRunQuery.d.ts +0 -1
- package/dist/core/document/rangeAnchors.d.ts +0 -1
- package/dist/core/document/trackedRevisions.d.ts +0 -1
- package/dist/core/editorState/defaultStyles.d.ts +0 -1
- package/dist/core/editorState/documentFactories.d.ts +0 -1
- package/dist/core/editorState/nodeFactories.d.ts +0 -1
- package/dist/core/editorState/stateFactories.d.ts +0 -1
- package/dist/core/endnotes.d.ts +0 -1
- package/dist/core/engine.d.ts +0 -1
- package/dist/core/footnotes.d.ts +0 -1
- package/dist/core/headings.d.ts +0 -1
- package/dist/core/html/htmlBlockWalker.d.ts +0 -1
- package/dist/core/html/htmlTextSerializer.d.ts +0 -1
- package/dist/core/html/inlineImageParser.d.ts +0 -1
- package/dist/core/html/inlineStyleParser.d.ts +0 -1
- package/dist/core/html/paragraphStyleParser.d.ts +0 -1
- package/dist/core/html/safeHtmlHref.d.ts +6 -0
- package/dist/core/html/styleCss.d.ts +0 -1
- package/dist/core/lineDash.d.ts +0 -1
- package/dist/core/math/linear.d.ts +0 -1
- package/dist/core/model/assets.d.ts +0 -1
- package/dist/core/model/documentIndex.d.ts +0 -1
- package/dist/core/model/documentSections.d.ts +0 -1
- package/dist/core/model/editingZones.d.ts +10 -1
- package/dist/core/model/editorState.d.ts +0 -1
- package/dist/core/model/index.d.ts +1 -1
- package/dist/core/model/listNumbering.d.ts +0 -1
- package/dist/core/model/pageGeometry.d.ts +0 -1
- package/dist/core/model/paragraphWalker.d.ts +0 -1
- package/dist/core/model/queries.d.ts +0 -1
- package/dist/core/model/runKind.d.ts +0 -1
- package/dist/core/model/styleDefaults.d.ts +0 -1
- package/dist/core/model/styleResolution.d.ts +0 -1
- package/dist/core/model/types/document.d.ts +0 -1
- package/dist/core/model/types/documentEndnotes.d.ts +0 -1
- package/dist/core/model/types/documentFootnotes.d.ts +0 -1
- package/dist/core/model/types/layout.d.ts +0 -1
- package/dist/core/model/types/nodes.d.ts +0 -1
- package/dist/core/model/types/styles.d.ts +0 -1
- package/dist/core/model.d.ts +0 -1
- package/dist/core/noteTraversal.d.ts +0 -1
- package/dist/core/plugin.d.ts +0 -1
- package/dist/core/plugins/PluginCollection.d.ts +0 -1
- package/dist/core/plugins/PluginUiRegistry.d.ts +0 -1
- package/dist/core/selection/navigation.d.ts +0 -1
- package/dist/core/selection/rangeEditing.d.ts +0 -1
- package/dist/core/selection.d.ts +0 -1
- package/dist/core/tableLayout.d.ts +0 -1
- package/dist/core/tableStyleResolver.d.ts +0 -1
- package/dist/core/textStyle/textStyleKeys.d.ts +0 -1
- package/dist/core/textStyle/textStyleMutations.d.ts +0 -1
- package/dist/core/textStyleMappings.d.ts +0 -1
- package/dist/defaultToolbar-XaZHjmgA.js +1 -0
- package/dist/export/docx/bookmarksXml.d.ts +0 -1
- package/dist/export/docx/borders.d.ts +0 -1
- package/dist/export/docx/commentsXml.d.ts +0 -1
- package/dist/export/docx/docxBlockVisitor.d.ts +0 -1
- package/dist/export/docx/docxDocumentXml.d.ts +0 -1
- package/dist/export/docx/docxNumbering.d.ts +0 -1
- package/dist/export/docx/docxPackageXml.d.ts +0 -1
- package/dist/export/docx/docxTypes.d.ts +0 -1
- package/dist/export/docx/endnotesXml.d.ts +0 -1
- package/dist/export/docx/exportEditorDocumentToDocx.d.ts +0 -1
- package/dist/export/docx/exportEditorDocumentToDocxPreservingSource.d.ts +0 -1
- package/dist/export/docx/footnotesXml.d.ts +0 -1
- package/dist/export/docx/opc/commentEntrySourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/commentsExtendedSourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/documentRootSourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/extensionMarkupMerge.d.ts +0 -1
- package/dist/export/docx/opc/headerFooterRootSourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/headerFooterSourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/noteEntrySourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/numberingSourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/rebuiltPartHashes.d.ts +0 -1
- package/dist/export/docx/opc/relatedStoryRootSourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/sourceBackedDocxPatcher.d.ts +0 -1
- package/dist/export/docx/opc/sourceOnlySingletonFilter.d.ts +0 -1
- package/dist/export/docx/opc/sourcePackagePatcher.d.ts +0 -1
- package/dist/export/docx/opc/styleParagraphPropertiesSourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/styleRunPropertiesSourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/styleTablePropertiesSourcePatcher.d.ts +0 -1
- package/dist/export/docx/opc/wordSingletonSourcePatcher.d.ts +0 -1
- package/dist/export/docx/stylesXml.d.ts +0 -1
- package/dist/export/docx/synchronizeBoundContentControls.d.ts +0 -1
- package/dist/export/docx/tableSourcePropertiesXml.d.ts +0 -1
- package/dist/export/docx/tableSourceXml.d.ts +0 -1
- package/dist/export/docx/tableStructuralSdtXml.d.ts +0 -1
- package/dist/export/docx/tableXml.d.ts +0 -1
- package/dist/export/docx/text/blocksXml.d.ts +0 -1
- package/dist/export/docx/text/drawingContainerXml.d.ts +0 -1
- package/dist/export/docx/text/dropCapXml.d.ts +0 -1
- package/dist/export/docx/text/endnoteRunXml.d.ts +0 -1
- package/dist/export/docx/text/fieldRunXml.d.ts +0 -1
- package/dist/export/docx/text/footnoteRunXml.d.ts +0 -1
- package/dist/export/docx/text/hyperlinkXml.d.ts +0 -1
- package/dist/export/docx/text/imageRunXml.d.ts +0 -1
- package/dist/export/docx/text/inlineSdtXml.d.ts +0 -1
- package/dist/export/docx/text/mathXml.d.ts +0 -1
- package/dist/export/docx/text/noteRunXml.d.ts +0 -1
- package/dist/export/docx/text/paragraphPropertiesXml.d.ts +0 -1
- package/dist/export/docx/text/revisionXml.d.ts +0 -1
- package/dist/export/docx/text/runPropertiesXml.d.ts +0 -1
- package/dist/export/docx/text/runXml.d.ts +0 -1
- package/dist/export/docx/text/sdtXml.d.ts +0 -1
- package/dist/export/docx/text/sourceParagraphPropertiesXml.d.ts +0 -1
- package/dist/export/docx/text/sourceParagraphXml.d.ts +0 -1
- package/dist/export/docx/text/sourceRunXml.d.ts +0 -1
- package/dist/export/docx/text/styleMaterialization.d.ts +0 -1
- package/dist/export/docx/text/textBoxRunXml.d.ts +0 -1
- package/dist/export/docx/themeXml.d.ts +0 -1
- package/dist/export/html/exportEditorDocumentToHtml.d.ts +7 -0
- package/dist/export/pdf/OasisPdfWriter.d.ts +0 -1
- package/dist/export/pdf/draw/blockDrawers.d.ts +0 -1
- package/dist/export/pdf/draw/drawBlockList.d.ts +0 -1
- package/dist/export/pdf/draw/drawFragment.d.ts +0 -1
- package/dist/export/pdf/draw/drawImageObject.d.ts +0 -1
- package/dist/export/pdf/draw/drawPageBackground.d.ts +0 -1
- package/dist/export/pdf/draw/drawParagraph.d.ts +0 -1
- package/dist/export/pdf/draw/drawTable.d.ts +0 -1
- package/dist/export/pdf/draw/drawTextBoxShape.d.ts +0 -1
- package/dist/export/pdf/draw/fragment/pdfEmphasisAndTabLeaders.d.ts +0 -1
- package/dist/export/pdf/draw/fragment/pdfGradient.d.ts +0 -1
- package/dist/export/pdf/draw/fragment/pdfRunBackground.d.ts +0 -1
- package/dist/export/pdf/draw/fragment/pdfTextChunks.d.ts +0 -1
- package/dist/export/pdf/draw/fragment/pdfTextDecoration.d.ts +0 -1
- package/dist/export/pdf/draw/fragmentGeometry.d.ts +0 -1
- package/dist/export/pdf/draw/lists.d.ts +0 -1
- package/dist/export/pdf/exportEditorDocumentToPdf.d.ts +0 -1
- package/dist/export/pdf/fonts/PdfFontRegistry.d.ts +0 -1
- package/dist/export/pdf/fonts/TrueTypePdfFontSubsetter.d.ts +0 -1
- package/dist/export/pdf/fonts/collectPdfFontFamilies.d.ts +0 -1
- package/dist/export/pdf/images.d.ts +0 -1
- package/dist/export/pdf/layout/layoutParagraph.d.ts +0 -1
- package/dist/export/pdf/units.d.ts +0 -1
- package/dist/export/pdf/writer/PdfContentStream.d.ts +0 -1
- package/dist/export/pdf/writer/PdfDocumentSerializer.d.ts +0 -1
- package/dist/export/pdf/writer/PdfFontTable.d.ts +0 -1
- package/dist/export/pdf/writer/PdfImageTable.d.ts +0 -1
- package/dist/export/pdf/writer/PdfShadingTable.d.ts +0 -1
- package/dist/export/pdf/writer/pdfPrimitives.d.ts +0 -1
- package/dist/i18n/I18nContext.d.ts +0 -1
- package/dist/i18n/index.d.ts +0 -1
- package/dist/import/DocumentFormatImporter.d.ts +0 -1
- package/dist/import/documentImporterRegistry.d.ts +0 -1
- package/dist/import/docx/assetRegistry.d.ts +0 -1
- package/dist/import/docx/bookmarks.d.ts +0 -1
- package/dist/import/docx/borders.d.ts +0 -1
- package/dist/import/docx/comments.d.ts +0 -1
- package/dist/import/docx/contentControls.d.ts +0 -1
- package/dist/import/docx/docxImporter.d.ts +0 -1
- package/dist/import/docx/dropCap.d.ts +0 -1
- package/dist/import/docx/endnotes.d.ts +0 -1
- package/dist/import/docx/fontTable.d.ts +0 -1
- package/dist/import/docx/footnotes.d.ts +0 -1
- package/dist/import/docx/headerFooter.d.ts +0 -1
- package/dist/import/docx/importDocxInWorker.d.ts +0 -1
- package/dist/import/docx/importDocxToEditorDocument.d.ts +0 -1
- package/dist/import/docx/markupCompatibility.d.ts +0 -1
- package/dist/import/docx/math.d.ts +0 -1
- package/dist/import/docx/nestedBlocks.d.ts +0 -1
- package/dist/import/docx/notes.d.ts +0 -1
- package/dist/import/docx/numbering.d.ts +0 -1
- package/dist/import/docx/opc/legacyCompatibilityPackage.d.ts +0 -1
- package/dist/import/docx/opc/sourcePackage.d.ts +0 -1
- package/dist/import/docx/paragraphStyle.d.ts +0 -1
- package/dist/import/docx/paragraphs.d.ts +0 -1
- package/dist/import/docx/relationships.d.ts +0 -1
- package/dist/import/docx/revisionMetadata.d.ts +0 -1
- package/dist/import/docx/runStyle.d.ts +0 -1
- package/dist/import/docx/runs/drawingAnchorLayout.d.ts +0 -1
- package/dist/import/docx/runs/drawingImage.d.ts +0 -1
- package/dist/import/docx/runs/fields.d.ts +0 -1
- package/dist/import/docx/runs/relationships.d.ts +0 -1
- package/dist/import/docx/runs/textBox.d.ts +0 -1
- package/dist/import/docx/runs/types.d.ts +0 -1
- package/dist/import/docx/runs/units.d.ts +0 -1
- package/dist/import/docx/runs/vmlImage.d.ts +0 -1
- package/dist/import/docx/runs.d.ts +0 -1
- package/dist/import/docx/sectionProperties.d.ts +0 -1
- package/dist/import/docx/settings.d.ts +0 -1
- package/dist/import/docx/structuralContentControls.d.ts +0 -1
- package/dist/import/docx/styleUtils.d.ts +0 -1
- package/dist/import/docx/stylesXml.d.ts +0 -1
- package/dist/import/docx/tableConditionalFormatting.d.ts +0 -1
- package/dist/import/docx/tableProperties.d.ts +0 -1
- package/dist/import/docx/tables.d.ts +0 -1
- package/dist/import/docx/theme.d.ts +0 -1
- package/dist/import/docx/themeColors.d.ts +0 -1
- package/dist/import/docx/themeFonts.d.ts +0 -1
- package/dist/import/docx/units.d.ts +0 -1
- package/dist/import/docx/xmlHelpers.d.ts +0 -1
- package/dist/import/html/htmlImporter.d.ts +0 -1
- package/dist/import/html/importHtmlToEditorDocument.d.ts +0 -1
- package/dist/index.d.ts +3 -1
- package/dist/layoutProjection/blocksPagination.d.ts +0 -1
- package/dist/layoutProjection/blocksPaginationTypes.d.ts +0 -1
- package/dist/layoutProjection/columnFlow.d.ts +0 -1
- package/dist/layoutProjection/documentLayout.d.ts +0 -1
- package/dist/layoutProjection/dropCapExclusion.d.ts +0 -1
- package/dist/layoutProjection/endnotePagination.d.ts +0 -1
- package/dist/layoutProjection/floatingObjects.d.ts +0 -1
- package/dist/layoutProjection/footnotePagination.d.ts +0 -1
- package/dist/layoutProjection/headerFooterFootnotes.d.ts +0 -1
- package/dist/layoutProjection/headerFooterLayoutContext.d.ts +0 -1
- package/dist/layoutProjection/headerFooterProjection.d.ts +0 -1
- package/dist/layoutProjection/paginationSegmentEngine.d.ts +0 -1
- package/dist/layoutProjection/paginationTrack.d.ts +0 -1
- package/dist/layoutProjection/paragraphBlockPagination.d.ts +0 -1
- package/dist/layoutProjection/paragraphBorders.d.ts +0 -1
- package/dist/layoutProjection/paragraphPagination.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/dispatcher.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/arrows.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/banners.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/bracesBrackets.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/callouts.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/connectors.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/containers3d.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/decorative.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/flowchart.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/mathSymbols.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/families/rectVariants.d.ts +0 -1
- package/dist/layoutProjection/presetGeometry/primitives.d.ts +0 -1
- package/dist/layoutProjection/sectionPagination.d.ts +0 -1
- package/dist/layoutProjection/tableBlockPagination.d.ts +0 -1
- package/dist/layoutProjection/tableCellParagraphCache.d.ts +0 -1
- package/dist/layoutProjection/tablePagination.d.ts +0 -1
- package/dist/layoutProjection/tableRowSlicing.d.ts +0 -1
- package/dist/mountController-B5RYwj6B.js +15 -0
- package/dist/mountController.d.ts +0 -1
- package/dist/oasis-editor.css +2 -1
- package/dist/oasis-editor.js +1 -84
- package/dist/oasis-editor.umd.cjs +1 -12
- package/dist/ooxml/markupCompatibilityEngine.d.ts +0 -1
- package/dist/ooxml/opc/packageXml.d.ts +0 -1
- package/dist/ooxml/preservationBag.d.ts +0 -1
- package/dist/ooxml/word/customXmlBinding.d.ts +0 -1
- package/dist/ooxml/word/numberingMetadata.d.ts +0 -1
- package/dist/ooxml/word/sourceFragments.d.ts +0 -1
- package/dist/plugins/internal/createEssentialsPlugin.d.ts +0 -1
- package/dist/plugins/internal/essentialsCapabilities.d.ts +1 -1
- package/dist/plugins/internal/essentialsCommandBuilders.d.ts +0 -1
- package/dist/plugins/internal/essentialsCommandGroups/coreFormatting.d.ts +0 -1
- package/dist/plugins/internal/essentialsCommandGroups/design.d.ts +0 -1
- package/dist/plugins/internal/essentialsCommandGroups/documentAndBrowser.d.ts +0 -1
- package/dist/plugins/internal/essentialsCommandGroups/paragraphAndSection.d.ts +0 -1
- package/dist/plugins/internal/essentialsCommandGroups/table.d.ts +0 -1
- package/dist/react.d.ts +0 -1
- package/dist/react.js +17 -18
- package/dist/testing/wordLayoutParity.d.ts +0 -1
- package/dist/text/fontMetricsUtil.d.ts +0 -1
- package/dist/text/fonts/FontProgramFactory.d.ts +0 -1
- package/dist/text/fonts/core/types.d.ts +0 -1
- package/dist/text/fonts/decoders/FontDecoderRegistry.d.ts +0 -1
- package/dist/text/fonts/decoders/TtfDecoder.d.ts +0 -1
- package/dist/text/fonts/decoders/Woff2Decoder.d.ts +0 -1
- package/dist/text/fonts/decoders/WoffDecoder.d.ts +0 -1
- package/dist/text/fonts/layout/OpenTypeLayouter.d.ts +0 -1
- package/dist/text/fonts/layout/SimpleTextLayouter.d.ts +0 -1
- package/dist/text/fonts/opentype/extensionLookup.d.ts +0 -1
- package/dist/text/fonts/opentype/otLayoutCommon.d.ts +0 -1
- package/dist/text/fonts/preciseFontMetrics.d.ts +0 -1
- package/dist/text/fonts/sfnt/SfntFontProgram.d.ts +0 -1
- package/dist/text/fonts/vendor/woff2/glyf-reconstructor.d.ts +0 -1
- package/dist/text/truetype/CmapParser.d.ts +0 -1
- package/dist/text/truetype/SfntTableDirectory.d.ts +0 -1
- package/dist/text/truetype/TrueTypeFont.d.ts +0 -1
- package/dist/text/truetype/tableParsers.d.ts +0 -1
- package/dist/ui/EditorImportProgressOverlay.d.ts +0 -1
- package/dist/ui/EditorStatusBar.d.ts +0 -1
- package/dist/ui/OasisEditorApp.d.ts +0 -1
- package/dist/ui/OasisEditorAppLazy.d.ts +0 -1
- package/dist/ui/OasisEditorAppProps.d.ts +0 -1
- package/dist/ui/OasisEditorContainer.d.ts +0 -1
- package/dist/ui/OasisEditorEditor.d.ts +0 -1
- package/dist/ui/OasisEditorEditorProps.d.ts +0 -1
- package/dist/ui/OasisEditorLoading.d.ts +0 -1
- package/dist/ui/app/EditorDialogsLayer.d.ts +0 -1
- package/dist/ui/app/EditorDragLayers.d.ts +0 -1
- package/dist/ui/app/EditorWorkspace.d.ts +0 -1
- package/dist/ui/app/buildEditorViewProps.d.ts +0 -1
- package/dist/ui/app/connectEditorClientHost.d.ts +0 -1
- package/dist/ui/app/createAppCommandsController.d.ts +0 -1
- package/dist/ui/app/createEditorChangeBroadcast.d.ts +0 -1
- package/dist/ui/app/createEditorChrome.d.ts +0 -1
- package/dist/ui/app/createEditorCommandRuntime.d.ts +0 -1
- package/dist/ui/app/createEditorDocumentRuntime.d.ts +0 -1
- package/dist/ui/app/createEditorEssentialsPlugin.d.ts +0 -1
- package/dist/ui/app/createEditorInteractionRuntime.d.ts +0 -1
- package/dist/ui/app/createEditorKeyboardBinding.d.ts +0 -1
- package/dist/ui/app/createEditorLayoutOptionsController.d.ts +0 -1
- package/dist/ui/app/createEditorTableContextMenuActions.d.ts +0 -1
- package/dist/ui/app/createRuntimeCommandHost.d.ts +0 -1
- package/dist/ui/app/documentFontPreparation.d.ts +0 -1
- package/dist/ui/app/editorZoom.d.ts +0 -1
- package/dist/ui/app/essentials/browser.d.ts +0 -1
- package/dist/ui/app/essentials/design.d.ts +0 -1
- package/dist/ui/app/essentials/document.d.ts +0 -1
- package/dist/ui/app/essentials/formatting.d.ts +0 -1
- package/dist/ui/app/essentials/gate.d.ts +0 -1
- package/dist/ui/app/essentials/history.d.ts +0 -1
- package/dist/ui/app/essentials/image.d.ts +0 -1
- package/dist/ui/app/essentials/link.d.ts +0 -1
- package/dist/ui/app/essentials/paragraph.d.ts +0 -1
- package/dist/ui/app/essentials/section.d.ts +0 -1
- package/dist/ui/app/essentials/selection.d.ts +0 -1
- package/dist/ui/app/essentials/style.d.ts +0 -1
- package/dist/ui/app/essentials/table.d.ts +0 -1
- package/dist/ui/app/essentials/types.d.ts +0 -1
- package/dist/ui/app/fontOptions.d.ts +0 -1
- package/dist/ui/app/shouldShowCaret.d.ts +0 -1
- package/dist/ui/app/useCanvasSurfaceHitResolver.d.ts +0 -1
- package/dist/ui/app/useEditorAppState.d.ts +0 -1
- package/dist/ui/app/useEditorContextMenuClipboard.d.ts +0 -1
- package/dist/ui/app/useEditorDialogs.d.ts +0 -1
- package/dist/ui/app/useEditorFocus.d.ts +0 -1
- package/dist/ui/app/useEditorFontOptions.d.ts +0 -1
- package/dist/ui/app/useEditorInteractionWiring.d.ts +0 -1
- package/dist/ui/app/useEditorRuntimeBootstrap.d.ts +0 -1
- package/dist/ui/app/useEditorRuntimePlugins.d.ts +0 -1
- package/dist/ui/app/useEditorTransactions.d.ts +0 -1
- package/dist/ui/app/useEditorUiOptions.d.ts +0 -1
- package/dist/ui/app/useFontDialogBridge.d.ts +0 -1
- package/dist/ui/app/useParagraphDialogBridge.d.ts +0 -1
- package/dist/ui/app/useTablePropertiesDialogBridge.d.ts +0 -1
- package/dist/ui/canvas/CanvasCommentGeometry.d.ts +0 -1
- package/dist/ui/canvas/CanvasDebug.d.ts +0 -1
- package/dist/ui/canvas/CanvasGeometry.d.ts +0 -1
- package/dist/ui/canvas/CanvasHitTestService.d.ts +0 -1
- package/dist/ui/canvas/CanvasLayoutSnapshot.d.ts +0 -1
- package/dist/ui/canvas/CanvasSelectionGeometry.d.ts +0 -1
- package/dist/ui/canvas/CanvasTableLayout.d.ts +0 -1
- package/dist/ui/canvas/canvasBlockPainter.d.ts +0 -1
- package/dist/ui/canvas/canvasBlockPainters.d.ts +0 -1
- package/dist/ui/canvas/canvasDropCapPainter.d.ts +0 -1
- package/dist/ui/canvas/canvasFloatingReaders.d.ts +0 -1
- package/dist/ui/canvas/canvasInlineReaders.d.ts +0 -1
- package/dist/ui/canvas/canvasLayoutSnapshotProvider.d.ts +0 -1
- package/dist/ui/canvas/canvasPageRenderer.d.ts +0 -1
- package/dist/ui/canvas/canvasParagraphPainter.d.ts +0 -1
- package/dist/ui/canvas/canvasSnapshotLines.d.ts +0 -1
- package/dist/ui/canvas/canvasSnapshotTypes.d.ts +0 -1
- package/dist/ui/canvas/canvasSnapshotWalkers.d.ts +0 -1
- package/dist/ui/canvas/canvasTablePainter.d.ts +0 -1
- package/dist/ui/canvas/canvasTextBoxPainter.d.ts +0 -1
- package/dist/ui/canvas/canvasTextMeasurer.d.ts +0 -1
- package/dist/ui/canvas/imageContour.d.ts +0 -1
- package/dist/ui/canvas/listNumbering.d.ts +0 -1
- package/dist/ui/canvas/paragraph/canvasEmphasis.d.ts +0 -1
- package/dist/ui/canvas/paragraph/canvasInlineImage.d.ts +0 -1
- package/dist/ui/canvas/paragraph/canvasRunBackground.d.ts +0 -1
- package/dist/ui/canvas/paragraph/canvasTabLeaders.d.ts +0 -1
- package/dist/ui/canvas/paragraph/canvasTextDecoration.d.ts +0 -1
- package/dist/ui/canvas/paragraph/canvasTextEffects.d.ts +0 -1
- package/dist/ui/canvas/table/assembleCellEntries.d.ts +0 -1
- package/dist/ui/canvas/table/prepareCells.d.ts +0 -1
- package/dist/ui/canvas/table/resolveRowHeights.d.ts +0 -1
- package/dist/ui/canvas/table/tableCellGeometry.d.ts +0 -1
- package/dist/ui/canvas/table/types.d.ts +0 -1
- package/dist/ui/canvas/textBoxRenderHeight.d.ts +0 -1
- package/dist/ui/canvas/verticalText.d.ts +0 -1
- package/dist/ui/components/CanvasEditorSurface.d.ts +0 -1
- package/dist/ui/components/CaretOverlay.d.ts +0 -1
- package/dist/ui/components/CommentHighlightOverlay.d.ts +0 -1
- package/dist/ui/components/ContextMenu/ContextMenu.d.ts +0 -1
- package/dist/ui/components/Dialogs/Dialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/DialogFooter.d.ts +0 -1
- package/dist/ui/components/Dialogs/EquationDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/FontDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/FontDialogModel.d.ts +0 -1
- package/dist/ui/components/Dialogs/ImageAltDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/ImageCaptionDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/LineSpacingDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/LinkDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/NewDocumentConfirmationDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/ParagraphDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/SymbolDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/TabStopsDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/TablePropertiesDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/TextInputDialog.d.ts +0 -1
- package/dist/ui/components/Dialogs/font-dialog/AdvancedFontTab.d.ts +0 -1
- package/dist/ui/components/Dialogs/font-dialog/FontDialogController.d.ts +0 -1
- package/dist/ui/components/Dialogs/font-dialog/FontDialogTypes.d.ts +0 -1
- package/dist/ui/components/Dialogs/font-dialog/FontPreview.d.ts +0 -1
- package/dist/ui/components/Dialogs/font-dialog/FontTab.d.ts +0 -1
- package/dist/ui/components/Dialogs/font-dialog/useFontDialogController.d.ts +0 -1
- package/dist/ui/components/Dialogs/paragraph-dialog/ParagraphDialogTypes.d.ts +0 -1
- package/dist/ui/components/Dialogs/paragraph-dialog/useParagraphDialogController.d.ts +0 -1
- package/dist/ui/components/Dialogs/table-properties/AltTextTabPanel.d.ts +0 -1
- package/dist/ui/components/Dialogs/table-properties/CellTabPanel.d.ts +0 -1
- package/dist/ui/components/Dialogs/table-properties/ColumnTabPanel.d.ts +0 -1
- package/dist/ui/components/Dialogs/table-properties/RowTabPanel.d.ts +0 -1
- package/dist/ui/components/Dialogs/table-properties/TablePropertiesController.d.ts +0 -1
- package/dist/ui/components/Dialogs/table-properties/TablePropertiesTypes.d.ts +0 -1
- package/dist/ui/components/Dialogs/table-properties/TableTabPanel.d.ts +0 -1
- package/dist/ui/components/Dialogs/table-properties/fields.d.ts +0 -1
- package/dist/ui/components/Dialogs/table-properties/useTablePropertiesController.d.ts +0 -1
- package/dist/ui/components/DropCaret.d.ts +0 -1
- package/dist/ui/components/FindReplace/FindReplaceDialog.d.ts +0 -1
- package/dist/ui/components/FloatingToolbar/FloatingLayoutOptions.d.ts +0 -1
- package/dist/ui/components/Menubar/Menubar.d.ts +0 -1
- package/dist/ui/components/Menubar/defaultMenuItems.d.ts +0 -1
- package/dist/ui/components/Menubar/menuRegistry.d.ts +0 -1
- package/dist/ui/components/OasisBrandMark.d.ts +0 -1
- package/dist/ui/components/Outline/OutlinePanel.d.ts +0 -1
- package/dist/ui/components/PageBreak.d.ts +0 -1
- package/dist/ui/components/PluginUi/PluginUiHost.d.ts +0 -1
- package/dist/ui/components/RevisionOverlay.d.ts +0 -1
- package/dist/ui/components/Ruler/HorizontalRuler.d.ts +0 -1
- package/dist/ui/components/Ruler/rulerGeometry.d.ts +0 -1
- package/dist/ui/components/SelectionOverlay.d.ts +0 -1
- package/dist/ui/components/Tabs/Tabs.d.ts +0 -1
- package/dist/ui/components/TitleBar/TitleBar.d.ts +0 -1
- package/dist/ui/components/Toolbar/DesignGallery.d.ts +0 -1
- package/dist/ui/components/Toolbar/LineSpacingButton.d.ts +0 -1
- package/dist/ui/components/Toolbar/ShapeGallery.d.ts +0 -1
- package/dist/ui/components/Toolbar/StyleGallery.d.ts +0 -1
- package/dist/ui/components/Toolbar/SymbolMenu.d.ts +0 -1
- package/dist/ui/components/Toolbar/TableBordersMenu.d.ts +0 -1
- package/dist/ui/components/Toolbar/TableStyleGallery.d.ts +0 -1
- package/dist/ui/components/Toolbar/TableStyleOptions.d.ts +0 -1
- package/dist/ui/components/Toolbar/Toolbar.d.ts +0 -1
- package/dist/ui/components/Toolbar/ToolbarOverflowManager.d.ts +0 -1
- package/dist/ui/components/Toolbar/controls/ImageSizeControls.d.ts +0 -1
- package/dist/ui/components/Toolbar/controls/ListOptionsControl.d.ts +0 -1
- package/dist/ui/components/Toolbar/controls/UnderlineControl.d.ts +0 -1
- package/dist/ui/components/Toolbar/groups/MarginsGroup.d.ts +0 -1
- package/dist/ui/components/Toolbar/groups/MetricGroup.d.ts +0 -1
- package/dist/ui/components/Toolbar/groups/SectionGroup.d.ts +0 -1
- package/dist/ui/components/Toolbar/marginPresets.d.ts +0 -1
- package/dist/ui/components/Toolbar/pictureBorderPresets.d.ts +0 -1
- package/dist/ui/components/Toolbar/presets/defaultPalette.d.ts +0 -1
- package/dist/ui/components/Toolbar/presets/defaultToolbar/buttonSpecs.d.ts +0 -1
- package/dist/ui/components/Toolbar/presets/defaultToolbar/optionBuilders.d.ts +0 -1
- package/dist/ui/components/Toolbar/presets/defaultToolbar/ribbonPlacements.d.ts +0 -1
- package/dist/ui/components/Toolbar/presets/defaultToolbar.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/Button.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/ColorGrids.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/ColorPicker.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/DropdownChevron.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/GridPicker.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/Menu.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/PictureBorderPicker.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/Popover.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/Select.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/Separator.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/SplitButton.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/WideMenuButton.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/useDismiss.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/usePopoverPosition.d.ts +0 -1
- package/dist/ui/components/Toolbar/primitives/useSurfaceRect.d.ts +0 -1
- package/dist/ui/components/Toolbar/recentSymbols.d.ts +0 -1
- package/dist/ui/components/Toolbar/registry/ToolbarRegistry.d.ts +0 -1
- package/dist/ui/components/Toolbar/renderers/renderers.d.ts +0 -1
- package/dist/ui/components/Toolbar/ribbon/RibbonGroup.d.ts +0 -1
- package/dist/ui/components/Toolbar/ribbon/RibbonPanel.d.ts +0 -1
- package/dist/ui/components/Toolbar/ribbon/RibbonRow.d.ts +0 -1
- package/dist/ui/components/Toolbar/ribbon/RibbonTabs.d.ts +0 -1
- package/dist/ui/components/Toolbar/ribbon/ribbonModel.d.ts +0 -1
- package/dist/ui/components/Toolbar/schema/items.d.ts +0 -1
- package/dist/ui/components/Toolbar/shapeCatalog.d.ts +0 -1
- package/dist/ui/components/Toolbar/shapePreview.d.ts +0 -1
- package/dist/ui/components/Toolbar/state/bindItem.d.ts +0 -1
- package/dist/ui/components/Toolbar/state/createToolbarApi.d.ts +0 -1
- package/dist/ui/components/Toolbar/symbolCatalog.d.ts +0 -1
- package/dist/ui/components/Toolbar/underlineStyles.d.ts +0 -1
- package/dist/ui/components/WelcomeOverlay.d.ts +0 -1
- package/dist/ui/cropGeometry.d.ts +0 -1
- package/dist/ui/editorHistory.d.ts +0 -1
- package/dist/ui/imageGeometry.d.ts +0 -1
- package/dist/ui/layoutIdentity.d.ts +0 -1
- package/dist/ui/layoutInvalidation.d.ts +0 -1
- package/dist/ui/math/mathPainter.d.ts +0 -1
- package/dist/ui/mount.d.ts +0 -1
- package/dist/ui/overlays/ImageCropPreviewOverlay.d.ts +0 -1
- package/dist/ui/overlays/ResizeHandlesOverlay.d.ts +0 -1
- package/dist/ui/overlays/TableHandlesOverlay.d.ts +0 -1
- package/dist/ui/public/ActionRow.d.ts +0 -1
- package/dist/ui/public/Button.d.ts +0 -1
- package/dist/ui/public/Checkbox.d.ts +0 -1
- package/dist/ui/public/ColorField.d.ts +0 -1
- package/dist/ui/public/DialogFooter.d.ts +0 -1
- package/dist/ui/public/FieldGroup.d.ts +0 -1
- package/dist/ui/public/FieldRow.d.ts +0 -1
- package/dist/ui/public/FloatingActionButton.d.ts +0 -1
- package/dist/ui/public/FormField.d.ts +0 -1
- package/dist/ui/public/Grid.d.ts +0 -1
- package/dist/ui/public/Heading.d.ts +0 -1
- package/dist/ui/public/IconButton.d.ts +0 -1
- package/dist/ui/public/NumberField.d.ts +0 -1
- package/dist/ui/public/Radio.d.ts +0 -1
- package/dist/ui/public/SelectField.d.ts +0 -1
- package/dist/ui/public/SidePanel.d.ts +0 -1
- package/dist/ui/public/Stack.d.ts +0 -1
- package/dist/ui/public/StatusText.d.ts +0 -1
- package/dist/ui/public/SurfaceButton.d.ts +0 -1
- package/dist/ui/public/Text.d.ts +0 -1
- package/dist/ui/public/TextAreaField.d.ts +0 -1
- package/dist/ui/public/TextField.d.ts +0 -1
- package/dist/ui/public/ToggleChip.d.ts +0 -1
- package/dist/ui/public/layoutTypes.d.ts +0 -1
- package/dist/ui/shells/BalloonShell.d.ts +0 -1
- package/dist/ui/shells/DocumentShell.d.ts +0 -1
- package/dist/ui/shells/InlineShell.d.ts +0 -1
- package/dist/ui/tableGeometry.d.ts +0 -1
- package/dist/ui/tableUiUtils.d.ts +0 -1
- package/dist/ui/textMeasurement/alignment.d.ts +0 -1
- package/dist/ui/textMeasurement/characterWidth.d.ts +0 -1
- package/dist/ui/textMeasurement/composer.d.ts +0 -1
- package/dist/ui/textMeasurement/fontMetrics.d.ts +0 -1
- package/dist/ui/textMeasurement/indentation.d.ts +0 -1
- package/dist/ui/textMeasurement/layoutLine.d.ts +0 -1
- package/dist/ui/textMeasurement/lineFlow.d.ts +0 -1
- package/dist/ui/textMeasurement/paragraphLineHeight.d.ts +0 -1
- package/dist/ui/textMeasurement/tabStops.d.ts +0 -1
- package/dist/ui/textMeasurement/tokenizer.d.ts +0 -1
- package/dist/ui/textMeasurement/types.d.ts +0 -1
- package/dist/ui/textMeasurement.d.ts +0 -1
- package/dist/ui/toolbarStyleState.d.ts +0 -1
- package/dist/ui/utils/customIcons.d.ts +0 -1
- package/dist/ui.js +2 -40
- package/dist/vue.d.ts +0 -1
- package/dist/vue.js +28 -24
- package/package.json +26 -24
- package/dist/OasisEditorApp-CQRNpkya.js +0 -59252
- package/dist/assets/importDocxWorker-D5fxy-0f.js +0 -12
- package/dist/index-K-7FcXvb.js +0 -57432
- package/dist/mountController-D2srsZ5t.js +0 -15
package/dist/core/Editor.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { EditorState, EditorDocument } from './model.js';
|
|
|
2
2
|
import { CommandRegistry } from './commands/CommandRegistry.js';
|
|
3
3
|
import { PluginUiRegistry } from './plugins/PluginUiRegistry.js';
|
|
4
4
|
import { OasisEditor, OasisPlugin } from './plugin.js';
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Options accepted by the synchronous `new Editor(...)` path. Plugins are
|
|
8
7
|
* deliberately absent: they need async initialization and so are only valid via
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorEndnote, EditorEndnotes, EditorFootnote, EditorFootnotes, EditorSection, EditorState } from './model.js';
|
|
2
|
-
|
|
3
2
|
export declare function cloneBlock(block: EditorBlockNode): EditorBlockNode;
|
|
4
3
|
export declare const cloneDocumentBlock: typeof cloneBlock;
|
|
5
4
|
export declare function cloneSection(section: EditorSection): EditorSection;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EditorParagraphStyle, EditorPosition, EditorState, EditorSection, EditorTabStop } from '../model.js';
|
|
2
2
|
import { ValueParagraphStyleKey } from '../textStyle/textStyleKeys.js';
|
|
3
|
-
|
|
4
3
|
export declare function moveBlockToPosition(state: EditorState, blockId: string, targetPosition: EditorPosition): EditorState;
|
|
5
4
|
export declare function splitBlockAtSelection(state: EditorState): EditorState;
|
|
6
5
|
export declare function insertPageBreakAtSelection(state: EditorState): EditorState;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const OASIS_BUILTIN_COMMANDS: readonly ["selectAll", "insertFootnote", "insertText", "insertEquation", "updateEquation", "insertTableOfContents", "updateTableOfContents", "pastePlainText", "bold", "italic", "underline", "strike", "superscript", "subscript", "link", "unlink", "alignLeft", "alignCenter", "alignRight", "alignJustify", "orderedList", "bulletList", "find", "replace", "toggleTrackChanges", "acceptRevisions", "rejectRevisions", "toggleShowMargins", "toggleShowParagraphMarks", "togglePreciseFonts", "undo", "redo", "pageBreak", "lineBreak", "splitBlock", "setFontFamily", "setFontSize", "increaseFontSize", "decreaseFontSize", "changeTextCase", "clearFormatting", "setColor", "setHighlight", "setTextShading", "setStyleId", "setCharacterStyleId", "setUnderlineStyle", "documentStyles", "print", "copy", "newDocument", "exportDocx", "exportPdf", "importDocument", "insertImage", "editImageAlt", "insertImageCaption", "imageContext", "imageWidthCm", "imageHeightCm", "imageCrop", "imageCropAspect", "imageCropShape", "imageCropFill", "imageCropFit", "imageCropReset", "imageBorder", "outdent", "indent", "togglePageBreakBefore", "toggleKeepWithNext", "setSpacingAfter", "setSpacingBefore", "setIndentLeft", "setIndentRight", "setIndentFirstLine", "setIndentHanging", "setSpecialIndent", "setParagraphShading", "applyParagraphBorders", "setLineHeight", "setListFormat", "setListStartAt", "toggleOrientation", "setOrientation", "sectionBreakNextPage", "sectionBreakContinuous", "setPageMargins", "applyDocumentTheme", "setDocumentColorScheme", "setDocumentFontScheme", "setDocumentParagraphSpacing", "setDocumentEffects", "setDocumentPageColor", "setDocumentWatermark", "setDocumentPageBorder", "setDocumentDesignDefault", "tableContext", "tableMerge", "tableSplit", "tableInsertColumnBefore", "tableInsertColumnAfter", "tableDeleteColumn", "tableInsertRowBefore", "tableInsertRowAfter", "tableDeleteRow", "tableCellShading", "tableCellBorders", "tableCellNoBorders", "tableApplyBorderPreset", "toggleTableDrawBorders", "toggleTableGridlines", "tableWidth100", "tableAlignLeft", "tableAlignCenter", "tableAlignRight", "tableSetCellWidth", "tableToggleHeaderRow", "tableToggleTotalRow", "tableToggleBandedRows", "tableToggleFirstColumn", "tableToggleLastColumn", "tableToggleBandedColumns", "setTableStyle", "tableToggleAutoFit", "tableDistributeColumns", "tableDistributeRows", "insertTable", "insertShape", "openSymbolDialog", "openEquationDialog"];
|
|
1
|
+
export declare const OASIS_BUILTIN_COMMANDS: readonly ["selectAll", "insertFootnote", "insertText", "insertEquation", "updateEquation", "insertTableOfContents", "updateTableOfContents", "pastePlainText", "bold", "italic", "underline", "strike", "superscript", "subscript", "link", "unlink", "alignLeft", "alignCenter", "alignRight", "alignJustify", "orderedList", "bulletList", "find", "replace", "toggleTrackChanges", "acceptRevisions", "rejectRevisions", "toggleShowMargins", "toggleShowParagraphMarks", "togglePreciseFonts", "undo", "redo", "pageBreak", "lineBreak", "splitBlock", "setFontFamily", "setFontSize", "increaseFontSize", "decreaseFontSize", "changeTextCase", "clearFormatting", "setColor", "setHighlight", "setTextShading", "setStyleId", "setCharacterStyleId", "setUnderlineStyle", "documentStyles", "print", "copy", "newDocument", "exportDocx", "exportPdf", "importDocument", "insertHtml", "insertImage", "editImageAlt", "insertImageCaption", "imageContext", "imageWidthCm", "imageHeightCm", "imageCrop", "imageCropAspect", "imageCropShape", "imageCropFill", "imageCropFit", "imageCropReset", "imageBorder", "outdent", "indent", "togglePageBreakBefore", "toggleKeepWithNext", "setSpacingAfter", "setSpacingBefore", "setIndentLeft", "setIndentRight", "setIndentFirstLine", "setIndentHanging", "setSpecialIndent", "setParagraphShading", "applyParagraphBorders", "setLineHeight", "setListFormat", "setListStartAt", "toggleOrientation", "setOrientation", "sectionBreakNextPage", "sectionBreakContinuous", "setPageMargins", "applyDocumentTheme", "setDocumentColorScheme", "setDocumentFontScheme", "setDocumentParagraphSpacing", "setDocumentEffects", "setDocumentPageColor", "setDocumentWatermark", "setDocumentPageBorder", "setDocumentDesignDefault", "tableContext", "tableMerge", "tableSplit", "tableInsertColumnBefore", "tableInsertColumnAfter", "tableDeleteColumn", "tableInsertRowBefore", "tableInsertRowAfter", "tableDeleteRow", "tableCellShading", "tableCellBorders", "tableCellNoBorders", "tableApplyBorderPreset", "toggleTableDrawBorders", "toggleTableGridlines", "tableWidth100", "tableAlignLeft", "tableAlignCenter", "tableAlignRight", "tableSetCellWidth", "tableToggleHeaderRow", "tableToggleTotalRow", "tableToggleBandedRows", "tableToggleFirstColumn", "tableToggleLastColumn", "tableToggleBandedColumns", "setTableStyle", "tableToggleAutoFit", "tableDistributeColumns", "tableDistributeRows", "insertTable", "insertShape", "openSymbolDialog", "openEquationDialog"];
|
|
2
2
|
export type OasisBuiltinCommand = (typeof OASIS_BUILTIN_COMMANDS)[number];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorDocumentDesign, EditorPageBorder, EditorState, EditorWatermark } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export type DesignThemeId = NonNullable<EditorDocumentDesign["themeId"]>;
|
|
4
3
|
export declare function setDocumentDesign(state: EditorState, patch: Partial<EditorDocumentDesign>): EditorState;
|
|
5
4
|
export declare function setDocumentFontScheme(state: EditorState, value: string): EditorState;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorState } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function toggleTrackChanges(state: EditorState): EditorState;
|
|
4
3
|
export declare function acceptRevision(state: EditorState, revisionId: string): EditorState;
|
|
5
4
|
export declare function rejectRevision(state: EditorState, revisionId: string): EditorState;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EditorState } from '../model.js';
|
|
2
|
+
/**
|
|
3
|
+
* Inserts an HTML fragment at the caret, replacing the current selection.
|
|
4
|
+
* A single document-state transaction preserves table blocks and nested tables.
|
|
5
|
+
*/
|
|
6
|
+
export declare function insertHtmlAtSelection(state: EditorState, html: string): EditorState;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EditorPosition, EditorState, EditorImageRunData, EditorImageBorder, EditorImageCrop, EditorImageCropShape, EditorLineDash } from '../model.js';
|
|
2
2
|
import { SelectedObjectRun } from './selectedObjectRun.js';
|
|
3
3
|
import { WrapPreset } from './floatingLayout.js';
|
|
4
|
-
|
|
5
4
|
export type SelectedImageRun = SelectedObjectRun;
|
|
6
5
|
export declare function getSelectedImageRun(state: EditorState): SelectedImageRun | null;
|
|
7
6
|
export declare function insertImageAtSelection(state: EditorState, image: EditorImageRunData): EditorState;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EditorParagraphListStyle, EditorState } from '../model.js';
|
|
2
2
|
import { ParagraphListKind } from '../textStyle/textStyleKeys.js';
|
|
3
|
-
|
|
4
3
|
export declare function splitListItemAtSelection(state: EditorState): EditorState;
|
|
5
4
|
export declare function clearParagraphListAtSelection(state: EditorState): EditorState;
|
|
6
5
|
export declare function indentParagraphList(state: EditorState): EditorState;
|
|
@@ -3,7 +3,6 @@ import { EditorPageMargins, EditorMathExpression, EditorPageBorder, EditorWaterm
|
|
|
3
3
|
import { TextCaseMode } from './text.js';
|
|
4
4
|
import { TableBorderPreset } from './table.js';
|
|
5
5
|
import { DesignThemeId } from './design.js';
|
|
6
|
-
|
|
7
6
|
/** Payload for the `insertTable` command. */
|
|
8
7
|
export interface InsertTablePayload {
|
|
9
8
|
rows: number;
|
|
@@ -86,6 +85,9 @@ export interface OasisCommandPayloads {
|
|
|
86
85
|
exportDocx: undefined;
|
|
87
86
|
exportPdf: undefined;
|
|
88
87
|
importDocument: undefined;
|
|
88
|
+
insertHtml: {
|
|
89
|
+
html: string;
|
|
90
|
+
};
|
|
89
91
|
insertImage: undefined;
|
|
90
92
|
editImageAlt: undefined;
|
|
91
93
|
insertImageCaption: undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorSelection, EditorState } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function getSelectedText(state: EditorState): string;
|
|
4
3
|
export declare function setSelection(state: EditorState, selection: EditorSelection): EditorState;
|
|
5
4
|
export declare function moveSelectionLeft(state: EditorState): EditorState;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorBorderStyle, EditorState, EditorTableCellStyle } from '../../model.js';
|
|
2
|
-
|
|
3
2
|
export type TableBorderPreset = "bottom" | "top" | "left" | "right" | "none" | "all" | "outside" | "inside" | "insideHorizontal" | "insideVertical" | "diagonalDown" | "diagonalUp";
|
|
4
3
|
/** Word's default border: black, solid, one half point. */
|
|
5
4
|
export declare const DEFAULT_TABLE_BORDER: EditorBorderStyle;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorState } from '../../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function setTableColumnWidths(state: EditorState, tableId: string, columnWidths: Record<number, number | string>, tableWidth?: number | string, tableIndentLeft?: number | string): EditorState;
|
|
4
3
|
/**
|
|
5
4
|
* Equalize the widths of every visual column in the active table (Word's
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorDocument, EditorEditingZone, EditorState, EditorTableNode, TableLocation, TablePathSegment, EditorRevisionMetadata } from '../../model.js';
|
|
2
|
-
|
|
3
2
|
export type StylePatchValue<T, K extends keyof T> = T[K] | null;
|
|
4
3
|
export interface ActiveTableLocation {
|
|
5
4
|
activeSectionIndex: number;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorState, EditorTableFloatingLayout } from '../../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function setSelectedTableFloatingLayout(state: EditorState, floating: EditorTableFloatingLayout | null): EditorState;
|
|
4
3
|
export declare function setActiveTableFloatingLayout(state: EditorState, tableId: string, floating: EditorTableFloatingLayout | null): EditorState;
|
|
5
4
|
export declare function moveActiveFloatingTable(state: EditorState, tableId: string, deltaXPoints: number, deltaYPoints: number): EditorState;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorState, EditorTableRowStyle } from '../../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function setSelectedTableRowStyleValue<K extends keyof EditorTableRowStyle>(state: EditorState, key: K, value: EditorTableRowStyle[K] | null): EditorState;
|
|
4
3
|
export declare function setSelectedTableRowHeader(state: EditorState, value: boolean | null): EditorState;
|
|
5
4
|
export declare function setTableRowHeight(state: EditorState, tableId: string, rowIndex: number, height: number | string | null): EditorState;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { EditorState, EditorTableStyle } from '../../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function setTableStyleValue<K extends keyof EditorTableStyle>(state: EditorState, key: K, value: EditorTableStyle[K] | null): EditorState;
|
|
4
3
|
export declare function setActiveTableStyleValue<K extends keyof EditorTableStyle>(state: EditorState, tableId: string, key: K, value: EditorTableStyle[K] | null): EditorState;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EditorState } from '../model.js';
|
|
2
2
|
import { SelectedObjectRun } from './selectedObjectRun.js';
|
|
3
3
|
import { WrapPreset } from './floatingLayout.js';
|
|
4
|
-
|
|
5
4
|
export type SelectedTextBoxRun = SelectedObjectRun;
|
|
6
5
|
export declare function getSelectedTextBoxRun(state: EditorState): SelectedTextBoxRun | null;
|
|
7
6
|
export interface ResizeTextBoxOptions {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EditorState, EditorTextStyle } from '../model.js';
|
|
2
2
|
import { ToggleableTextStyleKey, ValueTextStyleKey } from '../textStyle/textStyleKeys.js';
|
|
3
|
-
|
|
4
3
|
export declare function toggleTextStyle(state: EditorState, key: ToggleableTextStyleKey): EditorState;
|
|
5
4
|
/**
|
|
6
5
|
* Remove direct (local) text formatting from the selected runs, preserving the
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorParagraphNode, EditorSection, EditorSelection, EditorState, EditorTableCellNode } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function blocksContainTables(nodes: EditorBlockNode[]): boolean;
|
|
4
3
|
export declare function replaceParagraphsInBlocks(blocks: EditorBlockNode[], newParagraphs: EditorParagraphNode[]): EditorBlockNode[];
|
|
5
4
|
export declare function replaceParagraphsInSection(section: EditorSection, paragraphs: EditorParagraphNode[], zone: "main" | "header" | "footer"): EditorSection;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorParagraphListStyle, EditorParagraphNode, EditorTextBoxData, EditorTextRun, EditorMathExpression } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function cloneTextBox(textBox: EditorTextBoxData): EditorTextBoxData;
|
|
4
3
|
export declare function cloneMathExpression(expression: EditorMathExpression): EditorMathExpression;
|
|
5
4
|
export declare function cloneRun(run: EditorTextRun): EditorTextRun;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorDocument, EditorParagraphNode } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare const IMAGE_CAPTION_STYLE_ID = "Caption";
|
|
4
3
|
export declare const IMAGE_CAPTION_FIELD_IDENTIFIER = "Figure";
|
|
5
4
|
export declare const IMAGE_CAPTION_FIELD_INSTRUCTION = " SEQ Figure \\* ARABIC ";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorParagraphNode, EditorTextRun, EditorTextStyle } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function normalizeRuns(runs: EditorTextRun[], fallbackStyles?: EditorTextStyle): EditorTextRun[];
|
|
4
3
|
export declare function buildParagraphFromRuns(paragraph: EditorParagraphNode, runs: EditorTextRun[], fallbackStyles?: EditorTextStyle): EditorParagraphNode;
|
|
5
4
|
export declare function createParagraphFromRuns(textRuns: Array<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorParagraphNode, EditorTextRun, EditorTextStyle } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function getStyleAtOffset(paragraph: EditorParagraphNode, offset: number): EditorTextStyle | undefined;
|
|
4
3
|
export declare function getRunAtOffset(paragraph: EditorParagraphNode, offset: number): {
|
|
5
4
|
run: EditorTextRun;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorDocument } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export type EditorTrackedRevisionAction = "accept" | "reject";
|
|
4
3
|
export type EditorTrackedRevisionView = "final" | "original";
|
|
5
4
|
export type EditorTrackedRevisionIssueKind = "revision-not-found" | "numbering-original-unavailable" | "structural-removal-unavailable" | "cell-merge-original-unavailable" | "table-property-exception-original-unavailable";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorAsset, EditorBlockNode, EditorDocument, EditorNamedStyle, EditorPageSettings, EditorSection } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function createEditorDocument(blocks: EditorBlockNode[], pageSettings?: EditorPageSettings, sections?: EditorSection[], styles?: Record<string, EditorNamedStyle>, metadata?: {
|
|
4
3
|
title?: string;
|
|
5
4
|
[key: string]: unknown;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorFootnote, EditorParagraphNode, EditorTableCellNode, EditorTableNode, EditorTableRowNode, EditorTextRun, EditorTextStyle, EditorTextBoxData, EditorImageRunData } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export type EditorNodeKind = "document" | "paragraph" | "run" | "table" | "table-row" | "table-cell" | "footnote" | "bookmark" | "comment" | "sdt";
|
|
4
3
|
/**
|
|
5
4
|
* Single authority for editor node IDs. Stateless and globally unique, so two
|
package/dist/core/endnotes.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorDocument, EditorEndnote, EditorEndnotes, EditorParagraphNode, EditorTextRun } from './model.js';
|
|
2
|
-
|
|
3
2
|
export declare function iterateEndnoteReferenceRuns(document: EditorDocument): Generator<{
|
|
4
3
|
paragraph: EditorParagraphNode;
|
|
5
4
|
run: EditorTextRun;
|
package/dist/core/engine.d.ts
CHANGED
package/dist/core/footnotes.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorDocument, EditorFootnote, EditorFootnoteNumberFormat, EditorFootnotes, EditorParagraphNode, EditorTextRun } from './model.js';
|
|
2
|
-
|
|
3
2
|
export declare function iterateFootnoteReferenceRuns(document: EditorDocument): Generator<{
|
|
4
3
|
paragraph: EditorParagraphNode;
|
|
5
4
|
run: EditorTextRun;
|
package/dist/core/headings.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorDocument, EditorTextRun } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function serializeImageRunToHtml(run: EditorTextRun, document?: Pick<EditorDocument, "assets">): string;
|
|
4
3
|
export declare function serializeTextRunToHtml(run: EditorTextRun, document?: Pick<EditorDocument, "assets">): string;
|
|
5
4
|
export declare function serializeParagraphRunsToHtml(runs: EditorTextRun[], document?: Pick<EditorDocument, "assets">): string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Safe subset of hyperlink destinations for imported/exported HTML.
|
|
3
|
+
* Preserve local anchors, relative URLs, and ordinary web/mail/phone links,
|
|
4
|
+
* but never emit executable schemes such as javascript: or data:.
|
|
5
|
+
*/
|
|
6
|
+
export declare function isAllowedHtmlHref(href: string): boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorParagraphStyle, EditorTextStyle } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function textRunStylesToCss(style?: EditorTextStyle): string;
|
|
4
3
|
export declare function getPrimaryTextLanguage(language: EditorTextStyle["language"]): string | null;
|
|
5
4
|
export declare function paragraphStyleToCssText(style?: EditorParagraphStyle): string;
|
package/dist/core/lineDash.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorMathExpression, EditorMathNode } from '../model.js';
|
|
2
|
-
|
|
3
2
|
export declare function parseLinearMath(linear: string): EditorMathExpression;
|
|
4
3
|
export declare function serializeLinearMathNodes(nodes: EditorMathNode[]): string;
|
|
5
4
|
export declare function serializeLinearMath(expression: EditorMathExpression): string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorParagraphNode, EditorTableCellNode, EditorTableNode } from './types/nodes.js';
|
|
2
2
|
import { EditorDocument } from './types/document.js';
|
|
3
3
|
import { EditorEditingZone } from './types/selection.js';
|
|
4
|
-
|
|
5
4
|
export interface EditorParagraphLocation {
|
|
6
5
|
sectionIndex: number;
|
|
7
6
|
zone: EditorEditingZone;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorParagraphNode } from './types/nodes.js';
|
|
2
2
|
import { EditorState } from './editorState.js';
|
|
3
3
|
import { EditorEditingZone } from './types/selection.js';
|
|
4
|
-
|
|
5
4
|
export declare function getActiveSectionIndex(state: EditorState): number;
|
|
6
5
|
export declare function getActiveZone(state: EditorState): EditorEditingZone;
|
|
7
6
|
/**
|
|
@@ -24,3 +23,13 @@ export declare function getActiveSectionBlocks(state: EditorState): EditorBlockN
|
|
|
24
23
|
* callers don't need to know about both helpers.
|
|
25
24
|
*/
|
|
26
25
|
export declare function getParagraphs(state: EditorState): EditorParagraphNode[];
|
|
26
|
+
/**
|
|
27
|
+
* Points `activeSectionIndex` at the section that owns the selection.
|
|
28
|
+
*
|
|
29
|
+
* The editable paragraph stream is scoped to one section, so a selection whose
|
|
30
|
+
* paragraphs live in another section (e.g. a click on a page of section 2) would
|
|
31
|
+
* resolve against the wrong stream: no selection highlight, wrong commands.
|
|
32
|
+
* Leaves the state untouched when anchor and focus sit in different sections or
|
|
33
|
+
* zones, which the per-section stream cannot represent.
|
|
34
|
+
*/
|
|
35
|
+
export declare function syncActiveSectionToSelection(state: EditorState): EditorState;
|
|
@@ -35,4 +35,4 @@ export { DocumentIndexBuilder, getDocumentParagraphIndex, getDocumentParagraphs,
|
|
|
35
35
|
export type { EditorParagraphLocation, TableLocation, TablePathSegment, DocumentParagraphIndexEntry, DocumentIndexCache, } from './documentIndex.js';
|
|
36
36
|
export { getBlockParagraphs, collectSectionParagraphs, } from './paragraphWalker.js';
|
|
37
37
|
export { buildListLabels, resolveListLabel } from './listNumbering.js';
|
|
38
|
-
export { getActiveSectionIndex, getActiveZone, getEditableBlocksForZone, tryGetEditableBlocksForZone, getActiveSectionBlocks, getParagraphs, } from './editingZones.js';
|
|
38
|
+
export { getActiveSectionIndex, getActiveZone, getEditableBlocksForZone, tryGetEditableBlocksForZone, getActiveSectionBlocks, getParagraphs, syncActiveSectionToSelection, } from './editingZones.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorDocument } from './types/document.js';
|
|
2
2
|
import { EditorParagraphNode } from './types/nodes.js';
|
|
3
|
-
|
|
4
3
|
export declare function buildListLabels(document: EditorDocument): Map<string, string>;
|
|
5
4
|
export declare function resolveListLabel(paragraph: EditorParagraphNode, labels: Map<string, string>): string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorDocument, EditorPageSettings } from './types/document.js';
|
|
2
|
-
|
|
3
2
|
export declare const DEFAULT_EDITOR_PAGE_SETTINGS: EditorPageSettings;
|
|
4
3
|
export declare function normalizePageSettings(pageSettings: EditorPageSettings): EditorPageSettings;
|
|
5
4
|
export declare function getDocumentPageSettings(document: EditorDocument): EditorPageSettings;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorBlockNode, EditorParagraphNode } from './types/nodes.js';
|
|
2
2
|
import { EditorSection } from './types/document.js';
|
|
3
|
-
|
|
4
3
|
export declare function getBlockParagraphs(block: EditorBlockNode): EditorParagraphNode[];
|
|
5
4
|
export declare function collectSectionParagraphs(section: EditorSection): EditorParagraphNode[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EditorParagraphNode } from './types/nodes.js';
|
|
2
2
|
import { EditorPosition } from './types/selection.js';
|
|
3
|
-
|
|
4
3
|
export declare function getParagraphText(paragraph: EditorParagraphNode): string;
|
|
5
4
|
export declare function getParagraphLength(paragraph: EditorParagraphNode): number;
|
|
6
5
|
export declare function getRunIndex(paragraph: EditorParagraphNode, runId: string): number;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EditorTextBoxData, EditorTextRun } from './types/nodes.js';
|
|
2
2
|
import { EditorMathExpression } from './types/math.js';
|
|
3
3
|
import { EditorFieldChar, EditorFieldData, EditorImageRunData, EditorFootnoteReferenceData, EditorEndnoteReferenceData } from './types/primitives.js';
|
|
4
|
-
|
|
5
4
|
/**
|
|
6
5
|
* Discriminant of an {@link EditorTextRun}. `EditorTextRun` is a discriminated
|
|
7
6
|
* union keyed on `kind`; `getRunKind`/`visitRun` are thin helpers over it so
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EditorTextStyle, EditorParagraphStyle } from './types/styles.js';
|
|
2
|
-
|
|
3
2
|
export declare const DEFAULT_TEXT_STYLE: Required<EditorTextStyle>;
|
|
4
3
|
export declare const EFFECTIVE_TEXT_STYLE_DEFAULTS: Required<EditorTextStyle>;
|
|
5
4
|
export declare const DEFAULT_PARAGRAPH_STYLE: Required<EditorParagraphStyle>;
|
|
@@ -6,7 +6,6 @@ import { EditorBookmarks } from './documentBookmarks.js';
|
|
|
6
6
|
import { EditorComments } from './documentComments.js';
|
|
7
7
|
import { EditorNamedStyle } from './styles.js';
|
|
8
8
|
import { EditorDocxSourcePackage } from './docxSourcePackage.js';
|
|
9
|
-
|
|
10
9
|
export interface EditorPageMargins {
|
|
11
10
|
top: number;
|
|
12
11
|
right: number;
|
|
@@ -3,7 +3,6 @@ import { EditorMathExpression } from './math.js';
|
|
|
3
3
|
import { EditorPageSettings } from './document.js';
|
|
4
4
|
import { EditorRevision, EditorImageRunData } from './primitives.js';
|
|
5
5
|
import { EditorTextStyle } from './styles.js';
|
|
6
|
-
|
|
7
6
|
export interface EditorCaretSlot {
|
|
8
7
|
paragraphId: string;
|
|
9
8
|
offset: number;
|