@harbour-enterprises/superdoc 0.8.30 → 0.9.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.
- package/dist/chunks/{super-editor.es-7R2clbwo.es.js → super-editor.es-CesWOk9K.es.js} +3 -3
- package/dist/chunks/{super-editor.es-CLP4rQ-Y.cjs → super-editor.es-D5Y1l4NA.cjs} +2 -2
- package/dist/super-editor/chunks/{converter-D2lX6myF.js → converter-DUgvPVCn.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-kt_QenSn.js → docx-zipper-CVn2FKtF.js} +1 -1
- package/dist/super-editor/chunks/{editor-D6OzrDcd.js → editor-BH9UMYEO.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-CfUZ0a2L.js → toolbar-D_rS56Sh.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +4 -4
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as md, a as yd, d as bd, b as jo, j as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-
|
|
2
|
-
import { F as cb, A as lb, t as gb } from "./chunks/super-editor.es-
|
|
1
|
+
import { T as md, a as yd, d as bd, b as jo, j as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-CesWOk9K.es.js";
|
|
2
|
+
import { F as cb, A as lb, t as gb } from "./chunks/super-editor.es-CesWOk9K.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";
|
|
@@ -32527,7 +32527,7 @@ class ab extends eg {
|
|
|
32527
32527
|
this.config = {
|
|
32528
32528
|
...this.config,
|
|
32529
32529
|
...t
|
|
32530
|
-
}, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.
|
|
32530
|
+
}, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.9.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);
|
|
32531
32531
|
}
|
|
32532
32532
|
get requiredNumberOfEditors() {
|
|
32533
32533
|
return this.superdocStore.documents.filter((t) => t.type === On).length;
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -22052,7 +22052,7 @@ Actual: ` + h3.attribValue
|
|
|
22052
22052
|
return;
|
|
22053
22053
|
}
|
|
22054
22054
|
}
|
|
22055
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.
|
|
22055
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.9.1") {
|
|
22056
22056
|
const n = "docProps/custom.xml";
|
|
22057
22057
|
e[n] || (e[n] = yu$2());
|
|
22058
22058
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -22252,7 +22252,7 @@ Actual: ` + h3.attribValue
|
|
|
22252
22252
|
function yu$2() {
|
|
22253
22253
|
return Tf$2;
|
|
22254
22254
|
}
|
|
22255
|
-
function wu$2(r22 = 2, e = "0.
|
|
22255
|
+
function wu$2(r22 = 2, e = "0.9.1") {
|
|
22256
22256
|
return {
|
|
22257
22257
|
type: "element",
|
|
22258
22258
|
name: "property",
|
|
@@ -33264,7 +33264,7 @@ Actual: ` + h3.attribValue
|
|
|
33264
33264
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
33265
33265
|
*/
|
|
33266
33266
|
processCollaborationMigrations() {
|
|
33267
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.
|
|
33267
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.9.1"), !this.options.ydoc) return;
|
|
33268
33268
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
33269
33269
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
33270
33270
|
const o = Fa$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -65378,7 +65378,7 @@ ${style2}
|
|
|
65378
65378
|
this.config.colors = shuffleArray(this.config.colors);
|
|
65379
65379
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
65380
65380
|
this.colorIndex = 0;
|
|
65381
|
-
this.version = "0.
|
|
65381
|
+
this.version = "0.9.1";
|
|
65382
65382
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
65383
65383
|
this.superdocId = config.superdocId || v4();
|
|
65384
65384
|
this.colors = this.config.colors;
|