superdoc 1.16.0-next.8 → 1.16.0

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.
@@ -33833,7 +33833,7 @@ var SuperConverter = class SuperConverter {
33833
33833
  static getStoredSuperdocVersion(docx) {
33834
33834
  return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
33835
33835
  }
33836
- static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.16.0-next.8") {
33836
+ static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.16.0") {
33837
33837
  return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
33838
33838
  }
33839
33839
  static generateWordTimestamp() {
@@ -33819,7 +33819,7 @@ var SuperConverter = class SuperConverter {
33819
33819
  static getStoredSuperdocVersion(docx) {
33820
33820
  return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
33821
33821
  }
33822
- static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.16.0-next.8") {
33822
+ static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.16.0") {
33823
33823
  return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
33824
33824
  }
33825
33825
  static generateWordTimestamp() {
@@ -1,5 +1,5 @@
1
1
  import { a as __toCommonJS, n as __esmMin, r as __export, t as __commonJSMin } from "./rolldown-runtime-B2q5OVn9.es.js";
2
- import { $ as TextSelection$1, A as findMark, At as Mark$1, B as defaultBlockAt$1, C as docxNumberingHelpers, Ct as TrackDeleteMarkName, D as posToDOMRect, Dt as DOMParser$1, E as isInTable, Et as carbonCopy, F as isMarkActive, Ft as getExtensionConfigField, G as createDocument, H as getNodeType, I as getMarkRange, J as NodeSelection, K as AllSelection, L as isTextSelection, M as isActive, Mt as Slice, N as isNodeActive, Nt as minMax, O as findChildren$1, Ot as DOMSerializer, P as getSchemaTypeNameByName, Pt as callOrGet, Q as SelectionRange, R as findParentNode, S as getResolvedParagraphProperties, St as getUnderlineCssString, T as CommandService, Tt as TrackInsertMarkName, U as cleanSchemaItem, V as getMarkType, W as getSchemaTypeByName, X as PluginKey, Y as Plugin, Z as Selection, _ as ListHelpers, _t as encodeMarksFromRPr, a as _getReferencedTableStyles, at as Transform, b as isList, bt as resolveRunProperties, c as processContent, ct as dropPoint, d as createCellBorders, dt as replaceStep$1, et as AddMarkStep, f as InputRule, ft as generateDocxRandomId, g as unflattenListsInHtml, gt as encodeCSSFromRPr, h as inputRulesPlugin, ht as encodeCSSFromPPr, it as ReplaceStep, j as getMarksFromSelection, jt as Schema$1, k as getActiveFormatting, kt as Fragment$1, l as createDocFromMarkdown, lt as joinPoint, m as htmlHandler, mt as decodeRPrFromMarks, n as kebabCase$1, nt as RemoveMarkStep, o as helpers_exports, ot as canJoin, p as handleClipboardPaste, pt as generateRandomSigned32BitIntStrId, q as EditorState, r as insertNewRelationship, rt as ReplaceAroundStep$1, s as updateDOMAttributes, st as canSplit, t as SuperConverter, tt as Mapping, u as createDocFromHTML, ut as liftTarget, v as changeListLevel, vt as resolveDocxFontFamily, w as generateOrderedListIndex, wt as TrackFormatMarkName, x as calculateResolvedParagraphProperties, xt as resolveTableCellProperties, y as updateNumberingProperties, yt as resolveParagraphProperties, z as findParentNodeClosestToPos } from "./SuperConverter-CiVOwDWk.es.js";
2
+ import { $ as TextSelection$1, A as findMark, At as Mark$1, B as defaultBlockAt$1, C as docxNumberingHelpers, Ct as TrackDeleteMarkName, D as posToDOMRect, Dt as DOMParser$1, E as isInTable, Et as carbonCopy, F as isMarkActive, Ft as getExtensionConfigField, G as createDocument, H as getNodeType, I as getMarkRange, J as NodeSelection, K as AllSelection, L as isTextSelection, M as isActive, Mt as Slice, N as isNodeActive, Nt as minMax, O as findChildren$1, Ot as DOMSerializer, P as getSchemaTypeNameByName, Pt as callOrGet, Q as SelectionRange, R as findParentNode, S as getResolvedParagraphProperties, St as getUnderlineCssString, T as CommandService, Tt as TrackInsertMarkName, U as cleanSchemaItem, V as getMarkType, W as getSchemaTypeByName, X as PluginKey, Y as Plugin, Z as Selection, _ as ListHelpers, _t as encodeMarksFromRPr, a as _getReferencedTableStyles, at as Transform, b as isList, bt as resolveRunProperties, c as processContent, ct as dropPoint, d as createCellBorders, dt as replaceStep$1, et as AddMarkStep, f as InputRule, ft as generateDocxRandomId, g as unflattenListsInHtml, gt as encodeCSSFromRPr, h as inputRulesPlugin, ht as encodeCSSFromPPr, it as ReplaceStep, j as getMarksFromSelection, jt as Schema$1, k as getActiveFormatting, kt as Fragment$1, l as createDocFromMarkdown, lt as joinPoint, m as htmlHandler, mt as decodeRPrFromMarks, n as kebabCase$1, nt as RemoveMarkStep, o as helpers_exports, ot as canJoin, p as handleClipboardPaste, pt as generateRandomSigned32BitIntStrId, q as EditorState, r as insertNewRelationship, rt as ReplaceAroundStep$1, s as updateDOMAttributes, st as canSplit, t as SuperConverter, tt as Mapping, u as createDocFromHTML, ut as liftTarget, v as changeListLevel, vt as resolveDocxFontFamily, w as generateOrderedListIndex, wt as TrackFormatMarkName, x as calculateResolvedParagraphProperties, xt as resolveTableCellProperties, y as updateNumberingProperties, yt as resolveParagraphProperties, z as findParentNodeClosestToPos } from "./SuperConverter-lEdh3U1N.es.js";
3
3
  import { a as init_dist$2, i as global, n as init_dist, o as Buffer$3, r as process$1, s as init_dist$1 } from "./jszip-ChlR43oI.es.js";
4
4
  import { t as v4_default } from "./uuid-2IzDu5nl.es.js";
5
5
  import { A as resolveOpcTargetPath, E as pixelsToTwips, F as twipsToLines, I as twipsToPixels, P as twipsToInches, _ as halfPointToPoints, c as convertSizeToCSS, k as ptToTwips, p as getArrayBufferFromUrl, t as COMMENT_FILE_BASENAMES, v as inchesToPixels, x as linesToTwips, y as inchesToTwips } from "./constants-DBKi0Amm.es.js";
@@ -260,7 +260,7 @@ var v_click_outside_default = {
260
260
  var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
261
261
  function getSuperdocVersion() {
262
262
  try {
263
- return "1.16.0-next.8";
263
+ return "1.16.0";
264
264
  } catch {
265
265
  return "unknown";
266
266
  }
@@ -4301,12 +4301,7 @@ var DOMObserver = class {
4301
4301
  if (result.typeOver) typeOver = true;
4302
4302
  }
4303
4303
  }
4304
- if (added.some((n) => n.nodeName == "BR") && (view.input.lastKeyCode == 8 || view.input.lastKeyCode == 46)) {
4305
- for (let node of added) if (node.nodeName == "BR" && node.parentNode) {
4306
- let after = node.nextSibling;
4307
- if (after && after.nodeType == 1 && after.contentEditable == "false") node.parentNode.removeChild(node);
4308
- }
4309
- } else if (gecko && added.length) {
4304
+ if (gecko && added.length) {
4310
4305
  let brs = added.filter((n) => n.nodeName == "BR");
4311
4306
  if (brs.length == 2) {
4312
4307
  let [a, b$1] = brs;
@@ -4319,6 +4314,11 @@ var DOMObserver = class {
4319
4314
  if (parent && parent.nodeName == "LI" && (!focusNode || blockParent(view, focusNode) != parent)) br.remove();
4320
4315
  }
4321
4316
  }
4317
+ } else if ((chrome || safari) && added.some((n) => n.nodeName == "BR") && (view.input.lastKeyCode == 8 || view.input.lastKeyCode == 46)) {
4318
+ for (let node of added) if (node.nodeName == "BR" && node.parentNode) {
4319
+ let after = node.nextSibling;
4320
+ if (after && after.nodeType == 1 && after.contentEditable == "false") node.parentNode.removeChild(node);
4321
+ }
4322
4322
  }
4323
4323
  let readSel = null;
4324
4324
  if (from$1 < 0 && newSel && view.input.lastFocus > Date.now() - 200 && Math.max(view.input.lastTouch, view.input.lastClick.time) < Date.now() - 300 && selectionCollapsed(sel) && (readSel = selectionFromDOM(view)) && readSel.eq(Selection.near(view.state.doc.resolve(0), 1))) {
@@ -20715,7 +20715,7 @@ const canUseDOM = () => {
20715
20715
  return false;
20716
20716
  }
20717
20717
  };
20718
- var summaryVersion = "1.16.0-next.8";
20718
+ var summaryVersion = "1.16.0";
20719
20719
  var nodeKeys = [
20720
20720
  "group",
20721
20721
  "content",
@@ -27915,7 +27915,7 @@ var Editor = class Editor extends EventEmitter$1 {
27915
27915
  return migrations.length > 0;
27916
27916
  }
27917
27917
  processCollaborationMigrations() {
27918
- console.debug("[checkVersionMigrations] Current editor version", "1.16.0-next.8");
27918
+ console.debug("[checkVersionMigrations] Current editor version", "1.16.0");
27919
27919
  if (!this.options.ydoc) return;
27920
27920
  let docVersion = this.options.ydoc.getMap("meta").get("version");
27921
27921
  if (!docVersion) docVersion = "initial";
@@ -1,5 +1,5 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-Dp2H1eGw.cjs");
2
- const require_SuperConverter = require("./SuperConverter-BvmZtfvw.cjs");
2
+ const require_SuperConverter = require("./SuperConverter-CUvbNtgd.cjs");
3
3
  const require_jszip = require("./jszip-DCT9QYaK.cjs");
4
4
  const require_uuid = require("./uuid-CHj_rjgt.cjs");
5
5
  const require_constants = require("./constants-CpniKo9Z.cjs");
@@ -261,7 +261,7 @@ var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
261
261
  const COMMUNITY_LICENSE_KEY = "community-and-eval-agplv3";
262
262
  function getSuperdocVersion() {
263
263
  try {
264
- return "1.16.0-next.8";
264
+ return "1.16.0";
265
265
  } catch {
266
266
  return "unknown";
267
267
  }
@@ -4302,12 +4302,7 @@ var DOMObserver = class {
4302
4302
  if (result.typeOver) typeOver = true;
4303
4303
  }
4304
4304
  }
4305
- if (added.some((n) => n.nodeName == "BR") && (view.input.lastKeyCode == 8 || view.input.lastKeyCode == 46)) {
4306
- for (let node of added) if (node.nodeName == "BR" && node.parentNode) {
4307
- let after = node.nextSibling;
4308
- if (after && after.nodeType == 1 && after.contentEditable == "false") node.parentNode.removeChild(node);
4309
- }
4310
- } else if (gecko && added.length) {
4305
+ if (gecko && added.length) {
4311
4306
  let brs = added.filter((n) => n.nodeName == "BR");
4312
4307
  if (brs.length == 2) {
4313
4308
  let [a, b$1] = brs;
@@ -4320,6 +4315,11 @@ var DOMObserver = class {
4320
4315
  if (parent && parent.nodeName == "LI" && (!focusNode || blockParent(view, focusNode) != parent)) br.remove();
4321
4316
  }
4322
4317
  }
4318
+ } else if ((chrome || safari) && added.some((n) => n.nodeName == "BR") && (view.input.lastKeyCode == 8 || view.input.lastKeyCode == 46)) {
4319
+ for (let node of added) if (node.nodeName == "BR" && node.parentNode) {
4320
+ let after = node.nextSibling;
4321
+ if (after && after.nodeType == 1 && after.contentEditable == "false") node.parentNode.removeChild(node);
4322
+ }
4323
4323
  }
4324
4324
  let readSel = null;
4325
4325
  if (from$1 < 0 && newSel && view.input.lastFocus > Date.now() - 200 && Math.max(view.input.lastTouch, view.input.lastClick.time) < Date.now() - 300 && selectionCollapsed(sel) && (readSel = selectionFromDOM(view)) && readSel.eq(require_SuperConverter.Selection.near(view.state.doc.resolve(0), 1))) {
@@ -20734,7 +20734,7 @@ const canUseDOM = () => {
20734
20734
  return false;
20735
20735
  }
20736
20736
  };
20737
- var summaryVersion = "1.16.0-next.8";
20737
+ var summaryVersion = "1.16.0";
20738
20738
  var nodeKeys = [
20739
20739
  "group",
20740
20740
  "content",
@@ -28180,7 +28180,7 @@ var Editor = class Editor extends EventEmitter$1 {
28180
28180
  return migrations.length > 0;
28181
28181
  }
28182
28182
  processCollaborationMigrations() {
28183
- console.debug("[checkVersionMigrations] Current editor version", "1.16.0-next.8");
28183
+ console.debug("[checkVersionMigrations] Current editor version", "1.16.0");
28184
28184
  if (!this.options.ydoc) return;
28185
28185
  let docVersion = this.options.ydoc.getMap("meta").get("version");
28186
28186
  if (!docVersion) docVersion = "initial";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_rolldown_runtime = require("../chunks/rolldown-runtime-Dp2H1eGw.cjs");
3
- const require_SuperConverter = require("../chunks/SuperConverter-BvmZtfvw.cjs");
3
+ const require_SuperConverter = require("../chunks/SuperConverter-CUvbNtgd.cjs");
4
4
  require("../chunks/jszip-DCT9QYaK.cjs");
5
5
  require("../chunks/xml-js--DznO7Gk.cjs");
6
6
  require("../chunks/constants-CpniKo9Z.cjs");
@@ -1,4 +1,4 @@
1
- import { t as SuperConverter } from "../chunks/SuperConverter-CiVOwDWk.es.js";
1
+ import { t as SuperConverter } from "../chunks/SuperConverter-lEdh3U1N.es.js";
2
2
  import "../chunks/jszip-ChlR43oI.es.js";
3
3
  import "../chunks/xml-js-DLE8mr0n.es.js";
4
4
  import "../chunks/constants-DBKi0Amm.es.js";
@@ -355,7 +355,7 @@ export type TableProperties = {
355
355
  /**
356
356
  * - Specifies whether the current table should allow other floating tables to overlap its extents when the tables are displayed in a document
357
357
  */
358
- overlap?: "overlap" | "never" | undefined;
358
+ overlap?: "never" | "overlap" | undefined;
359
359
  /**
360
360
  * - Reference to table style ID
361
361
  */
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_rolldown_runtime = require("./chunks/rolldown-runtime-Dp2H1eGw.cjs");
3
- const require_src = require("./chunks/src-5nq05Yqp.cjs");
4
- const require_SuperConverter = require("./chunks/SuperConverter-BvmZtfvw.cjs");
3
+ const require_src = require("./chunks/src-fBWVpPoq.cjs");
4
+ const require_SuperConverter = require("./chunks/SuperConverter-CUvbNtgd.cjs");
5
5
  require("./chunks/jszip-DCT9QYaK.cjs");
6
6
  require("./chunks/xml-js--DznO7Gk.cjs");
7
7
  require("./chunks/constants-CpniKo9Z.cjs");
@@ -1,5 +1,5 @@
1
- import { $ as getAllowedImageDimensions, Bt as isMarkType, Ht as isNodeType, Q as trackChangesHelpers_exports, Rt as defineMark, Vt as assertNodeType, X as getRichTextExtensions, Y as AIWriter_default, Z as getStarterExtensions, a as BasicUpload_default, at as CommentsPluginKey, c as Toolbar_default, et as SectionHelpers, i as SuperEditor_default, it as AnnotatorHelpers, n as SlashMenu, nt as Editor, o as ContextMenu_default, ot as TrackChangesBasePluginKey, r as SuperInput_default, rt as fieldAnnotationHelpers_exports, s as SuperToolbar, t as Extensions, tt as PresentationEditor, zt as defineNode } from "./chunks/src-CZ75aK5x.es.js";
2
- import { i as registeredHandlers, j as getMarksFromSelection, k as getActiveFormatting, o as helpers_exports, t as SuperConverter } from "./chunks/SuperConverter-CiVOwDWk.es.js";
1
+ import { $ as getAllowedImageDimensions, Bt as isMarkType, Ht as isNodeType, Q as trackChangesHelpers_exports, Rt as defineMark, Vt as assertNodeType, X as getRichTextExtensions, Y as AIWriter_default, Z as getStarterExtensions, a as BasicUpload_default, at as CommentsPluginKey, c as Toolbar_default, et as SectionHelpers, i as SuperEditor_default, it as AnnotatorHelpers, n as SlashMenu, nt as Editor, o as ContextMenu_default, ot as TrackChangesBasePluginKey, r as SuperInput_default, rt as fieldAnnotationHelpers_exports, s as SuperToolbar, t as Extensions, tt as PresentationEditor, zt as defineNode } from "./chunks/src-CICONmsx.es.js";
2
+ import { i as registeredHandlers, j as getMarksFromSelection, k as getActiveFormatting, o as helpers_exports, t as SuperConverter } from "./chunks/SuperConverter-lEdh3U1N.es.js";
3
3
  import "./chunks/jszip-ChlR43oI.es.js";
4
4
  import "./chunks/xml-js-DLE8mr0n.es.js";
5
5
  import "./chunks/constants-DBKi0Amm.es.js";
package/dist/superdoc.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_rolldown_runtime = require("./chunks/rolldown-runtime-Dp2H1eGw.cjs");
3
- const require_src = require("./chunks/src-5nq05Yqp.cjs");
4
- const require_SuperConverter = require("./chunks/SuperConverter-BvmZtfvw.cjs");
3
+ const require_src = require("./chunks/src-fBWVpPoq.cjs");
4
+ const require_SuperConverter = require("./chunks/SuperConverter-CUvbNtgd.cjs");
5
5
  const require_jszip = require("./chunks/jszip-DCT9QYaK.cjs");
6
6
  require("./chunks/xml-js--DznO7Gk.cjs");
7
7
  const require_uuid = require("./chunks/uuid-CHj_rjgt.cjs");
@@ -19904,7 +19904,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
19904
19904
  this.config.colors = shuffleArray(this.config.colors);
19905
19905
  this.userColorMap = /* @__PURE__ */ new Map();
19906
19906
  this.colorIndex = 0;
19907
- this.version = "1.16.0-next.8";
19907
+ this.version = "1.16.0";
19908
19908
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
19909
19909
  this.superdocId = config.superdocId || require_uuid.v4_default();
19910
19910
  this.colors = this.config.colors;
@@ -1,5 +1,5 @@
1
- import { A as isMounted, At as writeVarUint, B as cNotM, C as resolveWrappedSlot, Ct as createDecoder, D as warnOnce, Dt as createEncoder, E as throwError, Et as readVarUint8Array, F as changeColor, Ft as v_click_outside_default, G as ellipsis_vertical_solid_default, H as insideModal, I as c, It as getFileObject, J as comment_solid_default, K as xmark_solid_default, L as cB, Lt as comments_module_events, M as use_memo_default, Mt as create, N as on, Nt as min, O as useSsrAdapter, Ot as length, P as createId, Pt as pow, Q as trackChangesHelpers_exports, R as cE, S as configProviderInjectionKey, St as getUnixTime, T as call, Tt as readVarUint, U as insidePopover, V as createKey, W as caret_down_solid_default, X as getRichTextExtensions, Y as AIWriter_default, Z as getStarterExtensions, _ as useRtl, _t as encodeAwarenessUpdate, at as CommentsPluginKey, b as useThemeClass, bt as ObservableV2, ct as createUint8ArrayFromArrayBuffer, d as Dropdown_default, dt as isNode, et as SectionHelpers, f as ConfigProvider_default, ft as offChange, g as _common_default$2, gt as applyAwarenessUpdate, h as index_cssr_default$5, ht as Awareness, i as SuperEditor_default, it as AnnotatorHelpers, j as useMergedState, jt as writeVarUint8Array, k as createInjectionKey, kt as toUint8Array, l as messageApiInjectionKey, lt as fromBase64, m as use_theme_default, mt as varStorage, nt as Editor, ot as TrackChangesBasePluginKey, p as light_default$1, pt as onChange, q as check_solid_default, r as SuperInput_default, rt as fieldAnnotationHelpers_exports, s as SuperToolbar, st as getTrackChanges, t as Extensions, tt as PresentationEditor, u as messageProviderInjectionKey, ut as toBase64, v as cssrAnchorMetaName, vt as removeAwarenessStates, w as render, wt as readVarString, x as useConfig, xt as setIfUndefined, y as toString_default, yt as map, z as cM } from "./chunks/src-CZ75aK5x.es.js";
2
- import { i as registeredHandlers, o as helpers_exports, t as SuperConverter } from "./chunks/SuperConverter-CiVOwDWk.es.js";
1
+ import { A as isMounted, At as writeVarUint, B as cNotM, C as resolveWrappedSlot, Ct as createDecoder, D as warnOnce, Dt as createEncoder, E as throwError, Et as readVarUint8Array, F as changeColor, Ft as v_click_outside_default, G as ellipsis_vertical_solid_default, H as insideModal, I as c, It as getFileObject, J as comment_solid_default, K as xmark_solid_default, L as cB, Lt as comments_module_events, M as use_memo_default, Mt as create, N as on, Nt as min, O as useSsrAdapter, Ot as length, P as createId, Pt as pow, Q as trackChangesHelpers_exports, R as cE, S as configProviderInjectionKey, St as getUnixTime, T as call, Tt as readVarUint, U as insidePopover, V as createKey, W as caret_down_solid_default, X as getRichTextExtensions, Y as AIWriter_default, Z as getStarterExtensions, _ as useRtl, _t as encodeAwarenessUpdate, at as CommentsPluginKey, b as useThemeClass, bt as ObservableV2, ct as createUint8ArrayFromArrayBuffer, d as Dropdown_default, dt as isNode, et as SectionHelpers, f as ConfigProvider_default, ft as offChange, g as _common_default$2, gt as applyAwarenessUpdate, h as index_cssr_default$5, ht as Awareness, i as SuperEditor_default, it as AnnotatorHelpers, j as useMergedState, jt as writeVarUint8Array, k as createInjectionKey, kt as toUint8Array, l as messageApiInjectionKey, lt as fromBase64, m as use_theme_default, mt as varStorage, nt as Editor, ot as TrackChangesBasePluginKey, p as light_default$1, pt as onChange, q as check_solid_default, r as SuperInput_default, rt as fieldAnnotationHelpers_exports, s as SuperToolbar, st as getTrackChanges, t as Extensions, tt as PresentationEditor, u as messageProviderInjectionKey, ut as toBase64, v as cssrAnchorMetaName, vt as removeAwarenessStates, w as render, wt as readVarString, x as useConfig, xt as setIfUndefined, y as toString_default, yt as map, z as cM } from "./chunks/src-CICONmsx.es.js";
2
+ import { i as registeredHandlers, o as helpers_exports, t as SuperConverter } from "./chunks/SuperConverter-lEdh3U1N.es.js";
3
3
  import { a as init_dist$1, i as global, n as init_dist, r as process$1 } from "./chunks/jszip-ChlR43oI.es.js";
4
4
  import "./chunks/xml-js-DLE8mr0n.es.js";
5
5
  import { t as v4_default } from "./chunks/uuid-2IzDu5nl.es.js";
@@ -19863,7 +19863,7 @@ var SuperDoc = class extends import_eventemitter3.default {
19863
19863
  this.config.colors = shuffleArray(this.config.colors);
19864
19864
  this.userColorMap = /* @__PURE__ */ new Map();
19865
19865
  this.colorIndex = 0;
19866
- this.version = "1.16.0-next.8";
19866
+ this.version = "1.16.0";
19867
19867
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
19868
19868
  this.superdocId = config.superdocId || v4_default();
19869
19869
  this.colors = this.config.colors;
@@ -33306,7 +33306,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
33306
33306
  var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
33307
33307
  function getSuperdocVersion() {
33308
33308
  try {
33309
- return "1.16.0-next.8";
33309
+ return "1.16.0";
33310
33310
  } catch {
33311
33311
  return "unknown";
33312
33312
  }
@@ -36358,7 +36358,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36358
36358
  static getStoredSuperdocVersion(docx) {
36359
36359
  return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
36360
36360
  }
36361
- static setStoredSuperdocVersion(docx = this.convertedXml, version$2 = "1.16.0-next.8") {
36361
+ static setStoredSuperdocVersion(docx = this.convertedXml, version$2 = "1.16.0") {
36362
36362
  return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version$2, false);
36363
36363
  }
36364
36364
  static generateWordTimestamp() {
@@ -40915,12 +40915,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
40915
40915
  if (result.typeOver) typeOver = true;
40916
40916
  }
40917
40917
  }
40918
- if (added.some((n) => n.nodeName == "BR") && (view.input.lastKeyCode == 8 || view.input.lastKeyCode == 46)) {
40919
- for (let node$1 of added) if (node$1.nodeName == "BR" && node$1.parentNode) {
40920
- let after = node$1.nextSibling;
40921
- if (after && after.nodeType == 1 && after.contentEditable == "false") node$1.parentNode.removeChild(node$1);
40922
- }
40923
- } else if (gecko && added.length) {
40918
+ if (gecko && added.length) {
40924
40919
  let brs = added.filter((n) => n.nodeName == "BR");
40925
40920
  if (brs.length == 2) {
40926
40921
  let [a$1, b$2] = brs;
@@ -40933,6 +40928,11 @@ Please report this to https://github.com/markedjs/marked.`, e) {
40933
40928
  if (parent && parent.nodeName == "LI" && (!focusNode || blockParent(view, focusNode) != parent)) br$2.remove();
40934
40929
  }
40935
40930
  }
40931
+ } else if ((chrome || safari) && added.some((n) => n.nodeName == "BR") && (view.input.lastKeyCode == 8 || view.input.lastKeyCode == 46)) {
40932
+ for (let node$1 of added) if (node$1.nodeName == "BR" && node$1.parentNode) {
40933
+ let after = node$1.nextSibling;
40934
+ if (after && after.nodeType == 1 && after.contentEditable == "false") node$1.parentNode.removeChild(node$1);
40935
+ }
40936
40936
  }
40937
40937
  let readSel = null;
40938
40938
  if (from$1 < 0 && newSel && view.input.lastFocus > Date.now() - 200 && Math.max(view.input.lastTouch, view.input.lastClick.time) < Date.now() - 300 && selectionCollapsed(sel) && (readSel = selectionFromDOM(view)) && readSel.eq(Selection.near(view.state.doc.resolve(0), 1))) {
@@ -64754,6 +64754,7 @@ while (n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 ===
64754
64754
  }));
64755
64755
  var init_vue_runtime_esm_bundler = __esmMin((() => {
64756
64756
  init_runtime_dom_esm_bundler();
64757
+ init_runtime_dom_esm_bundler();
64757
64758
  }));
64758
64759
  init_vue_runtime_esm_bundler();
64759
64760
  var isHighContrastMode$1 = ref(false);
@@ -65740,7 +65741,7 @@ while (n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 ===
65740
65741
  return false;
65741
65742
  }
65742
65743
  };
65743
- var summaryVersion = "1.16.0-next.8";
65744
+ var summaryVersion = "1.16.0";
65744
65745
  var nodeKeys = [
65745
65746
  "group",
65746
65747
  "content",
@@ -90320,7 +90321,7 @@ while (n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 ===
90320
90321
  return migrations.length > 0;
90321
90322
  }
90322
90323
  processCollaborationMigrations() {
90323
- console.debug("[checkVersionMigrations] Current editor version", "1.16.0-next.8");
90324
+ console.debug("[checkVersionMigrations] Current editor version", "1.16.0");
90324
90325
  if (!this.options.ydoc) return;
90325
90326
  let docVersion = this.options.ydoc.getMap("meta").get("version");
90326
90327
  if (!docVersion) docVersion = "initial";
@@ -157247,7 +157248,6 @@ ${o}
157247
157248
  }
157248
157249
  };
157249
157250
  init_vue_runtime_esm_bundler();
157250
- init_vue_runtime_esm_bundler();
157251
157251
  var activePinia;
157252
157252
  var setActivePinia = (pinia) => activePinia = pinia;
157253
157253
  var piniaSymbol = Symbol();
@@ -175205,7 +175205,7 @@ js: import "konva/skia-backend";
175205
175205
  this.config.colors = shuffleArray(this.config.colors);
175206
175206
  this.userColorMap = /* @__PURE__ */ new Map();
175207
175207
  this.colorIndex = 0;
175208
- this.version = "1.16.0-next.8";
175208
+ this.version = "1.16.0";
175209
175209
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
175210
175210
  this.superdocId = config$31.superdocId || v4_default();
175211
175211
  this.colors = this.config.colors;