@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
package/dist/editor.d.ts CHANGED
@@ -9,53 +9,57 @@
9
9
  * @packageDocumentation
10
10
  * @public
11
11
  */
12
- import { bp as TreeDocColorValue, at as DrawingPositionInput, a3 as ParagraphTabStop } from './tree-op-types-BJTz6t_O.js';
13
- import { ColorValue } from './contracts/document.js';
12
+ import { bq as TreeDocColorValue, at as DrawingPositionInput, a3 as ParagraphTabStop } from './tree-op-types-DzstjXTb.js';
13
+ import { ColorValue, ExecResult } from './contracts/document.js';
14
14
  import { Watermark } from './contracts/editor.js';
15
15
  import { OoxmlPart } from './contracts/modules.js';
16
- export { an as COMPARE_DOCUMENTS_ACCEPT, a as CompareDocumentsBackgroundEngine, f as CompareDocumentsBackgroundResult, ao as CompareDocumentsChromeHandlers, b as CompareDocumentsDialogSession, C as CompareDocumentsEngine, 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, bq as DEFAULT_IMAGE_RESOURCE_LIMITS, br as IMAGE_WRAP_TARGETS, aw as ImageDecodePort, ax as ImageResourceLimits, az as ImageWrapTarget, a2 as ParagraphFlags, aE as RenderableImageMime, R as ReviewModelInput, aG as SupportedImageMime, bs as TEXT_FORM_FORMATS, aJ as VectorImageMime, aN as compareDocumentsErrorKey, bt as resolveImageResourceLimits, bu as resolveSvgIntrinsicSize, bv as sniffImageMime, bw as validateRasterHeader } from './tree-op-types-BJTz6t_O.js';
17
- export { C as ContentLockPolicy, F as FieldResultsMode } from './tree-package-fragment-DDV5xjSI.js';
18
- export { D as DrawingGraphicKind, a as DrawingSupport, b as DrawingSupportIssue } from './drawing-graphic-kind-Dw4Qu9VA.js';
19
- import { D as DrawingPreviewPackageLimits, a as DrawingPreviewPackageResult } from './drawing-preview-package-BuFluWSg.js';
16
+ export { an as COMPARE_DOCUMENTS_ACCEPT, a as CompareDocumentsBackgroundEngine, f as CompareDocumentsBackgroundResult, ao as CompareDocumentsChromeHandlers, b as CompareDocumentsDialogSession, C as CompareDocumentsEngine, 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, br as DEFAULT_IMAGE_RESOURCE_LIMITS, bs as IMAGE_WRAP_TARGETS, aw as ImageDecodePort, ax as ImageResourceLimits, az as ImageWrapTarget, a2 as ParagraphFlags, aE as RenderableImageMime, R as ReviewModelInput, aG as SupportedImageMime, bt as TEXT_FORM_FORMATS, aJ as VectorImageMime, aN as compareDocumentsErrorKey, bu as resolveImageResourceLimits, bv as resolveSvgIntrinsicSize, bw as sniffImageMime, bx as validateRasterHeader } from './tree-op-types-DzstjXTb.js';
17
+ export { C as ContentLockPolicy, F as FieldResultsMode } from './tree-package-fragment-DLbxcboK.js';
18
+ export { D as DrawingGraphicKind, a as DrawingSupport, b as DrawingSupportIssue } from './drawing-graphic-kind-DjGMFeSM.js';
19
+ import { D as DrawingPreviewPackageLimits, a as DrawingPreviewPackageResult } from './drawing-preview-package-LHyHuTVq.js';
20
20
  import { BookmarkNameProblem } from './store.js';
21
- import { T as TreeDocxSessionView, f as DocumentThemeColorEntry } from './tree-session-contract-CAsZn-VN.js';
22
- export { a as TreeApplyResult } from './tree-session-contract-CAsZn-VN.js';
21
+ import { T as TreeDocxSessionView, k as DocumentThemeColorEntry } from './tree-session-contract-BiKgucBu.js';
22
+ export { C as ChartCopySource, h as ChartIntentResult, b as ChartLanes, c as DuplicateChartInput, I as InsertChartInput, a as TreeApplyResult } from './tree-session-contract-BiKgucBu.js';
23
23
  export { CollectReviewItems, CompareDocumentsDialog, CompareDocumentsDialogHost, EditorModule, EditorModuleRegistry, ReviewModuleContribution, RevisionMarkupDialog, RevisionMarkupDialogHost, resolveEditorModules } from './contracts/modules.js';
24
24
  import { F as FontShapingOptions } from './font-shaping-policy-BvpkrfxM.js';
25
- import { g as ClearAnchorHighlightOptions, c as AnchorHighlightOptions, aw as ScrollToAnchorOptions, av as ScrollPlacement, A as AnchorHighlightAnimation, a4 as HighlightRange, a6 as HighlightResult, a3 as HighlightOptions, aM as TextMatch } from './editor-CoU0Ipa9.js';
25
+ import { u as ClearAnchorHighlightOptions, c as AnchorHighlightOptions, aO as ScrollToAnchorOptions, aN as ScrollPlacement, A as AnchorHighlightAnimation, al as HighlightRange, an as HighlightResult, ak as HighlightOptions, b3 as TextMatch, s as ChartType, q as ChartLegendPosition, r as ChartThemeColor, n as ChartFormat, g as ChartColor, h as ChartColorEntry, i as ChartData, aP as SelectedChartState } from './editor-B0xPJSXd.js';
26
26
  import { EditorFontError, EditorSnapshot, Editor, EditorCommand, CanResult, ZoomMode, BookmarkSummary, BookmarkPlace } from './contracts/editor.js';
27
- export { a2 as HighlightHit, a5 as HighlightRect, a9 as ImageContext, aa as ImageCropPercent, aS as ImageCropPermille, an as ReviewItemHit, ax as SelectedImageState, aJ as TableInteractionLabelKey, aO as TrackedChangeFilterMode, aP as TrackedChangePredicate, aT as cropPercentFromCropPermille, aU as cropPercentFromPermille, aV as cropPercentFromSourceCrop, aW as cropPermilleFromCropPercent, aX as cropPermilleFromPercent, aY as sourceCropFromCropPercent, aZ as validateImageCropPercent } from './editor-CoU0Ipa9.js';
27
+ export { j as ChartDataCategory, k as ChartDataKind, l as ChartDataRead, m as ChartDataSeries, o as ChartFormatChange, p as ChartFormatRead, t as ChartWorkbookState, aj as HighlightHit, am as HighlightRect, aq as ImageContext, ar as ImageCropPercent, b9 as ImageCropPermille, as as NewChartData, aF as ReviewItemHit, aQ as SelectedImageState, b0 as TableInteractionLabelKey, b5 as TrackedChangeFilterMode, b6 as TrackedChangePredicate, ba as cropPercentFromCropPermille, bb as cropPercentFromPermille, bc as cropPercentFromSourceCrop, bd as cropPermilleFromCropPercent, be as cropPermilleFromPercent, bf as sourceCropFromCropPercent, bg as validateImageCropPercent } from './editor-B0xPJSXd.js';
28
28
  import { LayoutShapingInstrumentation, LayoutShapingOptions } from './layout.js';
29
- export { d as disposeLayoutShaping } from './layout-shaping-B7ifvgm-.js';
29
+ export { d as disposeLayoutShaping } from './layout-shaping-CFTk9pWQ.js';
30
30
  import { FontConfiguration } from './contracts/editor.js';
31
31
  export { C as ComposeFontOriginsOptions, D as DEFAULT_FONT, F as FONT_RESOLVER_BRAND, a as FONT_RESOLVER_MARK_KEY, b as FontConfigurationBase, c as FontConfigurationFragment, d as FontOrigin, e as FontOriginFailure, f as FontResolutionRequest, g as FontResolver, h as FontResolverMark, m as MAX_RESOLVER_FAMILIES, M as MarkedFontResolver, W as WORD_DEFAULT_FONT, i as composeFontConfiguration, j as composeFontOrigins, k as defineFontResolver, l as isFontResolver } from './font-resolver-Bm9XqTNO.js';
32
- import { ai as PaginatedSurfaceOptions, aj as OpenPaginatedResult, ak as PaginatedSurface, al as TableCommandPlan, F as DocxEditorInstance, am as SurfaceFormatting } from './chrome-print-B9U_PiqL.js';
33
- export { an as AnchorFrameOrigin, A as AttachOptions, B as BlankDocumentOptions, a as BookmarkChromeHandlers, b as BookmarkMarkInfo, c as BookmarkMarkOptions, ao as BookmarkMarkOptionsSource, C as CHROME_GROUPS, d as CHROME_MENUS, e as CHROME_PRINT_DISPLAY_MODES, ap as CHROME_UNAVAILABLE_KEY, aq as ChromeControl, ar as ChromeControlId, as as ChromeControlState, f as ChromeExportError, g as ChromeExportFormat, h as ChromeExportHandlers, i as ChromeExportResult, j as ChromeExportView, at as ChromeGroup, au as ChromeGroupId, k as ChromeMenu, l as ChromeMenuEntry, m as ChromeMenuId, n as ChromeMenuItemEntry, o as ChromeMenuSeparatorEntry, p as ChromeMenuSubmenuEntry, q as ChromePrintError, r as ChromePrintErrorCode, s as ChromePrintJob, t as ChromePrintOptions, u as ChromePrintSettings, v as ChromeSlotId, w as CommentDraftChromeHandlers, x as ContentControlWidgetChromeHandlers, y as ContentControlWidgetSession, z as CustomFontsOptions, D as CustomFontsResolver, av as DEFAULT_TABLE_CHROME_DRAFT, E as DocxEditorConfig, aw as DrawingSelectionIntent, ax as EMU_PER_POINT, ay as EditorCommandExecute, G as EquationActivation, H as EquationChromeHandlers, az as EquationOps, aA as FinalizedImageOverlayInteraction, I as FontLoadFailure, J as FontLoadFailureReason, K as FontMeasurementState, L as FontUrlSource, aB as FormattingBarOptions, M as GoToChromeHandlers, N as HistoryGroupBinding, O as HistoryGroupBindingOptions, P as HyperlinkActivation, Q as HyperlinkChromeHandlers, aC as HyperlinkOps, aD as IMAGE_OVERLAY_NUDGE_PT, aE as IMAGE_OVERLAY_NUDGE_SHIFT_PT, aF as ImageInteractionSession, aG as ImageOverlayScrollPort, aH as ImageResizeHandle, aI as ImageResizeResult, R as InvalidTextFormFieldChromeHandlers, S as InvalidTextFormFieldSession, T as LoadFontsRequest, U as LoadFontsResult, V as LockedControlNavigation, aJ as OpeningIndicatorHost, aK as OverlayFrameRect, aL as PaginatedSurfaceState, aM as ParagraphPropertyEdit, W as PopupChromeRegistrationOptions, aN as RemoteCaretLabelAnchor, aO as RemoteCaretLabelHost, X as ResolvedChromePrintSettings, aP as ReviewWriteIntent, aQ as RunTableChromeCommandResult, aR as SectionAnchor, aS as SectionBreakInsertType, aT as SelectedDrawingOverlayTarget, Y as SurfaceEquation, Z as SurfaceHyperlink, aU as SurfaceIndentAndListOps, aV as SurfaceInsertImageInput, aW as SurfaceNavigation, aX as SurfaceOverlayCoordinates, aY as SurfaceParagraphFormat, aZ as TABLE_BORDER_STYLE_OPTIONS, a_ as TABLE_BORDER_TARGET_OPTIONS, a$ as TABLE_BORDER_WIDTH_OPTIONS, b0 as TABLE_CHROME_SLOT_IDS, b1 as TableBorderStyleOption, b2 as TableBorderTargetOption, b3 as TableBorderTargetValue, b4 as TableBorderWidthOption, b5 as TableChromeDraft, b6 as TableChromePick, _ as TableChromeSlotId, b7 as TextFormFieldChromeHandlers, b8 as TextFormFieldDialogSession, b9 as TocRemovalRefusal, $ as ToolbarCommandState, ba as ToolbarSlotValue, a0 as ToolbarValueMap, a1 as ToolbarValueSlot, bb as applyTableChromePick, a2 as bindHistoryGroup, a3 as blankDocumentBytes, bc as canExecuteImageCommand, bd as captureImageMutationPreconditions, be as chromeControlCount, a4 as chromeMenuSlots, bf as chromeProbeForSlot, bg as chromeSlotId, bh as chromeSlotIsToggle, bi as commandExecOptions, a5 as commandForSlot, a6 as commandForSlotValue, bj as commandForTableChromeSlotValue, bk as computeImageResizeResult, bl as computeMovedImagePosition, bm as computeResizedImageExtentEmu, a7 as createDocxEditor, a8 as createFontSource, bn as createImageOverlayScrollPort, bo as cssPixelsToLayoutPoints, a9 as customFonts, bp as defaultChromeGroups, bq as defaultTableLabel, aa as deferFonts, br as emuToOverlayPoints, bs as equationAtPosition, bt as executeImageCommand, bu as finalizeImageOverlayInteraction, bv as formattingBarChromeGroups, ab as initialChromePrintSettings, ac as isChromePrintShortcut, bw as isStaleImageInteractionCommit, bx as isTableChromeSlot, by as layoutPointsToCssPixels, ad as loadFonts, bz as overlayFrameToSheetCssPixels, bA as overlayHostOrigin, bB as pointsToEmu, bC as probeTableChromeCommand, bD as resizePreservesAspect, ae as runChromeExport, af as runChromePrint, bE as runSave, bF as runTableChromeCommand, bG as runTableCommand, ag as runToolbarCommand, bH as selectedDrawingOverlayTargetOf, bI as selectedImageStateOf, bJ as surfacePaintScale, bK as tableChromeIconPaths, bL as tableChromeLabelKeyForTarget, bM as tableChromeToolbarState, bN as tableChromeVisible, bO as tableCommandToolbarState, ah as toolbarCommandState, bP as toolbarCommandStates } from './chrome-print-B9U_PiqL.js';
32
+ import { ai as PaginatedSurfaceOptions, aj as OpenPaginatedResult, ak as PaginatedSurface, al as TableCommandPlan, F as DocxEditorInstance, am as SurfaceFormatting } from './chrome-print-BSsqYQtt.js';
33
+ export { an as AnchorFrameOrigin, A as AttachOptions, B as BlankDocumentOptions, a as BookmarkChromeHandlers, b as BookmarkMarkInfo, c as BookmarkMarkOptions, ao as BookmarkMarkOptionsSource, C as CHROME_GROUPS, d as CHROME_MENUS, e as CHROME_PRINT_DISPLAY_MODES, ap as CHROME_UNAVAILABLE_KEY, aq as ChromeControl, ar as ChromeControlId, as as ChromeControlState, f as ChromeExportError, g as ChromeExportFormat, h as ChromeExportHandlers, i as ChromeExportResult, j as ChromeExportView, at as ChromeGroup, au as ChromeGroupId, k as ChromeMenu, l as ChromeMenuEntry, m as ChromeMenuId, n as ChromeMenuItemEntry, o as ChromeMenuSeparatorEntry, p as ChromeMenuSubmenuEntry, q as ChromePrintError, r as ChromePrintErrorCode, s as ChromePrintJob, t as ChromePrintOptions, u as ChromePrintSettings, v as ChromeSlotId, w as CommentDraftChromeHandlers, x as ContentControlWidgetChromeHandlers, y as ContentControlWidgetSession, z as CustomFontsOptions, D as CustomFontsResolver, av as DEFAULT_TABLE_CHROME_DRAFT, E as DocxEditorConfig, aw as DrawingSelectionIntent, ax as EMU_PER_POINT, ay as EditorCommandExecute, G as EquationActivation, H as EquationChromeHandlers, az as EquationOps, aA as FinalizedImageOverlayInteraction, I as FontLoadFailure, J as FontLoadFailureReason, K as FontMeasurementState, L as FontUrlSource, aB as FormattingBarOptions, M as GoToChromeHandlers, N as HistoryGroupBinding, O as HistoryGroupBindingOptions, P as HyperlinkActivation, Q as HyperlinkChromeHandlers, aC as HyperlinkOps, aD as IMAGE_OVERLAY_NUDGE_PT, aE as IMAGE_OVERLAY_NUDGE_SHIFT_PT, aF as ImageInteractionSession, aG as ImageOverlayScrollPort, aH as ImageResizeHandle, aI as ImageResizeResult, R as InvalidTextFormFieldChromeHandlers, S as InvalidTextFormFieldSession, T as LoadFontsRequest, U as LoadFontsResult, V as LockedControlNavigation, aJ as OpeningIndicatorHost, aK as OverlayFrameRect, aL as PaginatedSurfaceState, aM as ParagraphPropertyEdit, W as PopupChromeRegistrationOptions, aN as RemoteCaretLabelAnchor, aO as RemoteCaretLabelHost, X as ResolvedChromePrintSettings, aP as ReviewWriteIntent, aQ as RunTableChromeCommandResult, aR as SectionAnchor, aS as SectionBreakInsertType, aT as SelectedDrawingOverlayTarget, aU as SurfaceChartOps, Y as SurfaceEquation, Z as SurfaceHyperlink, aV as SurfaceIndentAndListOps, aW as SurfaceInsertImageInput, aX as SurfaceNavigation, aY as SurfaceOverlayCoordinates, aZ as SurfaceParagraphFormat, a_ as TABLE_BORDER_STYLE_OPTIONS, a$ as TABLE_BORDER_TARGET_OPTIONS, b0 as TABLE_BORDER_WIDTH_OPTIONS, b1 as TABLE_CHROME_SLOT_IDS, b2 as TableBorderStyleOption, b3 as TableBorderTargetOption, b4 as TableBorderTargetValue, b5 as TableBorderWidthOption, b6 as TableChromeDraft, b7 as TableChromePick, _ as TableChromeSlotId, b8 as TextFormFieldChromeHandlers, b9 as TextFormFieldDialogSession, ba as TocRemovalRefusal, $ as ToolbarCommandState, bb as ToolbarSlotValue, a0 as ToolbarValueMap, a1 as ToolbarValueSlot, bc as applyTableChromePick, a2 as bindHistoryGroup, a3 as blankDocumentBytes, bd as canExecuteImageCommand, be as captureImageMutationPreconditions, bf as chromeControlCount, a4 as chromeMenuSlots, bg as chromeProbeForSlot, bh as chromeSlotId, bi as chromeSlotIsToggle, bj as commandExecOptions, a5 as commandForSlot, a6 as commandForSlotValue, bk as commandForTableChromeSlotValue, bl as computeImageResizeResult, bm as computeMovedImagePosition, bn as computeResizedImageExtentEmu, a7 as createDocxEditor, a8 as createFontSource, bo as createImageOverlayScrollPort, bp as cssPixelsToLayoutPoints, a9 as customFonts, bq as defaultChromeGroups, br as defaultTableLabel, aa as deferFonts, bs as emuToOverlayPoints, bt as equationAtPosition, bu as executeImageCommand, bv as finalizeImageOverlayInteraction, bw as formattingBarChromeGroups, ab as initialChromePrintSettings, ac as isChromePrintShortcut, bx as isStaleImageInteractionCommit, by as isTableChromeSlot, bz as layoutPointsToCssPixels, ad as loadFonts, bA as overlayFrameToSheetCssPixels, bB as overlayHostOrigin, bC as pointsToEmu, bD as probeTableChromeCommand, bE as resizePreservesAspect, ae as runChromeExport, af as runChromePrint, bF as runSave, bG as runTableChromeCommand, bH as runTableCommand, ag as runToolbarCommand, bI as selectedDrawingOverlayTargetOf, bJ as selectedImageStateOf, bK as surfacePaintScale, bL as tableChromeIconPaths, bM as tableChromeLabelKeyForTarget, bN as tableChromeToolbarState, bO as tableChromeVisible, bP as tableCommandToolbarState, ah as toolbarCommandState, bQ as toolbarCommandStates } from './chrome-print-BSsqYQtt.js';
34
34
  import { AutomationCapabilities, AutomationHost, AutomationBatchRequest, AutomationBatchResponse } from './automation.js';
35
35
  import { c as HistoryGroup } from './editor-scope-CA6egMaK.js';
36
36
  export { d as HistoryGroupOptions } from './editor-scope-CA6egMaK.js';
37
37
  import { R as ReviewDiagnosticCode, k as ReviewOperation } from './diagnostic-hints-BTyb8yzX.js';
38
38
  import { EditDiagnosticCode } from './automation.js';
39
- import { T as TextMeasurer, U as UnsupportedElement } from './semantic-records-DkDc4E1z.js';
39
+ import { T as TextMeasurer, U as UnsupportedElement } from './semantic-records-C5qbT1sK.js';
40
40
  import { SemanticLayout } from './layout.js';
41
- export { t as SectionProperties, u as SectionVerticalAlign, h as UnsupportedElementLayout, i as UnsupportedElementRule, v as unsupportedElementRuleMatches } from './semantic-records-DkDc4E1z.js';
41
+ export { t as SectionProperties, u as SectionVerticalAlign, h as UnsupportedElementLayout, i as UnsupportedElementRule, v as unsupportedElementRuleMatches } from './semantic-records-C5qbT1sK.js';
42
42
  import { ReviewPaneOverflow } from './contracts/types.js';
43
43
  export { CommentMarkerStyle, DEFAULT_REVIEW_PANE, ResolvedReviewPane, ReviewPaneItemFields, ReviewPaneOpening, ReviewPaneOptions, RevisionDisplay, resolveReviewPane, reviewPaneListsItem } from './contracts/types.js';
44
- export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, 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 } from './revision-projection-BAUauksK.js';
45
- export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-B_AAT9S2.js';
46
- export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-Cl4VyItm.js';
47
- export { U as UnsupportedElementHost, o as observeUnsupportedElements } from './unsupported-elements-1Tj829Bk.js';
44
+ export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, 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 } from './revision-projection-C9oujZwA.js';
45
+ export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-BTba0_1e.js';
46
+ export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-B_xi9H5m.js';
47
+ export { U as UnsupportedElementHost, o as observeUnsupportedElements } from './unsupported-elements-KboafN7A.js';
48
48
  export { CollaborationModuleContribution } from './collaboration.js';
49
- import './custom-node-writes-DqzeiTpY.js';
49
+ import './custom-node-writes-Buryuzow.js';
50
50
  import 'prosemirror-model';
51
51
  import './collaboration/replication.js';
52
52
  import './failure-6KGFrDO9.js';
53
- import './document-protection-CGnc6WX7.js';
53
+ import './document-protection-Denp0lhl.js';
54
54
  import './contracts/document.js';
55
55
  import './contracts/interaction.js';
56
- import './semantic-cell-selection--xgumqWx.js';
57
- import './note-properties-CrO9A0Ju.js';
58
- import './semantic-record-queries-BKX8sDqa.js';
56
+ import './semantic-cell-selection-BiYMYlbf.js';
57
+ import './note-properties-C8_cURo1.js';
58
+ import './semantic-record-queries-TdjLU-AU.js';
59
+
60
+ /** The most categories and series an edit reads or writes. */
61
+ declare const MAX_CHART_POINTS = 4000;
62
+ declare const MAX_CHART_SERIES = 255;
59
63
 
60
64
  declare function toEditorFontError(error: unknown): EditorFontError;
61
65
  declare function createLayoutShaping(configuration: FontConfiguration, instrumentation?: LayoutShapingInstrumentation, execution?: FontShapingOptions): Promise<LayoutShapingOptions>;
@@ -2366,5 +2370,284 @@ declare function bookmarkDialogNameState(bookmarks: readonly BookmarkSummary[],
2366
2370
  */
2367
2371
  declare function drawingPreviewDocx(editor: DocxEditorInstance, element: Pick<UnsupportedElement, 'ownerPartName' | 'nodeId'>, limits?: DrawingPreviewPackageLimits): DrawingPreviewPackageResult;
2368
2372
 
2369
- export { AUTO_ZOOM_MODE, AnchorHighlightAnimation, AnchorHighlightOptions, BROWSER_AUTOMATION_CAPABILITIES, COMPARE_DOCUMENTS_PHASE_ATTRIBUTE, CONTENT_CONTROL_PICTURE_ACCEPT, ClearAnchorHighlightOptions, DEFAULT_WATERMARK_FONT, DRAWING_REL_FROM_H, DRAWING_REL_FROM_V, DocumentRefreshError, DocxEditorInstance, DrawingPositionInput, DrawingPreviewPackageLimits, DrawingPreviewPackageResult, FIT_WIDTH_ZOOM_MODE, FontShapingOptions, HIGHLIGHT_REFRESH_MS, HighlightOptions, HighlightRange, HighlightResult, HistoryGroup, LINE_SPACING_PRESETS, LOADING_SNAPSHOT, NO_MIXED_FIELDS, OpenPaginatedResult, PX_PER_CM, PX_PER_INCH, PaginatedSurface, PaginatedSurfaceOptions, ParagraphTabStop, REVIEW_MARKERS_GUTTER_PX, ReviewDiagnosticCode, ReviewOperation, ReviewPaneOverflow, SEARCH_DEBOUNCE_MS, SEARCH_HIGHLIGHT_PRIORITY, SEARCH_HIGHLIGHT_SET, SEARCH_MATCH_LIMIT, SNAP_TWIPS_CM, SNAP_TWIPS_INCH, SPLIT_CELL_FALLBACK_MAX, ScrollPlacement, ScrollToAnchorOptions, SurfaceFormatting, TAB_ALIGNMENT_LABELS, TOOLBAR_COLLAPSE_ORDER, TOOLBAR_HOST_ITEM, TOOLBAR_ITEM_ATTRIBUTE, TOOLBAR_OVERFLOW_HYSTERESIS, TOOLBAR_PANEL_EDGE_MARGIN, TOOLBAR_PINNED_GROUPS, TWIPS_PER_CM, TWIPS_PER_INCH, TextMatch, TextMeasurer, TreeDocxSessionView, UnsupportedElement, ZOOM_MAX, ZOOM_MIN, alignmentAfterDirectionChange, applyThemeShade, applyThemeTint, arrangeToolbarGroups, barRoomWidth, beginEditorPreview, bookmarkDialogInitialName, bookmarkDialogNameState, bookmarkDialogRows, calendarDateForKey, calendarDateFromText, calendarDateText, calendarMonth, calendarMonthNames, calendarMonthTitle, calendarWeekdays, changedFields, chordLetter, clipboardDropLandsText, clipboardPasteLandsContent, collapseOrder, contentControlPopupKeyDown, contentControlPopupOpener, controlsOverflow, copyEditorStyles, createBrowserAutomationHost, createContentControlListNavigation, createDocumentRefresh, createDocumentSearch, createLayoutShaping, dragIndent, drawingPreviewDocx, editorCommandKey, editorHostDocument, editorHostElement, editorHostWindow, editorInstanceScope, editorPreviewActive, firstDayOfWeek, focusCompareDocumentsControl, formatInches, generateRulerTicks, goToBookmarkGroups, goToBookmarkMatch, goToBookmarkRows, goToBookmarkTarget, handlePosition, hasOpenNestedPopup, historyShortcutOf, hostDirectionOf, hostDocumentOf, hostTimers, hostWindowOf, inchesToTwips, initialSplitCellCounts, isDomNode, isElementNode, isGoToChord, isHTMLElementNode, isInputEvent, isKeyboardEvent, isMouseEvent, isPointerEvent, isTextNode, isoDateOf, keepScrollAtInlineEnd, lineSpacingMenuRowLabel, lineSpacingMenuRows, listenForOutsidePress, listenForPopupEscape, listenForPopupFocusLeave, lowerColorValueForBorder, lowerColorValueForFill, mixedFieldsOf, mountPaginatedSurface, observeContentControlPopup, observeHostDirection, openEditorWindow, parseIsoDate, partOfNodeId, placeSubmenu, positionContentControlPopup, positionInputFromPropertiesCommand, propertiesCommandHasPositionFields, readAvailableWidth, readColumnGap, readInlineMargins, readSplitCellCounts, readToolbarRow, reportAutomationException, reportAutomationRefusal, reportAutomationReviewSkip, resolveColorValueToCss, resolveThemeColorHex, resolveZoomMode, reviewPaneEntitledZoom, rulerMarginTicks, rulerPageBox, rulerTabPosition, sameItemOverflow, sameTabStops, sameZoomMode, seedFields, separatorLeadingCost, shiftMonth, signedFirstLineOf, snapTwips, specialOf, storyLabelTop, submenuKeys, surfaceExtent, tableCommandState, textboxFrameReason, toEditorFontError, toolbarGroupItems, toolbarGroupPriority, toolbarGroupsKey, toolbarHostPanelShown, toolbarItemKey, toolbarOverflowItems, toolbarPanelPlacement, toolbarPopupLeft, toolbarShownCount, trailingGapCost, trapTabWithin, twipsToInches, validateDrawingPositionInput, validateSetImagePositionCommand, validateThemeModifier, watchHighlights, watermarkShapeBox, withTabStop };
2370
- export type { BarRoomInput, BookmarkDialogNameState, BookmarkSortOrder, BrowserAutomationHost, CalendarDay, CalendarMonth, CalendarMonthOptions, ClearRefreshHighlightsOptions, ColorLowerResult, ContentControlListNavigation, DocumentRefresh, DocumentRefreshState, DocumentSearch, DocumentSearchFindOptions, DocumentSearchHighlight, DocumentSearchNavigateOptions, DocumentSearchOptions, DocumentSearchState, EditorPreviewFork, EditorPreviewRefusal, EditorWindow, GoToBookmarkGroup, HighlightSource, HighlightWatch, HistoryGroupRun, HistoryShortcutKeys, HostTimers, HostWindow, LineSpacingMenuRow, LineSpacingMenuValue, NavigateToChangeOptions, OpenEditorWindowOptions, OutsidePressOptions, ParagraphDialogFields, ParagraphDialogMixed, ParagraphFlagKey, ParagraphFlagState, ParagraphFormatRead, ParagraphFormatUpdate, PopupEscapeOptions, PopupFocusLeaveOptions, RefreshChange, RefreshChangeInput, RefreshFailureCode, RefreshHighlightAnimation, RefreshHighlightOptions, RefreshLocation, RefreshResult, RefreshSubmission, RefreshUpdate, RulerDragOptions, RulerIndent, RulerIndentHandle, RulerMarginTick, RulerPageMetrics, RulerTick, RulerUnit, SpecialIndent, SplitCellCountProblem, SplitCellCounts, SplitCellLimits, SurfaceExtent, TabAlignment, TabLeaderName, ToolbarFitGroup, ToolbarHostGroupPlacement, ToolbarItemFitInput, ToolbarItemOverflow, ToolbarPanelPlacement, ToolbarRowMemory, ToolbarRowReading, WatchHighlightsOptions, WatermarkSize };
2373
+ /** A pane that the chrome can ask the host to show. @public */
2374
+ type EditorPaneId = 'chart';
2375
+ /** How a pane opens. @public */
2376
+ interface PaneRequestOptions {
2377
+ /** Whether the keyboard focus moves into the pane. Default true. */
2378
+ readonly focus?: boolean;
2379
+ }
2380
+ /** A pane request, as a listener receives it. @public */
2381
+ interface PaneRequest {
2382
+ readonly pane: EditorPaneId;
2383
+ readonly focus: boolean;
2384
+ }
2385
+ /**
2386
+ * Ask the host to show `pane`. A host whose layout can hide its side panel listens with
2387
+ * {@link listenPaneRequests}. Returns whether a listener took the request. @public
2388
+ */
2389
+ declare function requestPane(editor: Editor, pane: EditorPaneId, options?: PaneRequestOptions): boolean;
2390
+ /**
2391
+ * Take the last pane request that no pane has taken yet, or null. A side panel takes it when
2392
+ * it mounts and when it hears a request, to know whether to move the focus into itself.
2393
+ * @public
2394
+ */
2395
+ declare function takePaneRequest(editor: Editor): PaneRequest | null;
2396
+ /** Listen for pane requests of one editor. Returns the function that stops listening. @public */
2397
+ declare function listenPaneRequests(editor: Editor, listener: (request: PaneRequest) => void): () => void;
2398
+ /**
2399
+ * Whether the host can show a chart pane: a mounted side panel or Chart pane, or a
2400
+ * `usePaneRequest` listener. Without one, Edit chart has nowhere to go, so the toolbar and the
2401
+ * context menu leave it out. @public
2402
+ */
2403
+ declare function chartPaneAvailable(editor: Editor | null): boolean;
2404
+ /** The chart types of the Insert > Chart list, in list order. @public */
2405
+ declare const CHART_INSERT_CHOICES: readonly ChartType[];
2406
+ /**
2407
+ * The icon path data of a chart type, for the chart type menus: one icon per family, so a
2408
+ * stacked column has the column icon. An empty list when the family has none.
2409
+ * @public
2410
+ */
2411
+ declare function chartTypeIconPaths(type: ChartType): readonly string[];
2412
+ /** The i18n key of a chart type's name. @public */
2413
+ declare const chartTypeLabelKey: (type: ChartType) => `chart.types.${ChartType}`;
2414
+ /**
2415
+ * A double press on the selected chart: ask for the Chart pane with the focus, as Edit chart
2416
+ * does. Returns false, and asks for nothing, when `drawingNodeId` is not the selected chart.
2417
+ * @public
2418
+ */
2419
+ declare function openChartPaneFor(editor: Editor, drawingNodeId: string): boolean;
2420
+ /**
2421
+ * A double press on the pages: when it reached the selected chart, ask for the Chart pane with
2422
+ * the focus, as {@link openChartPaneFor} does. Pass the `dblclick` event. The first press can
2423
+ * repaint the chart, so the browser can send the event to the pages instead; then the element
2424
+ * under the pointer names the drawing. @public
2425
+ */
2426
+ declare function openChartPaneAt(editor: Editor, event: Pick<MouseEvent, 'target' | 'clientX' | 'clientY'>): boolean;
2427
+
2428
+ /**
2429
+ * The key of the chart and its grid labels, which keeps the pane's unsaved field text while it
2430
+ * stays the same. @public
2431
+ */
2432
+ declare function chartPaneDraftKey(drawingNodeId: string, data: ChartData): string;
2433
+ /**
2434
+ * Whether the pane keeps its unsaved field text from `previous` to `next`: the chart and its
2435
+ * labels stay in place, and categories or series are only added at the end. @public
2436
+ */
2437
+ declare function chartPaneDraftContinues(previous: string, next: string): boolean;
2438
+ /** One change of the Chart pane's data: a committed field, or an add or a remove. @public */
2439
+ type ChartPaneChange = {
2440
+ readonly type: 'value';
2441
+ readonly series: number;
2442
+ readonly category: number;
2443
+ readonly text: string;
2444
+ } | {
2445
+ readonly type: 'seriesName';
2446
+ readonly series: number;
2447
+ readonly text: string;
2448
+ } | {
2449
+ readonly type: 'label';
2450
+ readonly category: number;
2451
+ readonly text: string;
2452
+ } | {
2453
+ readonly type: 'addSeries';
2454
+ readonly name: string;
2455
+ } | {
2456
+ readonly type: 'removeSeries';
2457
+ readonly series: number;
2458
+ } | {
2459
+ readonly type: 'addCategory';
2460
+ readonly label: string;
2461
+ } | {
2462
+ readonly type: 'removeCategory';
2463
+ readonly category: number;
2464
+ };
2465
+ /** The command of a change, or the i18n key of why the typed text is refused. @public */
2466
+ type ChartPaneResult = {
2467
+ readonly ok: true;
2468
+ readonly command: EditorCommand;
2469
+ } | {
2470
+ readonly ok: false;
2471
+ readonly error: 'chart.data.fieldErrors.number' | 'chart.data.fieldErrors.xNumber' | 'chart.data.fieldErrors.tooLong' | 'chart.data.fieldErrors.limit';
2472
+ };
2473
+ /** A value as its field shows it: empty for no value. @public */
2474
+ declare const chartValueText: (v: number | null | undefined) => string;
2475
+ /** The number a value field holds, null when it is empty, or undefined for other text. @public */
2476
+ declare function parseChartValue(text: string): number | null | undefined;
2477
+ /**
2478
+ * Whether the categories of `data` are numbers that the pane checks: the X values of a
2479
+ * scatter chart, unless the chart names them as text. @public
2480
+ */
2481
+ declare function chartPaneNumericX(data: Pick<ChartData, 'kind' | 'categories'>): boolean;
2482
+ /**
2483
+ * The label of a new category: the next X value of a scatter chart with number X values, else
2484
+ * `fallback`. @public
2485
+ */
2486
+ declare function nextChartCategoryLabel(data: Pick<ChartData, 'kind' | 'categories'>, fallback: string): string;
2487
+ /**
2488
+ * The `setChartData` command of one change to the chart's current data, or why the typed text
2489
+ * is refused. Every series and category keeps its `source`, so formatting stays with it.
2490
+ * @public
2491
+ */
2492
+ declare function chartPaneCommand(drawingNodeId: string, data: ChartData, change: ChartPaneChange): ChartPaneResult;
2493
+ /**
2494
+ * The index of the row that gets the focus after a row is removed at `removed` from a list of
2495
+ * `count` rows: the next row, or the last one. @public
2496
+ */
2497
+ declare const chartRowFocusAfterRemove: (removed: number, count: number) => number;
2498
+ /** The chart types the pane offers, in the order of its type list. @public */
2499
+ declare const CHART_TYPE_CHOICES: readonly ChartType[];
2500
+ /** The legend positions the pane offers. @public */
2501
+ declare const CHART_LEGEND_CHOICES: readonly ChartLegendPosition[];
2502
+ /**
2503
+ * The note after a type change, when the new type drops what the user set: the colors move
2504
+ * between series and points, or the axes and their titles go. Undo restores them. Null when
2505
+ * the new type keeps everything. @public
2506
+ */
2507
+ declare function chartTypeChangeNote(before: ChartFormat, after: ChartFormat): 'chart.format.typeChangeRemoved' | null;
2508
+ /**
2509
+ * The hint before a type change: the chart has colors or axis titles that some types cannot
2510
+ * keep. Null when it has none. @public
2511
+ */
2512
+ declare function chartTypeHint(format: ChartFormat): 'chart.format.typeChangeHint' | null;
2513
+ /** The note of a pie chart with more than one series: it draws the first one only. @public */
2514
+ declare function chartSeriesNote(format: ChartFormat, seriesCount: number): 'chart.format.pieFirstSeries' | null;
2515
+ /** The labels of the two axis title fields: category and value, or X and Y. @public */
2516
+ declare function chartAxisTitleLabels(format: ChartFormat): {
2517
+ readonly category: 'chart.format.categoryAxisTitle' | 'chart.format.xAxisTitle';
2518
+ readonly value: 'chart.format.valueAxisTitle' | 'chart.format.yAxisTitle';
2519
+ };
2520
+ /**
2521
+ * The `setChartFormat` command of a typed title: an empty or blank title turns the title (or
2522
+ * the axis title) off. Null when the text is what the chart shows already. @public
2523
+ */
2524
+ declare function chartTitleCommand(drawingNodeId: string, format: ChartFormat, field: 'title' | 'categoryAxisTitle' | 'valueAxisTitle', text: string): EditorCommand | null;
2525
+ /** The theme colors of a color list, in the order of the theme color row. @public */
2526
+ declare const CHART_THEME_SLOTS: readonly ChartThemeColor[];
2527
+ /** The standard colors of the grid, with the i18n key of each name. @public */
2528
+ declare const CHART_STANDARD_COLORS: readonly {
2529
+ readonly hex: string;
2530
+ readonly nameKey: string;
2531
+ }[];
2532
+ /**
2533
+ * The theme colors of a document, `RRGGBB` in `CHART_THEME_SLOTS` order, from
2534
+ * `editor.getDocumentThemeColors()`; the default theme when the document has none. @public
2535
+ */
2536
+ declare function chartThemeHexes(entries: readonly {
2537
+ readonly hex: string;
2538
+ }[] | undefined): readonly string[];
2539
+ /**
2540
+ * A color list's value: the automatic color (`auto`), a theme color, a theme tint or shade
2541
+ * (`accent1:40` is Lighter 40%, `accent1:-25` Darker 25%), or `#RRGGBB`. @public
2542
+ */
2543
+ type ChartColorPick = 'auto' | ChartThemeColor | `${ChartThemeColor}:${number}` | `#${string}`;
2544
+ /** The pick of a chart color. @public */
2545
+ declare function chartColorPickOf(color: ChartColor): ChartColorPick;
2546
+ /** The chart color of a pick, or null for `auto`. @public */
2547
+ declare function chartColorOfPick(pick: ChartColorPick): ChartColor | null;
2548
+ /** The pick of one series' or point's color: `auto` for its automatic color. @public */
2549
+ declare const chartColorPick: (entry: ChartColorEntry) => ChartColorPick;
2550
+ /**
2551
+ * The picks a color list offers: Automatic, the ten theme colors, and the current pick when
2552
+ * the grid chose it (a tint, a shade, or a standard color). @public
2553
+ */
2554
+ declare function chartColorPicks(value: ChartColorPick): readonly ChartColorPick[];
2555
+ /** The `setChartColor` command of a pick for series or point `index`. @public */
2556
+ declare function chartColorCommand(drawingNodeId: string, index: number, pick: ChartColorPick): EditorCommand;
2557
+ /** A translator, as the adapters pass theirs. */
2558
+ /** A translator, as the adapters pass theirs to the chart helpers. @public */
2559
+ type ChartTranslate = (key: string, params?: Record<string, string | number>) => string;
2560
+ /**
2561
+ * The name of a pick: Automatic, a theme color with its tint or shade, a standard color by
2562
+ * name ("Purple"), or the hex code of any other color. @public
2563
+ */
2564
+ declare function chartColorLabel(pick: ChartColorPick, t: ChartTranslate): string;
2565
+ /**
2566
+ * The `#RRGGBB` that a pick paints, from the document's theme colors (`chartThemeHexes`).
2567
+ * `auto` paints `automatic`, the series' automatic color. @public
2568
+ */
2569
+ declare function chartPickHex(pick: ChartColorPick, themeHexes: readonly string[], automatic?: ChartColor): string;
2570
+ /** One swatch of the color grid. @public */
2571
+ interface ChartSwatch {
2572
+ readonly pick: ChartColorPick;
2573
+ /** The color the swatch paints, `#RRGGBB`. */
2574
+ readonly hex: string;
2575
+ }
2576
+ /**
2577
+ * The color grid: one row of theme colors, five rows of their tints and shades (one column per
2578
+ * theme color), and the row of standard colors. @public
2579
+ */
2580
+ declare function chartColorGrid(themeHexes: readonly string[]): {
2581
+ readonly theme: readonly (readonly ChartSwatch[])[];
2582
+ readonly standard: readonly ChartSwatch[];
2583
+ };
2584
+ /**
2585
+ * Focus the current swatch of an opened color grid, or its first swatch, and scroll the whole
2586
+ * grid into view. The current swatch carries `aria-pressed="true"`. @public
2587
+ */
2588
+ declare function focusChartSwatch(grid: HTMLElement | null): void;
2589
+ /**
2590
+ * Move the focus in an opened color grid for an arrow key, Home or End. The swatches are rows of
2591
+ * ten; Up from the first row goes to Automatic. Returns whether the key moved the focus, so the
2592
+ * caller can prevent the default action. @public
2593
+ */
2594
+ declare function moveChartSwatchFocus(grid: HTMLElement | null, key: string): boolean;
2595
+ /**
2596
+ * Move the focus to the first enabled field of the Chart pane, unless the pane has it already.
2597
+ * The pane calls it for a pane request that asks for the focus (Edit chart). A pane in a hidden
2598
+ * tab cannot take the focus, so it tries again for a few frames while the host shows the tab.
2599
+ * @public
2600
+ */
2601
+ declare function focusChartPane(pane: HTMLElement | null): void;
2602
+
2603
+ /**
2604
+ * A chart edit as `editor.exec` takes it, without `drawingNodeId`: the hook binds the chart it
2605
+ * shows. For example `{ type: 'setChartType', chartType: 'line' }`. @public
2606
+ */
2607
+ type SelectedChartCommand = Omit<Extract<EditorCommand, {
2608
+ type: 'setChartData';
2609
+ }>, 'drawingNodeId'> | Omit<Extract<EditorCommand, {
2610
+ type: 'setChartType';
2611
+ }>, 'drawingNodeId'> | Omit<Extract<EditorCommand, {
2612
+ type: 'setChartFormat';
2613
+ }>, 'drawingNodeId'> | Omit<Extract<EditorCommand, {
2614
+ type: 'setChartColor';
2615
+ }>, 'drawingNodeId'>;
2616
+ /** The selected chart, its data and format, and whether each can change. @public */
2617
+ interface SelectedChartView {
2618
+ /** The selected chart, or null when no single chart is selected. */
2619
+ readonly chart: SelectedChartState | null;
2620
+ /** The categories and series, or null when there is no chart or they cannot be read. */
2621
+ readonly data: ChartData | null;
2622
+ /** The type, elements, and colors, or null when there is no chart or they cannot be read. */
2623
+ readonly format: ChartFormat | null;
2624
+ /** Why `data` or `format` is null for a selected chart, as a translation key. */
2625
+ readonly readReason: string | null;
2626
+ /** Whether a `setChartData` command can run now. */
2627
+ readonly canEditData: boolean;
2628
+ /** Whether `setChartType`, `setChartFormat`, and `setChartColor` can run now. */
2629
+ readonly canEditFormat: boolean;
2630
+ /** Why the data cannot change, for `localizeDisabledReason`, or null when it can. */
2631
+ readonly dataDisabledReason: string | null;
2632
+ /** Why the type and elements cannot change, or null when they can. */
2633
+ readonly formatDisabledReason: string | null;
2634
+ }
2635
+ /**
2636
+ * Read `chart`, the snapshot's selected chart, for a host's chart controls. Call it again when
2637
+ * `chart` changes: the snapshot gives a new object each time the chart part changes. @public
2638
+ */
2639
+ declare function readSelectedChart(editor: Editor | null, chart: SelectedChartState | null, snapshot: Pick<EditorSnapshot, 'editable' | 'editingMode'>): SelectedChartView;
2640
+ /**
2641
+ * Run a chart edit on `chart`, the chart a host's controls show, through `editor.exec`. One
2642
+ * undo step; a refusal names its reason, as `editor.exec` does. @public
2643
+ */
2644
+ declare function execSelectedChart(editor: Editor | null, chart: SelectedChartState | null, command: SelectedChartCommand): ExecResult;
2645
+ /**
2646
+ * Apply one checked data change to `chart`, as the packaged pane does: a value, a series name,
2647
+ * a category label, or an added or removed series or category. Text that is not a number for
2648
+ * a value refuses with a translation key, such as `chart.data.fieldErrors.number`. @public
2649
+ */
2650
+ declare function editSelectedChartData(editor: Editor | null, chart: SelectedChartState | null, change: ChartPaneChange): ExecResult;
2651
+
2652
+ export { AUTO_ZOOM_MODE, AnchorHighlightAnimation, AnchorHighlightOptions, BROWSER_AUTOMATION_CAPABILITIES, CHART_INSERT_CHOICES, CHART_LEGEND_CHOICES, CHART_STANDARD_COLORS, CHART_THEME_SLOTS, CHART_TYPE_CHOICES, COMPARE_DOCUMENTS_PHASE_ATTRIBUTE, CONTENT_CONTROL_PICTURE_ACCEPT, ChartColor, ChartColorEntry, ChartData, ChartFormat, ChartLegendPosition, ChartThemeColor, ChartType, ClearAnchorHighlightOptions, DEFAULT_WATERMARK_FONT, DRAWING_REL_FROM_H, DRAWING_REL_FROM_V, DocumentRefreshError, DocxEditorInstance, DrawingPositionInput, DrawingPreviewPackageLimits, DrawingPreviewPackageResult, FIT_WIDTH_ZOOM_MODE, FontShapingOptions, HIGHLIGHT_REFRESH_MS, HighlightOptions, HighlightRange, HighlightResult, HistoryGroup, LINE_SPACING_PRESETS, LOADING_SNAPSHOT, MAX_CHART_POINTS, MAX_CHART_SERIES, NO_MIXED_FIELDS, OpenPaginatedResult, PX_PER_CM, PX_PER_INCH, PaginatedSurface, PaginatedSurfaceOptions, ParagraphTabStop, REVIEW_MARKERS_GUTTER_PX, ReviewDiagnosticCode, ReviewOperation, ReviewPaneOverflow, SEARCH_DEBOUNCE_MS, SEARCH_HIGHLIGHT_PRIORITY, SEARCH_HIGHLIGHT_SET, SEARCH_MATCH_LIMIT, SNAP_TWIPS_CM, SNAP_TWIPS_INCH, SPLIT_CELL_FALLBACK_MAX, ScrollPlacement, ScrollToAnchorOptions, SelectedChartState, SurfaceFormatting, TAB_ALIGNMENT_LABELS, TOOLBAR_COLLAPSE_ORDER, TOOLBAR_HOST_ITEM, TOOLBAR_ITEM_ATTRIBUTE, TOOLBAR_OVERFLOW_HYSTERESIS, TOOLBAR_PANEL_EDGE_MARGIN, TOOLBAR_PINNED_GROUPS, TWIPS_PER_CM, TWIPS_PER_INCH, TextMatch, TextMeasurer, TreeDocxSessionView, UnsupportedElement, ZOOM_MAX, ZOOM_MIN, alignmentAfterDirectionChange, applyThemeShade, applyThemeTint, arrangeToolbarGroups, barRoomWidth, beginEditorPreview, bookmarkDialogInitialName, bookmarkDialogNameState, bookmarkDialogRows, calendarDateForKey, calendarDateFromText, calendarDateText, calendarMonth, calendarMonthNames, calendarMonthTitle, calendarWeekdays, changedFields, chartAxisTitleLabels, chartColorCommand, chartColorGrid, chartColorLabel, chartColorOfPick, chartColorPick, chartColorPickOf, chartColorPicks, chartPaneAvailable, chartPaneCommand, chartPaneDraftContinues, chartPaneDraftKey, chartPaneNumericX, chartPickHex, chartRowFocusAfterRemove, chartSeriesNote, chartThemeHexes, chartTitleCommand, chartTypeChangeNote, chartTypeHint, chartTypeIconPaths, chartTypeLabelKey, chartValueText, chordLetter, clipboardDropLandsText, clipboardPasteLandsContent, collapseOrder, contentControlPopupKeyDown, contentControlPopupOpener, controlsOverflow, copyEditorStyles, createBrowserAutomationHost, createContentControlListNavigation, createDocumentRefresh, createDocumentSearch, createLayoutShaping, dragIndent, drawingPreviewDocx, editSelectedChartData, editorCommandKey, editorHostDocument, editorHostElement, editorHostWindow, editorInstanceScope, editorPreviewActive, execSelectedChart, firstDayOfWeek, focusChartPane, focusChartSwatch, focusCompareDocumentsControl, formatInches, generateRulerTicks, goToBookmarkGroups, goToBookmarkMatch, goToBookmarkRows, goToBookmarkTarget, handlePosition, hasOpenNestedPopup, historyShortcutOf, hostDirectionOf, hostDocumentOf, hostTimers, hostWindowOf, inchesToTwips, initialSplitCellCounts, isDomNode, isElementNode, isGoToChord, isHTMLElementNode, isInputEvent, isKeyboardEvent, isMouseEvent, isPointerEvent, isTextNode, isoDateOf, keepScrollAtInlineEnd, lineSpacingMenuRowLabel, lineSpacingMenuRows, listenForOutsidePress, listenForPopupEscape, listenForPopupFocusLeave, listenPaneRequests, lowerColorValueForBorder, lowerColorValueForFill, mixedFieldsOf, mountPaginatedSurface, moveChartSwatchFocus, nextChartCategoryLabel, observeContentControlPopup, observeHostDirection, openChartPaneAt, openChartPaneFor, openEditorWindow, parseChartValue, parseIsoDate, partOfNodeId, placeSubmenu, positionContentControlPopup, positionInputFromPropertiesCommand, propertiesCommandHasPositionFields, readAvailableWidth, readColumnGap, readInlineMargins, readSelectedChart, readSplitCellCounts, readToolbarRow, reportAutomationException, reportAutomationRefusal, reportAutomationReviewSkip, requestPane, resolveColorValueToCss, resolveThemeColorHex, resolveZoomMode, reviewPaneEntitledZoom, rulerMarginTicks, rulerPageBox, rulerTabPosition, sameItemOverflow, sameTabStops, sameZoomMode, seedFields, separatorLeadingCost, shiftMonth, signedFirstLineOf, snapTwips, specialOf, storyLabelTop, submenuKeys, surfaceExtent, tableCommandState, takePaneRequest, textboxFrameReason, toEditorFontError, toolbarGroupItems, toolbarGroupPriority, toolbarGroupsKey, toolbarHostPanelShown, toolbarItemKey, toolbarOverflowItems, toolbarPanelPlacement, toolbarPopupLeft, toolbarShownCount, trailingGapCost, trapTabWithin, twipsToInches, validateDrawingPositionInput, validateSetImagePositionCommand, validateThemeModifier, watchHighlights, watermarkShapeBox, withTabStop };
2653
+ export type { BarRoomInput, BookmarkDialogNameState, BookmarkSortOrder, BrowserAutomationHost, CalendarDay, CalendarMonth, CalendarMonthOptions, ChartColorPick, ChartPaneChange, ChartPaneResult, ChartSwatch, ChartTranslate, ClearRefreshHighlightsOptions, ColorLowerResult, ContentControlListNavigation, DocumentRefresh, DocumentRefreshState, DocumentSearch, DocumentSearchFindOptions, DocumentSearchHighlight, DocumentSearchNavigateOptions, DocumentSearchOptions, DocumentSearchState, EditorPaneId, EditorPreviewFork, EditorPreviewRefusal, EditorWindow, GoToBookmarkGroup, HighlightSource, HighlightWatch, HistoryGroupRun, HistoryShortcutKeys, HostTimers, HostWindow, LineSpacingMenuRow, LineSpacingMenuValue, NavigateToChangeOptions, OpenEditorWindowOptions, OutsidePressOptions, PaneRequest, PaneRequestOptions, ParagraphDialogFields, ParagraphDialogMixed, ParagraphFlagKey, ParagraphFlagState, ParagraphFormatRead, ParagraphFormatUpdate, PopupEscapeOptions, PopupFocusLeaveOptions, RefreshChange, RefreshChangeInput, RefreshFailureCode, RefreshHighlightAnimation, RefreshHighlightOptions, RefreshLocation, RefreshResult, RefreshSubmission, RefreshUpdate, RulerDragOptions, RulerIndent, RulerIndentHandle, RulerMarginTick, RulerPageMetrics, RulerTick, RulerUnit, SelectedChartCommand, SelectedChartView, SpecialIndent, SplitCellCountProblem, SplitCellCounts, SplitCellLimits, SurfaceExtent, TabAlignment, TabLeaderName, ToolbarFitGroup, ToolbarHostGroupPlacement, ToolbarItemFitInput, ToolbarItemOverflow, ToolbarPanelPlacement, ToolbarRowMemory, ToolbarRowReading, WatchHighlightsOptions, WatermarkSize };
package/dist/editor.js CHANGED
@@ -1 +1 @@
1
- export{mc as AUTO_ZOOM_MODE,sc as BROWSER_AUTOMATION_CAPABILITIES,Bb as CHROME_GROUPS,Fb as CHROME_MENUS,od as CHROME_PRINT_DISPLAY_MODES,Ib as CHROME_UNAVAILABLE_KEY,rd as COMPARE_DOCUMENTS_ACCEPT,td as COMPARE_DOCUMENTS_PHASE_ATTRIBUTE,Nb as CONTENT_CONTROL_PICTURE_ACCEPT,kd as ChromeExportError,md as ChromePrintError,c as DEFAULT_REVIEW_PANE,Ba as DEFAULT_TABLE_CHROME_DRAFT,ea as DEFAULT_WATERMARK_FONT,bd as DocumentRefreshError,na as EMU_PER_POINT,nc as FIT_WIDTH_ZOOM_MODE,dd as HIGHLIGHT_REFRESH_MS,wa as IMAGE_OVERLAY_NUDGE_PT,xa as IMAGE_OVERLAY_NUDGE_SHIFT_PT,_c as LINE_SPACING_PRESETS,f as LOADING_SNAPSHOT,Pc as NO_MIXED_FIELDS,M as PX_PER_CM,L as PX_PER_INCH,jc as REVIEW_MARKERS_GUTTER_PX,fd as SEARCH_DEBOUNCE_MS,id as SEARCH_HIGHLIGHT_PRIORITY,hd as SEARCH_HIGHLIGHT_SET,gd as SEARCH_MATCH_LIMIT,S as SNAP_TWIPS_CM,R as SNAP_TWIPS_INCH,Wc as SPLIT_CELL_FALLBACK_MAX,Ha as TABLE_BORDER_STYLE_OPTIONS,Ga as TABLE_BORDER_TARGET_OPTIONS,Ia as TABLE_BORDER_WIDTH_OPTIONS,Ca as TABLE_CHROME_SLOT_IDS,Lc as TAB_ALIGNMENT_LABELS,$a as TOOLBAR_COLLAPSE_ORDER,jb as TOOLBAR_HOST_ITEM,ib as TOOLBAR_ITEM_ATTRIBUTE,bb as TOOLBAR_OVERFLOW_HYSTERESIS,fb as TOOLBAR_PANEL_EDGE_MARGIN,ab as TOOLBAR_PINNED_GROUPS,Q as TWIPS_PER_CM,P as TWIPS_PER_INCH,lc as ZOOM_MAX,kc as ZOOM_MIN,Tc as alignmentAfterDirectionChange,Ja as applyTableChromePick,$ as applyThemeShade,_ as applyThemeTint,eb as arrangeToolbarGroups,vb as barRoomWidth,ic as beginEditorPreview,Zc as bindHistoryGroup,h as blankDocumentBytes,Ad as bookmarkDialogInitialName,Bd as bookmarkDialogNameState,vd as bookmarkDialogRows,Vb as calendarDateForKey,Xb as calendarDateFromText,Wb as calendarDateText,Tb as calendarMonth,Yb as calendarMonthNames,Rb as calendarMonthTitle,Sb as calendarWeekdays,ua as canExecuteImageCommand,ta as captureImageMutationPreconditions,Sc as changedFields,zb as chordLetter,Hb as chromeControlCount,Gb as chromeMenuSlots,Na as chromeProbeForSlot,Cb as chromeSlotId,Ta as chromeSlotIsToggle,C as clipboardDropLandsText,B as clipboardPasteLandsContent,db as collapseOrder,Y as commandExecOptions,Oa as commandForSlot,Qa as commandForSlotValue,Pa as commandForTableChromeSlotValue,sd as compareDocumentsErrorKey,Fc as computeImageResizeResult,ra as computeMovedImagePosition,qa as computeResizedImageExtentEmu,Lb as contentControlPopupKeyDown,Mb as contentControlPopupOpener,wb as controlsOverflow,E as copyEditorStyles,tc as createBrowserAutomationHost,Zb as createContentControlListNavigation,cd as createDocumentRefresh,jd as createDocumentSearch,rc as createDocxEditor,J as createFontSource,Gc as createImageOverlayScrollPort,b as createLayoutShaping,la as cropPercentFromCropPermille,ja as cropPercentFromPermille,ga as cropPercentFromSourceCrop,ka as cropPermilleFromCropPercent,ia as cropPermilleFromPercent,Bc as cssPixelsToLayoutPoints,K as customFonts,Db as defaultChromeGroups,Da as defaultTableLabel,g as deferFonts,V as dragIndent,Dd as drawingPreviewDocx,_a as editorCommandKey,l as editorHostDocument,k as editorHostElement,m as editorHostWindow,uc as editorInstanceScope,hc as editorPreviewActive,pa as emuToOverlayPoints,ac as equationAtPosition,va as executeImageCommand,Hc as finalizeImageOverlayInteraction,Qb as firstDayOfWeek,ud as focusCompareDocumentsControl,Jc as formatInches,Eb as formattingBarChromeGroups,N as generateRulerTicks,zd as goToBookmarkGroups,yd as goToBookmarkMatch,wd as goToBookmarkRows,xd as goToBookmarkTarget,T as handlePosition,wc as hasOpenNestedPopup,$b as historyShortcutOf,z as hostDirectionOf,i as hostDocumentOf,r as hostTimers,j as hostWindowOf,Kc as inchesToTwips,pd as initialChromePrintSettings,Yc as initialSplitCellCounts,nd as isChromePrintShortcut,q as isDomNode,n as isElementNode,Ab as isGoToChord,o as isHTMLElementNode,v as isInputEvent,s as isKeyboardEvent,u as isMouseEvent,t as isPointerEvent,za as isStaleImageInteractionCommit,Ea as isTableChromeSlot,p as isTextNode,Ob as isoDateOf,w as keepScrollAtInlineEnd,Ac as layoutPointsToCssPixels,ad as lineSpacingMenuRowLabel,$c as lineSpacingMenuRows,yc as listenForOutsidePress,vc as listenForPopupEscape,xc as listenForPopupFocusLeave,I as loadFonts,ba as lowerColorValueForBorder,ca as lowerColorValueForFill,Qc as mixedFieldsOf,bc as mountPaginatedSurface,Kb as observeContentControlPopup,A as observeHostDirection,D as openEditorWindow,Cc as overlayFrameToSheetCssPixels,Dc as overlayHostOrigin,Pb as parseIsoDate,H as partOfNodeId,x as placeSubmenu,oa as pointsToEmu,Jb as positionContentControlPopup,Ka as probeTableChromeCommand,xb as readAvailableWidth,ub as readColumnGap,tb as readInlineMargins,Xc as readSplitCellCounts,yb as readToolbarRow,gc as reportAutomationException,ec as reportAutomationRefusal,fc as reportAutomationReviewSkip,Ec as resizePreservesAspect,da as resolveColorValueToCss,d as resolveReviewPane,aa as resolveThemeColorHex,oc as resolveZoomMode,qc as reviewPaneEntitledZoom,e as reviewPaneListsItem,X as rulerMarginTicks,O as rulerPageBox,W as rulerTabPosition,ld as runChromeExport,qd as runChromePrint,Xa as runSave,Va as runTableChromeCommand,Za as runTableCommand,Wa as runToolbarCommand,pb as sameItemOverflow,Rc as sameTabStops,pc as sameZoomMode,Oc as seedFields,ya as selectedDrawingOverlayTargetOf,sa as selectedImageStateOf,rb as separatorLeadingCost,Ub as shiftMonth,Nc as signedFirstLineOf,U as snapTwips,ha as sourceCropFromCropPercent,Mc as specialOf,F as storyLabelTop,y as submenuKeys,_b as surfaceExtent,zc as surfacePaintScale,Ma as tableChromeIconPaths,La as tableChromeLabelKeyForTarget,Ra as tableChromeToolbarState,Fa as tableChromeVisible,Aa as tableCommandState,Ya as tableCommandToolbarState,G as textboxFrameReason,a as toEditorFontError,Sa as toolbarCommandState,Ua as toolbarCommandStates,mb as toolbarGroupItems,cb as toolbarGroupPriority,lb as toolbarGroupsKey,nb as toolbarHostPanelShown,kb as toolbarItemKey,qb as toolbarOverflowItems,gb as toolbarPanelPlacement,hb as toolbarPopupLeft,ob as toolbarShownCount,sb as trailingGapCost,Vc as trapTabWithin,Ic as twipsToInches,Cd as unsupportedElementRuleMatches,ma as validateImageCropPercent,Z as validateThemeModifier,ed as watchHighlights,fa as watermarkShapeBox,Uc as withTabStop}from'./chunk-4K5QXGVN.js';export{a as resolveEditorModules}from'./chunk-YD3KSZJM.js';export{c as observeUnsupportedElements}from'./chunk-3KSO2I22.js';export{d as DEFAULT_FONT,n as FONT_RESOLVER_BRAND,m as FONT_RESOLVER_MARK_KEY,c as MAX_RESOLVER_FAMILIES,e as WORD_DEFAULT_FONT,f as composeFontConfiguration,s as composeFontOrigins,o as defineFontResolver,p as isFontResolver}from'./chunk-3DLIAAXE.js';export{t as disposeLayoutShaping}from'./chunk-5JHQHJRH.js';import'./chunk-RIYSCEFQ.js';import'./chunk-R42NW5FO.js';import'./chunk-DZO5K26E.js';export{ib as DEFAULT_REVISION_MARKUP,hb as REVISION_MARKUP_COLORS,jb as resolveRevisionMarkup}from'./chunk-PSVIEQUU.js';import'./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-WN7ICTA5.js';import'./chunk-HLMY6NFI.js';export{r as DEFAULT_IMAGE_RESOURCE_LIMITS,mn as DRAWING_REL_FROM_H,nn as DRAWING_REL_FROM_V,Pe as IMAGE_WRAP_TARGETS,Hk as TEXT_FORM_FORMATS,pn as positionInputFromPropertiesCommand,on as propertiesCommandHasPositionFields,s as resolveImageResourceLimits,Tf as resolveSvgIntrinsicSize,Pf as sniffImageMime,ln as validateDrawingPositionInput,Uf as validateRasterHeader,qn as validateSetImagePositionCommand}from'./chunk-7MOZVKCN.js';import'./chunk-S6J4O5XP.js';
1
+ export{vc as AUTO_ZOOM_MODE,Bc as BROWSER_AUTOMATION_CAPABILITIES,Ra as CHART_INSERT_CHOICES,Wd as CHART_LEGEND_CHOICES,be as CHART_STANDARD_COLORS,ae as CHART_THEME_SLOTS,Vd as CHART_TYPE_CHOICES,Kb as CHROME_GROUPS,Ob as CHROME_MENUS,xd as CHROME_PRINT_DISPLAY_MODES,Rb as CHROME_UNAVAILABLE_KEY,Ad as COMPARE_DOCUMENTS_ACCEPT,Cd as COMPARE_DOCUMENTS_PHASE_ATTRIBUTE,Wb as CONTENT_CONTROL_PICTURE_ACCEPT,td as ChromeExportError,vd as ChromePrintError,c as DEFAULT_REVIEW_PANE,Ba as DEFAULT_TABLE_CHROME_DRAFT,ea as DEFAULT_WATERMARK_FONT,kd as DocumentRefreshError,na as EMU_PER_POINT,wc as FIT_WIDTH_ZOOM_MODE,md as HIGHLIGHT_REFRESH_MS,wa as IMAGE_OVERLAY_NUDGE_PT,xa as IMAGE_OVERLAY_NUDGE_SHIFT_PT,hd as LINE_SPACING_PRESETS,f as LOADING_SNAPSHOT,Yc as NO_MIXED_FIELDS,M as PX_PER_CM,L as PX_PER_INCH,sc as REVIEW_MARKERS_GUTTER_PX,od as SEARCH_DEBOUNCE_MS,rd as SEARCH_HIGHLIGHT_PRIORITY,qd as SEARCH_HIGHLIGHT_SET,pd as SEARCH_MATCH_LIMIT,S as SNAP_TWIPS_CM,R as SNAP_TWIPS_INCH,dd as SPLIT_CELL_FALLBACK_MAX,Ha as TABLE_BORDER_STYLE_OPTIONS,Ga as TABLE_BORDER_TARGET_OPTIONS,Ia as TABLE_BORDER_WIDTH_OPTIONS,Ca as TABLE_CHROME_SLOT_IDS,Uc as TAB_ALIGNMENT_LABELS,ib as TOOLBAR_COLLAPSE_ORDER,sb as TOOLBAR_HOST_ITEM,rb as TOOLBAR_ITEM_ATTRIBUTE,kb as TOOLBAR_OVERFLOW_HYSTERESIS,ob as TOOLBAR_PANEL_EDGE_MARGIN,jb as TOOLBAR_PINNED_GROUPS,Q as TWIPS_PER_CM,P as TWIPS_PER_INCH,uc as ZOOM_MAX,tc as ZOOM_MIN,ad as alignmentAfterDirectionChange,Ja as applyTableChromePick,$ as applyThemeShade,_ as applyThemeTint,nb as arrangeToolbarGroups,Eb as barRoomWidth,rc as beginEditorPreview,gd as bindHistoryGroup,h as blankDocumentBytes,Jd as bookmarkDialogInitialName,Kd as bookmarkDialogNameState,Ed as bookmarkDialogRows,cc as calendarDateForKey,ec as calendarDateFromText,dc as calendarDateText,ac as calendarMonth,fc as calendarMonthNames,_b as calendarMonthTitle,$b as calendarWeekdays,ua as canExecuteImageCommand,ta as captureImageMutationPreconditions,$c as changedFields,_d as chartAxisTitleLabels,he as chartColorCommand,ke as chartColorGrid,ie as chartColorLabel,ee as chartColorOfPick,fe as chartColorPick,de as chartColorPickOf,ge as chartColorPicks,Qa as chartPaneAvailable,Td as chartPaneCommand,Od as chartPaneDraftContinues,Nd as chartPaneDraftKey,Rd as chartPaneNumericX,je as chartPickHex,Ud as chartRowFocusAfterRemove,Zd as chartSeriesNote,ce as chartThemeHexes,$d as chartTitleCommand,Xd as chartTypeChangeNote,Yd as chartTypeHint,Sa as chartTypeIconPaths,Ta as chartTypeLabelKey,Pd as chartValueText,Ib as chordLetter,Qb as chromeControlCount,Pb as chromeMenuSlots,Wa as chromeProbeForSlot,Lb as chromeSlotId,ab as chromeSlotIsToggle,C as clipboardDropLandsText,B as clipboardPasteLandsContent,mb as collapseOrder,Y as commandExecOptions,Xa as commandForSlot,Za as commandForSlotValue,Ya as commandForTableChromeSlotValue,Bd as compareDocumentsErrorKey,Oc as computeImageResizeResult,ra as computeMovedImagePosition,qa as computeResizedImageExtentEmu,Ub as contentControlPopupKeyDown,Vb as contentControlPopupOpener,Fb as controlsOverflow,E as copyEditorStyles,Cc as createBrowserAutomationHost,gc as createContentControlListNavigation,ld as createDocumentRefresh,sd as createDocumentSearch,Ac as createDocxEditor,J as createFontSource,Pc as createImageOverlayScrollPort,b as createLayoutShaping,la as cropPercentFromCropPermille,ja as cropPercentFromPermille,ga as cropPercentFromSourceCrop,ka as cropPermilleFromCropPercent,ia as cropPermilleFromPercent,Kc as cssPixelsToLayoutPoints,K as customFonts,Mb as defaultChromeGroups,Da as defaultTableLabel,g as deferFonts,V as dragIndent,Md as drawingPreviewDocx,qe as editSelectedChartData,hb as editorCommandKey,l as editorHostDocument,k as editorHostElement,m as editorHostWindow,Dc as editorInstanceScope,qc as editorPreviewActive,pa as emuToOverlayPoints,jc as equationAtPosition,pe as execSelectedChart,va as executeImageCommand,Qc as finalizeImageOverlayInteraction,Zb as firstDayOfWeek,ne as focusChartPane,le as focusChartSwatch,Dd as focusCompareDocumentsControl,Sc as formatInches,Nb as formattingBarChromeGroups,N as generateRulerTicks,Id as goToBookmarkGroups,Hd as goToBookmarkMatch,Fd as goToBookmarkRows,Gd as goToBookmarkTarget,T as handlePosition,Fc as hasOpenNestedPopup,ic as historyShortcutOf,z as hostDirectionOf,i as hostDocumentOf,r as hostTimers,j as hostWindowOf,Tc as inchesToTwips,yd as initialChromePrintSettings,fd as initialSplitCellCounts,wd as isChromePrintShortcut,q as isDomNode,n as isElementNode,Jb as isGoToChord,o as isHTMLElementNode,v as isInputEvent,s as isKeyboardEvent,u as isMouseEvent,t as isPointerEvent,za as isStaleImageInteractionCommit,Ea as isTableChromeSlot,p as isTextNode,Xb as isoDateOf,w as keepScrollAtInlineEnd,Jc as layoutPointsToCssPixels,jd as lineSpacingMenuRowLabel,id as lineSpacingMenuRows,Hc as listenForOutsidePress,Ec as listenForPopupEscape,Gc as listenForPopupFocusLeave,Pa as listenPaneRequests,I as loadFonts,ba as lowerColorValueForBorder,ca as lowerColorValueForFill,Zc as mixedFieldsOf,kc as mountPaginatedSurface,me as moveChartSwatchFocus,Sd as nextChartCategoryLabel,Tb as observeContentControlPopup,A as observeHostDirection,Va as openChartPaneAt,Ua as openChartPaneFor,D as openEditorWindow,Lc as overlayFrameToSheetCssPixels,Mc as overlayHostOrigin,Qd as parseChartValue,Yb as parseIsoDate,H as partOfNodeId,x as placeSubmenu,oa as pointsToEmu,Sb as positionContentControlPopup,Ka as probeTableChromeCommand,Gb as readAvailableWidth,Db as readColumnGap,Cb as readInlineMargins,oe as readSelectedChart,ed as readSplitCellCounts,Hb as readToolbarRow,pc as reportAutomationException,nc as reportAutomationRefusal,oc as reportAutomationReviewSkip,Na as requestPane,Nc as resizePreservesAspect,da as resolveColorValueToCss,d as resolveReviewPane,aa as resolveThemeColorHex,xc as resolveZoomMode,zc as reviewPaneEntitledZoom,e as reviewPaneListsItem,X as rulerMarginTicks,O as rulerPageBox,W as rulerTabPosition,ud as runChromeExport,zd as runChromePrint,eb as runSave,cb as runTableChromeCommand,gb as runTableCommand,db as runToolbarCommand,yb as sameItemOverflow,_c as sameTabStops,yc as sameZoomMode,Xc as seedFields,ya as selectedDrawingOverlayTargetOf,sa as selectedImageStateOf,Ab as separatorLeadingCost,bc as shiftMonth,Wc as signedFirstLineOf,U as snapTwips,ha as sourceCropFromCropPercent,Vc as specialOf,F as storyLabelTop,y as submenuKeys,hc as surfaceExtent,Ic as surfacePaintScale,Ma as tableChromeIconPaths,La as tableChromeLabelKeyForTarget,_a as tableChromeToolbarState,Fa as tableChromeVisible,Aa as tableCommandState,fb as tableCommandToolbarState,Oa as takePaneRequest,G as textboxFrameReason,a as toEditorFontError,$a as toolbarCommandState,bb as toolbarCommandStates,vb as toolbarGroupItems,lb as toolbarGroupPriority,ub as toolbarGroupsKey,wb as toolbarHostPanelShown,tb as toolbarItemKey,zb as toolbarOverflowItems,pb as toolbarPanelPlacement,qb as toolbarPopupLeft,xb as toolbarShownCount,Bb as trailingGapCost,cd as trapTabWithin,Rc as twipsToInches,Ld as unsupportedElementRuleMatches,ma as validateImageCropPercent,Z as validateThemeModifier,nd as watchHighlights,fa as watermarkShapeBox,bd as withTabStop}from'./chunk-Q3FUAUL4.js';export{a as resolveEditorModules}from'./chunk-YD3KSZJM.js';export{c as observeUnsupportedElements}from'./chunk-EB5XLX3A.js';export{d as DEFAULT_FONT,n as FONT_RESOLVER_BRAND,m as FONT_RESOLVER_MARK_KEY,c as MAX_RESOLVER_FAMILIES,e as WORD_DEFAULT_FONT,f as composeFontConfiguration,s as composeFontOrigins,o as defineFontResolver,p as isFontResolver}from'./chunk-Z6NPBOE6.js';export{t as disposeLayoutShaping}from'./chunk-TTPQZXYS.js';import'./chunk-RIYSCEFQ.js';import'./chunk-JK4HBRVP.js';import'./chunk-MYNOUTWY.js';export{hb as DEFAULT_REVISION_MARKUP,gb as REVISION_MARKUP_COLORS,ib as resolveRevisionMarkup}from'./chunk-T6MYXF6V.js';export{a as MAX_CHART_POINTS,b as MAX_CHART_SERIES}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-WN7ICTA5.js';import'./chunk-MLJJL4QG.js';export{r as DEFAULT_IMAGE_RESOURCE_LIMITS,pn as DRAWING_REL_FROM_H,qn as DRAWING_REL_FROM_V,Re as IMAGE_WRAP_TARGETS,Kk as TEXT_FORM_FORMATS,sn as positionInputFromPropertiesCommand,rn as propertiesCommandHasPositionFields,s as resolveImageResourceLimits,Wf as resolveSvgIntrinsicSize,Sf as sniffImageMime,on as validateDrawingPositionInput,Xf as validateRasterHeader,tn as validateSetImagePositionCommand}from'./chunk-XI5HK3TZ.js';import'./chunk-S6J4O5XP.js';