@harbour-enterprises/superdoc 0.11.20 → 0.11.21
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-Du1kHoDA.es.js → super-editor.es-CQRFThWH.es.js} +4 -4
- package/dist/chunks/{super-editor.es-DvREqt6O.cjs → super-editor.es-DRPNP_YX.cjs} +4 -4
- package/dist/super-editor/ai-writer.es.js +1 -1
- package/dist/super-editor/chunks/{converter-CwMvN1V7.js → converter-BeV1PiJu.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-CW3YnwaW.js → docx-zipper-qGh2UQO8.js} +1 -1
- package/dist/super-editor/chunks/{editor-CR8riiuL.js → editor-DJF0d36B.js} +4 -4
- package/dist/super-editor/chunks/{toolbar-BZ4Xi416.js → toolbar-DPhBinni.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 +5 -5
- 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 { b as md, g as yd, c as bd, Q as jo, S as Wo, H as wd, d as Sd, D as Dd, M as vd, a as Fd } from "./chunks/super-editor.es-
|
|
2
|
-
import { O as Ib, L as Cb, U as fb } from "./chunks/super-editor.es-
|
|
1
|
+
import { b as md, g as yd, c as bd, Q as jo, S as Wo, H as wd, d as Sd, D as Dd, M as vd, a as Fd } from "./chunks/super-editor.es-CQRFThWH.es.js";
|
|
2
|
+
import { O as Ib, L as Cb, U as fb } from "./chunks/super-editor.es-CQRFThWH.es.js";
|
|
3
3
|
import { Y as Vl, r as W, Z as ui, p as Ge, _ as Vn, a as ae, $ as zn, a0 as ua, D as dt, i as ht, q as ji, l as wt, y as ke, a1 as kd, N as Zt, u as qt, a2 as xd, a3 as Rd, a4 as Xo, g as Ji, K as Us, O as jr, j as Ii, k as Di, h as da, U as Nd, s as Md, A as Wr, F as jt, R as GA, m as Ct, E as mi, I as ms, C as re, V as Ld, S as Gd, W as Td, J as qi, P as Es, G as ar, Q as Ud, H as Hd, T as Pd, b as ye, o as fe, t as yi, x as bi, z as zl, f as We, B as ri, e as Ze, v as hi, w as Qi, n as Xs, a5 as Zl, d as gn, c as $l, X as Od, a6 as Jd } from "./chunks/vue-DXpzqXur.es.js";
|
|
4
4
|
import { B as qn } from "./chunks/jszip-DO3il9iI.es.js";
|
|
5
5
|
import { B as Yd } from "./chunks/blank-docx-BRvkcuiv.es.js";
|
|
@@ -32694,7 +32694,7 @@ class hb extends eg {
|
|
|
32694
32694
|
this.config = {
|
|
32695
32695
|
...this.config,
|
|
32696
32696
|
...t
|
|
32697
|
-
}, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.11.
|
|
32697
|
+
}, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.11.21", console.debug("🦋 [superdoc] Using SuperDoc version:", this.version), this.superdocId = t.superdocId || ig(), this.colors = this.config.colors, this.#t(), await this.#r(this.config.modules), this.#i(), this.#s(), 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.#a(this);
|
|
32698
32698
|
}
|
|
32699
32699
|
get requiredNumberOfEditors() {
|
|
32700
32700
|
return this.superdocStore.documents.filter((t) => t.type === on).length;
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -24066,7 +24066,7 @@ Actual: ` + p3.attribValue
|
|
|
24066
24066
|
return;
|
|
24067
24067
|
}
|
|
24068
24068
|
}
|
|
24069
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.11.
|
|
24069
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.11.21") {
|
|
24070
24070
|
const n = "docProps/custom.xml";
|
|
24071
24071
|
e[n] || (e[n] = Bu$2());
|
|
24072
24072
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -24329,7 +24329,7 @@ Actual: ` + p3.attribValue
|
|
|
24329
24329
|
function Bu$2() {
|
|
24330
24330
|
return Wf$1;
|
|
24331
24331
|
}
|
|
24332
|
-
function ku$2(r22 = 2, e = "0.11.
|
|
24332
|
+
function ku$2(r22 = 2, e = "0.11.21") {
|
|
24333
24333
|
return {
|
|
24334
24334
|
type: "element",
|
|
24335
24335
|
name: "property",
|
|
@@ -36833,7 +36833,7 @@ Actual: ` + p3.attribValue
|
|
|
36833
36833
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
36834
36834
|
*/
|
|
36835
36835
|
processCollaborationMigrations() {
|
|
36836
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.11.
|
|
36836
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.11.21"), !this.options.ydoc) return;
|
|
36837
36837
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
36838
36838
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
36839
36839
|
const o = dl$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -45298,7 +45298,7 @@ Actual: ` + p3.attribValue
|
|
|
45298
45298
|
const s = i3.even, a = i3.odd, l = i3.first, c3 = i3.default;
|
|
45299
45299
|
if (i3?.titlePg && l && t === 1) return l;
|
|
45300
45300
|
let d = i3.default;
|
|
45301
|
-
return t === 1 && (d =
|
|
45301
|
+
return t === 1 && (d = c3), o && (t === 1 && (d = l), t % 2 === 0 ? d = s || c3 : d = a || c3), d;
|
|
45302
45302
|
}, dx = (t, e, n) => {
|
|
45303
45303
|
const r = t.storage.pagination.sectionData, o = ux(e, t, r);
|
|
45304
45304
|
if (!n.eq(o)) {
|
|
@@ -70667,7 +70667,7 @@ ${style2}
|
|
|
70667
70667
|
this.config.colors = shuffleArray(this.config.colors);
|
|
70668
70668
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
70669
70669
|
this.colorIndex = 0;
|
|
70670
|
-
this.version = "0.11.
|
|
70670
|
+
this.version = "0.11.21";
|
|
70671
70671
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
70672
70672
|
this.superdocId = config.superdocId || v4();
|
|
70673
70673
|
this.colors = this.config.colors;
|