superdoc 2.23.0-next.5 → 2.23.0-next.7

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.23.0-next.5",
22
+ superdocVersion: "2.23.0-next.7",
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.23.0-next.5",
21
+ superdocVersion: "2.23.0-next.7",
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
@@ -51,6 +51,13 @@ export type OperationCapabilities = Record<OperationId, OperationRuntimeCapabili
51
51
  export interface PlanEngineCapabilities {
52
52
  /** Step op codes the engine can execute (e.g., 'text.rewrite', 'format.apply'). */
53
53
  supportedStepOps: readonly string[];
54
+ /** Proven targeting modes; operation-specific restrictions remain in unsupported cells. */
55
+ supportedTargets?: readonly string[];
56
+ /** Named unsupported combinations with stable, discoverable reasons. */
57
+ unsupported?: readonly {
58
+ cell: string;
59
+ reason: string;
60
+ }[];
54
61
  /** Non-uniform style resolution strategies available for `onNonUniform`. */
55
62
  supportedNonUniformStrategies: readonly string[];
56
63
  /** Mark names that `setMarks` can override (e.g., 'bold', 'italic'). */
@@ -2254,6 +2254,8 @@ export type Line = {
2254
2254
  lineHeight: number;
2255
2255
  /** Maximum available width for this line (used during measurement). */
2256
2256
  maxWidth?: number;
2257
+ /** First-line list prefix displacement imposed by a left float exclusion. */
2258
+ listMarkerOffsetX?: number;
2257
2259
  /** Content width before justify compression (used for negative word-spacing calculation). */
2258
2260
  naturalWidth?: number;
2259
2261
  /** Number of spaces in the line (pre-computed for efficiency in justify calculations). */
@@ -167,6 +167,8 @@ export type LayoutOptions = {
167
167
  startContext?: {
168
168
  /** Physical page-number offset for emitted `Page.number` values. */
169
169
  pageNumberOffset?: number;
170
+ /** The resumed first paragraph follows an omitted authored pageBreakBefore block. */
171
+ startsAfterPageBreakBefore?: boolean;
170
172
  /** Display/effective page counter to stamp on the first emitted page. */
171
173
  activePageCounter?: number;
172
174
  /** Active section index at the page boundary. */
@@ -9,8 +9,9 @@ type PainterListTextStartParams = {
9
9
  hangingIndentPx: number;
10
10
  firstLineIndentPx: number;
11
11
  markerTextWidthPx?: number;
12
+ markerOffsetX?: number;
12
13
  };
13
- export declare const resolvePainterListMarkerGeometry: ({ wordLayout, indentLeftPx, hangingIndentPx, firstLineIndentPx, markerTextWidthPx, }: PainterListTextStartParams) => ResolvedListMarkerGeometry | undefined;
14
+ export declare const resolvePainterListMarkerGeometry: ({ wordLayout, indentLeftPx, hangingIndentPx, firstLineIndentPx, markerTextWidthPx, markerOffsetX, }: PainterListTextStartParams) => ResolvedListMarkerGeometry | undefined;
14
15
  export declare const resolvePainterListTextStartPx: ({ wordLayout, indentLeftPx, hangingIndentPx, firstLineIndentPx, markerTextWidthPx, }: PainterListTextStartParams) => number | undefined;
15
16
  type MarkerRunStyle = {
16
17
  fontFamily?: string | null;
@@ -31,6 +32,7 @@ export declare const renderLegacyListMarker: (params: {
31
32
  markerLayout: MinimalMarker;
32
33
  markerMeasure: ParagraphMeasure["marker"];
33
34
  markerTextWidthPx?: number;
35
+ markerOffsetX?: number;
34
36
  indentLeftPx: number;
35
37
  hangingIndentPx: number;
36
38
  firstLineIndentPx: number;
@@ -54,7 +54,7 @@ export declare const applyBorder: (element: HTMLElement, side: BorderSide, borde
54
54
  * ```
55
55
  */
56
56
  export declare const applyCellBorders: (element: HTMLElement, borders?: CellBorders, useSvgOverlay?: boolean) => void;
57
- /** Paints cell-only border patterns that CSS borders cannot represent. */
57
+ /** Paints cell border patterns and fractional strokes that native CSS cannot represent. */
58
58
  export declare const createCellBorderOverlay: (doc: Document, borders: CellBorders | undefined, geometry: {
59
59
  left: string;
60
60
  top: string;
@@ -7,7 +7,7 @@
7
7
  * ProseMirror or v1 editor runtime.
8
8
  */
9
9
  export { normalizeParagraphAttrsFromOoxml } from './paragraph-attrs.js';
10
- export { normalizeRunAttrsFromOoxml, type NormalizeRunAttrsContext } from './run-attrs.js';
10
+ export { normalizeRunAttrsFromOoxml, splitEastAsianFontSegments, type NormalizeRunAttrsContext } from './run-attrs.js';
11
11
  export type { TextRunStyleAttrs, ParagraphAttrs } from './types.js';
12
12
  export { applyThemeTintShade, normalizeHexColor, resolveThemeColor } from './colors.js';
13
13
  export { PX_PER_EIGHTH_POINT, PX_PER_POINT, PX_PER_TWIP, eighthPointsToPx, halfPointsToPx, twipsToPx, } from './units.js';
@@ -2,6 +2,8 @@ import { RunProperties } from '../ooxml/types.js';
2
2
  import { WordThemeColorPalette, WordThemeFontScheme } from '../ooxml/word-style-model/parse-theme.js';
3
3
  import { TextRunStyleAttrs } from './types.js';
4
4
  export interface NormalizeRunAttrsContext {
5
+ /** Font track selected from the text segment, independently of run language. */
6
+ fontScript?: 'eastAsia';
5
7
  /** Compiled theme color palette from the Word style model. */
6
8
  themeColors?: WordThemeColorPalette;
7
9
  /** Compiled theme font scheme. */
@@ -20,3 +22,13 @@ export interface NormalizeRunAttrsContext {
20
22
  backgroundColor?: string;
21
23
  }
22
24
  export declare function normalizeRunAttrsFromOoxml(props: RunProperties | null | undefined, context?: NormalizeRunAttrsContext): TextRunStyleAttrs;
25
+ interface FontScriptSegment {
26
+ text: string;
27
+ fontScript?: 'eastAsia';
28
+ }
29
+ /**
30
+ * Preserve Latin and East Asian font attribution across compatible text leaves.
31
+ * Iteration uses code points so supplementary Han and combining marks stay intact.
32
+ */
33
+ export declare function splitEastAsianFontSegments(text: string, precedingFontScript?: 'eastAsia'): FontScriptSegment[];
34
+ export {};
@@ -145,7 +145,7 @@ export type ResolvedListMarkerGeometry = {
145
145
  * @param measureMarkerText - Callback used when marker glyph width is not precomputed
146
146
  * @returns Resolved list prefix geometry, or undefined when the paragraph has no marker
147
147
  */
148
- export declare function resolveListMarkerGeometry(wordLayout: MinimalWordLayout | undefined, indentLeft: number, firstLine: number, hanging: number, measureMarkerText: MarkerTextMeasurer): ResolvedListMarkerGeometry | undefined;
148
+ export declare function resolveListMarkerGeometry(wordLayout: MinimalWordLayout | undefined, indentLeft: number, firstLine: number, hanging: number, measureMarkerText: MarkerTextMeasurer, markerOffsetX?: number): ResolvedListMarkerGeometry | undefined;
149
149
  /**
150
150
  * Convenience wrapper that returns only the text-start X coordinate from
151
151
  * {@link resolveListMarkerGeometry}. Falls back to `wordLayout.textStartPx`
package/dist/style.css CHANGED
@@ -2341,34 +2341,34 @@ img[data-v-c95b2073] {
2341
2341
  pointer-events: auto;
2342
2342
  }
2343
2343
 
2344
- .superdoc[data-v-3a8081b4] {
2344
+ .superdoc[data-v-3a8bc935] {
2345
2345
  display: flex;
2346
2346
  position: relative;
2347
2347
  }
2348
- .right-sidebar[data-v-3a8081b4] {
2348
+ .right-sidebar[data-v-3a8bc935] {
2349
2349
  min-width: 320px;
2350
2350
  height: 100%;
2351
2351
  }
2352
- .floating-comments[data-v-3a8081b4] {
2352
+ .floating-comments[data-v-3a8bc935] {
2353
2353
  min-width: 300px;
2354
2354
  width: 300px;
2355
2355
  height: 100%;
2356
2356
  overflow: visible;
2357
2357
  }
2358
- .superdoc__layers[data-v-3a8081b4] {
2358
+ .superdoc__layers[data-v-3a8bc935] {
2359
2359
  height: 100%;
2360
2360
  position: relative;
2361
2361
  box-sizing: border-box;
2362
2362
  }
2363
- .superdoc__document[data-v-3a8081b4] {
2363
+ .superdoc__document[data-v-3a8bc935] {
2364
2364
  width: 100%;
2365
2365
  position: relative;
2366
2366
  }
2367
- .superdoc__sub-document[data-v-3a8081b4] {
2367
+ .superdoc__sub-document[data-v-3a8bc935] {
2368
2368
  width: 100%;
2369
2369
  position: relative;
2370
2370
  }
2371
- .superdoc__selection-layer[data-v-3a8081b4] {
2371
+ .superdoc__selection-layer[data-v-3a8bc935] {
2372
2372
  position: absolute;
2373
2373
  min-width: 100%;
2374
2374
  min-height: 100%;
@@ -2379,13 +2379,13 @@ img[data-v-c95b2073] {
2379
2379
  /* SD-3497: PDF whiteboard overlay sits above the rendered PDF canvas but below
2380
2380
  the PDF comment anchors (z-index 6 in PdfCommentsLayer) so anchors stay
2381
2381
  clickable, and below the selection layer (z-index 10). */
2382
- .superdoc__whiteboard-layer[data-v-3a8081b4] {
2382
+ .superdoc__whiteboard-layer[data-v-3a8bc935] {
2383
2383
  z-index: 4;
2384
2384
  }
2385
- .superdoc__temp-selection[data-v-3a8081b4] {
2385
+ .superdoc__temp-selection[data-v-3a8bc935] {
2386
2386
  position: absolute;
2387
2387
  }
2388
- .superdoc__right-sidebar[data-v-3a8081b4] {
2388
+ .superdoc__right-sidebar[data-v-3a8bc935] {
2389
2389
  width: 320px;
2390
2390
  min-width: 320px;
2391
2391
  padding: 0 10px;
@@ -2393,7 +2393,7 @@ img[data-v-c95b2073] {
2393
2393
  position: relative;
2394
2394
  z-index: 2;
2395
2395
  }
2396
- .superdoc__compact-comment-popover[data-v-3a8081b4] {
2396
+ .superdoc__compact-comment-popover[data-v-3a8bc935] {
2397
2397
  position: absolute;
2398
2398
  top: 12px;
2399
2399
  right: 12px;
@@ -2402,14 +2402,14 @@ img[data-v-c95b2073] {
2402
2402
  }
2403
2403
 
2404
2404
  /* Tools styles */
2405
- .tools[data-v-3a8081b4] {
2405
+ .tools[data-v-3a8bc935] {
2406
2406
  position: absolute;
2407
2407
  z-index: 3;
2408
2408
  display: flex;
2409
2409
  flex-direction: column;
2410
2410
  gap: var(--sd-ui-tools-gap, 6px);
2411
2411
  }
2412
- .tools-item[data-v-3a8081b4] {
2412
+ .tools-item[data-v-3a8bc935] {
2413
2413
  display: flex;
2414
2414
  align-items: center;
2415
2415
  justify-content: center;
@@ -2420,10 +2420,10 @@ img[data-v-c95b2073] {
2420
2420
  cursor: pointer;
2421
2421
  position: relative;
2422
2422
  }
2423
- .tools-item i[data-v-3a8081b4] {
2423
+ .tools-item i[data-v-3a8bc935] {
2424
2424
  cursor: pointer;
2425
2425
  }
2426
- .superdoc__tools-icon[data-v-3a8081b4] {
2426
+ .superdoc__tools-icon[data-v-3a8bc935] {
2427
2427
  width: var(--sd-ui-tools-icon-size, 20px);
2428
2428
  height: var(--sd-ui-tools-icon-size, 20px);
2429
2429
  flex-shrink: 0;
@@ -2438,22 +2438,22 @@ img[data-v-c95b2073] {
2438
2438
 
2439
2439
  /* 834px is iPad screen size in portrait orientation */
2440
2440
  @media (max-width: 834px) {
2441
- .superdoc .superdoc__layers[data-v-3a8081b4] {
2441
+ .superdoc .superdoc__layers[data-v-3a8bc935] {
2442
2442
  margin: 0;
2443
2443
  border: 0 !important;
2444
2444
  box-shadow: none;
2445
2445
  }
2446
- .superdoc__sub-document[data-v-3a8081b4] {
2446
+ .superdoc__sub-document[data-v-3a8bc935] {
2447
2447
  max-width: 100%;
2448
2448
  }
2449
- .superdoc__right-sidebar[data-v-3a8081b4] {
2449
+ .superdoc__right-sidebar[data-v-3a8bc935] {
2450
2450
  padding: 10px;
2451
2451
  position: relative;
2452
2452
  }
2453
2453
  }
2454
2454
 
2455
2455
  /* AI Writer styles */
2456
- .ai-writer-container[data-v-3a8081b4] {
2456
+ .ai-writer-container[data-v-3a8bc935] {
2457
2457
  position: fixed;
2458
2458
  z-index: 1000;
2459
2459
  background: white;
@@ -2469,10 +2469,10 @@ img[data-v-c95b2073] {
2469
2469
  transform: translateY(-50%);
2470
2470
  z-index: 50;
2471
2471
  } */
2472
- .ai-tool > svg[data-v-3a8081b4] {
2472
+ .ai-tool > svg[data-v-3a8bc935] {
2473
2473
  fill: transparent;
2474
2474
  }
2475
- .ai-tool[data-v-3a8081b4]::before {
2475
+ .ai-tool[data-v-3a8bc935]::before {
2476
2476
  content: '';
2477
2477
  position: absolute;
2478
2478
  width: 20px;
@@ -2493,7 +2493,7 @@ img[data-v-c95b2073] {
2493
2493
  filter: brightness(1.2);
2494
2494
  transition: filter 0.2s ease;
2495
2495
  }
2496
- .ai-tool[data-v-3a8081b4]:hover::before {
2496
+ .ai-tool[data-v-3a8bc935]:hover::before {
2497
2497
  filter: brightness(1.3);
2498
2498
  }
2499
2499
 
@@ -2341,34 +2341,34 @@ img[data-v-c95b2073] {
2341
2341
  pointer-events: auto;
2342
2342
  }
2343
2343
 
2344
- .superdoc[data-v-3a8081b4] {
2344
+ .superdoc[data-v-3a8bc935] {
2345
2345
  display: flex;
2346
2346
  position: relative;
2347
2347
  }
2348
- .right-sidebar[data-v-3a8081b4] {
2348
+ .right-sidebar[data-v-3a8bc935] {
2349
2349
  min-width: 320px;
2350
2350
  height: 100%;
2351
2351
  }
2352
- .floating-comments[data-v-3a8081b4] {
2352
+ .floating-comments[data-v-3a8bc935] {
2353
2353
  min-width: 300px;
2354
2354
  width: 300px;
2355
2355
  height: 100%;
2356
2356
  overflow: visible;
2357
2357
  }
2358
- .superdoc__layers[data-v-3a8081b4] {
2358
+ .superdoc__layers[data-v-3a8bc935] {
2359
2359
  height: 100%;
2360
2360
  position: relative;
2361
2361
  box-sizing: border-box;
2362
2362
  }
2363
- .superdoc__document[data-v-3a8081b4] {
2363
+ .superdoc__document[data-v-3a8bc935] {
2364
2364
  width: 100%;
2365
2365
  position: relative;
2366
2366
  }
2367
- .superdoc__sub-document[data-v-3a8081b4] {
2367
+ .superdoc__sub-document[data-v-3a8bc935] {
2368
2368
  width: 100%;
2369
2369
  position: relative;
2370
2370
  }
2371
- .superdoc__selection-layer[data-v-3a8081b4] {
2371
+ .superdoc__selection-layer[data-v-3a8bc935] {
2372
2372
  position: absolute;
2373
2373
  min-width: 100%;
2374
2374
  min-height: 100%;
@@ -2379,13 +2379,13 @@ img[data-v-c95b2073] {
2379
2379
  /* SD-3497: PDF whiteboard overlay sits above the rendered PDF canvas but below
2380
2380
  the PDF comment anchors (z-index 6 in PdfCommentsLayer) so anchors stay
2381
2381
  clickable, and below the selection layer (z-index 10). */
2382
- .superdoc__whiteboard-layer[data-v-3a8081b4] {
2382
+ .superdoc__whiteboard-layer[data-v-3a8bc935] {
2383
2383
  z-index: 4;
2384
2384
  }
2385
- .superdoc__temp-selection[data-v-3a8081b4] {
2385
+ .superdoc__temp-selection[data-v-3a8bc935] {
2386
2386
  position: absolute;
2387
2387
  }
2388
- .superdoc__right-sidebar[data-v-3a8081b4] {
2388
+ .superdoc__right-sidebar[data-v-3a8bc935] {
2389
2389
  width: 320px;
2390
2390
  min-width: 320px;
2391
2391
  padding: 0 10px;
@@ -2393,7 +2393,7 @@ img[data-v-c95b2073] {
2393
2393
  position: relative;
2394
2394
  z-index: 2;
2395
2395
  }
2396
- .superdoc__compact-comment-popover[data-v-3a8081b4] {
2396
+ .superdoc__compact-comment-popover[data-v-3a8bc935] {
2397
2397
  position: absolute;
2398
2398
  top: 12px;
2399
2399
  right: 12px;
@@ -2402,14 +2402,14 @@ img[data-v-c95b2073] {
2402
2402
  }
2403
2403
 
2404
2404
  /* Tools styles */
2405
- .tools[data-v-3a8081b4] {
2405
+ .tools[data-v-3a8bc935] {
2406
2406
  position: absolute;
2407
2407
  z-index: 3;
2408
2408
  display: flex;
2409
2409
  flex-direction: column;
2410
2410
  gap: var(--sd-ui-tools-gap, 6px);
2411
2411
  }
2412
- .tools-item[data-v-3a8081b4] {
2412
+ .tools-item[data-v-3a8bc935] {
2413
2413
  display: flex;
2414
2414
  align-items: center;
2415
2415
  justify-content: center;
@@ -2420,10 +2420,10 @@ img[data-v-c95b2073] {
2420
2420
  cursor: pointer;
2421
2421
  position: relative;
2422
2422
  }
2423
- .tools-item i[data-v-3a8081b4] {
2423
+ .tools-item i[data-v-3a8bc935] {
2424
2424
  cursor: pointer;
2425
2425
  }
2426
- .superdoc__tools-icon[data-v-3a8081b4] {
2426
+ .superdoc__tools-icon[data-v-3a8bc935] {
2427
2427
  width: var(--sd-ui-tools-icon-size, 20px);
2428
2428
  height: var(--sd-ui-tools-icon-size, 20px);
2429
2429
  flex-shrink: 0;
@@ -2438,22 +2438,22 @@ img[data-v-c95b2073] {
2438
2438
 
2439
2439
  /* 834px is iPad screen size in portrait orientation */
2440
2440
  @media (max-width: 834px) {
2441
- .superdoc .superdoc__layers[data-v-3a8081b4] {
2441
+ .superdoc .superdoc__layers[data-v-3a8bc935] {
2442
2442
  margin: 0;
2443
2443
  border: 0 !important;
2444
2444
  box-shadow: none;
2445
2445
  }
2446
- .superdoc__sub-document[data-v-3a8081b4] {
2446
+ .superdoc__sub-document[data-v-3a8bc935] {
2447
2447
  max-width: 100%;
2448
2448
  }
2449
- .superdoc__right-sidebar[data-v-3a8081b4] {
2449
+ .superdoc__right-sidebar[data-v-3a8bc935] {
2450
2450
  padding: 10px;
2451
2451
  position: relative;
2452
2452
  }
2453
2453
  }
2454
2454
 
2455
2455
  /* AI Writer styles */
2456
- .ai-writer-container[data-v-3a8081b4] {
2456
+ .ai-writer-container[data-v-3a8bc935] {
2457
2457
  position: fixed;
2458
2458
  z-index: 1000;
2459
2459
  background: white;
@@ -2469,10 +2469,10 @@ img[data-v-c95b2073] {
2469
2469
  transform: translateY(-50%);
2470
2470
  z-index: 50;
2471
2471
  } */
2472
- .ai-tool > svg[data-v-3a8081b4] {
2472
+ .ai-tool > svg[data-v-3a8bc935] {
2473
2473
  fill: transparent;
2474
2474
  }
2475
- .ai-tool[data-v-3a8081b4]::before {
2475
+ .ai-tool[data-v-3a8bc935]::before {
2476
2476
  content: '';
2477
2477
  position: absolute;
2478
2478
  width: 20px;
@@ -2493,7 +2493,7 @@ img[data-v-c95b2073] {
2493
2493
  filter: brightness(1.2);
2494
2494
  transition: filter 0.2s ease;
2495
2495
  }
2496
- .ai-tool[data-v-3a8081b4]:hover::before {
2496
+ .ai-tool[data-v-3a8bc935]:hover::before {
2497
2497
  filter: brightness(1.3);
2498
2498
  }
2499
2499
 
package/dist/superdoc.cjs CHANGED
@@ -304,7 +304,7 @@ var awarenessStatesToArray = (context, states) => {
304
304
  var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
305
305
  function getSuperdocVersion() {
306
306
  try {
307
- return "2.23.0-next.5";
307
+ return "2.23.0-next.7";
308
308
  } catch {
309
309
  return "unknown";
310
310
  }
@@ -22806,7 +22806,8 @@ var SuperDoc_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_v
22806
22806
  documentId,
22807
22807
  commentsAdapter: commentsAdapter ?? null,
22808
22808
  trackedChangesAdapter: trackedChangesAdapter ?? null,
22809
- resolveReviewWindow: (input) => host.resolveReviewWindow(input)
22809
+ resolveReviewWindow: (input) => host.resolveReviewWindow(input),
22810
+ moveFragmentWordIds: (ids) => host.getHandles().trackChanges.moveFragmentWordIds(ids)
22810
22811
  });
22811
22812
  if (areDocumentsReady.value && !proxy.$superdoc.config.collaboration) isReady.value = true;
22812
22813
  isFloatingCommentsReady.value = true;
@@ -24608,7 +24609,7 @@ var SuperDoc_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_v
24608
24609
  ], 38);
24609
24610
  };
24610
24611
  }
24611
- }, [["__scopeId", "data-v-3a8081b4"]]);
24612
+ }, [["__scopeId", "data-v-3a8bc935"]]);
24612
24613
  //#endregion
24613
24614
  //#region src/core/create-app.js
24614
24615
  var PINIA_DEVTOOLS_SETUP_EVENT = "devtools-plugin:setup";
@@ -46432,7 +46433,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
46432
46433
  }
46433
46434
  this.userColorMap = /* @__PURE__ */ new Map();
46434
46435
  this.colorIndex = 0;
46435
- this.version = "2.23.0-next.5";
46436
+ this.version = "2.23.0-next.7";
46436
46437
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
46437
46438
  this.superdocId = config.superdocId || require_uuid.v4();
46438
46439
  this.colors = this.config.colors ?? [];
@@ -302,7 +302,7 @@ var awarenessStatesToArray = (context, states) => {
302
302
  var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
303
303
  function getSuperdocVersion() {
304
304
  try {
305
- return "2.23.0-next.5";
305
+ return "2.23.0-next.7";
306
306
  } catch {
307
307
  return "unknown";
308
308
  }
@@ -22765,7 +22765,8 @@ var SuperDoc_default = /*#__PURE__*/ _plugin_vue_export_helper_default({
22765
22765
  documentId,
22766
22766
  commentsAdapter: commentsAdapter ?? null,
22767
22767
  trackedChangesAdapter: trackedChangesAdapter ?? null,
22768
- resolveReviewWindow: (input) => host.resolveReviewWindow(input)
22768
+ resolveReviewWindow: (input) => host.resolveReviewWindow(input),
22769
+ moveFragmentWordIds: (ids) => host.getHandles().trackChanges.moveFragmentWordIds(ids)
22769
22770
  });
22770
22771
  if (areDocumentsReady.value && !proxy.$superdoc.config.collaboration) isReady.value = true;
22771
22772
  isFloatingCommentsReady.value = true;
@@ -24567,7 +24568,7 @@ var SuperDoc_default = /*#__PURE__*/ _plugin_vue_export_helper_default({
24567
24568
  ], 38);
24568
24569
  };
24569
24570
  }
24570
- }, [["__scopeId", "data-v-3a8081b4"]]);
24571
+ }, [["__scopeId", "data-v-3a8bc935"]]);
24571
24572
  //#endregion
24572
24573
  //#region src/core/create-app.js
24573
24574
  var PINIA_DEVTOOLS_SETUP_EVENT = "devtools-plugin:setup";
@@ -46361,7 +46362,7 @@ var SuperDoc = class extends import_eventemitter3.default {
46361
46362
  }
46362
46363
  this.userColorMap = /* @__PURE__ */ new Map();
46363
46364
  this.colorIndex = 0;
46364
- this.version = "2.23.0-next.5";
46365
+ this.version = "2.23.0-next.7";
46365
46366
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
46366
46367
  this.superdocId = config.superdocId || v4();
46367
46368
  this.colors = this.config.colors ?? [];