@beyondwork/docx-react-component 1.0.133 → 1.0.134

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 (70) hide show
  1. package/dist/api/public-types.cjs +3 -1
  2. package/dist/api/public-types.d.cts +1 -1
  3. package/dist/api/public-types.d.ts +1 -1
  4. package/dist/api/public-types.js +1 -1
  5. package/dist/api/v3.cjs +688 -45
  6. package/dist/api/v3.d.cts +2 -2
  7. package/dist/api/v3.d.ts +2 -2
  8. package/dist/api/v3.js +3 -3
  9. package/dist/{chunk-S3PEKX6H.js → chunk-3YR47WTD.js} +53 -547
  10. package/dist/{chunk-57HTKX3P.js → chunk-74R5B2EZ.js} +1 -1
  11. package/dist/{chunk-KL4TZSZV.js → chunk-7Y6JCIK3.js} +1 -1
  12. package/dist/{chunk-3JEE5RJU.js → chunk-EBSI6VQX.js} +457 -16
  13. package/dist/{chunk-OTRVGNZQ.js → chunk-ESEEWELA.js} +547 -2
  14. package/dist/{chunk-224TSMEB.js → chunk-IJD6D7HU.js} +137 -41
  15. package/dist/{chunk-CVSD3UNK.js → chunk-O4EDZR44.js} +3 -1
  16. package/dist/{chunk-ZFCZ7XXH.js → chunk-VA24T4EB.js} +1 -1
  17. package/dist/core/commands/formatting-commands.d.cts +1 -1
  18. package/dist/core/commands/formatting-commands.d.ts +1 -1
  19. package/dist/core/commands/image-commands.d.cts +1 -1
  20. package/dist/core/commands/image-commands.d.ts +1 -1
  21. package/dist/core/commands/section-layout-commands.d.cts +1 -1
  22. package/dist/core/commands/section-layout-commands.d.ts +1 -1
  23. package/dist/core/commands/style-commands.d.cts +1 -1
  24. package/dist/core/commands/style-commands.d.ts +1 -1
  25. package/dist/core/commands/table-structure-commands.d.cts +1 -1
  26. package/dist/core/commands/table-structure-commands.d.ts +1 -1
  27. package/dist/core/commands/text-commands.d.cts +1 -1
  28. package/dist/core/commands/text-commands.d.ts +1 -1
  29. package/dist/core/selection/mapping.d.cts +1 -1
  30. package/dist/core/selection/mapping.d.ts +1 -1
  31. package/dist/core/state/editor-state.d.cts +1 -1
  32. package/dist/core/state/editor-state.d.ts +1 -1
  33. package/dist/index.cjs +1289 -615
  34. package/dist/index.d.cts +4 -4
  35. package/dist/index.d.ts +4 -4
  36. package/dist/index.js +105 -19
  37. package/dist/io/docx-session.d.cts +3 -3
  38. package/dist/io/docx-session.d.ts +3 -3
  39. package/dist/{loader-B2H99237.d.cts → loader-CK3lZy4h.d.cts} +2 -2
  40. package/dist/{loader-DfTjqVwn.d.ts → loader-CQXplstv.d.ts} +2 -2
  41. package/dist/{public-types-S8gTYwKo.d.cts → public-types-BR1SYK2F.d.cts} +140 -3
  42. package/dist/{public-types-B5lOUIrP.d.ts → public-types-DXNZVKrS.d.ts} +140 -3
  43. package/dist/public-types.cjs +3 -1
  44. package/dist/public-types.d.cts +1 -1
  45. package/dist/public-types.d.ts +1 -1
  46. package/dist/public-types.js +1 -1
  47. package/dist/runtime/collab.d.cts +2 -2
  48. package/dist/runtime/collab.d.ts +2 -2
  49. package/dist/runtime/document-runtime.cjs +591 -54
  50. package/dist/runtime/document-runtime.d.cts +1 -1
  51. package/dist/runtime/document-runtime.d.ts +1 -1
  52. package/dist/runtime/document-runtime.js +4 -4
  53. package/dist/{session-CBDIOYXA.d.ts → session-C9UjrhJF.d.ts} +2 -2
  54. package/dist/{session-CR2A1hGZ.d.cts → session-CSbwkgII.d.cts} +2 -2
  55. package/dist/session.d.cts +4 -4
  56. package/dist/session.d.ts +4 -4
  57. package/dist/tailwind.cjs +54 -546
  58. package/dist/tailwind.d.cts +1 -1
  59. package/dist/tailwind.d.ts +1 -1
  60. package/dist/tailwind.js +4 -4
  61. package/dist/{types-yty2K-hk.d.cts → types-CZtAueri.d.cts} +1 -1
  62. package/dist/{types-B-90ywjU.d.ts → types-RzkCXDNV.d.ts} +1 -1
  63. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
  64. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
  65. package/dist/ui-tailwind/editor-surface/search-plugin.js +2 -2
  66. package/dist/ui-tailwind.cjs +54 -546
  67. package/dist/ui-tailwind.d.cts +2 -2
  68. package/dist/ui-tailwind.d.ts +2 -2
  69. package/dist/ui-tailwind.js +4 -4
  70. package/package.json +1 -1
@@ -7,7 +7,7 @@ import {
7
7
  resolveSectionForStoryTarget,
8
8
  searchSecondaryStories,
9
9
  searchSurfaceBlocks
10
- } from "./chunk-CVSD3UNK.js";
10
+ } from "./chunk-O4EDZR44.js";
11
11
  import {
12
12
  createEditorSurfaceSnapshot,
13
13
  createFormattingContext,
@@ -2262,11 +2262,9 @@ function compileParagraphReplacement(entry, proposed, options) {
2262
2262
  };
2263
2263
  }
2264
2264
  if (proposed.proposedContent.kind === "structured") {
2265
- if (options.posture === "suggest-mode") {
2266
- return null;
2267
- }
2268
2265
  const fragment = proposed.proposedContent.structured;
2269
2266
  if (!isStructuredReplacementContent(fragment)) return null;
2267
+ const stepKind = options.posture === "suggest-mode" ? "fragment-replace-tracked" : "fragment-replace";
2270
2268
  const blockCount = fragment.blocks.length;
2271
2269
  const summaryScope = rangeKind === "inline-marker" ? `paragraph #${entry.blockIndex} inline-marker range [${effectiveRange.from}..${effectiveRange.to}]` : rangeKind === "opaque-preserving-text" ? `paragraph #${entry.blockIndex} opaque-preserving text range [${effectiveRange.from}..${effectiveRange.to}]` : `paragraph #${entry.blockIndex}`;
2272
2270
  const actionVerb = proposed.operation === "insert-before" ? "insert before" : proposed.operation === "insert-after" ? "insert after" : "replace";
@@ -2277,8 +2275,8 @@ function compileParagraphReplacement(entry, proposed, options) {
2277
2275
  operation: proposed.operation,
2278
2276
  steps: Object.freeze([
2279
2277
  {
2280
- kind: "fragment-replace",
2281
- summary: actionSummary,
2278
+ kind: stepKind,
2279
+ summary: stepKind === "fragment-replace" ? actionSummary : `suggest-mode ${actionSummary}`,
2282
2280
  ...textLeafEditableTargetHint(entry, blockRange) ? { editableTargetHint: textLeafEditableTargetHint(entry, blockRange) } : {},
2283
2281
  range: { from: operationRange.from, to: operationRange.to },
2284
2282
  fragment
@@ -2365,7 +2363,7 @@ function compileScopeKind(entry, options) {
2365
2363
  };
2366
2364
  }
2367
2365
  function compileScopeReplacement(entry, proposed, options) {
2368
- if (entry.handle.provenance !== "marker-backed" || proposed.operation !== "replace" || options.posture !== "direct-edit") {
2366
+ if (entry.handle.provenance !== "marker-backed" || proposed.operation !== "replace") {
2369
2367
  return null;
2370
2368
  }
2371
2369
  const markerRange = buildScopePositionMap(options.document).markerScopes.get(
@@ -2374,14 +2372,15 @@ function compileScopeReplacement(entry, proposed, options) {
2374
2372
  if (!markerRange) return null;
2375
2373
  if (proposed.proposedContent.kind === "text") {
2376
2374
  const text = proposed.proposedContent.text ?? "";
2375
+ const stepKind = options.posture === "suggest-mode" ? "text-insert-tracked" : "text-replace";
2377
2376
  return {
2378
2377
  scopeId: entry.handle.scopeId,
2379
2378
  targetKind: "scope",
2380
2379
  operation: proposed.operation,
2381
2380
  steps: Object.freeze([
2382
2381
  {
2383
- kind: "text-replace",
2384
- summary: `replace multi-paragraph scope ${entry.handle.scopeId} text [${markerRange.from}..${markerRange.to}] (len ${text.length})`,
2382
+ kind: stepKind,
2383
+ summary: stepKind === "text-replace" ? `replace multi-paragraph scope ${entry.handle.scopeId} text [${markerRange.from}..${markerRange.to}] (len ${text.length})` : `suggest-mode replace multi-paragraph scope ${entry.handle.scopeId} text [${markerRange.from}..${markerRange.to}] (len ${text.length})`,
2385
2384
  range: { from: markerRange.from, to: markerRange.to },
2386
2385
  text,
2387
2386
  ...proposed.formatting ? { formatting: proposed.formatting } : {}
@@ -2394,14 +2393,15 @@ function compileScopeReplacement(entry, proposed, options) {
2394
2393
  if (proposed.proposedContent.kind === "structured") {
2395
2394
  const fragment = proposed.proposedContent.structured;
2396
2395
  if (!isStructuredReplacementContent(fragment)) return null;
2396
+ const stepKind = options.posture === "suggest-mode" ? "fragment-replace-tracked" : "fragment-replace";
2397
2397
  return {
2398
2398
  scopeId: entry.handle.scopeId,
2399
2399
  targetKind: "scope",
2400
2400
  operation: proposed.operation,
2401
2401
  steps: Object.freeze([
2402
2402
  {
2403
- kind: "fragment-replace",
2404
- summary: `replace multi-paragraph scope ${entry.handle.scopeId} with structured fragment [${markerRange.from}..${markerRange.to}] (${fragment.blocks.length} block(s))`,
2403
+ kind: stepKind,
2404
+ summary: stepKind === "fragment-replace" ? `replace multi-paragraph scope ${entry.handle.scopeId} with structured fragment [${markerRange.from}..${markerRange.to}] (${fragment.blocks.length} block(s))` : `suggest-mode replace multi-paragraph scope ${entry.handle.scopeId} with structured fragment [${markerRange.from}..${markerRange.to}] (${fragment.blocks.length} block(s))`,
2405
2405
  range: { from: markerRange.from, to: markerRange.to },
2406
2406
  fragment
2407
2407
  }
@@ -2783,6 +2783,99 @@ function paragraphFirstMarkerStart(paragraph, knownScopeIds) {
2783
2783
  }
2784
2784
  return null;
2785
2785
  }
2786
+ function paragraphHasMarkerEnd(paragraph, scopeId) {
2787
+ return paragraph.children.some(
2788
+ (child) => child.type === "scope_marker_end" && child.scopeId === scopeId
2789
+ );
2790
+ }
2791
+ function paragraphSameParagraphMarkerScopeId(paragraph, knownScopeIds) {
2792
+ const markerScopeId = paragraphFirstMarkerStart(paragraph, knownScopeIds);
2793
+ if (!markerScopeId) return null;
2794
+ return paragraphHasMarkerEnd(paragraph, markerScopeId) ? markerScopeId : null;
2795
+ }
2796
+ function markerStableRefOverride(markerScopeId, semanticPath, overlay) {
2797
+ const hint = stableRefHintForScopeId(markerScopeId, overlay);
2798
+ if (hint === "semantic-path") {
2799
+ return {
2800
+ kind: "semantic-path",
2801
+ value: semanticPath.join("/")
2802
+ };
2803
+ }
2804
+ return { kind: "scope-id", value: markerScopeId };
2805
+ }
2806
+ function enumerateNestedMarkerBackedParagraphs(blocks, input) {
2807
+ const out = [];
2808
+ for (let childIndex = 0; childIndex < blocks.length; childIndex += 1) {
2809
+ const block = blocks[childIndex];
2810
+ if (!block) continue;
2811
+ if (block.type === "paragraph") {
2812
+ const markerScopeId = paragraphSameParagraphMarkerScopeId(
2813
+ block,
2814
+ input.knownOverlayScopeIds
2815
+ );
2816
+ if (!markerScopeId) continue;
2817
+ const kind = detectParagraphKind(block);
2818
+ const semanticPath = [
2819
+ ...input.semanticPrefix,
2820
+ kind,
2821
+ String(childIndex)
2822
+ ];
2823
+ const handle = buildHandle(
2824
+ markerScopeId,
2825
+ input.documentId,
2826
+ semanticPath,
2827
+ "marker-backed",
2828
+ "marker-backed",
2829
+ input.parentScopeId,
2830
+ markerStableRefOverride(markerScopeId, semanticPath, input.overlay)
2831
+ );
2832
+ out.push({
2833
+ kind,
2834
+ handle,
2835
+ paragraph: block,
2836
+ blockIndex: input.rootBlockIndex,
2837
+ classifications: input.classificationIndex.get(markerScopeId) ?? Object.freeze([])
2838
+ });
2839
+ continue;
2840
+ }
2841
+ if (block.type === "sdt") {
2842
+ out.push(
2843
+ ...enumerateNestedMarkerBackedParagraphs(block.children, {
2844
+ ...input,
2845
+ semanticPrefix: [
2846
+ ...input.semanticPrefix,
2847
+ "sdt",
2848
+ String(childIndex)
2849
+ ]
2850
+ })
2851
+ );
2852
+ continue;
2853
+ }
2854
+ if (block.type === "table") {
2855
+ for (let rowIdx = 0; rowIdx < block.rows.length; rowIdx += 1) {
2856
+ const row = block.rows[rowIdx];
2857
+ for (let cellIdx = 0; cellIdx < row.cells.length; cellIdx += 1) {
2858
+ const cell = row.cells[cellIdx];
2859
+ out.push(
2860
+ ...enumerateNestedMarkerBackedParagraphs(cell.children, {
2861
+ ...input,
2862
+ semanticPrefix: [
2863
+ ...input.semanticPrefix,
2864
+ "table",
2865
+ String(childIndex),
2866
+ "row",
2867
+ String(rowIdx),
2868
+ "cell",
2869
+ String(cellIdx)
2870
+ ]
2871
+ })
2872
+ );
2873
+ }
2874
+ }
2875
+ }
2876
+ }
2877
+ return out;
2878
+ }
2786
2879
  function enumerateFieldsInParagraph(paragraph, blockIndex, documentId, parentScopeId) {
2787
2880
  const out = [];
2788
2881
  for (let i = 0; i < paragraph.children.length; i += 1) {
@@ -3065,6 +3158,17 @@ function enumerateScopes(document, inputs = {}) {
3065
3158
  cellIndex: cellIdx,
3066
3159
  classifications: Object.freeze([])
3067
3160
  });
3161
+ for (const nested of enumerateNestedMarkerBackedParagraphs(cell.children, {
3162
+ documentId,
3163
+ rootBlockIndex: index,
3164
+ semanticPrefix: cellSemanticPath,
3165
+ parentScopeId: cellScopeId,
3166
+ knownOverlayScopeIds,
3167
+ classificationIndex,
3168
+ overlay: inputs.overlay
3169
+ })) {
3170
+ results.push(nested);
3171
+ }
3068
3172
  }
3069
3173
  }
3070
3174
  }
@@ -3550,16 +3654,12 @@ function replaceTextCapability(scope, context) {
3550
3654
  );
3551
3655
  }
3552
3656
  if (scope.kind === "scope") {
3553
- if (scope.workflow.effectiveMode === "suggest") {
3554
- return unsupported(
3555
- "compile-refused:scope:multi-paragraph-suggesting-not-implemented",
3556
- ["compile-refused:scope:multi-paragraph-suggesting-not-implemented"],
3557
- ["guard:suggest-mode", ...evidenceWarnings(context)]
3558
- );
3559
- }
3560
3657
  return supported(
3561
3658
  "compile-supported:scope:multi-paragraph-text-replace",
3562
- evidenceWarnings(context)
3659
+ [
3660
+ ...scope.workflow.effectiveMode === "suggest" ? ["guard:suggest-mode"] : [],
3661
+ ...evidenceWarnings(context)
3662
+ ]
3563
3663
  );
3564
3664
  }
3565
3665
  if (!PARAGRAPH_LIKE.has(scope.kind)) {
@@ -3613,34 +3713,24 @@ function replaceFragmentCapability(scope, context) {
3613
3713
  );
3614
3714
  }
3615
3715
  if (scope.kind === "scope") {
3616
- if (scope.workflow.effectiveMode === "suggest") {
3617
- return unsupported(
3618
- "compile-refused:scope:multi-paragraph-structured-suggesting-not-implemented",
3619
- [
3620
- "compile-refused:scope:multi-paragraph-structured-suggesting-not-implemented"
3621
- ],
3622
- ["guard:suggest-mode", ...evidenceWarnings(context)]
3623
- );
3624
- }
3625
3716
  return supported(
3626
3717
  "compile-supported:scope:multi-paragraph-fragment-replace",
3627
- evidenceWarnings(context)
3718
+ [
3719
+ ...scope.workflow.effectiveMode === "suggest" ? ["guard:suggest-mode"] : [],
3720
+ ...evidenceWarnings(context)
3721
+ ]
3628
3722
  );
3629
3723
  }
3630
3724
  if (!PARAGRAPH_LIKE.has(scope.kind)) {
3631
3725
  const reason = `compile-refused:${scope.kind}`;
3632
3726
  return unsupported(reason, [reason], evidenceWarnings(context));
3633
3727
  }
3634
- if (scope.workflow.effectiveMode === "suggest") {
3635
- return unsupported(
3636
- `compile-refused:${scope.kind}:structured-suggesting-not-implemented`,
3637
- [`compile-refused:${scope.kind}:structured-suggesting-not-implemented`],
3638
- ["guard:suggest-mode"]
3639
- );
3640
- }
3641
3728
  return supported(
3642
- "compile-supported:paragraph-like:fragment-replace",
3643
- evidenceWarnings(context)
3729
+ scope.workflow.effectiveMode === "suggest" ? "compile-supported:paragraph-like:fragment-replace-tracked" : "compile-supported:paragraph-like:fragment-replace",
3730
+ [
3731
+ ...scope.workflow.effectiveMode === "suggest" ? ["guard:suggest-mode"] : [],
3732
+ ...evidenceWarnings(context)
3733
+ ]
3644
3734
  );
3645
3735
  }
3646
3736
  function formattingCapability(scope, context) {
@@ -4694,6 +4784,14 @@ function supportedNonTextCommandEvidence(target) {
4694
4784
  if (target.commandFamily === "link-bookmark") {
4695
4785
  return linkBookmarkCommandEvidence(target, []);
4696
4786
  }
4787
+ if (target.commandFamily === "object" && isImageObjectTarget(target) && typeof target.object?.mediaId === "string" && target.object.mediaId.length > 0 && onlyBlockers(target.posture.blockers, ["unmodeled-target"])) {
4788
+ return {
4789
+ status: "supported",
4790
+ commandFamily: target.commandFamily,
4791
+ intents: commandIntentsForTarget(target),
4792
+ reason: "l07:image-layout-target-supported"
4793
+ };
4794
+ }
4697
4795
  return null;
4698
4796
  }
4699
4797
  function onlyBlockers(blockers, allowed) {
@@ -7593,9 +7691,7 @@ function applyScopeReplacement(inputs) {
7593
7691
  });
7594
7692
  if (!plan) {
7595
7693
  const paragraphLike = resolvedScope.kind === "paragraph" || resolvedScope.kind === "heading" || resolvedScope.kind === "list-item";
7596
- const blockers = resolvedScope.kind === "scope" && posture === "suggest-mode" ? [
7597
- proposed.proposedContent.kind === "structured" ? "compile-refused:scope:multi-paragraph-structured-suggesting-not-implemented" : "compile-refused:scope:multi-paragraph-suggesting-not-implemented"
7598
- ] : resolvedScope.kind === "scope" && proposed.operation !== "replace" ? [
7694
+ const blockers = resolvedScope.kind === "scope" && proposed.operation !== "replace" ? [
7599
7695
  `compile-refused:scope:operation-not-implemented:${proposed.operation}`
7600
7696
  ] : resolvedScope.kind === "scope" ? multiParagraphReplacementBlockers(
7601
7697
  proposed.proposedContent.kind === "structured" ? "fragment" : "text"
@@ -12,6 +12,7 @@ import {
12
12
  parseTextStory
13
13
  } from "./chunk-QIO6V46H.js";
14
14
  import {
15
+ NO_EDITABLE_TARGETS_INDEX,
15
16
  createEditorSurfaceSnapshot,
16
17
  formatPageNumber,
17
18
  formatPageNumberWithChapter,
@@ -2176,7 +2177,8 @@ function buildResolvedSections(document2) {
2176
2177
  const mainSurface = createEditorSurfaceSnapshot(
2177
2178
  document2,
2178
2179
  createSelectionSnapshot(0, 0),
2179
- MAIN_STORY_TARGET
2180
+ MAIN_STORY_TARGET,
2181
+ { editableTargetsByBlockPath: NO_EDITABLE_TARGETS_INDEX }
2180
2182
  );
2181
2183
  const sections = [];
2182
2184
  let sectionStart = 0;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildSearchPattern
3
- } from "./chunk-CVSD3UNK.js";
3
+ } from "./chunk-O4EDZR44.js";
4
4
 
5
5
  // src/ui-tailwind/editor-surface/search-plugin.ts
6
6
  import { Plugin, PluginKey } from "prosemirror-state";
@@ -1,6 +1,6 @@
1
1
  import 'prosemirror-state';
2
2
  import 'prosemirror-model';
3
- export { gc as Alignment, gd as FormattingMutationResult, ge as FormattingOperation, gf as TextMarkClearTarget, gg as TextMarkRangeOperation, gh as applyFormattingOperationToDocument, gi as applyIndentation, gj as applyTextMarkOperationToDocumentRange, gk as getFormattingStateFromRenderSnapshot, gl as isMarkActive, gm as makeSetAlignment, gn as makeSetFontFamily, go as makeSetFontSize, gp as makeSetHighlight, gq as makeSetTextColor, gr as makeToggleAllCaps, gs as makeToggleBold, gt as makeToggleItalic, gu as makeToggleSmallCaps, gv as makeToggleStrikethrough, gw as makeToggleSubscript, gx as makeToggleSuperscript, gy as makeToggleUnderline } from '../../public-types-S8gTYwKo.cjs';
3
+ export { gc as Alignment, gd as FormattingMutationResult, ge as FormattingOperation, gf as TextMarkClearTarget, gg as TextMarkRangeOperation, gh as applyFormattingOperationToDocument, gi as applyIndentation, gj as applyTextMarkOperationToDocumentRange, gk as getFormattingStateFromRenderSnapshot, gl as isMarkActive, gm as makeSetAlignment, gn as makeSetFontFamily, go as makeSetFontSize, gp as makeSetHighlight, gq as makeSetTextColor, gr as makeToggleAllCaps, gs as makeToggleBold, gt as makeToggleItalic, gu as makeToggleSmallCaps, gv as makeToggleStrikethrough, gw as makeToggleSubscript, gx as makeToggleSuperscript, gy as makeToggleUnderline } from '../../public-types-BR1SYK2F.cjs';
4
4
  import '../../canonical-document-CfZIc-fC.cjs';
5
5
  import 'react';
6
6
  import 'yjs';
@@ -1,6 +1,6 @@
1
1
  import 'prosemirror-state';
2
2
  import 'prosemirror-model';
3
- export { gc as Alignment, gd as FormattingMutationResult, ge as FormattingOperation, gf as TextMarkClearTarget, gg as TextMarkRangeOperation, gh as applyFormattingOperationToDocument, gi as applyIndentation, gj as applyTextMarkOperationToDocumentRange, gk as getFormattingStateFromRenderSnapshot, gl as isMarkActive, gm as makeSetAlignment, gn as makeSetFontFamily, go as makeSetFontSize, gp as makeSetHighlight, gq as makeSetTextColor, gr as makeToggleAllCaps, gs as makeToggleBold, gt as makeToggleItalic, gu as makeToggleSmallCaps, gv as makeToggleStrikethrough, gw as makeToggleSubscript, gx as makeToggleSuperscript, gy as makeToggleUnderline } from '../../public-types-B5lOUIrP.js';
3
+ export { gc as Alignment, gd as FormattingMutationResult, ge as FormattingOperation, gf as TextMarkClearTarget, gg as TextMarkRangeOperation, gh as applyFormattingOperationToDocument, gi as applyIndentation, gj as applyTextMarkOperationToDocumentRange, gk as getFormattingStateFromRenderSnapshot, gl as isMarkActive, gm as makeSetAlignment, gn as makeSetFontFamily, go as makeSetFontSize, gp as makeSetHighlight, gq as makeSetTextColor, gr as makeToggleAllCaps, gs as makeToggleBold, gt as makeToggleItalic, gu as makeToggleSmallCaps, gv as makeToggleStrikethrough, gw as makeToggleSubscript, gx as makeToggleSuperscript, gy as makeToggleUnderline } from '../../public-types-DXNZVKrS.js';
4
4
  import '../../canonical-document-CfZIc-fC.js';
5
5
  import 'react';
6
6
  import 'yjs';
@@ -1,4 +1,4 @@
1
- import { C as CanonicalDocumentEnvelope, e as SelectionSnapshot, i as TransactionMapping } from '../../public-types-S8gTYwKo.cjs';
1
+ import { C as CanonicalDocumentEnvelope, e as SelectionSnapshot, i as TransactionMapping } from '../../public-types-BR1SYK2F.cjs';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
@@ -1,4 +1,4 @@
1
- import { C as CanonicalDocumentEnvelope, e as SelectionSnapshot, i as TransactionMapping } from '../../public-types-B5lOUIrP.js';
1
+ import { C as CanonicalDocumentEnvelope, e as SelectionSnapshot, i as TransactionMapping } from '../../public-types-DXNZVKrS.js';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
@@ -1,4 +1,4 @@
1
- import { j as SelectionSnapshot, M as MarginPresetDefinition, k as PageFormatDefinition, R as RuntimeRenderSnapshot } from '../../public-types-S8gTYwKo.cjs';
1
+ import { j as SelectionSnapshot, M as MarginPresetDefinition, k as PageFormatDefinition, R as RuntimeRenderSnapshot } from '../../public-types-BR1SYK2F.cjs';
2
2
  import { C as CanonicalDocument, P as PageSize, a as PageMargins, b as ColumnProperties, c as PageNumbering } from '../../canonical-document-CfZIc-fC.cjs';
3
3
  import 'react';
4
4
  import 'yjs';
@@ -1,4 +1,4 @@
1
- import { j as SelectionSnapshot, M as MarginPresetDefinition, k as PageFormatDefinition, R as RuntimeRenderSnapshot } from '../../public-types-B5lOUIrP.js';
1
+ import { j as SelectionSnapshot, M as MarginPresetDefinition, k as PageFormatDefinition, R as RuntimeRenderSnapshot } from '../../public-types-DXNZVKrS.js';
2
2
  import { C as CanonicalDocument, P as PageSize, a as PageMargins, b as ColumnProperties, c as PageNumbering } from '../../canonical-document-CfZIc-fC.js';
3
3
  import 'react';
4
4
  import 'yjs';
@@ -1,4 +1,4 @@
1
- import { P as PersistedEditorSnapshot, R as RuntimeRenderSnapshot } from '../../public-types-S8gTYwKo.cjs';
1
+ import { P as PersistedEditorSnapshot, R as RuntimeRenderSnapshot } from '../../public-types-BR1SYK2F.cjs';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
@@ -1,4 +1,4 @@
1
- import { P as PersistedEditorSnapshot, R as RuntimeRenderSnapshot } from '../../public-types-B5lOUIrP.js';
1
+ import { P as PersistedEditorSnapshot, R as RuntimeRenderSnapshot } from '../../public-types-DXNZVKrS.js';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
@@ -1,4 +1,4 @@
1
- export { gz as CellLocator, gA as TableStructureOperation, gB as applyTableStructureOperation, gC as applyTableStructureOperationForEditableTarget, gD as getTableStructureContext, gE as removeCellFromRow, gF as removeTableRowPure, gG as tableStructureActionHandleForTarget } from '../../public-types-S8gTYwKo.cjs';
1
+ export { gz as CellLocator, gA as TableStructureOperation, gB as applyTableStructureOperation, gC as applyTableStructureOperationForEditableTarget, gD as getTableStructureContext, gE as removeCellFromRow, gF as removeTableRowPure, gG as tableStructureActionHandleForTarget } from '../../public-types-BR1SYK2F.cjs';
2
2
  import '../../canonical-document-CfZIc-fC.cjs';
3
3
  import 'react';
4
4
  import 'yjs';
@@ -1,4 +1,4 @@
1
- export { gz as CellLocator, gA as TableStructureOperation, gB as applyTableStructureOperation, gC as applyTableStructureOperationForEditableTarget, gD as getTableStructureContext, gE as removeCellFromRow, gF as removeTableRowPure, gG as tableStructureActionHandleForTarget } from '../../public-types-B5lOUIrP.js';
1
+ export { gz as CellLocator, gA as TableStructureOperation, gB as applyTableStructureOperation, gC as applyTableStructureOperationForEditableTarget, gD as getTableStructureContext, gE as removeCellFromRow, gF as removeTableRowPure, gG as tableStructureActionHandleForTarget } from '../../public-types-DXNZVKrS.js';
2
2
  import '../../canonical-document-CfZIc-fC.js';
3
3
  import 'react';
4
4
  import 'yjs';
@@ -1,4 +1,4 @@
1
- import { T as TextTransactionTextTarget, d as EditorSurfaceSnapshot, S as ScopeSurfaceTelemetry, C as CanonicalDocumentEnvelope, e as SelectionSnapshot, f as TextTransactionResult, g as StructuralMutationResult, I as InsertTableOptions, h as TextFormattingDirective, i as TransactionMapping } from '../../public-types-S8gTYwKo.cjs';
1
+ import { T as TextTransactionTextTarget, d as EditorSurfaceSnapshot, S as ScopeSurfaceTelemetry, C as CanonicalDocumentEnvelope, e as SelectionSnapshot, f as TextTransactionResult, g as StructuralMutationResult, I as InsertTableOptions, h as TextFormattingDirective, i as TransactionMapping } from '../../public-types-BR1SYK2F.cjs';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
@@ -1,4 +1,4 @@
1
- import { T as TextTransactionTextTarget, d as EditorSurfaceSnapshot, S as ScopeSurfaceTelemetry, C as CanonicalDocumentEnvelope, e as SelectionSnapshot, f as TextTransactionResult, g as StructuralMutationResult, I as InsertTableOptions, h as TextFormattingDirective, i as TransactionMapping } from '../../public-types-B5lOUIrP.js';
1
+ import { T as TextTransactionTextTarget, d as EditorSurfaceSnapshot, S as ScopeSurfaceTelemetry, C as CanonicalDocumentEnvelope, e as SelectionSnapshot, f as TextTransactionResult, g as StructuralMutationResult, I as InsertTableOptions, h as TextFormattingDirective, i as TransactionMapping } from '../../public-types-DXNZVKrS.js';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
@@ -1,4 +1,4 @@
1
- export { fq as Assoc, fr as BoundaryAssoc, fs as DEFAULT_BOUNDARY_ASSOC, ft as DetachedAnchor, fu as DocRange, b7 as EditorAnchorProjection, fv as InternalEditorAnchorProjection, fw as MAIN_STORY_TARGET, fx as MappingResult, fy as MappingStep, fz as NodeAnchor, fA as Position, fB as RangeAnchor, i as TransactionMapping, fC as anchorUnaffectedByMapping, fD as areAnchorsEqual, fE as createDetachedAnchor, fF as createEmptyMapping, fG as createNodeAnchor, fH as createRangeAnchor, fI as getEffectiveRange, fJ as mapAnchor, fK as mapPosition, fL as mapRange, fM as normalizeRange, fN as storyTargetsEqual } from '../../public-types-S8gTYwKo.cjs';
1
+ export { fq as Assoc, fr as BoundaryAssoc, fs as DEFAULT_BOUNDARY_ASSOC, ft as DetachedAnchor, fu as DocRange, b7 as EditorAnchorProjection, fv as InternalEditorAnchorProjection, fw as MAIN_STORY_TARGET, fx as MappingResult, fy as MappingStep, fz as NodeAnchor, fA as Position, fB as RangeAnchor, i as TransactionMapping, fC as anchorUnaffectedByMapping, fD as areAnchorsEqual, fE as createDetachedAnchor, fF as createEmptyMapping, fG as createNodeAnchor, fH as createRangeAnchor, fI as getEffectiveRange, fJ as mapAnchor, fK as mapPosition, fL as mapRange, fM as normalizeRange, fN as storyTargetsEqual } from '../../public-types-BR1SYK2F.cjs';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
@@ -1,4 +1,4 @@
1
- export { fq as Assoc, fr as BoundaryAssoc, fs as DEFAULT_BOUNDARY_ASSOC, ft as DetachedAnchor, fu as DocRange, b7 as EditorAnchorProjection, fv as InternalEditorAnchorProjection, fw as MAIN_STORY_TARGET, fx as MappingResult, fy as MappingStep, fz as NodeAnchor, fA as Position, fB as RangeAnchor, i as TransactionMapping, fC as anchorUnaffectedByMapping, fD as areAnchorsEqual, fE as createDetachedAnchor, fF as createEmptyMapping, fG as createNodeAnchor, fH as createRangeAnchor, fI as getEffectiveRange, fJ as mapAnchor, fK as mapPosition, fL as mapRange, fM as normalizeRange, fN as storyTargetsEqual } from '../../public-types-B5lOUIrP.js';
1
+ export { fq as Assoc, fr as BoundaryAssoc, fs as DEFAULT_BOUNDARY_ASSOC, ft as DetachedAnchor, fu as DocRange, b7 as EditorAnchorProjection, fv as InternalEditorAnchorProjection, fw as MAIN_STORY_TARGET, fx as MappingResult, fy as MappingStep, fz as NodeAnchor, fA as Position, fB as RangeAnchor, i as TransactionMapping, fC as anchorUnaffectedByMapping, fD as areAnchorsEqual, fE as createDetachedAnchor, fF as createEmptyMapping, fG as createNodeAnchor, fH as createRangeAnchor, fI as getEffectiveRange, fJ as mapAnchor, fK as mapPosition, fL as mapRange, fM as normalizeRange, fN as storyTargetsEqual } from '../../public-types-DXNZVKrS.js';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
@@ -1,4 +1,4 @@
1
- export { C as CanonicalDocumentEnvelope, fO as CommandStateSnapshot, fP as CommentEntryRecord, fQ as CommentResolutionRecord, fR as CommentSidebarSnapshot, fS as CommentThreadRecord, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, fT as CompatibilityPanelSnapshot, r as CompatibilityReport, fU as CreateEditorStateOptions, fV as DocumentStats, t as EditorError, cu as EditorErrorCode, fW as EditorRuntimeState, fX as EditorState, cJ as EditorWarning, cK as EditorWarningCode, fY as PersistedEditorSnapshot, fZ as ReviewStore, f_ as RevisionMetadataRecord, f$ as RevisionRecord, g0 as RuntimePhase, g1 as RuntimeRenderSnapshot, e as SelectionSnapshot, g2 as TrackedChangesSnapshot, g3 as createDefaultCanonicalDocument, g4 as createEditorState, g5 as createEmptyCompatibilityReport, g6 as createEmptyReviewStore, g7 as createPersistedEditorSnapshot, g8 as createSelectionSnapshot, g9 as deriveDocumentStats, ga as deriveRenderSnapshot, gb as normalizeCommentThreadRecord } from '../../public-types-S8gTYwKo.cjs';
1
+ export { C as CanonicalDocumentEnvelope, fO as CommandStateSnapshot, fP as CommentEntryRecord, fQ as CommentResolutionRecord, fR as CommentSidebarSnapshot, fS as CommentThreadRecord, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, fT as CompatibilityPanelSnapshot, r as CompatibilityReport, fU as CreateEditorStateOptions, fV as DocumentStats, t as EditorError, cu as EditorErrorCode, fW as EditorRuntimeState, fX as EditorState, cJ as EditorWarning, cK as EditorWarningCode, fY as PersistedEditorSnapshot, fZ as ReviewStore, f_ as RevisionMetadataRecord, f$ as RevisionRecord, g0 as RuntimePhase, g1 as RuntimeRenderSnapshot, e as SelectionSnapshot, g2 as TrackedChangesSnapshot, g3 as createDefaultCanonicalDocument, g4 as createEditorState, g5 as createEmptyCompatibilityReport, g6 as createEmptyReviewStore, g7 as createPersistedEditorSnapshot, g8 as createSelectionSnapshot, g9 as deriveDocumentStats, ga as deriveRenderSnapshot, gb as normalizeCommentThreadRecord } from '../../public-types-BR1SYK2F.cjs';
2
2
  export { o as createCanonicalDocumentId } from '../../canonical-document-CfZIc-fC.cjs';
3
3
  import 'react';
4
4
  import 'yjs';
@@ -1,4 +1,4 @@
1
- export { C as CanonicalDocumentEnvelope, fO as CommandStateSnapshot, fP as CommentEntryRecord, fQ as CommentResolutionRecord, fR as CommentSidebarSnapshot, fS as CommentThreadRecord, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, fT as CompatibilityPanelSnapshot, r as CompatibilityReport, fU as CreateEditorStateOptions, fV as DocumentStats, t as EditorError, cu as EditorErrorCode, fW as EditorRuntimeState, fX as EditorState, cJ as EditorWarning, cK as EditorWarningCode, fY as PersistedEditorSnapshot, fZ as ReviewStore, f_ as RevisionMetadataRecord, f$ as RevisionRecord, g0 as RuntimePhase, g1 as RuntimeRenderSnapshot, e as SelectionSnapshot, g2 as TrackedChangesSnapshot, g3 as createDefaultCanonicalDocument, g4 as createEditorState, g5 as createEmptyCompatibilityReport, g6 as createEmptyReviewStore, g7 as createPersistedEditorSnapshot, g8 as createSelectionSnapshot, g9 as deriveDocumentStats, ga as deriveRenderSnapshot, gb as normalizeCommentThreadRecord } from '../../public-types-B5lOUIrP.js';
1
+ export { C as CanonicalDocumentEnvelope, fO as CommandStateSnapshot, fP as CommentEntryRecord, fQ as CommentResolutionRecord, fR as CommentSidebarSnapshot, fS as CommentThreadRecord, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, fT as CompatibilityPanelSnapshot, r as CompatibilityReport, fU as CreateEditorStateOptions, fV as DocumentStats, t as EditorError, cu as EditorErrorCode, fW as EditorRuntimeState, fX as EditorState, cJ as EditorWarning, cK as EditorWarningCode, fY as PersistedEditorSnapshot, fZ as ReviewStore, f_ as RevisionMetadataRecord, f$ as RevisionRecord, g0 as RuntimePhase, g1 as RuntimeRenderSnapshot, e as SelectionSnapshot, g2 as TrackedChangesSnapshot, g3 as createDefaultCanonicalDocument, g4 as createEditorState, g5 as createEmptyCompatibilityReport, g6 as createEmptyReviewStore, g7 as createPersistedEditorSnapshot, g8 as createSelectionSnapshot, g9 as deriveDocumentStats, ga as deriveRenderSnapshot, gb as normalizeCommentThreadRecord } from '../../public-types-DXNZVKrS.js';
2
2
  export { o as createCanonicalDocumentId } from '../../canonical-document-CfZIc-fC.js';
3
3
  import 'react';
4
4
  import 'yjs';