@docx-editor.dev/core 2.15.1 → 2.16.1

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 (101) hide show
  1. package/README.md +9 -15
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.ts +11 -9
  4. package/dist/automation.js +1 -1
  5. package/dist/binding.cjs +1 -1
  6. package/dist/binding.d.ts +12 -16
  7. package/dist/binding.js +1 -1
  8. package/dist/chunk-3XTHXWEB.js +20 -0
  9. package/dist/chunk-7QG5FJ4X.js +1 -0
  10. package/dist/chunk-B2HDVIGY.cjs +2 -0
  11. package/dist/chunk-BML3CNUT.js +2 -0
  12. package/dist/chunk-DD7ETSGW.cjs +20 -0
  13. package/dist/chunk-FRRMJK2G.js +5 -0
  14. package/dist/chunk-G5GLQ4SX.cjs +1 -0
  15. package/dist/chunk-JP253KIZ.cjs +2 -0
  16. package/dist/chunk-JROG4U3Z.cjs +21 -0
  17. package/dist/chunk-L7MVY3DW.js +2 -0
  18. package/dist/chunk-MBXGQN6J.js +1 -0
  19. package/dist/chunk-MDMM3XVQ.js +11 -0
  20. package/dist/{chunk-Q4AB7E4O.cjs → chunk-NO7U62I2.cjs} +1 -1
  21. package/dist/{chunk-PXKZUTHX.cjs → chunk-NPZX5O23.cjs} +2 -2
  22. package/dist/chunk-OISZDVXT.cjs +5 -0
  23. package/dist/chunk-PRNYSOQL.cjs +1 -0
  24. package/dist/chunk-RXPOTTQQ.js +21 -0
  25. package/dist/chunk-TDMGSCCL.cjs +1 -0
  26. package/dist/{chunk-YL4Q5LZP.cjs → chunk-UIB2MDE3.cjs} +1 -1
  27. package/dist/chunk-UXAWPVH6.js +1 -0
  28. package/dist/chunk-VYQTZIYH.js +1 -0
  29. package/dist/chunk-W7GY2IJC.js +2 -0
  30. package/dist/{chunk-KXPVOPR5.js → chunk-XXLS6O6B.js} +1 -1
  31. package/dist/chunk-ZFBNCHRP.cjs +11 -0
  32. package/dist/collaboration/replication.cjs +1 -1
  33. package/dist/collaboration/replication.d.ts +4 -4
  34. package/dist/collaboration/replication.js +1 -1
  35. package/dist/collaboration.d.ts +4 -4
  36. package/dist/contracts/editor.d.ts +9 -7
  37. package/dist/contracts/interaction.d.ts +73 -10
  38. package/dist/contracts/modules.d.ts +8 -8
  39. package/dist/{custom-node-writes-C9ArIlJh.d.ts → custom-node-writes-ClTkWM7s.d.ts} +2 -2
  40. package/dist/{editor-sRxrFJd8.d.ts → editor-BlerWPyk.d.ts} +44 -125
  41. package/dist/editor-scope-DZJT4ukT.d.ts +53 -0
  42. package/dist/editor.cjs +1 -1
  43. package/dist/editor.css +1 -1
  44. package/dist/editor.d.ts +32 -26
  45. package/dist/editor.js +1 -1
  46. package/dist/export.cjs +2 -2
  47. package/dist/export.d.ts +24 -12
  48. package/dist/export.js +2 -2
  49. package/dist/{font-resolver-BYEHQGTw.d.ts → font-resolver-DtADJcLL.d.ts} +2 -2
  50. package/dist/{headless-document-view-DELC4E5v.d.ts → headless-document-view-BDSeMGoK.d.ts} +2 -2
  51. package/dist/{hf-references-DTrHkktY.d.ts → hf-references-kSSFMq9X.d.ts} +1 -1
  52. package/dist/{index-C3Gvq4jN.d.ts → index-D51bUVBE.d.ts} +157 -30
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.d.ts +20 -18
  55. package/dist/index.js +1 -1
  56. package/dist/{layout-shaping-DoGR5cf8.d.ts → layout-shaping-rTElghj2.d.ts} +1 -1
  57. package/dist/layout.cjs +1 -1
  58. package/dist/layout.d.ts +272 -459
  59. package/dist/layout.js +1 -1
  60. package/dist/{note-properties-DSe8igrz.d.ts → note-properties-D5_fXW9K.d.ts} +1 -1
  61. package/dist/{omml-equation-BpRmfDAf.d.ts → omml-equation-C9AJfWy5.d.ts} +1 -1
  62. package/dist/output.cjs +1 -1
  63. package/dist/output.d.ts +6 -6
  64. package/dist/output.js +1 -1
  65. package/dist/{protocol-DZzKxH5r.d.ts → protocol-K-Djpjjw.d.ts} +28 -6
  66. package/dist/{review-items-DYRx187i.d.ts → review-items-CiliAz8H.d.ts} +11 -1
  67. package/dist/review-paragraph-order-BlSnyg9a.d.ts +79 -0
  68. package/dist/{revision-projection-DHRJH48u.d.ts → revision-projection-JiDclAFU.d.ts} +1 -1
  69. package/dist/{semantic-cell-selection-BXVWCBYm.d.ts → semantic-cell-selection-C-VsxNee.d.ts} +4 -4
  70. package/dist/{semantic-interaction-DZsDmPg5.d.ts → semantic-interaction-2vPh96Ey.d.ts} +1 -1
  71. package/dist/{semantic-paint-f7SqN4oW.d.ts → semantic-paint-BEjYcsPK.d.ts} +4 -2
  72. package/dist/{semantic-records-EIdwId-a.d.ts → semantic-records-Bc-MGXbM.d.ts} +1237 -947
  73. package/dist/store.cjs +1 -1
  74. package/dist/store.d.ts +164 -20
  75. package/dist/store.js +1 -1
  76. package/dist/{tree-op-types-egdarvH_.d.ts → tree-op-types-C71G7rIv.d.ts} +137 -55
  77. package/dist/{tree-package-fragment-DjkH4ESI.d.ts → tree-package-fragment-DRJkmfTW.d.ts} +3 -3
  78. package/dist/{tree-session-contract-CGOOgPjW.d.ts → tree-session-contract-Cp5W25RC.d.ts} +18 -8
  79. package/dist/{tree-store-DKJB0IcA.d.ts → tree-store-BRfhZceK.d.ts} +1 -1
  80. package/package.json +2 -2
  81. package/dist/chunk-24APKZAN.cjs +0 -11
  82. package/dist/chunk-2YH4MSHX.cjs +0 -2
  83. package/dist/chunk-5Y7AADI6.js +0 -1
  84. package/dist/chunk-AREFLNUP.js +0 -11
  85. package/dist/chunk-AS7YZNQE.cjs +0 -2
  86. package/dist/chunk-AVGCKH6A.cjs +0 -20
  87. package/dist/chunk-CDYVDQRI.cjs +0 -5
  88. package/dist/chunk-HOEWFH5U.cjs +0 -1
  89. package/dist/chunk-KFELX7CN.js +0 -2
  90. package/dist/chunk-LGFKIF4M.cjs +0 -1
  91. package/dist/chunk-M52QXFKI.js +0 -1
  92. package/dist/chunk-MNUKSXRO.js +0 -1
  93. package/dist/chunk-PBOIGBDO.js +0 -2
  94. package/dist/chunk-PMHGONET.cjs +0 -1
  95. package/dist/chunk-QJYH6AYD.js +0 -1
  96. package/dist/chunk-QRC37MWG.cjs +0 -20
  97. package/dist/chunk-RJSB6RJ7.js +0 -20
  98. package/dist/chunk-SB54HLFJ.js +0 -20
  99. package/dist/chunk-XCESLTJL.js +0 -2
  100. package/dist/chunk-Z4527AXR.js +0 -5
  101. package/dist/review-reads-LbGUdNzn.d.ts +0 -160
@@ -1 +1 @@
1
- 'use strict';var chunkYL4Q5LZP_cjs=require('../chunk-YL4Q5LZP.cjs');require('../chunk-24APKZAN.cjs');Object.defineProperty(exports,"createCollaborationDocumentPort",{enumerable:true,get:function(){return chunkYL4Q5LZP_cjs.b}});
1
+ 'use strict';var chunkUIB2MDE3_cjs=require('../chunk-UIB2MDE3.cjs');require('../chunk-ZFBNCHRP.cjs');Object.defineProperty(exports,"createCollaborationDocumentPort",{enumerable:true,get:function(){return chunkUIB2MDE3_cjs.b}});
@@ -1,8 +1,8 @@
1
- import { T as TreeModelChange } from '../tree-store-DKJB0IcA.js';
2
- import { c as OoxmlElement, b as OoxmlPackage } from '../tree-op-types-egdarvH_.js';
3
- import { T as TreePackageStore } from '../tree-package-fragment-DjkH4ESI.js';
1
+ import { T as TreeModelChange } from '../tree-store-BRfhZceK.js';
2
+ import { c as OoxmlElement, b as OoxmlPackage } from '../tree-op-types-C71G7rIv.js';
3
+ import { T as TreePackageStore } from '../tree-package-fragment-DRJkmfTW.js';
4
4
  import '../contracts/types.js';
5
- import '../hf-references-DTrHkktY.js';
5
+ import '../hf-references-kSSFMq9X.js';
6
6
 
7
7
  /** Attribute name as the journal addresses it. Prefix is authored fidelity, not identity. @public */
8
8
  interface CanonicalAttributeName {
@@ -1 +1 @@
1
- export{b as createCollaborationDocumentPort}from'../chunk-KXPVOPR5.js';import'../chunk-AREFLNUP.js';
1
+ export{b as createCollaborationDocumentPort}from'../chunk-XXLS6O6B.js';import'../chunk-MDMM3XVQ.js';
@@ -1,10 +1,10 @@
1
- import { S as StoryScope } from './tree-package-fragment-DjkH4ESI.js';
2
- import { T as TreeDocOp } from './tree-op-types-egdarvH_.js';
1
+ import { S as StoryScope } from './tree-package-fragment-DRJkmfTW.js';
2
+ import { T as TreeDocOp } from './tree-op-types-C71G7rIv.js';
3
3
  import { CollaborationDocumentPort } from './collaboration/replication.js';
4
4
  import { C as CollaborationStatus, a as CollaborationStatusSnapshot, b as CollaborationFailureCode } from './failure-BnGjoXf0.js';
5
5
  export { c as CollaborationFailure, d as createCollaborationStatusTracker, i as isCollaborationFailureCode } from './failure-BnGjoXf0.js';
6
- import './hf-references-DTrHkktY.js';
7
- import './tree-store-DKJB0IcA.js';
6
+ import './hf-references-kSSFMq9X.js';
7
+ import './tree-store-BRfhZceK.js';
8
8
  import './contracts/types.js';
9
9
 
10
10
  /**
@@ -1,10 +1,12 @@
1
1
  export { ContentControlSummary, DocEdits, DocQueries, DocQueryResults, ParagraphSummary } from './document.js';
2
- export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from '../review-items-DYRx187i.js';
3
- export { A as AuthoredNoteNumbering, C as CanResult, u as DocumentChange, w as DocumentEditingMode, x as DocumentHandle, D as DocumentSource, n as Editor, e as EditorCommand, y as EditorCommandShape, z as EditorCommands, B as EditorError, G as EditorEvents, E as EditorFontError, H as EditorFontErrorCode, J as EditorFormatPainterCommands, K as EditorHeaderFooterCommands, L as EditorNoteCommands, M as EditorPosition, N as EditorQueries, O as EditorQuery, P as EditorQueryResults, Q as EditorScope, R as EditorSelection, d as EditorSnapshot, c as FontConfiguration, b as FontFaceRequest, F as FontSource, a as FontSourceSubstitution, U as FormatPainterLevel, W as FormatPainterMode, o as FormatPainterSurfaceState, X as FurnitureVariant, Y as HeaderFooterSlotArgs, _ as HeaderFooterState, $ as HyperlinkInfo, I as ImageContext, f as ImageCropPercent, a0 as InteractionAffinity, a1 as InteractionOutcome, a2 as InteractionOutcomeCode, a3 as NoteKind, a4 as NotePropertiesSide, a5 as NotePropertiesState, a6 as PageSetup, a7 as ResolvedNoteNumbering, a8 as ReviewActivationOptions, a9 as ReviewCommentPlacement, aa as ReviewCustomPlacement, ab as ReviewItemPlacement, ac as ReviewItemPlacementBase, ad as ReviewItemQuery, ae as ReviewRevisionPlacement, S as SelectedImageState, af as SemanticIdentity, ag as SemanticTarget, p as TableBorderEdgeTarget, q as TableBorderSpec, r as TableBorderStyle, ah as TableBorderTarget, ai as TableCellVerticalAlignment, aj as TableColumnDividerResizeTarget, ak as TableColumnOccurrenceTarget, t as TableContext, al as TableRightEdgeResizeTarget, am as TableRowOccurrenceTarget, an as TextMatch, T as TrackedChangeFilterMode, h as TrackedChangePredicate, V as ViewScope, ao as ZoomFitTarget, Z as ZoomMode } from '../editor-sRxrFJd8.js';
4
- export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-DZsDmPg5.js';
5
- export { z as DrawingHorizontalReferenceFrame, D as DrawingKind, w as DrawingLocks, v as DrawingPositionInput, A as DrawingVerticalReferenceFrame, x as ImageResourceState, u as ImageWrapTarget, P as PreservedImageMime, t as RenderableImageMime, R as RevisionAddress, y as SupportedImageMime, V as ValidatedImageBytesHandle, B as VectorImageMime } from '../tree-op-types-egdarvH_.js';
2
+ export { E as EditorScope, V as ViewScope } from '../editor-scope-DZJT4ukT.js';
3
+ export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from '../review-items-CiliAz8H.js';
4
+ export { InteractionAffinity, InteractionOutcome, InteractionOutcomeCode, SemanticIdentity, SemanticTarget } from './interaction.js';
5
+ export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-2vPh96Ey.js';
6
+ export { z as DrawingHorizontalReferenceFrame, D as DrawingKind, w as DrawingLocks, v as DrawingPositionInput, A as DrawingVerticalReferenceFrame, x as ImageResourceState, u as ImageWrapTarget, P as PreservedImageMime, t as RenderableImageMime, R as RevisionAddress, y as SupportedImageMime, V as ValidatedImageBytesHandle, B as VectorImageMime } from '../tree-op-types-C71G7rIv.js';
6
7
  export { Block, ColorValue, ContainerRef, ContentControl, ContentControlFilter, ContentControlType, DocAnchor, DocAnchorRange, DocComment, DocLocation, DocRange, DocTarget, DocumentBody, DocxDocument, DocxDocumentJSON, ExecErrorCode, ExecResult, Extent, FontDefinition, HeaderFooterSet, IndentFormatting, InsertableContentControlType, NumberingRef, PageMargins, Paragraph, ParagraphDisagreements, ParagraphFlags, ParagraphFormatCommand, ParagraphTabStop, Point, Rect, Revision, RevisionType, Run, RunFormatting, Section, SectionProperties, SelectionPin, StyleDefinition, StyleDefinitions, Table, TableCell, TableRow, Theme, ThemeColorScheme, Unsubscribe, Watermark } from './types.js';
7
8
  import '../failure-BnGjoXf0.js';
8
- import '../semantic-records-EIdwId-a.js';
9
- import '../revision-projection-DHRJH48u.js';
10
- import '../omml-equation-BpRmfDAf.js';
9
+ export { A as AuthoredNoteNumbering, C as CanResult, u as DocumentChange, w as DocumentEditingMode, x as DocumentHandle, D as DocumentSource, n as Editor, e as EditorCommand, y as EditorCommandShape, z as EditorCommands, B as EditorError, G as EditorEvents, E as EditorFontError, H as EditorFontErrorCode, J as EditorFormatPainterCommands, K as EditorHeaderFooterCommands, L as EditorNoteCommands, M as EditorPosition, N as EditorQueries, O as EditorQuery, P as EditorQueryResults, Q as EditorSelection, d as EditorSnapshot, c as FontConfiguration, b as FontFaceRequest, F as FontSource, a as FontSourceSubstitution, R as FormatPainterLevel, U as FormatPainterMode, o as FormatPainterSurfaceState, V as FurnitureVariant, W as HeaderFooterSlotArgs, X as HeaderFooterState, Y as HyperlinkInfo, I as ImageContext, f as ImageCropPercent, _ as NoteKind, $ as NotePropertiesSide, a0 as NotePropertiesState, a1 as PageSetup, a2 as ResolvedNoteNumbering, a3 as ReviewActivationOptions, a4 as ReviewCommentPlacement, a5 as ReviewCustomPlacement, a6 as ReviewItemPlacement, a7 as ReviewItemPlacementBase, a8 as ReviewItemQuery, a9 as ReviewRevisionPlacement, S as SelectedImageState, p as TableBorderEdgeTarget, q as TableBorderSpec, r as TableBorderStyle, aa as TableBorderTarget, ab as TableCellVerticalAlignment, ac as TableColumnDividerResizeTarget, ad as TableColumnOccurrenceTarget, t as TableContext, ae as TableRightEdgeResizeTarget, af as TableRowOccurrenceTarget, ag as TextMatch, T as TrackedChangeFilterMode, h as TrackedChangePredicate, ah as ZoomFitTarget, Z as ZoomMode } from '../editor-BlerWPyk.js';
10
+ import '../semantic-records-Bc-MGXbM.js';
11
+ import '../revision-projection-JiDclAFU.js';
12
+ import '../omml-equation-C9AJfWy5.js';
@@ -1,10 +1,73 @@
1
- export { Q as EditorScope, a0 as InteractionAffinity, a1 as InteractionOutcome, a2 as InteractionOutcomeCode, af as SemanticIdentity, ag as SemanticTarget, V as ViewScope } from '../editor-sRxrFJd8.js';
2
- import './document.js';
3
- import './types.js';
4
- import '../review-items-DYRx187i.js';
5
- import '../tree-op-types-egdarvH_.js';
6
- import '../semantic-interaction-DZsDmPg5.js';
7
- import '../semantic-records-EIdwId-a.js';
8
- import '../revision-projection-DHRJH48u.js';
9
- import '../omml-equation-BpRmfDAf.js';
10
- import '../failure-BnGjoXf0.js';
1
+ import { V as ViewScope } from '../editor-scope-DZJT4ukT.js';
2
+ export { E as EditorScope } from '../editor-scope-DZJT4ukT.js';
3
+
4
+ /**
5
+ * `@docx-editor.dev/core/contracts/interaction` — semantic addressing and interaction outcomes.
6
+ *
7
+ * Semantic identities and targets: the vocabulary a caller uses to say WHICH text it means,
8
+ * independent of layout, DOM or any editing engine's positions. Plus the outcome type an
9
+ * interaction attempt answers with. That is the whole module.
10
+ *
11
+ * It used to be 599 lines. An "interaction frame" lived here — a revision-tagged projection
12
+ * of display, page geometry, caret and selection overlays, focus, composition and
13
+ * accessibility, plus a typed pointer-intent dispatch protocol and a render IR of glyph
14
+ * runs — and every one of those declarations was consumed by exactly nothing. They
15
+ * described an architecture the engine does not use: the paginated surface owns pointer
16
+ * interaction internally and paints through `Editor.attach`, so no frame was ever published
17
+ * and no intent ever dispatched.
18
+ * THREE of them (`CaretGeometry`, `HitTestOptions`, `ShapedCluster`) also collided by name
19
+ * with the REAL, differently-shaped types in `layout/`, so the published contract carried a
20
+ * second definition of a live concept and `import { ShapedCluster }` meant different things
21
+ * depending on which module you reached for.
22
+ * `InteractionFrameId` and a frame-tagged `SemanticSelection` outlived that cut. Both were
23
+ * the same mistake: the id was a placeholder nothing ever minted (`focus` returned a literal
24
+ * `{ value: 0 }`), and the selection could not be CONSTRUCTED without one, which made it a
25
+ * fourth name-collision with the real `SemanticSelection` in `layout/` that a caller could
26
+ * never actually satisfy.
27
+ *
28
+ * CONTRACT ONLY — declarations, not an implementation.
29
+ *
30
+ * @packageDocumentation
31
+ * @public
32
+ */
33
+
34
+ /** Bidi/grapheme affinity for a text caret or hit target. */
35
+ type InteractionAffinity = 'upstream' | 'downstream';
36
+ /**
37
+ * Model-derived stable identity within a scope. Positions resolve through this
38
+ * index, not accumulated display-item lengths or editing-engine coordinates.
39
+ */
40
+ interface SemanticIdentity {
41
+ readonly storyId: string;
42
+ readonly blockId: string;
43
+ }
44
+ /** A PM-free semantic caret, range endpoint, or atomic selection target. */
45
+ type SemanticTarget = {
46
+ readonly kind: 'text';
47
+ readonly scope: ViewScope;
48
+ readonly identity: SemanticIdentity;
49
+ readonly graphemeOffset: number;
50
+ readonly affinity: InteractionAffinity;
51
+ } | {
52
+ readonly kind: 'atomic';
53
+ readonly scope: ViewScope;
54
+ readonly objectId: string;
55
+ };
56
+ /** Typed rejection for pending, read-only, invalid, or unsupported interaction. */
57
+ type InteractionOutcomeCode = 'pendingLayout' | 'pendingSelection' | 'readOnly' | 'invalidTarget' | 'unsupported';
58
+ /**
59
+ * The result of one interaction attempt.
60
+ *
61
+ * A rejection carries the ENGINE's own `reason`, which is what lets a caller surface why an
62
+ * interaction was refused instead of guessing.
63
+ */
64
+ type InteractionOutcome<T> = {
65
+ readonly ok: true;
66
+ readonly value: T;
67
+ } | {
68
+ readonly ok: false;
69
+ readonly code: InteractionOutcomeCode;
70
+ readonly reason: string;
71
+ };
72
+
73
+ export { type InteractionAffinity, type InteractionOutcome, type InteractionOutcomeCode, type SemanticIdentity, type SemanticTarget, ViewScope };
@@ -1,13 +1,13 @@
1
- import { O as OoxmlPart } from '../tree-op-types-egdarvH_.js';
2
- export { R as RevisionAddress } from '../tree-op-types-egdarvH_.js';
3
- import { R as ReviewModelInput, a as ReviewItem, b as ReviewRevisionItem } from '../review-items-DYRx187i.js';
4
- export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind } from '../review-items-DYRx187i.js';
1
+ import { O as OoxmlPart } from '../tree-op-types-C71G7rIv.js';
2
+ export { R as RevisionAddress } from '../tree-op-types-C71G7rIv.js';
3
+ import { R as ReviewModelInput, a as ReviewItem, b as ReviewRevisionItem } from '../review-items-CiliAz8H.js';
4
+ export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind } from '../review-items-CiliAz8H.js';
5
5
  import { CollaborationModuleContribution } from '../collaboration.js';
6
- import { R as RevisionDisplayMode } from '../revision-projection-DHRJH48u.js';
6
+ import { R as RevisionDisplayMode } from '../revision-projection-JiDclAFU.js';
7
7
  import './types.js';
8
- import '../tree-package-fragment-DjkH4ESI.js';
9
- import '../hf-references-DTrHkktY.js';
10
- import '../tree-store-DKJB0IcA.js';
8
+ import '../tree-package-fragment-DRJkmfTW.js';
9
+ import '../hf-references-kSSFMq9X.js';
10
+ import '../tree-store-BRfhZceK.js';
11
11
  import '../collaboration/replication.js';
12
12
  import '../failure-BnGjoXf0.js';
13
13
 
@@ -1,5 +1,5 @@
1
- import { b as OoxmlPackage, O as OoxmlPart, a as OoxmlNode, p as TreeOpRejection } from './tree-op-types-egdarvH_.js';
2
- import { T as TreeModelChange, a as TreeDocumentStore } from './tree-store-DKJB0IcA.js';
1
+ import { b as OoxmlPackage, O as OoxmlPart, a as OoxmlNode, p as TreeOpRejection } from './tree-op-types-C71G7rIv.js';
2
+ import { T as TreeModelChange, a as TreeDocumentStore } from './tree-store-BRfhZceK.js';
3
3
 
4
4
  /** Which of a family's four faces an embedded font relationship supplies. */
5
5
  type FontStyleKey = 'regular' | 'bold' | 'italic' | 'boldItalic';
@@ -1,79 +1,12 @@
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-DYRx187i.js';
3
- import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-DZsDmPg5.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-egdarvH_.js';
2
+ import { V as ViewScope, E as EditorScope } from './editor-scope-DZJT4ukT.js';
3
+ import { g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem } from './review-items-CiliAz8H.js';
4
+ import { InteractionOutcome } from './contracts/interaction.js';
5
+ import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-2vPh96Ey.js';
6
+ 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-C71G7rIv.js';
5
7
  import { ColorValue, ExecErrorCode, ParagraphFormatCommand, Watermark, DocAnchor, ExecResult, ContentControlFilter, DocRange, RunFormatting, Revision, Rect, SelectionPin, Unsubscribe } from './contracts/types.js';
6
8
  import { C as CollaborationStatus } from './failure-BnGjoXf0.js';
7
9
 
8
- /**
9
- * `@docx-editor.dev/core/contracts/interaction` — semantic addressing and interaction outcomes.
10
- *
11
- * Semantic identities and targets: the vocabulary a caller uses to say WHICH text it means,
12
- * independent of layout, DOM or any editing engine's positions. Plus the outcome type an
13
- * interaction attempt answers with. That is the whole module.
14
- *
15
- * It used to be 599 lines. An "interaction frame" lived here — a revision-tagged projection
16
- * of display, page geometry, caret and selection overlays, focus, composition and
17
- * accessibility, plus a typed pointer-intent dispatch protocol and a render IR of glyph
18
- * runs — and every one of those declarations was consumed by exactly nothing. They
19
- * described an architecture the engine does not use: the paginated surface owns pointer
20
- * interaction internally and paints through `Editor.attach`, so no frame was ever published
21
- * and no intent ever dispatched.
22
- * THREE of them (`CaretGeometry`, `HitTestOptions`, `ShapedCluster`) also collided by name
23
- * with the REAL, differently-shaped types in `layout/`, so the published contract carried a
24
- * second definition of a live concept and `import { ShapedCluster }` meant different things
25
- * depending on which module you reached for.
26
- * `InteractionFrameId` and a frame-tagged `SemanticSelection` outlived that cut. Both were
27
- * the same mistake: the id was a placeholder nothing ever minted (`focus` returned a literal
28
- * `{ value: 0 }`), and the selection could not be CONSTRUCTED without one, which made it a
29
- * fourth name-collision with the real `SemanticSelection` in `layout/` that a caller could
30
- * never actually satisfy.
31
- *
32
- * CONTRACT ONLY — declarations, not an implementation.
33
- *
34
- * @packageDocumentation
35
- * @public
36
- */
37
-
38
- /** Bidi/grapheme affinity for a text caret or hit target. */
39
- type InteractionAffinity = 'upstream' | 'downstream';
40
- /**
41
- * Model-derived stable identity within a scope. Positions resolve through this
42
- * index, not accumulated display-item lengths or editing-engine coordinates.
43
- */
44
- interface SemanticIdentity {
45
- readonly storyId: string;
46
- readonly blockId: string;
47
- }
48
- /** A PM-free semantic caret, range endpoint, or atomic selection target. */
49
- type SemanticTarget = {
50
- readonly kind: 'text';
51
- readonly scope: ViewScope;
52
- readonly identity: SemanticIdentity;
53
- readonly graphemeOffset: number;
54
- readonly affinity: InteractionAffinity;
55
- } | {
56
- readonly kind: 'atomic';
57
- readonly scope: ViewScope;
58
- readonly objectId: string;
59
- };
60
- /** Typed rejection for pending, read-only, invalid, or unsupported interaction. */
61
- type InteractionOutcomeCode = 'pendingLayout' | 'pendingSelection' | 'readOnly' | 'invalidTarget' | 'unsupported';
62
- /**
63
- * The result of one interaction attempt.
64
- *
65
- * A rejection carries the ENGINE's own `reason`, which is what lets a caller surface why an
66
- * interaction was refused instead of guessing.
67
- */
68
- type InteractionOutcome<T> = {
69
- readonly ok: true;
70
- readonly value: T;
71
- } | {
72
- readonly ok: false;
73
- readonly code: InteractionOutcomeCode;
74
- readonly reason: string;
75
- };
76
-
77
10
  /**
78
11
  * Header/footer and footnote/endnote public contract types for the Editor facade.
79
12
  *
@@ -593,46 +526,6 @@ interface DocumentChange {
593
526
  readonly deleted?: readonly string[];
594
527
  readonly dirty?: readonly string[];
595
528
  }
596
- /**
597
- * The editor is N+1 editing views: one body plus one per header/footer
598
- * relationship, plus footnotes, text boxes, and other addressable regions.
599
- * Commands must say which one they target, or they silently hit the wrong
600
- * surface when a header is focused.
601
- *
602
- * Intentionally open-ended: this set is expected to grow (notes, frames, and
603
- * whatever regions later prove addressable), so treat it as non-exhaustive
604
- * rather than a closed enum.
605
- */
606
- type EditorScope = {
607
- kind: 'body';
608
- } | {
609
- kind: 'headerFooter';
610
- rId: string;
611
- }
612
- /**
613
- * A footnote/endnote region.
614
- *
615
- * `id` encodes kind + signed note id as `footnote:<id>` or `endnote:<id>`
616
- * (e.g. `footnote:2`). Use `formatNoteScopeId` / `parseNoteScopeId` from the
617
- * store package. Do not invent a parallel `{ noteKind, noteId }` scope arm.
618
- */
619
- | {
620
- kind: 'note';
621
- id: string;
622
- }
623
- /** A text box or floating frame with its own content, addressed by id. */
624
- | {
625
- kind: 'frame';
626
- id: string;
627
- }
628
- /** Read-only aggregate across every view. Valid for queries, not for writes. */
629
- | {
630
- kind: 'all';
631
- };
632
- /** A concrete editing view — every scope except the read-only `all` aggregate. */
633
- type ViewScope = Exclude<EditorScope, {
634
- kind: 'all';
635
- }>;
636
529
  /**
637
530
  * What a fit mode fits the page to.
638
531
  *
@@ -729,7 +622,11 @@ interface Editor {
729
622
  * `save`, `exec` and `selectMatch` complete a scheduled open before they run.
730
623
  */
731
624
  load(document: DocumentSource): void;
732
- /** Serialize the current canonical document to DOCX bytes — on demand, never per keystroke. */
625
+ /**
626
+ * Serialize the current document, finalizing pending text form values first.
627
+ * Invalid input rejects with `EditorError.code === 'invalidArgs'` and remains editable.
628
+ * Validation does not open a dialog. Other write refusals also reject the save.
629
+ */
733
630
  save(): Promise<ArrayBuffer>;
734
631
  /** An opaque handle to the current document (identity + revision). Replaces the former
735
632
  * structured `getDocument()`; the canonical state is the engine `PackageModel`, not a tree. */
@@ -835,10 +732,11 @@ interface Editor {
835
732
  readonly underline?: boolean;
836
733
  } | null;
837
734
  /**
838
- * Find across body, headers, footers, footnotes, then endnotes. Shared parts appear once.
735
+ * Find across body, headers, footers, footnotes, endnotes, and selectable text boxes.
839
736
  *
840
- * The search narrows to the body when the surface cannot open other stories. This includes
841
- * viewing mode and surfaces without header, footer, or note entry methods.
737
+ * The search narrows to the body and its selectable text boxes when other stories cannot open.
738
+ * This includes viewing mode and surfaces without header, footer, or note entry methods.
739
+ * Text boxes in footnotes and endnotes remain excluded until their drawings are selectable.
842
740
  */
843
741
  findMatches(query: string, options?: {
844
742
  readonly matchCase?: boolean;
@@ -1325,6 +1223,20 @@ interface EditorCommands extends EditorCommandShape<DocEdits>, EditorHeaderFoote
1325
1223
  * adapters and any host chrome read one answer.
1326
1224
  */
1327
1225
  toggleReviewPane: Record<never, never>;
1226
+ /** Word's Show/Hide paragraph marks; presentation only. */
1227
+ toggleParagraphMarks: Record<never, never>;
1228
+ /** Navigate tracked changes, including hidden formatting balloons, and wrap at the end. */
1229
+ navigateReviewChange: {
1230
+ direction: 'next' | 'previous';
1231
+ };
1232
+ /** Resolve all document changes, including hidden authors and other stories, in one undo step. */
1233
+ resolveAllReviewChanges: {
1234
+ action: 'accept' | 'reject';
1235
+ };
1236
+ /** Change the review projection without accepting or rejecting document revisions. */
1237
+ setReviewDisplayMode: {
1238
+ mode: 'all-markup' | 'proposed' | 'original';
1239
+ };
1328
1240
  toggleMark: {
1329
1241
  mark: string;
1330
1242
  };
@@ -1618,6 +1530,8 @@ interface EditorCommands extends EditorCommandShape<DocEdits>, EditorHeaderFoote
1618
1530
  };
1619
1531
  /** Insert a generated, hyperlink-enabled TOC for heading levels 1–3 at the selection. */
1620
1532
  insertToc: Record<never, never>;
1533
+ /** Open options for the selected or context-clicked legacy text form. */
1534
+ editTextFormField: Record<never, never>;
1621
1535
  refreshToc: {
1622
1536
  tocId?: string;
1623
1537
  mode?: 'entire' | 'pageNumbers';
@@ -1758,6 +1672,7 @@ interface EditorQueryResults extends DocQueryResults {
1758
1672
  *
1759
1673
  * A match can span runs when formatting changes mid-word; the run address is where it
1760
1674
  * STARTS. `scope` identifies a non-body story so navigation opens the correct surface.
1675
+ * A frame scope selects its anchoring drawing and never places a caret inside its story.
1761
1676
  * A match inside a field result reports the field atom's model range. Its `length` is one,
1762
1677
  * while `text` carries the visible match and can be longer. Select with `start` and `length`.
1763
1678
  * Never derive the selected length from `text.length`.
@@ -1915,6 +1830,10 @@ interface EditorSnapshot {
1915
1830
  * value-equal snapshot correctly refuses to re-render.
1916
1831
  */
1917
1832
  readonly reviewPaneOpen?: boolean;
1833
+ /** Whether Show/Hide paragraph marks is enabled. */
1834
+ readonly showParagraphMarks?: boolean;
1835
+ /** The displayed revision projection. The document and its revision history stay unchanged. */
1836
+ readonly reviewDisplayMode?: 'all-markup' | 'proposed' | 'original';
1918
1837
  /**
1919
1838
  * Whether the document carries review content — tracked changes or comment
1920
1839
  * anchors — independent of any registered review module.
@@ -1954,15 +1873,15 @@ interface EditorSnapshot {
1954
1873
  */
1955
1874
  readonly lastRejection?: string | null;
1956
1875
  /**
1957
- * Document font families that are NOT AVAILABLE: declared by the document, but with no
1958
- * byte source admitted for them, no configured redirect to an admitted face, nothing
1959
- * embedded in the file, and nothing the platform could resolve. Chrome shows a
1960
- * compatibility notice from this the way Word does.
1876
+ * Document font families that are NOT AVAILABLE: declared by the document, but with no byte
1877
+ * source admitted, no redirect to an admitted face, nothing embedded, and nothing the platform
1878
+ * could resolve. Chrome shows a compatibility notice from this the way Word does.
1961
1879
  *
1962
- * A family the app deliberately answers with a metric-compatible stand-in — Word's
1963
- * Times New Roman with Liberation Serif, say — is AVAILABLE and stays out of the list.
1964
- * The glyph outlines differ; the advance widths do not, so wrap and pagination land
1965
- * where Word puts them and there is nothing for a fidelity notice to report.
1880
+ * A family the app answers with a metric-compatible stand-in — Word's Times New Roman
1881
+ * with Liberation Serif — is AVAILABLE and stays out: the outlines differ, the advance
1882
+ * widths do not, so wrap and pagination land where Word puts them. The face a `w:sym`
1883
+ * names (MS Gothic for a checkbox, Wingdings for a bullet) stays out too, because it
1884
+ * paints one code point rather than text, and has no metric twin an app could supply.
1966
1885
  *
1967
1886
  * Optional and additive like `canUndo`: absent means the implementation has not derived
1968
1887
  * it; empty means every family resolved (or no document is loaded).
@@ -1999,4 +1918,4 @@ interface EditorEvents {
1999
1918
  error: (error: EditorError) => void;
2000
1919
  }
2001
1920
 
2002
- export { type HyperlinkInfo as $, type AuthoredNoteNumbering as A, type EditorError as B, type CanResult as C, type DocumentSource as D, EditorFontError as E, type FontSource 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 FontSourceSubstitution 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 FontFaceRequest as b, type FontConfiguration as c, type EditorSnapshot as d, type EditorCommand as e, type ImageCropPercent as f, type ImageCropPermille as g, type TrackedChangePredicate as h, cropPercentFromCropPermille as i, cropPercentFromPermille as j, cropPercentFromSourceCrop as k, cropPermilleFromCropPercent as l, cropPermilleFromPercent 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 };
1921
+ export { type NotePropertiesSide as $, type AuthoredNoteNumbering as A, type EditorError as B, type CanResult as C, type DocumentSource as D, EditorFontError as E, type FontSource 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 EditorSelection as Q, type FormatPainterLevel as R, type SelectedImageState as S, type TrackedChangeFilterMode as T, type FormatPainterMode as U, type FurnitureVariant as V, type HeaderFooterSlotArgs as W, type HeaderFooterState as X, type HyperlinkInfo as Y, type ZoomMode as Z, type NoteKind as _, type FontSourceSubstitution as a, type NotePropertiesState as a0, type PageSetup as a1, type ResolvedNoteNumbering as a2, type ReviewActivationOptions as a3, type ReviewCommentPlacement as a4, type ReviewCustomPlacement as a5, type ReviewItemPlacement as a6, type ReviewItemPlacementBase as a7, type ReviewItemQuery as a8, type ReviewRevisionPlacement as a9, type TableBorderTarget as aa, type TableCellVerticalAlignment as ab, type TableColumnDividerResizeTarget as ac, type TableColumnOccurrenceTarget as ad, type TableRightEdgeResizeTarget as ae, type TableRowOccurrenceTarget as af, type TextMatch as ag, type ZoomFitTarget as ah, type FontFaceRequest as b, type FontConfiguration as c, type EditorSnapshot as d, type EditorCommand as e, type ImageCropPercent as f, type ImageCropPermille as g, type TrackedChangePredicate as h, cropPercentFromCropPermille as i, cropPercentFromPermille as j, cropPercentFromSourceCrop as k, cropPermilleFromCropPercent as l, cropPermilleFromPercent 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 };
@@ -0,0 +1,53 @@
1
+ /**
2
+ * The editor is N+1 editing views: one body plus one per header/footer relationship, plus
3
+ * footnotes, text boxes, and other addressable regions. Commands must name their target.
4
+ *
5
+ * This set is open-ended. Treat it as non-exhaustive as more regions become addressable.
6
+ */
7
+ type EditorScope = {
8
+ kind: 'body';
9
+ } | {
10
+ kind: 'headerFooter';
11
+ rId: string;
12
+ }
13
+ /**
14
+ * A footnote/endnote region.
15
+ *
16
+ * `id` encodes kind and signed note id as `footnote:<id>` or `endnote:<id>`. Use
17
+ * `formatNoteScopeId` or `parseNoteScopeId` from the store package.
18
+ */
19
+ | {
20
+ kind: 'note';
21
+ id: string;
22
+ } | {
23
+ /**
24
+ * A text box or floating frame with its own content.
25
+ *
26
+ * Addressing one takes the drawing that hosts it as well as the story root: a frame is
27
+ * reached THROUGH its drawing, and nothing can reveal or select it from `id` alone.
28
+ */
29
+ kind: 'frame';
30
+ id: string;
31
+ /** The drawing that hosts this frame. */
32
+ drawingNodeId: string;
33
+ /** The paragraph that anchors that drawing. */
34
+ hostParagraphId: string;
35
+ /** Furniture or note story that owns this frame. Absence means the body story. */
36
+ owner?: {
37
+ kind: 'headerFooter';
38
+ rId: string;
39
+ } | {
40
+ kind: 'note';
41
+ id: string;
42
+ };
43
+ }
44
+ /** Read-only aggregate across every view. Valid for queries, not for writes. */
45
+ | {
46
+ kind: 'all';
47
+ };
48
+ /** A concrete editing view. */
49
+ type ViewScope = Exclude<EditorScope, {
50
+ kind: 'all';
51
+ }>;
52
+
53
+ export type { EditorScope as E, ViewScope as V };
package/dist/editor.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkQRC37MWG_cjs=require('./chunk-QRC37MWG.cjs'),chunkZKWRCLT2_cjs=require('./chunk-ZKWRCLT2.cjs');require('./chunk-AS7YZNQE.cjs');var chunkHOEWFH5U_cjs=require('./chunk-HOEWFH5U.cjs'),chunkAVGCKH6A_cjs=require('./chunk-AVGCKH6A.cjs');require('./chunk-LGFKIF4M.cjs'),require('./chunk-CDYVDQRI.cjs'),require('./chunk-PMHGONET.cjs'),require('./chunk-FGBADUSK.cjs'),require('./chunk-PXKZUTHX.cjs'),require('./chunk-Q4AB7E4O.cjs'),require('./chunk-2YH4MSHX.cjs'),require('./chunk-BTQKU64Q.cjs'),require('./chunk-YL4Q5LZP.cjs');var chunk24APKZAN_cjs=require('./chunk-24APKZAN.cjs');require('./chunk-OHJQ7GPZ.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ha}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ma}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ua}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ya}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ba}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.W}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.O}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ia}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.M}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.N}});Object.defineProperty(exports,"LOADING_SNAPSHOT",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.c}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.k}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.j}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.q}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.p}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.aa}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.$}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ba}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.X}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.o}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.n}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ga}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Fa}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ca}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.w}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.v}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.d}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.K}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.J}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Aa}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.za}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ga}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.va}});Object.defineProperty(exports,"chromeSlotIsToggle",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ma}});Object.defineProperty(exports,"clipboardDropLandsText",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.f}});Object.defineProperty(exports,"clipboardPasteLandsContent",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.e}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ja}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ia}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ua}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.T}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.S}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Na}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.La}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.i}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Va}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.G}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.E}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.B}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.F}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.D}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Qa}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.wa}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Y}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.t}});Object.defineProperty(exports,"editorCommandKey",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ta}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.R}});Object.defineProperty(exports,"equationAtPosition",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Da}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.L}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Wa}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.xa}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.l}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.r}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.U}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Z}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Pa}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.h}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.y}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.z}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ea}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ra}});Object.defineProperty(exports,"overlayHostOrigin",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Sa}});Object.defineProperty(exports,"partOfNodeId",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.g}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Q}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.da}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ta}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.A}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.x}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ja}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.m}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.qa}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.oa}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.sa}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.pa}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ka}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.P}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.I}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.s}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.C}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Ca}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.Oa}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.fa}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ea}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ka}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkQRC37MWG_cjs._}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.V}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.ra}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.la}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.na}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.H}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkQRC37MWG_cjs.u}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunkZKWRCLT2_cjs.a}});Object.defineProperty(exports,"FONT_RESOLVER_BRAND",{enumerable:true,get:function(){return chunkHOEWFH5U_cjs.g}});Object.defineProperty(exports,"FONT_RESOLVER_MARK_KEY",{enumerable:true,get:function(){return chunkHOEWFH5U_cjs.f}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkHOEWFH5U_cjs.b}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkHOEWFH5U_cjs.c}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkHOEWFH5U_cjs.d}});Object.defineProperty(exports,"composeFontOrigins",{enumerable:true,get:function(){return chunkHOEWFH5U_cjs.j}});Object.defineProperty(exports,"defineFontResolver",{enumerable:true,get:function(){return chunkHOEWFH5U_cjs.h}});Object.defineProperty(exports,"isFontResolver",{enumerable:true,get:function(){return chunkHOEWFH5U_cjs.i}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkAVGCKH6A_cjs.K}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunk24APKZAN_cjs.m}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunk24APKZAN_cjs.Zg}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunk24APKZAN_cjs._g}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunk24APKZAN_cjs.Ya}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunk24APKZAN_cjs.ah}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunk24APKZAN_cjs.$g}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunk24APKZAN_cjs.n}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunk24APKZAN_cjs.pb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunk24APKZAN_cjs.lb}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunk24APKZAN_cjs.Yg}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunk24APKZAN_cjs.qb}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunk24APKZAN_cjs.bh}});
1
+ 'use strict';var chunkDD7ETSGW_cjs=require('./chunk-DD7ETSGW.cjs'),chunkZKWRCLT2_cjs=require('./chunk-ZKWRCLT2.cjs');require('./chunk-B2HDVIGY.cjs');var chunkG5GLQ4SX_cjs=require('./chunk-G5GLQ4SX.cjs'),chunkJROG4U3Z_cjs=require('./chunk-JROG4U3Z.cjs');require('./chunk-TDMGSCCL.cjs'),require('./chunk-OISZDVXT.cjs'),require('./chunk-PRNYSOQL.cjs'),require('./chunk-FGBADUSK.cjs'),require('./chunk-NPZX5O23.cjs'),require('./chunk-NO7U62I2.cjs'),require('./chunk-JP253KIZ.cjs'),require('./chunk-BTQKU64Q.cjs'),require('./chunk-UIB2MDE3.cjs');var chunkZFBNCHRP_cjs=require('./chunk-ZFBNCHRP.cjs');require('./chunk-OHJQ7GPZ.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ha}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ma}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ua}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ya}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ba}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.W}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.O}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ia}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.M}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.N}});Object.defineProperty(exports,"LOADING_SNAPSHOT",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.c}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.k}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.j}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.q}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.p}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.aa}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.$}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ba}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.X}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.o}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.n}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ga}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Fa}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ca}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.w}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.v}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.d}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.K}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.J}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Aa}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.za}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ga}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.va}});Object.defineProperty(exports,"chromeSlotIsToggle",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ma}});Object.defineProperty(exports,"clipboardDropLandsText",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.f}});Object.defineProperty(exports,"clipboardPasteLandsContent",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.e}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ja}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ia}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ua}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.T}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.S}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Na}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.La}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.i}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Va}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.G}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.E}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.B}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.F}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.D}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Qa}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.wa}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Y}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.t}});Object.defineProperty(exports,"editorCommandKey",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ta}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.R}});Object.defineProperty(exports,"equationAtPosition",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Da}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.L}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Wa}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.xa}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.l}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.r}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.U}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Z}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Pa}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.h}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.y}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.z}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ea}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ra}});Object.defineProperty(exports,"overlayHostOrigin",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Sa}});Object.defineProperty(exports,"partOfNodeId",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.g}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Q}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.da}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ta}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.A}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.x}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ja}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.m}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.qa}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.oa}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.sa}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.pa}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ka}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.P}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.I}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.s}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.C}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Ca}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.Oa}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.fa}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ea}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ka}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs._}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.V}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.ra}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.la}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.na}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.H}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkDD7ETSGW_cjs.u}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunkZKWRCLT2_cjs.a}});Object.defineProperty(exports,"FONT_RESOLVER_BRAND",{enumerable:true,get:function(){return chunkG5GLQ4SX_cjs.g}});Object.defineProperty(exports,"FONT_RESOLVER_MARK_KEY",{enumerable:true,get:function(){return chunkG5GLQ4SX_cjs.f}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkG5GLQ4SX_cjs.b}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkG5GLQ4SX_cjs.c}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkG5GLQ4SX_cjs.d}});Object.defineProperty(exports,"composeFontOrigins",{enumerable:true,get:function(){return chunkG5GLQ4SX_cjs.j}});Object.defineProperty(exports,"defineFontResolver",{enumerable:true,get:function(){return chunkG5GLQ4SX_cjs.h}});Object.defineProperty(exports,"isFontResolver",{enumerable:true,get:function(){return chunkG5GLQ4SX_cjs.i}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkJROG4U3Z_cjs.K}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.m}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.Ch}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.Dh}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.cb}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.Fh}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.Eh}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.n}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.xb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.tb}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.Bh}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.yb}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkZFBNCHRP_cjs.Gh}});