@beyondwork/docx-react-component 1.0.130 → 1.0.132

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 (98) hide show
  1. package/dist/api/public-types.cjs +679 -157
  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 +5 -3
  5. package/dist/api/v3.cjs +371 -32
  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-BMtONpgf.d.cts → canonical-document-CfZIc-fC.d.cts} +1 -1
  10. package/dist/{canonical-document-BMtONpgf.d.ts → canonical-document-CfZIc-fC.d.ts} +1 -1
  11. package/dist/{chunk-YLL7MF5C.js → chunk-43JAPM2F.js} +24 -17
  12. package/dist/{chunk-4YCWECLZ.js → chunk-4HGFJ6Z2.js} +1 -1
  13. package/dist/{chunk-HYHCRMR7.js → chunk-6736GA6J.js} +1 -1
  14. package/dist/{chunk-Q7Y57KOK.js → chunk-6TLZ6CMP.js} +2 -2
  15. package/dist/{chunk-DGA7M77X.js → chunk-ALWXYGXP.js} +2 -2
  16. package/dist/{chunk-PHMWH23E.js → chunk-C5LXKR54.js} +1 -1
  17. package/dist/{chunk-6TBLDBCL.js → chunk-CDEZGLQ3.js} +1 -1
  18. package/dist/{chunk-VRKK2CSZ.js → chunk-JVTDBX67.js} +2 -2
  19. package/dist/{chunk-THVM6EP5.js → chunk-LPLJZJT2.js} +1196 -35
  20. package/dist/{chunk-T5YYFDZB.js → chunk-N5FTU4HZ.js} +1 -1
  21. package/dist/{chunk-3YCQM2RV.js → chunk-QUTVR72L.js} +8 -7
  22. package/dist/{chunk-M7YRJX6V.js → chunk-RBWJHRNP.js} +1 -1
  23. package/dist/{chunk-A66ZVUAT.js → chunk-RYMMKOFI.js} +204 -10
  24. package/dist/{chunk-QXKQPUOM.js → chunk-SZ6BJA4Q.js} +3 -3
  25. package/dist/{chunk-A3GSNB4G.js → chunk-U3UMKA7B.js} +147 -13
  26. package/dist/{chunk-KNHMXKC6.js → chunk-UFPBYJMA.js} +2 -2
  27. package/dist/{chunk-35RHOE6I.js → chunk-UP2KDOYE.js} +6 -1162
  28. package/dist/{chunk-CI2TD3T4.js → chunk-W2I47J2Q.js} +1 -1
  29. package/dist/{chunk-7G5GR3VV.js → chunk-XYTWOJII.js} +5 -5
  30. package/dist/{chunk-WZDKNF37.js → chunk-YUHNDEV5.js} +7 -7
  31. package/dist/{chunk-ZVC23LKV.js → chunk-ZDYGRO2Z.js} +1 -1
  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 +312 -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 +312 -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 +312 -20
  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 +3015 -2213
  57. package/dist/index.d.cts +5 -5
  58. package/dist/index.d.ts +5 -5
  59. package/dist/index.js +554 -99
  60. package/dist/io/docx-session.d.cts +4 -4
  61. package/dist/io/docx-session.d.ts +4 -4
  62. package/dist/io/docx-session.js +4 -4
  63. package/dist/legal.d.cts +1 -1
  64. package/dist/legal.d.ts +1 -1
  65. package/dist/legal.js +3 -3
  66. package/dist/{loader-B-aL5HGD.d.ts → loader-CfpeEPAa.d.ts} +3 -3
  67. package/dist/{loader-DiY_ZgKl.d.cts → loader-MAa8VpzW.d.cts} +3 -3
  68. package/dist/{public-types-gvubspUI.d.cts → public-types-Cjs8glST.d.ts} +137 -2
  69. package/dist/{public-types-DyqnxxO9.d.ts → public-types-KBS6JnOs.d.cts} +137 -2
  70. package/dist/public-types.cjs +679 -157
  71. package/dist/public-types.d.cts +2 -2
  72. package/dist/public-types.d.ts +2 -2
  73. package/dist/public-types.js +5 -3
  74. package/dist/runtime/collab.d.cts +3 -3
  75. package/dist/runtime/collab.d.ts +3 -3
  76. package/dist/runtime/document-runtime.cjs +371 -22
  77. package/dist/runtime/document-runtime.d.cts +2 -2
  78. package/dist/runtime/document-runtime.d.ts +2 -2
  79. package/dist/runtime/document-runtime.js +14 -14
  80. package/dist/{session-CDB0hohT.d.ts → session-CkoH8FoY.d.ts} +3 -3
  81. package/dist/{session-BUN6B-Vj.d.cts → session-wwe0Gib-.d.cts} +3 -3
  82. package/dist/session.d.cts +5 -5
  83. package/dist/session.d.ts +5 -5
  84. package/dist/session.js +5 -5
  85. package/dist/tailwind.cjs +492 -202
  86. package/dist/tailwind.d.cts +2 -2
  87. package/dist/tailwind.d.ts +2 -2
  88. package/dist/tailwind.js +7 -7
  89. package/dist/{types-C4bz3kDU.d.cts → types-B3SGRW0w.d.cts} +2 -2
  90. package/dist/{types-VWH6CRvG.d.ts → types-CH7NWqVL.d.ts} +2 -2
  91. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
  92. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
  93. package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
  94. package/dist/ui-tailwind.cjs +492 -202
  95. package/dist/ui-tailwind.d.cts +3 -3
  96. package/dist/ui-tailwind.d.ts +3 -3
  97. package/dist/ui-tailwind.js +7 -7
  98. package/package.json +4 -1
@@ -934,11 +934,14 @@ function collectEditableTargetRefs(doc, cache) {
934
934
  collectEditableTargetsInBlocks(
935
935
  context.blocks,
936
936
  {
937
+ doc,
937
938
  storyKey: context.storyKey,
938
939
  basePath: context.basePath,
939
940
  insideSdt: false,
940
941
  insideTextBox: false,
941
- tableDepth: 0
942
+ tableDepth: 0,
943
+ numberingCatalogHash: createNumberingCatalogRevisionHash(doc),
944
+ numberingTargetRevisionHash: createNumberingTargetRevisionHash(doc)
942
945
  },
943
946
  targets,
944
947
  cache
@@ -955,6 +958,7 @@ function buildBlockCacheSignature(context, blockIndex) {
955
958
  const owner = tt?.editableOwnersByChildIndex?.get(blockIndex);
956
959
  return [
957
960
  context.storyKey,
961
+ context.numberingTargetRevisionHash,
958
962
  context.insideSdt ? "1" : "0",
959
963
  context.insideTextBox ? "1" : "0",
960
964
  String(context.tableDepth),
@@ -1000,7 +1004,8 @@ function collectEditableTargetsInBlocks(blocks, context, targets, cache, blockIn
1000
1004
  editableParagraphTargetPosture(targetKind),
1001
1005
  context.contentControl,
1002
1006
  context.tableTarget,
1003
- context.tableTarget?.editableOwnersByChildIndex?.get(blockIndex)
1007
+ context.tableTarget?.editableOwnersByChildIndex?.get(blockIndex),
1008
+ resolveEditableParagraphListIdentity(block, context)
1004
1009
  )
1005
1010
  );
1006
1011
  }
@@ -1529,7 +1534,7 @@ function collectEditableTargetsInInlines(inlines, basePath, context, targets) {
1529
1534
  }
1530
1535
  }
1531
1536
  }
1532
- function createParagraphEditableTarget(paragraph, kind, storyKey, blockPath, targetPosture = { editability: "editable", posture: { blockers: [] } }, contentControl, tableTarget, editableOwner) {
1537
+ function createParagraphEditableTarget(paragraph, kind, storyKey, blockPath, targetPosture = { editability: "editable", posture: { blockers: [] } }, contentControl, tableTarget, editableOwner, listIdentity) {
1533
1538
  const paragraphText = collectParagraphText(paragraph);
1534
1539
  const paragraphTextHash = hashText(paragraphText);
1535
1540
  const sourceRef = paragraph.sourceRef;
@@ -1540,19 +1545,39 @@ function createParagraphEditableTarget(paragraph, kind, storyKey, blockPath, tar
1540
1545
  context: { storyKey, insideSdt: contentControl !== void 0 },
1541
1546
  ...tableTarget
1542
1547
  }) : void 0;
1543
- const listAddress = paragraph.numbering !== void 0 ? createCanonicalAddress({
1548
+ const listAddress = listIdentity !== void 0 ? createCanonicalAddress({
1544
1549
  addressKind: "list-item-text",
1545
1550
  storyKey,
1546
1551
  staleCheckKind: "paragraph",
1547
1552
  operationScope: "list-text",
1548
- sourceRefs: [sourceRef],
1553
+ sourceRefs: [
1554
+ sourceRef,
1555
+ listIdentity.paragraphNumberingSourceRef,
1556
+ listIdentity.instanceSourceRef,
1557
+ listIdentity.abstractSourceRef
1558
+ ],
1549
1559
  staleHash: paragraphTextHash,
1550
1560
  rangeBoundary: { boundaryKind: "list-item-text" },
1561
+ list: {
1562
+ numberingOrigin: listIdentity.numberingOrigin,
1563
+ numberingInstanceId: listIdentity.numberingInstanceId,
1564
+ ...listIdentity.abstractNumberingId !== void 0 ? { abstractNumberingId: listIdentity.abstractNumberingId } : {},
1565
+ level: listIdentity.level,
1566
+ ...listIdentity.overrideHash !== void 0 ? { overrideHash: listIdentity.overrideHash } : {},
1567
+ numberingCatalogHash: listIdentity.numberingCatalogHash
1568
+ },
1551
1569
  discriminator: {
1552
1570
  blockPath,
1553
- numberingInstanceId: paragraph.numbering.numberingInstanceId,
1554
- level: paragraph.numbering.level,
1571
+ numberingOrigin: listIdentity.numberingOrigin,
1572
+ numberingInstanceId: listIdentity.numberingInstanceId,
1573
+ abstractNumberingId: listIdentity.abstractNumberingId ?? null,
1574
+ level: listIdentity.level,
1575
+ overrideHash: listIdentity.overrideHash ?? null,
1576
+ numberingCatalogHash: listIdentity.numberingCatalogHash,
1555
1577
  sourceId: sourceRef?.sourceId ?? null,
1578
+ numberingSourceId: listIdentity.paragraphNumberingSourceRef?.sourceId ?? null,
1579
+ numberingInstanceSourceId: listIdentity.instanceSourceRef?.sourceId ?? null,
1580
+ abstractNumberingSourceId: listIdentity.abstractSourceRef?.sourceId ?? null,
1556
1581
  paraId: paragraph.wordExtensionIds?.paraId ?? null,
1557
1582
  textId: paragraph.wordExtensionIds?.textId ?? null
1558
1583
  }
@@ -1593,11 +1618,62 @@ function createParagraphEditableTarget(paragraph, kind, storyKey, blockPath, tar
1593
1618
  blockType: "paragraph",
1594
1619
  ...paragraph.wordExtensionIds?.paraId !== void 0 ? { wordParaId: paragraph.wordExtensionIds.paraId } : {},
1595
1620
  ...paragraph.wordExtensionIds?.textId !== void 0 ? { wordTextId: paragraph.wordExtensionIds.textId } : {},
1596
- ...sourceRef !== void 0 ? { sourceRef } : {}
1621
+ ...sourceRef !== void 0 ? { sourceRef } : {},
1622
+ ...listIdentity !== void 0 ? {
1623
+ listNumberingOrigin: listIdentity.numberingOrigin,
1624
+ listNumberingInstanceId: listIdentity.numberingInstanceId,
1625
+ ...listIdentity.abstractNumberingId !== void 0 ? { listAbstractNumberingId: listIdentity.abstractNumberingId } : {},
1626
+ listLevel: listIdentity.level,
1627
+ ...listIdentity.overrideHash !== void 0 ? { listOverrideHash: listIdentity.overrideHash } : {},
1628
+ numberingCatalogHash: listIdentity.numberingCatalogHash
1629
+ } : {}
1597
1630
  },
1598
1631
  posture
1599
1632
  };
1600
1633
  }
1634
+ function resolveEditableParagraphListIdentity(paragraph, context) {
1635
+ const directNumbering = paragraph.numbering;
1636
+ const styleNumbering = directNumbering === void 0 && paragraph.styleId !== void 0 ? resolveParagraphStyleNumbering(context.doc, paragraph.styleId) : void 0;
1637
+ const numbering = directNumbering ?? styleNumbering;
1638
+ if (numbering === void 0) return void 0;
1639
+ const numberingCatalog = context.doc.numbering ?? { abstractDefinitions: {}, instances: {} };
1640
+ const instances = numberingCatalog.instances ?? {};
1641
+ const abstractDefinitions = numberingCatalog.abstractDefinitions ?? {};
1642
+ const instance = instances[numbering.numberingInstanceId];
1643
+ const abstractDefinition = instance !== void 0 ? abstractDefinitions[instance.abstractNumberingId] : void 0;
1644
+ const level = numbering.level ?? 0;
1645
+ const override = instance?.overrides.find((entry) => entry.level === level);
1646
+ const overrideHash = override !== void 0 ? hashText(JSON.stringify(numberingOverrideDiscriminator(override))) : void 0;
1647
+ return {
1648
+ numberingOrigin: directNumbering !== void 0 ? "paragraph" : "paragraph-style",
1649
+ numberingInstanceId: numbering.numberingInstanceId,
1650
+ ...instance?.abstractNumberingId !== void 0 ? { abstractNumberingId: instance.abstractNumberingId } : {},
1651
+ level,
1652
+ ...overrideHash !== void 0 ? { overrideHash } : {},
1653
+ numberingCatalogHash: context.numberingCatalogHash,
1654
+ ...directNumbering?.sourceRef !== void 0 ? { paragraphNumberingSourceRef: directNumbering.sourceRef } : {},
1655
+ ...instance?.sourceRef !== void 0 ? { instanceSourceRef: instance.sourceRef } : {},
1656
+ ...abstractDefinition?.sourceRef !== void 0 ? { abstractSourceRef: abstractDefinition.sourceRef } : {}
1657
+ };
1658
+ }
1659
+ function numberingOverrideDiscriminator(override) {
1660
+ return {
1661
+ level: override.level,
1662
+ startAt: override.startAt ?? null,
1663
+ sourceId: override.sourceRef?.sourceId ?? null,
1664
+ levelDefinition: override.levelDefinition === void 0 ? null : {
1665
+ sourceId: override.levelDefinition.sourceRef?.sourceId ?? null,
1666
+ format: override.levelDefinition.format ?? null,
1667
+ text: override.levelDefinition.text ?? null,
1668
+ startAt: override.levelDefinition.startAt ?? null,
1669
+ paragraphStyleId: override.levelDefinition.paragraphStyleId ?? null,
1670
+ isLegalNumbering: override.levelDefinition.isLegalNumbering ?? null,
1671
+ suffix: override.levelDefinition.suffix ?? null,
1672
+ restartAfterLevel: override.levelDefinition.restartAfterLevel ?? null,
1673
+ picBulletId: override.levelDefinition.picBulletId ?? null
1674
+ }
1675
+ };
1676
+ }
1601
1677
  function contentControlLocksContent(contentControl) {
1602
1678
  return contentControl?.lock !== void 0 && contentControl.lock !== "unlocked" && contentControl.lock !== "none";
1603
1679
  }
@@ -2366,6 +2442,7 @@ function createCanonicalAddress(input) {
2366
2442
  ...input.rowRange !== void 0 ? { rowRange: input.rowRange } : {},
2367
2443
  ...input.columnRange !== void 0 ? { columnRange: input.columnRange } : {},
2368
2444
  ...sourceHash !== void 0 ? { sourceJoinHash: sourceHash } : {},
2445
+ ...input.list !== void 0 ? { list: input.list } : {},
2369
2446
  ...input.secondaryStory === true ? { secondaryStory: true } : {},
2370
2447
  ...input.nestedTable === true ? { nestedTable: true } : {},
2371
2448
  ...input.insideSdt === true ? { insideSdt: true } : {},
@@ -2400,6 +2477,87 @@ function sourceJoinHash(refs) {
2400
2477
  if (sourceIds.length === 0) return void 0;
2401
2478
  return hashText(sourceIds.join("\0"));
2402
2479
  }
2480
+ function createNumberingCatalogRevisionHash(doc) {
2481
+ const catalog = doc.numbering ?? { abstractDefinitions: {}, instances: {} };
2482
+ const abstractDefinitions = catalog.abstractDefinitions ?? {};
2483
+ const instances = catalog.instances ?? {};
2484
+ const numPicBullets = catalog.numPicBullets ?? {};
2485
+ return hashText(JSON.stringify({
2486
+ abstractDefinitions: Object.keys(abstractDefinitions).sort().map((abstractNumberingId) => {
2487
+ const definition = abstractDefinitions[abstractNumberingId];
2488
+ return {
2489
+ abstractNumberingId,
2490
+ sourceId: definition.sourceRef?.sourceId ?? null,
2491
+ nsid: definition.nsid ?? null,
2492
+ tplc: definition.tplc ?? null,
2493
+ styleLink: definition.styleLink ?? null,
2494
+ numStyleLink: definition.numStyleLink ?? null,
2495
+ levels: definition.levels.map((level) => ({
2496
+ sourceId: level.sourceRef?.sourceId ?? null,
2497
+ level: level.level,
2498
+ format: level.format,
2499
+ text: level.text,
2500
+ startAt: level.startAt ?? null,
2501
+ paragraphStyleId: level.paragraphStyleId ?? null,
2502
+ isLegalNumbering: level.isLegalNumbering ?? null,
2503
+ suffix: level.suffix ?? null,
2504
+ restartAfterLevel: level.restartAfterLevel ?? null,
2505
+ picBulletId: level.picBulletId ?? null
2506
+ }))
2507
+ };
2508
+ }),
2509
+ instances: Object.keys(instances).sort().map((numberingInstanceId) => {
2510
+ const instance = instances[numberingInstanceId];
2511
+ return {
2512
+ numberingInstanceId,
2513
+ sourceId: instance.sourceRef?.sourceId ?? null,
2514
+ abstractNumberingId: instance.abstractNumberingId,
2515
+ overrides: instance.overrides.map(numberingOverrideDiscriminator)
2516
+ };
2517
+ }),
2518
+ numPicBullets: Object.keys(numPicBullets).sort().map((numPicBulletId) => {
2519
+ const picBullet = numPicBullets[numPicBulletId];
2520
+ return {
2521
+ numPicBulletId,
2522
+ sourceId: picBullet.sourceRef?.sourceId ?? null,
2523
+ mediaId: picBullet.mediaId ?? null,
2524
+ widthEmu: picBullet.widthEmu ?? null,
2525
+ heightEmu: picBullet.heightEmu ?? null
2526
+ };
2527
+ })
2528
+ }));
2529
+ }
2530
+ function createNumberingTargetRevisionHash(doc) {
2531
+ const paragraphStyles = doc.styles?.paragraphs ?? {};
2532
+ return hashText(JSON.stringify({
2533
+ numberingCatalogHash: createNumberingCatalogRevisionHash(doc),
2534
+ paragraphStyleNumbering: Object.keys(paragraphStyles).sort().map((styleId) => {
2535
+ const style = paragraphStyles[styleId];
2536
+ return {
2537
+ styleId,
2538
+ basedOn: style.basedOn ?? null,
2539
+ numberingInstanceId: style.numbering?.numberingInstanceId ?? null,
2540
+ level: style.numbering?.level ?? null
2541
+ };
2542
+ })
2543
+ }));
2544
+ }
2545
+ function resolveParagraphStyleNumbering(doc, styleId) {
2546
+ const visited = /* @__PURE__ */ new Set();
2547
+ let currentStyleId = styleId;
2548
+ while (currentStyleId !== void 0 && !visited.has(currentStyleId)) {
2549
+ visited.add(currentStyleId);
2550
+ const style = doc.styles?.paragraphs?.[currentStyleId];
2551
+ if (style === void 0) {
2552
+ return void 0;
2553
+ }
2554
+ if (style.numbering !== void 0) {
2555
+ return style.numbering;
2556
+ }
2557
+ currentStyleId = style.basedOn;
2558
+ }
2559
+ return void 0;
2560
+ }
2403
2561
  function collectCanonicalFieldRegionIdentities(doc) {
2404
2562
  const registry = doc.fieldRegistry;
2405
2563
  const byFieldIndex = new Map(
@@ -3846,6 +4004,10 @@ function createNumberingPrefixResolver(catalog) {
3846
4004
  ])
3847
4005
  ) : resolved.effectiveLevels;
3848
4006
  const picBulletId = resolved.effectiveLevel.picBulletId;
4007
+ const pictureBulletPosture = resolvePictureBulletRenderPosture(
4008
+ picBulletId,
4009
+ picBulletId != null ? catalog.numPicBullets?.[picBulletId] : void 0
4010
+ );
3849
4011
  const text = renderLevelText(
3850
4012
  resolved.effectiveLevel.text,
3851
4013
  workingState.counters,
@@ -3854,14 +4016,20 @@ function createNumberingPrefixResolver(catalog) {
3854
4016
  if (picBulletId == null && resolved.effectiveLevel.format !== "none" && text === null) {
3855
4017
  return null;
3856
4018
  }
3857
- const visibleText = resolved.effectiveLevel.format === "none" ? null : text;
4019
+ const visibleText = resolved.effectiveLevel.format === "none" ? null : text ?? pictureBulletPosture?.fallbackGlyph ?? null;
4020
+ const normalizedMarkerText = normalizeMarkerText(
4021
+ visibleText,
4022
+ resolved.effectiveLevel.format,
4023
+ resolved.geometry.markerRunProperties
4024
+ );
3858
4025
  const formatPosture = getNumberingFormatPosture(
3859
4026
  resolved.effectiveLevel.format,
3860
4027
  currentCounter
3861
4028
  );
3862
- const picBulletMediaId = picBulletId != null ? catalog.numPicBullets?.[picBulletId]?.mediaId : void 0;
4029
+ const picBulletMediaId = pictureBulletPosture?.mediaId;
3863
4030
  return {
3864
- text: visibleText,
4031
+ text: normalizedMarkerText.text,
4032
+ ...normalizedMarkerText.posture !== void 0 ? { markerTextPosture: normalizedMarkerText.posture } : {},
3865
4033
  level: resolved.effectiveLevel.level,
3866
4034
  format: resolved.effectiveLevel.format,
3867
4035
  ...formatPosture !== void 0 ? { formatPosture } : {},
@@ -3871,7 +4039,9 @@ function createNumberingPrefixResolver(catalog) {
3871
4039
  ...resolved.effectiveLevel.isLegalNumbering ? { isLegalNumbering: true } : {},
3872
4040
  ...resolved.geometry.markerRunProperties ? { markerRunProperties: resolved.geometry.markerRunProperties } : {},
3873
4041
  geometry: resolved.geometry,
3874
- ...picBulletMediaId != null ? { picBulletMediaId } : {}
4042
+ ...picBulletId != null ? { picBulletId } : {},
4043
+ ...picBulletMediaId != null ? { picBulletMediaId } : {},
4044
+ ...pictureBulletPosture !== void 0 ? { pictureBulletPosture } : {}
3875
4045
  };
3876
4046
  }
3877
4047
  return {
@@ -3887,6 +4057,69 @@ function createNumberingPrefixResolver(catalog) {
3887
4057
  }
3888
4058
  };
3889
4059
  }
4060
+ function normalizeMarkerText(text, format, markerRunProperties) {
4061
+ if (text === null || format !== "bullet") {
4062
+ return { text };
4063
+ }
4064
+ const fontFamily = getMarkerFontFamily(markerRunProperties);
4065
+ if (!isKnownSymbolBulletFont(fontFamily)) {
4066
+ return { text };
4067
+ }
4068
+ const renderedText = Array.from(text, (char) => SYMBOL_BULLET_GLYPH_MAP.get(char) ?? char).join("");
4069
+ if (renderedText === text) {
4070
+ return { text };
4071
+ }
4072
+ return {
4073
+ text: renderedText,
4074
+ posture: {
4075
+ status: "normalized",
4076
+ sourceText: text,
4077
+ renderedText,
4078
+ reason: "symbol-font-bullet-normalized",
4079
+ ...fontFamily ? { fontFamily } : {}
4080
+ }
4081
+ };
4082
+ }
4083
+ function getMarkerFontFamily(markerRunProperties) {
4084
+ return markerRunProperties?.fontFamilyAscii ?? markerRunProperties?.fontFamilyHAnsi ?? markerRunProperties?.fontFamilyEastAsia ?? markerRunProperties?.fontFamilyCs ?? markerRunProperties?.fontFamily;
4085
+ }
4086
+ function isKnownSymbolBulletFont(fontFamily) {
4087
+ return fontFamily !== void 0 && /^(?:symbol|wingdings|wingdings 2|wingdings 3|webdings)$/iu.test(
4088
+ fontFamily.trim()
4089
+ );
4090
+ }
4091
+ var SYMBOL_BULLET_GLYPH_MAP = /* @__PURE__ */ new Map([
4092
+ ["\uF0B7", "\u2022"],
4093
+ ["\uF0A7", "\u25AA"],
4094
+ ["\uF0FC", "\u2713"]
4095
+ ]);
4096
+ function resolvePictureBulletRenderPosture(picBulletId, picBullet) {
4097
+ if (picBulletId == null) return void 0;
4098
+ if (!picBullet) {
4099
+ return {
4100
+ status: "preserve-only",
4101
+ picBulletId,
4102
+ fallbackGlyph: "\u2022",
4103
+ reason: "picture-bullet-catalog-entry-missing"
4104
+ };
4105
+ }
4106
+ if (picBullet.mediaId) {
4107
+ return {
4108
+ status: "media-rendered",
4109
+ picBulletId,
4110
+ mediaId: picBullet.mediaId,
4111
+ ...picBullet.sourceRef ? { sourceRef: picBullet.sourceRef } : {},
4112
+ reason: "picture-bullet-media-rendered"
4113
+ };
4114
+ }
4115
+ return {
4116
+ status: "glyph-fallback",
4117
+ picBulletId,
4118
+ fallbackGlyph: "\u2022",
4119
+ ...picBullet.sourceRef ? { sourceRef: picBullet.sourceRef } : {},
4120
+ reason: "picture-bullet-media-unavailable"
4121
+ };
4122
+ }
3890
4123
  function getSequenceState(states, numberingInstanceId, options = { create: true }) {
3891
4124
  const existing = states.get(numberingInstanceId);
3892
4125
  if (existing) {
@@ -3949,7 +4182,7 @@ function getNumberingFormatPosture(format, value) {
3949
4182
  reason: registryEntry?.fallbackReason ?? "unsupported-numbering-format-decimal-fallback"
3950
4183
  };
3951
4184
  }
3952
- 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)) {
4185
+ if (value !== void 0 && (registryEntry.isInRange !== void 0 && !registryEntry.isInRange(value) || (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)) {
3953
4186
  return {
3954
4187
  status: "approximated",
3955
4188
  requestedFormat: format,
@@ -4043,6 +4276,37 @@ var exactNumberingFormatEntries = [
4043
4276
  supportsMutation: true,
4044
4277
  render: toOrdinal2
4045
4278
  },
4279
+ {
4280
+ format: "decimalFullWidth",
4281
+ renderSupport: "supported",
4282
+ renderedFormat: "decimalFullWidth",
4283
+ supportsMutation: false,
4284
+ render: toFullWidthDecimal
4285
+ },
4286
+ {
4287
+ format: "decimalEnclosedCircle",
4288
+ renderSupport: "supported",
4289
+ renderedFormat: "decimalEnclosedCircle",
4290
+ supportsMutation: false,
4291
+ render: toCircledDecimal,
4292
+ isInRange: (value) => Number.isInteger(value) && value >= 0 && value <= 50
4293
+ },
4294
+ {
4295
+ format: "decimalEnclosedParen",
4296
+ renderSupport: "supported",
4297
+ renderedFormat: "decimalEnclosedParen",
4298
+ supportsMutation: false,
4299
+ render: (value) => Number.isInteger(value) && value > 0 ? `(${value})` : String(value),
4300
+ isInRange: (value) => Number.isInteger(value) && value > 0
4301
+ },
4302
+ {
4303
+ format: "decimalEnclosedFullstop",
4304
+ renderSupport: "supported",
4305
+ renderedFormat: "decimalEnclosedFullstop",
4306
+ supportsMutation: false,
4307
+ render: (value) => Number.isInteger(value) && value > 0 ? `${value}.` : String(value),
4308
+ isInRange: (value) => Number.isInteger(value) && value > 0
4309
+ },
4046
4310
  {
4047
4311
  format: "cardinalText",
4048
4312
  renderSupport: "supported",
@@ -4080,10 +4344,6 @@ var exactNumberingFormatEntries = [
4080
4344
  }
4081
4345
  ];
4082
4346
  var approximatedDecimalFormats = [
4083
- "decimalEnclosedCircle",
4084
- "decimalEnclosedFullstop",
4085
- "decimalEnclosedParen",
4086
- "decimalFullWidth",
4087
4347
  "decimalHalfWidth",
4088
4348
  "aiueo",
4089
4349
  "iroha",
@@ -4135,6 +4395,30 @@ function toOrdinal2(value) {
4135
4395
  return `${value}th`;
4136
4396
  }
4137
4397
  }
4398
+ function toFullWidthDecimal(value) {
4399
+ return String(value).replace(
4400
+ /[0-9]/g,
4401
+ (digit) => String.fromCharCode(65296 + Number.parseInt(digit, 10))
4402
+ );
4403
+ }
4404
+ var CIRCLED_DECIMAL_BY_VALUE = new Map([
4405
+ [0, "\u24EA"],
4406
+ ...Array.from({ length: 20 }, (_, index) => [
4407
+ index + 1,
4408
+ String.fromCodePoint(9312 + index)
4409
+ ]),
4410
+ ...Array.from({ length: 15 }, (_, index) => [
4411
+ index + 21,
4412
+ String.fromCodePoint(12881 + index)
4413
+ ]),
4414
+ ...Array.from({ length: 15 }, (_, index) => [
4415
+ index + 36,
4416
+ String.fromCodePoint(12977 + index)
4417
+ ])
4418
+ ]);
4419
+ function toCircledDecimal(value) {
4420
+ return CIRCLED_DECIMAL_BY_VALUE.get(value) ?? String(value);
4421
+ }
4138
4422
  function toAlphabetic2(value) {
4139
4423
  if (value <= 0) {
4140
4424
  return String(value);
@@ -4908,6 +5192,7 @@ function toNumberingLayoutInput(numbering) {
4908
5192
  const hangingTwips = textColumn?.hanging ?? numbering.geometry.indentation?.hanging ?? (typeof numbering.geometry.indentation?.firstLine === "number" && numbering.geometry.indentation.firstLine < 0 ? Math.abs(numbering.geometry.indentation.firstLine) : void 0);
4909
5193
  return {
4910
5194
  markerText: numbering.text,
5195
+ ...numbering.markerTextPosture ? { markerTextPosture: { ...numbering.markerTextPosture } } : {},
4911
5196
  ...numbering.markerRunProperties ? { markerRunFormatting: numbering.markerRunProperties } : {},
4912
5197
  markerSuffix: normalizeNumberingMarkerSuffix(numbering.suffix),
4913
5198
  ...markerLane ? { markerLaneStartTwips: markerLane.start } : {},
@@ -4920,7 +5205,9 @@ function toNumberingLayoutInput(numbering) {
4920
5205
  ...numbering.formatPosture !== void 0 ? { formatPosture: { ...numbering.formatPosture } } : {},
4921
5206
  startAt: numbering.startAt,
4922
5207
  ...numbering.isLegalNumbering ? { isLegalNumbering: true } : {},
4923
- ...numbering.picBulletMediaId ? { pictureBulletMediaId: numbering.picBulletMediaId } : {}
5208
+ ...numbering.picBulletId ? { pictureBulletId: numbering.picBulletId } : {},
5209
+ ...numbering.picBulletMediaId ? { pictureBulletMediaId: numbering.picBulletMediaId } : {},
5210
+ ...numbering.pictureBulletPosture ? { pictureBulletPosture: { ...numbering.pictureBulletPosture } } : {}
4924
5211
  };
4925
5212
  }
4926
5213
  function toFieldLayoutInput(entry, resolved, region) {
@@ -5432,6 +5719,7 @@ function buildEffectiveNumbering(detail) {
5432
5719
  const result = {
5433
5720
  level: detail.level,
5434
5721
  ...detail.text !== null ? { marker: detail.text } : {},
5722
+ ...detail.markerTextPosture ? { markerTextPosture: { ...detail.markerTextPosture } } : {},
5435
5723
  ...detail.markerRunProperties ? { markerRunFormatting: detail.markerRunProperties } : {},
5436
5724
  ...detail.geometry ? {
5437
5725
  indentation: {
@@ -5441,7 +5729,8 @@ function buildEffectiveNumbering(detail) {
5441
5729
  ...detail.geometry.tabStops && detail.geometry.tabStops.length > 0 ? { tab: detail.geometry.tabStops[0].position } : {}
5442
5730
  }
5443
5731
  } : {},
5444
- ...detail.picBulletMediaId ? { pictureBulletRef: detail.picBulletMediaId } : {}
5732
+ ...detail.picBulletMediaId ? { pictureBulletRef: detail.picBulletMediaId } : {},
5733
+ ...detail.pictureBulletPosture ? { pictureBulletPosture: { ...detail.pictureBulletPosture } } : {}
5445
5734
  };
5446
5735
  return result;
5447
5736
  }
@@ -7358,6 +7647,7 @@ function toSurfaceResolvedNumbering(numbering) {
7358
7647
  format: numbering.format,
7359
7648
  ...numbering.formatPosture !== void 0 ? { formatPosture: { ...numbering.formatPosture } } : {},
7360
7649
  ...numbering.text !== null ? { text: numbering.text } : {},
7650
+ ...numbering.markerTextPosture !== void 0 ? { markerTextPosture: { ...numbering.markerTextPosture } } : {},
7361
7651
  startAt: numbering.startAt,
7362
7652
  ...numbering.paragraphStyleId ? { paragraphStyleId: numbering.paragraphStyleId } : {},
7363
7653
  ...numbering.isLegalNumbering ? { isLegalNumbering: true } : {},
@@ -7370,7 +7660,9 @@ function toSurfaceResolvedNumbering(numbering) {
7370
7660
  ...numbering.geometry.markerLane ? { markerLane: { ...numbering.geometry.markerLane } } : {},
7371
7661
  ...numbering.geometry.textColumn ? { textColumn: { ...numbering.geometry.textColumn } } : {}
7372
7662
  },
7373
- ...numbering.picBulletMediaId ? { picBulletMediaId: numbering.picBulletMediaId } : {}
7663
+ ...numbering.picBulletId ? { picBulletId: numbering.picBulletId } : {},
7664
+ ...numbering.picBulletMediaId ? { picBulletMediaId: numbering.picBulletMediaId } : {},
7665
+ ...numbering.pictureBulletPosture ? { pictureBulletPosture: { ...numbering.pictureBulletPosture } } : {}
7374
7666
  };
7375
7667
  }
7376
7668
  function describePreservedInlinePreview(payloadReference) {
@@ -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-gvubspUI.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-KBS6JnOs.cjs';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
- import '../../canonical-document-BMtONpgf.cjs';
5
+ import '../../canonical-document-CfZIc-fC.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-DyqnxxO9.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-Cjs8glST.js';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
- import '../../canonical-document-BMtONpgf.js';
5
+ import '../../canonical-document-CfZIc-fC.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-QXKQPUOM.js";
11
+ } from "../../chunk-SZ6BJA4Q.js";
12
12
  import "../../chunk-Y4XZCMCS.js";
13
- import "../../chunk-T5YYFDZB.js";
14
- import "../../chunk-PHMWH23E.js";
13
+ import "../../chunk-N5FTU4HZ.js";
14
+ import "../../chunk-C5LXKR54.js";
15
15
  import "../../chunk-QIO6V46H.js";
16
- import "../../chunk-A3GSNB4G.js";
16
+ import "../../chunk-U3UMKA7B.js";
17
17
  import "../../chunk-OYGMRRR7.js";
18
- import "../../chunk-A66ZVUAT.js";
18
+ import "../../chunk-RYMMKOFI.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-gvubspUI.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-KBS6JnOs.cjs';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
- import '../../canonical-document-BMtONpgf.cjs';
5
+ import '../../canonical-document-CfZIc-fC.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-DyqnxxO9.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-Cjs8glST.js';
2
2
  import 'react';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
- import '../../canonical-document-BMtONpgf.js';
5
+ import '../../canonical-document-CfZIc-fC.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-gvubspUI.cjs';
2
- export { o as createCanonicalDocumentId } from '../../canonical-document-BMtONpgf.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-KBS6JnOs.cjs';
2
+ export { o as createCanonicalDocumentId } from '../../canonical-document-CfZIc-fC.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-DyqnxxO9.js';
2
- export { o as createCanonicalDocumentId } from '../../canonical-document-BMtONpgf.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-Cjs8glST.js';
2
+ export { o as createCanonicalDocumentId } from '../../canonical-document-CfZIc-fC.js';
3
3
  import 'react';
4
4
  import 'yjs';
5
5
  import 'y-protocols/awareness';