@docx-editor.dev/core 2.12.0 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +18 -14
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.cts +5 -5
  4. package/dist/automation.d.ts +5 -5
  5. package/dist/automation.js +1 -1
  6. package/dist/binding.cjs +1 -1
  7. package/dist/binding.d.cts +8 -8
  8. package/dist/binding.d.ts +8 -8
  9. package/dist/binding.js +1 -1
  10. package/dist/chunk-2PIHW2QM.cjs +1 -0
  11. package/dist/chunk-2QTY5S6T.js +1 -0
  12. package/dist/chunk-4Z5MODAE.cjs +2 -0
  13. package/dist/chunk-5TKAPFZT.cjs +2 -0
  14. package/dist/chunk-DRQHIQ4R.cjs +1 -0
  15. package/dist/chunk-F2K6SDHA.cjs +20 -0
  16. package/dist/chunk-FBA57EUJ.js +2 -0
  17. package/dist/{chunk-XCFM3G5L.cjs → chunk-KIAP7PFQ.cjs} +1 -1
  18. package/dist/chunk-KTAQ7BRQ.js +20 -0
  19. package/dist/chunk-LBAHXZCU.cjs +5 -0
  20. package/dist/chunk-MCDUQYWP.js +5 -0
  21. package/dist/chunk-MQP26KCF.js +1 -0
  22. package/dist/chunk-NDJGSR6M.cjs +19 -0
  23. package/dist/chunk-NJNFJPGB.cjs +11 -0
  24. package/dist/chunk-O5M4CR4P.cjs +2 -0
  25. package/dist/{chunk-W77HJGYX.js → chunk-OKEDGR65.js} +1 -1
  26. package/dist/{chunk-WU7PUTVA.js → chunk-RIYSCEFQ.js} +1 -1
  27. package/dist/chunk-UKUOZXUD.js +19 -0
  28. package/dist/chunk-VQ4R5LTU.js +2 -0
  29. package/dist/chunk-ZBEJHJN2.js +11 -0
  30. package/dist/chunk-ZVTW7RGD.js +2 -0
  31. package/dist/collaboration/replication.cjs +1 -1
  32. package/dist/collaboration/replication.d.cts +3 -3
  33. package/dist/collaboration/replication.d.ts +3 -3
  34. package/dist/collaboration/replication.js +1 -1
  35. package/dist/collaboration.d.cts +3 -3
  36. package/dist/collaboration.d.ts +3 -3
  37. package/dist/contracts/editor.d.cts +7 -7
  38. package/dist/contracts/editor.d.ts +7 -7
  39. package/dist/contracts/interaction.d.cts +7 -7
  40. package/dist/contracts/interaction.d.ts +7 -7
  41. package/dist/contracts/modules.d.cts +7 -7
  42. package/dist/contracts/modules.d.ts +7 -7
  43. package/dist/{custom-node-writes-D4rMJIES.d.cts → custom-node-writes-C46r3_5O.d.cts} +2 -2
  44. package/dist/{custom-node-writes-CcNeHH5C.d.ts → custom-node-writes-DntmaAVW.d.ts} +2 -2
  45. package/dist/{dist-YFULGVS3.js → dist-OSUJGKTK.js} +1 -1
  46. package/dist/{editor-B76SEMZw.d.cts → editor-AJ06hyyg.d.cts} +45 -9
  47. package/dist/{editor-BcdsPdbY.d.ts → editor-a6VvsfYU.d.ts} +45 -9
  48. package/dist/editor.cjs +1 -1
  49. package/dist/editor.css +1 -1
  50. package/dist/editor.d.cts +22 -22
  51. package/dist/editor.d.ts +22 -22
  52. package/dist/editor.js +1 -1
  53. package/dist/{index-BYTvklN5.d.ts → index-C5ZnSRkF.d.ts} +209 -20
  54. package/dist/{index-CDGhPib1.d.cts → index-Cbw4lkOt.d.cts} +209 -20
  55. package/dist/index.cjs +1 -1
  56. package/dist/index.d.cts +15 -15
  57. package/dist/index.d.ts +15 -15
  58. package/dist/index.js +1 -1
  59. package/dist/layout.cjs +1 -1
  60. package/dist/layout.d.cts +203 -593
  61. package/dist/layout.d.ts +203 -593
  62. package/dist/layout.js +1 -1
  63. package/dist/{note-properties-Bx7rXruA.d.ts → note-properties-CDFiNXcD.d.ts} +1 -1
  64. package/dist/{note-properties-zQ8w04en.d.cts → note-properties-Y6qYh2Hv.d.cts} +1 -1
  65. package/dist/{omml-equation-69O1Pd8G.d.ts → omml-equation-BY49UOIF.d.ts} +1 -1
  66. package/dist/{omml-equation-BmV51rim.d.cts → omml-equation-DB8d-jCq.d.cts} +1 -1
  67. package/dist/output.cjs +1 -1
  68. package/dist/output.d.cts +6 -6
  69. package/dist/output.d.ts +6 -6
  70. package/dist/output.js +1 -1
  71. package/dist/{protocol-DC7ueVuo.d.ts → protocol-BsmQgblT.d.ts} +2 -2
  72. package/dist/{protocol-FTXtrAIT.d.cts → protocol-gOY5GA8K.d.cts} +2 -2
  73. package/dist/{review-items-B78OsJU2.d.ts → review-items-CCS1h93f.d.ts} +1 -1
  74. package/dist/{review-items-C-2WQdEb.d.cts → review-items-CaAkgi5s.d.cts} +1 -1
  75. package/dist/{review-reads-UexYBp-m.d.ts → review-reads-BjZYeMd4.d.ts} +8 -21
  76. package/dist/{review-reads-CbBQlb-n.d.cts → review-reads-DEsV0OOW.d.cts} +8 -21
  77. package/dist/{revision-projection-6u8lae9J.d.cts → revision-projection-BeXVrSSV.d.ts} +24 -3
  78. package/dist/{revision-projection-B2v9U3qx.d.ts → revision-projection-DXbrfNGD.d.cts} +24 -3
  79. package/dist/{semantic-cell-selection-DsYz2Vg3.d.ts → semantic-cell-selection-BK91NCCG.d.ts} +16 -7
  80. package/dist/{semantic-cell-selection-nEE7E3Z8.d.cts → semantic-cell-selection-BMhku3B1.d.cts} +16 -7
  81. package/dist/{semantic-interaction-C00BpIyC.d.ts → semantic-interaction-BmQ7h2cq.d.ts} +4 -2
  82. package/dist/{semantic-interaction-DiOX0FIH.d.cts → semantic-interaction-DUAnxbgf.d.cts} +4 -2
  83. package/dist/{semantic-paint-Cc11nrDL.d.cts → semantic-paint-DufNL1Zr.d.cts} +2 -2
  84. package/dist/{semantic-paint-ofuoBsYo.d.ts → semantic-paint-WJD2KeG1.d.ts} +2 -2
  85. package/dist/{semantic-records-CRG1r6-a.d.cts → semantic-records-92UnKeU_.d.ts} +1146 -10
  86. package/dist/{semantic-records-CzI0ZEuR.d.ts → semantic-records-BpozY7-j.d.cts} +1146 -10
  87. package/dist/shaped-measurer-BWbindlI.d.ts +168 -0
  88. package/dist/shaped-measurer-CFPnXFs9.d.cts +168 -0
  89. package/dist/store.cjs +1 -1
  90. package/dist/store.d.cts +26 -16
  91. package/dist/store.d.ts +26 -16
  92. package/dist/store.js +1 -1
  93. package/dist/{tree-op-types-CA7qgAUF.d.cts → tree-op-types-BUulYD5y.d.cts} +15 -2
  94. package/dist/{tree-op-types-HKfUzt_-.d.ts → tree-op-types-D6HzlPR4.d.ts} +15 -2
  95. package/dist/{tree-package-fragment-oJZX_5iN.d.ts → tree-package-fragment-CWFjgH6a.d.ts} +3 -11
  96. package/dist/{tree-package-fragment-Cz-v-0B3.d.cts → tree-package-fragment-Dhyw7oPm.d.cts} +3 -11
  97. package/dist/{tree-session-contract-BPDLrEPX.d.ts → tree-session-contract-B2HfGt79.d.ts} +33 -6
  98. package/dist/{tree-session-contract-Cbl87xa8.d.cts → tree-session-contract-BY9xd7s_.d.cts} +33 -6
  99. package/dist/{tree-store-B7hd6cEa.d.ts → tree-store-APgWx6qn.d.ts} +1 -1
  100. package/dist/{tree-store-BenW0Mg_.d.cts → tree-store-DEEQ9wz_.d.cts} +1 -1
  101. package/package.json +5 -2
  102. package/dist/chunk-3JON7JMD.cjs +0 -1
  103. package/dist/chunk-5V6FNKBE.cjs +0 -2
  104. package/dist/chunk-BXRVGHTY.cjs +0 -18
  105. package/dist/chunk-BXTTPJSH.js +0 -5
  106. package/dist/chunk-ILTZTY3K.cjs +0 -10
  107. package/dist/chunk-IUM7FZPA.js +0 -2
  108. package/dist/chunk-JWZG4QJ5.cjs +0 -2
  109. package/dist/chunk-JXZYDBKU.cjs +0 -19
  110. package/dist/chunk-KBOOIC2Q.js +0 -19
  111. package/dist/chunk-L6XZTLPS.js +0 -10
  112. package/dist/chunk-L7OR5TJK.cjs +0 -5
  113. package/dist/chunk-MHQNR2OU.js +0 -2
  114. package/dist/chunk-MLGPISGH.js +0 -1
  115. package/dist/chunk-NJXQABQU.js +0 -18
  116. package/dist/chunk-TKEGK4GQ.cjs +0 -2
  117. package/dist/chunk-VGFMPWND.js +0 -2
  118. package/dist/shaped-measurer-CkOGZQn9.d.ts +0 -611
  119. package/dist/shaped-measurer-CneACGcP.d.cts +0 -611
@@ -1,7 +1,7 @@
1
1
  import { DocEdits, DocQueries, DocQueryResults, ContentControlSummary } from './contracts/document.cjs';
2
- import { g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem } from './review-items-C-2WQdEb.cjs';
3
- import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-DiOX0FIH.cjs';
4
- import { S as SourceCrop, D as DrawingKind, u as ImageWrapTarget, v as DrawingPositionInput, w as DrawingLocks, x as ImageResourceState, y as SupportedImageMime } from './tree-op-types-CA7qgAUF.cjs';
2
+ import { g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem } from './review-items-CaAkgi5s.cjs';
3
+ import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-DUAnxbgf.cjs';
4
+ import { S as SourceCrop, D as DrawingKind, u as ImageWrapTarget, v as DrawingPositionInput, w as DrawingLocks, x as ImageResourceState, y as SupportedImageMime } from './tree-op-types-BUulYD5y.cjs';
5
5
  import { ColorValue, ExecErrorCode, ParagraphFormatCommand, Watermark, DocAnchor, ExecResult, ContentControlFilter, DocRange, RunFormatting, Revision, Rect, SelectionPin, Unsubscribe } from './contracts/types.cjs';
6
6
  import { C as CollaborationStatus } from './failure-BnGjoXf0.cjs';
7
7
 
@@ -529,6 +529,11 @@ interface FontSource {
529
529
  interface FontSourceSubstitution {
530
530
  readonly from: FontFaceRequest;
531
531
  readonly to: FontFaceRequest;
532
+ /** Word line-box metrics for the requested face, expressed as em ratios. */
533
+ readonly lineMetrics?: {
534
+ readonly heightEm: number;
535
+ readonly baselineEm: number;
536
+ };
532
537
  }
533
538
  /**
534
539
  * Public font source configuration sampled when an adapter mounts. It must be immutable for that
@@ -891,6 +896,17 @@ interface Editor {
891
896
  * is a repaint behind the document and fails outright during pagination.
892
897
  */
893
898
  getReviewItems(query?: ReviewItemQuery): readonly ReviewItemPlacement[];
899
+ /**
900
+ * Set the view-time tracked-change filter, or clear it with `null`.
901
+ *
902
+ * The predicate receives each full revision item. A false result renders that revision as
903
+ * accepted by default. With `reject`, excluded content, moves, paragraph marks, and table-row
904
+ * insertions/deletions use their rejected projection; formatting and other property-change
905
+ * records keep their current values with revision markup hidden. Both modes are view-only: they
906
+ * change no OOXML and do not change saved bytes. Calling this method again re-evaluates every
907
+ * revision, even when the function reference is unchanged.
908
+ */
909
+ setTrackedChangesFilter(predicate: TrackedChangePredicate | null, mode?: TrackedChangeFilterMode): void;
894
910
  /**
895
911
  * Custom-node definitions registered through `createDocxEditor({ modules })`, in
896
912
  * registration order.
@@ -1125,6 +1141,17 @@ type EditorCommandShape<T> = {
1125
1141
  } : unknown);
1126
1142
  };
1127
1143
 
1144
+ /**
1145
+ * Decides whether one tracked change renders as markup.
1146
+ *
1147
+ * Return `true` to keep the revision visible as tracked markup. Return `false` to render it with
1148
+ * the selected {@link TrackedChangeFilterMode} without changing the document. The callback
1149
+ * receives the complete revision item, including its author, date, kind, text, ranges, nesting,
1150
+ * and resolution metadata.
1151
+ */
1152
+ type TrackedChangePredicate = (revision: ReviewRevisionItem) => boolean;
1153
+ /** How revisions excluded by a tracked-changes predicate project into the view. */
1154
+ type TrackedChangeFilterMode = 'accept' | 'reject';
1128
1155
  /**
1129
1156
  * Narrows what `getReviewItems` returns.
1130
1157
  *
@@ -1891,6 +1918,8 @@ interface EditorSnapshot {
1891
1918
  * vocabulary and memoized per revision.
1892
1919
  */
1893
1920
  readonly hasReviewContent?: boolean;
1921
+ /** Authors whose revisions currently render as accepted and whose comments stay hidden. */
1922
+ readonly hiddenReviewAuthors?: readonly string[];
1894
1923
  /**
1895
1924
  * Lifecycle of the attached collaboration replica, or `'inactive'` when no
1896
1925
  * collaboration module is registered.
@@ -1917,11 +1946,18 @@ interface EditorSnapshot {
1917
1946
  */
1918
1947
  readonly lastRejection?: string | null;
1919
1948
  /**
1920
- * Document font families rendering in a substitute face: declared by the document but
1921
- * not resolvable on this platform, not embedded in the file, and not supplied by the
1922
- * app's font configuration. Chrome shows a compatibility notice from this the way Word
1923
- * does. Optional and additive like `canUndo`: absent means the implementation has not
1924
- * derived it; empty means every family resolved (or no document is loaded).
1949
+ * Document font families that are NOT AVAILABLE: declared by the document, but with no
1950
+ * byte source admitted for them, no configured redirect to an admitted face, nothing
1951
+ * embedded in the file, and nothing the platform could resolve. Chrome shows a
1952
+ * compatibility notice from this the way Word does.
1953
+ *
1954
+ * A family the app deliberately answers with a metric-compatible stand-in — Word's
1955
+ * Times New Roman with Liberation Serif, say — is AVAILABLE and stays out of the list.
1956
+ * The glyph outlines differ; the advance widths do not, so wrap and pagination land
1957
+ * where Word puts them and there is nothing for a fidelity notice to report.
1958
+ *
1959
+ * Optional and additive like `canUndo`: absent means the implementation has not derived
1960
+ * it; empty means every family resolved (or no document is loaded).
1925
1961
  */
1926
1962
  readonly fontSubstitutions?: readonly string[];
1927
1963
  /**
@@ -1955,4 +1991,4 @@ interface EditorEvents {
1955
1991
  error: (error: EditorError) => void;
1956
1992
  }
1957
1993
 
1958
- export { type InteractionOutcome as $, type AuthoredNoteNumbering as A, type EditorFontErrorCode as B, type CanResult as C, type DocumentSource as D, EditorFontError as E, type FontConfiguration as F, type EditorFormatPainterCommands as G, type EditorHeaderFooterCommands as H, type ImageContext as I, type EditorNoteCommands as J, type EditorPosition as K, type EditorQueries as L, type EditorQuery as M, type EditorQueryResults as N, type EditorScope as O, type EditorSelection as P, type FormatPainterLevel as Q, type FormatPainterMode as R, type SelectedImageState as S, type TableBorderEdgeTarget as T, type FurnitureVariant as U, type ViewScope as V, type HeaderFooterSlotArgs as W, type HeaderFooterState as X, type HyperlinkInfo as Y, type ZoomMode as Z, type InteractionAffinity as _, type EditorSnapshot as a, type InteractionOutcomeCode as a0, type NoteKind as a1, type NotePropertiesSide as a2, type NotePropertiesState as a3, type PageSetup as a4, type ResolvedNoteNumbering as a5, type ReviewActivationOptions as a6, type ReviewCommentPlacement as a7, type ReviewCustomPlacement as a8, type ReviewItemPlacement as a9, type ReviewItemPlacementBase as aa, type ReviewItemQuery as ab, type ReviewRevisionPlacement as ac, type SemanticIdentity as ad, type SemanticTarget as ae, type TableBorderTarget as af, type TableCellVerticalAlignment as ag, type TableColumnDividerResizeTarget as ah, type TableColumnOccurrenceTarget as ai, type TableRightEdgeResizeTarget as aj, type TableRowOccurrenceTarget as ak, type TextMatch as al, type ZoomFitTarget as am, type EditorCommand as b, type ImageCropPercent as c, type ImageCropPermille as d, cropPercentFromCropPermille as e, cropPercentFromPermille as f, cropPercentFromSourceCrop as g, cropPermilleFromCropPercent as h, cropPermilleFromPercent as i, type FontSource as j, type FontSourceSubstitution as k, type Editor as l, type FormatPainterSurfaceState as m, type FontFaceRequest as n, type TableBorderSpec as o, type TableBorderStyle as p, type TableContext as q, type DocumentChange as r, sourceCropFromCropPercent as s, type DocumentEditingMode as t, type DocumentHandle as u, validateImageCropPercent as v, type EditorCommandShape as w, type EditorCommands as x, type EditorError as y, type EditorEvents as z };
1994
+ export { type HyperlinkInfo as $, type AuthoredNoteNumbering as A, type EditorError as B, type CanResult as C, type DocumentSource as D, EditorFontError as E, type FontConfiguration as F, type EditorEvents as G, type EditorFontErrorCode as H, type ImageContext as I, type EditorFormatPainterCommands as J, type EditorHeaderFooterCommands as K, type EditorNoteCommands as L, type EditorPosition as M, type EditorQueries as N, type EditorQuery as O, type EditorQueryResults as P, type EditorScope as Q, type EditorSelection as R, type SelectedImageState as S, type TrackedChangeFilterMode as T, type FormatPainterLevel as U, type ViewScope as V, type FormatPainterMode as W, type FurnitureVariant as X, type HeaderFooterSlotArgs as Y, type ZoomMode as Z, type HeaderFooterState as _, type EditorSnapshot as a, type InteractionAffinity as a0, type InteractionOutcome as a1, type InteractionOutcomeCode as a2, type NoteKind as a3, type NotePropertiesSide as a4, type NotePropertiesState as a5, type PageSetup as a6, type ResolvedNoteNumbering as a7, type ReviewActivationOptions as a8, type ReviewCommentPlacement as a9, type ReviewCustomPlacement as aa, type ReviewItemPlacement as ab, type ReviewItemPlacementBase as ac, type ReviewItemQuery as ad, type ReviewRevisionPlacement as ae, type SemanticIdentity as af, type SemanticTarget as ag, type TableBorderTarget as ah, type TableCellVerticalAlignment as ai, type TableColumnDividerResizeTarget as aj, type TableColumnOccurrenceTarget as ak, type TableRightEdgeResizeTarget as al, type TableRowOccurrenceTarget as am, type TextMatch as an, type ZoomFitTarget as ao, type EditorCommand as b, type ImageCropPercent as c, type ImageCropPermille as d, type TrackedChangePredicate as e, cropPercentFromCropPermille as f, cropPercentFromPermille as g, cropPercentFromSourceCrop as h, cropPermilleFromCropPercent as i, cropPermilleFromPercent as j, type FontSource as k, type FontSourceSubstitution as l, type FontFaceRequest as m, type Editor as n, type FormatPainterSurfaceState as o, type TableBorderEdgeTarget as p, type TableBorderSpec as q, type TableBorderStyle as r, sourceCropFromCropPercent as s, type TableContext as t, type DocumentChange as u, validateImageCropPercent as v, type DocumentEditingMode as w, type DocumentHandle as x, type EditorCommandShape as y, type EditorCommands as z };
@@ -1,7 +1,7 @@
1
1
  import { DocEdits, DocQueries, DocQueryResults, ContentControlSummary } from './contracts/document.js';
2
- import { g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem } from './review-items-B78OsJU2.js';
3
- import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-C00BpIyC.js';
4
- import { S as SourceCrop, D as DrawingKind, u as ImageWrapTarget, v as DrawingPositionInput, w as DrawingLocks, x as ImageResourceState, y as SupportedImageMime } from './tree-op-types-HKfUzt_-.js';
2
+ import { g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem } from './review-items-CCS1h93f.js';
3
+ import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-BmQ7h2cq.js';
4
+ import { S as SourceCrop, D as DrawingKind, u as ImageWrapTarget, v as DrawingPositionInput, w as DrawingLocks, x as ImageResourceState, y as SupportedImageMime } from './tree-op-types-D6HzlPR4.js';
5
5
  import { ColorValue, ExecErrorCode, ParagraphFormatCommand, Watermark, DocAnchor, ExecResult, ContentControlFilter, DocRange, RunFormatting, Revision, Rect, SelectionPin, Unsubscribe } from './contracts/types.js';
6
6
  import { C as CollaborationStatus } from './failure-BnGjoXf0.js';
7
7
 
@@ -529,6 +529,11 @@ interface FontSource {
529
529
  interface FontSourceSubstitution {
530
530
  readonly from: FontFaceRequest;
531
531
  readonly to: FontFaceRequest;
532
+ /** Word line-box metrics for the requested face, expressed as em ratios. */
533
+ readonly lineMetrics?: {
534
+ readonly heightEm: number;
535
+ readonly baselineEm: number;
536
+ };
532
537
  }
533
538
  /**
534
539
  * Public font source configuration sampled when an adapter mounts. It must be immutable for that
@@ -891,6 +896,17 @@ interface Editor {
891
896
  * is a repaint behind the document and fails outright during pagination.
892
897
  */
893
898
  getReviewItems(query?: ReviewItemQuery): readonly ReviewItemPlacement[];
899
+ /**
900
+ * Set the view-time tracked-change filter, or clear it with `null`.
901
+ *
902
+ * The predicate receives each full revision item. A false result renders that revision as
903
+ * accepted by default. With `reject`, excluded content, moves, paragraph marks, and table-row
904
+ * insertions/deletions use their rejected projection; formatting and other property-change
905
+ * records keep their current values with revision markup hidden. Both modes are view-only: they
906
+ * change no OOXML and do not change saved bytes. Calling this method again re-evaluates every
907
+ * revision, even when the function reference is unchanged.
908
+ */
909
+ setTrackedChangesFilter(predicate: TrackedChangePredicate | null, mode?: TrackedChangeFilterMode): void;
894
910
  /**
895
911
  * Custom-node definitions registered through `createDocxEditor({ modules })`, in
896
912
  * registration order.
@@ -1125,6 +1141,17 @@ type EditorCommandShape<T> = {
1125
1141
  } : unknown);
1126
1142
  };
1127
1143
 
1144
+ /**
1145
+ * Decides whether one tracked change renders as markup.
1146
+ *
1147
+ * Return `true` to keep the revision visible as tracked markup. Return `false` to render it with
1148
+ * the selected {@link TrackedChangeFilterMode} without changing the document. The callback
1149
+ * receives the complete revision item, including its author, date, kind, text, ranges, nesting,
1150
+ * and resolution metadata.
1151
+ */
1152
+ type TrackedChangePredicate = (revision: ReviewRevisionItem) => boolean;
1153
+ /** How revisions excluded by a tracked-changes predicate project into the view. */
1154
+ type TrackedChangeFilterMode = 'accept' | 'reject';
1128
1155
  /**
1129
1156
  * Narrows what `getReviewItems` returns.
1130
1157
  *
@@ -1891,6 +1918,8 @@ interface EditorSnapshot {
1891
1918
  * vocabulary and memoized per revision.
1892
1919
  */
1893
1920
  readonly hasReviewContent?: boolean;
1921
+ /** Authors whose revisions currently render as accepted and whose comments stay hidden. */
1922
+ readonly hiddenReviewAuthors?: readonly string[];
1894
1923
  /**
1895
1924
  * Lifecycle of the attached collaboration replica, or `'inactive'` when no
1896
1925
  * collaboration module is registered.
@@ -1917,11 +1946,18 @@ interface EditorSnapshot {
1917
1946
  */
1918
1947
  readonly lastRejection?: string | null;
1919
1948
  /**
1920
- * Document font families rendering in a substitute face: declared by the document but
1921
- * not resolvable on this platform, not embedded in the file, and not supplied by the
1922
- * app's font configuration. Chrome shows a compatibility notice from this the way Word
1923
- * does. Optional and additive like `canUndo`: absent means the implementation has not
1924
- * derived it; empty means every family resolved (or no document is loaded).
1949
+ * Document font families that are NOT AVAILABLE: declared by the document, but with no
1950
+ * byte source admitted for them, no configured redirect to an admitted face, nothing
1951
+ * embedded in the file, and nothing the platform could resolve. Chrome shows a
1952
+ * compatibility notice from this the way Word does.
1953
+ *
1954
+ * A family the app deliberately answers with a metric-compatible stand-in — Word's
1955
+ * Times New Roman with Liberation Serif, say — is AVAILABLE and stays out of the list.
1956
+ * The glyph outlines differ; the advance widths do not, so wrap and pagination land
1957
+ * where Word puts them and there is nothing for a fidelity notice to report.
1958
+ *
1959
+ * Optional and additive like `canUndo`: absent means the implementation has not derived
1960
+ * it; empty means every family resolved (or no document is loaded).
1925
1961
  */
1926
1962
  readonly fontSubstitutions?: readonly string[];
1927
1963
  /**
@@ -1955,4 +1991,4 @@ interface EditorEvents {
1955
1991
  error: (error: EditorError) => void;
1956
1992
  }
1957
1993
 
1958
- export { type InteractionOutcome as $, type AuthoredNoteNumbering as A, type EditorFontErrorCode as B, type CanResult as C, type DocumentSource as D, EditorFontError as E, type FontConfiguration as F, type EditorFormatPainterCommands as G, type EditorHeaderFooterCommands as H, type ImageContext as I, type EditorNoteCommands as J, type EditorPosition as K, type EditorQueries as L, type EditorQuery as M, type EditorQueryResults as N, type EditorScope as O, type EditorSelection as P, type FormatPainterLevel as Q, type FormatPainterMode as R, type SelectedImageState as S, type TableBorderEdgeTarget as T, type FurnitureVariant as U, type ViewScope as V, type HeaderFooterSlotArgs as W, type HeaderFooterState as X, type HyperlinkInfo as Y, type ZoomMode as Z, type InteractionAffinity as _, type EditorSnapshot as a, type InteractionOutcomeCode as a0, type NoteKind as a1, type NotePropertiesSide as a2, type NotePropertiesState as a3, type PageSetup as a4, type ResolvedNoteNumbering as a5, type ReviewActivationOptions as a6, type ReviewCommentPlacement as a7, type ReviewCustomPlacement as a8, type ReviewItemPlacement as a9, type ReviewItemPlacementBase as aa, type ReviewItemQuery as ab, type ReviewRevisionPlacement as ac, type SemanticIdentity as ad, type SemanticTarget as ae, type TableBorderTarget as af, type TableCellVerticalAlignment as ag, type TableColumnDividerResizeTarget as ah, type TableColumnOccurrenceTarget as ai, type TableRightEdgeResizeTarget as aj, type TableRowOccurrenceTarget as ak, type TextMatch as al, type ZoomFitTarget as am, type EditorCommand as b, type ImageCropPercent as c, type ImageCropPermille as d, cropPercentFromCropPermille as e, cropPercentFromPermille as f, cropPercentFromSourceCrop as g, cropPermilleFromCropPercent as h, cropPermilleFromPercent as i, type FontSource as j, type FontSourceSubstitution as k, type Editor as l, type FormatPainterSurfaceState as m, type FontFaceRequest as n, type TableBorderSpec as o, type TableBorderStyle as p, type TableContext as q, type DocumentChange as r, sourceCropFromCropPercent as s, type DocumentEditingMode as t, type DocumentHandle as u, validateImageCropPercent as v, type EditorCommandShape as w, type EditorCommands as x, type EditorError as y, type EditorEvents as z };
1994
+ export { type HyperlinkInfo as $, type AuthoredNoteNumbering as A, type EditorError as B, type CanResult as C, type DocumentSource as D, EditorFontError as E, type FontConfiguration as F, type EditorEvents as G, type EditorFontErrorCode as H, type ImageContext as I, type EditorFormatPainterCommands as J, type EditorHeaderFooterCommands as K, type EditorNoteCommands as L, type EditorPosition as M, type EditorQueries as N, type EditorQuery as O, type EditorQueryResults as P, type EditorScope as Q, type EditorSelection as R, type SelectedImageState as S, type TrackedChangeFilterMode as T, type FormatPainterLevel as U, type ViewScope as V, type FormatPainterMode as W, type FurnitureVariant as X, type HeaderFooterSlotArgs as Y, type ZoomMode as Z, type HeaderFooterState as _, type EditorSnapshot as a, type InteractionAffinity as a0, type InteractionOutcome as a1, type InteractionOutcomeCode as a2, type NoteKind as a3, type NotePropertiesSide as a4, type NotePropertiesState as a5, type PageSetup as a6, type ResolvedNoteNumbering as a7, type ReviewActivationOptions as a8, type ReviewCommentPlacement as a9, type ReviewCustomPlacement as aa, type ReviewItemPlacement as ab, type ReviewItemPlacementBase as ac, type ReviewItemQuery as ad, type ReviewRevisionPlacement as ae, type SemanticIdentity as af, type SemanticTarget as ag, type TableBorderTarget as ah, type TableCellVerticalAlignment as ai, type TableColumnDividerResizeTarget as aj, type TableColumnOccurrenceTarget as ak, type TableRightEdgeResizeTarget as al, type TableRowOccurrenceTarget as am, type TextMatch as an, type ZoomFitTarget as ao, type EditorCommand as b, type ImageCropPercent as c, type ImageCropPermille as d, type TrackedChangePredicate as e, cropPercentFromCropPermille as f, cropPercentFromPermille as g, cropPercentFromSourceCrop as h, cropPermilleFromCropPercent as i, cropPermilleFromPercent as j, type FontSource as k, type FontSourceSubstitution as l, type FontFaceRequest as m, type Editor as n, type FormatPainterSurfaceState as o, type TableBorderEdgeTarget as p, type TableBorderSpec as q, type TableBorderStyle as r, sourceCropFromCropPercent as s, type TableContext as t, type DocumentChange as u, validateImageCropPercent as v, type DocumentEditingMode as w, type DocumentHandle as x, type EditorCommandShape as y, type EditorCommands as z };
package/dist/editor.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkJXZYDBKU_cjs=require('./chunk-JXZYDBKU.cjs'),chunkZKWRCLT2_cjs=require('./chunk-ZKWRCLT2.cjs');require('./chunk-TKEGK4GQ.cjs'),require('./chunk-BXRVGHTY.cjs'),require('./chunk-3JON7JMD.cjs'),require('./chunk-L7OR5TJK.cjs'),require('./chunk-5V6FNKBE.cjs'),require('./chunk-JWZG4QJ5.cjs'),require('./chunk-BTQKU64Q.cjs'),require('./chunk-XCFM3G5L.cjs');var chunkILTZTY3K_cjs=require('./chunk-ILTZTY3K.cjs');require('./chunk-OHJQ7GPZ.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.La}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Qa}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ya}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ca}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Fa}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs._}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.S}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ma}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Q}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.R}});Object.defineProperty(exports,"LOADING_SNAPSHOT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.d}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.e}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.o}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.n}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.u}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.t}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ea}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.da}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.fa}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.$}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.s}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.r}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.f}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ka}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ja}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ga}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.A}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.z}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.h}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.O}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.N}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ea}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Da}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ka}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.za}});Object.defineProperty(exports,"chromeSlotIsToggle",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.qa}});Object.defineProperty(exports,"clipboardDropLandsText",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.j}});Object.defineProperty(exports,"clipboardPasteLandsContent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.i}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.la}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.na}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ma}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.g}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ya}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.X}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.W}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ra}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Pa}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.m}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Za}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.K}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.I}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.F}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.J}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.H}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ua}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Aa}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.aa}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.c}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.x}});Object.defineProperty(exports,"editorCommandKey",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.xa}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.V}});Object.defineProperty(exports,"equationAtPosition",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ha}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.P}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs._a}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ba}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.p}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.v}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Y}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ba}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ta}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.l}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.C}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.D}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ia}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Va}});Object.defineProperty(exports,"overlayHostOrigin",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Wa}});Object.defineProperty(exports,"partOfNodeId",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.k}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.U}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ha}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Xa}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.E}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.B}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Na}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.q}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ua}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.sa}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.wa}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ta}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Oa}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.T}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.M}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.w}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.G}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ga}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Sa}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ja}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ia}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.oa}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ca}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Z}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.va}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.pa}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ra}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.L}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.y}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunkZKWRCLT2_cjs.a}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.m}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Ng}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Og}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Ya}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Qg}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Pg}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.n}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.pb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.lb}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Mg}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.qb}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Rg}});
1
+ 'use strict';var chunkF2K6SDHA_cjs=require('./chunk-F2K6SDHA.cjs'),chunkZKWRCLT2_cjs=require('./chunk-ZKWRCLT2.cjs');require('./chunk-O5M4CR4P.cjs'),require('./chunk-NDJGSR6M.cjs'),require('./chunk-2PIHW2QM.cjs'),require('./chunk-LBAHXZCU.cjs'),require('./chunk-DRQHIQ4R.cjs'),require('./chunk-5TKAPFZT.cjs'),require('./chunk-4Z5MODAE.cjs'),require('./chunk-BTQKU64Q.cjs'),require('./chunk-KIAP7PFQ.cjs');var chunkNJNFJPGB_cjs=require('./chunk-NJNFJPGB.cjs');require('./chunk-OHJQ7GPZ.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Qa}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Va}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Da}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ha}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ka}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.da}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.X}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ra}});Object.defineProperty(exports,"FONT_RESOLVER_BRAND",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.i}});Object.defineProperty(exports,"FONT_RESOLVER_MARK_KEY",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.h}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.V}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.W}});Object.defineProperty(exports,"LOADING_SNAPSHOT",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.d}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.e}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.t}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.s}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.z}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.y}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ja}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ia}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ka}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ea}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.x}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.w}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.f}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Pa}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Oa}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.la}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.F}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.E}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.m}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.T}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.S}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ja}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ia}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.pa}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ea}});Object.defineProperty(exports,"chromeSlotIsToggle",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.va}});Object.defineProperty(exports,"clipboardDropLandsText",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.o}});Object.defineProperty(exports,"clipboardPasteLandsContent",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.n}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.qa}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.sa}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ra}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.g}});Object.defineProperty(exports,"composeFontOrigins",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.l}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.bb}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.aa}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.$}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Wa}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ua}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.r}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.cb}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.P}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.N}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.K}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.O}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.M}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Za}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Fa}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.fa}});Object.defineProperty(exports,"defineFontResolver",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.j}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.c}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.C}});Object.defineProperty(exports,"editorCommandKey",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ca}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs._}});Object.defineProperty(exports,"equationAtPosition",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ma}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.U}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.db}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ga}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.u}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.A}});Object.defineProperty(exports,"isFontResolver",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.k}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ba}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ga}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ya}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.q}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.H}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.I}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Na}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs._a}});Object.defineProperty(exports,"overlayHostOrigin",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.$a}});Object.defineProperty(exports,"partOfNodeId",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.p}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Z}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ma}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ab}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.J}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.G}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Sa}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.v}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.za}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.xa}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ba}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ya}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Ta}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Y}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.R}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.B}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.L}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.La}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Xa}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.oa}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.na}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ta}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ha}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ca}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Aa}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.ua}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.wa}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.Q}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkF2K6SDHA_cjs.D}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunkZKWRCLT2_cjs.a}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.m}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.Og}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.Pg}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.Ya}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.Rg}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.Qg}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.n}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.pb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.lb}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.Ng}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.qb}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkNJNFJPGB_cjs.Sg}});