@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.
Files changed (102) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +6 -6
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +11 -11
  6. package/dist/binding.js +1 -1
  7. package/dist/{chrome-print-B9U_PiqL.d.ts → chrome-print-BSsqYQtt.d.ts} +51 -19
  8. package/dist/chunk-36NJQDWI.cjs +31 -0
  9. package/dist/chunk-3OKDY5TX.cjs +3 -0
  10. package/dist/{chunk-I34OVDHO.cjs → chunk-4QLFADOG.cjs} +1 -1
  11. package/dist/chunk-6EGRB3J4.js +6 -0
  12. package/dist/chunk-6I6V2JDF.cjs +7 -0
  13. package/dist/chunk-77L2HX42.js +1 -0
  14. package/dist/chunk-ATU65CUF.cjs +32 -0
  15. package/dist/chunk-EB5XLX3A.js +4 -0
  16. package/dist/chunk-G7GO4CNK.cjs +2 -0
  17. package/dist/chunk-JK4HBRVP.js +7 -0
  18. package/dist/{chunk-D75AXVLG.cjs → chunk-JZXMWGF4.cjs} +1 -1
  19. package/dist/{chunk-HLMY6NFI.js → chunk-MLJJL4QG.js} +1 -1
  20. package/dist/chunk-MYNOUTWY.js +1 -0
  21. package/dist/{chunk-QTRRXJXQ.cjs → chunk-NPPHSBFT.cjs} +3 -3
  22. package/dist/{chunk-7ZSPY7WH.cjs → chunk-OTZNA6FP.cjs} +1 -1
  23. package/dist/chunk-Q3FUAUL4.js +31 -0
  24. package/dist/chunk-RFMMFHWX.cjs +6 -0
  25. package/dist/chunk-T6MYXF6V.js +32 -0
  26. package/dist/chunk-TTPQZXYS.js +3 -0
  27. package/dist/{chunk-4RDU6QVH.cjs → chunk-UMDB6PEV.cjs} +1 -1
  28. package/dist/{chunk-NTDLU6W6.cjs → chunk-UP5TM6T6.cjs} +1 -1
  29. package/dist/{chunk-2BVJFI6B.js → chunk-WMM772MS.js} +1 -1
  30. package/dist/chunk-XI5HK3TZ.js +282 -0
  31. package/dist/chunk-XMJFDVE2.js +4 -0
  32. package/dist/chunk-XPBKJQTG.cjs +282 -0
  33. package/dist/{chunk-VS2MXS62.js → chunk-YCOHPEF2.js} +1 -1
  34. package/dist/{chunk-IMTQS6N5.cjs → chunk-YVK3NMR6.cjs} +1 -1
  35. package/dist/{chunk-K3UKJU4K.js → chunk-YVLF7HBD.js} +1 -1
  36. package/dist/chunk-Z6NPBOE6.js +2 -0
  37. package/dist/chunk-ZY7HJR3R.cjs +4 -0
  38. package/dist/collaboration/replication.cjs +1 -1
  39. package/dist/collaboration/replication.d.ts +2 -2
  40. package/dist/collaboration/replication.js +1 -1
  41. package/dist/contracts/document.d.ts +2 -2
  42. package/dist/contracts/editor.d.ts +8 -8
  43. package/dist/contracts/modules.d.ts +9 -9
  44. package/dist/contracts/types.d.ts +3 -3
  45. package/dist/{custom-node-writes-DqzeiTpY.d.ts → custom-node-writes-Buryuzow.d.ts} +2 -2
  46. package/dist/{document-protection-CGnc6WX7.d.ts → document-protection-Denp0lhl.d.ts} +1 -1
  47. package/dist/{drawing-graphic-kind-Dw4Qu9VA.d.ts → drawing-graphic-kind-DjGMFeSM.d.ts} +2 -2
  48. package/dist/{drawing-preview-package-BuFluWSg.d.ts → drawing-preview-package-LHyHuTVq.d.ts} +1 -1
  49. package/dist/{editor-CoU0Ipa9.d.ts → editor-B0xPJSXd.d.ts} +233 -9
  50. package/dist/editor.cjs +1 -1
  51. package/dist/editor.css +2 -2
  52. package/dist/editor.d.ts +309 -26
  53. package/dist/editor.js +1 -1
  54. package/dist/export.cjs +2 -2
  55. package/dist/export.d.ts +2 -2
  56. package/dist/export.js +1 -1
  57. package/dist/index.cjs +1 -1
  58. package/dist/index.d.ts +17 -17
  59. package/dist/index.js +1 -1
  60. package/dist/{layout-shaping-B7ifvgm-.d.ts → layout-shaping-CFTk9pWQ.d.ts} +1 -1
  61. package/dist/layout.cjs +1 -1
  62. package/dist/layout.d.ts +16 -14
  63. package/dist/layout.js +1 -1
  64. package/dist/{note-properties-CrO9A0Ju.d.ts → note-properties-C8_cURo1.d.ts} +1 -1
  65. package/dist/output.cjs +1 -1
  66. package/dist/output.d.ts +9 -9
  67. package/dist/output.js +1 -1
  68. package/dist/{protocol-C-LfGgrt.d.ts → protocol-CG_ybtKt.d.ts} +2 -2
  69. package/dist/{review-paragraph-order-gZ8-oIWd.d.ts → review-paragraph-order-3oV2aI2q.d.ts} +1 -1
  70. package/dist/{revision-projection-BAUauksK.d.ts → revision-projection-C9oujZwA.d.ts} +1 -1
  71. package/dist/{semantic-cell-selection--xgumqWx.d.ts → semantic-cell-selection-BiYMYlbf.d.ts} +2 -2
  72. package/dist/{semantic-interaction-B_AAT9S2.d.ts → semantic-interaction-BTba0_1e.d.ts} +1 -1
  73. package/dist/{semantic-paint-Cl4VyItm.d.ts → semantic-paint-B_xi9H5m.d.ts} +4 -4
  74. package/dist/{semantic-record-queries-BKX8sDqa.d.ts → semantic-record-queries-TdjLU-AU.d.ts} +1 -1
  75. package/dist/{semantic-records-DkDc4E1z.d.ts → semantic-records-C5qbT1sK.d.ts} +29 -5
  76. package/dist/store.cjs +1 -1
  77. package/dist/store.d.ts +12 -12
  78. package/dist/store.js +1 -1
  79. package/dist/{tree-op-types-BJTz6t_O.d.ts → tree-op-types-DzstjXTb.d.ts} +12 -2
  80. package/dist/{tree-package-fragment-DDV5xjSI.d.ts → tree-package-fragment-DLbxcboK.d.ts} +67 -65
  81. package/dist/{tree-session-contract-CAsZn-VN.d.ts → tree-session-contract-BiKgucBu.d.ts} +92 -11
  82. package/dist/{unsupported-elements-1Tj829Bk.d.ts → unsupported-elements-KboafN7A.d.ts} +1 -1
  83. package/package.json +2 -2
  84. package/dist/chunk-3DLIAAXE.js +0 -2
  85. package/dist/chunk-3KSO2I22.js +0 -4
  86. package/dist/chunk-4K5QXGVN.js +0 -31
  87. package/dist/chunk-5JHQHJRH.js +0 -3
  88. package/dist/chunk-5W6DLXVG.cjs +0 -3
  89. package/dist/chunk-6VTHQTM3.js +0 -1
  90. package/dist/chunk-7MOZVKCN.js +0 -282
  91. package/dist/chunk-BR7AQCGM.cjs +0 -31
  92. package/dist/chunk-DZO5K26E.js +0 -1
  93. package/dist/chunk-K5FZYV6Z.cjs +0 -32
  94. package/dist/chunk-MK4MO7RT.cjs +0 -7
  95. package/dist/chunk-N5RYSQN5.js +0 -4
  96. package/dist/chunk-O2AEJ5T4.js +0 -5
  97. package/dist/chunk-PSVIEQUU.js +0 -32
  98. package/dist/chunk-PXF5BBEK.cjs +0 -2
  99. package/dist/chunk-R42NW5FO.js +0 -7
  100. package/dist/chunk-TCWCSTAF.cjs +0 -282
  101. package/dist/chunk-XFDDD65J.cjs +0 -4
  102. package/dist/chunk-XTNY4DBY.cjs +0 -5
@@ -1 +1 @@
1
- 'use strict';var chunkMK4MO7RT_cjs=require('./chunk-MK4MO7RT.cjs');require('./chunk-D75AXVLG.cjs'),require('./chunk-K5FZYV6Z.cjs'),require('./chunk-7ZSPY7WH.cjs'),require('./chunk-4RDU6QVH.cjs'),require('./chunk-NTDLU6W6.cjs'),require('./chunk-QTRRXJXQ.cjs'),require('./chunk-I34OVDHO.cjs'),require('./chunk-TCWCSTAF.cjs');Object.defineProperty(exports,"AUTOMATION_COMMAND_OPERATIONS",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.m}});Object.defineProperty(exports,"AUTOMATION_QUERY_OPERATIONS",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.l}});Object.defineProperty(exports,"AUTOMATION_SOLITARY_OPERATIONS",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.n}});Object.defineProperty(exports,"HEADER_FOOTER_VARIANTS",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.k}});Object.defineProperty(exports,"SERVER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.v}});Object.defineProperty(exports,"byteSizeBucket",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.E}});Object.defineProperty(exports,"countBucket",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.F}});Object.defineProperty(exports,"createAutomationPaginationProvider",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.t}});Object.defineProperty(exports,"createDiagnosticEmitter",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.G}});Object.defineProperty(exports,"createServerAutomationHost",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.w}});Object.defineProperty(exports,"diagnosticCause",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.I}});Object.defineProperty(exports,"diagnosticCauses",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.H}});Object.defineProperty(exports,"diagnosticCodes",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.z}});Object.defineProperty(exports,"diagnosticErrorName",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.L}});Object.defineProperty(exports,"documentPartKind",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.M}});Object.defineProperty(exports,"exceptionCause",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.K}});Object.defineProperty(exports,"explainDiagnostic",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.y}});Object.defineProperty(exports,"isAutomationCommand",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.p}});Object.defineProperty(exports,"isSolitaryAutomationCommand",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.o}});Object.defineProperty(exports,"openDiagnosticCode",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.A}});Object.defineProperty(exports,"paginationSnapshotOf",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.r}});Object.defineProperty(exports,"reviewCodeOfSkip",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.C}});Object.defineProperty(exports,"reviewDiagnosticCode",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.D}});Object.defineProperty(exports,"reviewSkipOfReason",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.J}});Object.defineProperty(exports,"storeEditDiagnosticCode",{enumerable:true,get:function(){return chunkMK4MO7RT_cjs.B}});
1
+ 'use strict';var chunk6I6V2JDF_cjs=require('./chunk-6I6V2JDF.cjs');require('./chunk-JZXMWGF4.cjs'),require('./chunk-ATU65CUF.cjs'),require('./chunk-OTZNA6FP.cjs'),require('./chunk-UMDB6PEV.cjs'),require('./chunk-UP5TM6T6.cjs'),require('./chunk-NPPHSBFT.cjs'),require('./chunk-4QLFADOG.cjs'),require('./chunk-XPBKJQTG.cjs');Object.defineProperty(exports,"AUTOMATION_COMMAND_OPERATIONS",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.m}});Object.defineProperty(exports,"AUTOMATION_QUERY_OPERATIONS",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.l}});Object.defineProperty(exports,"AUTOMATION_SOLITARY_OPERATIONS",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.n}});Object.defineProperty(exports,"HEADER_FOOTER_VARIANTS",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.k}});Object.defineProperty(exports,"SERVER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.v}});Object.defineProperty(exports,"byteSizeBucket",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.E}});Object.defineProperty(exports,"countBucket",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.F}});Object.defineProperty(exports,"createAutomationPaginationProvider",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.t}});Object.defineProperty(exports,"createDiagnosticEmitter",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.G}});Object.defineProperty(exports,"createServerAutomationHost",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.w}});Object.defineProperty(exports,"diagnosticCause",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.I}});Object.defineProperty(exports,"diagnosticCauses",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.H}});Object.defineProperty(exports,"diagnosticCodes",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.z}});Object.defineProperty(exports,"diagnosticErrorName",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.L}});Object.defineProperty(exports,"documentPartKind",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.M}});Object.defineProperty(exports,"exceptionCause",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.K}});Object.defineProperty(exports,"explainDiagnostic",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.y}});Object.defineProperty(exports,"isAutomationCommand",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.p}});Object.defineProperty(exports,"isSolitaryAutomationCommand",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.o}});Object.defineProperty(exports,"openDiagnosticCode",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.A}});Object.defineProperty(exports,"paginationSnapshotOf",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.r}});Object.defineProperty(exports,"reviewCodeOfSkip",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.C}});Object.defineProperty(exports,"reviewDiagnosticCode",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.D}});Object.defineProperty(exports,"reviewSkipOfReason",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.J}});Object.defineProperty(exports,"storeEditDiagnosticCode",{enumerable:true,get:function(){return chunk6I6V2JDF_cjs.B}});
@@ -11,13 +11,13 @@
11
11
  * @packageDocumentation
12
12
  * @public
13
13
  */
14
- import { A as AutomationOperation, a as AutomationCapabilities, b as AutomationHost } from './protocol-C-LfGgrt.js';
15
- export { c as AutomationAlignment, d as AutomationAuthoringOperation, e as AutomationBatchRequest, f as AutomationBatchResponse, g as AutomationChangeEvent, h as AutomationContentControlLock, i as AutomationContentControlRangeLocation, j as AutomationContentControlScope, k as AutomationContentControlSubtype, l as AutomationContentControlValue, m as AutomationCustomNodePayload, n as AutomationEndpoint, o as AutomationError, p as AutomationErrorCode, q as AutomationFontRead, r as AutomationFontWrite, s as AutomationHandle, t as AutomationHandleRef, u as AutomationInlinePictureRead, v as AutomationInlinePictureWrite, w as AutomationListBullet, x as AutomationListLevelFormat, y as AutomationListNumbering, z as AutomationObjectKind, B as AutomationOperationKind, C as AutomationOperationResult, D as AutomationPageOrientation, E as AutomationPageSetupRead, F as AutomationPageSetupWrite, G as AutomationParagraphFormatRead, H as AutomationParagraphFormatWrite, I as AutomationParagraphRef, J as AutomationPoint, K as AutomationReadingOrder, L as AutomationSaveResult, M as AutomationSearchOptions, N as AutomationSelectionMode, O as AutomationShapeRead, P as AutomationShapeType, Q as AutomationSpan, R as AutomationSpanRef, S as AutomationStyleKind, T as AutomationStyleRead, U as AutomationTextProjection, V as AutomationUnsubscribe, W as AutomationValue } from './protocol-C-LfGgrt.js';
16
- import { C as ContentLockPolicy } from './tree-package-fragment-DDV5xjSI.js';
14
+ import { A as AutomationOperation, a as AutomationCapabilities, b as AutomationHost } from './protocol-CG_ybtKt.js';
15
+ export { c as AutomationAlignment, d as AutomationAuthoringOperation, e as AutomationBatchRequest, f as AutomationBatchResponse, g as AutomationChangeEvent, h as AutomationContentControlLock, i as AutomationContentControlRangeLocation, j as AutomationContentControlScope, k as AutomationContentControlSubtype, l as AutomationContentControlValue, m as AutomationCustomNodePayload, n as AutomationEndpoint, o as AutomationError, p as AutomationErrorCode, q as AutomationFontRead, r as AutomationFontWrite, s as AutomationHandle, t as AutomationHandleRef, u as AutomationInlinePictureRead, v as AutomationInlinePictureWrite, w as AutomationListBullet, x as AutomationListLevelFormat, y as AutomationListNumbering, z as AutomationObjectKind, B as AutomationOperationKind, C as AutomationOperationResult, D as AutomationPageOrientation, E as AutomationPageSetupRead, F as AutomationPageSetupWrite, G as AutomationParagraphFormatRead, H as AutomationParagraphFormatWrite, I as AutomationParagraphRef, J as AutomationPoint, K as AutomationReadingOrder, L as AutomationSaveResult, M as AutomationSearchOptions, N as AutomationSelectionMode, O as AutomationShapeRead, P as AutomationShapeType, Q as AutomationSpan, R as AutomationSpanRef, S as AutomationStyleKind, T as AutomationStyleRead, U as AutomationTextProjection, V as AutomationUnsubscribe, W as AutomationValue } from './protocol-CG_ybtKt.js';
16
+ import { C as ContentLockPolicy } from './tree-package-fragment-DLbxcboK.js';
17
17
  import { HeaderFooterVariant, NoteKind } from './store.js';
18
- import { C as CompareDocumentsEngine } from './tree-op-types-BJTz6t_O.js';
18
+ import { C as CompareDocumentsEngine } from './tree-op-types-DzstjXTb.js';
19
19
  import { OoxmlPackageLimits, OoxmlPackageRejection } from './store.js';
20
- export { aR as AutomationTableMutation, g as CompareDocumentsEngineErrorCode, h as CompareDocumentsEngineOptions, i as CompareDocumentsEngineResult, j as CompareDocumentsErrorCode, n as CompareDocumentsRefusalReason, a4 as RevisionAuthorEntry, a5 as RevisionAuthorResult, a6 as RevisionAuthorSkipReason, a7 as RevisionBatchEntry, a8 as RevisionBatchResult, a9 as RevisionBatchSkipDetail, aa as RevisionBatchSkipReason, ab as RevisionSiteRefusal } from './tree-op-types-BJTz6t_O.js';
20
+ export { aR as AutomationTableMutation, g as CompareDocumentsEngineErrorCode, h as CompareDocumentsEngineOptions, i as CompareDocumentsEngineResult, j as CompareDocumentsErrorCode, n as CompareDocumentsRefusalReason, a4 as RevisionAuthorEntry, a5 as RevisionAuthorResult, a6 as RevisionAuthorSkipReason, a7 as RevisionBatchEntry, a8 as RevisionBatchResult, a9 as RevisionBatchSkipDetail, aa as RevisionBatchSkipReason, ab as RevisionSiteRefusal } from './tree-op-types-DzstjXTb.js';
21
21
  import { TextMeasurer } from './editor.js';
22
22
  import { SemanticLayout } from './layout.js';
23
23
  import { HeadlessDocumentView } from './store.js';
@@ -25,7 +25,7 @@ import { CollaborationModuleContribution } from './collaboration.js';
25
25
  export { D as DiagnosticEmitter, a as DiagnosticPayload, b as byteSizeBucket, c as countBucket, e as createDiagnosticEmitter, f as diagnosticCause, d as diagnosticCauses, g as diagnosticErrorName, h as documentPartKind, i as exceptionCause, o as openDiagnosticCode, r as reviewCodeOfSkip, j as reviewDiagnosticCode, k as reviewSkipOfReason, s as storeEditDiagnosticCode } from './diagnostic-context-CBu1Cm4A.js';
26
26
  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, l as diagnosticCodes, m as explainDiagnostic } from './diagnostic-hints-BTyb8yzX.js';
27
27
  export { c as HistoryGroup, H as HistoryGroupOutcome } from './editor-scope-CA6egMaK.js';
28
- import './revision-projection-BAUauksK.js';
28
+ import './revision-projection-C9oujZwA.js';
29
29
  import './collaboration/replication.js';
30
30
  import './failure-6KGFrDO9.js';
31
31
 
@@ -1 +1 @@
1
- export{m as AUTOMATION_COMMAND_OPERATIONS,l as AUTOMATION_QUERY_OPERATIONS,n as AUTOMATION_SOLITARY_OPERATIONS,k as HEADER_FOOTER_VARIANTS,v as SERVER_AUTOMATION_CAPABILITIES,E as byteSizeBucket,F as countBucket,t as createAutomationPaginationProvider,G as createDiagnosticEmitter,w as createServerAutomationHost,I as diagnosticCause,H as diagnosticCauses,z as diagnosticCodes,L as diagnosticErrorName,M as documentPartKind,K as exceptionCause,y as explainDiagnostic,p as isAutomationCommand,o as isSolitaryAutomationCommand,A as openDiagnosticCode,r as paginationSnapshotOf,C as reviewCodeOfSkip,D as reviewDiagnosticCode,J as reviewSkipOfReason,B as storeEditDiagnosticCode}from'./chunk-R42NW5FO.js';import'./chunk-DZO5K26E.js';import'./chunk-PSVIEQUU.js';import'./chunk-K3UKJU4K.js';import'./chunk-VS2MXS62.js';import'./chunk-2BVJFI6B.js';import'./chunk-N5RYSQN5.js';import'./chunk-HLMY6NFI.js';import'./chunk-7MOZVKCN.js';
1
+ export{m as AUTOMATION_COMMAND_OPERATIONS,l as AUTOMATION_QUERY_OPERATIONS,n as AUTOMATION_SOLITARY_OPERATIONS,k as HEADER_FOOTER_VARIANTS,v as SERVER_AUTOMATION_CAPABILITIES,E as byteSizeBucket,F as countBucket,t as createAutomationPaginationProvider,G as createDiagnosticEmitter,w as createServerAutomationHost,I as diagnosticCause,H as diagnosticCauses,z as diagnosticCodes,L as diagnosticErrorName,M as documentPartKind,K as exceptionCause,y as explainDiagnostic,p as isAutomationCommand,o as isSolitaryAutomationCommand,A as openDiagnosticCode,r as paginationSnapshotOf,C as reviewCodeOfSkip,D as reviewDiagnosticCode,J as reviewSkipOfReason,B as storeEditDiagnosticCode}from'./chunk-JK4HBRVP.js';import'./chunk-MYNOUTWY.js';import'./chunk-T6MYXF6V.js';import'./chunk-YVLF7HBD.js';import'./chunk-YCOHPEF2.js';import'./chunk-WMM772MS.js';import'./chunk-XMJFDVE2.js';import'./chunk-MLJJL4QG.js';import'./chunk-XI5HK3TZ.js';
package/dist/binding.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkXTNY4DBY_cjs=require('./chunk-XTNY4DBY.cjs');require('./chunk-IMTQS6N5.cjs'),require('./chunk-7ZSPY7WH.cjs'),require('./chunk-4RDU6QVH.cjs'),require('./chunk-NTDLU6W6.cjs'),require('./chunk-QTRRXJXQ.cjs'),require('./chunk-I34OVDHO.cjs'),require('./chunk-TCWCSTAF.cjs');Object.defineProperty(exports,"PROJECTION_ORIGIN",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.o}});Object.defineProperty(exports,"bodyParagraphs",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.c}});Object.defineProperty(exports,"docToTreeOps",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.f}});Object.defineProperty(exports,"mountTreeSurface",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.p}});Object.defineProperty(exports,"openTreeSession",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.m}});Object.defineProperty(exports,"partHasNode",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.g}});Object.defineProperty(exports,"reconcileDoc",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.h}});Object.defineProperty(exports,"runPropsOf",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.b}});Object.defineProperty(exports,"treeSchema",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.a}});Object.defineProperty(exports,"treeToDoc",{enumerable:true,get:function(){return chunkXTNY4DBY_cjs.e}});
1
+ 'use strict';var chunkRFMMFHWX_cjs=require('./chunk-RFMMFHWX.cjs');require('./chunk-YVK3NMR6.cjs'),require('./chunk-OTZNA6FP.cjs'),require('./chunk-UMDB6PEV.cjs'),require('./chunk-UP5TM6T6.cjs'),require('./chunk-NPPHSBFT.cjs'),require('./chunk-4QLFADOG.cjs'),require('./chunk-XPBKJQTG.cjs');Object.defineProperty(exports,"PROJECTION_ORIGIN",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.C}});Object.defineProperty(exports,"bodyParagraphs",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.q}});Object.defineProperty(exports,"docToTreeOps",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.t}});Object.defineProperty(exports,"mountTreeSurface",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.D}});Object.defineProperty(exports,"openTreeSession",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.A}});Object.defineProperty(exports,"partHasNode",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.u}});Object.defineProperty(exports,"reconcileDoc",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.v}});Object.defineProperty(exports,"runPropsOf",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.p}});Object.defineProperty(exports,"treeSchema",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.o}});Object.defineProperty(exports,"treeToDoc",{enumerable:true,get:function(){return chunkRFMMFHWX_cjs.s}});
package/dist/binding.d.ts CHANGED
@@ -10,27 +10,27 @@
10
10
  */
11
11
  import { Node, Schema } from 'prosemirror-model';
12
12
  import { OoxmlProperty, OoxmlPackageResult, OoxmlPackageRejection } from './store.js';
13
- import { T as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-contract-CAsZn-VN.js';
14
- export { D as DocumentStyleEntry, M as MapResult, P as PackageWriteOptions, b as TreeApplyOptions, c as TreeBindingRejection, d as bodyParagraphs, e as docToTreeOps, p as partHasNode, r as reconcileDoc, t as treeToDoc } from './tree-session-contract-CAsZn-VN.js';
13
+ import { T as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-contract-BiKgucBu.js';
14
+ export { C as ChartCopySource, b as ChartLanes, D as DocumentStyleEntry, c as DuplicateChartInput, M as MapResult, P as PackageWriteOptions, d as TreeApplyOptions, e as TreeBindingRejection, f as bodyParagraphs, g as docToTreeOps, p as partHasNode, r as reconcileDoc, t as treeToDoc } from './tree-session-contract-BiKgucBu.js';
15
15
  import { ContentLockPolicy } from './automation.js';
16
- export { S as StoryScope, a as StoryTargetRejection } from './tree-package-fragment-DDV5xjSI.js';
16
+ export { S as StoryScope, a as StoryTargetRejection } from './tree-package-fragment-DLbxcboK.js';
17
17
  import { ReviewModuleContribution } from './contracts/modules.js';
18
18
  import { EditorView } from 'prosemirror-view';
19
19
  import './editor-scope-CA6egMaK.js';
20
- import './custom-node-writes-DqzeiTpY.js';
21
- import './drawing-graphic-kind-Dw4Qu9VA.js';
22
- import './collaboration/replication.js';
23
- import './revision-projection-BAUauksK.js';
20
+ import './editor-B0xPJSXd.js';
21
+ import './revision-projection-C9oujZwA.js';
24
22
  import './contracts/types.js';
25
23
  import './failure-6KGFrDO9.js';
26
- import './document-protection-CGnc6WX7.js';
27
- import './editor-CoU0Ipa9.js';
24
+ import './document-protection-Denp0lhl.js';
28
25
  import './editor-fonts-D_-vjuJi.js';
29
26
  import './diagnostic-hints-BTyb8yzX.js';
30
27
  import './contracts/document.js';
31
28
  import './contracts/interaction.js';
32
- import './semantic-interaction-B_AAT9S2.js';
33
- import './semantic-records-DkDc4E1z.js';
29
+ import './semantic-interaction-BTba0_1e.js';
30
+ import './semantic-records-C5qbT1sK.js';
31
+ import './drawing-graphic-kind-DjGMFeSM.js';
32
+ import './custom-node-writes-Buryuzow.js';
33
+ import './collaboration/replication.js';
34
34
  import './collaboration.js';
35
35
 
36
36
  /** Attributes carried by a projected paragraph. */
package/dist/binding.js CHANGED
@@ -1 +1 @@
1
- export{o as PROJECTION_ORIGIN,c as bodyParagraphs,f as docToTreeOps,p as mountTreeSurface,m as openTreeSession,g as partHasNode,h as reconcileDoc,b as runPropsOf,a as treeSchema,e as treeToDoc}from'./chunk-O2AEJ5T4.js';import'./chunk-6VTHQTM3.js';import'./chunk-K3UKJU4K.js';import'./chunk-VS2MXS62.js';import'./chunk-2BVJFI6B.js';import'./chunk-N5RYSQN5.js';import'./chunk-HLMY6NFI.js';import'./chunk-7MOZVKCN.js';
1
+ export{C as PROJECTION_ORIGIN,q as bodyParagraphs,t as docToTreeOps,D as mountTreeSurface,A as openTreeSession,u as partHasNode,v as reconcileDoc,p as runPropsOf,o as treeSchema,s as treeToDoc}from'./chunk-6EGRB3J4.js';import'./chunk-77L2HX42.js';import'./chunk-YVLF7HBD.js';import'./chunk-YCOHPEF2.js';import'./chunk-WMM772MS.js';import'./chunk-XMJFDVE2.js';import'./chunk-MLJJL4QG.js';import'./chunk-XI5HK3TZ.js';
@@ -1,21 +1,21 @@
1
1
  import { d as FontOrigin, M as MarkedFontResolver, c as FontConfigurationFragment, g as FontResolver, f as FontResolutionRequest } from './font-resolver-Bm9XqTNO.js';
2
2
  import { F as FontConfiguration, a as FontFaceRequest, b as FontSource } from './editor-fonts-D_-vjuJi.js';
3
- import { aO as TreeDocOp, bn as TextFormFieldRange, bo as TextFormFieldOptions, aw as ImageDecodePort, aH as Unsubscribe, ao as CompareDocumentsChromeHandlers, E as ExecResult, at as DrawingPositionInput, bh as DrawingTransform, a3 as ParagraphTabStop, Z as IndentFormatting, a2 as ParagraphFlags, a1 as ParagraphDisagreements, b9 as DrawingTreeDocOp, aG as SupportedImageMime, aF as SelectionPin, r as OoxmlPackage, x as ReviewRevisionKind, b0 as PackageWatermarkWrite, az as ImageWrapTarget } from './tree-op-types-BJTz6t_O.js';
3
+ import { b0 as TableInteractionLabelKey, e as BookmarkStory, N as DocumentSource, b8 as ZoomMode, _ as EditorFontError, Q as Editor, b as EditorCommand, C as CanResult, aQ as SelectedImageState, af as FormatPainterSurfaceState, f as BookmarkSummary, aN as ScrollPlacement, b6 as TrackedChangePredicate, b5 as TrackedChangeFilterMode, aq as ImageContext, aU as TableBorderEdgeTarget, aV as TableBorderSpec, aW as TableBorderStyle, a$ as TableContext, s as ChartType, ab as EditorSnapshot } from './editor-B0xPJSXd.js';
4
+ import { aO as TreeDocOp, bo as TextFormFieldRange, bp as TextFormFieldOptions, aw as ImageDecodePort, aH as Unsubscribe, ao as CompareDocumentsChromeHandlers, E as ExecResult, at as DrawingPositionInput, bi as DrawingTransform, a3 as ParagraphTabStop, r as OoxmlPackage, Z as IndentFormatting, a2 as ParagraphFlags, a1 as ParagraphDisagreements, bb as DrawingTreeDocOp, aG as SupportedImageMime, aF as SelectionPin, x as ReviewRevisionKind, b1 as PackageWatermarkWrite, az as ImageWrapTarget } from './tree-op-types-DzstjXTb.js';
4
5
  import { V as ViewScope, a as EditorExecOptions } from './editor-scope-CA6egMaK.js';
5
- import { aJ as TableInteractionLabelKey, e as BookmarkStory, u as DocumentSource, aR as ZoomMode, J as EditorFontError, x as Editor, b as EditorCommand, C as CanResult, ax as SelectedImageState, _ as FormatPainterSurfaceState, f as BookmarkSummary, av as ScrollPlacement, aP as TrackedChangePredicate, aO as TrackedChangeFilterMode, a9 as ImageContext, aB as TableBorderEdgeTarget, aC as TableBorderSpec, aD as TableBorderStyle, aI as TableContext, W as EditorSnapshot } from './editor-CoU0Ipa9.js';
6
- import { a as ReviewDisplayMode, d as ResolvedRevisionMarkup, k as RevisionMarkupOptions, g as RevisionMarkupChromeHandlers } from './revision-projection-BAUauksK.js';
7
- import { T as TextMeasurer, i as UnsupportedElementRule, S as SemanticLayout, C as ContentControlBoundaryRecord, t as SectionProperties } from './semantic-records-DkDc4E1z.js';
8
- import { F as FieldResultsMode, C as ContentLockPolicy, I as InsertImageInput, S as StoryScope, A as ApplyImagePropertiesInput, i as ImageIntentResult } from './tree-package-fragment-DDV5xjSI.js';
6
+ import { a as ReviewDisplayMode, d as ResolvedRevisionMarkup, k as RevisionMarkupOptions, g as RevisionMarkupChromeHandlers } from './revision-projection-C9oujZwA.js';
7
+ import { T as TextMeasurer, i as UnsupportedElementRule, S as SemanticLayout, C as ContentControlBoundaryRecord, t as SectionProperties } from './semantic-records-C5qbT1sK.js';
8
+ import { F as FieldResultsMode, C as ContentLockPolicy, i as InsertImageInput, S as StoryScope, A as ApplyImagePropertiesInput, I as ImageIntentResult } from './tree-package-fragment-DLbxcboK.js';
9
9
  import { ReviewPaneOptions } from './contracts/types.js';
10
10
  import { F as FontShapingOptions } from './font-shaping-policy-BvpkrfxM.js';
11
11
  import { CollaborationModuleContribution, EditorCollaborationSession, CollaborationRemoteSelection } from './collaboration.js';
12
- import { F as FieldShadingMode, c as RevisionStyles, f as DrawingPaintStrings, R as ReviewAuthorInfo, b as RevisionAuthorStyle } from './semantic-paint-Cl4VyItm.js';
12
+ import { F as FieldShadingMode, c as RevisionStyles, f as DrawingPaintStrings, R as ReviewAuthorInfo, b as RevisionAuthorStyle } from './semantic-paint-B_xi9H5m.js';
13
13
  import { ReviewModuleContribution, EditorModule } from './contracts/modules.js';
14
- import { S as SemanticPosition, a as SemanticSelection, N as NavigationCommand } from './semantic-interaction-B_AAT9S2.js';
15
- import { C as CellSelection } from './semantic-cell-selection--xgumqWx.js';
16
- import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties } from './note-properties-CrO9A0Ju.js';
17
- import { B as BookmarkIndex } from './custom-node-writes-DqzeiTpY.js';
18
- import { T as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-contract-CAsZn-VN.js';
14
+ import { S as SemanticPosition, a as SemanticSelection, N as NavigationCommand } from './semantic-interaction-BTba0_1e.js';
15
+ import { C as CellSelection } from './semantic-cell-selection-BiYMYlbf.js';
16
+ import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties } from './note-properties-C8_cURo1.js';
17
+ import { B as BookmarkIndex } from './custom-node-writes-Buryuzow.js';
18
+ import { I as InsertChartInput, h as ChartIntentResult, i as ChartTarget, j as ChartEdit, T as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-contract-BiKgucBu.js';
19
19
  import { a as CollaborationStatus } from './failure-6KGFrDO9.js';
20
20
 
21
21
  /**
@@ -1849,6 +1849,14 @@ interface SurfaceIndentAndListOps {
1849
1849
  isListActive(kind: 'bullet' | 'ordered'): boolean;
1850
1850
  }
1851
1851
 
1852
+ /** A surface chart insert; the actor is the surface's to supply. */
1853
+ type SurfaceInsertChartInput = Omit<InsertChartInput, 'actorId'>;
1854
+ /** The chart operations of the paginated surface. */
1855
+ interface SurfaceChartOps {
1856
+ insertChart(input: SurfaceInsertChartInput): ChartIntentResult;
1857
+ editChart(drawingNodeId: string, edit: (pkg: OoxmlPackage, target: ChartTarget) => ChartEdit): ChartIntentResult;
1858
+ }
1859
+
1852
1860
  /**
1853
1861
  * One live remote-caret label the engine positioned. The host owns its content; the engine
1854
1862
  * still owns the label's geometry, class, and presence colour, and rebuilds the labels
@@ -2086,7 +2094,7 @@ type SectionBreakInsertType = 'nextPage' | 'continuous';
2086
2094
  * Every write goes through the guarded mutation path on this object. Reaching past it into
2087
2095
  * `session` to apply ops directly bypasses the layout invalidation and the caret bookkeeping.
2088
2096
  */
2089
- interface PaginatedSurface extends SurfaceIndentAndListOps {
2097
+ interface PaginatedSurface extends SurfaceIndentAndListOps, SurfaceChartOps {
2090
2098
  readonly session: TreeDocxSessionView;
2091
2099
  /** The collaboration replica a `collaborationModule` attached, or null. */
2092
2100
  collaborationSession(): EditorCollaborationSession | null;
@@ -2670,12 +2678,15 @@ interface PaginatedSurface extends SurfaceIndentAndListOps {
2670
2678
  * Every clipboard flavour for the current selection: plain text, and the interop HTML
2671
2679
  * carrying the embedded fragment when the selection is a body-story range. A cell rectangle
2672
2680
  * answers grid text plus a flattened table; `html` is null where only plain text should be
2673
- * written. A chart refuses as `'chart-content'`, another object as `'unsupported-content'`.
2681
+ * written. One selected chart copies whole and names its drawing in `chartDrawingNodeId`,
2682
+ * which a cut deletes. A chart inside a wider selection refuses as `'chart-content'`, another
2683
+ * object as `'unsupported-content'`.
2674
2684
  */
2675
2685
  copyFlavours(): {
2676
2686
  readonly text: string;
2677
2687
  readonly html: string | null;
2678
2688
  readonly reason?: 'unsupported-content' | 'chart-content';
2689
+ readonly chartDrawingNodeId?: string;
2679
2690
  };
2680
2691
  /**
2681
2692
  * Route one paste payload by fidelity: embedded fragment, then external HTML, then
@@ -2999,9 +3010,10 @@ interface ChromeMenuItemEntry {
2999
3010
  /**
3000
3011
  * The row opens a size PICKER instead of firing on click — Word's insert-table grid.
3001
3012
  * The slot still owns the label, the icon and the enabled state; only the dispatch
3002
- * differs, and the picked size is what the host sends.
3013
+ * differs, and the picked size is what the host sends. `chartType` opens the list of chart
3014
+ * types, and the picked type is what the host inserts.
3003
3015
  */
3004
- readonly picker?: 'tableGrid';
3016
+ readonly picker?: 'tableGrid' | 'chartType';
3005
3017
  }
3006
3018
  /**
3007
3019
  * A row that opens a nested panel of rows (Insert › Break).
@@ -3633,6 +3645,13 @@ declare const CHROME_GROUPS: readonly [{
3633
3645
  readonly state: {
3634
3646
  readonly kind: 'command';
3635
3647
  };
3648
+ }, {
3649
+ readonly id: 'editChart';
3650
+ readonly labelKey: 'chart.edit';
3651
+ readonly paths: readonly string[];
3652
+ readonly state: {
3653
+ readonly kind: 'command';
3654
+ };
3636
3655
  }, {
3637
3656
  readonly id: 'wrap';
3638
3657
  readonly shape: 'dropdown';
@@ -3790,6 +3809,15 @@ declare const CHROME_GROUPS: readonly [{
3790
3809
  readonly state: {
3791
3810
  readonly kind: 'command';
3792
3811
  };
3812
+ }, {
3813
+ readonly id: 'chart';
3814
+ readonly shape: 'dropdown';
3815
+ readonly labelKey: 'chart.insert';
3816
+ readonly paths: readonly string[];
3817
+ readonly valueKey: 'chart.insert';
3818
+ readonly state: {
3819
+ readonly kind: 'value';
3820
+ };
3793
3821
  }, {
3794
3822
  readonly id: 'footnote';
3795
3823
  readonly labelKey: 'toolbar.insertFootnote';
@@ -3897,7 +3925,7 @@ type ChromeGroupId = 'history' | 'zoom' | 'styles' | 'font' | 'text' | 'script'
3897
3925
  *
3898
3926
  * @public
3899
3927
  */
3900
- type ChromeSlotId = 'history.undo' | 'history.redo' | 'zoom.level' | 'styles.style' | 'font.family' | 'font.size' | 'text.bold' | 'text.italic' | 'text.underline' | 'text.strike' | 'text.color' | 'text.highlight' | 'text.link' | 'script.super' | 'script.sub' | 'alignment.left' | 'alignment.center' | 'alignment.right' | 'alignment.justify' | 'direction.ltr' | 'direction.rtl' | 'list.bullet' | 'list.numbered' | 'list.outdent' | 'list.indent' | 'list.lineSpacing' | 'format.painter' | 'format.clear' | 'review.revisionMarkup' | 'review.comments' | 'review.addComment' | 'review.paragraphMarks' | 'review.bookmarks' | 'review.protectDocument' | 'review.compareDocuments' | 'review.simpleMarkup' | 'review.allMarkup' | 'review.noMarkup' | 'review.original' | 'review.previousChange' | 'review.nextChange' | 'review.acceptAllChanges' | 'review.rejectAllChanges' | 'review.authors' | 'review.editingMode' | 'contentControl.showAll' | 'contentControl.formFill' | 'contentControl.inspector' | 'contentControl.remove' | 'image.insert' | 'image.properties' | 'image.wrap' | 'image.altText' | 'table.insert' | 'table.borderTarget' | 'table.borderColor' | 'table.borderStyle' | 'table.borderWidth' | 'table.cellFill' | 'table.mergeCells' | 'table.splitCell' | 'file.open' | 'file.save' | 'file.exportMarkdown' | 'file.exportPdf' | 'file.print' | 'paragraph.dialog' | 'file.pageSetup' | 'insert.textBox' | 'insert.footnote' | 'insert.endnote' | 'insert.pageNumber' | 'insert.totalPages' | 'insert.sectionPages' | 'insert.pageXofY' | 'insert.pageBreak' | 'insert.sectionBreakNextPage' | 'insert.sectionBreakContinuous' | 'insert.toc' | 'insert.bookmark' | 'insert.goToBookmark' | 'insert.watermark';
3928
+ type ChromeSlotId = 'history.undo' | 'history.redo' | 'zoom.level' | 'styles.style' | 'font.family' | 'font.size' | 'text.bold' | 'text.italic' | 'text.underline' | 'text.strike' | 'text.color' | 'text.highlight' | 'text.link' | 'script.super' | 'script.sub' | 'alignment.left' | 'alignment.center' | 'alignment.right' | 'alignment.justify' | 'direction.ltr' | 'direction.rtl' | 'list.bullet' | 'list.numbered' | 'list.outdent' | 'list.indent' | 'list.lineSpacing' | 'format.painter' | 'format.clear' | 'review.revisionMarkup' | 'review.comments' | 'review.addComment' | 'review.paragraphMarks' | 'review.bookmarks' | 'review.protectDocument' | 'review.compareDocuments' | 'review.simpleMarkup' | 'review.allMarkup' | 'review.noMarkup' | 'review.original' | 'review.previousChange' | 'review.nextChange' | 'review.acceptAllChanges' | 'review.rejectAllChanges' | 'review.authors' | 'review.editingMode' | 'contentControl.showAll' | 'contentControl.formFill' | 'contentControl.inspector' | 'contentControl.remove' | 'image.insert' | 'image.properties' | 'image.editChart' | 'image.wrap' | 'image.altText' | 'table.insert' | 'table.borderTarget' | 'table.borderColor' | 'table.borderStyle' | 'table.borderWidth' | 'table.cellFill' | 'table.mergeCells' | 'table.splitCell' | 'file.open' | 'file.save' | 'file.exportMarkdown' | 'file.exportPdf' | 'file.print' | 'paragraph.dialog' | 'file.pageSetup' | 'insert.textBox' | 'insert.chart' | 'insert.footnote' | 'insert.endnote' | 'insert.pageNumber' | 'insert.totalPages' | 'insert.sectionPages' | 'insert.pageXofY' | 'insert.pageBreak' | 'insert.sectionBreakNextPage' | 'insert.sectionBreakContinuous' | 'insert.toc' | 'insert.bookmark' | 'insert.goToBookmark' | 'insert.watermark';
3901
3929
  /**
3902
3930
  * Every control id in the chrome, as a literal union. Unique WITHIN a group, not
3903
3931
  * globally (`image.insert` / `table.insert`) — key consumers on {@link ChromeSlotId}.
@@ -3931,10 +3959,13 @@ declare function defaultChromeGroups(): readonly ChromeGroup[];
3931
3959
  interface FormattingBarOptions {
3932
3960
  /** Show `direction.ltr` and `direction.rtl` after alignment, as for a right-to-left UI. */
3933
3961
  readonly direction?: boolean;
3962
+ /** Whether the selected drawing is a chart, which shows `image.editChart`. */
3963
+ readonly chart?: boolean;
3934
3964
  }
3935
3965
  /**
3936
3966
  * The formatting-bar groups for one editor snapshot: the default bar, the contextual `image`
3937
- * group when a drawing is selected, and the direction group when `options.direction` asks.
3967
+ * group when a drawing is selected (with Edit chart for a chart), and the direction group when
3968
+ * `options.direction` asks.
3938
3969
  * Insertion without a selection lives in the packaged Insert menu (`CHROME_MENUS`), not in
3939
3970
  * the bar — a host that wants a bar button places `DocxEditor.Toolbar.ImageInsert` itself.
3940
3971
  *
@@ -4060,6 +4091,7 @@ interface ToolbarValueMap {
4060
4091
  'list.lineSpacing': number;
4061
4092
  'image.wrap': ImageWrapTarget;
4062
4093
  'image.altText': string;
4094
+ 'insert.chart': ChartType;
4063
4095
  'review.editingMode': 'editing' | 'suggesting' | 'viewing';
4064
4096
  }
4065
4097
  /** @public */
@@ -4403,5 +4435,5 @@ declare function initialChromePrintSettings(snapshot: Pick<EditorSnapshot, 'revi
4403
4435
  */
4404
4436
  declare function runChromePrint(editor: Pick<Editor, 'save'> & Partial<Pick<DocxEditorInstance, 'snapshot' | 'getReviewAuthors'>>, handlers?: ChromeExportHandlers, container?: Document | Element, settings?: ChromePrintSettings): Promise<ChromePrintJob>;
4405
4437
 
4406
- export { CHROME_GROUPS as C, TABLE_BORDER_WIDTH_OPTIONS as a$, bindHistoryGroup as a2, blankDocumentBytes as a3, chromeMenuSlots as a4, commandForSlot as a5, commandForSlotValue as a6, createDocxEditor as a7, createFontSource as a8, customFonts as a9, IMAGE_OVERLAY_NUDGE_PT as aD, IMAGE_OVERLAY_NUDGE_SHIFT_PT as aE, TABLE_BORDER_STYLE_OPTIONS as aZ, TABLE_BORDER_TARGET_OPTIONS as a_, deferFonts as aa, initialChromePrintSettings as ab, isChromePrintShortcut as ac, loadFonts as ad, runChromeExport as ae, runChromePrint as af, runToolbarCommand as ag, toolbarCommandState as ah, CHROME_UNAVAILABLE_KEY as ap, DEFAULT_TABLE_CHROME_DRAFT as av, EMU_PER_POINT as ax, TABLE_CHROME_SLOT_IDS as b0, overlayHostOrigin as bA, pointsToEmu as bB, probeTableChromeCommand as bC, resizePreservesAspect as bD, runSave as bE, runTableChromeCommand as bF, runTableCommand as bG, selectedDrawingOverlayTargetOf as bH, selectedImageStateOf as bI, surfacePaintScale as bJ, tableChromeIconPaths as bK, tableChromeLabelKeyForTarget as bL, tableChromeToolbarState as bM, tableChromeVisible as bN, tableCommandToolbarState as bO, toolbarCommandStates as bP, applyTableChromePick as bb, canExecuteImageCommand as bc, captureImageMutationPreconditions as bd, chromeControlCount as be, chromeProbeForSlot as bf, chromeSlotId as bg, chromeSlotIsToggle as bh, commandExecOptions as bi, commandForTableChromeSlotValue as bj, computeImageResizeResult as bk, computeMovedImagePosition as bl, computeResizedImageExtentEmu as bm, createImageOverlayScrollPort as bn, cssPixelsToLayoutPoints as bo, defaultChromeGroups as bp, defaultTableLabel as bq, emuToOverlayPoints as br, equationAtPosition as bs, executeImageCommand as bt, finalizeImageOverlayInteraction as bu, formattingBarChromeGroups as bv, isStaleImageInteractionCommit as bw, isTableChromeSlot as bx, layoutPointsToCssPixels as by, overlayFrameToSheetCssPixels as bz, CHROME_MENUS as d, CHROME_PRINT_DISPLAY_MODES as e, ChromeExportError as f, ChromePrintError as q };
4407
- export type { ToolbarCommandState as $, AttachOptions as A, BlankDocumentOptions as B, CustomFontsResolver as D, DocxEditorConfig as E, DocxEditorInstance as F, EquationActivation as G, EquationChromeHandlers as H, FontLoadFailure as I, FontLoadFailureReason as J, FontMeasurementState as K, FontUrlSource as L, GoToChromeHandlers as M, HistoryGroupBinding as N, HistoryGroupBindingOptions as O, HyperlinkActivation as P, HyperlinkChromeHandlers as Q, InvalidTextFormFieldChromeHandlers as R, InvalidTextFormFieldSession as S, LoadFontsRequest as T, LoadFontsResult as U, LockedControlNavigation as V, PopupChromeRegistrationOptions as W, ResolvedChromePrintSettings as X, SurfaceEquation as Y, SurfaceHyperlink as Z, TableChromeSlotId as _, BookmarkChromeHandlers as a, ToolbarValueMap as a0, ToolbarValueSlot as a1, FinalizedImageOverlayInteraction as aA, FormattingBarOptions as aB, HyperlinkOps as aC, ImageInteractionSession as aF, ImageOverlayScrollPort as aG, ImageResizeHandle as aH, ImageResizeResult as aI, OpeningIndicatorHost as aJ, OverlayFrameRect as aK, PaginatedSurfaceState as aL, ParagraphPropertyEdit as aM, RemoteCaretLabelAnchor as aN, RemoteCaretLabelHost as aO, ReviewWriteIntent as aP, RunTableChromeCommandResult as aQ, SectionAnchor as aR, SectionBreakInsertType as aS, SelectedDrawingOverlayTarget as aT, SurfaceIndentAndListOps as aU, SurfaceInsertImageInput as aV, SurfaceNavigation as aW, SurfaceOverlayCoordinates as aX, SurfaceParagraphFormat as aY, PaginatedSurfaceOptions as ai, OpenPaginatedResult as aj, PaginatedSurface as ak, TableCommandPlan as al, SurfaceFormatting as am, AnchorFrameOrigin as an, BookmarkMarkOptionsSource as ao, ChromeControl as aq, ChromeControlId as ar, ChromeControlState as as, ChromeGroup as at, ChromeGroupId as au, DrawingSelectionIntent as aw, EditorCommandExecute as ay, EquationOps as az, BookmarkMarkInfo as b, TableBorderStyleOption as b1, TableBorderTargetOption as b2, TableBorderTargetValue as b3, TableBorderWidthOption as b4, TableChromeDraft as b5, TableChromePick as b6, TextFormFieldChromeHandlers as b7, TextFormFieldDialogSession as b8, TocRemovalRefusal as b9, ToolbarSlotValue as ba, BookmarkMarkOptions as c, ChromeExportFormat as g, ChromeExportHandlers as h, ChromeExportResult as i, ChromeExportView as j, ChromeMenu as k, ChromeMenuEntry as l, ChromeMenuId as m, ChromeMenuItemEntry as n, ChromeMenuSeparatorEntry as o, ChromeMenuSubmenuEntry as p, ChromePrintErrorCode as r, ChromePrintJob as s, ChromePrintOptions as t, ChromePrintSettings as u, ChromeSlotId as v, CommentDraftChromeHandlers as w, ContentControlWidgetChromeHandlers as x, ContentControlWidgetSession as y, CustomFontsOptions as z };
4438
+ export { CHROME_GROUPS as C, TABLE_BORDER_TARGET_OPTIONS as a$, bindHistoryGroup as a2, blankDocumentBytes as a3, chromeMenuSlots as a4, commandForSlot as a5, commandForSlotValue as a6, createDocxEditor as a7, createFontSource as a8, customFonts as a9, IMAGE_OVERLAY_NUDGE_PT as aD, IMAGE_OVERLAY_NUDGE_SHIFT_PT as aE, TABLE_BORDER_STYLE_OPTIONS as a_, deferFonts as aa, initialChromePrintSettings as ab, isChromePrintShortcut as ac, loadFonts as ad, runChromeExport as ae, runChromePrint as af, runToolbarCommand as ag, toolbarCommandState as ah, CHROME_UNAVAILABLE_KEY as ap, DEFAULT_TABLE_CHROME_DRAFT as av, EMU_PER_POINT as ax, TABLE_BORDER_WIDTH_OPTIONS as b0, TABLE_CHROME_SLOT_IDS as b1, overlayFrameToSheetCssPixels as bA, overlayHostOrigin as bB, pointsToEmu as bC, probeTableChromeCommand as bD, resizePreservesAspect as bE, runSave as bF, runTableChromeCommand as bG, runTableCommand as bH, selectedDrawingOverlayTargetOf as bI, selectedImageStateOf as bJ, surfacePaintScale as bK, tableChromeIconPaths as bL, tableChromeLabelKeyForTarget as bM, tableChromeToolbarState as bN, tableChromeVisible as bO, tableCommandToolbarState as bP, toolbarCommandStates as bQ, applyTableChromePick as bc, canExecuteImageCommand as bd, captureImageMutationPreconditions as be, chromeControlCount as bf, chromeProbeForSlot as bg, chromeSlotId as bh, chromeSlotIsToggle as bi, commandExecOptions as bj, commandForTableChromeSlotValue as bk, computeImageResizeResult as bl, computeMovedImagePosition as bm, computeResizedImageExtentEmu as bn, createImageOverlayScrollPort as bo, cssPixelsToLayoutPoints as bp, defaultChromeGroups as bq, defaultTableLabel as br, emuToOverlayPoints as bs, equationAtPosition as bt, executeImageCommand as bu, finalizeImageOverlayInteraction as bv, formattingBarChromeGroups as bw, isStaleImageInteractionCommit as bx, isTableChromeSlot as by, layoutPointsToCssPixels as bz, CHROME_MENUS as d, CHROME_PRINT_DISPLAY_MODES as e, ChromeExportError as f, ChromePrintError as q };
4439
+ export type { ToolbarCommandState as $, AttachOptions as A, BlankDocumentOptions as B, CustomFontsResolver as D, DocxEditorConfig as E, DocxEditorInstance as F, EquationActivation as G, EquationChromeHandlers as H, FontLoadFailure as I, FontLoadFailureReason as J, FontMeasurementState as K, FontUrlSource as L, GoToChromeHandlers as M, HistoryGroupBinding as N, HistoryGroupBindingOptions as O, HyperlinkActivation as P, HyperlinkChromeHandlers as Q, InvalidTextFormFieldChromeHandlers as R, InvalidTextFormFieldSession as S, LoadFontsRequest as T, LoadFontsResult as U, LockedControlNavigation as V, PopupChromeRegistrationOptions as W, ResolvedChromePrintSettings as X, SurfaceEquation as Y, SurfaceHyperlink as Z, TableChromeSlotId as _, BookmarkChromeHandlers as a, ToolbarValueMap as a0, ToolbarValueSlot as a1, FinalizedImageOverlayInteraction as aA, FormattingBarOptions as aB, HyperlinkOps as aC, ImageInteractionSession as aF, ImageOverlayScrollPort as aG, ImageResizeHandle as aH, ImageResizeResult as aI, OpeningIndicatorHost as aJ, OverlayFrameRect as aK, PaginatedSurfaceState as aL, ParagraphPropertyEdit as aM, RemoteCaretLabelAnchor as aN, RemoteCaretLabelHost as aO, ReviewWriteIntent as aP, RunTableChromeCommandResult as aQ, SectionAnchor as aR, SectionBreakInsertType as aS, SelectedDrawingOverlayTarget as aT, SurfaceChartOps as aU, SurfaceIndentAndListOps as aV, SurfaceInsertImageInput as aW, SurfaceNavigation as aX, SurfaceOverlayCoordinates as aY, SurfaceParagraphFormat as aZ, PaginatedSurfaceOptions as ai, OpenPaginatedResult as aj, PaginatedSurface as ak, TableCommandPlan as al, SurfaceFormatting as am, AnchorFrameOrigin as an, BookmarkMarkOptionsSource as ao, ChromeControl as aq, ChromeControlId as ar, ChromeControlState as as, ChromeGroup as at, ChromeGroupId as au, DrawingSelectionIntent as aw, EditorCommandExecute as ay, EquationOps as az, BookmarkMarkInfo as b, TableBorderStyleOption as b2, TableBorderTargetOption as b3, TableBorderTargetValue as b4, TableBorderWidthOption as b5, TableChromeDraft as b6, TableChromePick as b7, TextFormFieldChromeHandlers as b8, TextFormFieldDialogSession as b9, TocRemovalRefusal as ba, ToolbarSlotValue as bb, BookmarkMarkOptions as c, ChromeExportFormat as g, ChromeExportHandlers as h, ChromeExportResult as i, ChromeExportView as j, ChromeMenu as k, ChromeMenuEntry as l, ChromeMenuId as m, ChromeMenuItemEntry as n, ChromeMenuSeparatorEntry as o, ChromeMenuSubmenuEntry as p, ChromePrintErrorCode as r, ChromePrintJob as s, ChromePrintOptions as t, ChromePrintSettings as u, ChromeSlotId as v, CommentDraftChromeHandlers as w, ContentControlWidgetChromeHandlers as x, ContentControlWidgetSession as y, CustomFontsOptions as z };