@harbour-enterprises/superdoc 0.12.5 → 0.12.7
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-BMTopH0N.cjs +455 -0
- package/dist/chunks/{super-editor.es-uFc1kYwr.es.js → super-editor.es-CvWf9Igx.es.js} +9157 -8920
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-Cid1Ewvn.js → converter-DPOXB8vR.js} +1585 -1519
- package/dist/super-editor/chunks/{docx-zipper-CldOGPZ9.js → docx-zipper-DTjI-Z4r.js} +1 -1
- package/dist/super-editor/chunks/{editor-DfsXlTev.js → editor-aYSWfnOz.js} +5467 -5308
- package/dist/super-editor/chunks/{toolbar-1h7-NG3P.js → toolbar-B5CeHdmH.js} +964 -958
- package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.d.ts +21 -3
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/commands/setMark.d.ts +2 -1
- package/dist/super-editor/core/commands/setMark.d.ts.map +1 -1
- package/dist/super-editor/core/commands/unsetAllMarks.d.ts +2 -1
- package/dist/super-editor/core/commands/unsetAllMarks.d.ts.map +1 -1
- package/dist/super-editor/core/commands/unsetMark.d.ts +2 -1
- package/dist/super-editor/core/commands/unsetMark.d.ts.map +1 -1
- package/dist/super-editor/core/helpers/annotator.d.ts +18 -1
- package/dist/super-editor/core/helpers/annotator.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts +4 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/helpers.d.ts +1 -0
- package/dist/super-editor/core/super-converter/helpers.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/extensions/pagination/pagination-helpers.d.ts +15 -0
- 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/style.css +1 -1
- package/dist/super-editor/super-editor.es.js +271 -264
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +8 -8
- package/dist/superdoc.cjs +5 -5
- package/dist/superdoc.es.js +4 -4
- package/dist/superdoc.umd.js +9230 -8990
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/super-editor.es-Bqp77LuU.cjs +0 -455
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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-CvWf9Igx.es.js";
|
|
2
|
+
import { O as Ib, w as Cb, i as fb } from "./chunks/super-editor.es-CvWf9Igx.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";
|
|
@@ -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.7", 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
|
|
@@ -32859,7 +32859,7 @@ class hb extends eg {
|
|
|
32859
32859
|
* @returns {void}
|
|
32860
32860
|
*/
|
|
32861
32861
|
setActiveEditor(t) {
|
|
32862
|
-
this.activeEditor = t, this.toolbar && this.toolbar.setActiveEditor(t);
|
|
32862
|
+
this.activeEditor = t, this.toolbar && (this.activeEditor.toolbar = this.toolbar, this.toolbar.setActiveEditor(t));
|
|
32863
32863
|
}
|
|
32864
32864
|
/**
|
|
32865
32865
|
* Toggle the ruler visibility for SuperEditors
|