@harbour-enterprises/superdoc 0.12.7 → 0.12.8
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-kWwSELc2.es.js → index-CVyuWad2.es.js} +2 -2
- package/dist/chunks/{index-BTkgQgI7.es.js → index-CWj8iOm4.es.js} +1 -1
- package/dist/chunks/{index-CbUTRvRk.cjs → index-Dnm6LcB6.cjs} +1 -1
- package/dist/chunks/{index-C6SLw2ph.cjs → index-Dw-Q9hD6.cjs} +1 -1
- package/dist/chunks/{super-editor.es-CvWf9Igx.es.js → super-editor.es--CTmtQpG.es.js} +4 -3
- package/dist/chunks/{super-editor.es-BMTopH0N.cjs → super-editor.es-CqRnQGQ9.cjs} +3 -3
- package/dist/chunks/{url-DRGmEUtI.cjs → url-BV2RvrTf.cjs} +1 -1
- package/dist/chunks/{url-C29KYeaj.es.js → url-NtSPOzqh.es.js} +1 -1
- package/dist/chunks/{xml-js-CgHhGhcJ.es.js → xml-js-BvgqUvJ5.es.js} +303 -296
- package/dist/chunks/xml-js-CCvZbbr7.cjs +10 -0
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-DPOXB8vR.js → converter-BvoZ3wK4.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-DTjI-Z4r.js → docx-zipper-BEuRmHhJ.js} +1 -1
- package/dist/super-editor/chunks/{editor-aYSWfnOz.js → editor-eAstY5lu.js} +4 -3
- package/dist/super-editor/chunks/{toolbar-B5CeHdmH.js → toolbar-c6F_mTvN.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/extensions/pagination/pagination-helpers.d.ts.map +1 -1
- 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 -4
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-CMQ3QRee.cjs +0 -10
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as md, g as yd, c as bd, l as jo, f as Wo, a as wd, x as Sd, z as Dd, $ as vd, d as Fd } from "./chunks/super-editor.es
|
|
2
|
-
import { O as Ib, w as Cb, i as fb } from "./chunks/super-editor.es
|
|
1
|
+
import { k as md, g as yd, c as bd, l as jo, f as Wo, a as wd, x as Sd, z as Dd, $ as vd, d as Fd } from "./chunks/super-editor.es--CTmtQpG.es.js";
|
|
2
|
+
import { O as Ib, w as Cb, i as fb } from "./chunks/super-editor.es--CTmtQpG.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 Fe, 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-DKS68Dra.es.js";
|
|
4
4
|
import { B as qn } from "./chunks/jszip-OpmRHhd4.es.js";
|
|
5
5
|
import { B as Yd } from "./chunks/blank-docx-BRvkcuiv.es.js";
|
|
@@ -16788,13 +16788,13 @@ var Ue = globalThis.pdfjsLib = {};
|
|
|
16788
16788
|
"./chunks/empty-GlqisfcO.es.js"
|
|
16789
16789
|
), s = await import(
|
|
16790
16790
|
/*webpackIgnore: true*/
|
|
16791
|
-
"./chunks/index-
|
|
16791
|
+
"./chunks/index-CVyuWad2.es.js"
|
|
16792
16792
|
).then((d) => d.i), a = await import(
|
|
16793
16793
|
/*webpackIgnore: true*/
|
|
16794
|
-
"./chunks/index-
|
|
16794
|
+
"./chunks/index-CWj8iOm4.es.js"
|
|
16795
16795
|
).then((d) => d.i), o = await import(
|
|
16796
16796
|
/*webpackIgnore: true*/
|
|
16797
|
-
"./chunks/url-
|
|
16797
|
+
"./chunks/url-NtSPOzqh.es.js"
|
|
16798
16798
|
).then((d) => d.u);
|
|
16799
16799
|
let l, h;
|
|
16800
16800
|
try {
|
|
@@ -32718,7 +32718,7 @@ class hb extends eg {
|
|
|
32718
32718
|
this.config = {
|
|
32719
32719
|
...this.config,
|
|
32720
32720
|
...t
|
|
32721
|
-
}, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.12.
|
|
32721
|
+
}, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.12.8", 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();
|
|
32722
32722
|
}
|
|
32723
32723
|
/**
|
|
32724
32724
|
* Get the number of editors that are required for this superdoc
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -24239,7 +24239,7 @@ Actual: ` + p3.attribValue
|
|
|
24239
24239
|
return;
|
|
24240
24240
|
}
|
|
24241
24241
|
}
|
|
24242
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.12.
|
|
24242
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.12.8") {
|
|
24243
24243
|
const n = "docProps/custom.xml";
|
|
24244
24244
|
e[n] || (e[n] = Nu$2());
|
|
24245
24245
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -24563,7 +24563,7 @@ Actual: ` + p3.attribValue
|
|
|
24563
24563
|
function Nu$2() {
|
|
24564
24564
|
return Kf$2;
|
|
24565
24565
|
}
|
|
24566
|
-
function Iu$2(r22 = 2, e = "0.12.
|
|
24566
|
+
function Iu$2(r22 = 2, e = "0.12.8") {
|
|
24567
24567
|
return {
|
|
24568
24568
|
type: "element",
|
|
24569
24569
|
name: "property",
|
|
@@ -36324,6 +36324,7 @@ Actual: ` + p3.attribValue
|
|
|
36324
36324
|
mediaFiles: e.options.mediaFiles,
|
|
36325
36325
|
fonts: e.options.fonts,
|
|
36326
36326
|
isHeaderOrFooter: true,
|
|
36327
|
+
annotations: true,
|
|
36327
36328
|
onCreate: (h3) => Ub(h3, e),
|
|
36328
36329
|
onBlur: (h3) => ru$1(h3, e, o, i3)
|
|
36329
36330
|
}), p3 = n.querySelector(".ProseMirror");
|
|
@@ -37654,7 +37655,7 @@ Actual: ` + p3.attribValue
|
|
|
37654
37655
|
* @returns {Object | void} Migration results
|
|
37655
37656
|
*/
|
|
37656
37657
|
processCollaborationMigrations() {
|
|
37657
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.12.
|
|
37658
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.12.8"), !this.options.ydoc) return;
|
|
37658
37659
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
37659
37660
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
37660
37661
|
const o = wl$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -72058,7 +72059,7 @@ ${style2}
|
|
|
72058
72059
|
this.config.colors = shuffleArray(this.config.colors);
|
|
72059
72060
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
72060
72061
|
this.colorIndex = 0;
|
|
72061
|
-
this.version = "0.12.
|
|
72062
|
+
this.version = "0.12.8";
|
|
72062
72063
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
72063
72064
|
this.superdocId = config.superdocId || v4();
|
|
72064
72065
|
this.colors = this.config.colors;
|