@harbour-enterprises/superdoc 1.3.1-next.2 → 1.3.1-next.3

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/dist/style.css CHANGED
@@ -2299,32 +2299,32 @@ span[data-v-53e13009] {
2299
2299
  display: inline-block;
2300
2300
  }
2301
2301
 
2302
- .change-type[data-v-dc2a79b5] {
2302
+ .change-type[data-v-d50fd675] {
2303
2303
  font-style: italic;
2304
2304
  font-weight: 600;
2305
2305
  font-size: 10px;
2306
2306
  color: #555;
2307
2307
  }
2308
- .tracked-change[data-v-dc2a79b5] {
2308
+ .tracked-change[data-v-d50fd675] {
2309
2309
  font-size: 12px;
2310
2310
  }
2311
- .tracked-change-text[data-v-dc2a79b5] {
2311
+ .tracked-change-text[data-v-d50fd675] {
2312
2312
  color: #111;
2313
2313
  }
2314
- .comment-separator[data-v-dc2a79b5] {
2314
+ .comment-separator[data-v-d50fd675] {
2315
2315
  background-color: #dbdbdb;
2316
2316
  height: 1px;
2317
2317
  width: 100%;
2318
2318
  margin: 10px 0;
2319
2319
  font-weight: 400;
2320
2320
  }
2321
- .existing-internal-input[data-v-dc2a79b5] {
2321
+ .existing-internal-input[data-v-d50fd675] {
2322
2322
  margin-bottom: 10px;
2323
2323
  }
2324
- .initial-internal-dropdown[data-v-dc2a79b5] {
2324
+ .initial-internal-dropdown[data-v-d50fd675] {
2325
2325
  margin-top: 10px;
2326
2326
  }
2327
- .comments-dialog[data-v-dc2a79b5] {
2327
+ .comments-dialog[data-v-d50fd675] {
2328
2328
  display: flex;
2329
2329
  flex-direction: column;
2330
2330
  padding: 10px 15px;
@@ -2340,39 +2340,39 @@ span[data-v-53e13009] {
2340
2340
  min-width: 200px;
2341
2341
  width: 100%;
2342
2342
  }
2343
- .is-active[data-v-dc2a79b5] {
2343
+ .is-active[data-v-d50fd675] {
2344
2344
  z-index: 10;
2345
2345
  }
2346
- .input-section[data-v-dc2a79b5] {
2346
+ .input-section[data-v-d50fd675] {
2347
2347
  margin-top: 10px;
2348
2348
  }
2349
- .sd-button[data-v-dc2a79b5] {
2349
+ .sd-button[data-v-d50fd675] {
2350
2350
  font-size: 12px;
2351
2351
  margin-left: 5px;
2352
2352
  }
2353
- .comment[data-v-dc2a79b5] {
2353
+ .comment[data-v-d50fd675] {
2354
2354
  font-size: 13px;
2355
2355
  margin: 10px 0;
2356
2356
  }
2357
- .is-resolved[data-v-dc2a79b5] {
2357
+ .is-resolved[data-v-d50fd675] {
2358
2358
  background-color: #f0f0f0;
2359
2359
  }
2360
- .comment-footer[data-v-dc2a79b5] {
2360
+ .comment-footer[data-v-d50fd675] {
2361
2361
  margin: 5px 0 5px;
2362
2362
  display: flex;
2363
2363
  justify-content: flex-end;
2364
2364
  width: 100%;
2365
2365
  }
2366
- .internal-dropdown[data-v-dc2a79b5] {
2366
+ .internal-dropdown[data-v-d50fd675] {
2367
2367
  display: inline-block;
2368
2368
  }
2369
- .comment-editing[data-v-dc2a79b5] {
2369
+ .comment-editing[data-v-d50fd675] {
2370
2370
  padding-bottom: 10px;
2371
2371
  }
2372
- .comment-editing button[data-v-dc2a79b5] {
2372
+ .comment-editing button[data-v-d50fd675] {
2373
2373
  margin-left: 5px;
2374
2374
  }
2375
- .tracked-change[data-v-dc2a79b5] {
2375
+ .tracked-change[data-v-d50fd675] {
2376
2376
  margin: 0;
2377
2377
  }
2378
2378
 
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../chunks/jszip-C8_CqJxM.cjs");
4
4
  require("../chunks/helpers-nOdwpmwb.cjs");
5
- const superEditor_converter = require("../chunks/SuperConverter-Cu6cvHlN.cjs");
5
+ const superEditor_converter = require("../chunks/SuperConverter-p1tQGIew.cjs");
6
6
  require("../chunks/uuid-R7L08bOx.cjs");
7
7
  exports.SuperConverter = superEditor_converter.SuperConverter;
@@ -1,6 +1,6 @@
1
1
  import "../chunks/jszip-B1fkPkPJ.es.js";
2
2
  import "../chunks/helpers-C8e9wR5l.es.js";
3
- import { S } from "../chunks/SuperConverter-BE5tNyQz.es.js";
3
+ import { S } from "../chunks/SuperConverter-BQ6PNaJ8.es.js";
4
4
  import "../chunks/uuid-CjlX8hrF.es.js";
5
5
  export {
6
6
  S as SuperConverter
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./chunks/index-BjQU1XSp.cjs");
3
+ const index = require("./chunks/index-DLX_v-vr.cjs");
4
4
  const superEditor_docxZipper = require("./super-editor/docx-zipper.cjs");
5
5
  const superEditor_fileZipper = require("./super-editor/file-zipper.cjs");
6
6
  const vue = require("./chunks/vue-De9wkgLl.cjs");
7
- const superEditor_converter = require("./chunks/SuperConverter-Cu6cvHlN.cjs");
7
+ const superEditor_converter = require("./chunks/SuperConverter-p1tQGIew.cjs");
8
8
  function isNodeType(node, name) {
9
9
  return node.type.name === name;
10
10
  }
@@ -1,9 +1,9 @@
1
- import { ax as Node, ay as Mark } from "./chunks/index-SYGYHKb5.es.js";
2
- import { ao, au, a9, ab, aw, am, av, aA, an, ak, aq, az, aa, as, aC, aE, aB, ac, aD, ar, at } from "./chunks/index-SYGYHKb5.es.js";
1
+ import { ax as Node, ay as Mark } from "./chunks/index-CJec1cbb.es.js";
2
+ import { ao, au, a9, ab, aw, am, av, aA, an, ak, aq, az, aa, as, aC, aE, aB, ac, aD, ar, at } from "./chunks/index-CJec1cbb.es.js";
3
3
  import { default as default2 } from "./super-editor/docx-zipper.es.js";
4
4
  import { createZip } from "./super-editor/file-zipper.es.js";
5
5
  import { d as defineComponent, E as createElementBlock, G as openBlock, K as createBaseVNode } from "./chunks/vue-BnBKJwCW.es.js";
6
- import { S, r } from "./chunks/SuperConverter-BE5tNyQz.es.js";
6
+ import { S, r } from "./chunks/SuperConverter-BQ6PNaJ8.es.js";
7
7
  function isNodeType(node, name) {
8
8
  return node.type.name === name;
9
9
  }
package/dist/superdoc.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./chunks/index-BjQU1XSp.cjs");
4
- const superdoc = require("./chunks/index-DWfzQ0RN.cjs");
5
- const superEditor_converter = require("./chunks/SuperConverter-Cu6cvHlN.cjs");
3
+ const index = require("./chunks/index-DLX_v-vr.cjs");
4
+ const superdoc = require("./chunks/index-BQYtE-5U.cjs");
5
+ const superEditor_converter = require("./chunks/SuperConverter-p1tQGIew.cjs");
6
6
  const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
7
7
  require("./chunks/jszip-C8_CqJxM.cjs");
8
8
  require("./chunks/helpers-nOdwpmwb.cjs");
@@ -1,6 +1,6 @@
1
- import { au, ab, aw, av, as, a7, ac, ar, at } from "./chunks/index-SYGYHKb5.es.js";
2
- import { D, H, P, S, c } from "./chunks/index-Dp7mSzy1.es.js";
3
- import { S as S2, r } from "./chunks/SuperConverter-BE5tNyQz.es.js";
1
+ import { au, ab, aw, av, as, a7, ac, ar, at } from "./chunks/index-CJec1cbb.es.js";
2
+ import { D, H, P, S, c } from "./chunks/index-DXSUcHli.es.js";
3
+ import { S as S2, r } from "./chunks/SuperConverter-BQ6PNaJ8.es.js";
4
4
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
5
5
  import "./chunks/jszip-B1fkPkPJ.es.js";
6
6
  import "./chunks/helpers-C8e9wR5l.es.js";
@@ -35842,9 +35842,10 @@ Please report this to https://github.com/markedjs/marked.`, e) {
35842
35842
  const updateCommentsExtendedXml = (comments = [], commentsExtendedXml) => {
35843
35843
  const xmlCopy = carbonCopy(commentsExtendedXml);
35844
35844
  const commentsEx = comments.map((comment2) => {
35845
+ const isResolved = comment2.resolvedTime || comment2.isDone;
35845
35846
  const attributes = {
35846
35847
  "w15:paraId": comment2.commentParaId,
35847
- "w15:done": comment2.resolvedTime ? "1" : "0"
35848
+ "w15:done": isResolved ? "1" : "0"
35848
35849
  };
35849
35850
  const parentId = comment2.parentCommentId;
35850
35851
  if (parentId) {
@@ -36435,7 +36436,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36435
36436
  static getStoredSuperdocVersion(docx) {
36436
36437
  return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
36437
36438
  }
36438
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.3.1-next.2") {
36439
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.3.1-next.3") {
36439
36440
  return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
36440
36441
  }
36441
36442
  /**
@@ -49888,6 +49889,12 @@ Please report this to https://github.com/markedjs/marked.`, e) {
49888
49889
  if (from2 === null || pos < from2) from2 = pos;
49889
49890
  if (to === null || pos + node2.nodeSize > to) to = pos + node2.nodeSize;
49890
49891
  }
49892
+ if (node2.type.name === "commentRangeStart" && node2.attrs["w:id"] === id) {
49893
+ from2 = pos;
49894
+ }
49895
+ if (node2.type.name === "commentRangeEnd" && node2.attrs["w:id"] === id) {
49896
+ to = pos;
49897
+ }
49891
49898
  });
49892
49899
  return from2 !== null && to !== null ? { from: from2, to } : null;
49893
49900
  }
@@ -62245,7 +62252,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
62245
62252
  return false;
62246
62253
  }
62247
62254
  };
62248
- const summaryVersion = "1.3.1-next.2";
62255
+ const summaryVersion = "1.3.1-next.3";
62249
62256
  const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
62250
62257
  const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
62251
62258
  function mapAttributes(attrs) {
@@ -64878,7 +64885,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
64878
64885
  * Process collaboration migrations
64879
64886
  */
64880
64887
  processCollaborationMigrations() {
64881
- console.debug("[checkVersionMigrations] Current editor version", "1.3.1-next.2");
64888
+ console.debug("[checkVersionMigrations] Current editor version", "1.3.1-next.3");
64882
64889
  if (!this.options.ydoc) return;
64883
64890
  const metaMap = this.options.ydoc.getMap("meta");
64884
64891
  let docVersion = metaMap.get("version");
@@ -78488,8 +78495,15 @@ ${l}
78488
78495
  } else if (vRelativeFrom === "paragraph") {
78489
78496
  const baseAnchorY = state.cursorY;
78490
78497
  const firstLineHeight = measure.lines?.[0]?.lineHeight ?? 0;
78491
- const paragraphAdjustment = firstLineHeight / 2;
78492
- anchorY = baseAnchorY + paragraphAdjustment + offsetV;
78498
+ if (alignV === "top") {
78499
+ anchorY = baseAnchorY + offsetV;
78500
+ } else if (alignV === "bottom") {
78501
+ anchorY = baseAnchorY + firstLineHeight - imageHeight + offsetV;
78502
+ } else if (alignV === "center") {
78503
+ anchorY = baseAnchorY + (firstLineHeight - imageHeight) / 2 + offsetV;
78504
+ } else {
78505
+ anchorY = baseAnchorY + offsetV;
78506
+ }
78493
78507
  } else {
78494
78508
  const baseAnchorY = state.cursorY;
78495
78509
  anchorY = baseAnchorY + offsetV;
@@ -79550,6 +79564,13 @@ ${l}
79550
79564
  function collectAnchoredDrawings(blocks2, measures) {
79551
79565
  const map2 = /* @__PURE__ */ new Map();
79552
79566
  const len = Math.min(blocks2.length, measures.length);
79567
+ const paragraphIndexById = /* @__PURE__ */ new Map();
79568
+ for (let i2 = 0; i2 < len; i2 += 1) {
79569
+ const block = blocks2[i2];
79570
+ if (block.kind === "paragraph") {
79571
+ paragraphIndexById.set(block.id, i2);
79572
+ }
79573
+ }
79553
79574
  const nearestPrevParagraph = (fromIndex) => {
79554
79575
  for (let i2 = fromIndex - 1; i2 >= 0; i2 -= 1) {
79555
79576
  if (blocks2[i2].kind === "paragraph") return i2;
@@ -79576,7 +79597,11 @@ ${l}
79576
79597
  if (isPageRelativeAnchor(drawingBlock)) {
79577
79598
  continue;
79578
79599
  }
79579
- let anchorParaIndex = nearestPrevParagraph(i2);
79600
+ const anchorParagraphId = typeof drawingBlock.attrs === "object" && drawingBlock.attrs ? drawingBlock.attrs.anchorParagraphId : void 0;
79601
+ let anchorParaIndex = typeof anchorParagraphId === "string" ? paragraphIndexById.get(anchorParagraphId) ?? null : null;
79602
+ if (anchorParaIndex == null) {
79603
+ anchorParaIndex = nearestPrevParagraph(i2);
79604
+ }
79580
79605
  if (anchorParaIndex == null) anchorParaIndex = nearestNextParagraph(i2);
79581
79606
  if (anchorParaIndex == null) continue;
79582
79607
  const list2 = map2.get(anchorParaIndex) ?? [];
@@ -79587,6 +79612,13 @@ ${l}
79587
79612
  }
79588
79613
  function collectAnchoredTables(blocks2, measures) {
79589
79614
  const map2 = /* @__PURE__ */ new Map();
79615
+ const paragraphIndexById = /* @__PURE__ */ new Map();
79616
+ for (let i2 = 0; i2 < blocks2.length; i2 += 1) {
79617
+ const block = blocks2[i2];
79618
+ if (block.kind === "paragraph") {
79619
+ paragraphIndexById.set(block.id, i2);
79620
+ }
79621
+ }
79590
79622
  const nearestPrevParagraph = (fromIndex) => {
79591
79623
  for (let i2 = fromIndex - 1; i2 >= 0; i2 -= 1) {
79592
79624
  if (blocks2[i2].kind === "paragraph") return i2;
@@ -79606,7 +79638,11 @@ ${l}
79606
79638
  const tableBlock = block;
79607
79639
  const tableMeasure = measure;
79608
79640
  if (!tableBlock.anchor?.isAnchored) continue;
79609
- let anchorParaIndex = nearestPrevParagraph(i2);
79641
+ const anchorParagraphId = typeof tableBlock.attrs === "object" && tableBlock.attrs ? tableBlock.attrs.anchorParagraphId : void 0;
79642
+ let anchorParaIndex = typeof anchorParagraphId === "string" ? paragraphIndexById.get(anchorParagraphId) ?? null : null;
79643
+ if (anchorParaIndex == null) {
79644
+ anchorParaIndex = nearestPrevParagraph(i2);
79645
+ }
79610
79646
  if (anchorParaIndex == null) anchorParaIndex = nearestNextParagraph(i2);
79611
79647
  if (anchorParaIndex == null) continue;
79612
79648
  const list2 = map2.get(anchorParaIndex) ?? [];
@@ -91956,6 +91992,20 @@ ${l}
91956
91992
  let partIndex = 0;
91957
91993
  let tabOrdinal = 0;
91958
91994
  const nextId = () => partIndex === 0 ? baseBlockId : `${baseBlockId}-${partIndex}`;
91995
+ const attachAnchorParagraphId = (block, anchorParagraphId) => {
91996
+ const applicableKinds = /* @__PURE__ */ new Set(["drawing", "image", "table"]);
91997
+ if (!applicableKinds.has(block.kind)) {
91998
+ return block;
91999
+ }
92000
+ const blockWithAttrs = block;
92001
+ return {
92002
+ ...blockWithAttrs,
92003
+ attrs: {
92004
+ ...blockWithAttrs.attrs ?? {},
92005
+ anchorParagraphId
92006
+ }
92007
+ };
92008
+ };
91959
92009
  const flushParagraph = () => {
91960
92010
  if (currentRuns.length === 0) {
91961
92011
  return;
@@ -92187,6 +92237,7 @@ ${l}
92187
92237
  }
92188
92238
  return;
92189
92239
  }
92240
+ const anchorParagraphId = nextId();
92190
92241
  flushParagraph();
92191
92242
  const mergedMarks = [...node2.marks ?? [], ...inheritedMarks ?? []];
92192
92243
  const trackedMeta = trackedChanges?.enabled ? collectTrackedChangeFromMarks(mergedMarks) : void 0;
@@ -92197,7 +92248,7 @@ ${l}
92197
92248
  const imageBlock = converters.imageNodeToBlock(node2, nextBlockId, positions, trackedMeta, trackedChanges);
92198
92249
  if (imageBlock && imageBlock.kind === "image") {
92199
92250
  annotateBlockWithTrackedChange(imageBlock, trackedMeta, trackedChanges);
92200
- blocks2.push(imageBlock);
92251
+ blocks2.push(attachAnchorParagraphId(imageBlock, anchorParagraphId));
92201
92252
  }
92202
92253
  }
92203
92254
  return;
@@ -92205,6 +92256,7 @@ ${l}
92205
92256
  if (node2.type === "contentBlock") {
92206
92257
  const attrs = node2.attrs ?? {};
92207
92258
  if (attrs.horizontalRule === true) {
92259
+ const anchorParagraphId = nextId();
92208
92260
  flushParagraph();
92209
92261
  const indent2 = paragraphAttrs?.indent;
92210
92262
  const hrIndentLeft = typeof indent2?.left === "number" ? indent2.left : void 0;
@@ -92214,52 +92266,57 @@ ${l}
92214
92266
  const convert2 = converters?.contentBlockNodeToDrawingBlock ?? contentBlockNodeToDrawingBlock;
92215
92267
  const drawingBlock = convert2(hrNode, nextBlockId, positions);
92216
92268
  if (drawingBlock) {
92217
- blocks2.push(drawingBlock);
92269
+ blocks2.push(attachAnchorParagraphId(drawingBlock, anchorParagraphId));
92218
92270
  }
92219
92271
  }
92220
92272
  return;
92221
92273
  }
92222
92274
  if (node2.type === "vectorShape") {
92275
+ const anchorParagraphId = nextId();
92223
92276
  flushParagraph();
92224
92277
  if (converters?.vectorShapeNodeToDrawingBlock) {
92225
92278
  const drawingBlock = converters.vectorShapeNodeToDrawingBlock(node2, nextBlockId, positions);
92226
92279
  if (drawingBlock) {
92227
- blocks2.push(drawingBlock);
92280
+ blocks2.push(attachAnchorParagraphId(drawingBlock, anchorParagraphId));
92228
92281
  }
92229
92282
  }
92230
92283
  return;
92231
92284
  }
92232
92285
  if (node2.type === "shapeGroup") {
92286
+ const anchorParagraphId = nextId();
92233
92287
  flushParagraph();
92234
92288
  if (converters?.shapeGroupNodeToDrawingBlock) {
92235
92289
  const drawingBlock = converters.shapeGroupNodeToDrawingBlock(node2, nextBlockId, positions);
92236
92290
  if (drawingBlock) {
92237
- blocks2.push(drawingBlock);
92291
+ blocks2.push(attachAnchorParagraphId(drawingBlock, anchorParagraphId));
92238
92292
  }
92239
92293
  }
92240
92294
  return;
92241
92295
  }
92242
92296
  if (node2.type === "shapeContainer") {
92297
+ const anchorParagraphId = nextId();
92243
92298
  flushParagraph();
92244
92299
  if (converters?.shapeContainerNodeToDrawingBlock) {
92245
92300
  const drawingBlock = converters.shapeContainerNodeToDrawingBlock(node2, nextBlockId, positions);
92246
92301
  if (drawingBlock) {
92247
- blocks2.push(drawingBlock);
92302
+ blocks2.push(attachAnchorParagraphId(drawingBlock, anchorParagraphId));
92248
92303
  }
92249
92304
  }
92250
92305
  return;
92251
92306
  }
92252
92307
  if (node2.type === "shapeTextbox") {
92308
+ const anchorParagraphId = nextId();
92253
92309
  flushParagraph();
92254
92310
  if (converters?.shapeTextboxNodeToDrawingBlock) {
92255
92311
  const drawingBlock = converters.shapeTextboxNodeToDrawingBlock(node2, nextBlockId, positions);
92256
92312
  if (drawingBlock) {
92257
- blocks2.push(drawingBlock);
92313
+ blocks2.push(attachAnchorParagraphId(drawingBlock, anchorParagraphId));
92258
92314
  }
92259
92315
  }
92260
92316
  return;
92261
92317
  }
92262
92318
  if (node2.type === "table") {
92319
+ const anchorParagraphId = nextId();
92263
92320
  flushParagraph();
92264
92321
  if (converters?.tableNodeToBlock) {
92265
92322
  const tableBlock = converters.tableNodeToBlock(
@@ -92276,7 +92333,7 @@ ${l}
92276
92333
  ...converterContext !== void 0 ? [converterContext] : []
92277
92334
  );
92278
92335
  if (tableBlock) {
92279
- blocks2.push(tableBlock);
92336
+ blocks2.push(attachAnchorParagraphId(tableBlock, anchorParagraphId));
92280
92337
  }
92281
92338
  }
92282
92339
  return;
@@ -142441,12 +142498,13 @@ ${reason}`);
142441
142498
  return currentCommentText.value && currentCommentText.value !== "<p></p>";
142442
142499
  });
142443
142500
  const setFocus = () => {
142444
- if (props.comment.resolvedTime) return;
142445
142501
  const editor = proxy.$superdoc.activeEditor;
142446
- activeComment.value = props.comment.commentId;
142447
- props.comment.setActive(proxy.$superdoc);
142502
+ if (!props.comment.resolvedTime) {
142503
+ activeComment.value = props.comment.commentId;
142504
+ props.comment.setActive(proxy.$superdoc);
142505
+ }
142448
142506
  if (editor) {
142449
- const cursorId = props.comment.importedId || props.comment.commentId;
142507
+ const cursorId = props.comment.resolvedTime ? props.comment.commentId : props.comment.importedId || props.comment.commentId;
142450
142508
  editor.commands?.setCursorById(cursorId);
142451
142509
  }
142452
142510
  };
@@ -142682,7 +142740,7 @@ ${reason}`);
142682
142740
  };
142683
142741
  }
142684
142742
  };
142685
- const CommentDialog = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-dc2a79b5"]]);
142743
+ const CommentDialog = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-d50fd675"]]);
142686
142744
  const _hoisted_1$b = { class: "comments-list" };
142687
142745
  const _hoisted_2$5 = { key: 0 };
142688
142746
  const _hoisted_3$3 = { class: "comment-item" };
@@ -144618,7 +144676,7 @@ ${reason}`);
144618
144676
  this.config.colors = shuffleArray(this.config.colors);
144619
144677
  this.userColorMap = /* @__PURE__ */ new Map();
144620
144678
  this.colorIndex = 0;
144621
- this.version = "1.3.1-next.2";
144679
+ this.version = "1.3.1-next.3";
144622
144680
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
144623
144681
  this.superdocId = config2.superdocId || v4();
144624
144682
  this.colors = this.config.colors;