@harbour-enterprises/superdoc 0.10.19 → 0.10.20
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-CqRwYOdx.cjs → index-DHS2ANjv.cjs} +1 -1
- package/dist/chunks/{index-dZKHAFXF.es.js → index-Dd_ce0Er.es.js} +1 -1
- package/dist/chunks/{index-DjLrg1eZ.es.js → index-XHRxRUhd.es.js} +2 -2
- package/dist/chunks/{index-BXKGjuVW.cjs → index-YqE5-6V1.cjs} +1 -1
- package/dist/chunks/{super-editor.es-DRh_g0Fr.es.js → super-editor.es-BxCFlU7Z.es.js} +4 -4
- package/dist/chunks/{super-editor.es-CUfMXMsJ.cjs → super-editor.es-CzLX9Hmg.cjs} +10 -10
- package/dist/chunks/{url-BxDGAI6E.es.js → url-BWFemt_V.es.js} +1 -1
- package/dist/chunks/{url-6Xu7gR4T.cjs → url-Cqg7fbSS.cjs} +1 -1
- package/dist/chunks/{xml-js-BAML2_fM.es.js → xml-js-Bzw8Bo_u.es.js} +744 -762
- package/dist/chunks/xml-js-Zwb1wsIy.cjs +10 -0
- package/dist/super-editor/chunks/{converter-BCeb2-D7.js → converter-DStjBlxj.js} +3 -3
- package/dist/super-editor/chunks/{docx-zipper-DIG-WaYc.js → docx-zipper-BMm0mIhk.js} +1 -1
- package/dist/super-editor/chunks/{editor-Bs_Uq4bv.js → editor-CB-XaU1x.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BGwS09QD.js → toolbar-Ckt-6wVK.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 +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +5 -5
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as md, h as yd, d as bd, j as jo, F as Wo, k as wd, y as Sd, v as Dd, c as vd } from "./chunks/super-editor.es-
|
|
2
|
-
import { a as cb, X as lb, A as gb } from "./chunks/super-editor.es-
|
|
1
|
+
import { g as md, h as yd, d as bd, j as jo, F as Wo, k as wd, y as Sd, v as Dd, c as vd } from "./chunks/super-editor.es-BxCFlU7Z.es.js";
|
|
2
|
+
import { a as cb, X as lb, A as gb } from "./chunks/super-editor.es-BxCFlU7Z.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";
|
|
@@ -16788,13 +16788,13 @@ var Te = globalThis.pdfjsLib = {};
|
|
|
16788
16788
|
"./chunks/empty-GlqisfcO.es.js"
|
|
16789
16789
|
), s = await import(
|
|
16790
16790
|
/*webpackIgnore: true*/
|
|
16791
|
-
"./chunks/index-
|
|
16791
|
+
"./chunks/index-XHRxRUhd.es.js"
|
|
16792
16792
|
).then((d) => d.i), a = await import(
|
|
16793
16793
|
/*webpackIgnore: true*/
|
|
16794
|
-
"./chunks/index-
|
|
16794
|
+
"./chunks/index-Dd_ce0Er.es.js"
|
|
16795
16795
|
).then((d) => d.i), o = await import(
|
|
16796
16796
|
/*webpackIgnore: true*/
|
|
16797
|
-
"./chunks/url-
|
|
16797
|
+
"./chunks/url-BWFemt_V.es.js"
|
|
16798
16798
|
).then((d) => d.u);
|
|
16799
16799
|
let l, h;
|
|
16800
16800
|
try {
|
|
@@ -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.20", 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
|
@@ -22817,7 +22817,7 @@ Actual: ` + p3.attribValue
|
|
|
22817
22817
|
};
|
|
22818
22818
|
function Bm$1(r22, e, t) {
|
|
22819
22819
|
if (!r22) return;
|
|
22820
|
-
const { attributes: n } = r22, { paragraphProperties: i3 = {} } = n, { elements: s = [] } = i3, u = r22.elements.find((D3) => D3.name === "w:pPr")?.elements?.find((D3) => D3.name === "w:pStyle")?.attributes["w:val"], f3 = kr$1({ node: r22, styleId: u, docx: t });
|
|
22820
|
+
const { attributes: n = {} } = r22, { paragraphProperties: i3 = {} } = n, { elements: s = [] } = i3, u = r22.elements.find((D3) => D3.name === "w:pPr")?.elements?.find((D3) => D3.name === "w:pStyle")?.attributes["w:val"], f3 = kr$1({ node: r22, styleId: u, docx: t });
|
|
22821
22821
|
if (!f3) return {};
|
|
22822
22822
|
const g = f3?.elements.find((D3) => D3.name === "w:numId")?.attributes["w:val"], S = f3?.elements.find((D3) => D3.name === "w:ilvl")?.attributes["w:val"] || yu$2(u, t), A = s.find((D3) => D3.name === "w:pStyle")?.attributes["w:val"], {
|
|
22823
22823
|
start: F3,
|
|
@@ -23614,7 +23614,7 @@ Actual: ` + p3.attribValue
|
|
|
23614
23614
|
return;
|
|
23615
23615
|
}
|
|
23616
23616
|
}
|
|
23617
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.10.
|
|
23617
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.10.20") {
|
|
23618
23618
|
const n = "docProps/custom.xml";
|
|
23619
23619
|
e[n] || (e[n] = Fu$2());
|
|
23620
23620
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -23839,7 +23839,7 @@ Actual: ` + p3.attribValue
|
|
|
23839
23839
|
function Fu$2() {
|
|
23840
23840
|
return zf$2;
|
|
23841
23841
|
}
|
|
23842
|
-
function Bu$2(r22 = 2, e = "0.10.
|
|
23842
|
+
function Bu$2(r22 = 2, e = "0.10.20") {
|
|
23843
23843
|
return {
|
|
23844
23844
|
type: "element",
|
|
23845
23845
|
name: "property",
|
|
@@ -36335,7 +36335,7 @@ Actual: ` + p3.attribValue
|
|
|
36335
36335
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
36336
36336
|
*/
|
|
36337
36337
|
processCollaborationMigrations() {
|
|
36338
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
36338
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.20"), !this.options.ydoc) return;
|
|
36339
36339
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
36340
36340
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
36341
36341
|
const o = nl$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -68668,7 +68668,7 @@ ${style2}
|
|
|
68668
68668
|
this.config.colors = shuffleArray(this.config.colors);
|
|
68669
68669
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
68670
68670
|
this.colorIndex = 0;
|
|
68671
|
-
this.version = "0.10.
|
|
68671
|
+
this.version = "0.10.20";
|
|
68672
68672
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
68673
68673
|
this.superdocId = config.superdocId || v4();
|
|
68674
68674
|
this.colors = this.config.colors;
|