@harbour-enterprises/superdoc 0.10.12 → 0.10.13
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-CgDodfKP.es.js → super-editor.es-35uGypnF.es.js} +5 -4
- package/dist/chunks/{super-editor.es-zYO4DHS9.cjs → super-editor.es-CtJbBdCY.cjs} +2 -2
- package/dist/super-editor/chunks/{converter-eVBEEpVi.js → converter-CKYZCmLh.js} +4 -3
- package/dist/super-editor/chunks/{docx-zipper-B3LMPep2.js → docx-zipper-CksbnyTX.js} +1 -1
- package/dist/super-editor/chunks/{editor-9ohgWjJk.js → editor-DEWQqVFW.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BXJKidtq.js → toolbar-BxidMIRu.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 -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 { X as md, h as yd, d as bd, j as jo, R as Wo, b as wd, v as Sd, g as Dd, c as vd } from "./chunks/super-editor.es-
|
|
2
|
-
import { a as cb, q as lb, A as gb } from "./chunks/super-editor.es-
|
|
1
|
+
import { X as md, h as yd, d as bd, j as jo, R as Wo, b as wd, v as Sd, g as Dd, c as vd } from "./chunks/super-editor.es-35uGypnF.es.js";
|
|
2
|
+
import { a as cb, q as lb, A as gb } from "./chunks/super-editor.es-35uGypnF.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 on, c as $l, X as Pd, a6 as Od } from "./chunks/vue-BDbTsTMu.es.js";
|
|
4
4
|
import { B as On } from "./chunks/jszip-DSGi1sNe.es.js";
|
|
5
5
|
import { B as Jd } from "./chunks/blank-docx-BRvkcuiv.es.js";
|
|
@@ -32534,7 +32534,7 @@ class ab extends eg {
|
|
|
32534
32534
|
this.config = {
|
|
32535
32535
|
...this.config,
|
|
32536
32536
|
...t
|
|
32537
|
-
}, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.10.
|
|
32537
|
+
}, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.10.13", 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);
|
|
32538
32538
|
}
|
|
32539
32539
|
get requiredNumberOfEditors() {
|
|
32540
32540
|
return this.superdocStore.documents.filter((t) => t.type === rn).length;
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -21325,7 +21325,7 @@ Actual: ` + p3.attribValue
|
|
|
21325
21325
|
}), n;
|
|
21326
21326
|
}
|
|
21327
21327
|
function xd$2(r22, e) {
|
|
21328
|
-
const t = Ad$2(r22.converter
|
|
21328
|
+
const t = Ad$2(r22.converter?.numbering?.definitions), n = e === "bullet" ? ed$2 : Qf$2, i3 = t, s = n.attributes["w:abstractNumId"], o = {
|
|
21329
21329
|
type: "element",
|
|
21330
21330
|
name: "w:num",
|
|
21331
21331
|
attributes: {
|
|
@@ -21925,6 +21925,7 @@ Actual: ` + p3.attribValue
|
|
|
21925
21925
|
return {
|
|
21926
21926
|
name: "htmlAnnotation",
|
|
21927
21927
|
elements: Ot$2({
|
|
21928
|
+
...r22,
|
|
21928
21929
|
node: s
|
|
21929
21930
|
})
|
|
21930
21931
|
};
|
|
@@ -23613,7 +23614,7 @@ Actual: ` + p3.attribValue
|
|
|
23613
23614
|
return;
|
|
23614
23615
|
}
|
|
23615
23616
|
}
|
|
23616
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.10.
|
|
23617
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.10.13") {
|
|
23617
23618
|
const n = "docProps/custom.xml";
|
|
23618
23619
|
e[n] || (e[n] = Fu$2());
|
|
23619
23620
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -23838,7 +23839,7 @@ Actual: ` + p3.attribValue
|
|
|
23838
23839
|
function Fu$2() {
|
|
23839
23840
|
return zf$2;
|
|
23840
23841
|
}
|
|
23841
|
-
function Bu$2(r22 = 2, e = "0.10.
|
|
23842
|
+
function Bu$2(r22 = 2, e = "0.10.13") {
|
|
23842
23843
|
return {
|
|
23843
23844
|
type: "element",
|
|
23844
23845
|
name: "property",
|
|
@@ -36304,7 +36305,7 @@ Actual: ` + p3.attribValue
|
|
|
36304
36305
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
36305
36306
|
*/
|
|
36306
36307
|
processCollaborationMigrations() {
|
|
36307
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
36308
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.13"), !this.options.ydoc) return;
|
|
36308
36309
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
36309
36310
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
36310
36311
|
const o = nl$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -68638,7 +68639,7 @@ ${style2}
|
|
|
68638
68639
|
this.config.colors = shuffleArray(this.config.colors);
|
|
68639
68640
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
68640
68641
|
this.colorIndex = 0;
|
|
68641
|
-
this.version = "0.10.
|
|
68642
|
+
this.version = "0.10.13";
|
|
68642
68643
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
68643
68644
|
this.superdocId = config.superdocId || v4();
|
|
68644
68645
|
this.colors = this.config.colors;
|