@harbour-enterprises/superdoc 0.9.40 → 0.9.41
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/{index-B1HJFsYK.cjs → index-DHS2ANjv.cjs} +1 -1
- package/dist/chunks/{index-9h_Kn-Dm.es.js → index-Dd_ce0Er.es.js} +1 -1
- package/dist/chunks/{index-g2tCwKji.es.js → index-XHRxRUhd.es.js} +2 -2
- package/dist/chunks/{index-vGJ1t7OQ.cjs → index-YqE5-6V1.cjs} +1 -1
- package/dist/chunks/{super-editor.es-BPWmPyPV.cjs → super-editor.es-CvEL3yTX.cjs} +2 -2
- package/dist/chunks/{super-editor.es-BMGaeJBV.es.js → super-editor.es-DaEia7dE.es.js} +8 -6
- package/dist/chunks/{url-DOH7Dv51.es.js → url-BWFemt_V.es.js} +1 -1
- package/dist/chunks/{url-B-X4NWGe.cjs → url-Cqg7fbSS.cjs} +1 -1
- package/dist/chunks/xml-js-Bzw8Bo_u.es.js +1739 -0
- package/dist/chunks/xml-js-Zwb1wsIy.cjs +10 -0
- package/dist/super-editor/chunks/{converter-3lmRyrJr.js → converter-BGnpy7ml.js} +7 -5
- package/dist/super-editor/chunks/{docx-zipper-pzhEkORK.js → docx-zipper-CbKyfcc7.js} +1 -1
- package/dist/super-editor/chunks/{editor-B7eTfGQw.js → editor-Dhm1VNRS.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BfM-mqT5.js → toolbar-BvozKXMi.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 +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +9 -7
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-BZ27jOyf.cjs +0 -10
- package/dist/chunks/xml-js-BgrWeyJ9.es.js +0 -1786
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as md, a as yd, d as bd, j as jo, L as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-
|
|
2
|
-
import { b as cb, K as lb, S as gb } from "./chunks/super-editor.es-
|
|
1
|
+
import { J as md, a as yd, d as bd, j as jo, L as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-DaEia7dE.es.js";
|
|
2
|
+
import { b as cb, K as lb, S as gb } from "./chunks/super-editor.es-DaEia7dE.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";
|
|
@@ -16789,13 +16789,13 @@ var Te = globalThis.pdfjsLib = {};
|
|
|
16789
16789
|
"./chunks/empty-GlqisfcO.es.js"
|
|
16790
16790
|
), s = await import(
|
|
16791
16791
|
/*webpackIgnore: true*/
|
|
16792
|
-
"./chunks/index-
|
|
16792
|
+
"./chunks/index-XHRxRUhd.es.js"
|
|
16793
16793
|
).then((d) => d.i), a = await import(
|
|
16794
16794
|
/*webpackIgnore: true*/
|
|
16795
|
-
"./chunks/index-
|
|
16795
|
+
"./chunks/index-Dd_ce0Er.es.js"
|
|
16796
16796
|
).then((d) => d.i), o = await import(
|
|
16797
16797
|
/*webpackIgnore: true*/
|
|
16798
|
-
"./chunks/url-
|
|
16798
|
+
"./chunks/url-BWFemt_V.es.js"
|
|
16799
16799
|
).then((d) => d.u);
|
|
16800
16800
|
let l, h;
|
|
16801
16801
|
try {
|
|
@@ -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.
|
|
32536
|
+
}, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.9.41", 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;
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -21091,11 +21091,13 @@ Actual: ` + p3.attribValue
|
|
|
21091
21091
|
t.push(h3);
|
|
21092
21092
|
}
|
|
21093
21093
|
if (o) {
|
|
21094
|
-
|
|
21094
|
+
let h3 = o;
|
|
21095
|
+
h3 === "justify" && (h3 = "both");
|
|
21096
|
+
const g = {
|
|
21095
21097
|
name: "w:jc",
|
|
21096
|
-
attributes: { "w:val":
|
|
21098
|
+
attributes: { "w:val": h3 }
|
|
21097
21099
|
};
|
|
21098
|
-
t.push(
|
|
21100
|
+
t.push(g);
|
|
21099
21101
|
}
|
|
21100
21102
|
if (u) {
|
|
21101
21103
|
const h3 = Br$1(u), g = su$2(h3);
|
|
@@ -23569,7 +23571,7 @@ Actual: ` + p3.attribValue
|
|
|
23569
23571
|
return;
|
|
23570
23572
|
}
|
|
23571
23573
|
}
|
|
23572
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.9.
|
|
23574
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.9.41") {
|
|
23573
23575
|
const n = "docProps/custom.xml";
|
|
23574
23576
|
e[n] || (e[n] = Tu$2());
|
|
23575
23577
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -23794,7 +23796,7 @@ Actual: ` + p3.attribValue
|
|
|
23794
23796
|
function Tu$2() {
|
|
23795
23797
|
return _f$2;
|
|
23796
23798
|
}
|
|
23797
|
-
function Fu$2(r22 = 2, e = "0.9.
|
|
23799
|
+
function Fu$2(r22 = 2, e = "0.9.41") {
|
|
23798
23800
|
return {
|
|
23799
23801
|
type: "element",
|
|
23800
23802
|
name: "property",
|
|
@@ -36304,7 +36306,7 @@ Actual: ` + p3.attribValue
|
|
|
36304
36306
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
36305
36307
|
*/
|
|
36306
36308
|
processCollaborationMigrations() {
|
|
36307
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.9.
|
|
36309
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.9.41"), !this.options.ydoc) return;
|
|
36308
36310
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
36309
36311
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
36310
36312
|
const o = Qa$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -68594,7 +68596,7 @@ ${style2}
|
|
|
68594
68596
|
this.config.colors = shuffleArray(this.config.colors);
|
|
68595
68597
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
68596
68598
|
this.colorIndex = 0;
|
|
68597
|
-
this.version = "0.9.
|
|
68599
|
+
this.version = "0.9.41";
|
|
68598
68600
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
68599
68601
|
this.superdocId = config.superdocId || v4();
|
|
68600
68602
|
this.colors = this.config.colors;
|