@harbour-enterprises/superdoc 0.11.3 → 0.11.5

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 (30) hide show
  1. package/dist/chunks/{super-editor.es-CaHAdKx2.cjs → super-editor.es-La5qZHd6.cjs} +41 -41
  2. package/dist/chunks/{super-editor.es-B9jAgK3p.es.js → super-editor.es-oAo48rEf.es.js} +2426 -2405
  3. package/dist/core/SuperDoc.d.ts +1 -0
  4. package/dist/core/SuperDoc.d.ts.map +1 -1
  5. package/dist/super-editor/ai-writer.es.js +1 -1
  6. package/dist/super-editor/chunks/{converter-CTd3G8N2.js → converter-DI1zszVK.js} +2 -2
  7. package/dist/super-editor/chunks/{docx-zipper-B2Fs1Ugn.js → docx-zipper-C_TsLRgS.js} +1 -1
  8. package/dist/super-editor/chunks/{editor-HgYw_4Ag.js → editor-E6lPTE8Y.js} +1641 -1620
  9. package/dist/super-editor/chunks/{toolbar-CAoBYqCG.js → toolbar-DMEPLoM9.js} +2 -2
  10. package/dist/super-editor/converter.es.js +1 -1
  11. package/dist/super-editor/core/Editor.d.ts +0 -2
  12. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  13. package/dist/super-editor/docx-zipper.es.js +2 -2
  14. package/dist/super-editor/editor.es.js +3 -3
  15. package/dist/super-editor/extensions/index.d.ts +2 -1
  16. package/dist/super-editor/extensions/index.d.ts.map +1 -1
  17. package/dist/super-editor/extensions/search/index.d.ts +2 -0
  18. package/dist/super-editor/extensions/search/index.d.ts.map +1 -0
  19. package/dist/super-editor/extensions/search/search.d.ts +2 -0
  20. package/dist/super-editor/extensions/search/search.d.ts.map +1 -0
  21. package/dist/super-editor/file-zipper.es.js +1 -1
  22. package/dist/super-editor/super-editor.es.js +7 -7
  23. package/dist/super-editor/toolbar.es.js +2 -2
  24. package/dist/super-editor.cjs +1 -1
  25. package/dist/super-editor.es.js +4 -4
  26. package/dist/superdoc.cjs +4 -4
  27. package/dist/superdoc.es.js +6 -3
  28. package/dist/superdoc.umd.js +1739 -1715
  29. package/dist/superdoc.umd.js.map +1 -1
  30. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { O as md, g as yd, c as bd, Q as jo, p as Wo, H as wd, d as Sd, D as Dd, M as vd, a as Fd } from "./chunks/super-editor.es-B9jAgK3p.es.js";
2
- import { P as Ib, C as Cb, U as fb } from "./chunks/super-editor.es-B9jAgK3p.es.js";
1
+ import { T as md, g as yd, c as bd, Q as jo, h as Wo, H as wd, d as Sd, D as Dd, M as vd, a as Fd } from "./chunks/super-editor.es-oAo48rEf.es.js";
2
+ import { P as Ib, A as Cb, U as fb } from "./chunks/super-editor.es-oAo48rEf.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 ke, a1 as kd, M as Zt, u as qt, a2 as xd, a3 as Rd, a4 as Xo, g as Ji, O as Us, N as jr, j as Ii, k as Di, h as da, U as Nd, s as Md, B as Wr, F as jt, R as GA, m as Ct, E as mi, H as ms, C as re, V as Ld, S as Gd, W as Td, L as qi, P as Es, G as ar, Q as Ud, K as Hd, T as Pd, b as ye, o as fe, t as yi, x as bi, z as zl, f as We, A 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-B11Xj7yz.es.js";
4
4
  import { B as qn } from "./chunks/jszip-Clbt_EEu.es.js";
5
5
  import { B as Yd } from "./chunks/blank-docx-BRvkcuiv.es.js";
@@ -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.11.3", 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.11.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(this);
32698
32698
  }
32699
32699
  get requiredNumberOfEditors() {
32700
32700
  return this.superdocStore.documents.filter((t) => t.type === on).length;
@@ -32878,6 +32878,9 @@ class hb extends eg {
32878
32878
  i && i.setDocumentMode("viewing");
32879
32879
  }), this.toolbar && (this.toolbar.documentMode = "viewing", this.toolbar.updateToolbarState());
32880
32880
  }
32881
+ search(t) {
32882
+ return this.activeEditor?.commands.search(t);
32883
+ }
32881
32884
  /**
32882
32885
  * Set the document to locked or unlocked
32883
32886
  * @param {boolean} lock