@beyondwork/docx-react-component 1.0.124 → 1.0.126

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/dist/api/public-types.cjs +147 -35
  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 +3 -3
  5. package/dist/api/v3.cjs +796 -102
  6. package/dist/api/v3.d.cts +3 -3
  7. package/dist/api/v3.d.ts +3 -3
  8. package/dist/api/v3.js +10 -10
  9. package/dist/{canonical-document-CG2TgAzj.d.cts → canonical-document-CXCFCbAz.d.cts} +2 -0
  10. package/dist/{canonical-document-CG2TgAzj.d.ts → canonical-document-CXCFCbAz.d.ts} +2 -0
  11. package/dist/{chunk-PFYUJU3Q.js → chunk-2QL5DAKF.js} +98 -43
  12. package/dist/{chunk-4IPEZYQX.js → chunk-4EENH4FG.js} +1 -1
  13. package/dist/{chunk-BOHHIVQ2.js → chunk-4G3OS2H6.js} +3 -3
  14. package/dist/{chunk-A74Y5NE4.js → chunk-4YJVRIUB.js} +52 -21
  15. package/dist/{chunk-FNWKE74J.js → chunk-5DGKFNQT.js} +5 -1
  16. package/dist/{chunk-RSYN6FTS.js → chunk-6F5QW44A.js} +2 -2
  17. package/dist/{chunk-ZMRO6P3A.js → chunk-6IGWPAR4.js} +505 -44
  18. package/dist/{chunk-KOHQFZMM.js → chunk-BYSRJ4FE.js} +1 -1
  19. package/dist/{chunk-H6IL5ABU.js → chunk-CXSYRB37.js} +64 -20
  20. package/dist/{chunk-32ZAOQ54.js → chunk-D5HYZQTG.js} +1 -1
  21. package/dist/{chunk-TY4DIJO3.js → chunk-ESJ2MES5.js} +1 -1
  22. package/dist/{chunk-Q76XPPTA.js → chunk-FPRWV54X.js} +101 -14
  23. package/dist/{chunk-MPH4ZQS4.js → chunk-GL7XRYBY.js} +624 -87
  24. package/dist/{chunk-IR7QV2BX.js → chunk-KV435YXO.js} +2 -2
  25. package/dist/{chunk-N4VIXI2Z.js → chunk-MWSBGJQO.js} +137 -18
  26. package/dist/{chunk-7PC6XUNO.js → chunk-TQDQU2E3.js} +2 -2
  27. package/dist/{chunk-4B74ETJI.js → chunk-V6XVZFFH.js} +2 -2
  28. package/dist/{chunk-NAMAWCXN.js → chunk-YD2JE54B.js} +1 -1
  29. package/dist/{chunk-ZRHLLPSJ.js → chunk-YHZHPXDB.js} +85 -18
  30. package/dist/{chunk-HXHQA4BU.js → chunk-YIYM4ZAP.js} +1 -1
  31. package/dist/{chunk-LGWNN3L2.js → chunk-ZDOAUP3V.js} +2 -2
  32. package/dist/compare.d.cts +1 -1
  33. package/dist/compare.d.ts +1 -1
  34. package/dist/core/commands/formatting-commands.d.cts +2 -2
  35. package/dist/core/commands/formatting-commands.d.ts +2 -2
  36. package/dist/core/commands/image-commands.cjs +65 -20
  37. package/dist/core/commands/image-commands.d.cts +2 -2
  38. package/dist/core/commands/image-commands.d.ts +2 -2
  39. package/dist/core/commands/image-commands.js +5 -5
  40. package/dist/core/commands/section-layout-commands.d.cts +2 -2
  41. package/dist/core/commands/section-layout-commands.d.ts +2 -2
  42. package/dist/core/commands/style-commands.d.cts +2 -2
  43. package/dist/core/commands/style-commands.d.ts +2 -2
  44. package/dist/core/commands/table-structure-commands.cjs +65 -20
  45. package/dist/core/commands/table-structure-commands.d.cts +2 -2
  46. package/dist/core/commands/table-structure-commands.d.ts +2 -2
  47. package/dist/core/commands/table-structure-commands.js +4 -4
  48. package/dist/core/commands/text-commands.cjs +66 -21
  49. package/dist/core/commands/text-commands.d.cts +2 -2
  50. package/dist/core/commands/text-commands.d.ts +2 -2
  51. package/dist/core/commands/text-commands.js +5 -5
  52. package/dist/core/selection/mapping.d.cts +2 -2
  53. package/dist/core/selection/mapping.d.ts +2 -2
  54. package/dist/core/state/editor-state.d.cts +2 -2
  55. package/dist/core/state/editor-state.d.ts +2 -2
  56. package/dist/index.cjs +1677 -240
  57. package/dist/index.d.cts +5 -5
  58. package/dist/index.d.ts +5 -5
  59. package/dist/index.js +62 -25
  60. package/dist/io/docx-session.cjs +51 -20
  61. package/dist/io/docx-session.d.cts +4 -4
  62. package/dist/io/docx-session.d.ts +4 -4
  63. package/dist/io/docx-session.js +4 -4
  64. package/dist/legal.cjs +36 -12
  65. package/dist/legal.d.cts +1 -1
  66. package/dist/legal.d.ts +1 -1
  67. package/dist/legal.js +3 -3
  68. package/dist/{loader-D9y4ZRjj.d.ts → loader-CS9-9KFa.d.ts} +3 -3
  69. package/dist/{loader-D9KCtj4m.d.cts → loader-OoWJ1_17.d.cts} +3 -3
  70. package/dist/{public-types-CNnMHZM9.d.ts → public-types-BP3vqJR5.d.cts} +157 -11
  71. package/dist/{public-types-DajNGKV4.d.cts → public-types-DdcHqcow.d.ts} +157 -11
  72. package/dist/public-types.cjs +147 -35
  73. package/dist/public-types.d.cts +2 -2
  74. package/dist/public-types.d.ts +2 -2
  75. package/dist/public-types.js +3 -3
  76. package/dist/runtime/collab.d.cts +3 -3
  77. package/dist/runtime/collab.d.ts +3 -3
  78. package/dist/runtime/document-runtime.cjs +945 -134
  79. package/dist/runtime/document-runtime.d.cts +2 -2
  80. package/dist/runtime/document-runtime.d.ts +2 -2
  81. package/dist/runtime/document-runtime.js +14 -14
  82. package/dist/{session-DyQGlryH.d.cts → session-Cq-fzx3B.d.cts} +3 -3
  83. package/dist/{session-DEmaOEjA.d.ts → session-DyFQt8Ph.d.ts} +3 -3
  84. package/dist/session.cjs +51 -20
  85. package/dist/session.d.cts +5 -5
  86. package/dist/session.d.ts +5 -5
  87. package/dist/session.js +5 -5
  88. package/dist/tailwind.cjs +238 -73
  89. package/dist/tailwind.d.cts +2 -2
  90. package/dist/tailwind.d.ts +2 -2
  91. package/dist/tailwind.js +7 -7
  92. package/dist/{types-CxE1aZiv.d.cts → types-Bg7D-GD3.d.cts} +2 -2
  93. package/dist/{types-DjJNaE9c.d.ts → types-bJAgMq1M.d.ts} +2 -2
  94. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
  95. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
  96. package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
  97. package/dist/ui-tailwind.cjs +238 -73
  98. package/dist/ui-tailwind.d.cts +3 -3
  99. package/dist/ui-tailwind.d.ts +3 -3
  100. package/dist/ui-tailwind.js +7 -7
  101. package/package.json +1 -1
@@ -1540,7 +1540,7 @@ function createParagraphEditableTarget(paragraph, kind, storyKey, blockPath, tar
1540
1540
  context: { storyKey, insideSdt: contentControl !== void 0 },
1541
1541
  ...tableTarget
1542
1542
  }) : void 0;
1543
- const listAddress = tableIdentity === void 0 && paragraph.numbering !== void 0 ? createCanonicalAddress({
1543
+ const listAddress = paragraph.numbering !== void 0 ? createCanonicalAddress({
1544
1544
  addressKind: "list-item-text",
1545
1545
  storyKey,
1546
1546
  staleCheckKind: "paragraph",
@@ -1574,6 +1574,7 @@ function createParagraphEditableTarget(paragraph, kind, storyKey, blockPath, tar
1574
1574
  ...contentControl !== void 0 ? { contentControl } : {},
1575
1575
  ...tableIdentity !== void 0 ? { table: tableIdentity } : {},
1576
1576
  ...editableOwner !== void 0 ? { editableOwner } : {},
1577
+ ...listAddress !== void 0 ? { listAddress } : {},
1577
1578
  ...tableIdentity !== void 0 ? {
1578
1579
  canonicalAddress: createTableTargetCanonicalAddress(
1579
1580
  tableIdentity,
@@ -3673,6 +3674,7 @@ function mergeLevelDefinition(base, override, startOverride, fallbackLevel) {
3673
3674
  );
3674
3675
  const runProperties = override?.runProperties ?? base?.runProperties;
3675
3676
  const restartAfterLevel = override?.restartAfterLevel ?? base?.restartAfterLevel;
3677
+ const picBulletId = override?.picBulletId ?? base?.picBulletId;
3676
3678
  return {
3677
3679
  level,
3678
3680
  format,
@@ -3683,7 +3685,8 @@ function mergeLevelDefinition(base, override, startOverride, fallbackLevel) {
3683
3685
  ...override?.suffix ?? base?.suffix ? { suffix: override?.suffix ?? base?.suffix } : {},
3684
3686
  ...paragraphGeometry ? { paragraphGeometry } : {},
3685
3687
  ...runProperties ? { runProperties } : {},
3686
- ...restartAfterLevel !== void 0 ? { restartAfterLevel } : {}
3688
+ ...restartAfterLevel !== void 0 ? { restartAfterLevel } : {},
3689
+ ...picBulletId !== void 0 ? { picBulletId } : {}
3687
3690
  };
3688
3691
  }
3689
3692
  function withDefaultStartAt(level) {
@@ -3811,7 +3814,7 @@ function resolveHangingWidth(indentation) {
3811
3814
  // src/runtime/formatting/numbering/prefix.ts
3812
3815
  function createNumberingPrefixResolver(catalog) {
3813
3816
  const sequenceStates = /* @__PURE__ */ new Map();
3814
- function resolveInternal(numbering, paragraph) {
3817
+ function resolveInternal(numbering, paragraph, options = {}) {
3815
3818
  const resolved = resolveNumberingDefinitionSet(
3816
3819
  catalog,
3817
3820
  paragraph?.numbering ?? numbering,
@@ -3824,29 +3827,44 @@ function createNumberingPrefixResolver(catalog) {
3824
3827
  if (!resolvedNumbering) {
3825
3828
  return null;
3826
3829
  }
3827
- const sequenceState = getSequenceState(sequenceStates, resolvedNumbering.numberingInstanceId);
3828
- advanceSequence(sequenceState, resolved.effectiveLevel.level, resolved.effectiveLevels);
3830
+ const advance = options.advance !== false;
3831
+ const sequenceState = getSequenceState(
3832
+ sequenceStates,
3833
+ resolvedNumbering.numberingInstanceId,
3834
+ { create: advance }
3835
+ );
3836
+ if (!sequenceState) {
3837
+ return null;
3838
+ }
3839
+ const workingState = advance ? sequenceState : cloneSequenceState(sequenceState);
3840
+ advanceSequence(workingState, resolved.effectiveLevel.level, resolved.effectiveLevels);
3841
+ const currentCounter = workingState.counters[resolved.effectiveLevel.level];
3829
3842
  const effectiveLevelDefs = resolved.effectiveLevel.isLegalNumbering ? new Map(
3830
3843
  Array.from(resolved.effectiveLevels.entries()).map(([level, definition]) => [
3831
3844
  level,
3832
3845
  { ...definition, format: "decimal" }
3833
3846
  ])
3834
3847
  ) : resolved.effectiveLevels;
3848
+ const picBulletId = resolved.effectiveLevel.picBulletId;
3835
3849
  const text = renderLevelText(
3836
3850
  resolved.effectiveLevel.text,
3837
- sequenceState.counters,
3851
+ workingState.counters,
3838
3852
  effectiveLevelDefs
3839
3853
  );
3840
- if (resolved.effectiveLevel.format !== "none" && text === null) {
3854
+ if (picBulletId == null && resolved.effectiveLevel.format !== "none" && text === null) {
3841
3855
  return null;
3842
3856
  }
3843
3857
  const visibleText = resolved.effectiveLevel.format === "none" ? null : text;
3844
- const picBulletId = resolved.effectiveLevel.picBulletId;
3858
+ const formatPosture = getNumberingFormatPosture(
3859
+ resolved.effectiveLevel.format,
3860
+ currentCounter
3861
+ );
3845
3862
  const picBulletMediaId = picBulletId != null ? catalog.numPicBullets?.[picBulletId]?.mediaId : void 0;
3846
3863
  return {
3847
3864
  text: visibleText,
3848
3865
  level: resolved.effectiveLevel.level,
3849
3866
  format: resolved.effectiveLevel.format,
3867
+ ...formatPosture !== void 0 ? { formatPosture } : {},
3850
3868
  startAt: resolved.effectiveLevel.startAt ?? DEFAULT_NUMBERING_START_AT,
3851
3869
  ...resolved.effectiveLevel.suffix ? { suffix: resolved.effectiveLevel.suffix } : {},
3852
3870
  ...resolved.effectiveLevel.paragraphStyleId ? { paragraphStyleId: resolved.effectiveLevel.paragraphStyleId } : {},
@@ -3857,23 +3875,26 @@ function createNumberingPrefixResolver(catalog) {
3857
3875
  };
3858
3876
  }
3859
3877
  return {
3860
- resolve(numbering) {
3861
- const result = resolveInternal(numbering);
3878
+ resolve(numbering, options) {
3879
+ const result = resolveInternal(numbering, void 0, options);
3862
3880
  return result?.text ?? null;
3863
3881
  },
3864
- resolveDetailed(numbering, paragraph) {
3865
- return resolveInternal(numbering, paragraph);
3882
+ resolveDetailed(numbering, paragraph, options) {
3883
+ return resolveInternal(numbering, paragraph, options);
3866
3884
  },
3867
- resolveParagraph(paragraph) {
3868
- return resolveInternal(paragraph.numbering, paragraph);
3885
+ resolveParagraph(paragraph, options) {
3886
+ return resolveInternal(paragraph.numbering, paragraph, options);
3869
3887
  }
3870
3888
  };
3871
3889
  }
3872
- function getSequenceState(states, numberingInstanceId) {
3890
+ function getSequenceState(states, numberingInstanceId, options = { create: true }) {
3873
3891
  const existing = states.get(numberingInstanceId);
3874
3892
  if (existing) {
3875
3893
  return existing;
3876
3894
  }
3895
+ if (options.create === false) {
3896
+ return { counters: [], lastLevel: null };
3897
+ }
3877
3898
  const created = {
3878
3899
  counters: [],
3879
3900
  lastLevel: null
@@ -3881,6 +3902,12 @@ function getSequenceState(states, numberingInstanceId) {
3881
3902
  states.set(numberingInstanceId, created);
3882
3903
  return created;
3883
3904
  }
3905
+ function cloneSequenceState(state) {
3906
+ return {
3907
+ counters: [...state.counters],
3908
+ lastLevel: state.lastLevel
3909
+ };
3910
+ }
3884
3911
  function advanceSequence(state, currentLevel, levelDefinitions) {
3885
3912
  for (let level = currentLevel + 1; level < state.counters.length; level += 1) {
3886
3913
  if (shouldResetDeeperLevel(level, currentLevel, levelDefinitions)) {
@@ -3912,6 +3939,25 @@ function shouldResetDeeperLevel(level, triggeringLevel, levelDefinitions) {
3912
3939
  function getLevelStartAt(level, levelDefinitions) {
3913
3940
  return levelDefinitions.get(level)?.startAt ?? DEFAULT_NUMBERING_START_AT;
3914
3941
  }
3942
+ function getNumberingFormatPosture(format, value) {
3943
+ if (!isSupportedNumberingFormat(format)) {
3944
+ return {
3945
+ status: "approximated",
3946
+ requestedFormat: format,
3947
+ renderedFormat: "decimal",
3948
+ reason: "unsupported-numbering-format-decimal-fallback"
3949
+ };
3950
+ }
3951
+ if (value !== void 0 && ((format === "upperRoman" || format === "lowerRoman") && (value <= 0 || value >= 4e3) || (format === "cardinalText" || format === "ordinalText") && (!Number.isInteger(value) || value < 1 || value > 999) || (format === "upperLetter" || format === "lowerLetter" || format === "chicago") && value < 1)) {
3952
+ return {
3953
+ status: "approximated",
3954
+ requestedFormat: format,
3955
+ renderedFormat: "decimal",
3956
+ reason: "numbering-format-range-decimal-fallback"
3957
+ };
3958
+ }
3959
+ return void 0;
3960
+ }
3915
3961
  function renderLevelText(text, counters, levelDefinitions) {
3916
3962
  if (!text) {
3917
3963
  return null;
@@ -4754,6 +4800,7 @@ function toNumberingLayoutInput(numbering) {
4754
4800
  associatedTabStops: toLayoutTabStops(numbering.geometry.tabStops, "numbering"),
4755
4801
  level: numbering.level,
4756
4802
  format: numbering.format,
4803
+ ...numbering.formatPosture !== void 0 ? { formatPosture: { ...numbering.formatPosture } } : {},
4757
4804
  startAt: numbering.startAt,
4758
4805
  ...numbering.isLegalNumbering ? { isLegalNumbering: true } : {},
4759
4806
  ...numbering.picBulletMediaId ? { pictureBulletMediaId: numbering.picBulletMediaId } : {}
@@ -4983,13 +5030,10 @@ var FormattingContextImpl = class {
4983
5030
  const effectiveNumbering = this.resolveEffectiveParagraphNumbering(para);
4984
5031
  if (!effectiveNumbering) return null;
4985
5032
  if (!emitGeometry) {
4986
- if (advance) this.numbering.resolve(effectiveNumbering);
5033
+ this.numbering.resolve(effectiveNumbering, { advance });
4987
5034
  return null;
4988
5035
  }
4989
- if (!advance) {
4990
- console.warn("[formatting-context] resolveParagraphNumbering({advance:false}) is not supported; counter always advances");
4991
- }
4992
- return this.numbering.resolveDetailed(effectiveNumbering, para);
5036
+ return this.numbering.resolveDetailed(effectiveNumbering, para, { advance });
4993
5037
  }
4994
5038
  resolveNumberingLayoutInput(para, options = {}) {
4995
5039
  return toNumberingLayoutInput(this.resolveParagraphNumbering(para, options));
@@ -7184,6 +7228,7 @@ function toSurfaceResolvedNumbering(numbering) {
7184
7228
  return {
7185
7229
  level: numbering.level,
7186
7230
  format: numbering.format,
7231
+ ...numbering.formatPosture !== void 0 ? { formatPosture: { ...numbering.formatPosture } } : {},
7187
7232
  ...numbering.text !== null ? { text: numbering.text } : {},
7188
7233
  startAt: numbering.startAt,
7189
7234
  ...numbering.paragraphStyleId ? { paragraphStyleId: numbering.paragraphStyleId } : {},
@@ -8198,7 +8243,7 @@ function parseCanonicalTextLeafPath(path) {
8198
8243
  if (normalized[offset] !== "/") return null;
8199
8244
  offset += 1;
8200
8245
  }
8201
- return tokens.some((token) => token.kind === "txbx") ? tokens : null;
8246
+ return tokens.length > 0 ? tokens : null;
8202
8247
  }
8203
8248
  function parseCanonicalHyperlinkPath(path) {
8204
8249
  const blockStart = path.indexOf("/block[");
@@ -1,8 +1,8 @@
1
- import { T as TextTransactionTextTarget, C as CanonicalDocumentEnvelope, S as SelectionSnapshot, d as TextTransactionResult, e as StructuralMutationResult, I as InsertTableOptions, f as TextFormattingDirective, g as TransactionMapping } from '../../public-types-DajNGKV4.cjs';
1
+ import { T as TextTransactionTextTarget, C as CanonicalDocumentEnvelope, S as SelectionSnapshot, d as TextTransactionResult, e as StructuralMutationResult, I as InsertTableOptions, f as TextFormattingDirective, g as TransactionMapping } from '../../public-types-BP3vqJR5.cjs';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
- import '../../canonical-document-CG2TgAzj.cjs';
5
+ import '../../canonical-document-CXCFCbAz.cjs';
6
6
  import 'prosemirror-state';
7
7
  import 'prosemirror-model';
8
8
 
@@ -1,8 +1,8 @@
1
- import { T as TextTransactionTextTarget, C as CanonicalDocumentEnvelope, S as SelectionSnapshot, d as TextTransactionResult, e as StructuralMutationResult, I as InsertTableOptions, f as TextFormattingDirective, g as TransactionMapping } from '../../public-types-CNnMHZM9.js';
1
+ import { T as TextTransactionTextTarget, C as CanonicalDocumentEnvelope, S as SelectionSnapshot, d as TextTransactionResult, e as StructuralMutationResult, I as InsertTableOptions, f as TextFormattingDirective, g as TransactionMapping } from '../../public-types-DdcHqcow.js';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
- import '../../canonical-document-CG2TgAzj.js';
5
+ import '../../canonical-document-CXCFCbAz.js';
6
6
  import 'prosemirror-state';
7
7
  import 'prosemirror-model';
8
8
 
@@ -8,14 +8,14 @@ import {
8
8
  insertText,
9
9
  outdentParagraphAtSelection,
10
10
  splitParagraph
11
- } from "../../chunk-BOHHIVQ2.js";
11
+ } from "../../chunk-4G3OS2H6.js";
12
12
  import "../../chunk-Y4XZCMCS.js";
13
- import "../../chunk-IR7QV2BX.js";
14
- import "../../chunk-KOHQFZMM.js";
13
+ import "../../chunk-KV435YXO.js";
14
+ import "../../chunk-BYSRJ4FE.js";
15
15
  import "../../chunk-QIO6V46H.js";
16
- import "../../chunk-H6IL5ABU.js";
16
+ import "../../chunk-CXSYRB37.js";
17
17
  import "../../chunk-OYGMRRR7.js";
18
- import "../../chunk-FNWKE74J.js";
18
+ import "../../chunk-5DGKFNQT.js";
19
19
  import "../../chunk-UFVDIR2C.js";
20
20
  import "../../chunk-PGGPPZ65.js";
21
21
  import "../../chunk-DNXYUIIS.js";
@@ -1,7 +1,7 @@
1
- export { fi as Assoc, fj as BoundaryAssoc, fk as DEFAULT_BOUNDARY_ASSOC, fl as DetachedAnchor, fm as DocRange, a$ as EditorAnchorProjection, fn as InternalEditorAnchorProjection, fo as MAIN_STORY_TARGET, fp as MappingResult, fq as MappingStep, fr as NodeAnchor, fs as Position, ft as RangeAnchor, g as TransactionMapping, fu as anchorUnaffectedByMapping, fv as areAnchorsEqual, fw as createDetachedAnchor, fx as createEmptyMapping, fy as createNodeAnchor, fz as createRangeAnchor, fA as getEffectiveRange, fB as mapAnchor, fC as mapPosition, fD as mapRange, fE as normalizeRange, fF as storyTargetsEqual } from '../../public-types-DajNGKV4.cjs';
1
+ export { fi as Assoc, fj as BoundaryAssoc, fk as DEFAULT_BOUNDARY_ASSOC, fl as DetachedAnchor, fm as DocRange, a$ as EditorAnchorProjection, fn as InternalEditorAnchorProjection, fo as MAIN_STORY_TARGET, fp as MappingResult, fq as MappingStep, fr as NodeAnchor, fs as Position, ft as RangeAnchor, g as TransactionMapping, fu as anchorUnaffectedByMapping, fv as areAnchorsEqual, fw as createDetachedAnchor, fx as createEmptyMapping, fy as createNodeAnchor, fz as createRangeAnchor, fA as getEffectiveRange, fB as mapAnchor, fC as mapPosition, fD as mapRange, fE as normalizeRange, fF as storyTargetsEqual } from '../../public-types-BP3vqJR5.cjs';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
- import '../../canonical-document-CG2TgAzj.cjs';
5
+ import '../../canonical-document-CXCFCbAz.cjs';
6
6
  import 'prosemirror-state';
7
7
  import 'prosemirror-model';
@@ -1,7 +1,7 @@
1
- export { fi as Assoc, fj as BoundaryAssoc, fk as DEFAULT_BOUNDARY_ASSOC, fl as DetachedAnchor, fm as DocRange, a$ as EditorAnchorProjection, fn as InternalEditorAnchorProjection, fo as MAIN_STORY_TARGET, fp as MappingResult, fq as MappingStep, fr as NodeAnchor, fs as Position, ft as RangeAnchor, g as TransactionMapping, fu as anchorUnaffectedByMapping, fv as areAnchorsEqual, fw as createDetachedAnchor, fx as createEmptyMapping, fy as createNodeAnchor, fz as createRangeAnchor, fA as getEffectiveRange, fB as mapAnchor, fC as mapPosition, fD as mapRange, fE as normalizeRange, fF as storyTargetsEqual } from '../../public-types-CNnMHZM9.js';
1
+ export { fi as Assoc, fj as BoundaryAssoc, fk as DEFAULT_BOUNDARY_ASSOC, fl as DetachedAnchor, fm as DocRange, a$ as EditorAnchorProjection, fn as InternalEditorAnchorProjection, fo as MAIN_STORY_TARGET, fp as MappingResult, fq as MappingStep, fr as NodeAnchor, fs as Position, ft as RangeAnchor, g as TransactionMapping, fu as anchorUnaffectedByMapping, fv as areAnchorsEqual, fw as createDetachedAnchor, fx as createEmptyMapping, fy as createNodeAnchor, fz as createRangeAnchor, fA as getEffectiveRange, fB as mapAnchor, fC as mapPosition, fD as mapRange, fE as normalizeRange, fF as storyTargetsEqual } from '../../public-types-DdcHqcow.js';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
- import '../../canonical-document-CG2TgAzj.js';
5
+ import '../../canonical-document-CXCFCbAz.js';
6
6
  import 'prosemirror-state';
7
7
  import 'prosemirror-model';
@@ -1,5 +1,5 @@
1
- export { C as CanonicalDocumentEnvelope, fG as CommandStateSnapshot, fH as CommentEntryRecord, fI as CommentResolutionRecord, fJ as CommentSidebarSnapshot, fK as CommentThreadRecord, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, fL as CompatibilityPanelSnapshot, q as CompatibilityReport, fM as CreateEditorStateOptions, fN as DocumentStats, r as EditorError, cm as EditorErrorCode, fO as EditorRuntimeState, fP as EditorState, cB as EditorWarning, cC as EditorWarningCode, fQ as PersistedEditorSnapshot, fR as ReviewStore, fS as RevisionMetadataRecord, fT as RevisionRecord, fU as RuntimePhase, fV as RuntimeRenderSnapshot, S as SelectionSnapshot, fW as TrackedChangesSnapshot, fX as createDefaultCanonicalDocument, fY as createEditorState, fZ as createEmptyCompatibilityReport, f_ as createEmptyReviewStore, f$ as createPersistedEditorSnapshot, g0 as createSelectionSnapshot, g1 as deriveDocumentStats, g2 as deriveRenderSnapshot, g3 as normalizeCommentThreadRecord } from '../../public-types-DajNGKV4.cjs';
2
- export { o as createCanonicalDocumentId } from '../../canonical-document-CG2TgAzj.cjs';
1
+ export { C as CanonicalDocumentEnvelope, fG as CommandStateSnapshot, fH as CommentEntryRecord, fI as CommentResolutionRecord, fJ as CommentSidebarSnapshot, fK as CommentThreadRecord, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, fL as CompatibilityPanelSnapshot, q as CompatibilityReport, fM as CreateEditorStateOptions, fN as DocumentStats, r as EditorError, cm as EditorErrorCode, fO as EditorRuntimeState, fP as EditorState, cB as EditorWarning, cC as EditorWarningCode, fQ as PersistedEditorSnapshot, fR as ReviewStore, fS as RevisionMetadataRecord, fT as RevisionRecord, fU as RuntimePhase, fV as RuntimeRenderSnapshot, S as SelectionSnapshot, fW as TrackedChangesSnapshot, fX as createDefaultCanonicalDocument, fY as createEditorState, fZ as createEmptyCompatibilityReport, f_ as createEmptyReviewStore, f$ as createPersistedEditorSnapshot, g0 as createSelectionSnapshot, g1 as deriveDocumentStats, g2 as deriveRenderSnapshot, g3 as normalizeCommentThreadRecord } from '../../public-types-BP3vqJR5.cjs';
2
+ export { o as createCanonicalDocumentId } from '../../canonical-document-CXCFCbAz.cjs';
3
3
  import 'react';
4
4
  import 'yjs';
5
5
  import 'y-protocols/awareness';
@@ -1,5 +1,5 @@
1
- export { C as CanonicalDocumentEnvelope, fG as CommandStateSnapshot, fH as CommentEntryRecord, fI as CommentResolutionRecord, fJ as CommentSidebarSnapshot, fK as CommentThreadRecord, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, fL as CompatibilityPanelSnapshot, q as CompatibilityReport, fM as CreateEditorStateOptions, fN as DocumentStats, r as EditorError, cm as EditorErrorCode, fO as EditorRuntimeState, fP as EditorState, cB as EditorWarning, cC as EditorWarningCode, fQ as PersistedEditorSnapshot, fR as ReviewStore, fS as RevisionMetadataRecord, fT as RevisionRecord, fU as RuntimePhase, fV as RuntimeRenderSnapshot, S as SelectionSnapshot, fW as TrackedChangesSnapshot, fX as createDefaultCanonicalDocument, fY as createEditorState, fZ as createEmptyCompatibilityReport, f_ as createEmptyReviewStore, f$ as createPersistedEditorSnapshot, g0 as createSelectionSnapshot, g1 as deriveDocumentStats, g2 as deriveRenderSnapshot, g3 as normalizeCommentThreadRecord } from '../../public-types-CNnMHZM9.js';
2
- export { o as createCanonicalDocumentId } from '../../canonical-document-CG2TgAzj.js';
1
+ export { C as CanonicalDocumentEnvelope, fG as CommandStateSnapshot, fH as CommentEntryRecord, fI as CommentResolutionRecord, fJ as CommentSidebarSnapshot, fK as CommentThreadRecord, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, fL as CompatibilityPanelSnapshot, q as CompatibilityReport, fM as CreateEditorStateOptions, fN as DocumentStats, r as EditorError, cm as EditorErrorCode, fO as EditorRuntimeState, fP as EditorState, cB as EditorWarning, cC as EditorWarningCode, fQ as PersistedEditorSnapshot, fR as ReviewStore, fS as RevisionMetadataRecord, fT as RevisionRecord, fU as RuntimePhase, fV as RuntimeRenderSnapshot, S as SelectionSnapshot, fW as TrackedChangesSnapshot, fX as createDefaultCanonicalDocument, fY as createEditorState, fZ as createEmptyCompatibilityReport, f_ as createEmptyReviewStore, f$ as createPersistedEditorSnapshot, g0 as createSelectionSnapshot, g1 as deriveDocumentStats, g2 as deriveRenderSnapshot, g3 as normalizeCommentThreadRecord } from '../../public-types-DdcHqcow.js';
2
+ export { o as createCanonicalDocumentId } from '../../canonical-document-CXCFCbAz.js';
3
3
  import 'react';
4
4
  import 'yjs';
5
5
  import 'y-protocols/awareness';