@harbour-enterprises/superdoc 0.10.24-RC1 → 0.10.25
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-LVnq3DMw.cjs → super-editor.es-DJeRKmb_.cjs} +5 -5
- package/dist/chunks/{super-editor.es-C7FklFR7.es.js → super-editor.es-P01YhU4r.es.js} +6 -6
- package/dist/style.css +5 -1
- package/dist/super-editor/ai-writer.es.js +3 -3
- package/dist/super-editor/chunks/{converter-J9ViHxhj.js → converter-ImzJw_nj.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-C1kMsjg4.js → docx-zipper-BAWn6_pD.js} +1 -1
- package/dist/super-editor/chunks/{editor-DwlgXynb.js → editor-BE4BZVhC.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-Dtt8NSGy.js → toolbar-C5BjQad8.js} +2 -2
- package/dist/super-editor/components/toolbar/ai-helpers.d.ts.map +1 -1
- 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/style.css +1 -1
- package/dist/super-editor/super-editor.es.js +7 -7
- package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +1 -1
- 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 +7 -7
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts +0 -3
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +0 -1
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as md, h as yd, b as bd, U as jo, j as Wo, x as wd, d as Sd, C as Dd, k as vd, c as Fd } from "./chunks/super-editor.es-
|
|
2
|
-
import { a as Ib, t as Cb, T as fb } from "./chunks/super-editor.es-
|
|
1
|
+
import { r as md, h as yd, b as bd, U as jo, j as Wo, x as wd, d as Sd, C as Dd, k as vd, c as Fd } from "./chunks/super-editor.es-P01YhU4r.es.js";
|
|
2
|
+
import { a as Ib, t as Cb, T as fb } from "./chunks/super-editor.es-P01YhU4r.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.25", 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
|
@@ -23664,7 +23664,7 @@ Actual: ` + p3.attribValue
|
|
|
23664
23664
|
return;
|
|
23665
23665
|
}
|
|
23666
23666
|
}
|
|
23667
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.10.
|
|
23667
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.10.25") {
|
|
23668
23668
|
const n = "docProps/custom.xml";
|
|
23669
23669
|
e[n] || (e[n] = Fu$2());
|
|
23670
23670
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -23894,7 +23894,7 @@ Actual: ` + p3.attribValue
|
|
|
23894
23894
|
function Fu$2() {
|
|
23895
23895
|
return zf$1;
|
|
23896
23896
|
}
|
|
23897
|
-
function Bu$2(r22 = 2, e = "0.10.
|
|
23897
|
+
function Bu$2(r22 = 2, e = "0.10.25") {
|
|
23898
23898
|
return {
|
|
23899
23899
|
type: "element",
|
|
23900
23900
|
name: "property",
|
|
@@ -36394,7 +36394,7 @@ Actual: ` + p3.attribValue
|
|
|
36394
36394
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
36395
36395
|
*/
|
|
36396
36396
|
processCollaborationMigrations() {
|
|
36397
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
36397
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.25"), !this.options.ydoc) return;
|
|
36398
36398
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
36399
36399
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
36400
36400
|
const o = ol$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -52169,7 +52169,7 @@ ${t}
|
|
|
52169
52169
|
</defs>
|
|
52170
52170
|
<path fill="url(#gradient)" d="M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z"/>
|
|
52171
52171
|
</svg>`, J = `<!-- @note: includes color gradient for inline svg AI Writer -->
|
|
52172
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"
|
|
52172
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z"/></svg>`, Q = `<!-- @note: includes color gradient for inline svg AI Writer -->
|
|
52173
52173
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--> <defs>
|
|
52174
52174
|
<linearGradient id="gradient" x1="125%" y1="50%" x2="-25%" y2="50%">
|
|
52175
52175
|
<stop offset="-20%" stop-color="rgba(218, 215, 118, 0.5)" />
|
|
@@ -52327,7 +52327,7 @@ ${t}
|
|
|
52327
52327
|
])
|
|
52328
52328
|
], 544));
|
|
52329
52329
|
}
|
|
52330
|
-
}, de = /* @__PURE__ */ Ok(ie, [["__scopeId", "data-v-
|
|
52330
|
+
}, de = /* @__PURE__ */ Ok(ie, [["__scopeId", "data-v-1dd9d155"]]);
|
|
52331
52331
|
async function c$3(o, t) {
|
|
52332
52332
|
const e = new Et$1();
|
|
52333
52333
|
return o.forEach((i3, n) => {
|
|
@@ -53078,7 +53078,7 @@ ${t}
|
|
|
53078
53078
|
},
|
|
53079
53079
|
selectedText: m,
|
|
53080
53080
|
editor: t.activeEditor,
|
|
53081
|
-
|
|
53081
|
+
apiKey: t.config.aiApiKey,
|
|
53082
53082
|
superToolbar: t
|
|
53083
53083
|
})
|
|
53084
53084
|
]
|
|
@@ -69388,7 +69388,7 @@ ${style2}
|
|
|
69388
69388
|
this.config.colors = shuffleArray(this.config.colors);
|
|
69389
69389
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
69390
69390
|
this.colorIndex = 0;
|
|
69391
|
-
this.version = "0.10.
|
|
69391
|
+
this.version = "0.10.25";
|
|
69392
69392
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
69393
69393
|
this.superdocId = config.superdocId || v4();
|
|
69394
69394
|
this.colors = this.config.colors;
|