@harbour-enterprises/superdoc 0.12.1 → 0.12.3

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 (50) hide show
  1. package/dist/chunks/{index-C6SLw2ph.cjs → index-71EH9929.cjs} +1 -1
  2. package/dist/chunks/{index-CbUTRvRk.cjs → index-DJ2cGnRl.cjs} +1 -1
  3. package/dist/chunks/{index-kWwSELc2.es.js → index-DRzufgTV.es.js} +2 -2
  4. package/dist/chunks/{index-BTkgQgI7.es.js → index-kAA2CRkl.es.js} +1 -1
  5. package/dist/chunks/{super-editor.es-lfXhkaAs.es.js → super-editor.es-DXcOd-nD.es.js} +7175 -6981
  6. package/dist/chunks/{super-editor.es-BNyXKEsq.cjs → super-editor.es-Di7L9sdJ.cjs} +66 -66
  7. package/dist/chunks/{url-C29KYeaj.es.js → url-BcsmChMq.es.js} +1 -1
  8. package/dist/chunks/{url-DRGmEUtI.cjs → url-CHPOWQEe.cjs} +1 -1
  9. package/dist/chunks/{xml-js-CgHhGhcJ.es.js → xml-js-CiXFCQBs.es.js} +366 -355
  10. package/dist/chunks/xml-js-jS9zLULc.cjs +10 -0
  11. package/dist/core/SuperDoc.d.ts.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/super-editor/ai-writer.es.js +2 -2
  14. package/dist/super-editor/chunks/{converter-C9Booliw.js → converter-BJtjyWXx.js} +1080 -1063
  15. package/dist/super-editor/chunks/{docx-zipper-KDZPNsAs.js → docx-zipper-BVv8YIej.js} +1 -1
  16. package/dist/super-editor/chunks/editor-C4x0LU8R.js +19740 -0
  17. package/dist/super-editor/chunks/{toolbar-DUratKbf.js → toolbar-C3dMNXWg.js} +612 -611
  18. package/dist/super-editor/components/toolbar/constants.d.ts +12 -0
  19. package/dist/super-editor/components/toolbar/constants.d.ts.map +1 -0
  20. package/dist/super-editor/components/toolbar/defaultItems.d.ts +3 -1
  21. package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
  22. package/dist/super-editor/components/toolbar/super-toolbar.d.ts +2 -0
  23. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  24. package/dist/super-editor/converter.es.js +1 -1
  25. package/dist/super-editor/core/InputRule.d.ts +1 -0
  26. package/dist/super-editor/core/InputRule.d.ts.map +1 -1
  27. package/dist/super-editor/core/commands/insertTabNode.d.ts +7 -1
  28. package/dist/super-editor/core/commands/insertTabNode.d.ts.map +1 -1
  29. package/dist/super-editor/core/inputRules/docx-paste/docx-paste.d.ts +2 -0
  30. package/dist/super-editor/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -0
  31. package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
  32. package/dist/super-editor/docx-zipper.es.js +2 -2
  33. package/dist/super-editor/editor.es.js +3 -3
  34. package/dist/super-editor/extensions/index.d.ts.map +1 -1
  35. package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
  36. package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
  37. package/dist/super-editor/file-zipper.es.js +1 -1
  38. package/dist/super-editor/style.css +1 -1
  39. package/dist/super-editor/super-editor.es.js +1169 -1108
  40. package/dist/super-editor/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
  41. package/dist/super-editor/toolbar.es.js +2 -2
  42. package/dist/super-editor.cjs +1 -1
  43. package/dist/super-editor.es.js +6 -6
  44. package/dist/superdoc.cjs +6 -6
  45. package/dist/superdoc.es.js +10 -7
  46. package/dist/superdoc.umd.js +12377 -12179
  47. package/dist/superdoc.umd.js.map +1 -1
  48. package/package.json +1 -1
  49. package/dist/chunks/xml-js-CMQ3QRee.cjs +0 -10
  50. package/dist/super-editor/chunks/editor-DbLuLAln.js +0 -19624
@@ -1,5 +1,5 @@
1
- import { G as md, g as yd, c as bd, n as jo, e as Wo, H as wd, x as Sd, D as Dd, M as vd, b as Fd } from "./chunks/super-editor.es-lfXhkaAs.es.js";
2
- import { O as Ib, J as Cb, R as fb } from "./chunks/super-editor.es-lfXhkaAs.es.js";
1
+ import { j as md, g as yd, c as bd, n as jo, K as Wo, R as wd, x as Sd, $ as Dd, H as vd, d as Fd } from "./chunks/super-editor.es-DXcOd-nD.es.js";
2
+ import { a as Ib, o as Cb, i as fb } from "./chunks/super-editor.es-DXcOd-nD.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";
@@ -16788,13 +16788,13 @@ var Ue = globalThis.pdfjsLib = {};
16788
16788
  "./chunks/empty-GlqisfcO.es.js"
16789
16789
  ), s = await import(
16790
16790
  /*webpackIgnore: true*/
16791
- "./chunks/index-kWwSELc2.es.js"
16791
+ "./chunks/index-DRzufgTV.es.js"
16792
16792
  ).then((d) => d.i), a = await import(
16793
16793
  /*webpackIgnore: true*/
16794
- "./chunks/index-BTkgQgI7.es.js"
16794
+ "./chunks/index-kAA2CRkl.es.js"
16795
16795
  ).then((d) => d.i), o = await import(
16796
16796
  /*webpackIgnore: true*/
16797
- "./chunks/url-C29KYeaj.es.js"
16797
+ "./chunks/url-BcsmChMq.es.js"
16798
16798
  ).then((d) => d.u);
16799
16799
  let l, h;
16800
16800
  try {
@@ -32717,7 +32717,7 @@ class hb extends eg {
32717
32717
  this.config = {
32718
32718
  ...this.config,
32719
32719
  ...t
32720
- }, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.12.1", 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();
32720
+ }, this.config.colors = NI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.12.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();
32721
32721
  }
32722
32722
  /**
32723
32723
  * Get the number of editors that are required for this superdoc
@@ -32879,7 +32879,10 @@ class hb extends eg {
32879
32879
  toolbarGroups: this.config.modules?.toolbar?.groups || this.config.toolbarGroups,
32880
32880
  role: this.config.role,
32881
32881
  pagination: this.config.pagination,
32882
- icons: this.config.toolbarIcons,
32882
+ icons: this.config.modules?.toolbar?.icons || this.config.toolbarIcons,
32883
+ fonts: this.config.modules?.toolbar?.fonts || null,
32884
+ hideButtons: this.config.modules?.toolbar?.hideButtons ?? !0,
32885
+ responsiveToContainer: this.config.modules?.toolbar?.responsiveToContainer ?? !1,
32883
32886
  documentMode: this.config.documentMode,
32884
32887
  superdoc: this,
32885
32888
  aiApiKey: this.config.modules?.ai?.apiKey,