@docx-editor.dev/core 2.22.0 → 2.23.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 (107) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +13 -12
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +11 -10
  6. package/dist/binding.js +1 -1
  7. package/dist/chunk-4OAXZNBU.js +5 -0
  8. package/dist/chunk-6745I4XF.cjs +20 -0
  9. package/dist/chunk-6KA3L3FR.cjs +11 -0
  10. package/dist/chunk-6QS5WL63.js +1 -0
  11. package/dist/{chunk-X2LJDR53.cjs → chunk-BUDXZ7T2.cjs} +5 -5
  12. package/dist/chunk-DYRXA5UJ.cjs +2 -0
  13. package/dist/chunk-DZOGUV7O.js +1 -0
  14. package/dist/chunk-EHT4LKKZ.cjs +1 -0
  15. package/dist/chunk-F5LAOPAD.js +20 -0
  16. package/dist/chunk-FWX535CS.cjs +1 -0
  17. package/dist/chunk-GRVRQBKU.js +1 -0
  18. package/dist/chunk-JN62FLHE.cjs +4 -0
  19. package/dist/{chunk-5RKCJ5DF.js → chunk-KRBBWATQ.js} +1 -1
  20. package/dist/chunk-KV5HFE23.cjs +2 -0
  21. package/dist/{chunk-RLKX7BIP.cjs → chunk-PCPBDYEL.cjs} +1 -1
  22. package/dist/chunk-Q4RDWB3U.cjs +18 -0
  23. package/dist/{chunk-P5PWSRNW.cjs → chunk-QK23BSRK.cjs} +1 -1
  24. package/dist/chunk-QTFAXWVI.cjs +1 -0
  25. package/dist/chunk-RLO64PHP.cjs +1 -0
  26. package/dist/chunk-T7RGKBCE.cjs +5 -0
  27. package/dist/{chunk-IWAUA732.js → chunk-UMBHUW6R.js} +1 -1
  28. package/dist/chunk-VE6H5EJA.js +5 -0
  29. package/dist/chunk-WHG23WNI.js +1 -0
  30. package/dist/chunk-XBYZTDF7.js +4 -0
  31. package/dist/chunk-XRBPZCNK.js +11 -0
  32. package/dist/chunk-Y5JCIWTF.js +2 -0
  33. package/dist/chunk-ZA6HEWUM.js +2 -0
  34. package/dist/chunk-ZCRSPN4Q.js +18 -0
  35. package/dist/collaboration/replication.cjs +1 -1
  36. package/dist/collaboration/replication.d.ts +6 -5
  37. package/dist/collaboration/replication.js +1 -1
  38. package/dist/collaboration.d.ts +7 -6
  39. package/dist/contracts/document.d.ts +4 -3
  40. package/dist/contracts/editor.d.ts +9 -9
  41. package/dist/contracts/interaction.d.ts +2 -1
  42. package/dist/contracts/modules.d.ts +9 -8
  43. package/dist/contracts/types.d.ts +1 -1
  44. package/dist/{custom-node-writes-Ck6eOiJ3.d.ts → custom-node-writes-77rvPW2-.d.ts} +4 -3
  45. package/dist/{document-protection-CMPEonQc.d.ts → document-protection-CYIjO-li.d.ts} +3 -2
  46. package/dist/{editor-BKDVqXyk.d.ts → editor-DhUQsWWH.d.ts} +132 -26
  47. package/dist/editor.cjs +1 -1
  48. package/dist/editor.css +1 -1
  49. package/dist/editor.d.ts +57 -66
  50. package/dist/editor.js +1 -1
  51. package/dist/export.cjs +2 -2
  52. package/dist/export.d.ts +17 -16
  53. package/dist/export.js +2 -2
  54. package/dist/{failure-DNNmwsgD.d.ts → failure-BIPVQbRm.d.ts} +2 -1
  55. package/dist/{font-resolver-PBc8Vuxs.d.ts → font-resolver-BwoHFBlr.d.ts} +3 -2
  56. package/dist/{headless-document-view-9wjJT20Y.d.ts → headless-document-view-Cc3fFWhv.d.ts} +4 -3
  57. package/dist/{image-resources-B0v-XaTM.d.ts → image-resources-DkuzBnTM.d.ts} +3 -2
  58. package/dist/{index-DQA53aR1.d.ts → index-BYaCkGKO.d.ts} +61 -26
  59. package/dist/index.cjs +1 -1
  60. package/dist/index.d.ts +18 -18
  61. package/dist/index.js +1 -1
  62. package/dist/{layout-shaping-Dyr0ZSOI.d.ts → layout-shaping-DpWQG26a.d.ts} +3 -2
  63. package/dist/layout.cjs +1 -1
  64. package/dist/layout.d.ts +116 -50
  65. package/dist/layout.js +1 -1
  66. package/dist/{note-properties-D_lmG9xx.d.ts → note-properties-DMfKK3QU.d.ts} +3 -2
  67. package/dist/{omml-equation-CfTm3jOK.d.ts → omml-equation-BY7OdfGY.d.ts} +3 -2
  68. package/dist/output.cjs +1 -1
  69. package/dist/output.d.ts +9 -8
  70. package/dist/output.js +1 -1
  71. package/dist/{protocol-CkVDxyQ3.d.ts → protocol-CPAakntQ.d.ts} +4 -3
  72. package/dist/{review-paragraph-order-BjUs-tDd.d.ts → review-paragraph-order-B0BP_wJP.d.ts} +1 -1
  73. package/dist/{revision-projection-DDVBYTIG.d.ts → revision-projection-CVJeA2jp.d.ts} +3 -2
  74. package/dist/{semantic-cell-selection-DW6qsmoC.d.ts → semantic-cell-selection-B8GF_H2e.d.ts} +10 -6
  75. package/dist/{semantic-interaction-BNiYSBcB.d.ts → semantic-interaction-DQjtIruQ.d.ts} +3 -2
  76. package/dist/{semantic-paint-DE236npp.d.ts → semantic-paint-DoPl85nR.d.ts} +4 -3
  77. package/dist/{semantic-records-C5OeXnaL.d.ts → semantic-records-DB0VgWsr.d.ts} +888 -778
  78. package/dist/store.cjs +1 -1
  79. package/dist/store.d.ts +17 -16
  80. package/dist/store.js +1 -1
  81. package/dist/{tree-package-fragment-DBb97w3F.d.ts → tree-package-fragment-BIyGh6L8.d.ts} +4 -3
  82. package/dist/{tree-session-contract-BYat3RKx.d.ts → tree-session-contract-CHcCnz3W.d.ts} +7 -6
  83. package/dist/{types-barrel-ChGvWjkO.d.ts → types-barrel-DN_-gaRX.d.ts} +70 -5
  84. package/package.json +3 -3
  85. package/dist/chunk-65GJRSZ5.cjs +0 -18
  86. package/dist/chunk-6TBRG6SA.cjs +0 -20
  87. package/dist/chunk-A72MJGY7.cjs +0 -4
  88. package/dist/chunk-AZ7QSAXH.js +0 -4
  89. package/dist/chunk-BL57VQ7E.js +0 -1
  90. package/dist/chunk-CB6RQ3GD.cjs +0 -11
  91. package/dist/chunk-FGBADUSK.cjs +0 -1
  92. package/dist/chunk-GG4IAKFI.js +0 -5
  93. package/dist/chunk-HJYLFMLX.js +0 -2
  94. package/dist/chunk-HL6NO7IH.cjs +0 -2
  95. package/dist/chunk-HZQFGB2X.cjs +0 -5
  96. package/dist/chunk-OZXBAEWW.js +0 -2
  97. package/dist/chunk-PD5XKBJA.js +0 -1
  98. package/dist/chunk-REMFTPDL.cjs +0 -2
  99. package/dist/chunk-UGLO2GA5.cjs +0 -1
  100. package/dist/chunk-UOQONZVQ.js +0 -11
  101. package/dist/chunk-VD2MWTR6.js +0 -20
  102. package/dist/chunk-VIXH2OVP.js +0 -1
  103. package/dist/chunk-VP7SDFCM.js +0 -1
  104. package/dist/chunk-W2JIZ5JH.js +0 -18
  105. package/dist/chunk-W5H62AWM.cjs +0 -1
  106. package/dist/chunk-YQXY6TQ3.js +0 -5
  107. package/dist/chunk-YYFBYVW4.cjs +0 -1
@@ -1483,6 +1483,12 @@ interface VectorShapeComponent {
1483
1483
  readonly strokeHex: string | null;
1484
1484
  readonly strokeAlpha: number;
1485
1485
  readonly strokeWidthEmu: number;
1486
+ /**
1487
+ * The outline sits inside the closed geometry (`a:ln algn="in"`): painters draw it at twice
1488
+ * its width clipped to the path, so the authored width stays inside the shape and adds no
1489
+ * reach past the extent. Set only for a closed outline with area.
1490
+ */
1491
+ readonly strokeInset?: boolean;
1486
1492
  }
1487
1493
  /**
1488
1494
  * The story carried by a `wps:wsp` text box (`wps:txbx` → `w:txbxContent`).
@@ -1515,6 +1521,33 @@ interface TextboxStoryProjection {
1515
1521
  readonly strokeWidthEmu: number;
1516
1522
  }
1517
1523
 
1524
+ /** One picture painted as a member of a drawing group. */
1525
+ interface GroupPictureProjection {
1526
+ readonly embeddedRelationshipId: string | null;
1527
+ readonly linkedRelationshipId: string | null;
1528
+ readonly crop: Readonly<{
1529
+ left: number;
1530
+ top: number;
1531
+ right: number;
1532
+ bottom: number;
1533
+ }>;
1534
+ /** The picture's rectangle inside the drawing extent, in extent EMU. */
1535
+ readonly frameEmu: Readonly<{
1536
+ x: number;
1537
+ y: number;
1538
+ cx: number;
1539
+ cy: number;
1540
+ }>;
1541
+ /** Canonical node id of the `pic:pic` member. The vector projection skips it. */
1542
+ readonly memberNodeId: string;
1543
+ /**
1544
+ * Whether the group is the chosen branch of a run-level `mc:AlternateContent`. Layout then
1545
+ * drops the whole group when the picture resource fails, as the projection drops other
1546
+ * MC payloads it cannot draw.
1547
+ */
1548
+ readonly alternateContent: boolean;
1549
+ }
1550
+
1518
1551
  /**
1519
1552
  * Whether a drawing sits in the text flow or is positioned against a frame.
1520
1553
  *
@@ -1625,6 +1658,8 @@ interface DrawingProjection {
1625
1658
  }> | null;
1626
1659
  readonly picture: PictureProjection | null;
1627
1660
  readonly vectorShape: VectorShapeProjection | null;
1661
+ /** The picture member of a `wpg:wgp` group; `picture` stays null for a group. */
1662
+ readonly groupPicture: GroupPictureProjection | null;
1628
1663
  readonly textboxStory: TextboxStoryProjection | null;
1629
1664
  /** Read-only preview of the supported native VML subset; the canonical XML is untouched. */
1630
1665
  readonly legacyGraphic?: LegacyGraphicProjection;
@@ -1632,8 +1667,14 @@ interface DrawingProjection {
1632
1667
  readonly effects: DrawingImageEffects;
1633
1668
  readonly compatibilityBranchNodeId: string | null;
1634
1669
  readonly diagnostics: readonly DrawingDiagnostic[];
1670
+ /** Layout-only wrap area of an MC payload that cannot paint (`wrapFootprintProjection`). */
1671
+ readonly footprintOnly?: true;
1635
1672
  }
1636
1673
  interface DrawingAccessibility {
1674
+ /**
1675
+ * The record takes part in layout only, for example the wrap area of a payload that cannot
1676
+ * paint. Outputs must not paint, hit-test, select, link, or export it.
1677
+ */
1637
1678
  readonly hidden: boolean;
1638
1679
  readonly decorative: boolean;
1639
1680
  readonly label: string | null;
@@ -2435,6 +2476,8 @@ type TableBorderStyle = (typeof TABLE_BORDER_STYLES)[number];
2435
2476
  /** Which paragraph-level reads the selection disagrees about. @public */
2436
2477
  interface ParagraphDisagreements {
2437
2478
  readonly alignment: boolean;
2479
+ /** The selection mixes left-to-right and right-to-left paragraphs. */
2480
+ readonly direction: boolean;
2438
2481
  readonly spaceBeforePt: boolean;
2439
2482
  readonly spaceAfterPt: boolean;
2440
2483
  readonly lineSpacing: boolean;
@@ -2465,6 +2508,11 @@ interface ParagraphFlags {
2465
2508
  */
2466
2509
  interface ParagraphFormatCommand {
2467
2510
  alignment?: 'left' | 'center' | 'right' | 'justify';
2511
+ /**
2512
+ * Paragraph base direction (`w:bidi`), Word's Direction setting. `ltr` writes an explicit
2513
+ * off value where a style would otherwise make the paragraph right-to-left.
2514
+ */
2515
+ direction?: 'ltr' | 'rtl';
2468
2516
  spaceBeforePt?: number | null;
2469
2517
  spaceAfterPt?: number | null;
2470
2518
  lineSpacing?: {
@@ -2651,8 +2699,16 @@ interface RunFormatting {
2651
2699
  readonly fontSizePt?: number;
2652
2700
  readonly superscript?: boolean;
2653
2701
  readonly subscript?: boolean;
2654
- /** Paragraph alignment at the selection. `both` is OOXML's spelling of justify. */
2702
+ /**
2703
+ * Paragraph alignment at the selection, as a PHYSICAL edge. `both` is OOXML's spelling of
2704
+ * justify. A right-to-left paragraph with no `w:jc` reads `right`.
2705
+ */
2655
2706
  readonly alignment?: 'left' | 'center' | 'right' | 'both';
2707
+ /**
2708
+ * Paragraph base direction at the selection (`w:bidi` through the style cascade). Absent
2709
+ * when the selection's paragraphs disagree; `disagrees.direction` then says so.
2710
+ */
2711
+ readonly direction?: 'ltr' | 'rtl';
2656
2712
  /** Paragraph style id (`w:pStyle`) at the selection. */
2657
2713
  readonly styleId?: string;
2658
2714
  /**
@@ -2727,9 +2783,12 @@ interface RunFormatting {
2727
2783
  * not know the cell.
2728
2784
  */
2729
2785
  interface IndentFormatting {
2730
- /** Left indent, signed. Negative pulls text into the margin, as Word allows. */
2786
+ /**
2787
+ * Leading indent (`w:left`), signed: the left one, or the right one in a right-to-left
2788
+ * paragraph. Negative pulls text into the margin, as Word allows.
2789
+ */
2731
2790
  readonly left: number;
2732
- /** Right indent, signed. */
2791
+ /** Trailing indent (`w:right`), signed: the right one, or the left one right to left. */
2733
2792
  readonly right: number;
2734
2793
  /** First-line offset from {@link left}, signed. Negative is a hanging indent. */
2735
2794
  readonly firstLine: number;
@@ -2739,6 +2798,11 @@ interface IndentFormatting {
2739
2798
  readonly right: boolean;
2740
2799
  readonly firstLine: boolean;
2741
2800
  };
2801
+ /**
2802
+ * The first selected paragraph reads right to left, so `left` and the first line sit on
2803
+ * the right margin. Absent for a left-to-right paragraph.
2804
+ */
2805
+ readonly rtl?: true;
2742
2806
  }
2743
2807
  /** A table: its rows, and the table style they resolve through. */
2744
2808
  interface Table {
@@ -3053,7 +3117,7 @@ interface TableBorderSpecInput {
3053
3117
  */
3054
3118
  declare const ACCEPTED_RUN_PROPERTIES: readonly ["rFonts", "sz", "szCs", "color", "b", "bCs", "i", "iCs", "u", "strike", "dstrike", "highlight", "vertAlign", "position", "caps", "smallCaps", "spacing", "w", "kern"];
3055
3119
  /** The accepted PARAGRAPH property boundary (design D8). */
3056
- declare const ACCEPTED_PARAGRAPH_PROPERTIES: readonly ["pStyle", "jc", "spacing", "ind", "tabs", "numPr", "keepNext", "keepLines", "widowControl", "pageBreakBefore", "contextualSpacing", "shd"];
3120
+ declare const ACCEPTED_PARAGRAPH_PROPERTIES: readonly ["pStyle", "jc", "spacing", "ind", "tabs", "numPr", "keepNext", "keepLines", "widowControl", "pageBreakBefore", "contextualSpacing", "shd", "bidi"];
3057
3121
  /**
3058
3122
  * One tab stop an op can author: where it sits, how it aligns, and what fills the gap.
3059
3123
  *
@@ -4063,4 +4127,5 @@ type TreeOpResult = {
4063
4127
  readonly detail?: string;
4064
4128
  };
4065
4129
 
4066
- export { type RevisionBatchSkipReason as $, type IndentFormatting as A, type Block as B, type CommentRecord as C, type DocxDocument as D, type ExecResult as E, type ParagraphFlags as F, type ParagraphTabStop as G, type HeaderFooterSet as H, type InsertableContentControlType as I, type RevisionType as J, type Section as K, type SectionProperties as L, type StyleDefinition as M, type Theme as N, type OoxmlPart as O, type Paragraph as P, type ThemeColorScheme as Q, type ReviewModelInput as R, type StyleDefinitions as S, type Table as T, type OoxmlNodeId as U, type OoxmlGenericElementNode as V, type TreeDocOp as W, type OoxmlPackageLimits as X, type OoxmlPackageRejection as Y, type RevisionBatchEntry as Z, type RevisionBatchResult as _, type ReviewItem as a, type CommentPosition as a$, type OoxmlProperty as a0, type OoxmlElement as a1, type OoxmlContentControlNode as a2, type OoxmlContentControlContentNode as a3, type DrawingProjection as a4, type TreeOpRejection as a5, type AutomationTableMutation as a6, type RevisionAttributionInput as a7, type SourceCrop as a8, type DrawingKind as a9, type OoxmlSeparatorNode as aA, type DrawingTreeDocOp as aB, type ImpactClass as aC, type TreeDocColorValue as aD, IMAGE_WRAP_TARGETS as aE, TEXT_FORM_FORMATS as aF, type TableBorderStyle as aG, type DrawingAccessibility as aH, type DrawingImageEffects as aI, type DrawingTransform as aJ, type VectorShapeProjection as aK, type OoxmlDrawingNode as aL, type OoxmlInvariantResult as aM, type OoxmlFldCharNode as aN, type OoxmlFldSimpleNode as aO, type OoxmlInstrTextNode as aP, type OoxmlInvariantIssue as aQ, type TreeOpResult as aR, type RelationshipRecord as aS, type OoxmlHardBreakNode as aT, type OoxmlAttribute as aU, type CommentThreadState as aV, ACCEPTED_PARAGRAPH_PROPERTIES as aW, ACCEPTED_RUN_PROPERTIES as aX, CONTENT_CONTROL_ID_MAX as aY, CONTENT_CONTROL_PROPERTY_ORDER as aZ, type CommentAnchor as a_, type ImageWrapTarget as aa, type DrawingPositionInput as ab, type DrawingLocks as ac, type ParagraphFormatCommand as ad, type Watermark as ae, type Rect as af, type SelectionPin as ag, type Unsubscribe as ah, type DocxDocumentJSON as ai, type DrawingHorizontalReferenceFrame as aj, type DrawingVerticalReferenceFrame as ak, type FontDefinition as al, type NumberingRef as am, type PageMargins as an, type ParagraphDisagreements as ao, type Point as ap, type Run as aq, type TableCell as ar, type TableRow as as, type OoxmlParagraphNode as at, type OoxmlNoteNode as au, type OoxmlContinuationSeparatorNode as av, type OoxmlEndnotesNode as aw, type OoxmlFootnotesNode as ax, type OoxmlNoteRefNode as ay, type OoxmlNoteReferenceNode as az, type ReviewRevisionItem as b, type OoxmlReadRejection as b$, type CommitTextFormFieldOp as b0, type ContentControlCheckbox as b1, type ContentControlCheckboxState as b2, type ContentControlDataBinding as b3, type ContentControlDateFormat as b4, type ContentControlEntry as b5, type ContentControlKind as b6, type ContentControlLevel as b7, type ContentControlListItem as b8, type ContentControlLock as b9, type OoxmlContentControlCalendarNode as bA, type OoxmlContentControlCheckboxNode as bB, type OoxmlContentControlCheckedNode as bC, type OoxmlContentControlCheckedStateNode as bD, type OoxmlContentControlComboBoxNode as bE, type OoxmlContentControlDataBindingNode as bF, type OoxmlContentControlDateFormatNode as bG, type OoxmlContentControlDateNode as bH, type OoxmlContentControlDropDownListNode as bI, type OoxmlContentControlEndPropertiesNode as bJ, type OoxmlContentControlLidNode as bK, type OoxmlContentControlListItemNode as bL, type OoxmlContentControlPropertiesNode as bM, type OoxmlContentControlStoreMappedDataAsNode as bN, type OoxmlContentControlTextNode as bO, type OoxmlContentControlUncheckedStateNode as bP, type OoxmlDocumentNode as bQ, type OoxmlExternalTarget as bR, type OoxmlGenericExtensionAttribute as bS, type OoxmlHyperlinkNode as bT, type OoxmlInvariantIssueCode as bU, type OoxmlKnownNodeAttribute as bV, type OoxmlNamespaceBinding as bW, type OoxmlNodeIdentityRules as bX, type OoxmlPackageResult as bY, type OoxmlParagraphPropertiesNode as bZ, type OoxmlPartMetadata as b_, type ContentControlProperties as ba, type ContentTypeError as bb, type ContentTypeIndex as bc, type ContentTypeRecords as bd, DEFAULT_OOXML_PACKAGE_LIMITS as be, DEFAULT_ZIP_LIMITS as bf, type DefaultRecord as bg, type DeleteTextOp as bh, HYPERLINK_RELATIONSHIP_TYPE as bi, type HyperlinkKind as bj, type HyperlinkTarget as bk, IMAGE_RELATIONSHIP_TYPE as bl, type ImageRelationshipResolution as bm, type IndexResult as bn, type InsertBuildingBlockOp as bo, type InsertTextOp as bp, type LegacyCheckboxFieldRange as bq, MAX_CONTENT_CONTROLS_PER_PART as br, MAX_CONTENT_CONTROL_NESTING as bs, type NameRejection as bt, type NameResult as bu, OFFICE_RELATIONSHIP_NAMESPACE_URI as bv, OOXML_NODE_IDENTITY_RULES as bw, type OoxmlBodyNode as bx, type OoxmlBookmarkEndNode as by, type OoxmlBookmarkStartNode as bz, type ReviewCommentItem as c, isContentControlWrapper as c$, type OoxmlReadResult as c0, type OoxmlRunNode as c1, type OoxmlRunPropertiesNode as c2, type OoxmlTabNode as c3, type OoxmlTextElementNode as c4, type OoxmlTextNode as c5, type OoxmlWmlValAttribute as c6, type OoxmlXmlSpaceAttribute as c7, type OverrideRecord as c8, type RelationshipError as c9, allocateContentControlId as cA, asciiFold as cB, buildContentTypeIndex as cC, buildRelationshipSet as cD, childElements as cE, commentAnchorsOfStory as cF, commentsOfPart as cG, contentControlContentChildren as cH, contentControlContentNodeOf as cI, contentControlEndPropertiesNodeOf as cJ, contentControlLevelOf as cK, contentControlPropertiesNodeOf as cL, contentControlPropertiesOf as cM, contentControlTextOf as cN, contentControlsIn as cO, detectDuplicateNames as cP, extensionKey as cQ, findContentControl as cR, findElement as cS, firstReviewRange as cT, flattenContentControls as cU, hasAnyComment as cV, hyperlinkAnchorOf as cW, hyperlinkRelationshipIdOf as cX, hyperlinkTargetOf as cY, isContentControlContentNode as cZ, isContentControlNode as c_, type RelationshipSetResult as ca, type RelationshipTargetResolver as cb, type ResolveResult as cc, type ResolvedRelationship as cd, type SetLegacyCheckboxOp as ce, type SetLegacyDropdownOp as cf, type SetTextFormFieldDefaultOp as cg, TABLE_BORDER_STYLES as ch, type TabStopWrite as ci, type TargetMode as cj, type TextFormFieldOptions as ck, type TextFormFieldRange as cl, type TextFormFieldType as cm, type TreeDocOpKind as cn, type TreeOpEffect as co, W15_NAMESPACE_URI as cp, WML_NAMESPACE_URI as cq, XMLNS_NAMESPACE_URI as cr, XML_NAMESPACE_URI as cs, type XmlLimits as ct, type XmlNode as cu, type XmlRejection as cv, type XmlResult as cw, type ZipLimits as cx, type ZipReadResult as cy, type ZipRejection as cz, type ReviewCustomItem as d, isContentRevisionKind as d0, isHyperlinkNode as d1, isRangeMarkerKind as d2, isValidMime as d3, legacyCheckboxFieldsOf as d4, lockForbidsEdit as d5, lockForbidsRemoval as d6, normalizePartName as d7, orderedContentControlProperties as d8, parseContentControlId as d9, reviewItemsAt as dA, reviewThreadRootOf as dB, partNameKey as da, planRevisionBatch as db, projectDrawing as dc, readOnOffChild as dd, readOoxmlPackage as de, readOoxmlPart as df, readXml as dg, readZip as dh, resolveContentControlLock as di, resolveContentType as dj, resolveImageRelationship as dk, resolveInternalTarget as dl, resolveRelationship as dm, reviewItemKey as dn, reviewItemRanges as dp, textContent as dq, textFormFieldsOf as dr, threadStateOfPart as ds, validateExternalTarget as dt, withPart as du, writeOoxmlPackage as dv, writeZip as dw, type VectorShapeComponent as dx, activeReviewItem as dy, reviewItemPositionRank as dz, type ReviewPosition as e, type ReviewRange as f, type ReviewRevisionKind as g, type RevisionAddress as h, type OoxmlNode as i, type OoxmlPackage as j, type ContentControlType as k, type DocTarget as l, type RunFormatting as m, type Extent as n, type ContainerRef as o, type ContentControlFilter as p, type DocRange as q, type Revision as r, type DocComment as s, type ColorValue as t, type ContentControl as u, type DocAnchor as v, type DocAnchorRange as w, type DocLocation as x, type DocumentBody as y, type ExecErrorCode as z };
4130
+ export { IMAGE_WRAP_TARGETS as aE, TEXT_FORM_FORMATS as aF, ACCEPTED_PARAGRAPH_PROPERTIES as aW, ACCEPTED_RUN_PROPERTIES as aX, CONTENT_CONTROL_ID_MAX as aY, CONTENT_CONTROL_PROPERTY_ORDER as aZ, DEFAULT_OOXML_PACKAGE_LIMITS as be, DEFAULT_ZIP_LIMITS as bf, HYPERLINK_RELATIONSHIP_TYPE as bi, IMAGE_RELATIONSHIP_TYPE as bl, MAX_CONTENT_CONTROLS_PER_PART as br, MAX_CONTENT_CONTROL_NESTING as bs, OFFICE_RELATIONSHIP_NAMESPACE_URI as bv, OOXML_NODE_IDENTITY_RULES as bw, isContentControlWrapper as c$, allocateContentControlId as cA, asciiFold as cB, buildContentTypeIndex as cC, buildRelationshipSet as cD, childElements as cE, commentAnchorsOfStory as cF, commentsOfPart as cG, contentControlContentChildren as cH, contentControlContentNodeOf as cI, contentControlEndPropertiesNodeOf as cJ, contentControlLevelOf as cK, contentControlPropertiesNodeOf as cL, contentControlPropertiesOf as cM, contentControlTextOf as cN, contentControlsIn as cO, detectDuplicateNames as cP, extensionKey as cQ, findContentControl as cR, findElement as cS, firstReviewRange as cT, flattenContentControls as cU, hasAnyComment as cV, hyperlinkAnchorOf as cW, hyperlinkRelationshipIdOf as cX, hyperlinkTargetOf as cY, isContentControlContentNode as cZ, isContentControlNode as c_, TABLE_BORDER_STYLES as ch, W15_NAMESPACE_URI as cp, WML_NAMESPACE_URI as cq, XMLNS_NAMESPACE_URI as cr, XML_NAMESPACE_URI as cs, isContentRevisionKind as d0, isHyperlinkNode as d1, isRangeMarkerKind as d2, isValidMime as d3, legacyCheckboxFieldsOf as d4, lockForbidsEdit as d5, lockForbidsRemoval as d6, normalizePartName as d7, orderedContentControlProperties as d8, parseContentControlId as d9, reviewItemsAt as dA, reviewThreadRootOf as dB, partNameKey as da, planRevisionBatch as db, projectDrawing as dc, readOnOffChild as dd, readOoxmlPackage as de, readOoxmlPart as df, readXml as dg, readZip as dh, resolveContentControlLock as di, resolveContentType as dj, resolveImageRelationship as dk, resolveInternalTarget as dl, resolveRelationship as dm, reviewItemKey as dn, reviewItemRanges as dp, textContent as dq, textFormFieldsOf as dr, threadStateOfPart as ds, validateExternalTarget as dt, withPart as du, writeOoxmlPackage as dv, writeZip as dw, activeReviewItem as dy, reviewItemPositionRank as dz };
4131
+ export type { RevisionBatchSkipReason as $, ParagraphTabStop as A, Block as B, CommentRecord as C, DocxDocument as D, ExecResult as E, RevisionType as F, Section as G, HeaderFooterSet as H, InsertableContentControlType as I, SectionProperties as J, StyleDefinition as K, Theme as L, ThemeColorScheme as M, OoxmlNode as N, OoxmlPart as O, Paragraph as P, OoxmlPackage as Q, ReviewModelInput as R, StyleDefinitions as S, Table as T, OoxmlNodeId as U, OoxmlGenericElementNode as V, TreeDocOp as W, OoxmlPackageLimits as X, OoxmlPackageRejection as Y, RevisionBatchEntry as Z, RevisionBatchResult as _, ReviewItem as a, CommentPosition as a$, OoxmlProperty as a0, OoxmlElement as a1, OoxmlContentControlNode as a2, OoxmlContentControlContentNode as a3, DrawingProjection as a4, TreeOpRejection as a5, AutomationTableMutation as a6, RevisionAttributionInput as a7, SourceCrop as a8, DrawingKind as a9, OoxmlSeparatorNode as aA, DrawingTreeDocOp as aB, ImpactClass as aC, TreeDocColorValue as aD, TableBorderStyle as aG, DrawingAccessibility as aH, DrawingImageEffects as aI, DrawingTransform as aJ, VectorShapeProjection as aK, OoxmlDrawingNode as aL, OoxmlInvariantResult as aM, OoxmlFldCharNode as aN, OoxmlFldSimpleNode as aO, OoxmlInstrTextNode as aP, OoxmlInvariantIssue as aQ, TreeOpResult as aR, RelationshipRecord as aS, OoxmlHardBreakNode as aT, OoxmlAttribute as aU, CommentThreadState as aV, CommentAnchor as a_, ImageWrapTarget as aa, DrawingPositionInput as ab, DrawingLocks as ac, ParagraphFormatCommand as ad, Watermark as ae, Rect as af, SelectionPin as ag, Unsubscribe as ah, DocxDocumentJSON as ai, DrawingHorizontalReferenceFrame as aj, DrawingVerticalReferenceFrame as ak, FontDefinition as al, NumberingRef as am, PageMargins as an, ParagraphDisagreements as ao, Point as ap, Run as aq, TableCell as ar, TableRow as as, OoxmlParagraphNode as at, OoxmlNoteNode as au, OoxmlContinuationSeparatorNode as av, OoxmlEndnotesNode as aw, OoxmlFootnotesNode as ax, OoxmlNoteRefNode as ay, OoxmlNoteReferenceNode as az, ReviewRevisionItem as b, OoxmlReadRejection as b$, CommitTextFormFieldOp as b0, ContentControlCheckbox as b1, ContentControlCheckboxState as b2, ContentControlDataBinding as b3, ContentControlDateFormat as b4, ContentControlEntry as b5, ContentControlKind as b6, ContentControlLevel as b7, ContentControlListItem as b8, ContentControlLock as b9, OoxmlContentControlCalendarNode as bA, OoxmlContentControlCheckboxNode as bB, OoxmlContentControlCheckedNode as bC, OoxmlContentControlCheckedStateNode as bD, OoxmlContentControlComboBoxNode as bE, OoxmlContentControlDataBindingNode as bF, OoxmlContentControlDateFormatNode as bG, OoxmlContentControlDateNode as bH, OoxmlContentControlDropDownListNode as bI, OoxmlContentControlEndPropertiesNode as bJ, OoxmlContentControlLidNode as bK, OoxmlContentControlListItemNode as bL, OoxmlContentControlPropertiesNode as bM, OoxmlContentControlStoreMappedDataAsNode as bN, OoxmlContentControlTextNode as bO, OoxmlContentControlUncheckedStateNode as bP, OoxmlDocumentNode as bQ, OoxmlExternalTarget as bR, OoxmlGenericExtensionAttribute as bS, OoxmlHyperlinkNode as bT, OoxmlInvariantIssueCode as bU, OoxmlKnownNodeAttribute as bV, OoxmlNamespaceBinding as bW, OoxmlNodeIdentityRules as bX, OoxmlPackageResult as bY, OoxmlParagraphPropertiesNode as bZ, OoxmlPartMetadata as b_, ContentControlProperties as ba, ContentTypeError as bb, ContentTypeIndex as bc, ContentTypeRecords as bd, DefaultRecord as bg, DeleteTextOp as bh, HyperlinkKind as bj, HyperlinkTarget as bk, ImageRelationshipResolution as bm, IndexResult as bn, InsertBuildingBlockOp as bo, InsertTextOp as bp, LegacyCheckboxFieldRange as bq, NameRejection as bt, NameResult as bu, OoxmlBodyNode as bx, OoxmlBookmarkEndNode as by, OoxmlBookmarkStartNode as bz, ReviewCommentItem as c, OoxmlReadResult as c0, OoxmlRunNode as c1, OoxmlRunPropertiesNode as c2, OoxmlTabNode as c3, OoxmlTextElementNode as c4, OoxmlTextNode as c5, OoxmlWmlValAttribute as c6, OoxmlXmlSpaceAttribute as c7, OverrideRecord as c8, RelationshipError as c9, RelationshipSetResult as ca, RelationshipTargetResolver as cb, ResolveResult as cc, ResolvedRelationship as cd, SetLegacyCheckboxOp as ce, SetLegacyDropdownOp as cf, SetTextFormFieldDefaultOp as cg, TabStopWrite as ci, TargetMode as cj, TextFormFieldOptions as ck, TextFormFieldRange as cl, TextFormFieldType as cm, TreeDocOpKind as cn, TreeOpEffect as co, XmlLimits as ct, XmlNode as cu, XmlRejection as cv, XmlResult as cw, ZipLimits as cx, ZipReadResult as cy, ZipRejection as cz, ReviewCustomItem as d, VectorShapeComponent as dx, ReviewPosition as e, ReviewRange as f, ReviewRevisionKind as g, RevisionAddress as h, ContentControlType as i, DocTarget as j, RunFormatting as k, Extent as l, ContainerRef as m, ContentControlFilter as n, DocRange as o, Revision as p, DocComment as q, ColorValue as r, ContentControl as s, DocAnchor as t, DocAnchorRange as u, DocLocation as v, DocumentBody as w, ExecErrorCode as x, IndentFormatting as y, ParagraphFlags as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docx-editor.dev/core",
3
- "version": "2.22.0",
3
+ "version": "2.23.0",
4
4
  "description": "Framework-agnostic core for docx-editor.dev: OOXML parse/serialize, the canonical document tree, layout and paint, and the Editor contract the adapters render.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -87,7 +87,7 @@
87
87
  "./package.json": "./package.json"
88
88
  },
89
89
  "scripts": {
90
- "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsup && node ../../scripts/build-core-styles.mjs",
90
+ "build": "node ../../scripts/check-built-siblings.mjs && node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsup && node ../../scripts/build-core-declarations.mjs && node ../../scripts/build-core-styles.mjs",
91
91
  "typecheck": "tsc --noEmit"
92
92
  },
93
93
  "devDependencies": {
@@ -105,7 +105,7 @@
105
105
  "directory": "packages/core"
106
106
  },
107
107
  "dependencies": {
108
- "@docx-editor.dev/i18n": "^2.22.0",
108
+ "@docx-editor.dev/i18n": "^2.23.0",
109
109
  "bidi-js": "1.1.0",
110
110
  "emf-converter": "2.0.2",
111
111
  "fast-xml-parser": "^5.10.1",