@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.
Files changed (43) hide show
  1. package/dist/chunks/super-editor.es-BMTopH0N.cjs +455 -0
  2. package/dist/chunks/{super-editor.es-uFc1kYwr.es.js → super-editor.es-CvWf9Igx.es.js} +9157 -8920
  3. package/dist/core/SuperDoc.d.ts.map +1 -1
  4. package/dist/style.css +1 -1
  5. package/dist/super-editor/ai-writer.es.js +2 -2
  6. package/dist/super-editor/chunks/{converter-Cid1Ewvn.js → converter-DPOXB8vR.js} +1585 -1519
  7. package/dist/super-editor/chunks/{docx-zipper-CldOGPZ9.js → docx-zipper-DTjI-Z4r.js} +1 -1
  8. package/dist/super-editor/chunks/{editor-DfsXlTev.js → editor-aYSWfnOz.js} +5467 -5308
  9. package/dist/super-editor/chunks/{toolbar-1h7-NG3P.js → toolbar-B5CeHdmH.js} +964 -958
  10. package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
  11. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  12. package/dist/super-editor/converter.es.js +1 -1
  13. package/dist/super-editor/core/Editor.d.ts +21 -3
  14. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  15. package/dist/super-editor/core/commands/setMark.d.ts +2 -1
  16. package/dist/super-editor/core/commands/setMark.d.ts.map +1 -1
  17. package/dist/super-editor/core/commands/unsetAllMarks.d.ts +2 -1
  18. package/dist/super-editor/core/commands/unsetAllMarks.d.ts.map +1 -1
  19. package/dist/super-editor/core/commands/unsetMark.d.ts +2 -1
  20. package/dist/super-editor/core/commands/unsetMark.d.ts.map +1 -1
  21. package/dist/super-editor/core/helpers/annotator.d.ts +18 -1
  22. package/dist/super-editor/core/helpers/annotator.d.ts.map +1 -1
  23. package/dist/super-editor/core/super-converter/SuperConverter.d.ts +4 -1
  24. package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
  25. package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
  26. package/dist/super-editor/core/super-converter/helpers.d.ts +1 -0
  27. package/dist/super-editor/core/super-converter/helpers.d.ts.map +1 -1
  28. package/dist/super-editor/docx-zipper.es.js +2 -2
  29. package/dist/super-editor/editor.es.js +3 -3
  30. package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts +15 -0
  31. package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
  32. package/dist/super-editor/file-zipper.es.js +1 -1
  33. package/dist/super-editor/style.css +1 -1
  34. package/dist/super-editor/super-editor.es.js +271 -264
  35. package/dist/super-editor/toolbar.es.js +2 -2
  36. package/dist/super-editor.cjs +1 -1
  37. package/dist/super-editor.es.js +8 -8
  38. package/dist/superdoc.cjs +5 -5
  39. package/dist/superdoc.es.js +4 -4
  40. package/dist/superdoc.umd.js +9230 -8990
  41. package/dist/superdoc.umd.js.map +1 -1
  42. package/package.json +1 -1
  43. package/dist/chunks/super-editor.es-Bqp77LuU.cjs +0 -455
@@ -1,5 +1,5 @@
1
- import { i as md, g as yd, c as bd, n as jo, Z as Wo, R as wd, x as Sd, $ as Dd, H as vd, d as Fd } from "./chunks/super-editor.es-uFc1kYwr.es.js";
2
- import { a as Ib, e as Cb, f as fb } from "./chunks/super-editor.es-uFc1kYwr.es.js";
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.5", 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();
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