@harbour-enterprises/superdoc 0.10.53 → 0.10.55

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 (25) hide show
  1. package/dist/chunks/{super-editor.es-sAfJIZkX.cjs → super-editor.es-C-ZNQTBd.cjs} +57 -57
  2. package/dist/chunks/{super-editor.es-D8i8HaSd.es.js → super-editor.es-DsZ77Kh4.es.js} +3571 -3527
  3. package/dist/style.css +28 -28
  4. package/dist/super-editor/ai-writer.es.js +1 -1
  5. package/dist/super-editor/chunks/{converter-BYBZ1O4h.js → converter-CFezqgYR.js} +1712 -1703
  6. package/dist/super-editor/chunks/{docx-zipper-CM4pITBO.js → docx-zipper-f_Wtma7c.js} +1 -1
  7. package/dist/super-editor/chunks/{editor-BOY7rOTL.js → editor-DcZoR2f-.js} +1424 -1389
  8. package/dist/super-editor/chunks/{toolbar-BpDnHGzG.js → toolbar-D8vm4wyu.js} +2 -2
  9. package/dist/super-editor/converter.es.js +1 -1
  10. package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.d.ts.map +1 -1
  11. package/dist/super-editor/core/super-converter/v2/importer/tabImporter.d.ts.map +1 -1
  12. package/dist/super-editor/docx-zipper.es.js +2 -2
  13. package/dist/super-editor/editor.es.js +3 -3
  14. package/dist/super-editor/extensions/line-break/line-break.d.ts.map +1 -1
  15. package/dist/super-editor/extensions/paragraph/paragraph.d.ts.map +1 -1
  16. package/dist/super-editor/file-zipper.es.js +1 -1
  17. package/dist/super-editor/super-editor.es.js +7 -7
  18. package/dist/super-editor/toolbar.es.js +2 -2
  19. package/dist/super-editor.cjs +1 -1
  20. package/dist/super-editor.es.js +4 -4
  21. package/dist/superdoc.cjs +4 -4
  22. package/dist/superdoc.es.js +5 -5
  23. package/dist/superdoc.umd.js +3442 -3398
  24. package/dist/superdoc.umd.js.map +1 -1
  25. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { g as md, h as yd, a as bd, q as jo, J as Wo, x as wd, d as Sd, C as Dd, w as vd, c as Fd } from "./chunks/super-editor.es-D8i8HaSd.es.js";
2
- import { R as Ib, b as Cb, f as fb } from "./chunks/super-editor.es-D8i8HaSd.es.js";
1
+ import { h as md, g as yd, c as bd, q as jo, J as Wo, x as wd, d as Sd, C as Dd, w as vd, a as Fd } from "./chunks/super-editor.es-DsZ77Kh4.es.js";
2
+ import { R as Ib, b as Cb, f as fb } from "./chunks/super-editor.es-DsZ77Kh4.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 ke, 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";
@@ -32508,7 +32508,7 @@ const yy = ["innerHTML"], by = { class: "superdoc__document document" }, wy = {
32508
32508
  innerHTML: ke(an).comment
32509
32509
  }, null, 8, yy)
32510
32510
  ]),
32511
- ke(q).$superdoc.toolbar?.config?.aiApiKey ? (fe(), ye("div", {
32511
+ ke(q).$superdoc.config.modules.ai ? (fe(), ye("div", {
32512
32512
  key: 0,
32513
32513
  class: "tools-item",
32514
32514
  "data-id": "is-tool",
@@ -32620,7 +32620,7 @@ const yy = ["innerHTML"], by = { class: "superdoc__document document" }, wy = {
32620
32620
  ], 2);
32621
32621
  };
32622
32622
  }
32623
- }, vy = /* @__PURE__ */ Mt(Dy, [["__scopeId", "data-v-06753e82"]]), Fy = () => {
32623
+ }, vy = /* @__PURE__ */ Mt(Dy, [["__scopeId", "data-v-c0c771c2"]]), Fy = () => {
32624
32624
  const n = $l(vy), t = yI();
32625
32625
  n.use(t), n.directive("click-outside", ng);
32626
32626
  const i = Ri(), r = hn();
@@ -32694,7 +32694,7 @@ class hb extends eg {
32694
32694
  this.config = {
32695
32695
  ...this.config,
32696
32696
  ...t
32697
- }, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.10.53", 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
+ }, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.10.55", 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);
32698
32698
  }
32699
32699
  get requiredNumberOfEditors() {
32700
32700
  return this.superdocStore.documents.filter((t) => t.type === on).length;