superdoc 2.20.1-next.6 → 2.20.1-next.8

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.
@@ -5683,6 +5683,7 @@ function createSuperDocUI(options) {
5683
5683
  let asyncReadFailureRetryAtMs = 0;
5684
5684
  let foregroundAsyncRetryTimer = null;
5685
5685
  let pendingSelectionSeedValidationToken = null;
5686
+ let typedCaretValidationHeld = false;
5686
5687
  let typingContentInvalidationTimer = null;
5687
5688
  const pendingAsyncReadSettlements = [];
5688
5689
  const scheduleAsyncRefresh = () => {
@@ -6120,6 +6121,16 @@ function createSuperDocUI(options) {
6120
6121
  scheduleForegroundAsyncRetry();
6121
6122
  return;
6122
6123
  }
6124
+ if (typedCaretValidationHeld && Date.now() - lastTypingMutationAtMs < HEAVY_READ_IDLE_MS) {
6125
+ const token = selectionReadToken();
6126
+ if (asyncReads.get("selection")?.token !== token) {
6127
+ refreshSelectionFromHost(void 0, true);
6128
+ if (asyncReads.get("selection")?.token === token) recompute();
6129
+ }
6130
+ scheduleForegroundAsyncRetry(HEAVY_READ_IDLE_POLL_MS);
6131
+ return;
6132
+ }
6133
+ typedCaretValidationHeld = false;
6123
6134
  const validationToken = pendingSelectionSeedValidationToken;
6124
6135
  pendingSelectionSeedValidationToken = null;
6125
6136
  if (validationToken === selectionReadToken()) issueAsyncRead("selection", validationToken, selectionCurrentRun, normalizeSelectionInfo);
@@ -6258,7 +6269,7 @@ function createSuperDocUI(options) {
6258
6269
  }
6259
6270
  if (pendingPostPaintSelectionRefresh) continue;
6260
6271
  selectionEpoch += 1;
6261
- refreshSelectionFromHost();
6272
+ refreshSelectionFromHost(void 0, true);
6262
6273
  recompute(paintCompleted ? "post-paint-selection" : "post-paint-selection-failed");
6263
6274
  }
6264
6275
  };
@@ -6269,7 +6280,11 @@ function createSuperDocUI(options) {
6269
6280
  if (typingContentInvalidationTimer) clearTimeout(typingContentInvalidationTimer);
6270
6281
  typingContentInvalidationTimer = setTimeout(() => {
6271
6282
  typingContentInvalidationTimer = null;
6272
- if (!disposed) invalidateDocumentContentAndRecompute();
6283
+ if (!disposed) {
6284
+ invalidateDocumentContent();
6285
+ if (typedCaretValidationHeld && !foregroundMutationActive()) refreshSelectionFromHost(void 0, true);
6286
+ recompute();
6287
+ }
6273
6288
  }, 500);
6274
6289
  };
6275
6290
  const issueAsyncRead = (key, token, run, normalize) => {
@@ -6363,6 +6378,13 @@ function createSuperDocUI(options) {
6363
6378
  value: entry.value,
6364
6379
  status: "ready"
6365
6380
  };
6381
+ if (key === "selection" && typedCaretValidationHeld && Date.now() - lastTypingMutationAtMs < HEAVY_READ_IDLE_MS) {
6382
+ scheduleForegroundAsyncRetry(HEAVY_READ_IDLE_POLL_MS);
6383
+ return {
6384
+ value: entry?.hasSettled ? entry.value : null,
6385
+ status: entry?.hasSettled ? "stale" : "pending"
6386
+ };
6387
+ }
6366
6388
  if (isHeavyDocReadKey(key) && !heavyReadDemandActive(key, token)) {
6367
6389
  if (hostSourceLoadPhase() === "loading") {
6368
6390
  heavyReadsHeldUntilIdle = true;
@@ -6484,6 +6506,7 @@ function createSuperDocUI(options) {
6484
6506
  heldSettledInlineValues = null;
6485
6507
  optimisticParagraphAlignment = null;
6486
6508
  pendingSelectionSeedValidationToken = null;
6509
+ typedCaretValidationHeld = false;
6487
6510
  coldAsyncReadDeferrals.clear();
6488
6511
  demandedHeavyReads.clear();
6489
6512
  incompleteTrackChangesDirectoryReadTokens.clear();
@@ -6665,9 +6688,10 @@ function createSuperDocUI(options) {
6665
6688
  * same carrier, or while an active typing dispatch advances the same caret by
6666
6689
  * one code point. Pending work alone never carries review command context.
6667
6690
  */
6668
- const refreshSelectionFromHost = (hostSelectionSnapshot) => {
6691
+ const refreshSelectionFromHost = (hostSelectionSnapshot, afterTypingPaint = false) => {
6669
6692
  const foreground = foregroundMutationState();
6670
6693
  if (isNonCollapsedHostSelection(hostSelectionSnapshot) && !(foreground && foreground.active > 0)) {
6694
+ typedCaretValidationHeld = false;
6671
6695
  pendingSelectionSeedValidationToken = null;
6672
6696
  issueAsyncRead("selection", selectionReadToken(), selectionCurrentRun, normalizeSelectionInfo);
6673
6697
  return;
@@ -6677,8 +6701,14 @@ function createSuperDocUI(options) {
6677
6701
  if (typeof read !== "function") return;
6678
6702
  const seed = normalizeSelectionInfo(safeCall(() => read.call(host), null));
6679
6703
  if (!seed || !isCollapsedCaretSnapshot(seed)) return;
6704
+ const previousCaret = collapsedTextAddressFromSelection(state.selection);
6705
+ const nextCaret = collapsedTextAddressFromTarget(seed.selectionTarget) ?? collapsedTextAddressFromTarget(seed.target);
6706
+ const previousRange = previousCaret?.range;
6707
+ const nextRange = nextCaret?.range;
6708
+ const sameSeedCaret = Boolean(previousCaret && nextCaret && previousCaret.blockId === nextCaret.blockId && storyLocatorSignature(previousCaret.story) === storyLocatorSignature(nextCaret.story) && previousRange?.start === nextRange?.start);
6709
+ typedCaretValidationHeld = Boolean(foreground && foreground.active > 0) || typedCaretValidationHeld && (afterTypingPaint || sameSeedCaret);
6680
6710
  const token = selectionReadToken();
6681
- const deferAuthoritativeRead = Boolean(foreground && (foreground.active > 0 || foreground.pending > 0));
6711
+ const deferAuthoritativeRead = Boolean(foreground && (foreground.active > 0 || foreground.pending > 0)) || typedCaretValidationHeld && Date.now() - lastTypingMutationAtMs < HEAVY_READ_IDLE_MS;
6682
6712
  if (!deferAuthoritativeRead) {
6683
6713
  pendingSelectionSeedValidationToken = null;
6684
6714
  if (issueAsyncRead("selection", token, selectionCurrentRun, normalizeSelectionInfo)) return;
@@ -6690,10 +6720,6 @@ function createSuperDocUI(options) {
6690
6720
  const seedMarks = Array.isArray(seed.activeMarks) && seed.activeMarks.length > 0 ? seed.activeMarks : Array.isArray(state.selection.activeMarks) ? state.selection.activeMarks : [];
6691
6721
  const seedCommentIds = Array.isArray(seed.activeCommentIds) ? seed.activeCommentIds : [];
6692
6722
  const paintedTrackChangeId = readCollapsedHostTrackChangeId(hostSelectionSnapshot);
6693
- const previousCaret = collapsedTextAddressFromSelection(state.selection);
6694
- const nextCaret = collapsedTextAddressFromTarget(seed.selectionTarget) ?? collapsedTextAddressFromTarget(seed.target);
6695
- const previousRange = previousCaret?.range;
6696
- const nextRange = nextCaret?.range;
6697
6723
  const sameActiveTypingCaret = Boolean(foreground && foreground.active > 0 && previousCaret && nextCaret && previousCaret.blockId === nextCaret.blockId && storyLocatorSignature(previousCaret.story) === storyLocatorSignature(nextCaret.story) && typeof previousRange?.start === "number" && typeof nextRange?.start === "number" && Math.abs(nextRange.start - previousRange.start) <= 2);
6698
6724
  const carriedChangeIds = paintedTrackChangeId != null || sameActiveTypingCaret ? state.selection.activeChangeIds.filter((id) => paintedTrackChangeId == null || buildTrackedChangeIdContext(state.trackChanges.items).aliasesFor(id).includes(paintedTrackChangeId)) : [];
6699
6725
  const seedChangeIds = Array.isArray(seed.activeChangeIds) && seed.activeChangeIds.length > 0 ? seed.activeChangeIds : carriedChangeIds;
@@ -7660,6 +7686,7 @@ function createSuperDocUI(options) {
7660
7686
  if (support && (support.status === "supported" || support.enabled === true)) return void 0;
7661
7687
  return SUPERDOC_UI_REASONS.bulkDecisionsDisabled;
7662
7688
  };
7689
+ const canStorePendingInlineFormat = (selection) => selection.empty && collapsedTextAddressFromSelection(selection) != null && typeof getHost()?.setPendingInlineFormat === "function";
7663
7690
  const computeCommandState = (id, doc, selection, projectedInlineValues, lockModesById = /* @__PURE__ */ new Map()) => {
7664
7691
  if (customCommands.has(id)) return normalizeCommandState({
7665
7692
  supported: true,
@@ -7814,7 +7841,7 @@ function createSuperDocUI(options) {
7814
7841
  value,
7815
7842
  reason: lockReason
7816
7843
  }, "builtin");
7817
- return normalizeCommandState(selectionBlockIds(selection).length > 0 && typeof getHost()?.setPendingInlineFormat === "function" ? {
7844
+ return normalizeCommandState(canStorePendingInlineFormat(selection) ? {
7818
7845
  enabled: true,
7819
7846
  active,
7820
7847
  supported: true,
@@ -10466,7 +10493,7 @@ function createSuperDocUI(options) {
10466
10493
  if (trackDecisionCommand(id)?.scope === "id") return true;
10467
10494
  if (!descriptor || descriptor.disposition !== "routed") return true;
10468
10495
  if (descriptor.inline?.kind === "clear") return selectionBlockIds(state.selection).length > 0 || resolveInlineSelectionTarget(state.selection) != null;
10469
- if (descriptor.inline) return resolveInlineSelectionTarget(state.selection) != null || selectionBlockIds(state.selection).length > 0;
10496
+ if (descriptor.inline) return resolveInlineSelectionTarget(state.selection) != null || canStorePendingInlineFormat(state.selection);
10470
10497
  if (descriptor.blockParagraph || descriptor.list) return selectionBlockIds(state.selection).length > 0;
10471
10498
  if (descriptor.link) return linkPayloadHasExplicitTarget(payload) || selectionTextAddresses(state.selection).length > 0 || collapsedTextAddressFromSelection(state.selection) != null || commandActiveState(descriptor, getDoc(), state.selection);
10472
10499
  return true;
@@ -10532,7 +10559,7 @@ function createSuperDocUI(options) {
10532
10559
  if (contentControlLockReason(lockModesById)) return false;
10533
10560
  const target = resolveInlineSelectionTarget(state.selection);
10534
10561
  if (!target) {
10535
- if (state.selection.empty === false) return settleCommandExecution(false);
10562
+ if (!canStorePendingInlineFormat(state.selection)) return settleCommandExecution(false);
10536
10563
  return settleCommandExecution(storePendingInlineFormat(descriptor, normalized));
10537
10564
  }
10538
10565
  const active = commandActiveState(descriptor, doc, state.selection);
@@ -5684,6 +5684,7 @@ function createSuperDocUI(options) {
5684
5684
  let asyncReadFailureRetryAtMs = 0;
5685
5685
  let foregroundAsyncRetryTimer = null;
5686
5686
  let pendingSelectionSeedValidationToken = null;
5687
+ let typedCaretValidationHeld = false;
5687
5688
  let typingContentInvalidationTimer = null;
5688
5689
  const pendingAsyncReadSettlements = [];
5689
5690
  const scheduleAsyncRefresh = () => {
@@ -6121,6 +6122,16 @@ function createSuperDocUI(options) {
6121
6122
  scheduleForegroundAsyncRetry();
6122
6123
  return;
6123
6124
  }
6125
+ if (typedCaretValidationHeld && Date.now() - lastTypingMutationAtMs < HEAVY_READ_IDLE_MS) {
6126
+ const token = selectionReadToken();
6127
+ if (asyncReads.get("selection")?.token !== token) {
6128
+ refreshSelectionFromHost(void 0, true);
6129
+ if (asyncReads.get("selection")?.token === token) recompute();
6130
+ }
6131
+ scheduleForegroundAsyncRetry(HEAVY_READ_IDLE_POLL_MS);
6132
+ return;
6133
+ }
6134
+ typedCaretValidationHeld = false;
6124
6135
  const validationToken = pendingSelectionSeedValidationToken;
6125
6136
  pendingSelectionSeedValidationToken = null;
6126
6137
  if (validationToken === selectionReadToken()) issueAsyncRead("selection", validationToken, selectionCurrentRun, normalizeSelectionInfo);
@@ -6259,7 +6270,7 @@ function createSuperDocUI(options) {
6259
6270
  }
6260
6271
  if (pendingPostPaintSelectionRefresh) continue;
6261
6272
  selectionEpoch += 1;
6262
- refreshSelectionFromHost();
6273
+ refreshSelectionFromHost(void 0, true);
6263
6274
  recompute(paintCompleted ? "post-paint-selection" : "post-paint-selection-failed");
6264
6275
  }
6265
6276
  };
@@ -6270,7 +6281,11 @@ function createSuperDocUI(options) {
6270
6281
  if (typingContentInvalidationTimer) clearTimeout(typingContentInvalidationTimer);
6271
6282
  typingContentInvalidationTimer = setTimeout(() => {
6272
6283
  typingContentInvalidationTimer = null;
6273
- if (!disposed) invalidateDocumentContentAndRecompute();
6284
+ if (!disposed) {
6285
+ invalidateDocumentContent();
6286
+ if (typedCaretValidationHeld && !foregroundMutationActive()) refreshSelectionFromHost(void 0, true);
6287
+ recompute();
6288
+ }
6274
6289
  }, 500);
6275
6290
  };
6276
6291
  const issueAsyncRead = (key, token, run, normalize) => {
@@ -6364,6 +6379,13 @@ function createSuperDocUI(options) {
6364
6379
  value: entry.value,
6365
6380
  status: "ready"
6366
6381
  };
6382
+ if (key === "selection" && typedCaretValidationHeld && Date.now() - lastTypingMutationAtMs < HEAVY_READ_IDLE_MS) {
6383
+ scheduleForegroundAsyncRetry(HEAVY_READ_IDLE_POLL_MS);
6384
+ return {
6385
+ value: entry?.hasSettled ? entry.value : null,
6386
+ status: entry?.hasSettled ? "stale" : "pending"
6387
+ };
6388
+ }
6367
6389
  if (isHeavyDocReadKey(key) && !heavyReadDemandActive(key, token)) {
6368
6390
  if (hostSourceLoadPhase() === "loading") {
6369
6391
  heavyReadsHeldUntilIdle = true;
@@ -6485,6 +6507,7 @@ function createSuperDocUI(options) {
6485
6507
  heldSettledInlineValues = null;
6486
6508
  optimisticParagraphAlignment = null;
6487
6509
  pendingSelectionSeedValidationToken = null;
6510
+ typedCaretValidationHeld = false;
6488
6511
  coldAsyncReadDeferrals.clear();
6489
6512
  demandedHeavyReads.clear();
6490
6513
  incompleteTrackChangesDirectoryReadTokens.clear();
@@ -6666,9 +6689,10 @@ function createSuperDocUI(options) {
6666
6689
  * same carrier, or while an active typing dispatch advances the same caret by
6667
6690
  * one code point. Pending work alone never carries review command context.
6668
6691
  */
6669
- const refreshSelectionFromHost = (hostSelectionSnapshot) => {
6692
+ const refreshSelectionFromHost = (hostSelectionSnapshot, afterTypingPaint = false) => {
6670
6693
  const foreground = foregroundMutationState();
6671
6694
  if (isNonCollapsedHostSelection(hostSelectionSnapshot) && !(foreground && foreground.active > 0)) {
6695
+ typedCaretValidationHeld = false;
6672
6696
  pendingSelectionSeedValidationToken = null;
6673
6697
  issueAsyncRead("selection", selectionReadToken(), selectionCurrentRun, normalizeSelectionInfo);
6674
6698
  return;
@@ -6678,8 +6702,14 @@ function createSuperDocUI(options) {
6678
6702
  if (typeof read !== "function") return;
6679
6703
  const seed = normalizeSelectionInfo(safeCall(() => read.call(host), null));
6680
6704
  if (!seed || !isCollapsedCaretSnapshot(seed)) return;
6705
+ const previousCaret = collapsedTextAddressFromSelection(state.selection);
6706
+ const nextCaret = collapsedTextAddressFromTarget(seed.selectionTarget) ?? collapsedTextAddressFromTarget(seed.target);
6707
+ const previousRange = previousCaret?.range;
6708
+ const nextRange = nextCaret?.range;
6709
+ const sameSeedCaret = Boolean(previousCaret && nextCaret && previousCaret.blockId === nextCaret.blockId && storyLocatorSignature(previousCaret.story) === storyLocatorSignature(nextCaret.story) && previousRange?.start === nextRange?.start);
6710
+ typedCaretValidationHeld = Boolean(foreground && foreground.active > 0) || typedCaretValidationHeld && (afterTypingPaint || sameSeedCaret);
6681
6711
  const token = selectionReadToken();
6682
- const deferAuthoritativeRead = Boolean(foreground && (foreground.active > 0 || foreground.pending > 0));
6712
+ const deferAuthoritativeRead = Boolean(foreground && (foreground.active > 0 || foreground.pending > 0)) || typedCaretValidationHeld && Date.now() - lastTypingMutationAtMs < HEAVY_READ_IDLE_MS;
6683
6713
  if (!deferAuthoritativeRead) {
6684
6714
  pendingSelectionSeedValidationToken = null;
6685
6715
  if (issueAsyncRead("selection", token, selectionCurrentRun, normalizeSelectionInfo)) return;
@@ -6691,10 +6721,6 @@ function createSuperDocUI(options) {
6691
6721
  const seedMarks = Array.isArray(seed.activeMarks) && seed.activeMarks.length > 0 ? seed.activeMarks : Array.isArray(state.selection.activeMarks) ? state.selection.activeMarks : [];
6692
6722
  const seedCommentIds = Array.isArray(seed.activeCommentIds) ? seed.activeCommentIds : [];
6693
6723
  const paintedTrackChangeId = readCollapsedHostTrackChangeId(hostSelectionSnapshot);
6694
- const previousCaret = collapsedTextAddressFromSelection(state.selection);
6695
- const nextCaret = collapsedTextAddressFromTarget(seed.selectionTarget) ?? collapsedTextAddressFromTarget(seed.target);
6696
- const previousRange = previousCaret?.range;
6697
- const nextRange = nextCaret?.range;
6698
6724
  const sameActiveTypingCaret = Boolean(foreground && foreground.active > 0 && previousCaret && nextCaret && previousCaret.blockId === nextCaret.blockId && storyLocatorSignature(previousCaret.story) === storyLocatorSignature(nextCaret.story) && typeof previousRange?.start === "number" && typeof nextRange?.start === "number" && Math.abs(nextRange.start - previousRange.start) <= 2);
6699
6725
  const carriedChangeIds = paintedTrackChangeId != null || sameActiveTypingCaret ? state.selection.activeChangeIds.filter((id) => paintedTrackChangeId == null || buildTrackedChangeIdContext(state.trackChanges.items).aliasesFor(id).includes(paintedTrackChangeId)) : [];
6700
6726
  const seedChangeIds = Array.isArray(seed.activeChangeIds) && seed.activeChangeIds.length > 0 ? seed.activeChangeIds : carriedChangeIds;
@@ -7661,6 +7687,7 @@ function createSuperDocUI(options) {
7661
7687
  if (support && (support.status === "supported" || support.enabled === true)) return void 0;
7662
7688
  return SUPERDOC_UI_REASONS.bulkDecisionsDisabled;
7663
7689
  };
7690
+ const canStorePendingInlineFormat = (selection) => selection.empty && collapsedTextAddressFromSelection(selection) != null && typeof getHost()?.setPendingInlineFormat === "function";
7664
7691
  const computeCommandState = (id, doc, selection, projectedInlineValues, lockModesById = /* @__PURE__ */ new Map()) => {
7665
7692
  if (customCommands.has(id)) return normalizeCommandState({
7666
7693
  supported: true,
@@ -7815,7 +7842,7 @@ function createSuperDocUI(options) {
7815
7842
  value,
7816
7843
  reason: lockReason
7817
7844
  }, "builtin");
7818
- return normalizeCommandState(selectionBlockIds(selection).length > 0 && typeof getHost()?.setPendingInlineFormat === "function" ? {
7845
+ return normalizeCommandState(canStorePendingInlineFormat(selection) ? {
7819
7846
  enabled: true,
7820
7847
  active,
7821
7848
  supported: true,
@@ -10467,7 +10494,7 @@ function createSuperDocUI(options) {
10467
10494
  if (trackDecisionCommand(id)?.scope === "id") return true;
10468
10495
  if (!descriptor || descriptor.disposition !== "routed") return true;
10469
10496
  if (descriptor.inline?.kind === "clear") return selectionBlockIds(state.selection).length > 0 || resolveInlineSelectionTarget(state.selection) != null;
10470
- if (descriptor.inline) return resolveInlineSelectionTarget(state.selection) != null || selectionBlockIds(state.selection).length > 0;
10497
+ if (descriptor.inline) return resolveInlineSelectionTarget(state.selection) != null || canStorePendingInlineFormat(state.selection);
10471
10498
  if (descriptor.blockParagraph || descriptor.list) return selectionBlockIds(state.selection).length > 0;
10472
10499
  if (descriptor.link) return linkPayloadHasExplicitTarget(payload) || selectionTextAddresses(state.selection).length > 0 || collapsedTextAddressFromSelection(state.selection) != null || commandActiveState(descriptor, getDoc(), state.selection);
10473
10500
  return true;
@@ -10533,7 +10560,7 @@ function createSuperDocUI(options) {
10533
10560
  if (contentControlLockReason(lockModesById)) return false;
10534
10561
  const target = resolveInlineSelectionTarget(state.selection);
10535
10562
  if (!target) {
10536
- if (state.selection.empty === false) return settleCommandExecution(false);
10563
+ if (!canStorePendingInlineFormat(state.selection)) return settleCommandExecution(false);
10537
10564
  return settleCommandExecution(storePendingInlineFormat(descriptor, normalized));
10538
10565
  }
10539
10566
  const active = commandActiveState(descriptor, doc, state.selection);
@@ -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.20.1-next.6",
22
+ superdocVersion: "2.20.1-next.8",
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.20.1-next.6",
21
+ superdocVersion: "2.20.1-next.8",
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-DFCfYEpW.cjs");
2
+ const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-j8Qm5SYa.cjs");
3
3
  const require_slice_source = require("../chunks/slice-source-CFaqq0Vo.cjs");
4
4
  let react = require("react");
5
5
  //#region src/public/ui/react.ts
@@ -1,4 +1,4 @@
1
- import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-B4_V1haj.es.js";
1
+ import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-Cfwszc3b.es.js";
2
2
  import { t as toSliceSource } from "../chunks/slice-source-gfOhG2MW.es.js";
3
3
  import { createContext, createElement, useCallback, useContext, useEffect, useRef, useState } from "react";
4
4
  //#region src/public/ui/react.ts
@@ -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-DFCfYEpW.cjs");
2
+ const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-j8Qm5SYa.cjs");
3
3
  const require_slice_source = require("../chunks/slice-source-CFaqq0Vo.cjs");
4
4
  let superdoc_entry_vue = require("vue");
5
5
  //#region src/public/ui/vue.ts
@@ -1,4 +1,4 @@
1
- import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-B4_V1haj.es.js";
1
+ import { t as createSuperDocUI } from "../chunks/create-super-doc-ui-Cfwszc3b.es.js";
2
2
  import { t as toSliceSource } from "../chunks/slice-source-gfOhG2MW.es.js";
3
3
  import { computed, inject, onScopeDispose, provide, shallowRef, toRaw, toValue, watch } from "vue";
4
4
  //#region src/public/ui/vue.ts
@@ -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-DFCfYEpW.cjs");
2
+ const require_create_super_doc_ui = require("../chunks/create-super-doc-ui-j8Qm5SYa.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 { a as BUILT_IN_COMMAND_IDS, t as createSuperDocUI, u as shallowEqual } from "../chunks/create-super-doc-ui-B4_V1haj.es.js";
1
+ import { a as BUILT_IN_COMMAND_IDS, t as createSuperDocUI, u as shallowEqual } from "../chunks/create-super-doc-ui-Cfwszc3b.es.js";
2
2
  export { BUILT_IN_COMMAND_IDS, createSuperDocUI, shallowEqual };