@beyondwork/docx-react-component 1.0.128 → 1.0.130

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 (108) hide show
  1. package/dist/api/public-types.cjs +809 -78
  2. package/dist/api/public-types.d.cts +2 -2
  3. package/dist/api/public-types.d.ts +2 -2
  4. package/dist/api/public-types.js +4 -4
  5. package/dist/api/v3.cjs +2059 -402
  6. package/dist/api/v3.d.cts +3 -3
  7. package/dist/api/v3.d.ts +3 -3
  8. package/dist/api/v3.js +13 -13
  9. package/dist/{canonical-document-CXCFCbAz.d.cts → canonical-document-BMtONpgf.d.cts} +6 -0
  10. package/dist/{canonical-document-CXCFCbAz.d.ts → canonical-document-BMtONpgf.d.ts} +6 -0
  11. package/dist/{chunk-MWSBGJQO.js → chunk-35RHOE6I.js} +105 -4
  12. package/dist/{chunk-2QL5DAKF.js → chunk-3YCQM2RV.js} +6 -6
  13. package/dist/{chunk-ESJ2MES5.js → chunk-4YCWECLZ.js} +1 -1
  14. package/dist/{chunk-4EENH4FG.js → chunk-6TBLDBCL.js} +1 -1
  15. package/dist/{chunk-XRACP43Q.js → chunk-7G5GR3VV.js} +469 -32
  16. package/dist/{chunk-CXSYRB37.js → chunk-A3GSNB4G.js} +183 -55
  17. package/dist/{chunk-5DGKFNQT.js → chunk-A66ZVUAT.js} +150 -1
  18. package/dist/{chunk-YIYM4ZAP.js → chunk-CI2TD3T4.js} +1 -1
  19. package/dist/{chunk-TQDQU2E3.js → chunk-DGA7M77X.js} +2 -2
  20. package/dist/{chunk-EB6M3GE6.js → chunk-FM4K4XFJ.js} +100 -97
  21. package/dist/{chunk-D5HYZQTG.js → chunk-HYHCRMR7.js} +1 -1
  22. package/dist/{chunk-6F5QW44A.js → chunk-KNHMXKC6.js} +2 -2
  23. package/dist/{chunk-4YJVRIUB.js → chunk-M7YRJX6V.js} +61 -29
  24. package/dist/{chunk-KFCQYZXR.js → chunk-OVLZQ6FZ.js} +61 -0
  25. package/dist/{chunk-BYSRJ4FE.js → chunk-PHMWH23E.js} +1 -1
  26. package/dist/{chunk-ZDOAUP3V.js → chunk-Q7Y57KOK.js} +2 -2
  27. package/dist/{chunk-LZVBNDGU.js → chunk-QXKQPUOM.js} +3 -3
  28. package/dist/{chunk-CX42VC67.js → chunk-SYQWQ6FE.js} +1 -1
  29. package/dist/{chunk-KV435YXO.js → chunk-T5YYFDZB.js} +1 -1
  30. package/dist/{chunk-YHZHPXDB.js → chunk-THVM6EP5.js} +419 -24
  31. package/dist/{chunk-V6XVZFFH.js → chunk-VRKK2CSZ.js} +111 -90
  32. package/dist/{chunk-OL2UEHRP.js → chunk-WUDSNHWF.js} +1 -1
  33. package/dist/{chunk-LCYYR57Q.js → chunk-WZDKNF37.js} +666 -107
  34. package/dist/{chunk-6EROGFUF.js → chunk-YLL7MF5C.js} +444 -131
  35. package/dist/{chunk-YD2JE54B.js → chunk-ZVC23LKV.js} +1 -1
  36. package/dist/compare.cjs +100 -97
  37. package/dist/compare.d.cts +1 -1
  38. package/dist/compare.d.ts +1 -1
  39. package/dist/compare.js +3 -3
  40. package/dist/core/commands/formatting-commands.d.cts +2 -2
  41. package/dist/core/commands/formatting-commands.d.ts +2 -2
  42. package/dist/core/commands/image-commands.cjs +182 -54
  43. package/dist/core/commands/image-commands.d.cts +2 -2
  44. package/dist/core/commands/image-commands.d.ts +2 -2
  45. package/dist/core/commands/image-commands.js +5 -5
  46. package/dist/core/commands/section-layout-commands.d.cts +2 -2
  47. package/dist/core/commands/section-layout-commands.d.ts +2 -2
  48. package/dist/core/commands/style-commands.d.cts +2 -2
  49. package/dist/core/commands/style-commands.d.ts +2 -2
  50. package/dist/core/commands/table-structure-commands.cjs +182 -54
  51. package/dist/core/commands/table-structure-commands.d.cts +2 -2
  52. package/dist/core/commands/table-structure-commands.d.ts +2 -2
  53. package/dist/core/commands/table-structure-commands.js +4 -4
  54. package/dist/core/commands/text-commands.cjs +182 -54
  55. package/dist/core/commands/text-commands.d.cts +2 -2
  56. package/dist/core/commands/text-commands.d.ts +2 -2
  57. package/dist/core/commands/text-commands.js +5 -5
  58. package/dist/core/selection/mapping.d.cts +2 -2
  59. package/dist/core/selection/mapping.d.ts +2 -2
  60. package/dist/core/state/editor-state.d.cts +2 -2
  61. package/dist/core/state/editor-state.d.ts +2 -2
  62. package/dist/index.cjs +2765 -557
  63. package/dist/index.d.cts +5 -5
  64. package/dist/index.d.ts +5 -5
  65. package/dist/index.js +52 -28
  66. package/dist/io/docx-session.cjs +267 -211
  67. package/dist/io/docx-session.d.cts +4 -4
  68. package/dist/io/docx-session.d.ts +4 -4
  69. package/dist/io/docx-session.js +6 -6
  70. package/dist/legal.cjs +9 -20
  71. package/dist/legal.d.cts +1 -1
  72. package/dist/legal.d.ts +1 -1
  73. package/dist/legal.js +3 -3
  74. package/dist/{loader-19ct2Be0.d.ts → loader-B-aL5HGD.d.ts} +3 -3
  75. package/dist/{loader-CoXQ2wGd.d.cts → loader-DiY_ZgKl.d.cts} +3 -3
  76. package/dist/{measurement-backend-canvas-Q3MJMEYX.js → measurement-backend-canvas-F7ZYDACK.js} +1 -1
  77. package/dist/{public-types-B-CskQen.d.cts → public-types-DyqnxxO9.d.ts} +252 -2
  78. package/dist/{public-types-7KZsNGE2.d.ts → public-types-gvubspUI.d.cts} +252 -2
  79. package/dist/public-types.cjs +809 -78
  80. package/dist/public-types.d.cts +2 -2
  81. package/dist/public-types.d.ts +2 -2
  82. package/dist/public-types.js +4 -4
  83. package/dist/runtime/collab.d.cts +3 -3
  84. package/dist/runtime/collab.d.ts +3 -3
  85. package/dist/runtime/document-runtime.cjs +1887 -313
  86. package/dist/runtime/document-runtime.d.cts +2 -2
  87. package/dist/runtime/document-runtime.d.ts +2 -2
  88. package/dist/runtime/document-runtime.js +17 -17
  89. package/dist/{session-B5015J4v.d.cts → session-BUN6B-Vj.d.cts} +3 -3
  90. package/dist/{session-C2i8-d6v.d.ts → session-CDB0hohT.d.ts} +3 -3
  91. package/dist/session.cjs +267 -211
  92. package/dist/session.d.cts +5 -5
  93. package/dist/session.d.ts +5 -5
  94. package/dist/session.js +7 -7
  95. package/dist/tailwind.cjs +809 -78
  96. package/dist/tailwind.d.cts +2 -2
  97. package/dist/tailwind.d.ts +2 -2
  98. package/dist/tailwind.js +8 -8
  99. package/dist/{types-DNhN0WeN.d.cts → types-C4bz3kDU.d.cts} +2 -2
  100. package/dist/{types-yvrQuGX9.d.ts → types-VWH6CRvG.d.ts} +2 -2
  101. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
  102. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
  103. package/dist/ui-tailwind/editor-surface/search-plugin.js +5 -5
  104. package/dist/ui-tailwind.cjs +809 -78
  105. package/dist/ui-tailwind.d.cts +3 -3
  106. package/dist/ui-tailwind.d.ts +3 -3
  107. package/dist/ui-tailwind.js +8 -8
  108. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  extractBookmarksFromBodyXml
3
- } from "./chunk-4YJVRIUB.js";
3
+ } from "./chunk-M7YRJX6V.js";
4
4
 
5
5
  // src/legal/document-root.ts
6
6
  function resolveWalkableRoot(document) {
package/dist/compare.cjs CHANGED
@@ -3987,26 +3987,35 @@ function buildParagraphPropertiesXml(paragraph) {
3987
3987
  if (frameXml) children.push(frameXml);
3988
3988
  }
3989
3989
  pushOnOffParagraphProperty(children, "widowControl", paragraph.widowControl);
3990
- if (paragraph.outlineLevel !== void 0) {
3991
- children.push(`<w:outlineLvl w:val="${paragraph.outlineLevel}"/>`);
3992
- }
3993
3990
  if (paragraph.numbering) {
3994
3991
  children.push(serializeParagraphNumberingProperties(paragraph.numbering));
3995
3992
  }
3993
+ pushOnOffParagraphProperty(children, "suppressLineNumbers", paragraph.suppressLineNumbers);
3994
+ if (paragraph.borders) {
3995
+ const bordersXml = serializeParagraphBorders(paragraph.borders);
3996
+ if (bordersXml) children.push(bordersXml);
3997
+ }
3998
+ if (paragraph.shading) {
3999
+ const shadingXml = serializeParagraphShading(paragraph.shading);
4000
+ if (shadingXml) children.push(shadingXml);
4001
+ }
4002
+ if (paragraph.tabStops && paragraph.tabStops.length > 0) {
4003
+ const tabsXml = paragraph.tabStops.map((tab) => {
4004
+ const leaderAttr = tab.leader ? ` w:leader="${escapeXmlAttribute2(tab.leader)}"` : "";
4005
+ return `<w:tab w:val="${escapeXmlAttribute2(tab.align)}" w:pos="${twip(tab.position)}"${leaderAttr}/>`;
4006
+ }).join("");
4007
+ children.push(`<w:tabs>${tabsXml}</w:tabs>`);
4008
+ }
4009
+ pushOnOffParagraphProperty(children, "bidi", paragraph.bidi);
3996
4010
  if (paragraph.spacing) {
3997
4011
  const s = paragraph.spacing;
3998
4012
  const attrs = [];
3999
4013
  if (s.before !== void 0) attrs.push(`w:before="${twip(s.before)}"`);
4000
4014
  if (s.after !== void 0) attrs.push(`w:after="${twip(s.after)}"`);
4001
4015
  if (s.line !== void 0) attrs.push(`w:line="${twip(s.line)}"`);
4002
- if (s.lineRule !== void 0) attrs.push(`w:lineRule="${s.lineRule}"`);
4016
+ if (s.lineRule !== void 0) attrs.push(`w:lineRule="${escapeXmlAttribute2(s.lineRule)}"`);
4003
4017
  if (attrs.length > 0) children.push(`<w:spacing ${attrs.join(" ")}/>`);
4004
4018
  }
4005
- if (paragraph.contextualSpacing === true) {
4006
- children.push("<w:contextualSpacing/>");
4007
- } else if (paragraph.contextualSpacing === false) {
4008
- children.push(`<w:contextualSpacing w:val="false"/>`);
4009
- }
4010
4019
  if (paragraph.indentation) {
4011
4020
  const ind = paragraph.indentation;
4012
4021
  const attrs = [];
@@ -4016,33 +4025,20 @@ function buildParagraphPropertiesXml(paragraph) {
4016
4025
  if (ind.hanging !== void 0) attrs.push(`w:hanging="${twip(ind.hanging)}"`);
4017
4026
  if (attrs.length > 0) children.push(`<w:ind ${attrs.join(" ")}/>`);
4018
4027
  }
4019
- if (paragraph.alignment) {
4020
- children.push(`<w:jc w:val="${paragraph.alignment}"/>`);
4028
+ if (paragraph.contextualSpacing === true) {
4029
+ children.push("<w:contextualSpacing/>");
4030
+ } else if (paragraph.contextualSpacing === false) {
4031
+ children.push(`<w:contextualSpacing w:val="false"/>`);
4021
4032
  }
4022
- if (paragraph.borders) {
4023
- const bordersXml = serializeParagraphBorders(paragraph.borders);
4024
- if (bordersXml) {
4025
- children.push(bordersXml);
4026
- }
4033
+ if (paragraph.alignment) {
4034
+ children.push(`<w:jc w:val="${escapeXmlAttribute2(paragraph.alignment)}"/>`);
4027
4035
  }
4028
- if (paragraph.shading) {
4029
- const shadingXml = serializeParagraphShading(paragraph.shading);
4030
- if (shadingXml) {
4031
- children.push(shadingXml);
4032
- }
4036
+ if (paragraph.outlineLevel !== void 0) {
4037
+ children.push(`<w:outlineLvl w:val="${paragraph.outlineLevel}"/>`);
4033
4038
  }
4034
- pushOnOffParagraphProperty(children, "bidi", paragraph.bidi);
4035
- pushOnOffParagraphProperty(children, "suppressLineNumbers", paragraph.suppressLineNumbers);
4036
4039
  if (paragraph.cnfStyle) {
4037
4040
  children.push(`<w:cnfStyle w:val="${escapeXmlAttribute2(paragraph.cnfStyle)}"/>`);
4038
4041
  }
4039
- if (paragraph.tabStops && paragraph.tabStops.length > 0) {
4040
- const tabsXml = paragraph.tabStops.map((tab) => {
4041
- const leaderAttr = tab.leader ? ` w:leader="${tab.leader}"` : "";
4042
- return `<w:tab w:val="${tab.align}" w:pos="${twip(tab.position)}"${leaderAttr}/>`;
4043
- }).join("");
4044
- children.push(`<w:tabs>${tabsXml}</w:tabs>`);
4045
- }
4046
4042
  if (children.length === 0) return "";
4047
4043
  return `<w:pPr>${children.join("")}</w:pPr>`;
4048
4044
  }
@@ -4607,79 +4603,86 @@ function serializeRunProperties(marks) {
4607
4603
  if (!marks || marks.length === 0) {
4608
4604
  return "";
4609
4605
  }
4606
+ const orderedTypes = [
4607
+ "fontFamily",
4608
+ "bold",
4609
+ "italic",
4610
+ "allCaps",
4611
+ "smallCaps",
4612
+ "strikethrough",
4613
+ "doubleStrikethrough",
4614
+ "shadow",
4615
+ "emboss",
4616
+ "imprint",
4617
+ "vanish",
4618
+ "textColor",
4619
+ "charSpacing",
4620
+ "kerning",
4621
+ "position",
4622
+ "fontSize",
4623
+ "highlight",
4624
+ "underline",
4625
+ "backgroundColor",
4626
+ "lang",
4627
+ "textFill"
4628
+ ];
4610
4629
  const markParts = [];
4611
- for (const mark of marks) {
4612
- switch (mark.type) {
4613
- case "bold":
4614
- markParts.push("<w:b/>");
4615
- break;
4616
- case "italic":
4617
- markParts.push("<w:i/>");
4618
- break;
4619
- case "underline":
4620
- markParts.push(`<w:u w:val="single"/>`);
4621
- break;
4622
- case "strikethrough":
4623
- markParts.push("<w:strike/>");
4624
- break;
4625
- case "doubleStrikethrough":
4626
- markParts.push("<w:dstrike/>");
4627
- break;
4628
- case "vanish":
4629
- markParts.push("<w:vanish/>");
4630
- break;
4631
- case "lang":
4632
- markParts.push(`<w:lang w:val="${escapeXmlAttribute2(mark.val)}"/>`);
4633
- break;
4634
- case "highlight":
4635
- markParts.push(`<w:highlight w:val="${escapeXmlAttribute2(mark.val)}"/>`);
4636
- break;
4637
- case "backgroundColor":
4638
- markParts.push(
4639
- `<w:shd w:val="clear" w:color="auto" w:fill="${escapeXmlAttribute2(mark.color)}"/>`
4640
- );
4641
- break;
4642
- case "charSpacing":
4643
- markParts.push(`<w:spacing w:val="${mark.val}"/>`);
4644
- break;
4645
- case "kerning":
4646
- markParts.push(`<w:kern w:val="${mark.val}"/>`);
4647
- break;
4648
- case "emboss":
4649
- markParts.push("<w:emboss/>");
4650
- break;
4651
- case "imprint":
4652
- markParts.push("<w:imprint/>");
4653
- break;
4654
- case "shadow":
4655
- markParts.push("<w:shadow/>");
4656
- break;
4657
- case "position":
4658
- markParts.push(`<w:position w:val="${mark.val}"/>`);
4659
- break;
4660
- case "textFill":
4661
- markParts.push(mark.xml);
4662
- break;
4663
- case "fontFamily":
4664
- markParts.push(`<w:rFonts w:ascii="${escapeXmlAttribute2(mark.val)}" w:hAnsi="${escapeXmlAttribute2(mark.val)}"/>`);
4665
- break;
4666
- case "fontSize":
4667
- markParts.push(`<w:sz w:val="${mark.val}"/>`);
4668
- break;
4669
- case "textColor":
4670
- markParts.push(`<w:color w:val="${escapeXmlAttribute2(mark.color)}"/>`);
4671
- break;
4672
- case "smallCaps":
4673
- markParts.push("<w:smallCaps/>");
4674
- break;
4675
- case "allCaps":
4676
- markParts.push("<w:caps/>");
4677
- break;
4630
+ for (const type of orderedTypes) {
4631
+ for (const mark of marks) {
4632
+ if (mark.type !== type) continue;
4633
+ const xml = serializeRunPropertyMark(mark);
4634
+ if (xml) markParts.push(xml);
4678
4635
  }
4679
4636
  }
4680
4637
  const children = markParts.join("");
4681
4638
  return children.length > 0 ? `<w:rPr>${children}</w:rPr>` : "";
4682
4639
  }
4640
+ function serializeRunPropertyMark(mark) {
4641
+ switch (mark.type) {
4642
+ case "bold":
4643
+ return "<w:b/>";
4644
+ case "italic":
4645
+ return "<w:i/>";
4646
+ case "underline":
4647
+ return `<w:u w:val="single"/>`;
4648
+ case "strikethrough":
4649
+ return "<w:strike/>";
4650
+ case "doubleStrikethrough":
4651
+ return "<w:dstrike/>";
4652
+ case "vanish":
4653
+ return "<w:vanish/>";
4654
+ case "lang":
4655
+ return `<w:lang w:val="${escapeXmlAttribute2(mark.val)}"/>`;
4656
+ case "highlight":
4657
+ return `<w:highlight w:val="${escapeXmlAttribute2(mark.val)}"/>`;
4658
+ case "backgroundColor":
4659
+ return `<w:shd w:val="clear" w:color="auto" w:fill="${escapeXmlAttribute2(mark.color)}"/>`;
4660
+ case "charSpacing":
4661
+ return `<w:spacing w:val="${mark.val}"/>`;
4662
+ case "kerning":
4663
+ return `<w:kern w:val="${mark.val}"/>`;
4664
+ case "emboss":
4665
+ return "<w:emboss/>";
4666
+ case "imprint":
4667
+ return "<w:imprint/>";
4668
+ case "shadow":
4669
+ return "<w:shadow/>";
4670
+ case "position":
4671
+ return `<w:position w:val="${mark.val}"/>`;
4672
+ case "textFill":
4673
+ return mark.xml;
4674
+ case "fontFamily":
4675
+ return `<w:rFonts w:ascii="${escapeXmlAttribute2(mark.val)}" w:hAnsi="${escapeXmlAttribute2(mark.val)}"/>`;
4676
+ case "fontSize":
4677
+ return `<w:sz w:val="${mark.val}"/>`;
4678
+ case "textColor":
4679
+ return `<w:color w:val="${escapeXmlAttribute2(mark.color)}"/>`;
4680
+ case "smallCaps":
4681
+ return "<w:smallCaps/>";
4682
+ case "allCaps":
4683
+ return "<w:caps/>";
4684
+ }
4685
+ }
4683
4686
  function requiresPreservedSpace(text) {
4684
4687
  return /^\s/.test(text) || /\s$/.test(text) || text.includes(" ");
4685
4688
  }
@@ -1,4 +1,4 @@
1
- import { C as CanonicalDocument, B as BlockNode } from './canonical-document-CXCFCbAz.cjs';
1
+ import { C as CanonicalDocument, B as BlockNode } from './canonical-document-BMtONpgf.cjs';
2
2
 
3
3
  type OpcCompressionMethod = "store" | "deflate";
4
4
  type OpcSurfaceKind = "content" | "relationships" | "content-types";
package/dist/compare.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as CanonicalDocument, B as BlockNode } from './canonical-document-CXCFCbAz.js';
1
+ import { C as CanonicalDocument, B as BlockNode } from './canonical-document-BMtONpgf.js';
2
2
 
3
3
  type OpcCompressionMethod = "store" | "deflate";
4
4
  type OpcSurfaceKind = "content" | "relationships" | "content-types";
package/dist/compare.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCommentStoreFromRuntimeComments
3
- } from "./chunk-CX42VC67.js";
3
+ } from "./chunk-SYQWQ6FE.js";
4
4
  import "./chunk-OYGMRRR7.js";
5
5
  import {
6
6
  createCommentExportIdMap,
@@ -10,12 +10,12 @@ import {
10
10
  serializeMergedCommentsXml,
11
11
  serializeRuntimeRevisionsIntoDocumentXml,
12
12
  splitDocumentAtReviewBoundaries
13
- } from "./chunk-OL2UEHRP.js";
13
+ } from "./chunk-WUDSNHWF.js";
14
14
  import {
15
15
  WORD_NUMBERING_CONTENT_TYPE,
16
16
  serializeMainDocument,
17
17
  serializeNumberingXml
18
- } from "./chunk-EB6M3GE6.js";
18
+ } from "./chunk-FM4K4XFJ.js";
19
19
  import "./chunk-IHE7YOAY.js";
20
20
  import {
21
21
  DOCX_DOCUMENT_CONTENT_TYPE,
@@ -1,7 +1,7 @@
1
1
  import 'prosemirror-state';
2
2
  import 'prosemirror-model';
3
- export { g4 as Alignment, g5 as FormattingMutationResult, g6 as FormattingOperation, g7 as TextMarkClearTarget, g8 as TextMarkRangeOperation, g9 as applyFormattingOperationToDocument, ga as applyIndentation, gb as applyTextMarkOperationToDocumentRange, gc as getFormattingStateFromRenderSnapshot, gd as isMarkActive, ge as makeSetAlignment, gf as makeSetFontFamily, gg as makeSetFontSize, gh as makeSetHighlight, gi as makeSetTextColor, gj as makeToggleAllCaps, gk as makeToggleBold, gl as makeToggleItalic, gm as makeToggleSmallCaps, gn as makeToggleStrikethrough, go as makeToggleSubscript, gp as makeToggleSuperscript, gq as makeToggleUnderline } from '../../public-types-B-CskQen.cjs';
4
- import '../../canonical-document-CXCFCbAz.cjs';
3
+ export { g4 as Alignment, g5 as FormattingMutationResult, g6 as FormattingOperation, g7 as TextMarkClearTarget, g8 as TextMarkRangeOperation, g9 as applyFormattingOperationToDocument, ga as applyIndentation, gb as applyTextMarkOperationToDocumentRange, gc as getFormattingStateFromRenderSnapshot, gd as isMarkActive, ge as makeSetAlignment, gf as makeSetFontFamily, gg as makeSetFontSize, gh as makeSetHighlight, gi as makeSetTextColor, gj as makeToggleAllCaps, gk as makeToggleBold, gl as makeToggleItalic, gm as makeToggleSmallCaps, gn as makeToggleStrikethrough, go as makeToggleSubscript, gp as makeToggleSuperscript, gq as makeToggleUnderline } from '../../public-types-gvubspUI.cjs';
4
+ import '../../canonical-document-BMtONpgf.cjs';
5
5
  import 'react';
6
6
  import 'yjs';
7
7
  import 'y-protocols/awareness';
@@ -1,7 +1,7 @@
1
1
  import 'prosemirror-state';
2
2
  import 'prosemirror-model';
3
- export { g4 as Alignment, g5 as FormattingMutationResult, g6 as FormattingOperation, g7 as TextMarkClearTarget, g8 as TextMarkRangeOperation, g9 as applyFormattingOperationToDocument, ga as applyIndentation, gb as applyTextMarkOperationToDocumentRange, gc as getFormattingStateFromRenderSnapshot, gd as isMarkActive, ge as makeSetAlignment, gf as makeSetFontFamily, gg as makeSetFontSize, gh as makeSetHighlight, gi as makeSetTextColor, gj as makeToggleAllCaps, gk as makeToggleBold, gl as makeToggleItalic, gm as makeToggleSmallCaps, gn as makeToggleStrikethrough, go as makeToggleSubscript, gp as makeToggleSuperscript, gq as makeToggleUnderline } from '../../public-types-7KZsNGE2.js';
4
- import '../../canonical-document-CXCFCbAz.js';
3
+ export { g4 as Alignment, g5 as FormattingMutationResult, g6 as FormattingOperation, g7 as TextMarkClearTarget, g8 as TextMarkRangeOperation, g9 as applyFormattingOperationToDocument, ga as applyIndentation, gb as applyTextMarkOperationToDocumentRange, gc as getFormattingStateFromRenderSnapshot, gd as isMarkActive, ge as makeSetAlignment, gf as makeSetFontFamily, gg as makeSetFontSize, gh as makeSetHighlight, gi as makeSetTextColor, gj as makeToggleAllCaps, gk as makeToggleBold, gl as makeToggleItalic, gm as makeToggleSmallCaps, gn as makeToggleStrikethrough, go as makeToggleSubscript, gp as makeToggleSuperscript, gq as makeToggleUnderline } from '../../public-types-DyqnxxO9.js';
4
+ import '../../canonical-document-BMtONpgf.js';
5
5
  import 'react';
6
6
  import 'yjs';
7
7
  import 'y-protocols/awareness';