@beyondwork/docx-react-component 1.0.128 → 1.0.129
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.
- package/dist/api/public-types.cjs +215 -61
- package/dist/api/public-types.d.cts +2 -2
- package/dist/api/public-types.d.ts +2 -2
- package/dist/api/public-types.js +2 -2
- package/dist/api/v3.cjs +896 -71
- package/dist/api/v3.d.cts +3 -3
- package/dist/api/v3.d.ts +3 -3
- package/dist/api/v3.js +8 -8
- package/dist/{canonical-document-CXCFCbAz.d.cts → canonical-document-BMtONpgf.d.cts} +6 -0
- package/dist/{canonical-document-CXCFCbAz.d.ts → canonical-document-BMtONpgf.d.ts} +6 -0
- package/dist/{chunk-KV435YXO.js → chunk-5DSHUYSY.js} +1 -1
- package/dist/{chunk-TQDQU2E3.js → chunk-63FYIGCT.js} +2 -2
- package/dist/{chunk-ZDOAUP3V.js → chunk-DDN2AIGE.js} +1 -1
- package/dist/{chunk-6F5QW44A.js → chunk-DJU2W4E4.js} +2 -2
- package/dist/{chunk-4EENH4FG.js → chunk-EZKJXIPH.js} +1 -1
- package/dist/{chunk-CXSYRB37.js → chunk-HUIHBBAQ.js} +166 -49
- package/dist/{chunk-ESJ2MES5.js → chunk-JJGVE5J7.js} +1 -1
- package/dist/{chunk-LZVBNDGU.js → chunk-LJH64PV3.js} +3 -3
- package/dist/{chunk-MWSBGJQO.js → chunk-OTQIW2TC.js} +2 -2
- package/dist/{chunk-2QL5DAKF.js → chunk-PGKUJZXV.js} +3 -3
- package/dist/{chunk-6EROGFUF.js → chunk-PRAZBHNF.js} +441 -128
- package/dist/{chunk-4YJVRIUB.js → chunk-Q3QYGKFE.js} +51 -8
- package/dist/{chunk-YHZHPXDB.js → chunk-RMRTQGW3.js} +50 -13
- package/dist/{chunk-XRACP43Q.js → chunk-SKPTKQHF.js} +351 -13
- package/dist/{chunk-D5HYZQTG.js → chunk-VNLDQJ47.js} +1 -1
- package/dist/{chunk-BYSRJ4FE.js → chunk-W34X3KBR.js} +1 -1
- package/dist/{chunk-V6XVZFFH.js → chunk-XMHSGPLN.js} +2 -2
- package/dist/{chunk-LCYYR57Q.js → chunk-XQCAMKIQ.js} +421 -6
- package/dist/{chunk-YD2JE54B.js → chunk-YZDZ4FGR.js} +1 -1
- package/dist/compare.d.cts +1 -1
- package/dist/compare.d.ts +1 -1
- package/dist/core/commands/formatting-commands.d.cts +2 -2
- package/dist/core/commands/formatting-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.cjs +166 -49
- package/dist/core/commands/image-commands.d.cts +2 -2
- package/dist/core/commands/image-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.js +4 -4
- package/dist/core/commands/section-layout-commands.d.cts +2 -2
- package/dist/core/commands/section-layout-commands.d.ts +2 -2
- package/dist/core/commands/style-commands.d.cts +2 -2
- package/dist/core/commands/style-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.cjs +166 -49
- package/dist/core/commands/table-structure-commands.d.cts +2 -2
- package/dist/core/commands/table-structure-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.js +3 -3
- package/dist/core/commands/text-commands.cjs +166 -49
- package/dist/core/commands/text-commands.d.cts +2 -2
- package/dist/core/commands/text-commands.d.ts +2 -2
- package/dist/core/commands/text-commands.js +4 -4
- package/dist/core/selection/mapping.d.cts +2 -2
- package/dist/core/selection/mapping.d.ts +2 -2
- package/dist/core/state/editor-state.d.cts +2 -2
- package/dist/core/state/editor-state.d.ts +2 -2
- package/dist/index.cjs +1486 -211
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +46 -22
- package/dist/io/docx-session.cjs +51 -8
- package/dist/io/docx-session.d.cts +4 -4
- package/dist/io/docx-session.d.ts +4 -4
- package/dist/io/docx-session.js +3 -3
- package/dist/legal.d.cts +1 -1
- package/dist/legal.d.ts +1 -1
- package/dist/legal.js +2 -2
- package/dist/{loader-19ct2Be0.d.ts → loader-4qsw4eIU.d.ts} +3 -3
- package/dist/{loader-CoXQ2wGd.d.cts → loader-B8TKhmQi.d.cts} +3 -3
- package/dist/{public-types-B-CskQen.d.cts → public-types-B5CRoR6f.d.cts} +128 -1
- package/dist/{public-types-7KZsNGE2.d.ts → public-types-p9b8rfy8.d.ts} +128 -1
- package/dist/public-types.cjs +215 -61
- package/dist/public-types.d.cts +2 -2
- package/dist/public-types.d.ts +2 -2
- package/dist/public-types.js +2 -2
- package/dist/runtime/collab.d.cts +3 -3
- package/dist/runtime/collab.d.ts +3 -3
- package/dist/runtime/document-runtime.cjs +980 -185
- package/dist/runtime/document-runtime.d.cts +2 -2
- package/dist/runtime/document-runtime.d.ts +2 -2
- package/dist/runtime/document-runtime.js +13 -13
- package/dist/{session-B5015J4v.d.cts → session-BnGIjaex.d.cts} +3 -3
- package/dist/{session-C2i8-d6v.d.ts → session-vEYKf-w3.d.ts} +3 -3
- package/dist/session.cjs +51 -8
- package/dist/session.d.cts +5 -5
- package/dist/session.d.ts +5 -5
- package/dist/session.js +4 -4
- package/dist/tailwind.cjs +215 -61
- package/dist/tailwind.d.cts +2 -2
- package/dist/tailwind.d.ts +2 -2
- package/dist/tailwind.js +5 -5
- package/dist/{types-DNhN0WeN.d.cts → types-BLuvZ6cQ.d.cts} +2 -2
- package/dist/{types-yvrQuGX9.d.ts → types-Dutlyj0T.d.ts} +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.js +3 -3
- package/dist/ui-tailwind.cjs +215 -61
- package/dist/ui-tailwind.d.cts +3 -3
- package/dist/ui-tailwind.d.ts +3 -3
- package/dist/ui-tailwind.js +5 -5
- package/package.json +1 -1
|
@@ -5749,12 +5749,13 @@ function getLevelStartAt(level, levelDefinitions) {
|
|
|
5749
5749
|
return levelDefinitions.get(level)?.startAt ?? DEFAULT_NUMBERING_START_AT;
|
|
5750
5750
|
}
|
|
5751
5751
|
function getNumberingFormatPosture(format, value) {
|
|
5752
|
-
|
|
5752
|
+
const registryEntry = getNumberingFormatRegistryEntry(format);
|
|
5753
|
+
if (!registryEntry || registryEntry.renderSupport === "approximated") {
|
|
5753
5754
|
return {
|
|
5754
5755
|
status: "approximated",
|
|
5755
5756
|
requestedFormat: format,
|
|
5756
5757
|
renderedFormat: "decimal",
|
|
5757
|
-
reason: "unsupported-numbering-format-decimal-fallback"
|
|
5758
|
+
reason: registryEntry?.fallbackReason ?? "unsupported-numbering-format-decimal-fallback"
|
|
5758
5759
|
};
|
|
5759
5760
|
}
|
|
5760
5761
|
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)) {
|
|
@@ -5785,56 +5786,148 @@ function renderLevelText(text, counters, levelDefinitions) {
|
|
|
5785
5786
|
});
|
|
5786
5787
|
return rendered.trim().length > 0 ? rendered : null;
|
|
5787
5788
|
}
|
|
5788
|
-
var SUPPORTED_NUMBERING_FORMATS = /* @__PURE__ */ new Set([
|
|
5789
|
-
"decimal",
|
|
5790
|
-
"decimalZero",
|
|
5791
|
-
"upperLetter",
|
|
5792
|
-
"lowerLetter",
|
|
5793
|
-
"upperRoman",
|
|
5794
|
-
"lowerRoman",
|
|
5795
|
-
"hex",
|
|
5796
|
-
"ordinal",
|
|
5797
|
-
"cardinalText",
|
|
5798
|
-
"ordinalText",
|
|
5799
|
-
"chicago",
|
|
5800
|
-
"bullet",
|
|
5801
|
-
"none"
|
|
5802
|
-
]);
|
|
5803
5789
|
function isSupportedNumberingFormat(format) {
|
|
5804
|
-
return
|
|
5790
|
+
return getNumberingFormatRegistryEntry(format)?.renderSupport === "supported";
|
|
5791
|
+
}
|
|
5792
|
+
function getNumberingFormatRegistryEntry(format) {
|
|
5793
|
+
return NUMBERING_FORMAT_REGISTRY.get(format);
|
|
5805
5794
|
}
|
|
5806
5795
|
function formatCounter(value, format) {
|
|
5807
|
-
|
|
5808
|
-
case "decimal":
|
|
5809
|
-
return String(value);
|
|
5810
|
-
case "decimalZero":
|
|
5811
|
-
return String(value).padStart(2, "0");
|
|
5812
|
-
case "upperLetter":
|
|
5813
|
-
return toAlphabetic2(value).toUpperCase();
|
|
5814
|
-
case "lowerLetter":
|
|
5815
|
-
return toAlphabetic2(value).toLowerCase();
|
|
5816
|
-
case "upperRoman":
|
|
5817
|
-
return toRoman2(value).toUpperCase();
|
|
5818
|
-
case "lowerRoman":
|
|
5819
|
-
return toRoman2(value).toLowerCase();
|
|
5820
|
-
case "hex":
|
|
5821
|
-
return value >= 0 ? value.toString(16).toUpperCase() : String(value);
|
|
5822
|
-
case "ordinal":
|
|
5823
|
-
return toOrdinal2(value);
|
|
5824
|
-
case "cardinalText":
|
|
5825
|
-
return toCardinalText2(value);
|
|
5826
|
-
case "ordinalText":
|
|
5827
|
-
return toOrdinalText2(value);
|
|
5828
|
-
case "chicago":
|
|
5829
|
-
return toChicago2(value);
|
|
5830
|
-
case "bullet":
|
|
5831
|
-
return "";
|
|
5832
|
-
case "none":
|
|
5833
|
-
return "";
|
|
5834
|
-
default:
|
|
5835
|
-
return String(value);
|
|
5836
|
-
}
|
|
5796
|
+
return getNumberingFormatRegistryEntry(format)?.render(value) ?? String(value);
|
|
5837
5797
|
}
|
|
5798
|
+
var exactNumberingFormatEntries = [
|
|
5799
|
+
{
|
|
5800
|
+
format: "decimal",
|
|
5801
|
+
renderSupport: "supported",
|
|
5802
|
+
renderedFormat: "decimal",
|
|
5803
|
+
supportsMutation: true,
|
|
5804
|
+
render: (value) => String(value)
|
|
5805
|
+
},
|
|
5806
|
+
{
|
|
5807
|
+
format: "decimalZero",
|
|
5808
|
+
renderSupport: "supported",
|
|
5809
|
+
renderedFormat: "decimalZero",
|
|
5810
|
+
supportsMutation: true,
|
|
5811
|
+
render: (value) => String(value).padStart(2, "0")
|
|
5812
|
+
},
|
|
5813
|
+
{
|
|
5814
|
+
format: "upperLetter",
|
|
5815
|
+
renderSupport: "supported",
|
|
5816
|
+
renderedFormat: "upperLetter",
|
|
5817
|
+
supportsMutation: true,
|
|
5818
|
+
render: (value) => toAlphabetic2(value).toUpperCase()
|
|
5819
|
+
},
|
|
5820
|
+
{
|
|
5821
|
+
format: "lowerLetter",
|
|
5822
|
+
renderSupport: "supported",
|
|
5823
|
+
renderedFormat: "lowerLetter",
|
|
5824
|
+
supportsMutation: true,
|
|
5825
|
+
render: (value) => toAlphabetic2(value).toLowerCase()
|
|
5826
|
+
},
|
|
5827
|
+
{
|
|
5828
|
+
format: "upperRoman",
|
|
5829
|
+
renderSupport: "supported",
|
|
5830
|
+
renderedFormat: "upperRoman",
|
|
5831
|
+
supportsMutation: true,
|
|
5832
|
+
render: (value) => toRoman2(value).toUpperCase()
|
|
5833
|
+
},
|
|
5834
|
+
{
|
|
5835
|
+
format: "lowerRoman",
|
|
5836
|
+
renderSupport: "supported",
|
|
5837
|
+
renderedFormat: "lowerRoman",
|
|
5838
|
+
supportsMutation: true,
|
|
5839
|
+
render: (value) => toRoman2(value).toLowerCase()
|
|
5840
|
+
},
|
|
5841
|
+
{
|
|
5842
|
+
format: "hex",
|
|
5843
|
+
renderSupport: "supported",
|
|
5844
|
+
renderedFormat: "hex",
|
|
5845
|
+
supportsMutation: true,
|
|
5846
|
+
render: (value) => value >= 0 ? value.toString(16).toUpperCase() : String(value)
|
|
5847
|
+
},
|
|
5848
|
+
{
|
|
5849
|
+
format: "ordinal",
|
|
5850
|
+
renderSupport: "supported",
|
|
5851
|
+
renderedFormat: "ordinal",
|
|
5852
|
+
supportsMutation: true,
|
|
5853
|
+
render: toOrdinal2
|
|
5854
|
+
},
|
|
5855
|
+
{
|
|
5856
|
+
format: "cardinalText",
|
|
5857
|
+
renderSupport: "supported",
|
|
5858
|
+
renderedFormat: "cardinalText",
|
|
5859
|
+
supportsMutation: true,
|
|
5860
|
+
render: toCardinalText2
|
|
5861
|
+
},
|
|
5862
|
+
{
|
|
5863
|
+
format: "ordinalText",
|
|
5864
|
+
renderSupport: "supported",
|
|
5865
|
+
renderedFormat: "ordinalText",
|
|
5866
|
+
supportsMutation: true,
|
|
5867
|
+
render: toOrdinalText2
|
|
5868
|
+
},
|
|
5869
|
+
{
|
|
5870
|
+
format: "chicago",
|
|
5871
|
+
renderSupport: "supported",
|
|
5872
|
+
renderedFormat: "chicago",
|
|
5873
|
+
supportsMutation: true,
|
|
5874
|
+
render: toChicago2
|
|
5875
|
+
},
|
|
5876
|
+
{
|
|
5877
|
+
format: "bullet",
|
|
5878
|
+
renderSupport: "supported",
|
|
5879
|
+
renderedFormat: "bullet",
|
|
5880
|
+
supportsMutation: true,
|
|
5881
|
+
render: () => ""
|
|
5882
|
+
},
|
|
5883
|
+
{
|
|
5884
|
+
format: "none",
|
|
5885
|
+
renderSupport: "supported",
|
|
5886
|
+
renderedFormat: "none",
|
|
5887
|
+
supportsMutation: true,
|
|
5888
|
+
render: () => ""
|
|
5889
|
+
}
|
|
5890
|
+
];
|
|
5891
|
+
var approximatedDecimalFormats = [
|
|
5892
|
+
"decimalEnclosedCircle",
|
|
5893
|
+
"decimalEnclosedFullstop",
|
|
5894
|
+
"decimalEnclosedParen",
|
|
5895
|
+
"decimalFullWidth",
|
|
5896
|
+
"decimalHalfWidth",
|
|
5897
|
+
"aiueo",
|
|
5898
|
+
"iroha",
|
|
5899
|
+
"ganada",
|
|
5900
|
+
"chosung",
|
|
5901
|
+
"russianLower",
|
|
5902
|
+
"russianUpper",
|
|
5903
|
+
"hebrew1",
|
|
5904
|
+
"hebrew2",
|
|
5905
|
+
"arabicAlpha",
|
|
5906
|
+
"arabicAbjad",
|
|
5907
|
+
"thaiLetters",
|
|
5908
|
+
"thaiNumbers",
|
|
5909
|
+
"hindiLetters",
|
|
5910
|
+
"hindiNumbers",
|
|
5911
|
+
"ideographDigital",
|
|
5912
|
+
"ideographTraditional",
|
|
5913
|
+
"chineseCounting",
|
|
5914
|
+
"japaneseCounting",
|
|
5915
|
+
"japaneseLegal"
|
|
5916
|
+
];
|
|
5917
|
+
var approximatedNumberingFormatEntries = approximatedDecimalFormats.map((format) => ({
|
|
5918
|
+
format,
|
|
5919
|
+
renderSupport: "approximated",
|
|
5920
|
+
renderedFormat: "decimal",
|
|
5921
|
+
supportsMutation: false,
|
|
5922
|
+
fallbackReason: "unsupported-numbering-format-decimal-fallback",
|
|
5923
|
+
render: (value) => String(value)
|
|
5924
|
+
}));
|
|
5925
|
+
var NUMBERING_FORMAT_REGISTRY = new Map(
|
|
5926
|
+
[...exactNumberingFormatEntries, ...approximatedNumberingFormatEntries].map((entry) => [
|
|
5927
|
+
entry.format,
|
|
5928
|
+
entry
|
|
5929
|
+
])
|
|
5930
|
+
);
|
|
5838
5931
|
function toOrdinal2(value) {
|
|
5839
5932
|
if (value <= 0) return String(value);
|
|
5840
5933
|
const lastTwo = value % 100;
|
|
@@ -6488,12 +6581,36 @@ var DEFAULT_HYPERLINK_COLOR_HEX = "0563C1";
|
|
|
6488
6581
|
function resolveHyperlinkRunFormatting(input, catalog, resolver) {
|
|
6489
6582
|
const augmentedInput = input.characterStyleId === void 0 ? { ...input, characterStyleId: HYPERLINK_CHARACTER_STYLE_ID } : input;
|
|
6490
6583
|
const cascade = resolveEffectiveRunFormatting(augmentedInput, catalog);
|
|
6491
|
-
const resolvedColor = resolveHyperlinkColorHex(
|
|
6584
|
+
const resolvedColor = resolveHyperlinkColorHex(
|
|
6585
|
+
stripInheritedColorHexForImplicitHyperlink(input, catalog, cascade),
|
|
6586
|
+
resolver
|
|
6587
|
+
);
|
|
6492
6588
|
if (resolvedColor && resolvedColor !== cascade.colorHex) {
|
|
6493
6589
|
return { ...cascade, colorHex: resolvedColor };
|
|
6494
6590
|
}
|
|
6495
6591
|
return cascade;
|
|
6496
6592
|
}
|
|
6593
|
+
function hasDirectNonAutoColor(input) {
|
|
6594
|
+
return Boolean(input.direct?.colorHex && input.direct.colorHex !== "auto");
|
|
6595
|
+
}
|
|
6596
|
+
function characterStyleDeclaresColorHex(styleId, catalog) {
|
|
6597
|
+
if (!catalog) return false;
|
|
6598
|
+
const chain = resolveCharacterStyleChain(styleId, catalog);
|
|
6599
|
+
return chain.some((chainStyleId) => {
|
|
6600
|
+
const colorHex = catalog.characters[chainStyleId]?.runProperties?.colorHex;
|
|
6601
|
+
return Boolean(colorHex && colorHex !== "auto");
|
|
6602
|
+
});
|
|
6603
|
+
}
|
|
6604
|
+
function stripInheritedColorHexForImplicitHyperlink(originalInput, catalog, cascade) {
|
|
6605
|
+
if (originalInput.characterStyleId !== void 0 || hasDirectNonAutoColor(originalInput) || !cascade.colorHex || cascade.colorHex === "auto" || characterStyleDeclaresColorHex(HYPERLINK_CHARACTER_STYLE_ID, catalog)) {
|
|
6606
|
+
return cascade;
|
|
6607
|
+
}
|
|
6608
|
+
const inheritedCascade = resolveEffectiveRunFormatting(originalInput, catalog);
|
|
6609
|
+
if (inheritedCascade.colorHex !== cascade.colorHex) {
|
|
6610
|
+
return cascade;
|
|
6611
|
+
}
|
|
6612
|
+
return { ...cascade, colorHex: void 0 };
|
|
6613
|
+
}
|
|
6497
6614
|
function resolveHyperlinkColorHex(cascade, resolver) {
|
|
6498
6615
|
if (cascade.colorHex && cascade.colorHex !== "auto") {
|
|
6499
6616
|
return cascade.colorHex;
|
|
@@ -11703,6 +11820,14 @@ function paginateSectionBlocksWithSplits(section, blocks, layout, footnotes, mea
|
|
|
11703
11820
|
pushPage(block.from);
|
|
11704
11821
|
continue;
|
|
11705
11822
|
}
|
|
11823
|
+
if (isStandalonePageBreakParagraph(block)) {
|
|
11824
|
+
if (columnHeight > 0) {
|
|
11825
|
+
pushPage(nextBoundary);
|
|
11826
|
+
} else {
|
|
11827
|
+
pageStart = Math.max(pageStart, Math.min(nextBoundary, section.end));
|
|
11828
|
+
}
|
|
11829
|
+
break;
|
|
11830
|
+
}
|
|
11706
11831
|
const effectiveNoteHeight = estimateFootnoteReservation(
|
|
11707
11832
|
block,
|
|
11708
11833
|
footnotes,
|
|
@@ -11877,6 +12002,21 @@ function hasPageBreak(block) {
|
|
|
11877
12002
|
}
|
|
11878
12003
|
return nestedBlocks(block).some(hasPageBreak);
|
|
11879
12004
|
}
|
|
12005
|
+
function isStandalonePageBreakParagraph(block) {
|
|
12006
|
+
if (block.kind !== "paragraph") return false;
|
|
12007
|
+
let sawPageBreak = false;
|
|
12008
|
+
for (const segment of block.segments) {
|
|
12009
|
+
if (segment.kind === "opaque_inline" && segment.label === "Page break") {
|
|
12010
|
+
sawPageBreak = true;
|
|
12011
|
+
continue;
|
|
12012
|
+
}
|
|
12013
|
+
if (segment.kind === "text" && segment.text.trim().length === 0) {
|
|
12014
|
+
continue;
|
|
12015
|
+
}
|
|
12016
|
+
return false;
|
|
12017
|
+
}
|
|
12018
|
+
return sawPageBreak;
|
|
12019
|
+
}
|
|
11880
12020
|
function nestedBlocks(block) {
|
|
11881
12021
|
if (block.kind === "sdt_block") {
|
|
11882
12022
|
return block.children;
|
|
@@ -13338,6 +13478,9 @@ function projectSurfaceBlocksToPageFragments(surface, pages, splits, columnByBlo
|
|
|
13338
13478
|
for (let blockIndex = 0; blockIndex < surface.blocks.length; blockIndex += 1) {
|
|
13339
13479
|
const block = surface.blocks[blockIndex];
|
|
13340
13480
|
const blockPath = `main/block[${blockIndex}]`;
|
|
13481
|
+
if (isStandalonePageBreakParagraph2(block)) {
|
|
13482
|
+
continue;
|
|
13483
|
+
}
|
|
13341
13484
|
if (block.kind === "table") {
|
|
13342
13485
|
const tableSliceList = splits?.tablesByBlockId.get(block.blockId);
|
|
13343
13486
|
if (tableSliceList && tableSliceList.length > 1) {
|
|
@@ -13423,6 +13566,23 @@ function projectSurfaceBlocksToPageFragments(surface, pages, splits, columnByBlo
|
|
|
13423
13566
|
}
|
|
13424
13567
|
return byPage;
|
|
13425
13568
|
}
|
|
13569
|
+
function isStandalonePageBreakParagraph2(block) {
|
|
13570
|
+
if (block.kind !== "paragraph") {
|
|
13571
|
+
return false;
|
|
13572
|
+
}
|
|
13573
|
+
let sawPageBreak = false;
|
|
13574
|
+
for (const segment of block.segments) {
|
|
13575
|
+
if (segment.kind === "opaque_inline" && segment.label === "Page break") {
|
|
13576
|
+
sawPageBreak = true;
|
|
13577
|
+
continue;
|
|
13578
|
+
}
|
|
13579
|
+
if (segment.kind === "text" && segment.text.trim().length === 0) {
|
|
13580
|
+
continue;
|
|
13581
|
+
}
|
|
13582
|
+
return false;
|
|
13583
|
+
}
|
|
13584
|
+
return sawPageBreak;
|
|
13585
|
+
}
|
|
13426
13586
|
function projectLineBoxesForPageFragments(pages, fragmentsByPageIndex, fragmentMeasurementsByPageIndex, surface) {
|
|
13427
13587
|
const byPage = /* @__PURE__ */ new Map();
|
|
13428
13588
|
const blocksById = surface ? new Map(surface.blocks.map((block) => [block.blockId, block])) : /* @__PURE__ */ new Map();
|
|
@@ -13935,13 +14095,11 @@ function buildBookmarkRanges(targets) {
|
|
|
13935
14095
|
}
|
|
13936
14096
|
var EMPTY_NUMBERING_INPUT_INDEX = {
|
|
13937
14097
|
byNumberingKey: /* @__PURE__ */ new Map(),
|
|
13938
|
-
byBlockPath: /* @__PURE__ */ new Map()
|
|
13939
|
-
byParagraphIndex: /* @__PURE__ */ new Map()
|
|
14098
|
+
byBlockPath: /* @__PURE__ */ new Map()
|
|
13940
14099
|
};
|
|
13941
14100
|
function buildNumberingInputIndex(numberingInputs) {
|
|
13942
14101
|
const byNumberingKey = /* @__PURE__ */ new Map();
|
|
13943
14102
|
const byBlockPath = /* @__PURE__ */ new Map();
|
|
13944
|
-
const byParagraph = /* @__PURE__ */ new Map();
|
|
13945
14103
|
for (const input of numberingInputs) {
|
|
13946
14104
|
if (!byNumberingKey.has(input.numberingKey)) {
|
|
13947
14105
|
byNumberingKey.set(input.numberingKey, input);
|
|
@@ -13949,11 +14107,8 @@ function buildNumberingInputIndex(numberingInputs) {
|
|
|
13949
14107
|
if (!byBlockPath.has(input.blockPath)) {
|
|
13950
14108
|
byBlockPath.set(input.blockPath, input);
|
|
13951
14109
|
}
|
|
13952
|
-
if (!byParagraph.has(input.paragraphIndex)) {
|
|
13953
|
-
byParagraph.set(input.paragraphIndex, input);
|
|
13954
|
-
}
|
|
13955
14110
|
}
|
|
13956
|
-
return { byNumberingKey, byBlockPath
|
|
14111
|
+
return { byNumberingKey, byBlockPath };
|
|
13957
14112
|
}
|
|
13958
14113
|
function collectBookmarkRangeLayoutFacts(fragmentId, blockPath, bookmarkRanges) {
|
|
13959
14114
|
if (!blockPath || !bookmarkRanges || bookmarkRanges.length === 0) return [];
|
|
@@ -14073,8 +14228,7 @@ function collectNumberingLayoutFactsForBlock(block, blockPath, numberingIndex, n
|
|
|
14073
14228
|
const canonical = lookupNumberingInput(
|
|
14074
14229
|
numberingIndex,
|
|
14075
14230
|
numberingKey,
|
|
14076
|
-
context.path
|
|
14077
|
-
paragraphIndex
|
|
14231
|
+
context.path
|
|
14078
14232
|
);
|
|
14079
14233
|
const target = findNumberingTarget(numberingTargets, context.path);
|
|
14080
14234
|
const numberingLayoutId = numberingKey ?? [
|
|
@@ -14114,7 +14268,7 @@ function findNumberingTarget(numberingTargets, blockPath) {
|
|
|
14114
14268
|
if (blockPath === void 0) return void 0;
|
|
14115
14269
|
return numberingTargets.find((target) => target.blockPath === blockPath);
|
|
14116
14270
|
}
|
|
14117
|
-
function lookupNumberingInput(numberingIndex, numberingKey, blockPath
|
|
14271
|
+
function lookupNumberingInput(numberingIndex, numberingKey, blockPath) {
|
|
14118
14272
|
if (!numberingIndex) return void 0;
|
|
14119
14273
|
if (numberingKey !== void 0) {
|
|
14120
14274
|
const byKey = numberingIndex.byNumberingKey.get(numberingKey);
|
|
@@ -14124,7 +14278,7 @@ function lookupNumberingInput(numberingIndex, numberingKey, blockPath, paragraph
|
|
|
14124
14278
|
const byPath = numberingIndex.byBlockPath.get(blockPath);
|
|
14125
14279
|
if (byPath !== void 0) return byPath;
|
|
14126
14280
|
}
|
|
14127
|
-
return
|
|
14281
|
+
return void 0;
|
|
14128
14282
|
}
|
|
14129
14283
|
function collectNumberingUnavailableReasons(numbering, canonical) {
|
|
14130
14284
|
const reasons = [];
|
|
@@ -14515,7 +14669,7 @@ function createEmpiricalProvider() {
|
|
|
14515
14669
|
}
|
|
14516
14670
|
|
|
14517
14671
|
// src/runtime/layout/layout-engine-version.ts
|
|
14518
|
-
var LAYOUT_ENGINE_VERSION =
|
|
14672
|
+
var LAYOUT_ENGINE_VERSION = 89;
|
|
14519
14673
|
|
|
14520
14674
|
// src/runtime/layout/layout-engine-instance.ts
|
|
14521
14675
|
var FULL_VIEWPORT_WINDOW_KEY = "full";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-B-CskQen.cjs';
|
|
2
|
+
export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-B5CRoR6f.cjs';
|
|
3
3
|
import 'y-protocols/awareness';
|
|
4
4
|
import 'yjs';
|
|
5
|
-
export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-
|
|
5
|
+
export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-BMtONpgf.cjs';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-7KZsNGE2.js';
|
|
2
|
+
export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-p9b8rfy8.js';
|
|
3
3
|
import 'y-protocols/awareness';
|
|
4
4
|
import 'yjs';
|
|
5
|
-
export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-
|
|
5
|
+
export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-BMtONpgf.js';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
package/dist/api/public-types.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getUsableColumnWidth,
|
|
20
20
|
sanitizeMarkdown,
|
|
21
21
|
searchSecondaryStories
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-RMRTQGW3.js";
|
|
23
23
|
import {
|
|
24
24
|
createCanvasBackend
|
|
25
25
|
} from "../chunk-KFCQYZXR.js";
|
|
@@ -27,7 +27,7 @@ import "../chunk-QIO6V46H.js";
|
|
|
27
27
|
import {
|
|
28
28
|
resolvePageFieldDisplayText,
|
|
29
29
|
storyTargetKey
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-HUIHBBAQ.js";
|
|
31
31
|
import "../chunk-OYGMRRR7.js";
|
|
32
32
|
import {
|
|
33
33
|
EMU_PER_INCH,
|