superdoc 2.4.0-next.57 → 2.4.0-next.58

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/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # superdoc
2
+
3
+ Browser editor for opening, editing, and rendering DOCX files.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install superdoc
9
+ ```
10
+
11
+ ## Quick start
12
+
13
+ ```js
14
+ import { SuperDoc } from 'superdoc';
15
+ import 'superdoc/style.css';
16
+
17
+ const editor = new SuperDoc({
18
+ selector: '#editor',
19
+ document: '/document.docx',
20
+ });
21
+ ```
22
+
23
+ See the [editor quick start](https://docs.superdoc.dev/editor/quickstart) for a complete example and the
24
+ [SuperDoc documentation](https://docs.superdoc.dev) for configuration and APIs.
25
+
26
+ ## License
27
+
28
+ AGPL-3.0. Commercial licenses are available from [SuperDoc](https://www.superdoc.dev).
@@ -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.57",
22
+ superdocVersion: "2.4.0-next.58",
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.57",
21
+ superdocVersion: "2.4.0-next.58",
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
@@ -195,6 +195,8 @@ export type IncrementalLayoutTailAdoption = {
195
195
  pageIndexDelta: number;
196
196
  sectionPageNumberTransform: IncrementalSectionPageNumberTransform | null;
197
197
  displayPageNumberTransform?: IncrementalDisplayPageNumberTransform | null;
198
+ /** Exact proof that PAGEREF page/numbering locations are unchanged in the adopted tail. */
199
+ pageReferenceLocationsStable: boolean;
198
200
  sourceLayoutEpoch: number | null;
199
201
  positionTransforms: readonly LayoutPositionTransform[];
200
202
  /** Lazy old->current block-id rekeys for an ordinal-changing structural splice. */
package/dist/superdoc.cjs CHANGED
@@ -43261,7 +43261,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
43261
43261
  this.config.colors = shuffleArray(this.config.colors);
43262
43262
  this.userColorMap = /* @__PURE__ */ new Map();
43263
43263
  this.colorIndex = 0;
43264
- this.version = "2.4.0-next.57";
43264
+ this.version = "2.4.0-next.58";
43265
43265
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
43266
43266
  this.superdocId = config.superdocId || require_uuid.v4();
43267
43267
  this.colors = this.config.colors ?? [];
@@ -43194,7 +43194,7 @@ var SuperDoc = class extends import_eventemitter3.default {
43194
43194
  this.config.colors = shuffleArray(this.config.colors);
43195
43195
  this.userColorMap = /* @__PURE__ */ new Map();
43196
43196
  this.colorIndex = 0;
43197
- this.version = "2.4.0-next.57";
43197
+ this.version = "2.4.0-next.58";
43198
43198
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
43199
43199
  this.superdocId = config.superdocId || v4();
43200
43200
  this.colors = this.config.colors ?? [];