superdoc 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +337 -0
- package/LICENSE +661 -0
- package/NOTICE +8 -0
- package/README.md +107 -0
- package/dist/chunks/FindReplaceSurface-BEW-1NhM.es.js +344 -0
- package/dist/chunks/FindReplaceSurface-DLxnCQOB.cjs +346 -0
- package/dist/chunks/PasswordPromptSurface-BA6HHqEa.es.js +111 -0
- package/dist/chunks/PasswordPromptSurface-DMbfDvpQ.cjs +113 -0
- package/dist/chunks/PdfViewer-CNOtyS-I.es.js +531 -0
- package/dist/chunks/PdfViewer-CoFiGAhm.cjs +535 -0
- package/dist/chunks/_plugin-vue_export-helper-BTwbGDKw.cjs +11 -0
- package/dist/chunks/_plugin-vue_export-helper-CInC0bKI.es.js +6 -0
- package/dist/chunks/blank-docx-CJAXnJKp.es.js +2 -0
- package/dist/chunks/blank-docx-DA-G-3VB.cjs +7 -0
- package/dist/chunks/constants-CY3R3_kF.es.js +3 -0
- package/dist/chunks/constants-sbCZ2O_A.cjs +14 -0
- package/dist/chunks/create-super-doc-ui-CXCqHc2m.cjs +9451 -0
- package/dist/chunks/create-super-doc-ui-fxF2Q8Ib.es.js +9188 -0
- package/dist/chunks/eventemitter3-B60Fsz-a.es.js +131 -0
- package/dist/chunks/eventemitter3-DCfwFVNn.cjs +137 -0
- package/dist/chunks/jszip-BdUBlUeG.cjs +4679 -0
- package/dist/chunks/jszip-DzmwAHr3.es.js +4650 -0
- package/dist/chunks/rolldown-runtime-BJVcqBbz.es.js +43 -0
- package/dist/chunks/rolldown-runtime-_dR15c8t.cjs +68 -0
- package/dist/chunks/uuid-B2Sqk-3p.es.js +32 -0
- package/dist/chunks/uuid-CFp0WGVU.cjs +38 -0
- package/dist/collaboration-upgrade-engine.cjs +37 -0
- package/dist/collaboration-upgrade-engine.es.js +30 -0
- package/dist/document-api/src/authorities/authorities.d.ts +29 -0
- package/dist/document-api/src/authorities/authorities.types.d.ts +113 -0
- package/dist/document-api/src/blocks/blocks.d.ts +29 -0
- package/dist/document-api/src/bookmarks/bookmarks.d.ts +15 -0
- package/dist/document-api/src/bookmarks/bookmarks.types.d.ts +82 -0
- package/dist/document-api/src/capabilities/capabilities.d.ts +82 -0
- package/dist/document-api/src/captions/captions.d.ts +17 -0
- package/dist/document-api/src/captions/captions.types.d.ts +61 -0
- package/dist/document-api/src/citations/citations.d.ts +39 -0
- package/dist/document-api/src/citations/citations.types.d.ts +151 -0
- package/dist/document-api/src/clear-content/clear-content.d.ts +25 -0
- package/dist/document-api/src/clipboard/clipboard.d.ts +11 -0
- package/dist/document-api/src/comments/comments.d.ts +222 -0
- package/dist/document-api/src/comments/comments.types.d.ts +227 -0
- package/dist/document-api/src/content-controls/content-controls.d.ts +136 -0
- package/dist/document-api/src/content-controls/content-controls.types.d.ts +453 -0
- package/dist/document-api/src/contract/command-catalog.d.ts +17 -0
- package/dist/document-api/src/contract/index.d.ts +9 -0
- package/dist/document-api/src/contract/metadata-types.d.ts +30 -0
- package/dist/document-api/src/contract/operation-definitions.d.ts +3645 -0
- package/dist/document-api/src/contract/operation-map.d.ts +5 -0
- package/dist/document-api/src/contract/operation-registry.d.ts +2002 -0
- package/dist/document-api/src/contract/reference-aliases.d.ts +19 -0
- package/dist/document-api/src/contract/reference-doc-map.d.ts +12 -0
- package/dist/document-api/src/contract/schemas.d.ts +35 -0
- package/dist/document-api/src/contract/step-op-catalog.d.ts +26 -0
- package/dist/document-api/src/contract/types.d.ts +31 -0
- package/dist/document-api/src/create/create.d.ts +27 -0
- package/dist/document-api/src/cross-refs/cross-refs.d.ts +15 -0
- package/dist/document-api/src/cross-refs/cross-refs.types.d.ts +68 -0
- package/dist/document-api/src/customXml/customXml.d.ts +19 -0
- package/dist/document-api/src/customXml/customXml.types.d.ts +148 -0
- package/dist/document-api/src/delete/delete.d.ts +20 -0
- package/dist/document-api/src/diff/diff.d.ts +14 -0
- package/dist/document-api/src/diff/diff.types.d.ts +83 -0
- package/dist/document-api/src/diff/index.d.ts +3 -0
- package/dist/document-api/src/errors.d.ts +11 -0
- package/dist/document-api/src/export/export.d.ts +10 -0
- package/dist/document-api/src/export/export.types.d.ts +40 -0
- package/dist/document-api/src/extract/extract.d.ts +15 -0
- package/dist/document-api/src/fields/fields.d.ts +15 -0
- package/dist/document-api/src/fields/fields.types.d.ts +90 -0
- package/dist/document-api/src/find/find.d.ts +52 -0
- package/dist/document-api/src/footnotes/footnotes.d.ts +17 -0
- package/dist/document-api/src/footnotes/footnotes.types.d.ts +104 -0
- package/dist/document-api/src/format/format.d.ts +92 -0
- package/dist/document-api/src/format/inline-run-patch.d.ts +138 -0
- package/dist/document-api/src/get/get.d.ts +19 -0
- package/dist/document-api/src/get-html/get-html.d.ts +27 -0
- package/dist/document-api/src/get-markdown/get-markdown.d.ts +22 -0
- package/dist/document-api/src/get-node/get-node.d.ts +46 -0
- package/dist/document-api/src/get-text/get-text.d.ts +22 -0
- package/dist/document-api/src/header-footers/header-footers.d.ts +37 -0
- package/dist/document-api/src/header-footers/header-footers.types.d.ts +116 -0
- package/dist/document-api/src/history/history.d.ts +38 -0
- package/dist/document-api/src/history/history.types.d.ts +100 -0
- package/dist/document-api/src/hyperlinks/hyperlinks.d.ts +17 -0
- package/dist/document-api/src/hyperlinks/hyperlinks.types.d.ts +112 -0
- package/dist/document-api/src/images/images.d.ts +63 -0
- package/dist/document-api/src/images/images.types.d.ts +209 -0
- package/dist/document-api/src/images/z-order.d.ts +10 -0
- package/dist/document-api/src/index/index.d.ts +29 -0
- package/dist/document-api/src/index/index.types.d.ts +125 -0
- package/dist/document-api/src/index.d.ts +560 -0
- package/dist/document-api/src/info/info.d.ts +19 -0
- package/dist/document-api/src/inline-semantics/directives.d.ts +95 -0
- package/dist/document-api/src/inline-semantics/error-types.d.ts +68 -0
- package/dist/document-api/src/inline-semantics/index.d.ts +20 -0
- package/dist/document-api/src/inline-semantics/property-ids.d.ts +24 -0
- package/dist/document-api/src/inline-semantics/token-parsers.d.ts +59 -0
- package/dist/document-api/src/inline-semantics/token-sets.d.ts +34 -0
- package/dist/document-api/src/insert/insert.d.ts +65 -0
- package/dist/document-api/src/invoke/invoke.d.ts +17 -0
- package/dist/document-api/src/lists/lists.d.ts +100 -0
- package/dist/document-api/src/lists/lists.types.d.ts +499 -0
- package/dist/document-api/src/markdown-to-fragment/markdown-to-fragment.d.ts +15 -0
- package/dist/document-api/src/metadata/anchored-metadata.d.ts +33 -0
- package/dist/document-api/src/metadata/anchored-metadata.types.d.ts +175 -0
- package/dist/document-api/src/paragraphs/paragraphs.d.ts +84 -0
- package/dist/document-api/src/paragraphs/paragraphs.types.d.ts +214 -0
- package/dist/document-api/src/permission-ranges/permission-ranges.d.ts +15 -0
- package/dist/document-api/src/permission-ranges/permission-ranges.types.d.ts +49 -0
- package/dist/document-api/src/plan/plan.d.ts +73 -0
- package/dist/document-api/src/protection/protection.d.ts +11 -0
- package/dist/document-api/src/protection/protection.types.d.ts +47 -0
- package/dist/document-api/src/ranges/index.d.ts +2 -0
- package/dist/document-api/src/ranges/ranges.types.d.ts +121 -0
- package/dist/document-api/src/ranges/resolve.d.ts +2 -0
- package/dist/document-api/src/receipt-bridge.d.ts +30 -0
- package/dist/document-api/src/replace/replace.d.ts +24 -0
- package/dist/document-api/src/sections/sections.d.ts +42 -0
- package/dist/document-api/src/sections/sections.types.d.ts +236 -0
- package/dist/document-api/src/selection/selection.d.ts +23 -0
- package/dist/document-api/src/selection/selection.types.d.ts +85 -0
- package/dist/document-api/src/selection-mutation.d.ts +46 -0
- package/dist/document-api/src/styles/apply.d.ts +142 -0
- package/dist/document-api/src/styles/catalog.d.ts +154 -0
- package/dist/document-api/src/styles/index.d.ts +14 -0
- package/dist/document-api/src/styles/registry.d.ts +43 -0
- package/dist/document-api/src/styles/schema.d.ts +9 -0
- package/dist/document-api/src/styles/validation.d.ts +38 -0
- package/dist/document-api/src/tables/color-formats.d.ts +12 -0
- package/dist/document-api/src/tables/tables.d.ts +83 -0
- package/dist/document-api/src/templates/apply.d.ts +160 -0
- package/dist/document-api/src/templates/index.d.ts +7 -0
- package/dist/document-api/src/toc/toc.d.ts +25 -0
- package/dist/document-api/src/toc/toc.types.d.ts +247 -0
- package/dist/document-api/src/track-changes/track-changes.d.ts +177 -0
- package/dist/document-api/src/types/adapter-result.d.ts +10 -0
- package/dist/document-api/src/types/address.d.ts +169 -0
- package/dist/document-api/src/types/base.d.ts +89 -0
- package/dist/document-api/src/types/blocks.types.d.ts +190 -0
- package/dist/document-api/src/types/clipboard.d.ts +216 -0
- package/dist/document-api/src/types/comments.types.d.ts +17 -0
- package/dist/document-api/src/types/create.types.d.ts +56 -0
- package/dist/document-api/src/types/discovery.d.ts +99 -0
- package/dist/document-api/src/types/extract.types.d.ts +163 -0
- package/dist/document-api/src/types/fragment.d.ts +29 -0
- package/dist/document-api/src/types/index.d.ts +30 -0
- package/dist/document-api/src/types/info.types.d.ts +109 -0
- package/dist/document-api/src/types/inline.types.d.ts +28 -0
- package/dist/document-api/src/types/media.types.d.ts +72 -0
- package/dist/document-api/src/types/mutation-plan.types.d.ts +264 -0
- package/dist/document-api/src/types/node.d.ts +9 -0
- package/dist/document-api/src/types/paragraph.types.d.ts +61 -0
- package/dist/document-api/src/types/placement.d.ts +24 -0
- package/dist/document-api/src/types/query-match.types.d.ts +212 -0
- package/dist/document-api/src/types/query.d.ts +133 -0
- package/dist/document-api/src/types/receipt.d.ts +191 -0
- package/dist/document-api/src/types/references.types.d.ts +9 -0
- package/dist/document-api/src/types/sd-contract.d.ts +54 -0
- package/dist/document-api/src/types/sd-envelope.d.ts +59 -0
- package/dist/document-api/src/types/sd-nodes.d.ts +375 -0
- package/dist/document-api/src/types/sd-objects.d.ts +144 -0
- package/dist/document-api/src/types/sd-props.d.ts +240 -0
- package/dist/document-api/src/types/sd-sections.d.ts +126 -0
- package/dist/document-api/src/types/sd-styles.d.ts +36 -0
- package/dist/document-api/src/types/step-manifest.types.d.ts +30 -0
- package/dist/document-api/src/types/story.types.d.ts +123 -0
- package/dist/document-api/src/types/structural-input.d.ts +40 -0
- package/dist/document-api/src/types/structured.types.d.ts +21 -0
- package/dist/document-api/src/types/style-policy.types.d.ts +49 -0
- package/dist/document-api/src/types/table-operations.types.d.ts +618 -0
- package/dist/document-api/src/types/tables.types.d.ts +43 -0
- package/dist/document-api/src/types/toc.types.d.ts +1 -0
- package/dist/document-api/src/types/track-changes.types.d.ts +703 -0
- package/dist/document-api/src/validation/create-location-validator.d.ts +2 -0
- package/dist/document-api/src/validation/fragment-validator.d.ts +13 -0
- package/dist/document-api/src/validation/selection-target-validator.d.ts +7 -0
- package/dist/document-api/src/validation/story-validator.d.ts +12 -0
- package/dist/document-api/src/validation-primitives.d.ts +29 -0
- package/dist/document-api/src/write/locator.d.ts +24 -0
- package/dist/document-api/src/write/write.d.ts +73 -0
- package/dist/images/altText_add.svg +3 -0
- package/dist/images/altText_disclaimer.svg +3 -0
- package/dist/images/altText_done.svg +3 -0
- package/dist/images/altText_spinner.svg +30 -0
- package/dist/images/altText_warning.svg +3 -0
- package/dist/images/annotation-check.svg +11 -0
- package/dist/images/annotation-comment.svg +16 -0
- package/dist/images/annotation-help.svg +26 -0
- package/dist/images/annotation-insert.svg +10 -0
- package/dist/images/annotation-key.svg +11 -0
- package/dist/images/annotation-newparagraph.svg +11 -0
- package/dist/images/annotation-noicon.svg +7 -0
- package/dist/images/annotation-note.svg +42 -0
- package/dist/images/annotation-paperclip.svg +6 -0
- package/dist/images/annotation-paragraph.svg +16 -0
- package/dist/images/annotation-pushpin.svg +7 -0
- package/dist/images/checkmark.svg +5 -0
- package/dist/images/comment-actionsButton.svg +3 -0
- package/dist/images/comment-closeButton.svg +3 -0
- package/dist/images/comment-editButton.svg +8 -0
- package/dist/images/comment-popup-editButton.svg +5 -0
- package/dist/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/images/cursor-editorFreeText.svg +3 -0
- package/dist/images/cursor-editorInk.svg +4 -0
- package/dist/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/images/editor-toolbar-delete.svg +5 -0
- package/dist/images/editor-toolbar-edit.svg +3 -0
- package/dist/images/findbarButton-next.svg +3 -0
- package/dist/images/findbarButton-previous.svg +3 -0
- package/dist/images/gv-toolbarButton-download.svg +3 -0
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/loading.svg +1 -0
- package/dist/images/messageBar_closingButton.svg +3 -0
- package/dist/images/messageBar_info.svg +3 -0
- package/dist/images/messageBar_warning.svg +3 -0
- package/dist/images/pages_closeButton.svg +3 -0
- package/dist/images/pages_selected.svg +7 -0
- package/dist/images/pages_viewArrow.svg +3 -0
- package/dist/images/pages_viewButton.svg +3 -0
- package/dist/images/secondaryToolbarButton-documentProperties.svg +3 -0
- package/dist/images/secondaryToolbarButton-firstPage.svg +3 -0
- package/dist/images/secondaryToolbarButton-handTool.svg +3 -0
- package/dist/images/secondaryToolbarButton-lastPage.svg +3 -0
- package/dist/images/secondaryToolbarButton-rotateCcw.svg +3 -0
- package/dist/images/secondaryToolbarButton-rotateCw.svg +3 -0
- package/dist/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
- package/dist/images/secondaryToolbarButton-scrollPage.svg +3 -0
- package/dist/images/secondaryToolbarButton-scrollVertical.svg +3 -0
- package/dist/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
- package/dist/images/secondaryToolbarButton-selectTool.svg +3 -0
- package/dist/images/secondaryToolbarButton-spreadEven.svg +3 -0
- package/dist/images/secondaryToolbarButton-spreadNone.svg +3 -0
- package/dist/images/secondaryToolbarButton-spreadOdd.svg +3 -0
- package/dist/images/toolbarButton-bookmark.svg +3 -0
- package/dist/images/toolbarButton-currentOutlineItem.svg +3 -0
- package/dist/images/toolbarButton-download.svg +4 -0
- package/dist/images/toolbarButton-editorFreeText.svg +5 -0
- package/dist/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/images/toolbarButton-editorInk.svg +4 -0
- package/dist/images/toolbarButton-editorSignature.svg +6 -0
- package/dist/images/toolbarButton-editorStamp.svg +8 -0
- package/dist/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/images/toolbarButton-openFile.svg +3 -0
- package/dist/images/toolbarButton-pageDown.svg +3 -0
- package/dist/images/toolbarButton-pageUp.svg +3 -0
- package/dist/images/toolbarButton-presentationMode.svg +3 -0
- package/dist/images/toolbarButton-print.svg +3 -0
- package/dist/images/toolbarButton-search.svg +3 -0
- package/dist/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
- package/dist/images/toolbarButton-viewAttachments.svg +3 -0
- package/dist/images/toolbarButton-viewLayers.svg +3 -0
- package/dist/images/toolbarButton-viewOutline.svg +3 -0
- package/dist/images/toolbarButton-viewThumbnail.svg +3 -0
- package/dist/images/toolbarButton-viewsManagerToggle.svg +3 -0
- package/dist/images/toolbarButton-zoomIn.svg +3 -0
- package/dist/images/toolbarButton-zoomOut.svg +3 -0
- package/dist/images/treeitem-collapsed.svg +1 -0
- package/dist/images/treeitem-expanded.svg +1 -0
- package/dist/layout-engine/contracts/src/author-colors.d.ts +56 -0
- package/dist/layout-engine/contracts/src/cell-spacing.d.ts +12 -0
- package/dist/layout-engine/contracts/src/clip-path-inset.d.ts +27 -0
- package/dist/layout-engine/contracts/src/column-layout.d.ts +79 -0
- package/dist/layout-engine/contracts/src/direction-context.d.ts +219 -0
- package/dist/layout-engine/contracts/src/drawing-taxonomy.d.ts +126 -0
- package/dist/layout-engine/contracts/src/engines/image-wrap.d.ts +54 -0
- package/dist/layout-engine/contracts/src/engines/index.d.ts +17 -0
- package/dist/layout-engine/contracts/src/engines/lists.d.ts +57 -0
- package/dist/layout-engine/contracts/src/engines/paragraph.d.ts +59 -0
- package/dist/layout-engine/contracts/src/engines/tables.d.ts +89 -0
- package/dist/layout-engine/contracts/src/engines/tabs.d.ts +117 -0
- package/dist/layout-engine/contracts/src/graphic-placement.d.ts +76 -0
- package/dist/layout-engine/contracts/src/header-footer-inheritance.d.ts +22 -0
- package/dist/layout-engine/contracts/src/header-footer-resolution.d.ts +28 -0
- package/dist/layout-engine/contracts/src/incremental-dependency.d.ts +10 -0
- package/dist/layout-engine/contracts/src/index.d.ts +2459 -0
- package/dist/layout-engine/contracts/src/justify-utils.d.ts +98 -0
- package/dist/layout-engine/contracts/src/layout-identity.d.ts +136 -0
- package/dist/layout-engine/contracts/src/ooxml-z-index.d.ts +46 -0
- package/dist/layout-engine/contracts/src/page-number-formatting.d.ts +26 -0
- package/dist/layout-engine/contracts/src/page-ref-anchor.d.ts +2 -0
- package/dist/layout-engine/contracts/src/pm-range.d.ts +45 -0
- package/dist/layout-engine/contracts/src/resolved-layout.d.ts +541 -0
- package/dist/layout-engine/contracts/src/run-helpers.d.ts +23 -0
- package/dist/layout-engine/contracts/src/sdt-container.d.ts +13 -0
- package/dist/layout-engine/contracts/src/segment-geometry.d.ts +192 -0
- package/dist/layout-engine/contracts/src/semantic-colors.d.ts +150 -0
- package/dist/layout-engine/contracts/src/table-cell-spacing.d.ts +12 -0
- package/dist/layout-engine/contracts/src/table-column-rescale.d.ts +13 -0
- package/dist/layout-engine/contracts/src/vertical-text.d.ts +43 -0
- package/dist/layout-engine/dom-contract/src/class-names.d.ts +62 -0
- package/dist/layout-engine/dom-contract/src/data-attrs.d.ts +103 -0
- package/dist/layout-engine/dom-contract/src/index.d.ts +18 -0
- package/dist/layout-engine/dom-contract/src/selectors.d.ts +47 -0
- package/dist/layout-engine/layout-bridge/src/cache-warmer.d.ts +73 -0
- package/dist/layout-engine/layout-bridge/src/cache.d.ts +143 -0
- package/dist/layout-engine/layout-bridge/src/cacheInvalidation.d.ts +117 -0
- package/dist/layout-engine/layout-bridge/src/cursor-renderer.d.ts +201 -0
- package/dist/layout-engine/layout-bridge/src/debounced-passes.d.ts +130 -0
- package/dist/layout-engine/layout-bridge/src/diff.d.ts +36 -0
- package/dist/layout-engine/layout-bridge/src/dirty-tracker.d.ts +128 -0
- package/dist/layout-engine/layout-bridge/src/dom-mapping.d.ts +80 -0
- package/dist/layout-engine/layout-bridge/src/featureFlags.d.ts +95 -0
- package/dist/layout-engine/layout-bridge/src/field-annotation-key.d.ts +2 -0
- package/dist/layout-engine/layout-bridge/src/focus-watchdog.d.ts +170 -0
- package/dist/layout-engine/layout-bridge/src/font-metrics-cache.d.ts +164 -0
- package/dist/layout-engine/layout-bridge/src/footnote-scorer.d.ts +63 -0
- package/dist/layout-engine/layout-bridge/src/headerFooterUtils.d.ts +218 -0
- package/dist/layout-engine/layout-bridge/src/ime-handler.d.ts +81 -0
- package/dist/layout-engine/layout-bridge/src/incrementalLayout.d.ts +390 -0
- package/dist/layout-engine/layout-bridge/src/index.d.ts +211 -0
- package/dist/layout-engine/layout-bridge/src/instrumentation.d.ts +245 -0
- package/dist/layout-engine/layout-bridge/src/layoutHeaderFooter.d.ts +123 -0
- package/dist/layout-engine/layout-bridge/src/list-indent-utils.d.ts +205 -0
- package/dist/layout-engine/layout-bridge/src/local-paragraph-layout.d.ts +93 -0
- package/dist/layout-engine/layout-bridge/src/neutral-hit.d.ts +142 -0
- package/dist/layout-engine/layout-bridge/src/neutral-segment-geometry.d.ts +32 -0
- package/dist/layout-engine/layout-bridge/src/page-geometry-helper.d.ts +197 -0
- package/dist/layout-engine/layout-bridge/src/paragraph-hash-utils.d.ts +126 -0
- package/dist/layout-engine/layout-bridge/src/paragraph-line-cache.d.ts +152 -0
- package/dist/layout-engine/layout-bridge/src/performance-metrics.d.ts +249 -0
- package/dist/layout-engine/layout-bridge/src/pm-dom-fallback.d.ts +188 -0
- package/dist/layout-engine/layout-bridge/src/pm-position-validator.d.ts +100 -0
- package/dist/layout-engine/layout-bridge/src/position-hit.d.ts +167 -0
- package/dist/layout-engine/layout-bridge/src/remeasure.d.ts +75 -0
- package/dist/layout-engine/layout-bridge/src/resolveHeaderFooterTokens.d.ts +76 -0
- package/dist/layout-engine/layout-bridge/src/rtl-text-geometry.d.ts +34 -0
- package/dist/layout-engine/layout-bridge/src/run-visual-marks.d.ts +12 -0
- package/dist/layout-engine/layout-bridge/src/safety-net.d.ts +234 -0
- package/dist/layout-engine/layout-bridge/src/sectionAwareHeaderFooter.d.ts +15 -0
- package/dist/layout-engine/layout-bridge/src/table-handler.d.ts +86 -0
- package/dist/layout-engine/layout-bridge/src/text-boundaries.d.ts +17 -0
- package/dist/layout-engine/layout-bridge/src/text-measurement.d.ts +69 -0
- package/dist/layout-engine/layout-bridge/src/track-changes-handler.d.ts +90 -0
- package/dist/layout-engine/layout-bridge/src/tracked-changes-utils.d.ts +41 -0
- package/dist/layout-engine/layout-engine/src/anchors.d.ts +52 -0
- package/dist/layout-engine/layout-engine/src/column-balancing.d.ts +255 -0
- package/dist/layout-engine/layout-engine/src/column-utils.d.ts +1 -0
- package/dist/layout-engine/layout-engine/src/floating-objects.d.ts +60 -0
- package/dist/layout-engine/layout-engine/src/floating-table-anchor.d.ts +21 -0
- package/dist/layout-engine/layout-engine/src/index.d.ts +349 -0
- package/dist/layout-engine/layout-engine/src/layout-drawing.d.ts +60 -0
- package/dist/layout-engine/layout-engine/src/layout-image.d.ts +16 -0
- package/dist/layout-engine/layout-engine/src/layout-paragraph.d.ts +101 -0
- package/dist/layout-engine/layout-engine/src/layout-table.d.ts +71 -0
- package/dist/layout-engine/layout-engine/src/layout-textbox.d.ts +4 -0
- package/dist/layout-engine/layout-engine/src/layout-utils.d.ts +104 -0
- package/dist/layout-engine/layout-engine/src/normalize-header-footer-fragments.d.ts +45 -0
- package/dist/layout-engine/layout-engine/src/pageNumbering.d.ts +73 -0
- package/dist/layout-engine/layout-engine/src/paginator.d.ts +131 -0
- package/dist/layout-engine/layout-engine/src/paragraph-layout-eligibility.d.ts +1 -0
- package/dist/layout-engine/layout-engine/src/resolvePageRefs.d.ts +31 -0
- package/dist/layout-engine/layout-engine/src/resolvePageTokens.d.ts +82 -0
- package/dist/layout-engine/layout-engine/src/section-breaks.d.ts +98 -0
- package/dist/layout-engine/layout-engine/src/section-props.d.ts +65 -0
- package/dist/layout-engine/layout-engine/src/table-cell-slice.d.ts +98 -0
- package/dist/layout-engine/painters/dom/src/_test-utils.d.ts +21 -0
- package/dist/layout-engine/painters/dom/src/chart-renderer.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/constants.d.ts +10 -0
- package/dist/layout-engine/painters/dom/src/css-token.d.ts +10 -0
- package/dist/layout-engine/painters/dom/src/features/feature-registry.d.ts +41 -0
- package/dist/layout-engine/painters/dom/src/features/inline-direction/index.d.ts +22 -0
- package/dist/layout-engine/painters/dom/src/features/inline-direction/rtl-styles.d.ts +27 -0
- package/dist/layout-engine/painters/dom/src/features/inline-direction/run-direction.d.ts +75 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/accent.d.ts +25 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/bar.d.ts +16 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/box.d.ts +38 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/delimiter.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/equation-array.d.ts +19 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/fraction.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/function.d.ts +16 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/group-character.d.ts +26 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/index.d.ts +27 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/lower-limit.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/math-run.d.ts +47 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/matrix.d.ts +23 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/nary.d.ts +23 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/phantom.d.ts +17 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/pre-sub-superscript.d.ts +25 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/radical.d.ts +14 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/sub-superscript.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/subscript.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/superscript.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/features/math/converters/upper-limit.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/features/math/index.d.ts +14 -0
- package/dist/layout-engine/painters/dom/src/features/math/omml-to-mathml.d.ts +18 -0
- package/dist/layout-engine/painters/dom/src/features/math/types.d.ts +41 -0
- package/dist/layout-engine/painters/dom/src/images/drawing-image.d.ts +5 -0
- package/dist/layout-engine/painters/dom/src/images/hyperlink.d.ts +2 -0
- package/dist/layout-engine/painters/dom/src/images/image-block.d.ts +15 -0
- package/dist/layout-engine/painters/dom/src/images/image-clip-path.d.ts +17 -0
- package/dist/layout-engine/painters/dom/src/images/image-fragment.d.ts +34 -0
- package/dist/layout-engine/painters/dom/src/images/image-selectors.d.ts +9 -0
- package/dist/layout-engine/painters/dom/src/images/types.d.ts +2 -0
- package/dist/layout-engine/painters/dom/src/index.d.ts +125 -0
- package/dist/layout-engine/painters/dom/src/page-content.d.ts +209 -0
- package/dist/layout-engine/painters/dom/src/paragraph/block-version.d.ts +8 -0
- package/dist/layout-engine/painters/dom/src/paragraph/borders/border-layer.d.ts +59 -0
- package/dist/layout-engine/painters/dom/src/paragraph/borders/group-analysis.d.ts +38 -0
- package/dist/layout-engine/painters/dom/src/paragraph/borders/index.d.ts +18 -0
- package/dist/layout-engine/painters/dom/src/paragraph/frame.d.ts +3 -0
- package/dist/layout-engine/painters/dom/src/paragraph/indentation.d.ts +25 -0
- package/dist/layout-engine/painters/dom/src/paragraph/list-marker.d.ts +51 -0
- package/dist/layout-engine/painters/dom/src/paragraph/marker-tracked-change.d.ts +34 -0
- package/dist/layout-engine/painters/dom/src/paragraph/renderParagraphContent.d.ts +87 -0
- package/dist/layout-engine/painters/dom/src/paragraph/renderParagraphFragment.d.ts +33 -0
- package/dist/layout-engine/painters/dom/src/paragraph/styles.d.ts +3 -0
- package/dist/layout-engine/painters/dom/src/paragraph-hash-utils.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/pm-position-validation.d.ts +149 -0
- package/dist/layout-engine/painters/dom/src/renderer.d.ts +681 -0
- package/dist/layout-engine/painters/dom/src/ruler/index.d.ts +41 -0
- package/dist/layout-engine/painters/dom/src/ruler/ruler-core.d.ts +195 -0
- package/dist/layout-engine/painters/dom/src/ruler/ruler-renderer.d.ts +97 -0
- package/dist/layout-engine/painters/dom/src/ruler/ruler-styles.d.ts +31 -0
- package/dist/layout-engine/painters/dom/src/runs/field-annotation-run.d.ts +14 -0
- package/dist/layout-engine/painters/dom/src/runs/font-synthesis.d.ts +1 -0
- package/dist/layout-engine/painters/dom/src/runs/formatting-marks.d.ts +3 -0
- package/dist/layout-engine/painters/dom/src/runs/hash.d.ts +82 -0
- package/dist/layout-engine/painters/dom/src/runs/image-run.d.ts +37 -0
- package/dist/layout-engine/painters/dom/src/runs/index.d.ts +13 -0
- package/dist/layout-engine/painters/dom/src/runs/links.d.ts +58 -0
- package/dist/layout-engine/painters/dom/src/runs/math-run.d.ts +7 -0
- package/dist/layout-engine/painters/dom/src/runs/render-line.d.ts +2 -0
- package/dist/layout-engine/painters/dom/src/runs/render-run.d.ts +12 -0
- package/dist/layout-engine/painters/dom/src/runs/tab-run.d.ts +66 -0
- package/dist/layout-engine/painters/dom/src/runs/text-run.d.ts +35 -0
- package/dist/layout-engine/painters/dom/src/runs/tracked-changes.d.ts +90 -0
- package/dist/layout-engine/painters/dom/src/runs/types.d.ts +67 -0
- package/dist/layout-engine/painters/dom/src/sdt/boundaries.d.ts +16 -0
- package/dist/layout-engine/painters/dom/src/sdt/container.d.ts +32 -0
- package/dist/layout-engine/painters/dom/src/sdt/dataset.d.ts +7 -0
- package/dist/layout-engine/painters/dom/src/sdt/inline.d.ts +9 -0
- package/dist/layout-engine/painters/dom/src/sdt/snapshot.d.ts +29 -0
- package/dist/layout-engine/painters/dom/src/styles.d.ts +71 -0
- package/dist/layout-engine/painters/dom/src/svg-utils.d.ts +101 -0
- package/dist/layout-engine/painters/dom/src/table/border-utils.d.ts +185 -0
- package/dist/layout-engine/painters/dom/src/table/grid-geometry.d.ts +69 -0
- package/dist/layout-engine/painters/dom/src/table/renderTableCell.d.ts +170 -0
- package/dist/layout-engine/painters/dom/src/table/renderTableFragment.d.ts +132 -0
- package/dist/layout-engine/painters/dom/src/table/renderTableRow.d.ts +146 -0
- package/dist/layout-engine/painters/dom/src/test-utils/normalize-line.d.ts +39 -0
- package/dist/layout-engine/painters/dom/src/utils/anchor-helpers.d.ts +3 -0
- package/dist/layout-engine/painters/dom/src/utils/apply-styles.d.ts +1 -0
- package/dist/layout-engine/painters/dom/src/utils/layout-identity.d.ts +9 -0
- package/dist/layout-engine/painters/dom/src/utils/source-anchor.d.ts +2 -0
- package/dist/layout-engine/style-engine/src/bench/resolveSdtMetadata.bench.d.ts +1 -0
- package/dist/layout-engine/style-engine/src/cascade.d.ts +43 -0
- package/dist/layout-engine/style-engine/src/index.d.ts +121 -0
- package/dist/layout-engine/style-engine/src/normalize/colors.d.ts +13 -0
- package/dist/layout-engine/style-engine/src/normalize/index.d.ts +13 -0
- package/dist/layout-engine/style-engine/src/normalize/paragraph-attrs.d.ts +3 -0
- package/dist/layout-engine/style-engine/src/normalize/run-attrs.d.ts +17 -0
- package/dist/layout-engine/style-engine/src/normalize/types.d.ts +36 -0
- package/dist/layout-engine/style-engine/src/normalize/units.d.ts +13 -0
- package/dist/layout-engine/style-engine/src/ooxml/index.d.ts +64 -0
- package/dist/layout-engine/style-engine/src/ooxml/numbering-types.d.ts +126 -0
- package/dist/layout-engine/style-engine/src/ooxml/styles-types.d.ts +363 -0
- package/dist/layout-engine/style-engine/src/ooxml/table-style-selection.d.ts +86 -0
- package/dist/layout-engine/style-engine/src/ooxml/types.d.ts +459 -0
- package/dist/layout-engine/style-engine/src/ooxml/word-style-model/parse-theme.d.ts +33 -0
- package/dist/layout-engine/style-engine/src/ooxml/word-style-model/parse-xml.d.ts +29 -0
- package/dist/public/ui-react.cjs +175 -0
- package/dist/public/ui-react.es.js +159 -0
- package/dist/public/ui.cjs +5 -0
- package/dist/public/ui.es.js +2 -0
- package/dist/shared/common/comments-types.d.ts +102 -0
- package/dist/shared/common/layout-constants.d.ts +7 -0
- package/dist/shared/common/list-marker-utils.d.ts +186 -0
- package/dist/shared/common/list-numbering/index.d.ts +16 -0
- package/dist/shared/font-system/src/activation.d.ts +64 -0
- package/dist/shared/font-system/src/bundled-manifest.d.ts +32 -0
- package/dist/shared/font-system/src/bundled.d.ts +41 -0
- package/dist/shared/font-system/src/document-font-options.d.ts +53 -0
- package/dist/shared/font-system/src/epoch.d.ts +6 -0
- package/dist/shared/font-system/src/font-offerings.d.ts +120 -0
- package/dist/shared/font-system/src/index.d.ts +35 -0
- package/dist/shared/font-system/src/os2.d.ts +30 -0
- package/dist/shared/font-system/src/registry.d.ts +188 -0
- package/dist/shared/font-system/src/report.d.ts +98 -0
- package/dist/shared/font-system/src/resolver.d.ts +215 -0
- package/dist/shared/font-system/src/substitution-evidence.d.ts +103 -0
- package/dist/shared/font-system/src/types.d.ts +128 -0
- package/dist/style.css +3316 -0
- package/dist/style.layered.css +3316 -0
- package/dist/superdoc/src/SuperDoc.vue.d.ts +88 -0
- package/dist/superdoc/src/cdn-entry.d.ts +2 -0
- package/dist/superdoc/src/components/CommentsLayer/CommentDialog.vue.d.ts +62 -0
- package/dist/superdoc/src/components/CommentsLayer/CommentHeader.vue.d.ts +26 -0
- package/dist/superdoc/src/components/CommentsLayer/CommentInput.vue.d.ts +19 -0
- package/dist/superdoc/src/components/CommentsLayer/CommentsDropdown.vue.d.ts +30 -0
- package/dist/superdoc/src/components/CommentsLayer/InternalDropdown.vue.d.ts +10 -0
- package/dist/superdoc/src/components/CommentsLayer/collect-removed-comment-ids.d.ts +1 -0
- package/dist/superdoc/src/components/CommentsLayer/collect-tracked-change-thread.d.ts +6 -0
- package/dist/superdoc/src/components/CommentsLayer/comment-schemas.d.ts +18 -0
- package/dist/superdoc/src/components/CommentsLayer/commentsList/commentsList.vue.d.ts +9 -0
- package/dist/superdoc/src/components/CommentsLayer/commentsList/super-comments-list.d.ts +21 -0
- package/dist/superdoc/src/components/CommentsLayer/floating-comment-positioning.d.ts +28 -0
- package/dist/superdoc/src/components/CommentsLayer/helpers.d.ts +7 -0
- package/dist/superdoc/src/components/CommentsLayer/tracked-change-threading.d.ts +2 -0
- package/dist/superdoc/src/components/CommentsLayer/types.d.ts +3 -0
- package/dist/superdoc/src/components/CommentsLayer/use-comment.d.ts +8 -0
- package/dist/superdoc/src/components/CommentsLayer/use-conversation.d.ts +22 -0
- package/dist/superdoc/src/components/CommentsLayer/use-floating-comment.d.ts +11 -0
- package/dist/superdoc/src/components/HtmlViewer/HtmlViewer.vue.d.ts +10 -0
- package/dist/superdoc/src/components/PdfViewer/PdfViewer.vue.d.ts +61 -0
- package/dist/superdoc/src/components/PdfViewer/PdfViewerDocument.vue.d.ts +21 -0
- package/dist/superdoc/src/components/PdfViewer/PdfViewerPage.vue.d.ts +24 -0
- package/dist/superdoc/src/components/Whiteboard/WhiteboardLayer.vue.d.ts +19 -0
- package/dist/superdoc/src/components/Whiteboard/WhiteboardPage.vue.d.ts +17 -0
- package/dist/superdoc/src/components/Whiteboard/use-whiteboard.d.ts +18 -0
- package/dist/superdoc/src/components/surfaces/FindReplaceSurface.vue.d.ts +19 -0
- package/dist/superdoc/src/components/surfaces/PasswordPromptSurface.vue.d.ts +17 -0
- package/dist/superdoc/src/components/surfaces/SurfaceDialog.vue.d.ts +12 -0
- package/dist/superdoc/src/components/surfaces/SurfaceExternalMount.vue.d.ts +19 -0
- package/dist/superdoc/src/components/surfaces/SurfaceFloating.vue.d.ts +10 -0
- package/dist/superdoc/src/components/surfaces/SurfaceHost.vue.d.ts +31 -0
- package/dist/superdoc/src/components/surfaces/focusable-selector.d.ts +5 -0
- package/dist/superdoc/src/composables/find-shortcut-owner.d.ts +32 -0
- package/dist/superdoc/src/composables/replace-continuation.d.ts +37 -0
- package/dist/superdoc/src/composables/use-ai.d.ts +10 -0
- package/dist/superdoc/src/composables/use-comment-small-screen.d.ts +10 -0
- package/dist/superdoc/src/composables/use-compact-comment-popover.d.ts +21 -0
- package/dist/superdoc/src/composables/use-document.d.ts +34 -0
- package/dist/superdoc/src/composables/use-field.d.ts +33 -0
- package/dist/superdoc/src/composables/use-find-replace.d.ts +83 -0
- package/dist/superdoc/src/composables/use-high-contrast-mode.d.ts +4 -0
- package/dist/superdoc/src/composables/use-link-popover.d.ts +221 -0
- package/dist/superdoc/src/composables/use-password-prompt.d.ts +33 -0
- package/dist/superdoc/src/composables/use-selected-text.d.ts +16 -0
- package/dist/superdoc/src/composables/use-viewport-fit.d.ts +50 -0
- package/dist/superdoc/src/composables/useUiFontFamily.d.ts +24 -0
- package/dist/superdoc/src/core/EventEmitter.d.ts +55 -0
- package/dist/superdoc/src/core/SuperDoc.d.ts +775 -0
- package/dist/superdoc/src/core/collaboration/collaboration-comments.d.ts +4 -0
- package/dist/superdoc/src/core/collaboration/collaboration.d.ts +28 -0
- package/dist/superdoc/src/core/collaboration/helpers.d.ts +8 -0
- package/dist/superdoc/src/core/collaboration/permissions.d.ts +19 -0
- package/dist/superdoc/src/core/collaboration/resolve-v2-collaboration-target.d.ts +99 -0
- package/dist/superdoc/src/core/collaboration/room-overwrite.d.ts +22 -0
- package/dist/superdoc/src/core/collaboration/v2-awareness-bridge.d.ts +57 -0
- package/dist/superdoc/src/core/config/merge-defined.d.ts +35 -0
- package/dist/superdoc/src/core/config/normalize-interaction-config.d.ts +15 -0
- package/dist/superdoc/src/core/config/normalize-surfaces-config.d.ts +23 -0
- package/dist/superdoc/src/core/config/normalize-ui-config.d.ts +62 -0
- package/dist/superdoc/src/core/create-app.d.ts +32 -0
- package/dist/superdoc/src/core/editor-runtime/conformance/fake-v2-runtime.d.ts +9 -0
- package/dist/superdoc/src/core/editor-runtime/editor-runtime-registry.d.ts +117 -0
- package/dist/superdoc/src/core/editor-runtime/index.d.ts +1 -0
- package/dist/superdoc/src/core/editor-runtime/root-marker.d.ts +33 -0
- package/dist/superdoc/src/core/editor-runtime/types.d.ts +405 -0
- package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +185 -0
- package/dist/superdoc/src/core/editor-runtime/v2/v2-session-shortcut-routes.d.ts +47 -0
- package/dist/superdoc/src/core/extensions/define.d.ts +56 -0
- package/dist/superdoc/src/core/extensions/index.d.ts +2 -0
- package/dist/superdoc/src/core/extensions/types.d.ts +519 -0
- package/dist/superdoc/src/core/helpers/export.d.ts +2 -0
- package/dist/superdoc/src/core/helpers/file.d.ts +43 -0
- package/dist/superdoc/src/core/helpers/normalize-track-changes-config.d.ts +60 -0
- package/dist/superdoc/src/core/helpers/normalize-user.d.ts +13 -0
- package/dist/superdoc/src/core/index.d.ts +1 -0
- package/dist/superdoc/src/core/pdf/helpers/constants.d.ts +2 -0
- package/dist/superdoc/src/core/pdf/helpers/floor.d.ts +1 -0
- package/dist/superdoc/src/core/pdf/helpers/range.d.ts +1 -0
- package/dist/superdoc/src/core/pdf/helpers/read-file.d.ts +1 -0
- package/dist/superdoc/src/core/pdf/pdf-adapter.d.ts +66 -0
- package/dist/superdoc/src/core/surface-manager.d.ts +90 -0
- package/dist/superdoc/src/core/theme/create-theme.d.ts +82 -0
- package/dist/superdoc/src/core/types/index.d.ts +3006 -0
- package/dist/superdoc/src/core/v2-integration/browser-peer-runtime.d.ts +3 -0
- package/dist/superdoc/src/core/v2-integration/cdn-engine-loader.d.ts +16 -0
- package/dist/superdoc/src/core/v2-integration/v2-integration.d.ts +97 -0
- package/dist/superdoc/src/core/whiteboard/Whiteboard.d.ts +247 -0
- package/dist/superdoc/src/core/whiteboard/WhiteboardPage.d.ts +251 -0
- package/dist/superdoc/src/core/whiteboard/WhiteboardRenderer.d.ts +2 -0
- package/dist/superdoc/src/core/whiteboard/helpers/createTextarea.d.ts +1 -0
- package/dist/superdoc/src/core/whiteboard/helpers/flattenPoints.d.ts +1 -0
- package/dist/superdoc/src/core/whiteboard/helpers/getRandomId.d.ts +1 -0
- package/dist/superdoc/src/helpers/collect-touched-tracked-change-ids.d.ts +11 -0
- package/dist/superdoc/src/helpers/comment-focus.d.ts +4 -0
- package/dist/superdoc/src/helpers/comment-small-screen.d.ts +14 -0
- package/dist/superdoc/src/helpers/deprecation.d.ts +26 -0
- package/dist/superdoc/src/helpers/floor.d.ts +1 -0
- package/dist/superdoc/src/helpers/group-changes.d.ts +1 -0
- package/dist/superdoc/src/helpers/interaction-trace.d.ts +26 -0
- package/dist/superdoc/src/helpers/selection-source.d.ts +1 -0
- package/dist/superdoc/src/helpers/transaction-touches-structural-change.d.ts +19 -0
- package/dist/superdoc/src/helpers/use-selection.d.ts +17 -0
- package/dist/superdoc/src/helpers/v2-author-required-rejection.d.ts +22 -0
- package/dist/superdoc/src/helpers/v2-remote-review-hydration.d.ts +12 -0
- package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +15 -0
- package/dist/superdoc/src/helpers/v2-review-mutation-reconciler.d.ts +19 -0
- package/dist/superdoc/src/helpers/v2-review-target.d.ts +7 -0
- package/dist/superdoc/src/helpers/v2-selection-sync.d.ts +12 -0
- package/dist/superdoc/src/helpers/v2-typing-mutation-event.d.ts +5 -0
- package/dist/superdoc/src/icons.d.ts +11 -0
- package/dist/superdoc/src/index.d.cts +13 -0
- package/dist/superdoc/src/index.d.ts +11 -0
- package/dist/superdoc/src/internal/toolbar/built-in/AIWriter.vue.d.ts +21 -0
- package/dist/superdoc/src/internal/toolbar/built-in/AlignmentButtons.vue.d.ts +6 -0
- package/dist/superdoc/src/internal/toolbar/built-in/ButtonGroup.vue.d.ts +10 -0
- package/dist/superdoc/src/internal/toolbar/built-in/DocumentMode.vue.d.ts +10 -0
- package/dist/superdoc/src/internal/toolbar/built-in/FontFamilyCombobox.vue.d.ts +10 -0
- package/dist/superdoc/src/internal/toolbar/built-in/FontSizeCombobox.vue.d.ts +10 -0
- package/dist/superdoc/src/internal/toolbar/built-in/IconGrid.vue.d.ts +14 -0
- package/dist/superdoc/src/internal/toolbar/built-in/IconGridRow.vue.d.ts +13 -0
- package/dist/superdoc/src/internal/toolbar/built-in/LinkInput.vue.d.ts +37 -0
- package/dist/superdoc/src/internal/toolbar/built-in/LinkedStyle.vue.d.ts +12 -0
- package/dist/superdoc/src/internal/toolbar/built-in/OverflowMenu.vue.d.ts +10 -0
- package/dist/superdoc/src/internal/toolbar/built-in/SdTooltip.vue.d.ts +34 -0
- package/dist/superdoc/src/internal/toolbar/built-in/StyleButtonsList.vue.d.ts +14 -0
- package/dist/superdoc/src/internal/toolbar/built-in/TableActions.vue.d.ts +8 -0
- package/dist/superdoc/src/internal/toolbar/built-in/TableGrid.vue.d.ts +6 -0
- package/dist/superdoc/src/internal/toolbar/built-in/Toolbar.vue.d.ts +4 -0
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButton.vue.d.ts +24 -0
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButtonIcon.vue.d.ts +11 -0
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarComboBox.vue.d.ts +18 -0
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarDropdown.vue.d.ts +38 -0
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarSeparator.vue.d.ts +8 -0
- package/dist/superdoc/src/internal/toolbar/built-in/color-dropdown-helpers.d.ts +24 -0
- package/dist/superdoc/src/internal/toolbar/built-in/constants.d.ts +102 -0
- package/dist/superdoc/src/internal/toolbar/built-in/default-items.d.ts +17 -0
- package/dist/superdoc/src/internal/toolbar/built-in/font-options.d.ts +1 -0
- package/dist/superdoc/src/internal/toolbar/built-in/font-typeahead.d.ts +11 -0
- package/dist/superdoc/src/internal/toolbar/built-in/format-negation.d.ts +5 -0
- package/dist/superdoc/src/internal/toolbar/built-in/general.d.ts +1 -0
- package/dist/superdoc/src/internal/toolbar/built-in/helpers.d.ts +5 -0
- package/dist/superdoc/src/internal/toolbar/built-in/list-style-buttons.d.ts +10 -0
- package/dist/superdoc/src/internal/toolbar/built-in/scroll-helpers.d.ts +4 -0
- package/dist/superdoc/src/internal/toolbar/built-in/toolbar-focus-helpers.d.ts +1 -0
- package/dist/superdoc/src/internal/toolbar/built-in/toolbarIcons.d.ts +76 -0
- package/dist/superdoc/src/internal/toolbar/built-in/toolbarTexts.d.ts +58 -0
- package/dist/superdoc/src/internal/toolbar/built-in/url-safety.d.ts +8 -0
- package/dist/superdoc/src/internal/toolbar/built-in/use-toolbar-item.d.ts +48 -0
- package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +237 -0
- package/dist/superdoc/src/internal/toolbar/compatibility-catalog.d.ts +59 -0
- package/dist/superdoc/src/internal/toolbar/image-upload.d.ts +63 -0
- package/dist/superdoc/src/internal/toolbar/index.d.ts +10 -0
- package/dist/superdoc/src/main.d.ts +1 -0
- package/dist/superdoc/src/public/browser-document-api.d.ts +53 -0
- package/dist/superdoc/src/public/collaboration-upgrade-engine.d.cts +26 -0
- package/dist/superdoc/src/public/collaboration-upgrade-engine.d.ts +130 -0
- package/dist/superdoc/src/public/index.d.cts +359 -0
- package/dist/superdoc/src/public/index.d.ts +179 -0
- package/dist/superdoc/src/public/ui/commands.d.ts +249 -0
- package/dist/superdoc/src/public/ui/create-super-doc-ui.d.ts +18 -0
- package/dist/superdoc/src/public/ui/entity-at.d.ts +29 -0
- package/dist/superdoc/src/public/ui/equality.d.ts +10 -0
- package/dist/superdoc/src/public/ui/format-painter-helpers.d.ts +36 -0
- package/dist/superdoc/src/public/ui/react.d.ts +81 -0
- package/dist/superdoc/src/public/ui/reasons.d.ts +99 -0
- package/dist/superdoc/src/public/ui/types.d.ts +1425 -0
- package/dist/superdoc/src/public/ui-react.d.cts +20 -0
- package/dist/superdoc/src/public/ui-react.d.ts +20 -0
- package/dist/superdoc/src/public/ui.d.cts +194 -0
- package/dist/superdoc/src/public/ui.d.ts +29 -0
- package/dist/superdoc/src/stores/comments-store.d.ts +676 -0
- package/dist/superdoc/src/stores/helpers/floating-comment-instances.d.ts +14 -0
- package/dist/superdoc/src/stores/helpers/tracked-change-thread-index.d.ts +14 -0
- package/dist/superdoc/src/stores/hrbr-fields-store.d.ts +43 -0
- package/dist/superdoc/src/stores/superdoc-store.d.ts +2182 -0
- package/dist/superdoc.cjs +36521 -0
- package/dist/superdoc.es.js +36449 -0
- package/dist/word-layout/src/index.d.ts +64 -0
- package/dist/word-layout/src/list-marker.d.ts +68 -0
- package/dist/word-layout/src/marker-utils.d.ts +20 -0
- package/dist/word-layout/src/numbering-manager.d.ts +85 -0
- package/dist/word-layout/src/tab-layout.d.ts +193 -0
- package/dist/word-layout/src/types.d.ts +106 -0
- package/dist/word-layout/src/unit-conversions.d.ts +120 -0
- package/dist-cdn/style.layered.css +2 -0
- package/dist-cdn/superdoc.min.css +2 -0
- package/dist-cdn/superdoc.min.js +108 -0
- package/package.json +137 -24
- package/.npmignore +0 -4
- package/data.json +0 -17
- package/index.js +0 -2
- package/lib/Augmenter.js +0 -27
- package/lib/Runner.js +0 -80
- package/lib/Stopper.js +0 -71
- package/test/superdoc.js +0 -126
- package/utils/app.js +0 -18
- package/utils/server.js +0 -2
- package/web/index.js +0 -54
- package/web/public/style.css +0 -76
- package/web/views/index.ejs +0 -53
- package/web/views/layout.ejs +0 -13
- package/web/views/method.ejs +0 -59
|
@@ -0,0 +1,703 @@
|
|
|
1
|
+
import { TextTarget, TrackedChangeAddress } from './address.js';
|
|
2
|
+
import { DiscoveryOutput } from './discovery.js';
|
|
3
|
+
import { StoryLocator } from './story.types.js';
|
|
4
|
+
/**
|
|
5
|
+
* Canonical v2 tracked-change broad-type vocabulary defined by
|
|
6
|
+
* `../labs/tests/requirements/specs/tracked-changes-comments/tracked-changes-spec.md`
|
|
7
|
+
* §3 / §5.
|
|
8
|
+
*
|
|
9
|
+
* Public adapters MUST emit one of these values. Existing v1 emitters and
|
|
10
|
+
* tests still produce the legacy `insert` / `delete` / `format` strings; both
|
|
11
|
+
* sets are accepted by {@link TrackChangeType} during the vocabulary
|
|
12
|
+
* legacy strings are documented compatibility aliases only — new code must
|
|
13
|
+
* emit the canonical vocabulary.
|
|
14
|
+
*/
|
|
15
|
+
export type TrackChangeBroadType = 'insertion' | 'deletion' | 'replacement' | 'formatting' | 'move' | 'structural';
|
|
16
|
+
/**
|
|
17
|
+
* Legacy aliases retained during the vocabulary migration. Do not introduce new
|
|
18
|
+
* call sites that emit these values; prefer {@link TrackChangeBroadType}.
|
|
19
|
+
*/
|
|
20
|
+
export type LegacyTrackChangeType = 'insert' | 'delete' | 'format';
|
|
21
|
+
/**
|
|
22
|
+
* Tracked-change broad type accepted by the public API. The v2 logical
|
|
23
|
+
* projection emits {@link TrackChangeBroadType}; legacy v1 emitters may still
|
|
24
|
+
* produce {@link LegacyTrackChangeType}. Filters accept either spelling.
|
|
25
|
+
*/
|
|
26
|
+
export type TrackChangeType = TrackChangeBroadType | LegacyTrackChangeType;
|
|
27
|
+
/**
|
|
28
|
+
* Optional semantic subtype string. Spec §3 lists a required subtype
|
|
29
|
+
* vocabulary; the current model covers text revisions (`text-insertion`,
|
|
30
|
+
* `text-deletion`, `text-replacement`). Other subtypes are emitted once
|
|
31
|
+
* later phases land their structural/formatting/move work.
|
|
32
|
+
*/
|
|
33
|
+
export type TrackChangeSubtype = string;
|
|
34
|
+
/**
|
|
35
|
+
* Lifecycle state per spec §3. Open tracked changes are the only ones
|
|
36
|
+
* returned by `trackChanges.list` / `trackChanges.get`. The read model
|
|
37
|
+
* always emits `open`; accepted/rejected resolution is applied through
|
|
38
|
+
* 003.
|
|
39
|
+
*/
|
|
40
|
+
export type TrackChangeState = 'open' | 'accepted' | 'rejected';
|
|
41
|
+
/**
|
|
42
|
+
* Raw imported Word OOXML revision IDs (`w:id`) from the source document
|
|
43
|
+
* when available.
|
|
44
|
+
*
|
|
45
|
+
* @deprecated Provenance metadata only. Prefer {@link TrackChangeSourceIds}
|
|
46
|
+
* for new code. Retained as a compatibility alias surfacing the prior
|
|
47
|
+
* legacy shape: an insertion fragment surfaces `insert`, a deletion
|
|
48
|
+
* surfaces `delete`, a formatting revision surfaces `format`, and a paired
|
|
49
|
+
* replacement may surface both text sides.
|
|
50
|
+
*/
|
|
51
|
+
export interface TrackChangeWordRevisionIds {
|
|
52
|
+
/** Raw imported Word OOXML revision ID (`w:id`) from a `<w:ins>` element when present. */
|
|
53
|
+
insert?: string;
|
|
54
|
+
/** Raw imported Word OOXML revision ID (`w:id`) from a `<w:del>` element when present. */
|
|
55
|
+
delete?: string;
|
|
56
|
+
/** Raw imported Word OOXML revision ID (`w:id`) from a `<w:rPrChange>` element when present. */
|
|
57
|
+
format?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Canonical multi-side source provenance per spec §3 / §4. Each value is
|
|
61
|
+
* raw, source-format identity (Word `w:id`, `w:rsidR` / `w:rsidDel`, future
|
|
62
|
+
* platform ids). They are not the canonical SuperDoc logical id and MUST
|
|
63
|
+
* NOT be returned as the primary identifier.
|
|
64
|
+
*/
|
|
65
|
+
export interface TrackChangeSourceIds {
|
|
66
|
+
/** Word `w:id` value from the insertion side of this logical change. */
|
|
67
|
+
wordIdInsert?: string;
|
|
68
|
+
/** Word `w:id` value from the deletion side of this logical change. */
|
|
69
|
+
wordIdDelete?: string;
|
|
70
|
+
/** Word `w:id` values from other wrappers (e.g. rPrChange, moveFrom/moveTo). */
|
|
71
|
+
wordIdOther?: readonly string[];
|
|
72
|
+
/** Word revision-save ids (`w:rsidR` / `w:rsidDel`) seen on contributing wrappers. */
|
|
73
|
+
rsids?: readonly string[];
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Per-side metadata returned for replacement changes in `paired` mode. The
|
|
77
|
+
* `id` values are stable SuperDoc-internal side ids so callers (e.g. decide
|
|
78
|
+
* decide range targeting) can address either side without re-reading OOXML.
|
|
79
|
+
*/
|
|
80
|
+
export interface TrackChangeReplacementSides {
|
|
81
|
+
inserted: TrackChangeReplacementSide | null;
|
|
82
|
+
deleted: TrackChangeReplacementSide | null;
|
|
83
|
+
}
|
|
84
|
+
export interface TrackChangeReplacementSide {
|
|
85
|
+
/** SuperDoc-internal side id (stable across a session for the same fragment). */
|
|
86
|
+
id: string;
|
|
87
|
+
/** Visible text excerpt on this side. */
|
|
88
|
+
excerpt: string;
|
|
89
|
+
/** Raw Word `w:id` for this side, when known. */
|
|
90
|
+
wordId?: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Tracked formatting subtype vocabulary per `tracked-changes-spec.md` §6.
|
|
94
|
+
* Covers run, paragraph, list, table, row, cell, section, and content-control
|
|
95
|
+
* formatting revisions, plus image/drawing property revisions.
|
|
96
|
+
*/
|
|
97
|
+
export type TrackChangeFormattingSubtype = 'run' | 'paragraph' | 'list' | 'table' | 'row' | 'cell' | 'section' | 'content-control' | 'image';
|
|
98
|
+
/**
|
|
99
|
+
* Coarse logical object a formatting revision applies to. Paragraph/list
|
|
100
|
+
* formatting-on-structural-target changes (indentation, line height, list
|
|
101
|
+
* level/style/membership) keep broad type `formatting`; this names the object
|
|
102
|
+
* the formatting targets so callers can route UI labels and later decisions
|
|
103
|
+
* without inferring it from raw OOXML.
|
|
104
|
+
*/
|
|
105
|
+
export type TrackChangeFormattingTargetKind = 'run' | 'paragraph' | 'list-item' | 'table' | 'row' | 'cell' | 'section' | 'content-control';
|
|
106
|
+
/**
|
|
107
|
+
* Fine-grained formatting-on-target semantic subtype. A richer detail string
|
|
108
|
+
* than {@link TrackChangeFormattingSubtype}; the broad subtype field stays the
|
|
109
|
+
* compatibility value while this names the specific formatting change
|
|
110
|
+
* (paragraph indentation vs line height vs style; list style vs level vs
|
|
111
|
+
* numbering vs add/remove membership). Open vocabulary so later plans can add
|
|
112
|
+
* subtypes without a breaking change.
|
|
113
|
+
*/
|
|
114
|
+
export type TrackChangeFormattingSemanticSubtype = string;
|
|
115
|
+
/**
|
|
116
|
+
* Per-side metadata for tracked moves. `id` is the SuperDoc-
|
|
117
|
+
* internal side id, `excerpt` is a visible-text preview, and `wordId` carries
|
|
118
|
+
* the raw Word `w:id` from the `w:moveFrom` / `w:moveTo` wrapper. Mirrors
|
|
119
|
+
* the shape of {@link TrackChangeReplacementSide} for symmetry.
|
|
120
|
+
*/
|
|
121
|
+
export interface TrackChangeMoveSide {
|
|
122
|
+
/** SuperDoc-internal side id (stable across a session for the same fragment). */
|
|
123
|
+
id: string;
|
|
124
|
+
/** Visible-text excerpt for this side. */
|
|
125
|
+
excerpt: string;
|
|
126
|
+
/** Raw Word `w:id` on this side, when known. */
|
|
127
|
+
wordId?: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Paired source / destination metadata for tracked moves
|
|
131
|
+
* (spec §5). `pairId` is the SuperDoc logical pair identity reconstructed
|
|
132
|
+
* from Word move range markers and adjacency. `null` sides describe a
|
|
133
|
+
* source/destination half whose mate could not be paired.
|
|
134
|
+
*/
|
|
135
|
+
export interface TrackChangeMoveSides {
|
|
136
|
+
/** Move-from side (source content / location). */
|
|
137
|
+
source: TrackChangeMoveSide | null;
|
|
138
|
+
/** Move-to side (destination content / location). */
|
|
139
|
+
destination: TrackChangeMoveSide | null;
|
|
140
|
+
/** Logical pair identity when both sides are reliably paired. */
|
|
141
|
+
pairId?: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Logical move target projection. Text-level paired moves
|
|
145
|
+
* surface concrete source/destination text targets; future structural move
|
|
146
|
+
* support may widen these lanes beyond text.
|
|
147
|
+
*/
|
|
148
|
+
export interface TrackChangeMoveTarget {
|
|
149
|
+
kind: 'move';
|
|
150
|
+
address: TrackedChangeAddress;
|
|
151
|
+
source: TextTarget | null;
|
|
152
|
+
destination: TextTarget | null;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Semantic list-delta classification vocabulary for tracked list formatting
|
|
156
|
+
* changes (tracked-changes spec `TC-LIST-004`). Each member of a formatting
|
|
157
|
+
* review object is classified by diffing the live paragraph properties
|
|
158
|
+
* against the `pPrChange` snapshot, restricted to list-relevant properties.
|
|
159
|
+
*/
|
|
160
|
+
export type TrackChangeListDeltaKind = 'list-add' | 'list-remove' | 'list-level' | 'list-style' | 'list-restart' | 'indent' | 'other-format';
|
|
161
|
+
/**
|
|
162
|
+
* Resolved visual style kind for one side of a list delta, derived from the
|
|
163
|
+
* numbering model's `numFmt` at the effective level. `null` when the side has
|
|
164
|
+
* no list membership or its numbering definition cannot be resolved
|
|
165
|
+
* (fail-closed: never guessed).
|
|
166
|
+
*/
|
|
167
|
+
export type TrackChangeListStyleKind = 'bullet' | 'number' | 'letter' | 'roman' | 'other';
|
|
168
|
+
/** One side (before/after) of a member list delta. */
|
|
169
|
+
export interface TrackChangeListDeltaSide {
|
|
170
|
+
/** Explicit `numPr` element present in the property block on this side. */
|
|
171
|
+
hasNumPr: boolean;
|
|
172
|
+
/** Effective list membership numId; non-positive numIds normalize to null. */
|
|
173
|
+
numId: string | null;
|
|
174
|
+
/** Explicit `ilvl` value; null when the source omitted it (effective level 0). */
|
|
175
|
+
ilvl: number | null;
|
|
176
|
+
/** Resolved visual style kind via the numbering model; null when unresolvable. */
|
|
177
|
+
styleKind: TrackChangeListStyleKind | null;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Structured semantic delta for one member of a (possibly grouped) tracked
|
|
181
|
+
* list formatting change. Facts only — presentation copy is derived by
|
|
182
|
+
* consumers.
|
|
183
|
+
*/
|
|
184
|
+
export interface TrackChangeListMemberDelta {
|
|
185
|
+
kind: TrackChangeListDeltaKind;
|
|
186
|
+
from: TrackChangeListDeltaSide;
|
|
187
|
+
to: TrackChangeListDeltaSide;
|
|
188
|
+
/** Direction of a `list-level` change. */
|
|
189
|
+
levelDirection?: 'indent' | 'outdent';
|
|
190
|
+
/** Restart value for a `list-restart` change (numbering-model derived). */
|
|
191
|
+
restartAt?: number;
|
|
192
|
+
}
|
|
193
|
+
/** Group roll-up of the member list deltas. */
|
|
194
|
+
export interface TrackChangeListDeltaSummary {
|
|
195
|
+
/** The single kind shared by every member, or null for mixed groups. */
|
|
196
|
+
uniformKind: TrackChangeListDeltaKind | null;
|
|
197
|
+
/** Non-zero member counts per delta kind. */
|
|
198
|
+
counts: Partial<Record<TrackChangeListDeltaKind, number>>;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Semantic snapshot for one side of a tracked formatting revision.
|
|
202
|
+
* `xml` carries the raw OOXML preserved by import / native creation;
|
|
203
|
+
* `properties` exposes a subtype-aware key→value view for the most commonly
|
|
204
|
+
* tracked properties so callers can render the delta without an OOXML parser.
|
|
205
|
+
*/
|
|
206
|
+
export interface TrackChangeFormattingSnapshot {
|
|
207
|
+
/** Raw OOXML for the property block on this side. */
|
|
208
|
+
xml: string;
|
|
209
|
+
/** Subtype-aware semantic property map. */
|
|
210
|
+
properties: Record<string, unknown>;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Logical structural target classes required by the tracked-changes spec's
|
|
214
|
+
* first-class structural descriptor contract ("Semantic Type vs UI Label vs
|
|
215
|
+
* OOXML Carrier"). The target remains a logical document object, not raw OOXML
|
|
216
|
+
* storage detail. The vocabulary now covers the full structural surface
|
|
217
|
+
* (list items, images/drawings, fields, content controls, section breaks,
|
|
218
|
+
* footnotes/endnotes, and non-body note stories) so structural revisions on
|
|
219
|
+
* those objects are addressable instead of failing closed at the target lane.
|
|
220
|
+
*/
|
|
221
|
+
export type TrackChangeStructuralTargetKind = 'paragraph' | 'paragraph-mark' | 'list-item' | 'table' | 'row' | 'column' | 'cell' | 'image' | 'drawing' | 'field' | 'content-control' | 'section-break' | 'footnote' | 'endnote' | 'note-story';
|
|
222
|
+
/**
|
|
223
|
+
* Structural operation for the first-class structural descriptor. A structural
|
|
224
|
+
* revision changes the reviewable identity/topology of a document object;
|
|
225
|
+
* property-only revisions keep broad type `formatting`.
|
|
226
|
+
*/
|
|
227
|
+
export type TrackChangeStructuralOperation = 'insert' | 'delete' | 'replace' | 'split' | 'merge' | 'move' | 'story-edit';
|
|
228
|
+
/** Granularity of a structural revision per the descriptor contract. */
|
|
229
|
+
export type TrackChangeStructuralGranularity = 'whole-object' | 'range' | 'story-part';
|
|
230
|
+
/**
|
|
231
|
+
* Decision policy per the descriptor contract. `unsupported-fail-closed`
|
|
232
|
+
* requires a partial decision to fail closed rather than mutate.
|
|
233
|
+
*/
|
|
234
|
+
export type TrackChangeStructuralDecisionPolicy = 'atomic' | 'range-divisible' | 'child-addressable' | 'unsupported-fail-closed';
|
|
235
|
+
/**
|
|
236
|
+
* OOXML carrier inventory: the revision wrapper / property-change element names
|
|
237
|
+
* a structural or formatting change relies on (e.g. `w:ins`, `w:del`,
|
|
238
|
+
* `w:tblPrChange`, `w:cellIns`). Proof asserts these survive a no-op export.
|
|
239
|
+
*/
|
|
240
|
+
export type OoxmlCarrierInventory = readonly string[];
|
|
241
|
+
/**
|
|
242
|
+
* Semantic snapshot for one side of a structural tracked change.
|
|
243
|
+
* `xml` is the raw OOXML snapshot needed to restore/apply the relevant
|
|
244
|
+
* structure; `state` distinguishes structural absence (e.g. insertion
|
|
245
|
+
* before-state) from a present structural shape.
|
|
246
|
+
*/
|
|
247
|
+
export interface TrackChangeStructuralSnapshot {
|
|
248
|
+
/** Which structural object/boundary this snapshot describes. */
|
|
249
|
+
targetKind: TrackChangeStructuralTargetKind;
|
|
250
|
+
/** Semantic structural subtype driving accept/reject. */
|
|
251
|
+
structuralKind: TrackChangeSubtype;
|
|
252
|
+
/** Whether the targeted structure exists on this side of the change. */
|
|
253
|
+
state: 'present' | 'absent';
|
|
254
|
+
/** Raw OOXML snapshot for this side when the structure is present. */
|
|
255
|
+
xml: string | null;
|
|
256
|
+
/** Raw marker / wrapper XML preserved from the source when relevant. */
|
|
257
|
+
markerXml?: string;
|
|
258
|
+
/** Wrapped inner XML for block-level structural wrappers when available. */
|
|
259
|
+
innerXml?: string;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Whole-object child-ownership policy for a structural revision. When Word
|
|
263
|
+
* encodes contained inline edits under the same revision wrapper, the
|
|
264
|
+
* structural change owns them (`subsumed`) rather than surfacing them as
|
|
265
|
+
* separate review items, unless the subtype is explicitly child-addressable.
|
|
266
|
+
*/
|
|
267
|
+
export interface TrackChangeStructuralChildOwnership {
|
|
268
|
+
/** Whether contained inline changes are owned by this structural change. */
|
|
269
|
+
ownsContainedInlineChanges: boolean;
|
|
270
|
+
/** Logical ids of the owned contained inline changes. */
|
|
271
|
+
childChangeIds: readonly string[];
|
|
272
|
+
/** Whether owned children are hidden (`subsumed`) or independently decidable. */
|
|
273
|
+
duplicateDisplayPolicy: 'subsumed' | 'child-addressable';
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* First-class structural descriptor (spec "Structural descriptor shape").
|
|
277
|
+
* Exposed alongside {@link TrackChangeInfo.before}/`after` so a caller can
|
|
278
|
+
* inspect and decide a structural revision programmatically without parsing
|
|
279
|
+
* OOXML: it carries the operation, granularity, decision policy, affected
|
|
280
|
+
* stories, and the OOXML carrier inventory that must survive export.
|
|
281
|
+
*/
|
|
282
|
+
export interface TrackChangeStructuralDescriptor {
|
|
283
|
+
/** Topology operation the revision performs. */
|
|
284
|
+
operation: TrackChangeStructuralOperation;
|
|
285
|
+
/** Whether the change is whole-object, range-divisible, or story-part scoped. */
|
|
286
|
+
granularity: TrackChangeStructuralGranularity;
|
|
287
|
+
/** How partial accept/reject must behave; drives fail-closed safety. */
|
|
288
|
+
decisionPolicy: TrackChangeStructuralDecisionPolicy;
|
|
289
|
+
/** Structural state needed to reject the change. */
|
|
290
|
+
before: TrackChangeStructuralSnapshot;
|
|
291
|
+
/** Structural state needed to accept the change. */
|
|
292
|
+
after: TrackChangeStructuralSnapshot;
|
|
293
|
+
/** Stories touched by the change beyond the primary anchor (notes, parts). */
|
|
294
|
+
affectedStories: readonly StoryLocator[];
|
|
295
|
+
/** Raw source provenance ids contributing to this structural change. */
|
|
296
|
+
sourceIds: TrackChangeSourceIds;
|
|
297
|
+
/** OOXML carrier element names that must survive a no-op export. */
|
|
298
|
+
exportCarrier: OoxmlCarrierInventory;
|
|
299
|
+
/** Whole-object child-ownership policy when the change contains inline edits. */
|
|
300
|
+
childOwnership?: TrackChangeStructuralChildOwnership;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Logical target description per spec §3. The model ships `text`,
|
|
304
|
+
* `replacement`, and `formatting` target kinds;
|
|
305
|
+
* structural target kinds land under the same field as they arrive.
|
|
306
|
+
*/
|
|
307
|
+
export type TrackChangeTarget = {
|
|
308
|
+
kind: 'text';
|
|
309
|
+
address: TrackedChangeAddress;
|
|
310
|
+
} | {
|
|
311
|
+
kind: 'replacement';
|
|
312
|
+
address: TrackedChangeAddress;
|
|
313
|
+
} | {
|
|
314
|
+
kind: 'formatting';
|
|
315
|
+
address: TrackedChangeAddress;
|
|
316
|
+
/** Which property class the revision affects. */
|
|
317
|
+
subtype: TrackChangeFormattingSubtype;
|
|
318
|
+
/**
|
|
319
|
+
* Coarse logical object the formatting change targets (paragraph,
|
|
320
|
+
* list-item, run, …). Lets consumers treat list/paragraph property
|
|
321
|
+
* changes as target-aware formatting without a structural descriptor.
|
|
322
|
+
*/
|
|
323
|
+
targetKind?: TrackChangeFormattingTargetKind;
|
|
324
|
+
/** Fine-grained formatting-on-target subtype (e.g. `paragraph-indentation`, `list-formatting-level`). */
|
|
325
|
+
semanticSubtype?: TrackChangeFormattingSemanticSubtype;
|
|
326
|
+
/** Property keys that changed between the before/after snapshots. */
|
|
327
|
+
changedKeys?: readonly string[];
|
|
328
|
+
/** OOXML carrier element names backing this formatting change. */
|
|
329
|
+
carriers?: OoxmlCarrierInventory;
|
|
330
|
+
} | {
|
|
331
|
+
kind: 'structural';
|
|
332
|
+
address: TrackedChangeAddress;
|
|
333
|
+
/** Which structural object/boundary the change targets. */
|
|
334
|
+
targetKind: TrackChangeStructuralTargetKind;
|
|
335
|
+
/**
|
|
336
|
+
* More specific semantic kind when the structural target has one. For
|
|
337
|
+
* field targets this is the Word field classification (for example,
|
|
338
|
+
* `hyperlink`, `page`, or `ref`).
|
|
339
|
+
*/
|
|
340
|
+
semanticSubtype?: string;
|
|
341
|
+
} | TrackChangeMoveTarget;
|
|
342
|
+
/**
|
|
343
|
+
* Semantic before/after snapshot. Shape depends on `type` / `subtype`.
|
|
344
|
+
* Text revisions emit visible text snapshots; tracked property changes
|
|
345
|
+
* add formatting snapshots.
|
|
346
|
+
*/
|
|
347
|
+
export interface TrackChangeSnapshot {
|
|
348
|
+
/** Visible text snapshot, when the affected revision is text-shaped. */
|
|
349
|
+
text?: string;
|
|
350
|
+
/** Formatting snapshot, when the affected revision is property-shaped. */
|
|
351
|
+
formatting?: TrackChangeFormattingSnapshot;
|
|
352
|
+
/** Structural snapshot, when the affected revision is structure-shaped. */
|
|
353
|
+
structural?: TrackChangeStructuralSnapshot;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Source-platform provenance per spec §3. Imported Word DOCX revisions
|
|
357
|
+
* surface as `word`; v2 native edits surface `superdoc`.
|
|
358
|
+
*/
|
|
359
|
+
export type TrackChangeProvenanceOrigin = 'word' | 'google-docs' | 'superdoc' | 'custom' | 'unknown';
|
|
360
|
+
export type TrackChangeSourcePlatform = TrackChangeProvenanceOrigin;
|
|
361
|
+
/**
|
|
362
|
+
* Public semantic grouping for a tracked change. A paired replacement is one
|
|
363
|
+
* logical public item representing both the deleted and inserted Word
|
|
364
|
+
* revision wrappers.
|
|
365
|
+
*/
|
|
366
|
+
export type TrackChangeGrouping = 'standalone' | 'replacement-pair' | 'unknown';
|
|
367
|
+
/**
|
|
368
|
+
* How the public logical id was canonicalized from source revision data.
|
|
369
|
+
*/
|
|
370
|
+
export type TrackChangeCanonicalizationKind = 'single-word-revision' | 'paired-word-revision' | 'generated-runtime-id' | 'unknown';
|
|
371
|
+
/**
|
|
372
|
+
* Flat navigation address summary for semantic snapshots.
|
|
373
|
+
*/
|
|
374
|
+
export type TrackChangeAddressKind = 'entity' | 'story-entity' | 'unknown';
|
|
375
|
+
/**
|
|
376
|
+
* Relationship a tracked change has to its overlap group.
|
|
377
|
+
*
|
|
378
|
+
* • `parent` — the change is the parent surface of an overlap (e.g.
|
|
379
|
+
* Word's outer insertion that flanks a child deletion).
|
|
380
|
+
* • `child` — the change is a follow-up nested inside another
|
|
381
|
+
* author's revision shape.
|
|
382
|
+
* • `standalone` — no overlap relationship; surface omitted by default.
|
|
383
|
+
*/
|
|
384
|
+
export type TrackChangeOverlapRelationship = 'parent' | 'child' | 'standalone';
|
|
385
|
+
/**
|
|
386
|
+
* One visual layer in an overlap group. `type` mirrors the
|
|
387
|
+
* canonical broad-type vocabulary so renderers can paint each layer with
|
|
388
|
+
* the same style they use for non-overlap revisions.
|
|
389
|
+
*/
|
|
390
|
+
export interface TrackChangeOverlapLayer {
|
|
391
|
+
/** SuperDoc logical id of the contributing tracked change. */
|
|
392
|
+
id: string;
|
|
393
|
+
/** Broad type of the layer (canonical v2 spelling). */
|
|
394
|
+
type: TrackChangeType;
|
|
395
|
+
/** Layer relationship to the parent overlap surface. */
|
|
396
|
+
relationship: TrackChangeOverlapRelationship;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* Overlap metadata projected onto a tracked change. The
|
|
400
|
+
* parent surface carries the layer list and the preferred context-target
|
|
401
|
+
* pointer. Child changes carry a minimal payload (`relationship: 'child'`
|
|
402
|
+
* plus the parent layer reference) so consumers can route comments / UI
|
|
403
|
+
* back to the parent group.
|
|
404
|
+
*/
|
|
405
|
+
export interface TrackChangeOverlapInfo {
|
|
406
|
+
/**
|
|
407
|
+
* Ordered visual layers backing this overlap. The parent layer is index
|
|
408
|
+
* 0; children follow in deterministic order (deletions before insertions,
|
|
409
|
+
* then document order, then logical id).
|
|
410
|
+
*/
|
|
411
|
+
visualLayers?: readonly TrackChangeOverlapLayer[];
|
|
412
|
+
/**
|
|
413
|
+
* Preferred context-target id for parent surfaces. Points to the first
|
|
414
|
+
* child deletion when one exists, otherwise the first child, otherwise
|
|
415
|
+
* absent.
|
|
416
|
+
*/
|
|
417
|
+
preferredContextTargetId?: string;
|
|
418
|
+
/** Mirror of the chosen layer for `preferredContextTargetId`. */
|
|
419
|
+
preferredContextTarget?: TrackChangeOverlapLayer;
|
|
420
|
+
/** Relationship of this change to the overlap group. */
|
|
421
|
+
relationship?: TrackChangeOverlapRelationship;
|
|
422
|
+
/**
|
|
423
|
+
* For child layers, the parent's logical id. Lets consumers walk back
|
|
424
|
+
* to the parent surface without re-running the overlap projection.
|
|
425
|
+
*/
|
|
426
|
+
parentId?: string;
|
|
427
|
+
}
|
|
428
|
+
export interface TrackChangeLinkedComments {
|
|
429
|
+
count: number;
|
|
430
|
+
commentIds?: readonly string[];
|
|
431
|
+
}
|
|
432
|
+
export type TrackChangeMoveDirection = 'up' | 'down';
|
|
433
|
+
export interface TrackChangeImagePreview {
|
|
434
|
+
/** Browser-renderable preview source for the image side represented by this change. */
|
|
435
|
+
src: string;
|
|
436
|
+
/** MIME type of the media part used in {@link src}. */
|
|
437
|
+
contentType: string;
|
|
438
|
+
/** Which revision side the preview represents. */
|
|
439
|
+
role: 'deleted' | 'inserted' | 'before' | 'after';
|
|
440
|
+
/** Source media part URI, when the preview came from an internal DOCX part. */
|
|
441
|
+
partUri?: string;
|
|
442
|
+
/** Owner-part-scoped relationship id used to resolve the media part. */
|
|
443
|
+
relationshipId?: string;
|
|
444
|
+
/** Intended display width in CSS pixels, when the source drawing extent is known. */
|
|
445
|
+
width?: number;
|
|
446
|
+
/** Intended display height in CSS pixels, when the source drawing extent is known. */
|
|
447
|
+
height?: number;
|
|
448
|
+
/** Accessible label for clients that render the preview. */
|
|
449
|
+
alt?: string;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Authoritative block address for review navigation. Consumers use this
|
|
453
|
+
* instead of interpreting the shape-specific {@link TrackChangeTarget}
|
|
454
|
+
* union. `role` records which semantic carrier supplied the address.
|
|
455
|
+
*/
|
|
456
|
+
export interface TrackChangeNavigationTarget {
|
|
457
|
+
kind: 'block';
|
|
458
|
+
story: StoryLocator;
|
|
459
|
+
blockId: string;
|
|
460
|
+
role: 'primary' | 'move-source' | 'move-destination' | 'formatting-carrier' | 'structural-carrier';
|
|
461
|
+
}
|
|
462
|
+
export interface TrackChangeInfo {
|
|
463
|
+
address: TrackedChangeAddress;
|
|
464
|
+
/** Stable SuperDoc logical tracked-change id (spec §3 / §4). */
|
|
465
|
+
id: string;
|
|
466
|
+
type: TrackChangeType;
|
|
467
|
+
/** Semantic subtype string (spec §3, required-subtype matrix). */
|
|
468
|
+
subtype?: TrackChangeSubtype;
|
|
469
|
+
/** Lifecycle state. The read model always emits `open`. */
|
|
470
|
+
state?: TrackChangeState;
|
|
471
|
+
/** Logical target description. */
|
|
472
|
+
target?: TrackChangeTarget;
|
|
473
|
+
/** Stable story/block address for focus and virtualized materialization. */
|
|
474
|
+
navigationTarget?: TrackChangeNavigationTarget;
|
|
475
|
+
/** Semantic before-state needed to reject the change. */
|
|
476
|
+
before?: TrackChangeSnapshot;
|
|
477
|
+
/** Semantic after-state needed to accept the change. */
|
|
478
|
+
after?: TrackChangeSnapshot;
|
|
479
|
+
/**
|
|
480
|
+
* First-class structural descriptor for `structural` / `move` changes
|
|
481
|
+
* (spec "Structural descriptor shape"). Present once the runtime ships the
|
|
482
|
+
* richer boundary payload; absent for changes that only carry the legacy
|
|
483
|
+
* `before`/`after` snapshot. A null descriptor on a structural change is an
|
|
484
|
+
* explicit closure gap, not authoritative closure.
|
|
485
|
+
*/
|
|
486
|
+
structuralDescriptor?: TrackChangeStructuralDescriptor;
|
|
487
|
+
/**
|
|
488
|
+
* Canonical multi-side source provenance (spec §3 / §4). New consumers
|
|
489
|
+
* MUST read provenance from this field. `wordRevisionIds` is preserved
|
|
490
|
+
* as a compatibility alias only.
|
|
491
|
+
*/
|
|
492
|
+
sourceIds?: TrackChangeSourceIds;
|
|
493
|
+
/**
|
|
494
|
+
* @deprecated Use {@link sourceIds}. Compatibility alias retained during
|
|
495
|
+
* the vocabulary migration; populated alongside `sourceIds` for existing
|
|
496
|
+
* consumers that read this field. Will be removed in a later cleanup.
|
|
497
|
+
*/
|
|
498
|
+
wordRevisionIds?: TrackChangeWordRevisionIds;
|
|
499
|
+
/** Stable revision-group id (spec §3, fragment lineage). */
|
|
500
|
+
revisionGroupId?: string;
|
|
501
|
+
/** Set to the retired source id when this change is a partial-split fragment; otherwise `null`. */
|
|
502
|
+
splitFromId?: string | null;
|
|
503
|
+
/** Replacement side metadata (`paired` mode replacements only). */
|
|
504
|
+
replacement?: TrackChangeReplacementSides;
|
|
505
|
+
/** Move side metadata for paired tracked moves. */
|
|
506
|
+
move?: TrackChangeMoveSides;
|
|
507
|
+
/** Direction of a paired move in document order, when source/destination order is known. */
|
|
508
|
+
moveDirection?: TrackChangeMoveDirection;
|
|
509
|
+
author?: string;
|
|
510
|
+
authorEmail?: string;
|
|
511
|
+
authorImage?: string;
|
|
512
|
+
/** Author initials (spec §3 required field, when provided by the source). */
|
|
513
|
+
initials?: string;
|
|
514
|
+
date?: string;
|
|
515
|
+
/**
|
|
516
|
+
* Story locator the change lives in (spec §3 part/story). Body remains
|
|
517
|
+
* the default and is also represented inline on `address.story`.
|
|
518
|
+
*/
|
|
519
|
+
storyLocator?: StoryLocator;
|
|
520
|
+
/** Originating platform of the imported revision when known. */
|
|
521
|
+
sourcePlatform?: TrackChangeSourcePlatform;
|
|
522
|
+
/** Flat semantic grouping used by public requirement snapshots. */
|
|
523
|
+
grouping?: TrackChangeGrouping;
|
|
524
|
+
/** Partner logical id when the change is represented as one side of a pair; otherwise `null`. */
|
|
525
|
+
pairedWithChangeId?: string | null;
|
|
526
|
+
/** Inserted visible text for text insertions/replacements when available. */
|
|
527
|
+
insertedText?: string | null;
|
|
528
|
+
/** Deleted visible text for text deletions/replacements when available. */
|
|
529
|
+
deletedText?: string | null;
|
|
530
|
+
/** Human-readable formatting delta summary for formatting changes; otherwise `null`. */
|
|
531
|
+
formattingDeltaSummary?: string | null;
|
|
532
|
+
/**
|
|
533
|
+
* Structured per-member list semantic deltas for tracked list formatting
|
|
534
|
+
* changes (spec `TC-LIST-003`/`TC-LIST-004`). Index-aligned with the
|
|
535
|
+
* grouped members (length 1 for single-carrier changes); absent for
|
|
536
|
+
* non-list-formatting changes.
|
|
537
|
+
*/
|
|
538
|
+
listDeltas?: readonly TrackChangeListMemberDelta[];
|
|
539
|
+
/** Group roll-up of {@link listDeltas}; present iff `listDeltas` is. */
|
|
540
|
+
listDeltaSummary?: TrackChangeListDeltaSummary;
|
|
541
|
+
/**
|
|
542
|
+
* Structural list-membership fact for paragraph-mark structural changes:
|
|
543
|
+
* true iff the target paragraph's live properties carry direct effective
|
|
544
|
+
* list membership; false when inspected and not a list item; absent when
|
|
545
|
+
* the target paragraph was not inspected.
|
|
546
|
+
*/
|
|
547
|
+
targetIsListItem?: boolean;
|
|
548
|
+
/**
|
|
549
|
+
* Stable presentation fact on the merge-owner deletion change (the change
|
|
550
|
+
* owning a suppressed merge-companion property revision, spec
|
|
551
|
+
* `TC-LIST-005`).
|
|
552
|
+
*/
|
|
553
|
+
listActionKind?: 'merge-items';
|
|
554
|
+
/** Originating platform alias for consumers that read flat provenance fields. */
|
|
555
|
+
origin?: TrackChangeSourcePlatform;
|
|
556
|
+
/** Whether the change came from an imported source revision wrapper. */
|
|
557
|
+
imported?: boolean;
|
|
558
|
+
/** How the public id was derived from source revision data. */
|
|
559
|
+
canonicalizationKind?: TrackChangeCanonicalizationKind;
|
|
560
|
+
/** Flat address summary for list/get semantic snapshots. */
|
|
561
|
+
addressKind?: TrackChangeAddressKind;
|
|
562
|
+
/** Whether `trackChanges.get({ id })` can resolve this public list id. */
|
|
563
|
+
resolvableById?: boolean;
|
|
564
|
+
/** Comments whose anchor is wholly associated with this tracked change. */
|
|
565
|
+
linkedComments?: TrackChangeLinkedComments;
|
|
566
|
+
/** Visual preview for image-backed tracked changes when an internal browser-renderable image part is available. */
|
|
567
|
+
imagePreview?: TrackChangeImagePreview;
|
|
568
|
+
excerpt?: string;
|
|
569
|
+
/**
|
|
570
|
+
* Overlap relationship metadata for Word-shape overlapping
|
|
571
|
+
* tracked changes. Absent when the change is standalone.
|
|
572
|
+
*/
|
|
573
|
+
overlap?: TrackChangeOverlapInfo;
|
|
574
|
+
}
|
|
575
|
+
export interface TrackChangesListQuery {
|
|
576
|
+
limit?: number;
|
|
577
|
+
offset?: number;
|
|
578
|
+
/**
|
|
579
|
+
* Filter by tracked-change broad type. Accepts the canonical spec
|
|
580
|
+
* vocabulary (`insertion` / `deletion` / `replacement` / ...) and the
|
|
581
|
+
* legacy `insert` / `delete` / `format` aliases during migration.
|
|
582
|
+
*/
|
|
583
|
+
type?: TrackChangeType;
|
|
584
|
+
/**
|
|
585
|
+
* Story scope.
|
|
586
|
+
* - `undefined` (default): body only (backward compatible).
|
|
587
|
+
* - A {@link StoryLocator}: only that story.
|
|
588
|
+
* - `'all'`: flat list across body + every revision-capable non-body story.
|
|
589
|
+
*/
|
|
590
|
+
in?: StoryLocator | TrackChangesInAll;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* Scope marker used by {@link TrackChangesListQuery.in} to request changes
|
|
594
|
+
* across every revision-capable story (body + headers + footers + footnotes +
|
|
595
|
+
* endnotes). Equivalent to a multi-story aggregate list.
|
|
596
|
+
*/
|
|
597
|
+
export declare const TRACK_CHANGES_IN_ALL: "all";
|
|
598
|
+
export type TrackChangesInAll = typeof TRACK_CHANGES_IN_ALL;
|
|
599
|
+
/**
|
|
600
|
+
* Compact list-projection fields.
|
|
601
|
+
* `trackChanges.list` MAY omit the richer `target` / `before` / `after`
|
|
602
|
+
* payloads carried by {@link TrackChangeInfo}; callers wanting full detail
|
|
603
|
+
* call `trackChanges.get`.
|
|
604
|
+
*/
|
|
605
|
+
export interface TrackChangeDomain {
|
|
606
|
+
address: TrackedChangeAddress;
|
|
607
|
+
type: TrackChangeType;
|
|
608
|
+
/** Semantic subtype string. */
|
|
609
|
+
subtype?: TrackChangeSubtype;
|
|
610
|
+
/** Lifecycle state. */
|
|
611
|
+
state?: TrackChangeState;
|
|
612
|
+
/** Logical target summary for list consumers when the compact projection can provide it safely. */
|
|
613
|
+
target?: TrackChangeTarget;
|
|
614
|
+
/** Stable story/block address for focus and virtualized materialization. */
|
|
615
|
+
navigationTarget?: TrackChangeNavigationTarget;
|
|
616
|
+
/** Move side metadata for paired tracked moves. */
|
|
617
|
+
move?: TrackChangeMoveSides;
|
|
618
|
+
/** Direction of a paired move in document order, when source/destination order is known. */
|
|
619
|
+
moveDirection?: TrackChangeMoveDirection;
|
|
620
|
+
/**
|
|
621
|
+
* First-class structural descriptor for structural / move changes when the
|
|
622
|
+
* compact list projection can derive the full before/after boundary safely.
|
|
623
|
+
*/
|
|
624
|
+
structuralDescriptor?: TrackChangeStructuralDescriptor;
|
|
625
|
+
/** Stable revision-group id. */
|
|
626
|
+
revisionGroupId?: string;
|
|
627
|
+
/** Set to the retired source id when this list item is a partial-split fragment; otherwise `null`. */
|
|
628
|
+
splitFromId?: string | null;
|
|
629
|
+
/**
|
|
630
|
+
* Canonical multi-side source provenance. Compact list projection MAY
|
|
631
|
+
* surface this so callers can correlate ids back to source OOXML.
|
|
632
|
+
*/
|
|
633
|
+
sourceIds?: TrackChangeSourceIds;
|
|
634
|
+
/**
|
|
635
|
+
* @deprecated Use {@link sourceIds}. Compatibility alias only.
|
|
636
|
+
*/
|
|
637
|
+
wordRevisionIds?: TrackChangeWordRevisionIds;
|
|
638
|
+
author?: string;
|
|
639
|
+
authorEmail?: string;
|
|
640
|
+
authorImage?: string;
|
|
641
|
+
/** Author initials. */
|
|
642
|
+
initials?: string;
|
|
643
|
+
date?: string;
|
|
644
|
+
excerpt?: string;
|
|
645
|
+
/** Story locator for the change (body omitted for backward compat). */
|
|
646
|
+
storyLocator?: StoryLocator;
|
|
647
|
+
/** Flat semantic grouping used by public requirement snapshots. */
|
|
648
|
+
grouping?: TrackChangeGrouping;
|
|
649
|
+
/** Partner logical id when the change is represented as one side of a pair; otherwise `null`. */
|
|
650
|
+
pairedWithChangeId?: string | null;
|
|
651
|
+
/** Inserted visible text for text insertions/replacements when available. */
|
|
652
|
+
insertedText?: string | null;
|
|
653
|
+
/** Deleted visible text for text deletions/replacements when available. */
|
|
654
|
+
deletedText?: string | null;
|
|
655
|
+
/** Human-readable formatting delta summary for formatting changes; otherwise `null`. */
|
|
656
|
+
formattingDeltaSummary?: string | null;
|
|
657
|
+
/**
|
|
658
|
+
* Structured per-member list semantic deltas for tracked list formatting
|
|
659
|
+
* changes (spec `TC-LIST-003`/`TC-LIST-004`). Index-aligned with the
|
|
660
|
+
* grouped members (length 1 for single-carrier changes); absent for
|
|
661
|
+
* non-list-formatting changes.
|
|
662
|
+
*/
|
|
663
|
+
listDeltas?: readonly TrackChangeListMemberDelta[];
|
|
664
|
+
/** Group roll-up of {@link listDeltas}; present iff `listDeltas` is. */
|
|
665
|
+
listDeltaSummary?: TrackChangeListDeltaSummary;
|
|
666
|
+
/**
|
|
667
|
+
* Structural list-membership fact for paragraph-mark structural changes:
|
|
668
|
+
* true iff the target paragraph's live properties carry direct effective
|
|
669
|
+
* list membership; false when inspected and not a list item; absent when
|
|
670
|
+
* the target paragraph was not inspected.
|
|
671
|
+
*/
|
|
672
|
+
targetIsListItem?: boolean;
|
|
673
|
+
/**
|
|
674
|
+
* Stable presentation fact on the merge-owner deletion change (the change
|
|
675
|
+
* owning a suppressed merge-companion property revision, spec
|
|
676
|
+
* `TC-LIST-005`).
|
|
677
|
+
*/
|
|
678
|
+
listActionKind?: 'merge-items';
|
|
679
|
+
/** Originating platform alias for consumers that read flat provenance fields. */
|
|
680
|
+
origin?: TrackChangeSourcePlatform;
|
|
681
|
+
/** Whether the change came from an imported source revision wrapper. */
|
|
682
|
+
imported?: boolean;
|
|
683
|
+
/** How the public id was derived from source revision data. */
|
|
684
|
+
canonicalizationKind?: TrackChangeCanonicalizationKind;
|
|
685
|
+
/** Flat address summary for list/get semantic snapshots. */
|
|
686
|
+
addressKind?: TrackChangeAddressKind;
|
|
687
|
+
/** Whether `trackChanges.get({ id })` can resolve this public list id. */
|
|
688
|
+
resolvableById?: boolean;
|
|
689
|
+
/** Comments whose anchor is wholly associated with this tracked change. */
|
|
690
|
+
linkedComments?: TrackChangeLinkedComments;
|
|
691
|
+
/** Visual preview for image-backed tracked changes when an internal browser-renderable image part is available. */
|
|
692
|
+
imagePreview?: TrackChangeImagePreview;
|
|
693
|
+
/**
|
|
694
|
+
* Overlap relationship metadata for list consumers. When
|
|
695
|
+
* present, `visualLayers` lets a list-only client render the overlap
|
|
696
|
+
* stack without an extra `trackChanges.get` round trip.
|
|
697
|
+
*/
|
|
698
|
+
overlap?: TrackChangeOverlapInfo;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* Standardized discovery output for `trackChanges.list`.
|
|
702
|
+
*/
|
|
703
|
+
export type TrackChangesListResult = DiscoveryOutput<TrackChangeDomain>;
|