@harbour-enterprises/superdoc 0.10.39 → 0.10.40
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-DUWXIgsn.es.js → super-editor.es-D9-v79HC.es.js} +5 -3
- package/dist/chunks/{super-editor.es-D2YgUudO.cjs → super-editor.es-DGK_dSQb.cjs} +3 -3
- package/dist/super-editor/ai-writer.es.js +1 -1
- package/dist/super-editor/chunks/{converter-CEPBSnq_.js → converter-B9Lnmft1.js} +4 -2
- package/dist/super-editor/chunks/{docx-zipper-CuqGO0e3.js → docx-zipper-CQXtQpOr.js} +1 -1
- package/dist/super-editor/chunks/{editor-Bo7MIFVg.js → editor-uNg5dIX5.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BSB7RK_I.js → toolbar-BJxvch0e.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +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 +6 -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 { l as md, h as yd, a as bd, q as jo, X as Wo, x as wd, d as Sd, C as Dd, w as vd, c as Fd } from "./chunks/super-editor.es-
|
|
2
|
-
import { R as Ib, s as Cb, D as fb } from "./chunks/super-editor.es-
|
|
1
|
+
import { l as md, h as yd, a as bd, q as jo, X as Wo, x as wd, d as Sd, C as Dd, w as vd, c as Fd } from "./chunks/super-editor.es-D9-v79HC.es.js";
|
|
2
|
+
import { R as Ib, s as Cb, D as fb } from "./chunks/super-editor.es-D9-v79HC.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, C as dt, i as ht, q as ji, l as wt, x as xe, a1 as kd, L as Zt, R as qt, a2 as xd, a3 as Rd, a4 as Xo, g as Ji, N as Us, M as jr, j as Ii, k as Di, h as da, U as Nd, s as Md, A as Wr, F as jt, Q as GA, m as Ct, D as mi, G as ms, B as re, V as Ld, S as Gd, W as Td, K as qi, O as Es, E as ar, P as Ud, J as Hd, T as Pd, b as ye, o as fe, t as yi, v as bi, y as zl, f as We, z as ri, e as Ze, u 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-D254cI7X.es.js";
|
|
4
4
|
import { B as qn } from "./chunks/jszip-ChtTJmXO.es.js";
|
|
5
5
|
import { B as Yd } from "./chunks/blank-docx-BRvkcuiv.es.js";
|
|
@@ -32693,7 +32693,7 @@ class hb extends eg {
|
|
|
32693
32693
|
this.config = {
|
|
32694
32694
|
...this.config,
|
|
32695
32695
|
...t
|
|
32696
|
-
}, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.10.
|
|
32696
|
+
}, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.10.40", 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);
|
|
32697
32697
|
}
|
|
32698
32698
|
get requiredNumberOfEditors() {
|
|
32699
32699
|
return this.superdocStore.documents.filter((t) => t.type === on).length;
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -22158,6 +22158,8 @@ Actual: ` + p3.attribValue
|
|
|
22158
22158
|
const a = n && (!i3 || !i3.length);
|
|
22159
22159
|
a ? o += " />" : o += ">";
|
|
22160
22160
|
let u = [o];
|
|
22161
|
+
if (!n && e.type === "text")
|
|
22162
|
+
return e.text;
|
|
22161
22163
|
if (n === "w:instrText")
|
|
22162
22164
|
u.push(i3[0].text);
|
|
22163
22165
|
else if (n === "w:t" || n === "w:delText") {
|
|
@@ -23827,7 +23829,7 @@ Actual: ` + p3.attribValue
|
|
|
23827
23829
|
return;
|
|
23828
23830
|
}
|
|
23829
23831
|
}
|
|
23830
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.10.
|
|
23832
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.10.40") {
|
|
23831
23833
|
const n = "docProps/custom.xml";
|
|
23832
23834
|
e[n] || (e[n] = Bu$2());
|
|
23833
23835
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -24088,7 +24090,7 @@ Actual: ` + p3.attribValue
|
|
|
24088
24090
|
function Bu$2() {
|
|
24089
24091
|
return Wf$2;
|
|
24090
24092
|
}
|
|
24091
|
-
function ku$2(r22 = 2, e = "0.10.
|
|
24093
|
+
function ku$2(r22 = 2, e = "0.10.40") {
|
|
24092
24094
|
return {
|
|
24093
24095
|
type: "element",
|
|
24094
24096
|
name: "property",
|
|
@@ -36588,7 +36590,7 @@ Actual: ` + p3.attribValue
|
|
|
36588
36590
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
36589
36591
|
*/
|
|
36590
36592
|
processCollaborationMigrations() {
|
|
36591
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
36593
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.40"), !this.options.ydoc) return;
|
|
36592
36594
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
36593
36595
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
36594
36596
|
const o = ol$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -69741,7 +69743,7 @@ ${style2}
|
|
|
69741
69743
|
this.config.colors = shuffleArray(this.config.colors);
|
|
69742
69744
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
69743
69745
|
this.colorIndex = 0;
|
|
69744
|
-
this.version = "0.10.
|
|
69746
|
+
this.version = "0.10.40";
|
|
69745
69747
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
69746
69748
|
this.superdocId = config.superdocId || v4();
|
|
69747
69749
|
this.colors = this.config.colors;
|