@harbour-enterprises/superdoc 0.9.32 → 0.10.1

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.
@@ -1,5 +1,5 @@
1
- import { K as md, a as yd, d as bd, j as jo, P as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-lgNxT29a.es.js";
2
- import { b as cb, U as lb, S as gb } from "./chunks/super-editor.es-lgNxT29a.es.js";
1
+ import { K as md, a as yd, d as bd, j as jo, P as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-BptR0YeB.es.js";
2
+ import { b as cb, U as lb, S as gb } from "./chunks/super-editor.es-BptR0YeB.es.js";
3
3
  import { Y as Vl, r as V, Z as Ai, p as Ne, _ as _n, a as Ae, $ as qn, a0 as la, C as ht, i as lt, q as Ji, l as bt, x as Oe, a1 as Fd, L as ti, R as _t, a2 as kd, a3 as xd, a4 as Xo, g as Ti, N as Gs, M as Kr, j as li, k as Qi, h as ga, U as Rd, s as Nd, z as _r, F as qt, Q as GA, m as dt, D as fi, G as fs, B as re, V as Md, S as Ld, W as Gd, K as Oi, O as ds, E as sr, P as Td, J as Ud, T as Hd, b as ye, o as pe, t as Bi, v as Si, y as zl, f as Xe, A as ci, e as tt, u as Ci, w as wi, n as js, a5 as Zl, d as An, c as $l, X as Pd, a6 as Od } from "./chunks/vue-BDbTsTMu.es.js";
4
4
  import { B as Pn } from "./chunks/jszip-DSGi1sNe.es.js";
5
5
  import { B as Jd } from "./chunks/blank-docx-BRvkcuiv.es.js";
@@ -32533,7 +32533,7 @@ class ab extends eg {
32533
32533
  this.config = {
32534
32534
  ...this.config,
32535
32535
  ...t
32536
- }, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.9.32", console.debug("🦋 [superdoc] Using SuperDoc version:", this.version), this.superdocId = t.superdocId || ig(), this.colors = this.config.colors, await this.#s(this.config.modules), this.#t(), this.#i(), this.user = this.config.user, this.users = this.config.users || [], this.socket = null, this.isDev = this.config.isDev || !1, this.activeEditor = null, this.comments = [], this.app.mount(this.config.selector), this.readyEditors = 0, this.isLocked = this.config.isLocked || !1, this.lockedBy = this.config.lockedBy || null, this.#n(this);
32536
+ }, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.10.1", console.debug("🦋 [superdoc] Using SuperDoc version:", this.version), this.superdocId = t.superdocId || ig(), this.colors = this.config.colors, await this.#s(this.config.modules), this.#t(), this.#i(), this.user = this.config.user, this.users = this.config.users || [], this.socket = null, this.isDev = this.config.isDev || !1, this.activeEditor = null, this.comments = [], this.app.mount(this.config.selector), this.readyEditors = 0, this.isLocked = this.config.isLocked || !1, this.lockedBy = this.config.lockedBy || null, this.#n(this);
32537
32537
  }
32538
32538
  get requiredNumberOfEditors() {
32539
32539
  return this.superdocStore.documents.filter((t) => t.type === On).length;
@@ -23527,7 +23527,7 @@ Actual: ` + p3.attribValue
23527
23527
  return;
23528
23528
  }
23529
23529
  }
23530
- static updateDocumentVersion(e = this.convertedXml, t = "0.9.32") {
23530
+ static updateDocumentVersion(e = this.convertedXml, t = "0.10.1") {
23531
23531
  const n = "docProps/custom.xml";
23532
23532
  e[n] || (e[n] = Tu$2());
23533
23533
  const i3 = e["docProps/custom.xml"];
@@ -23752,7 +23752,7 @@ Actual: ` + p3.attribValue
23752
23752
  function Tu$2() {
23753
23753
  return _f$2;
23754
23754
  }
23755
- function Fu$2(r22 = 2, e = "0.9.32") {
23755
+ function Fu$2(r22 = 2, e = "0.10.1") {
23756
23756
  return {
23757
23757
  type: "element",
23758
23758
  name: "property",
@@ -36232,7 +36232,7 @@ Actual: ` + p3.attribValue
36232
36232
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
36233
36233
  */
36234
36234
  processCollaborationMigrations() {
36235
- if (console.debug("[checkVersionMigrations] Current editor version", "0.9.32"), !this.options.ydoc) return;
36235
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.10.1"), !this.options.ydoc) return;
36236
36236
  let r = this.options.ydoc.getMap("meta").get("version");
36237
36237
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
36238
36238
  const o = Qa$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
@@ -68542,7 +68542,7 @@ ${style2}
68542
68542
  this.config.colors = shuffleArray(this.config.colors);
68543
68543
  this.userColorMap = /* @__PURE__ */ new Map();
68544
68544
  this.colorIndex = 0;
68545
- this.version = "0.9.32";
68545
+ this.version = "0.10.1";
68546
68546
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
68547
68547
  this.superdocId = config.superdocId || v4();
68548
68548
  this.colors = this.config.colors;