@docx-editor.dev/core 2.36.0 → 2.37.0-canary.20261110032710.sha-525df6f
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/automation.cjs +1 -1
- package/dist/automation.d.ts +6 -6
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +11 -11
- package/dist/binding.js +1 -1
- package/dist/{chrome-print-B9U_PiqL.d.ts → chrome-print-BSsqYQtt.d.ts} +51 -19
- package/dist/chunk-36NJQDWI.cjs +31 -0
- package/dist/chunk-3OKDY5TX.cjs +3 -0
- package/dist/{chunk-I34OVDHO.cjs → chunk-4QLFADOG.cjs} +1 -1
- package/dist/chunk-6EGRB3J4.js +6 -0
- package/dist/chunk-6I6V2JDF.cjs +7 -0
- package/dist/chunk-77L2HX42.js +1 -0
- package/dist/chunk-ATU65CUF.cjs +32 -0
- package/dist/chunk-EB5XLX3A.js +4 -0
- package/dist/chunk-G7GO4CNK.cjs +2 -0
- package/dist/chunk-JK4HBRVP.js +7 -0
- package/dist/{chunk-D75AXVLG.cjs → chunk-JZXMWGF4.cjs} +1 -1
- package/dist/{chunk-HLMY6NFI.js → chunk-MLJJL4QG.js} +1 -1
- package/dist/chunk-MYNOUTWY.js +1 -0
- package/dist/{chunk-QTRRXJXQ.cjs → chunk-NPPHSBFT.cjs} +3 -3
- package/dist/{chunk-7ZSPY7WH.cjs → chunk-OTZNA6FP.cjs} +1 -1
- package/dist/chunk-Q3FUAUL4.js +31 -0
- package/dist/chunk-RFMMFHWX.cjs +6 -0
- package/dist/chunk-T6MYXF6V.js +32 -0
- package/dist/chunk-TTPQZXYS.js +3 -0
- package/dist/{chunk-4RDU6QVH.cjs → chunk-UMDB6PEV.cjs} +1 -1
- package/dist/{chunk-NTDLU6W6.cjs → chunk-UP5TM6T6.cjs} +1 -1
- package/dist/{chunk-2BVJFI6B.js → chunk-WMM772MS.js} +1 -1
- package/dist/chunk-XI5HK3TZ.js +282 -0
- package/dist/chunk-XMJFDVE2.js +4 -0
- package/dist/chunk-XPBKJQTG.cjs +282 -0
- package/dist/{chunk-VS2MXS62.js → chunk-YCOHPEF2.js} +1 -1
- package/dist/{chunk-IMTQS6N5.cjs → chunk-YVK3NMR6.cjs} +1 -1
- package/dist/{chunk-K3UKJU4K.js → chunk-YVLF7HBD.js} +1 -1
- package/dist/chunk-Z6NPBOE6.js +2 -0
- package/dist/chunk-ZY7HJR3R.cjs +4 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +2 -2
- package/dist/collaboration/replication.js +1 -1
- package/dist/contracts/document.d.ts +2 -2
- package/dist/contracts/editor.d.ts +8 -8
- package/dist/contracts/modules.d.ts +9 -9
- package/dist/contracts/types.d.ts +3 -3
- package/dist/{custom-node-writes-DqzeiTpY.d.ts → custom-node-writes-Buryuzow.d.ts} +2 -2
- package/dist/{document-protection-CGnc6WX7.d.ts → document-protection-Denp0lhl.d.ts} +1 -1
- package/dist/{drawing-graphic-kind-Dw4Qu9VA.d.ts → drawing-graphic-kind-DjGMFeSM.d.ts} +2 -2
- package/dist/{drawing-preview-package-BuFluWSg.d.ts → drawing-preview-package-LHyHuTVq.d.ts} +1 -1
- package/dist/{editor-CoU0Ipa9.d.ts → editor-B0xPJSXd.d.ts} +233 -9
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +2 -2
- package/dist/editor.d.ts +309 -26
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +2 -2
- package/dist/export.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +17 -17
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-B7ifvgm-.d.ts → layout-shaping-CFTk9pWQ.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +16 -14
- package/dist/layout.js +1 -1
- package/dist/{note-properties-CrO9A0Ju.d.ts → note-properties-C8_cURo1.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +9 -9
- package/dist/output.js +1 -1
- package/dist/{protocol-C-LfGgrt.d.ts → protocol-CG_ybtKt.d.ts} +2 -2
- package/dist/{review-paragraph-order-gZ8-oIWd.d.ts → review-paragraph-order-3oV2aI2q.d.ts} +1 -1
- package/dist/{revision-projection-BAUauksK.d.ts → revision-projection-C9oujZwA.d.ts} +1 -1
- package/dist/{semantic-cell-selection--xgumqWx.d.ts → semantic-cell-selection-BiYMYlbf.d.ts} +2 -2
- package/dist/{semantic-interaction-B_AAT9S2.d.ts → semantic-interaction-BTba0_1e.d.ts} +1 -1
- package/dist/{semantic-paint-Cl4VyItm.d.ts → semantic-paint-B_xi9H5m.d.ts} +4 -4
- package/dist/{semantic-record-queries-BKX8sDqa.d.ts → semantic-record-queries-TdjLU-AU.d.ts} +1 -1
- package/dist/{semantic-records-DkDc4E1z.d.ts → semantic-records-C5qbT1sK.d.ts} +29 -5
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +12 -12
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-BJTz6t_O.d.ts → tree-op-types-DzstjXTb.d.ts} +12 -2
- package/dist/{tree-package-fragment-DDV5xjSI.d.ts → tree-package-fragment-DLbxcboK.d.ts} +67 -65
- package/dist/{tree-session-contract-CAsZn-VN.d.ts → tree-session-contract-BiKgucBu.d.ts} +92 -11
- package/dist/{unsupported-elements-1Tj829Bk.d.ts → unsupported-elements-KboafN7A.d.ts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-3DLIAAXE.js +0 -2
- package/dist/chunk-3KSO2I22.js +0 -4
- package/dist/chunk-4K5QXGVN.js +0 -31
- package/dist/chunk-5JHQHJRH.js +0 -3
- package/dist/chunk-5W6DLXVG.cjs +0 -3
- package/dist/chunk-6VTHQTM3.js +0 -1
- package/dist/chunk-7MOZVKCN.js +0 -282
- package/dist/chunk-BR7AQCGM.cjs +0 -31
- package/dist/chunk-DZO5K26E.js +0 -1
- package/dist/chunk-K5FZYV6Z.cjs +0 -32
- package/dist/chunk-MK4MO7RT.cjs +0 -7
- package/dist/chunk-N5RYSQN5.js +0 -4
- package/dist/chunk-O2AEJ5T4.js +0 -5
- package/dist/chunk-PSVIEQUU.js +0 -32
- package/dist/chunk-PXF5BBEK.cjs +0 -2
- package/dist/chunk-R42NW5FO.js +0 -7
- package/dist/chunk-TCWCSTAF.cjs +0 -282
- package/dist/chunk-XFDDD65J.cjs +0 -4
- package/dist/chunk-XTNY4DBY.cjs +0 -5
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-
|
|
11
|
-
export { M as Block, an as COMPARE_DOCUMENTS_ACCEPT, N as ColorValue, e as CommentRecord, ao as CompareDocumentsChromeHandlers, b as CompareDocumentsDialogSession, g as CompareDocumentsEngineErrorCode, j as CompareDocumentsErrorCode, k as CompareDocumentsOutcome, l as CompareDocumentsPhase, m as CompareDocumentsProgress, n as CompareDocumentsRefusalReason, o as CompareDocumentsRequest, G as ContainerRef, P as ContentControl, H as ContentControlFilter, z as ContentControlType, Q as DocAnchor, U as DocAnchorRange, L as DocComment, V as DocLocation, J as DocRange, A as DocTarget, W as DocumentBody, D as DocxDocument, ap as DocxDocumentJSON, aq as DrawingHorizontalReferenceFrame, ar as DrawingKind, as as DrawingLocks, at as DrawingPositionInput, au as DrawingVerticalReferenceFrame, X as ExecErrorCode, E as ExecResult, F as Extent, av as FontDefinition, Y as HeaderFooterSet, ay as ImageResourceState, az as ImageWrapTarget, Z as IndentFormatting, I as InsertableContentControlType, _ as NumberingRef, $ as PageMargins, a0 as Paragraph, a1 as ParagraphDisagreements, a2 as ParagraphFlags, aA as ParagraphFormatCommand, a3 as ParagraphTabStop, aB as Point, aC as PreservedImageMime, aD as Rect, aE as RenderableImageMime, t as ReviewCommentItem, u as ReviewCustomItem, c as ReviewItem, v as ReviewPosition, w as ReviewRange, d as ReviewRevisionItem, x as ReviewRevisionKind, K as Revision, y as RevisionAddress, a4 as RevisionAuthorEntry, a5 as RevisionAuthorResult, a6 as RevisionAuthorSkipReason, a7 as RevisionBatchEntry, a8 as RevisionBatchResult, a9 as RevisionBatchSkipDetail, aa as RevisionBatchSkipReason, ab as RevisionSiteRefusal, ac as RevisionType, ad as Run, B as RunFormatting, ae as Section, af as SectionProperties, aF as SelectionPin, ag as StyleDefinition, S as StyleDefinitions, aG as SupportedImageMime, ah as Table, ai as TableCell, aj as TableRow, ak as Theme, al as ThemeColorScheme, aH as Unsubscribe, aI as ValidatedImageBytesHandle, aJ as VectorImageMime, aK as Watermark, aL as WatermarkLayout, aM as WatermarkState, aN as compareDocumentsErrorKey } from '../tree-op-types-
|
|
10
|
+
export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-C9oujZwA.js';
|
|
11
|
+
export { M as Block, an as COMPARE_DOCUMENTS_ACCEPT, N as ColorValue, e as CommentRecord, ao as CompareDocumentsChromeHandlers, b as CompareDocumentsDialogSession, g as CompareDocumentsEngineErrorCode, j as CompareDocumentsErrorCode, k as CompareDocumentsOutcome, l as CompareDocumentsPhase, m as CompareDocumentsProgress, n as CompareDocumentsRefusalReason, o as CompareDocumentsRequest, G as ContainerRef, P as ContentControl, H as ContentControlFilter, z as ContentControlType, Q as DocAnchor, U as DocAnchorRange, L as DocComment, V as DocLocation, J as DocRange, A as DocTarget, W as DocumentBody, D as DocxDocument, ap as DocxDocumentJSON, aq as DrawingHorizontalReferenceFrame, ar as DrawingKind, as as DrawingLocks, at as DrawingPositionInput, au as DrawingVerticalReferenceFrame, X as ExecErrorCode, E as ExecResult, F as Extent, av as FontDefinition, Y as HeaderFooterSet, ay as ImageResourceState, az as ImageWrapTarget, Z as IndentFormatting, I as InsertableContentControlType, _ as NumberingRef, $ as PageMargins, a0 as Paragraph, a1 as ParagraphDisagreements, a2 as ParagraphFlags, aA as ParagraphFormatCommand, a3 as ParagraphTabStop, aB as Point, aC as PreservedImageMime, aD as Rect, aE as RenderableImageMime, t as ReviewCommentItem, u as ReviewCustomItem, c as ReviewItem, v as ReviewPosition, w as ReviewRange, d as ReviewRevisionItem, x as ReviewRevisionKind, K as Revision, y as RevisionAddress, a4 as RevisionAuthorEntry, a5 as RevisionAuthorResult, a6 as RevisionAuthorSkipReason, a7 as RevisionBatchEntry, a8 as RevisionBatchResult, a9 as RevisionBatchSkipDetail, aa as RevisionBatchSkipReason, ab as RevisionSiteRefusal, ac as RevisionType, ad as Run, B as RunFormatting, ae as Section, af as SectionProperties, aF as SelectionPin, ag as StyleDefinition, S as StyleDefinitions, aG as SupportedImageMime, ah as Table, ai as TableCell, aj as TableRow, ak as Theme, al as ThemeColorScheme, aH as Unsubscribe, aI as ValidatedImageBytesHandle, aJ as VectorImageMime, aK as Watermark, aL as WatermarkLayout, aM as WatermarkState, aN as compareDocumentsErrorKey } from '../tree-op-types-DzstjXTb.js';
|
|
12
12
|
export { CommentMarkerStyle, DEFAULT_REVIEW_PANE, ResolvedReviewPane, ReviewPaneItemFields, ReviewPaneOpening, ReviewPaneOptions, ReviewPaneOverflow, RevisionDisplay, resolveReviewPane, reviewPaneListsItem } from './types.js';
|
|
13
|
-
export { A as AnchorHighlightAnimation, c as AnchorHighlightOptions, d as AuthoredNoteNumbering, B as BookmarkPlace, e as BookmarkStory, f as BookmarkSummary, C as CanResult, g as
|
|
13
|
+
export { A as AnchorHighlightAnimation, c as AnchorHighlightOptions, d as AuthoredNoteNumbering, B as BookmarkPlace, e as BookmarkStory, f as BookmarkSummary, C as CanResult, g as ChartColor, h as ChartColorEntry, i as ChartData, j as ChartDataCategory, k as ChartDataKind, l as ChartDataRead, m as ChartDataSeries, n as ChartFormat, o as ChartFormatChange, p as ChartFormatRead, q as ChartLegendPosition, r as ChartThemeColor, s as ChartType, t as ChartWorkbookState, u as ClearAnchorHighlightOptions, v as CollaborationParticipantsDiagnostic, w as CollaborationStatusDiagnostic, x as CustomNodeDiagnosticEvent, D as DIAGNOSTIC_SCHEMA_VERSION, y as DiagnosticBase, z as DiagnosticFailureDetail, F as DocumentChange, G as DocumentEditingMode, H as DocumentHandle, I as DocumentOpenDiagnostic, J as DocumentOpenFailure, K as DocumentOpenFailureReason, L as DocumentSaveDiagnostic, M as DocumentShape, N as DocumentSource, O as EditRejectedDiagnostic, P as EditRejectionOrigin, Q as Editor, R as EditorAnchorNavigation, S as EditorBookmarkCommands, T as EditorChartCommands, U as EditorChartQueries, V as EditorChartQueryResults, b as EditorCommand, W as EditorCommandShape, X as EditorCommands, E as EditorDiagnostic, a as EditorDiagnosticKind, Y as EditorError, Z as EditorEvents, _ as EditorFontError, $ as EditorFormatPainterCommands, a0 as EditorHeaderFooterCommands, a1 as EditorHighlights, a2 as EditorHostChange, a3 as EditorHostDocument, a4 as EditorNoteCommands, a5 as EditorPosition, a6 as EditorQueries, a7 as EditorQuery, a8 as EditorQueryResults, a9 as EditorReviewHits, aa as EditorSelection, ab as EditorSnapshot, ac as FontFailedDiagnostic, ad as FormatPainterLevel, ae as FormatPainterMode, af as FormatPainterSurfaceState, ag as FurnitureVariant, ah as HeaderFooterSlotArgs, ai as HeaderFooterState, aj as HighlightHit, ak as HighlightOptions, al as HighlightRange, am as HighlightRect, an as HighlightResult, ao as HistoryDiagnosticEvent, ap as HyperlinkInfo, aq as ImageContext, ar as ImageCropPercent, as as NewChartData, at as NoteKind, au as NotePropertiesSide, av as NotePropertiesState, aw as PageSetup, ax as PerformanceDiagnostic, ay as ResolveReviewChangesOptions, az as ResolvedNoteNumbering, aA as ReviewActivationOptions, aB as ReviewChangesAttribution, aC as ReviewChangesResolvedEvent, aD as ReviewCommentPlacement, aE as ReviewCustomPlacement, aF as ReviewItemHit, aG as ReviewItemPlacement, aH as ReviewItemPlacementBase, aI as ReviewItemQuery, aJ as ReviewItemRevealEvent, aK as ReviewItemRevealSource, aL as ReviewRevisionPlacement, aM as ReviewSkippedDiagnostic, aN as ScrollPlacement, aO as ScrollToAnchorOptions, aP as SelectedChartState, aQ as SelectedImageState, aR as SessionActivity, aS as SessionDiagnostic, aT as SetReviewChangesAuthorOptions, aU as TableBorderEdgeTarget, aV as TableBorderSpec, aW as TableBorderStyle, aX as TableBorderTarget, aY as TableCellVerticalAlignment, aZ as TableColumnDividerResizeTarget, a_ as TableColumnOccurrenceTarget, a$ as TableContext, b0 as TableInteractionLabelKey, b1 as TableRightEdgeResizeTarget, b2 as TableRowOccurrenceTarget, b3 as TextMatch, b4 as TimingSummary, b5 as TrackedChangeFilterMode, b6 as TrackedChangePredicate, b7 as ZoomFitTarget, b8 as ZoomMode } from '../editor-B0xPJSXd.js';
|
|
14
14
|
export { E as EditorFontErrorCode, F as FontConfiguration, a as FontFaceRequest, b as FontSource, c as FontSourceSubstitution } from '../editor-fonts-D_-vjuJi.js';
|
|
15
15
|
export { ContentControlSummary, DocEdits, DocQueries, DocQueryResults, ParagraphSummary } from './document.js';
|
|
16
16
|
export { a as EditorExecOptions, E as EditorScope, b as HistoryDiagnostic, c as HistoryGroup, d as HistoryGroupOptions, H as HistoryGroupOutcome, V as ViewScope } from '../editor-scope-CA6egMaK.js';
|
|
17
17
|
export { InteractionAffinity, InteractionOutcome, InteractionOutcomeCode, SemanticIdentity, SemanticTarget } from './interaction.js';
|
|
18
|
-
export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-
|
|
19
|
-
export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-
|
|
18
|
+
export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-BTba0_1e.js';
|
|
19
|
+
export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-Denp0lhl.js';
|
|
20
20
|
export { C as CollaborationFailureCode, a as CollaborationStatus } from '../failure-6KGFrDO9.js';
|
|
21
21
|
export { B as ByteSizeBucket, C as CollaborationDiagnosticCode, a as CountBucket, b as CustomNodeDiagnosticCode, D as DiagnosticCode, c as DiagnosticErrorName, d as DiagnosticExplanation, e as DocumentOpenDiagnosticCode, f as DocumentPartKind, g as DocumentSaveDiagnosticCode, E as EditDiagnosticCode, F as FailureStage, h as FontDiagnosticCode, i as FormattingChangeKind, H as HistoryDiagnosticCode, P as PerformanceDiagnosticCode, j as ReviewChangeKind, R as ReviewDiagnosticCode, k as ReviewOperation } from '../diagnostic-hints-BTyb8yzX.js';
|
|
22
|
-
import '../semantic-records-
|
|
23
|
-
import '../drawing-graphic-kind-
|
|
24
|
-
import '../tree-package-fragment-
|
|
22
|
+
import '../semantic-records-C5qbT1sK.js';
|
|
23
|
+
import '../drawing-graphic-kind-DjGMFeSM.js';
|
|
24
|
+
import '../tree-package-fragment-DLbxcboK.js';
|
|
@@ -17,25 +17,25 @@
|
|
|
17
17
|
* @packageDocumentation
|
|
18
18
|
* @public
|
|
19
19
|
*/
|
|
20
|
-
import { C as CompareDocumentsEngine, a as CompareDocumentsBackgroundEngine, b as CompareDocumentsDialogSession, R as ReviewModelInput, c as ReviewItem, O as OoxmlPart, d as ReviewRevisionItem } from '../tree-op-types-
|
|
21
|
-
export { e as CommentRecord, f as CompareDocumentsBackgroundResult, g as CompareDocumentsEngineErrorCode, h as CompareDocumentsEngineOptions, i as CompareDocumentsEngineResult, j as CompareDocumentsErrorCode, k as CompareDocumentsOutcome, l as CompareDocumentsPhase, m as CompareDocumentsProgress, n as CompareDocumentsRefusalReason, o as CompareDocumentsRequest, p as ContentTypeIndex, q as OoxmlExternalTarget, r as OoxmlPackage, s as RelationshipRecord, t as ReviewCommentItem, u as ReviewCustomItem, v as ReviewPosition, w as ReviewRange, x as ReviewRevisionKind, y as RevisionAddress, T as TargetMode } from '../tree-op-types-
|
|
22
|
-
import { a as ReviewDisplayMode } from '../revision-projection-
|
|
20
|
+
import { C as CompareDocumentsEngine, a as CompareDocumentsBackgroundEngine, b as CompareDocumentsDialogSession, R as ReviewModelInput, c as ReviewItem, O as OoxmlPart, d as ReviewRevisionItem } from '../tree-op-types-DzstjXTb.js';
|
|
21
|
+
export { e as CommentRecord, f as CompareDocumentsBackgroundResult, g as CompareDocumentsEngineErrorCode, h as CompareDocumentsEngineOptions, i as CompareDocumentsEngineResult, j as CompareDocumentsErrorCode, k as CompareDocumentsOutcome, l as CompareDocumentsPhase, m as CompareDocumentsProgress, n as CompareDocumentsRefusalReason, o as CompareDocumentsRequest, p as ContentTypeIndex, q as OoxmlExternalTarget, r as OoxmlPackage, s as RelationshipRecord, t as ReviewCommentItem, u as ReviewCustomItem, v as ReviewPosition, w as ReviewRange, x as ReviewRevisionKind, y as RevisionAddress, T as TargetMode } from '../tree-op-types-DzstjXTb.js';
|
|
22
|
+
import { a as ReviewDisplayMode } from '../revision-projection-C9oujZwA.js';
|
|
23
23
|
import { RevisionMarkupDialogSession } from './editor.js';
|
|
24
|
-
export { b as RevisionDisplayMode } from '../revision-projection-
|
|
24
|
+
export { b as RevisionDisplayMode } from '../revision-projection-C9oujZwA.js';
|
|
25
25
|
import { ReviewPaneOptions } from './types.js';
|
|
26
26
|
import { EditorDiagnostic, EditorDiagnosticKind } from './editor.js';
|
|
27
27
|
import { CollaborationModuleContribution } from '../collaboration.js';
|
|
28
28
|
import '../editor-scope-CA6egMaK.js';
|
|
29
29
|
import '../failure-6KGFrDO9.js';
|
|
30
|
-
import '../document-protection-
|
|
30
|
+
import '../document-protection-Denp0lhl.js';
|
|
31
31
|
import '../editor-fonts-D_-vjuJi.js';
|
|
32
32
|
import '../diagnostic-hints-BTyb8yzX.js';
|
|
33
33
|
import './document.js';
|
|
34
34
|
import './interaction.js';
|
|
35
|
-
import '../semantic-interaction-
|
|
36
|
-
import '../semantic-records-
|
|
37
|
-
import '../drawing-graphic-kind-
|
|
38
|
-
import '../tree-package-fragment-
|
|
35
|
+
import '../semantic-interaction-BTba0_1e.js';
|
|
36
|
+
import '../semantic-records-C5qbT1sK.js';
|
|
37
|
+
import '../drawing-graphic-kind-DjGMFeSM.js';
|
|
38
|
+
import '../tree-package-fragment-DLbxcboK.js';
|
|
39
39
|
import '../collaboration/replication.js';
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
export { M as Block, an as COMPARE_DOCUMENTS_ACCEPT, N as ColorValue, ao as CompareDocumentsChromeHandlers, b as CompareDocumentsDialogSession, g as CompareDocumentsEngineErrorCode, j as CompareDocumentsErrorCode, k as CompareDocumentsOutcome, l as CompareDocumentsPhase, m as CompareDocumentsProgress, n as CompareDocumentsRefusalReason, o as CompareDocumentsRequest, G as ContainerRef, P as ContentControl, H as ContentControlFilter, z as ContentControlType, Q as DocAnchor, U as DocAnchorRange, L as DocComment, V as DocLocation, J as DocRange, A as DocTarget, W as DocumentBody, D as DocxDocument, ap as DocxDocumentJSON, X as ExecErrorCode, E as ExecResult, F as Extent, av as FontDefinition, Y as HeaderFooterSet, Z as IndentFormatting, I as InsertableContentControlType, _ as NumberingRef, $ as PageMargins, a0 as Paragraph, a1 as ParagraphDisagreements, a2 as ParagraphFlags, aA as ParagraphFormatCommand, a3 as ParagraphTabStop, aB as Point, aD as Rect, v as ReviewPosition, w as ReviewRange, d as ReviewRevisionItem, x as ReviewRevisionKind, K as Revision, y as RevisionAddress, a4 as RevisionAuthorEntry, a5 as RevisionAuthorResult, a6 as RevisionAuthorSkipReason, a7 as RevisionBatchEntry, a8 as RevisionBatchResult, a9 as RevisionBatchSkipDetail, aa as RevisionBatchSkipReason, ab as RevisionSiteRefusal, ac as RevisionType, ad as Run, B as RunFormatting, ae as Section, af as SectionProperties, aF as SelectionPin, ag as StyleDefinition, S as StyleDefinitions, ah as Table, ai as TableCell, aj as TableRow, ak as Theme, al as ThemeColorScheme, aH as Unsubscribe, aK as Watermark, aL as WatermarkLayout, aM as WatermarkState, aN as compareDocumentsErrorKey } from '../tree-op-types-
|
|
10
|
+
export { M as Block, an as COMPARE_DOCUMENTS_ACCEPT, N as ColorValue, ao as CompareDocumentsChromeHandlers, b as CompareDocumentsDialogSession, g as CompareDocumentsEngineErrorCode, j as CompareDocumentsErrorCode, k as CompareDocumentsOutcome, l as CompareDocumentsPhase, m as CompareDocumentsProgress, n as CompareDocumentsRefusalReason, o as CompareDocumentsRequest, G as ContainerRef, P as ContentControl, H as ContentControlFilter, z as ContentControlType, Q as DocAnchor, U as DocAnchorRange, L as DocComment, V as DocLocation, J as DocRange, A as DocTarget, W as DocumentBody, D as DocxDocument, ap as DocxDocumentJSON, X as ExecErrorCode, E as ExecResult, F as Extent, av as FontDefinition, Y as HeaderFooterSet, Z as IndentFormatting, I as InsertableContentControlType, _ as NumberingRef, $ as PageMargins, a0 as Paragraph, a1 as ParagraphDisagreements, a2 as ParagraphFlags, aA as ParagraphFormatCommand, a3 as ParagraphTabStop, aB as Point, aD as Rect, v as ReviewPosition, w as ReviewRange, d as ReviewRevisionItem, x as ReviewRevisionKind, K as Revision, y as RevisionAddress, a4 as RevisionAuthorEntry, a5 as RevisionAuthorResult, a6 as RevisionAuthorSkipReason, a7 as RevisionBatchEntry, a8 as RevisionBatchResult, a9 as RevisionBatchSkipDetail, aa as RevisionBatchSkipReason, ab as RevisionSiteRefusal, ac as RevisionType, ad as Run, B as RunFormatting, ae as Section, af as SectionProperties, aF as SelectionPin, ag as StyleDefinition, S as StyleDefinitions, ah as Table, ai as TableCell, aj as TableRow, ak as Theme, al as ThemeColorScheme, aH as Unsubscribe, aK as Watermark, aL as WatermarkLayout, aM as WatermarkState, aN as compareDocumentsErrorKey } from '../tree-op-types-DzstjXTb.js';
|
|
11
11
|
export { C as CollaborationFailureCode, a as CollaborationStatus } from '../failure-6KGFrDO9.js';
|
|
12
|
-
export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-
|
|
13
|
-
export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-
|
|
12
|
+
export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-C9oujZwA.js';
|
|
13
|
+
export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-Denp0lhl.js';
|
|
14
14
|
export { H as HistoryGroupOutcome } from '../editor-scope-CA6egMaK.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as OoxmlPackage, O as OoxmlPart, aU as OoxmlElement, am as OoxmlNode, aY as RevisionAttributionInput, aZ as TreeOpRejection } from './tree-op-types-
|
|
2
|
-
import { c as TreeModelChange, d as TreeDocumentStore } from './tree-package-fragment-
|
|
1
|
+
import { r as OoxmlPackage, O as OoxmlPart, aU as OoxmlElement, am as OoxmlNode, aY as RevisionAttributionInput, aZ as TreeOpRejection } from './tree-op-types-DzstjXTb.js';
|
|
2
|
+
import { c as TreeModelChange, d as TreeDocumentStore } from './tree-package-fragment-DLbxcboK.js';
|
|
3
3
|
|
|
4
4
|
/** Which of a family's four faces an embedded font relationship supplies. */
|
|
5
5
|
type FontStyleKey = 'regular' | 'bold' | 'italic' | 'boldItalic';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { am as OoxmlNode } from './tree-op-types-
|
|
1
|
+
import { am as OoxmlNode } from './tree-op-types-DzstjXTb.js';
|
|
2
2
|
|
|
3
3
|
/** `ST_DocProtect`: the restriction a document asks for. `none` also stands for "no element". */
|
|
4
4
|
type DocumentProtectionEdit = 'none' | 'readOnly' | 'comments' | 'trackedChanges' | 'forms';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a_ as OoxmlNodeId, aW as OoxmlGenericElementNode, am as OoxmlNode, r as OoxmlPackage, O as OoxmlPart, aU as OoxmlElement, aQ as OoxmlPackageRejection } from './tree-op-types-
|
|
2
|
-
import { e as HeaderFooterParts, f as HeaderFooterSectionResolution, T as TreePackageStore } from './tree-package-fragment-
|
|
1
|
+
import { a_ as OoxmlNodeId, aW as OoxmlGenericElementNode, am as OoxmlNode, r as OoxmlPackage, O as OoxmlPart, aU as OoxmlElement, aQ as OoxmlPackageRejection } from './tree-op-types-DzstjXTb.js';
|
|
2
|
+
import { e as HeaderFooterParts, f as HeaderFooterSectionResolution, T as TreePackageStore } from './tree-package-fragment-DLbxcboK.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Marks a structure whose property element carries `m:ctrlPr` operator run formatting that
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as ResolvedRevisionMarkup, a as ReviewDisplayMode } from './revision-projection-
|
|
2
|
-
import { a9 as RevisionBatchSkipDetail, Q as DocAnchor, x as ReviewRevisionKind, t as ReviewCommentItem, d as ReviewRevisionItem, u as ReviewCustomItem,
|
|
1
|
+
import { d as ResolvedRevisionMarkup, a as ReviewDisplayMode } from './revision-projection-C9oujZwA.js';
|
|
2
|
+
import { a9 as RevisionBatchSkipDetail, Q as DocAnchor, x as ReviewRevisionKind, t as ReviewCommentItem, d as ReviewRevisionItem, u as ReviewCustomItem, bc as SourceCrop, ar as DrawingKind, az as ImageWrapTarget, at as DrawingPositionInput, as as DrawingLocks, ay as ImageResourceState, N as ColorValue, X as ExecErrorCode, o as CompareDocumentsRequest, aA as ParagraphFormatCommand, aG as SupportedImageMime, aK as Watermark, E as ExecResult, aM as WatermarkState, H as ContentControlFilter, J as DocRange, B as RunFormatting, K as Revision, aD as Rect, aF as SelectionPin, aH as Unsubscribe } from './tree-op-types-DzstjXTb.js';
|
|
3
3
|
import { ResolvedReviewPane } from './contracts/types.js';
|
|
4
4
|
import { V as ViewScope, b as HistoryDiagnostic, c as HistoryGroup, a as EditorExecOptions, E as EditorScope, d as HistoryGroupOptions } from './editor-scope-CA6egMaK.js';
|
|
5
5
|
import { E as EditorFontErrorCode, a as FontFaceRequest } from './editor-fonts-D_-vjuJi.js';
|
|
6
6
|
import { C as CollaborationDiagnosticCode, b as CustomNodeDiagnosticCode, c as DiagnosticErrorName, F as FailureStage, B as ByteSizeBucket, a as CountBucket, e as DocumentOpenDiagnosticCode, f as DocumentPartKind, g as DocumentSaveDiagnosticCode, E as EditDiagnosticCode, R as ReviewDiagnosticCode, k as ReviewOperation, j as ReviewChangeKind, i as FormattingChangeKind, h as FontDiagnosticCode, H as HistoryDiagnosticCode, P as PerformanceDiagnosticCode } from './diagnostic-hints-BTyb8yzX.js';
|
|
7
7
|
import { DocEdits, DocQueries, DocQueryResults, ContentControlSummary } from './contracts/document.js';
|
|
8
8
|
import { InteractionOutcome } from './contracts/interaction.js';
|
|
9
|
-
import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-
|
|
10
|
-
import { a as DocumentProtectionState } from './document-protection-
|
|
9
|
+
import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-BTba0_1e.js';
|
|
10
|
+
import { a as DocumentProtectionState } from './document-protection-Denp0lhl.js';
|
|
11
11
|
import { a as CollaborationStatus } from './failure-6KGFrDO9.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1528,6 +1528,228 @@ interface SelectedImageState {
|
|
|
1528
1528
|
*/
|
|
1529
1529
|
type ImageContext = SelectedImageState;
|
|
1530
1530
|
|
|
1531
|
+
/**
|
|
1532
|
+
* How a chart plots its data. `category`: each series has one value per category (bar, column,
|
|
1533
|
+
* line, area, pie, doughnut, and radar charts). `xy`: each series has one Y value per X value
|
|
1534
|
+
* (scatter charts); the categories are the X values. @public
|
|
1535
|
+
*/
|
|
1536
|
+
type ChartDataKind = 'category' | 'xy';
|
|
1537
|
+
/**
|
|
1538
|
+
* Where the chart's workbook is, and what an edit does to it. `embedded`: an edit writes the
|
|
1539
|
+
* new values into the embedded workbook too. `kept`: the embedded workbook has a structure that
|
|
1540
|
+
* the editor does not change, so it keeps its old values. `external`: the workbook is a linked
|
|
1541
|
+
* file, which the editor never opens; an edit turns off its automatic update. `none`: the chart
|
|
1542
|
+
* has no workbook. @public
|
|
1543
|
+
*/
|
|
1544
|
+
type ChartWorkbookState = 'embedded' | 'kept' | 'external' | 'none';
|
|
1545
|
+
/** One category (or X value) of a chart. @public */
|
|
1546
|
+
interface ChartDataCategory {
|
|
1547
|
+
/** The label, or the X value of a scatter chart as text. */
|
|
1548
|
+
readonly label: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* On read: the position of the category in the chart. On write: the category this one
|
|
1551
|
+
* continues, so its data point formatting and data labels stay with it. Absent: a new
|
|
1552
|
+
* category.
|
|
1553
|
+
*/
|
|
1554
|
+
readonly source?: number;
|
|
1555
|
+
}
|
|
1556
|
+
/** One series of a chart. @public */
|
|
1557
|
+
interface ChartDataSeries {
|
|
1558
|
+
/** The series name, as the legend shows it. */
|
|
1559
|
+
readonly name: string;
|
|
1560
|
+
/** One value for each category; `null` is a blank cell. */
|
|
1561
|
+
readonly values: readonly (number | null)[];
|
|
1562
|
+
/**
|
|
1563
|
+
* On read: the position of the series in the chart. On write: the series this one continues,
|
|
1564
|
+
* so its formatting stays with it. Absent: a new series, with automatic formatting.
|
|
1565
|
+
*/
|
|
1566
|
+
readonly source?: number;
|
|
1567
|
+
}
|
|
1568
|
+
/** The data of one chart: its categories and its series. @public */
|
|
1569
|
+
interface ChartData {
|
|
1570
|
+
readonly kind: ChartDataKind;
|
|
1571
|
+
readonly categories: readonly ChartDataCategory[];
|
|
1572
|
+
readonly series: readonly ChartDataSeries[];
|
|
1573
|
+
/** On read only: where the chart's workbook is. A write ignores it. */
|
|
1574
|
+
readonly workbook?: ChartWorkbookState;
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* The data of a chart, or why it cannot be edited. `reason` is a translation key, such as
|
|
1578
|
+
* `chart.errors.unsupportedType`. @public
|
|
1579
|
+
*/
|
|
1580
|
+
type ChartDataRead = {
|
|
1581
|
+
readonly ok: true;
|
|
1582
|
+
readonly data: ChartData;
|
|
1583
|
+
} | {
|
|
1584
|
+
readonly ok: false;
|
|
1585
|
+
readonly reason: string;
|
|
1586
|
+
};
|
|
1587
|
+
/** The selected chart, while exactly one chart drawing is selected. @public */
|
|
1588
|
+
interface SelectedChartState {
|
|
1589
|
+
/** The node id of the chart's `w:drawing`. */
|
|
1590
|
+
readonly drawingNodeId: string;
|
|
1591
|
+
/** Whether `setChartData` can edit the chart's data. */
|
|
1592
|
+
readonly editable: boolean;
|
|
1593
|
+
/** Why the data cannot be edited, as a translation key, when `editable` is false. */
|
|
1594
|
+
readonly reason?: string;
|
|
1595
|
+
/** Whether `setChartType`, `setChartFormat`, and `setChartColor` can edit the chart. */
|
|
1596
|
+
readonly formattable: boolean;
|
|
1597
|
+
/** Why the type and elements cannot be edited, as a translation key. */
|
|
1598
|
+
readonly formatReason?: string;
|
|
1599
|
+
/** Rises each time the chart part changes, so a pane knows when to read the chart again. */
|
|
1600
|
+
readonly version: number;
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* A chart type that `insertChart` and `setChartType` write (ECMA-376 Part 1, 21.2.2): the plot
|
|
1604
|
+
* element, and its direction, grouping, or style. Column and bar charts are `c:barChart` with
|
|
1605
|
+
* vertical or horizontal bars; `lineMarkers` shows a marker at each point; `scatter` shows
|
|
1606
|
+
* markers only, and `scatterLines` joins them with lines. @public
|
|
1607
|
+
*/
|
|
1608
|
+
type ChartType = 'columnClustered' | 'columnStacked' | 'columnPercentStacked' | 'barClustered' | 'barStacked' | 'barPercentStacked' | 'line' | 'lineMarkers' | 'area' | 'areaStacked' | 'areaPercentStacked' | 'pie' | 'doughnut' | 'radar' | 'scatter' | 'scatterLines';
|
|
1609
|
+
/** A theme color of a chart color (`a:schemeClr`, ECMA-376 Part 1, 20.1.2.3.29). @public */
|
|
1610
|
+
type ChartThemeColor = 'bg1' | 'tx1' | 'bg2' | 'tx2' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'accent5' | 'accent6';
|
|
1611
|
+
/**
|
|
1612
|
+
* A chart color: `#RRGGBB`, or a theme color. `shift` is the luminance variant of a theme
|
|
1613
|
+
* color: a positive number is "Lighter n%" (`a:lumMod` 100−n, `a:lumOff` n), and a negative
|
|
1614
|
+
* number is "Darker n%" (`a:lumMod` 100−n). @public
|
|
1615
|
+
*/
|
|
1616
|
+
type ChartColor = string | {
|
|
1617
|
+
readonly theme: ChartThemeColor;
|
|
1618
|
+
readonly shift?: number;
|
|
1619
|
+
};
|
|
1620
|
+
/** Where a chart shows its legend (`c:legendPos`), or `none` for no legend. @public */
|
|
1621
|
+
type ChartLegendPosition = 'none' | 'top' | 'bottom' | 'left' | 'right';
|
|
1622
|
+
/** The color of one series, or of one data point of a pie or doughnut chart. @public */
|
|
1623
|
+
interface ChartColorEntry {
|
|
1624
|
+
/** The series name, or the category label of a pie or doughnut point. */
|
|
1625
|
+
readonly name: string;
|
|
1626
|
+
/** The color the chart part sets, or null for the automatic color. */
|
|
1627
|
+
readonly color: ChartColor | null;
|
|
1628
|
+
/** The theme color that the automatic color starts from, for a swatch. */
|
|
1629
|
+
readonly automatic: ChartColor;
|
|
1630
|
+
}
|
|
1631
|
+
/**
|
|
1632
|
+
* The type and elements of a chart, as `chartFormat` reads them. A field is null when the
|
|
1633
|
+
* chart type has no such element: a pie chart has no axes. @public
|
|
1634
|
+
*/
|
|
1635
|
+
interface ChartFormat {
|
|
1636
|
+
/** The chart type, or null for a type that `setChartType` does not write (3-D, stock). */
|
|
1637
|
+
readonly type: ChartType | null;
|
|
1638
|
+
/** The title text, or null for no title. An automatic title reads as its series name. */
|
|
1639
|
+
readonly title: string | null;
|
|
1640
|
+
readonly legend: ChartLegendPosition;
|
|
1641
|
+
/** Whether the chart shows a value label at each data point. */
|
|
1642
|
+
readonly dataLabels: boolean;
|
|
1643
|
+
/** Whether the value axis shows major gridlines; null for a chart with no axes. */
|
|
1644
|
+
readonly gridlines: boolean | null;
|
|
1645
|
+
/** Whether the chart shows its axes; null for a chart with no axes. */
|
|
1646
|
+
readonly axes: boolean | null;
|
|
1647
|
+
/** The axis titles, or null for no title; null for a chart with no axes. */
|
|
1648
|
+
readonly axisTitles: {
|
|
1649
|
+
readonly category: string | null;
|
|
1650
|
+
readonly value: string | null;
|
|
1651
|
+
} | null;
|
|
1652
|
+
/** What `colors` and `setChartColor` color: each series, or each point of a pie chart. */
|
|
1653
|
+
readonly colorsBy: 'series' | 'point';
|
|
1654
|
+
readonly colors: readonly ChartColorEntry[];
|
|
1655
|
+
}
|
|
1656
|
+
/**
|
|
1657
|
+
* The type and elements of a chart, or why the editor does not edit them. `reason` is a
|
|
1658
|
+
* translation key, such as `chart.errors.combination`. @public
|
|
1659
|
+
*/
|
|
1660
|
+
type ChartFormatRead = {
|
|
1661
|
+
readonly ok: true;
|
|
1662
|
+
readonly format: ChartFormat;
|
|
1663
|
+
} | {
|
|
1664
|
+
readonly ok: false;
|
|
1665
|
+
readonly reason: string;
|
|
1666
|
+
};
|
|
1667
|
+
/**
|
|
1668
|
+
* The chart elements that `setChartFormat` changes. An absent field keeps its value. A title of
|
|
1669
|
+
* null removes the title; a string sets its text and keeps its formatting. @public
|
|
1670
|
+
*/
|
|
1671
|
+
interface ChartFormatChange {
|
|
1672
|
+
readonly title?: string | null;
|
|
1673
|
+
readonly legend?: ChartLegendPosition;
|
|
1674
|
+
readonly dataLabels?: boolean;
|
|
1675
|
+
readonly gridlines?: boolean;
|
|
1676
|
+
readonly axes?: boolean;
|
|
1677
|
+
readonly categoryAxisTitle?: string | null;
|
|
1678
|
+
readonly valueAxisTitle?: string | null;
|
|
1679
|
+
}
|
|
1680
|
+
/** The data of a new chart: its categories (or X values) and its series. @public */
|
|
1681
|
+
interface NewChartData {
|
|
1682
|
+
readonly categories: readonly string[];
|
|
1683
|
+
readonly series: readonly {
|
|
1684
|
+
readonly name: string;
|
|
1685
|
+
readonly values: readonly (number | null)[];
|
|
1686
|
+
}[];
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* The chart commands. Each is one undo step. Viewing and suggesting refuse them, because a
|
|
1691
|
+
* chart part has no tracked form. A refusal's `reason` is a translation key, such as
|
|
1692
|
+
* `chart.errors.noChart`, or the text of a mode refusal. @public
|
|
1693
|
+
*/
|
|
1694
|
+
interface EditorChartCommands {
|
|
1695
|
+
/**
|
|
1696
|
+
* Insert an inline chart of `chartType` at the caret, with an embedded workbook that holds
|
|
1697
|
+
* the same data. `data` absent: three series over four categories of sample values, or one
|
|
1698
|
+
* series for a pie or doughnut chart. The new chart is selected.
|
|
1699
|
+
*/
|
|
1700
|
+
insertChart: {
|
|
1701
|
+
chartType: ChartType;
|
|
1702
|
+
data?: NewChartData;
|
|
1703
|
+
};
|
|
1704
|
+
/**
|
|
1705
|
+
* Replace the data of the selected chart, or of the chart drawing `drawingNodeId`: its
|
|
1706
|
+
* categories, series names, and values, with series and categories added or removed. The
|
|
1707
|
+
* value caches, the point counts, and the cell references change together, and an embedded
|
|
1708
|
+
* workbook gets the same values when its structure allows it (`ChartData.workbook`).
|
|
1709
|
+
* Formatting stays with each series and point by its `source`.
|
|
1710
|
+
*/
|
|
1711
|
+
setChartData: {
|
|
1712
|
+
drawingNodeId?: string;
|
|
1713
|
+
data: Omit<ChartData, 'workbook'>;
|
|
1714
|
+
};
|
|
1715
|
+
/**
|
|
1716
|
+
* Change the type of the selected chart. Each series keeps its name, data, and color.
|
|
1717
|
+
* Formatting that the new type does not have, such as markers and 3-D views, goes.
|
|
1718
|
+
*/
|
|
1719
|
+
setChartType: {
|
|
1720
|
+
drawingNodeId?: string;
|
|
1721
|
+
chartType: ChartType;
|
|
1722
|
+
};
|
|
1723
|
+
/** Show, hide, or change the title, legend, data labels, gridlines, and axes. */
|
|
1724
|
+
setChartFormat: {
|
|
1725
|
+
drawingNodeId?: string;
|
|
1726
|
+
format: ChartFormatChange;
|
|
1727
|
+
};
|
|
1728
|
+
/**
|
|
1729
|
+
* Set the color of one series (`index` in plot order), or of one point of a pie or
|
|
1730
|
+
* doughnut chart (`ChartFormat.colorsBy`). Null gives back the automatic color.
|
|
1731
|
+
*/
|
|
1732
|
+
setChartColor: {
|
|
1733
|
+
drawingNodeId?: string;
|
|
1734
|
+
index: number;
|
|
1735
|
+
color: ChartColor | null;
|
|
1736
|
+
};
|
|
1737
|
+
}
|
|
1738
|
+
/** The chart queries: the selected chart, or the chart drawing `drawingNodeId`. @public */
|
|
1739
|
+
interface EditorChartQueries {
|
|
1740
|
+
chartData: {
|
|
1741
|
+
drawingNodeId?: string;
|
|
1742
|
+
};
|
|
1743
|
+
chartFormat: {
|
|
1744
|
+
drawingNodeId?: string;
|
|
1745
|
+
};
|
|
1746
|
+
}
|
|
1747
|
+
/** What each chart query returns. @public */
|
|
1748
|
+
interface EditorChartQueryResults {
|
|
1749
|
+
chartData: ChartDataRead;
|
|
1750
|
+
chartFormat: ChartFormatRead;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1531
1753
|
/**
|
|
1532
1754
|
* Which kind of story a bookmark is in: the main text, a header or footer, or a note.
|
|
1533
1755
|
*
|
|
@@ -2374,7 +2596,7 @@ type TrackedChangeFilterMode = 'accept' | 'reject';
|
|
|
2374
2596
|
* selection, view state, chrome modes, header/footer and note editing. An interface rather than a
|
|
2375
2597
|
* closed union so an extension can widen it by declaration merging.
|
|
2376
2598
|
*/
|
|
2377
|
-
interface EditorCommands extends EditorCommandShape<DocEdits>, EditorHeaderFooterCommands, EditorNoteCommands, EditorFormatPainterCommands, EditorBookmarkCommands {
|
|
2599
|
+
interface EditorCommands extends EditorCommandShape<DocEdits>, EditorHeaderFooterCommands, EditorNoteCommands, EditorFormatPainterCommands, EditorBookmarkCommands, EditorChartCommands {
|
|
2378
2600
|
/** Switch how edits are written. A view command: it changes no document state. */
|
|
2379
2601
|
setEditingMode: {
|
|
2380
2602
|
mode: DocumentEditingMode;
|
|
@@ -2846,7 +3068,7 @@ type EditorCommand = {
|
|
|
2846
3068
|
* Extends {@link DocQueries} with the reads that only mean something against a live, laid-out
|
|
2847
3069
|
* document: the selection, its formatting, the table or hyperlink under the caret.
|
|
2848
3070
|
*/
|
|
2849
|
-
interface EditorQueries extends DocQueries {
|
|
3071
|
+
interface EditorQueries extends DocQueries, EditorChartQueries {
|
|
2850
3072
|
selection: Record<never, never>;
|
|
2851
3073
|
selectionFormatting: Record<never, never>;
|
|
2852
3074
|
tableContext: Record<never, never>;
|
|
@@ -2878,7 +3100,7 @@ type EditorQuery = {
|
|
|
2878
3100
|
} & EditorQueries[K];
|
|
2879
3101
|
}[keyof EditorQueries];
|
|
2880
3102
|
/** What each editor query returns. Keyed identically to `EditorQueries`. */
|
|
2881
|
-
interface EditorQueryResults extends DocQueryResults {
|
|
3103
|
+
interface EditorQueryResults extends DocQueryResults, EditorChartQueryResults {
|
|
2882
3104
|
selection: DocRange | null;
|
|
2883
3105
|
selectionFormatting: RunFormatting | null;
|
|
2884
3106
|
tableContext: TableContext | null;
|
|
@@ -2999,6 +3221,8 @@ interface EditorSnapshot {
|
|
|
2999
3221
|
readonly id: string;
|
|
3000
3222
|
} | null;
|
|
3001
3223
|
readonly image: ImageContext | null;
|
|
3224
|
+
/** The selected chart, while exactly one chart drawing is selected; else null. */
|
|
3225
|
+
readonly chart: SelectedChartState | null;
|
|
3002
3226
|
readonly page: {
|
|
3003
3227
|
readonly current: number;
|
|
3004
3228
|
readonly total: number;
|
|
@@ -3116,5 +3340,5 @@ interface EditorError extends Error {
|
|
|
3116
3340
|
readonly code?: string;
|
|
3117
3341
|
}
|
|
3118
3342
|
|
|
3119
|
-
export { DIAGNOSTIC_SCHEMA_VERSION as D, EditorFontError as
|
|
3120
|
-
export type {
|
|
3343
|
+
export { DIAGNOSTIC_SCHEMA_VERSION as D, EditorFontError as _, cropPercentFromCropPermille as ba, cropPercentFromPermille as bb, cropPercentFromSourceCrop as bc, cropPermilleFromCropPercent as bd, cropPermilleFromPercent as be, sourceCropFromCropPercent as bf, validateImageCropPercent as bg };
|
|
3344
|
+
export type { EditorFormatPainterCommands as $, AnchorHighlightAnimation as A, BookmarkPlace as B, CanResult as C, EditorDiagnostic as E, DocumentChange as F, DocumentEditingMode as G, DocumentHandle as H, DocumentOpenDiagnostic as I, DocumentOpenFailure as J, DocumentOpenFailureReason as K, DocumentSaveDiagnostic as L, DocumentShape as M, DocumentSource as N, EditRejectedDiagnostic as O, EditRejectionOrigin as P, Editor as Q, EditorAnchorNavigation as R, EditorBookmarkCommands as S, EditorChartCommands as T, EditorChartQueries as U, EditorChartQueryResults as V, EditorCommandShape as W, EditorCommands as X, EditorError as Y, EditorEvents as Z, EditorDiagnosticKind as a, TableContext as a$, EditorHeaderFooterCommands as a0, EditorHighlights as a1, EditorHostChange as a2, EditorHostDocument as a3, EditorNoteCommands as a4, EditorPosition as a5, EditorQueries as a6, EditorQuery as a7, EditorQueryResults as a8, EditorReviewHits as a9, ReviewActivationOptions as aA, ReviewChangesAttribution as aB, ReviewChangesResolvedEvent as aC, ReviewCommentPlacement as aD, ReviewCustomPlacement as aE, ReviewItemHit as aF, ReviewItemPlacement as aG, ReviewItemPlacementBase as aH, ReviewItemQuery as aI, ReviewItemRevealEvent as aJ, ReviewItemRevealSource as aK, ReviewRevisionPlacement as aL, ReviewSkippedDiagnostic as aM, ScrollPlacement as aN, ScrollToAnchorOptions as aO, SelectedChartState as aP, SelectedImageState as aQ, SessionActivity as aR, SessionDiagnostic as aS, SetReviewChangesAuthorOptions as aT, TableBorderEdgeTarget as aU, TableBorderSpec as aV, TableBorderStyle as aW, TableBorderTarget as aX, TableCellVerticalAlignment as aY, TableColumnDividerResizeTarget as aZ, TableColumnOccurrenceTarget as a_, EditorSelection as aa, EditorSnapshot as ab, FontFailedDiagnostic as ac, FormatPainterLevel as ad, FormatPainterMode as ae, FormatPainterSurfaceState as af, FurnitureVariant as ag, HeaderFooterSlotArgs as ah, HeaderFooterState as ai, HighlightHit as aj, HighlightOptions as ak, HighlightRange as al, HighlightRect as am, HighlightResult as an, HistoryDiagnosticEvent as ao, HyperlinkInfo as ap, ImageContext as aq, ImageCropPercent as ar, NewChartData as as, NoteKind as at, NotePropertiesSide as au, NotePropertiesState as av, PageSetup as aw, PerformanceDiagnostic as ax, ResolveReviewChangesOptions as ay, ResolvedNoteNumbering as az, EditorCommand as b, TableInteractionLabelKey as b0, TableRightEdgeResizeTarget as b1, TableRowOccurrenceTarget as b2, TextMatch as b3, TimingSummary as b4, TrackedChangeFilterMode as b5, TrackedChangePredicate as b6, ZoomFitTarget as b7, ZoomMode as b8, ImageCropPermille as b9, AnchorHighlightOptions as c, AuthoredNoteNumbering as d, BookmarkStory as e, BookmarkSummary as f, ChartColor as g, ChartColorEntry as h, ChartData as i, ChartDataCategory as j, ChartDataKind as k, ChartDataRead as l, ChartDataSeries as m, ChartFormat as n, ChartFormatChange as o, ChartFormatRead as p, ChartLegendPosition as q, ChartThemeColor as r, ChartType as s, ChartWorkbookState as t, ClearAnchorHighlightOptions as u, CollaborationParticipantsDiagnostic as v, CollaborationStatusDiagnostic as w, CustomNodeDiagnosticEvent as x, DiagnosticBase as y, DiagnosticFailureDetail as z };
|