superdoc 2.4.0-next.30 → 2.4.0-next.32

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.
@@ -19,7 +19,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
19
19
  var PRIVATE_ENGINE_INFO = (0, _superdoc_docx_engine_collaboration_upgrade_engine.getCollaborationUpgradeEngineInfo)();
20
20
  var ENGINE_INFO = Object.freeze({
21
21
  ...PRIVATE_ENGINE_INFO,
22
- superdocVersion: "2.4.0-next.30",
22
+ superdocVersion: "2.4.0-next.32",
23
23
  roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
24
24
  supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
25
25
  supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
@@ -18,7 +18,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
18
18
  var PRIVATE_ENGINE_INFO = getCollaborationUpgradeEngineInfo$1();
19
19
  var ENGINE_INFO = Object.freeze({
20
20
  ...PRIVATE_ENGINE_INFO,
21
- superdocVersion: "2.4.0-next.30",
21
+ superdocVersion: "2.4.0-next.32",
22
22
  roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
23
23
  supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
24
24
  supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
@@ -119,6 +119,16 @@ export type IncrementalLayoutBridgeTiming = {
119
119
  measuresAdopted: number;
120
120
  pagesPaginated: number | null;
121
121
  pagesSplicedByReuse: number;
122
+ paginationPasses: number;
123
+ pageTokenRelayouts: number;
124
+ footnoteRelayouts: number;
125
+ footnoteReserveRelayouts: number;
126
+ footnoteGrowRelayouts: number;
127
+ footnoteTightenRelayouts: number;
128
+ footnotePreferredRelayouts: number;
129
+ footnoteWidowRelayouts: number;
130
+ footnoteRevertRelayouts: number;
131
+ footnoteOtherRelayouts: number;
122
132
  };
123
133
  };
124
134
  /**
@@ -0,0 +1,17 @@
1
+ import { FlowBlock } from '../../contracts/src/index.js';
2
+ import { LayoutWorkCheckpoint } from './execution.js';
3
+ import { FootnoteAnchorRef } from './layout-paragraph.js';
4
+ export type FootnoteAnchorIndexInput = {
5
+ refs?: Array<{
6
+ id: string;
7
+ pos: number;
8
+ }>;
9
+ bodyHeightById?: Map<string, number>;
10
+ firstLineHeightById?: Map<string, number>;
11
+ };
12
+ export type FootnoteAnchorIndexDiagnostics = {
13
+ rangeComparisons: number;
14
+ lowerBoundComparisons: number;
15
+ legacyComparisons: number;
16
+ };
17
+ export declare function buildFootnoteAnchorIndexSteps(blocks: FlowBlock[], footnotes: FootnoteAnchorIndexInput | undefined, checkpointEveryBlocks: number | null, diagnostics?: FootnoteAnchorIndexDiagnostics): Generator<LayoutWorkCheckpoint, Map<string, FootnoteAnchorRef[]>, void>;
package/dist/superdoc.cjs CHANGED
@@ -43235,7 +43235,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
43235
43235
  this.config.colors = shuffleArray(this.config.colors);
43236
43236
  this.userColorMap = /* @__PURE__ */ new Map();
43237
43237
  this.colorIndex = 0;
43238
- this.version = "2.4.0-next.30";
43238
+ this.version = "2.4.0-next.32";
43239
43239
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
43240
43240
  this.superdocId = config.superdocId || require_uuid.v4();
43241
43241
  this.colors = this.config.colors ?? [];
@@ -43168,7 +43168,7 @@ var SuperDoc = class extends import_eventemitter3.default {
43168
43168
  this.config.colors = shuffleArray(this.config.colors);
43169
43169
  this.userColorMap = /* @__PURE__ */ new Map();
43170
43170
  this.colorIndex = 0;
43171
- this.version = "2.4.0-next.30";
43171
+ this.version = "2.4.0-next.32";
43172
43172
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
43173
43173
  this.superdocId = config.superdocId || v4();
43174
43174
  this.colors = this.config.colors ?? [];