superdoc 2.4.0-next.43 → 2.4.0-next.44

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.
@@ -3701,6 +3701,7 @@ function createSuperDocUI(options) {
3701
3701
  if (options?.invalidateQueuedNavigation !== false) queuedTrackChangeNavigationInvalidation += 1;
3702
3702
  };
3703
3703
  const listeners = /* @__PURE__ */ new Set();
3704
+ let state;
3704
3705
  let disposed = false;
3705
3706
  let controllerRef = null;
3706
3707
  const asyncReads = /* @__PURE__ */ new Map();
@@ -6666,15 +6667,24 @@ function createSuperDocUI(options) {
6666
6667
  const target = rawTarget && typeof rawTarget === "object" ? rawTarget : null;
6667
6668
  let next = null;
6668
6669
  if (target?.entityType === "trackedChange" && typeof target.entityId === "string" && target.entityId.length > 0) {
6669
- const paintedEntityId = target.entityId;
6670
6670
  const targetStory = target.story && typeof target.story === "object" ? target.story : void 0;
6671
- const allStoryItems = readAllStoryTrackChanges();
6672
- const entityId = (allStoryItems ? targetStory ? buildStoryScopedTrackedChangeIdContext(allStoryItems, targetStory).toPublicId(paintedEntityId) : buildTrackedChangeIdContext(allStoryItems).toPublicId(paintedEntityId) : null) ?? paintedEntityId;
6673
6671
  const story = targetStory && storyLocatorSignature(targetStory) !== storyLocatorSignature(null) ? targetStory : void 0;
6672
+ const rawPaintedEntityId = typeof target.paintedEntityId === "string" && target.paintedEntityId.length > 0 ? target.paintedEntityId : null;
6673
+ const lookupEntityId = rawPaintedEntityId ?? target.entityId;
6674
+ const publicId = (() => {
6675
+ if (story) {
6676
+ const allStoryItems = readAllStoryTrackChanges();
6677
+ const storyContext = allStoryItems ? buildStoryScopedTrackedChangeIdContext(allStoryItems, story) : null;
6678
+ return storyContext?.toPublicId(lookupEntityId) ?? storyContext?.toPublicId(target.entityId) ?? target.entityId;
6679
+ }
6680
+ const bodyContext = buildTrackedChangeIdContext(Array.isArray(state?.trackChanges.items) ? state.trackChanges.items : []);
6681
+ return bodyContext.toPublicId(lookupEntityId) ?? bodyContext.toPublicId(target.entityId) ?? target.entityId;
6682
+ })();
6683
+ const paintedEntityId = rawPaintedEntityId ?? (lookupEntityId !== publicId ? lookupEntityId : null);
6674
6684
  next = {
6675
- id: entityId,
6685
+ id: publicId,
6676
6686
  ...story ? { story } : {},
6677
- ...typeof target.paintedEntityId === "string" && target.paintedEntityId.length > 0 ? { paintedEntityId: target.paintedEntityId } : entityId !== paintedEntityId ? { paintedEntityId } : {}
6687
+ ...paintedEntityId && paintedEntityId !== publicId ? { paintedEntityId } : {}
6678
6688
  };
6679
6689
  }
6680
6690
  if (rawTarget == null && next == null && explicitActiveChange != null && hasPendingTrackChangeRevealFocus(explicitActiveChange)) return false;
@@ -6740,7 +6750,7 @@ function createSuperDocUI(options) {
6740
6750
  };
6741
6751
  syncCoordinatorEditor();
6742
6752
  syncTrackedChangeFocusFromHostReviewTarget(readHostActiveReviewTarget(readHostReviewSource()));
6743
- let state = computeState();
6753
+ state = computeState();
6744
6754
  lastOptimisticInlineSelectionSignature = selectionInlineValueSignature(state.selection);
6745
6755
  const syncHostEventsSubscription = () => {
6746
6756
  const events = (getEditor()?.host)?.events;
@@ -8742,6 +8752,66 @@ function createSuperDocUI(options) {
8742
8752
  }
8743
8753
  };
8744
8754
  /**
8755
+ * Derive the browser-shell's `importedId` carrier-lookup alias from a
8756
+ * public list row's `wordRevisionIds` / `sourceIds` provenance fields,
8757
+ * mirroring `create-v2-tracked-changes-adapter.js`'s own derivation
8758
+ * (`wordRevisionIds.insert ?? .delete ?? .format ?? sourceIds.wordIdInsert
8759
+ * ?? .wordIdDelete ?? .wordIdOther[0]`). A carrier imported from a legacy
8760
+ * Word revision id is painted with THIS id, not the canonical public id —
8761
+ * `focusTrackedChange`'s carrier lookup only tries it when explicitly
8762
+ * passed as `importedId` on an object input (see `scrollTrackChangeIntoView`).
8763
+ */
8764
+ const deriveTrackedChangeImportedId = (row) => {
8765
+ if (!row || typeof row !== "object") return null;
8766
+ const record = row;
8767
+ const wordRevisionIds = record.wordRevisionIds && typeof record.wordRevisionIds === "object" ? record.wordRevisionIds : null;
8768
+ const sourceIds = record.sourceIds && typeof record.sourceIds === "object" ? record.sourceIds : null;
8769
+ const wordIdOther = Array.isArray(sourceIds?.wordIdOther) ? sourceIds.wordIdOther : void 0;
8770
+ const candidate = wordRevisionIds?.insert ?? wordRevisionIds?.delete ?? wordRevisionIds?.format ?? sourceIds?.wordIdInsert ?? sourceIds?.wordIdDelete ?? wordIdOther?.[0];
8771
+ return typeof candidate === "string" && candidate.length > 0 ? candidate : null;
8772
+ };
8773
+ /**
8774
+ * Scroll a tracked-change target into view, falling back to the v2
8775
+ * browser-shell's `focusTrackedChange` (the same mechanism the built-in
8776
+ * comments/tracked-changes sidebar uses via `CommentDialog.vue`'s
8777
+ * `setFocus`) when the shared host geometry path can't resolve the target.
8778
+ * The host's `normalizeGeometryTarget` only understands `text`/`replacement`
8779
+ * targets (enriched with painted `segments`) and never `structural`/
8780
+ * `formatting` targets, so those always fail the primary path and need this
8781
+ * fallback.
8782
+ *
8783
+ * `story`, when present, is threaded into the fallback input as
8784
+ * `trackedChangeStory` — a bare id always resolves to the body story in
8785
+ * `focusTrackedChange`'s target resolver, which would collapse a non-body
8786
+ * (footnote/header/footer) occurrence onto its body counterpart sharing the
8787
+ * same raw id. `importedId`, when present, is threaded in too: the carrier
8788
+ * lookup (`buildTrackChangeCarrierLookupIds`) tries it as an ADDITIONAL alias
8789
+ * alongside the canonical id, for rows whose painted carrier only matches
8790
+ * through a legacy-imported Word revision id, not the canonical public id
8791
+ * (`create-v2-tracked-changes-adapter.test.js` pins this alias path as
8792
+ * necessary for some rows).
8793
+ */
8794
+ const scrollTrackChangeIntoView = async (changeId, target, story, importedId, options) => {
8795
+ const primary = await scrollTargetIntoView(target, options);
8796
+ if (primary.ok) return primary;
8797
+ const trackedChanges = getV2TrackedChanges();
8798
+ const focusTrackedChange = trackedChanges?.focusTrackedChange;
8799
+ if (typeof focusTrackedChange !== "function") return primary;
8800
+ const fallbackInput = story || importedId ? {
8801
+ commentId: changeId,
8802
+ ...story ? { trackedChangeStory: story } : {},
8803
+ ...importedId ? { importedId } : {}
8804
+ } : changeId;
8805
+ try {
8806
+ const fallbackResult = await Promise.resolve(focusTrackedChange.call(trackedChanges, fallbackInput));
8807
+ if (fallbackResult && typeof fallbackResult === "object" && fallbackResult.ok === true) return {
8808
+ success: true,
8809
+ ok: true
8810
+ };
8811
+ } catch {}
8812
+ return primary;
8813
+ };
8814
+ /**
8745
8815
  * Resolve a document entity (comment / tracked change) to its anchor target.
8746
8816
  * Prefers the already-loaded list row, falling back to a live `get({ id })`
8747
8817
  * read when the list does not carry the row.
@@ -9003,9 +9073,11 @@ function createSuperDocUI(options) {
9003
9073
  rollback();
9004
9074
  return { success: false };
9005
9075
  }
9076
+ const activeRow = trackChangesSub.get().items.find((item) => entityRowMatchesRequest(item, activeId, optimisticActiveChange?.story)) ?? trackChangesSub.get().items.find((item) => readEntityId(item) === activeId);
9077
+ const importedId = deriveTrackedChangeImportedId(activeRow);
9006
9078
  trackedChangeNavigationInFlight += 1;
9007
9079
  try {
9008
- const result = await scrollTargetIntoView(target, {
9080
+ const result = await scrollTrackChangeIntoView(activeId, target, optimisticActiveChange?.story, importedId, {
9009
9081
  behavior: "auto",
9010
9082
  shouldContinue: isCurrent
9011
9083
  });
@@ -9129,7 +9201,9 @@ function createSuperDocUI(options) {
9129
9201
  const requestedAtInvalidation = trackChangeRevealInvalidation;
9130
9202
  const loadedItems = trackChangesSub.get().items;
9131
9203
  const publicId = buildTrackedChangeIdContext(loadedItems).toPublicId(changeId) ?? changeId;
9132
- const story = readEntityRequestStory(loadedItems.find((item) => readEntityId(item) === publicId));
9204
+ const matchingRow = loadedItems.find((item) => readEntityId(item) === publicId);
9205
+ const story = readEntityRequestStory(matchingRow);
9206
+ const importedId = deriveTrackedChangeImportedId(matchingRow);
9133
9207
  const previousActiveChange = explicitActiveChange;
9134
9208
  const requestedActiveChange = {
9135
9209
  id: publicId,
@@ -9161,7 +9235,7 @@ function createSuperDocUI(options) {
9161
9235
  recompute();
9162
9236
  trackedChangeNavigationInFlight += 1;
9163
9237
  try {
9164
- const result = await scrollTargetIntoView(target, {
9238
+ const result = await scrollTrackChangeIntoView(publicId, target, story, importedId, {
9165
9239
  behavior: "auto",
9166
9240
  shouldContinue: isCurrent
9167
9241
  });
@@ -3701,6 +3701,7 @@ function createSuperDocUI(options) {
3701
3701
  if (options?.invalidateQueuedNavigation !== false) queuedTrackChangeNavigationInvalidation += 1;
3702
3702
  };
3703
3703
  const listeners = /* @__PURE__ */ new Set();
3704
+ let state;
3704
3705
  let disposed = false;
3705
3706
  let controllerRef = null;
3706
3707
  const asyncReads = /* @__PURE__ */ new Map();
@@ -6666,15 +6667,24 @@ function createSuperDocUI(options) {
6666
6667
  const target = rawTarget && typeof rawTarget === "object" ? rawTarget : null;
6667
6668
  let next = null;
6668
6669
  if (target?.entityType === "trackedChange" && typeof target.entityId === "string" && target.entityId.length > 0) {
6669
- const paintedEntityId = target.entityId;
6670
6670
  const targetStory = target.story && typeof target.story === "object" ? target.story : void 0;
6671
- const allStoryItems = readAllStoryTrackChanges();
6672
- const entityId = (allStoryItems ? targetStory ? buildStoryScopedTrackedChangeIdContext(allStoryItems, targetStory).toPublicId(paintedEntityId) : buildTrackedChangeIdContext(allStoryItems).toPublicId(paintedEntityId) : null) ?? paintedEntityId;
6673
6671
  const story = targetStory && storyLocatorSignature(targetStory) !== storyLocatorSignature(null) ? targetStory : void 0;
6672
+ const rawPaintedEntityId = typeof target.paintedEntityId === "string" && target.paintedEntityId.length > 0 ? target.paintedEntityId : null;
6673
+ const lookupEntityId = rawPaintedEntityId ?? target.entityId;
6674
+ const publicId = (() => {
6675
+ if (story) {
6676
+ const allStoryItems = readAllStoryTrackChanges();
6677
+ const storyContext = allStoryItems ? buildStoryScopedTrackedChangeIdContext(allStoryItems, story) : null;
6678
+ return storyContext?.toPublicId(lookupEntityId) ?? storyContext?.toPublicId(target.entityId) ?? target.entityId;
6679
+ }
6680
+ const bodyContext = buildTrackedChangeIdContext(Array.isArray(state?.trackChanges.items) ? state.trackChanges.items : []);
6681
+ return bodyContext.toPublicId(lookupEntityId) ?? bodyContext.toPublicId(target.entityId) ?? target.entityId;
6682
+ })();
6683
+ const paintedEntityId = rawPaintedEntityId ?? (lookupEntityId !== publicId ? lookupEntityId : null);
6674
6684
  next = {
6675
- id: entityId,
6685
+ id: publicId,
6676
6686
  ...story ? { story } : {},
6677
- ...typeof target.paintedEntityId === "string" && target.paintedEntityId.length > 0 ? { paintedEntityId: target.paintedEntityId } : entityId !== paintedEntityId ? { paintedEntityId } : {}
6687
+ ...paintedEntityId && paintedEntityId !== publicId ? { paintedEntityId } : {}
6678
6688
  };
6679
6689
  }
6680
6690
  if (rawTarget == null && next == null && explicitActiveChange != null && hasPendingTrackChangeRevealFocus(explicitActiveChange)) return false;
@@ -6740,7 +6750,7 @@ function createSuperDocUI(options) {
6740
6750
  };
6741
6751
  syncCoordinatorEditor();
6742
6752
  syncTrackedChangeFocusFromHostReviewTarget(readHostActiveReviewTarget(readHostReviewSource()));
6743
- let state = computeState();
6753
+ state = computeState();
6744
6754
  lastOptimisticInlineSelectionSignature = selectionInlineValueSignature(state.selection);
6745
6755
  const syncHostEventsSubscription = () => {
6746
6756
  const events = (getEditor()?.host)?.events;
@@ -8742,6 +8752,66 @@ function createSuperDocUI(options) {
8742
8752
  }
8743
8753
  };
8744
8754
  /**
8755
+ * Derive the browser-shell's `importedId` carrier-lookup alias from a
8756
+ * public list row's `wordRevisionIds` / `sourceIds` provenance fields,
8757
+ * mirroring `create-v2-tracked-changes-adapter.js`'s own derivation
8758
+ * (`wordRevisionIds.insert ?? .delete ?? .format ?? sourceIds.wordIdInsert
8759
+ * ?? .wordIdDelete ?? .wordIdOther[0]`). A carrier imported from a legacy
8760
+ * Word revision id is painted with THIS id, not the canonical public id —
8761
+ * `focusTrackedChange`'s carrier lookup only tries it when explicitly
8762
+ * passed as `importedId` on an object input (see `scrollTrackChangeIntoView`).
8763
+ */
8764
+ const deriveTrackedChangeImportedId = (row) => {
8765
+ if (!row || typeof row !== "object") return null;
8766
+ const record = row;
8767
+ const wordRevisionIds = record.wordRevisionIds && typeof record.wordRevisionIds === "object" ? record.wordRevisionIds : null;
8768
+ const sourceIds = record.sourceIds && typeof record.sourceIds === "object" ? record.sourceIds : null;
8769
+ const wordIdOther = Array.isArray(sourceIds?.wordIdOther) ? sourceIds.wordIdOther : void 0;
8770
+ const candidate = wordRevisionIds?.insert ?? wordRevisionIds?.delete ?? wordRevisionIds?.format ?? sourceIds?.wordIdInsert ?? sourceIds?.wordIdDelete ?? wordIdOther?.[0];
8771
+ return typeof candidate === "string" && candidate.length > 0 ? candidate : null;
8772
+ };
8773
+ /**
8774
+ * Scroll a tracked-change target into view, falling back to the v2
8775
+ * browser-shell's `focusTrackedChange` (the same mechanism the built-in
8776
+ * comments/tracked-changes sidebar uses via `CommentDialog.vue`'s
8777
+ * `setFocus`) when the shared host geometry path can't resolve the target.
8778
+ * The host's `normalizeGeometryTarget` only understands `text`/`replacement`
8779
+ * targets (enriched with painted `segments`) and never `structural`/
8780
+ * `formatting` targets, so those always fail the primary path and need this
8781
+ * fallback.
8782
+ *
8783
+ * `story`, when present, is threaded into the fallback input as
8784
+ * `trackedChangeStory` — a bare id always resolves to the body story in
8785
+ * `focusTrackedChange`'s target resolver, which would collapse a non-body
8786
+ * (footnote/header/footer) occurrence onto its body counterpart sharing the
8787
+ * same raw id. `importedId`, when present, is threaded in too: the carrier
8788
+ * lookup (`buildTrackChangeCarrierLookupIds`) tries it as an ADDITIONAL alias
8789
+ * alongside the canonical id, for rows whose painted carrier only matches
8790
+ * through a legacy-imported Word revision id, not the canonical public id
8791
+ * (`create-v2-tracked-changes-adapter.test.js` pins this alias path as
8792
+ * necessary for some rows).
8793
+ */
8794
+ const scrollTrackChangeIntoView = async (changeId, target, story, importedId, options) => {
8795
+ const primary = await scrollTargetIntoView(target, options);
8796
+ if (primary.ok) return primary;
8797
+ const trackedChanges = getV2TrackedChanges();
8798
+ const focusTrackedChange = trackedChanges?.focusTrackedChange;
8799
+ if (typeof focusTrackedChange !== "function") return primary;
8800
+ const fallbackInput = story || importedId ? {
8801
+ commentId: changeId,
8802
+ ...story ? { trackedChangeStory: story } : {},
8803
+ ...importedId ? { importedId } : {}
8804
+ } : changeId;
8805
+ try {
8806
+ const fallbackResult = await Promise.resolve(focusTrackedChange.call(trackedChanges, fallbackInput));
8807
+ if (fallbackResult && typeof fallbackResult === "object" && fallbackResult.ok === true) return {
8808
+ success: true,
8809
+ ok: true
8810
+ };
8811
+ } catch {}
8812
+ return primary;
8813
+ };
8814
+ /**
8745
8815
  * Resolve a document entity (comment / tracked change) to its anchor target.
8746
8816
  * Prefers the already-loaded list row, falling back to a live `get({ id })`
8747
8817
  * read when the list does not carry the row.
@@ -9003,9 +9073,11 @@ function createSuperDocUI(options) {
9003
9073
  rollback();
9004
9074
  return { success: false };
9005
9075
  }
9076
+ const activeRow = trackChangesSub.get().items.find((item) => entityRowMatchesRequest(item, activeId, optimisticActiveChange?.story)) ?? trackChangesSub.get().items.find((item) => readEntityId(item) === activeId);
9077
+ const importedId = deriveTrackedChangeImportedId(activeRow);
9006
9078
  trackedChangeNavigationInFlight += 1;
9007
9079
  try {
9008
- const result = await scrollTargetIntoView(target, {
9080
+ const result = await scrollTrackChangeIntoView(activeId, target, optimisticActiveChange?.story, importedId, {
9009
9081
  behavior: "auto",
9010
9082
  shouldContinue: isCurrent
9011
9083
  });
@@ -9129,7 +9201,9 @@ function createSuperDocUI(options) {
9129
9201
  const requestedAtInvalidation = trackChangeRevealInvalidation;
9130
9202
  const loadedItems = trackChangesSub.get().items;
9131
9203
  const publicId = buildTrackedChangeIdContext(loadedItems).toPublicId(changeId) ?? changeId;
9132
- const story = readEntityRequestStory(loadedItems.find((item) => readEntityId(item) === publicId));
9204
+ const matchingRow = loadedItems.find((item) => readEntityId(item) === publicId);
9205
+ const story = readEntityRequestStory(matchingRow);
9206
+ const importedId = deriveTrackedChangeImportedId(matchingRow);
9133
9207
  const previousActiveChange = explicitActiveChange;
9134
9208
  const requestedActiveChange = {
9135
9209
  id: publicId,
@@ -9161,7 +9235,7 @@ function createSuperDocUI(options) {
9161
9235
  recompute();
9162
9236
  trackedChangeNavigationInFlight += 1;
9163
9237
  try {
9164
- const result = await scrollTargetIntoView(target, {
9238
+ const result = await scrollTrackChangeIntoView(publicId, target, story, importedId, {
9165
9239
  behavior: "auto",
9166
9240
  shouldContinue: isCurrent
9167
9241
  });
@@ -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.43",
22
+ superdocVersion: "2.4.0-next.44",
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.43",
21
+ superdocVersion: "2.4.0-next.44",
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
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-Dmv8Hjs6.cjs");
2
+ const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-C7loo2YE.cjs");
3
3
  let react = require("react");
4
4
  //#region src/public/ui/react.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-B5SqT0gL.es.js";
1
+ import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-C6qsVKMY.es.js";
2
2
  import { createContext, createElement, useCallback, useContext, useEffect, useRef, useState } from "react";
3
3
  //#region src/public/ui/react.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-Dmv8Hjs6.cjs");
2
+ const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-C7loo2YE.cjs");
3
3
  exports.BUILT_IN_COMMAND_IDS = require_create_super_doc_ui.BUILT_IN_COMMAND_IDS;
4
4
  exports.createSuperDocUI = require_create_super_doc_ui.createSuperDocUI;
5
5
  exports.shallowEqual = require_create_super_doc_ui.shallowEqual;
@@ -1,2 +1,2 @@
1
- import { n as shallowEqual, r as BUILT_IN_COMMAND_IDS, t as createSuperDocUI } from "../chunks/create-super-doc-ui-B5SqT0gL.es.js";
1
+ import { n as shallowEqual, r as BUILT_IN_COMMAND_IDS, t as createSuperDocUI } from "../chunks/create-super-doc-ui-C6qsVKMY.es.js";
2
2
  export { BUILT_IN_COMMAND_IDS, createSuperDocUI, shallowEqual };
package/dist/superdoc.cjs CHANGED
@@ -4,7 +4,7 @@ const require_blank_docx = require("./chunks/blank-docx-BuFAbRjs.cjs");
4
4
  const require_eventemitter3 = require("./chunks/eventemitter3-D38u8ta_.cjs");
5
5
  const require_uuid = require("./chunks/uuid-BhG0ngwk.cjs");
6
6
  const require_jszip = require("./chunks/jszip-RC64TPzL.cjs");
7
- const require_create_super_doc_ui = require("./chunks/create-super-doc-ui-Dmv8Hjs6.cjs");
7
+ const require_create_super_doc_ui = require("./chunks/create-super-doc-ui-C7loo2YE.cjs");
8
8
  const require__plugin_vue_export_helper = require("./chunks/_plugin-vue_export-helper-SDR04tiH.cjs");
9
9
  const require_constants = require("./chunks/constants-DpXuDx_g.cjs");
10
10
  let vue = require("vue");
@@ -43260,7 +43260,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
43260
43260
  this.config.colors = shuffleArray(this.config.colors);
43261
43261
  this.userColorMap = /* @__PURE__ */ new Map();
43262
43262
  this.colorIndex = 0;
43263
- this.version = "2.4.0-next.43";
43263
+ this.version = "2.4.0-next.44";
43264
43264
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
43265
43265
  this.superdocId = config.superdocId || require_uuid.v4();
43266
43266
  this.colors = this.config.colors ?? [];
@@ -3,7 +3,7 @@ import { t as blank_default } from "./chunks/blank-docx-DzQccOlW.es.js";
3
3
  import { t as import_eventemitter3 } from "./chunks/eventemitter3-CMOjDs74.es.js";
4
4
  import { t as v4 } from "./chunks/uuid-H0Xcmmhy.es.js";
5
5
  import { a as init_dist$1, i as global, n as init_dist$2, o as Buffer, r as process$1, s as init_dist, t as require_jszip_min } from "./chunks/jszip-VxCFV9YS.es.js";
6
- import { a as DOM_CLASS_NAMES, i as getV2TrackedChangeMutationImpact, t as createSuperDocUI } from "./chunks/create-super-doc-ui-B5SqT0gL.es.js";
6
+ import { a as DOM_CLASS_NAMES, i as getV2TrackedChangeMutationImpact, t as createSuperDocUI } from "./chunks/create-super-doc-ui-C6qsVKMY.es.js";
7
7
  import { t as _plugin_vue_export_helper_default } from "./chunks/_plugin-vue_export-helper-BOaGB7Aw.es.js";
8
8
  import { t as PDF_TO_CSS_UNITS } from "./chunks/constants-B6VBlmKp.es.js";
9
9
  import * as Vue from "vue";
@@ -43193,7 +43193,7 @@ var SuperDoc = class extends import_eventemitter3.default {
43193
43193
  this.config.colors = shuffleArray(this.config.colors);
43194
43194
  this.userColorMap = /* @__PURE__ */ new Map();
43195
43195
  this.colorIndex = 0;
43196
- this.version = "2.4.0-next.43";
43196
+ this.version = "2.4.0-next.44";
43197
43197
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
43198
43198
  this.superdocId = config.superdocId || v4();
43199
43199
  this.colors = this.config.colors ?? [];