@harbour-enterprises/superdoc 0.9.27 → 0.9.28

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/{index-DjLrg1eZ.es.js → index-8ZIOYegI.es.js} +2 -2
  2. package/dist/chunks/{index-BXKGjuVW.cjs → index-C4-w9MLl.cjs} +1 -1
  3. package/dist/chunks/{index-CqRwYOdx.cjs → index-ChNh-3hE.cjs} +1 -1
  4. package/dist/chunks/{index-dZKHAFXF.es.js → index-DlBXCtmW.es.js} +1 -1
  5. package/dist/chunks/{super-editor.es-LlSmyLxh.es.js → super-editor.es-CsSprFyd.es.js} +4 -4
  6. package/dist/chunks/{super-editor.es-B3p127WY.cjs → super-editor.es-mp8Ie2eJ.cjs} +2 -2
  7. package/dist/chunks/{url-BxDGAI6E.es.js → url-B0oWkmAx.es.js} +1 -1
  8. package/dist/chunks/{url-6Xu7gR4T.cjs → url-CzUL97Mg.cjs} +1 -1
  9. package/dist/chunks/{xml-js-BAML2_fM.es.js → xml-js-DLnxZypp.es.js} +303 -296
  10. package/dist/chunks/xml-js-zfoNze4t.cjs +10 -0
  11. package/dist/style.css +1 -1
  12. package/dist/super-editor/chunks/{converter-BSkTO817.js → converter-DIJduWku.js} +3 -3
  13. package/dist/super-editor/chunks/{docx-zipper-Cjh-AnU5.js → docx-zipper-DqDWBLxQ.js} +1 -1
  14. package/dist/super-editor/chunks/{editor-Bm2rKMic.js → editor-Dk3NiPak.js} +3 -3
  15. package/dist/super-editor/chunks/{toolbar-BE61NUB-.js → toolbar-DlRHdCq-.js} +2 -2
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/docx-zipper.es.js +2 -2
  18. package/dist/super-editor/editor.es.js +3 -3
  19. package/dist/super-editor/file-zipper.es.js +1 -1
  20. package/dist/super-editor/style.css +1 -1
  21. package/dist/super-editor/super-editor.es.js +6 -6
  22. package/dist/super-editor/toolbar.es.js +2 -2
  23. package/dist/super-editor.cjs +1 -1
  24. package/dist/super-editor.es.js +1 -1
  25. package/dist/superdoc.cjs +3 -3
  26. package/dist/superdoc.es.js +6 -6
  27. package/dist/superdoc.umd.js +5 -5
  28. package/dist/superdoc.umd.js.map +1 -1
  29. package/package.json +1 -1
  30. package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
@@ -1,5 +1,5 @@
1
- import { q as md, a as yd, d as bd, j as jo, I as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-LlSmyLxh.es.js";
2
- import { k as cb, W as lb, S as gb } from "./chunks/super-editor.es-LlSmyLxh.es.js";
1
+ import { q as md, a as yd, d as bd, j as jo, I as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-CsSprFyd.es.js";
2
+ import { k as cb, W as lb, S as gb } from "./chunks/super-editor.es-CsSprFyd.es.js";
3
3
  import { Y as Vl, r as V, Z as Ai, p as Ne, _ as _n, a as Ae, $ as qn, a0 as la, C as ht, i as lt, q as Ji, l as bt, x as Oe, a1 as Fd, L as ti, R as _t, a2 as kd, a3 as xd, a4 as Xo, g as Ti, N as Gs, M as Kr, j as li, k as Qi, h as ga, U as Rd, s as Nd, z as _r, F as qt, Q as GA, m as dt, D as fi, G as fs, B as re, V as Md, S as Ld, W as Gd, K as Oi, O as ds, E as sr, P as Td, J as Ud, T as Hd, b as ye, o as pe, t as Bi, v as Si, y as zl, f as Xe, A as ci, e as tt, u as Ci, w as wi, n as js, a5 as Zl, d as An, c as $l, X as Pd, a6 as Od } from "./chunks/vue-BDbTsTMu.es.js";
4
4
  import { B as Pn } from "./chunks/jszip-DSGi1sNe.es.js";
5
5
  import { B as Jd } from "./chunks/blank-docx-BRvkcuiv.es.js";
@@ -16789,13 +16789,13 @@ var Te = globalThis.pdfjsLib = {};
16789
16789
  "./chunks/empty-GlqisfcO.es.js"
16790
16790
  ), s = await import(
16791
16791
  /*webpackIgnore: true*/
16792
- "./chunks/index-DjLrg1eZ.es.js"
16792
+ "./chunks/index-8ZIOYegI.es.js"
16793
16793
  ).then((d) => d.i), a = await import(
16794
16794
  /*webpackIgnore: true*/
16795
- "./chunks/index-dZKHAFXF.es.js"
16795
+ "./chunks/index-DlBXCtmW.es.js"
16796
16796
  ).then((d) => d.i), o = await import(
16797
16797
  /*webpackIgnore: true*/
16798
- "./chunks/url-BxDGAI6E.es.js"
16798
+ "./chunks/url-B0oWkmAx.es.js"
16799
16799
  ).then((d) => d.u);
16800
16800
  let l, h;
16801
16801
  try {
@@ -32533,7 +32533,7 @@ class ab extends eg {
32533
32533
  this.config = {
32534
32534
  ...this.config,
32535
32535
  ...t
32536
- }, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.9.27", console.debug("🦋 [superdoc] Using SuperDoc version:", this.version), this.superdocId = t.superdocId || ig(), this.colors = this.config.colors, await this.#s(this.config.modules), this.#t(), this.#i(), 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.#n(this);
32536
+ }, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.9.28", console.debug("🦋 [superdoc] Using SuperDoc version:", this.version), this.superdocId = t.superdocId || ig(), this.colors = this.config.colors, await this.#s(this.config.modules), this.#t(), this.#i(), 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.#n(this);
32537
32537
  }
32538
32538
  get requiredNumberOfEditors() {
32539
32539
  return this.superdocStore.documents.filter((t) => t.type === On).length;
@@ -22681,7 +22681,7 @@ Actual: ` + p3.attribValue
22681
22681
  const { elements: s } = i3, o = s[0];
22682
22682
  if (t) {
22683
22683
  const { numId: R, ilvl: q } = No$2(t, n) || {};
22684
- R && (r22 = R), q && (e = q ? parseInt(q) : null);
22684
+ !r22 && R && (r22 = R), !e && q && (e = q ? parseInt(q) : null);
22685
22685
  }
22686
22686
  const a = o.elements, u = a.filter((R) => R.name === "w:abstractNum"), g = a.filter((R) => R.name === "w:num").find((R) => R.attributes["w:numId"] === r22)?.elements[0].attributes["w:val"], h3 = u?.find(
22687
22687
  (R) => R.attributes["w:abstractNumId"] === g
@@ -23469,7 +23469,7 @@ Actual: ` + p3.attribValue
23469
23469
  return;
23470
23470
  }
23471
23471
  }
23472
- static updateDocumentVersion(e = this.convertedXml, t = "0.9.27") {
23472
+ static updateDocumentVersion(e = this.convertedXml, t = "0.9.28") {
23473
23473
  const n = "docProps/custom.xml";
23474
23474
  e[n] || (e[n] = Du$2());
23475
23475
  const i3 = e["docProps/custom.xml"];
@@ -23694,7 +23694,7 @@ Actual: ` + p3.attribValue
23694
23694
  function Du$2() {
23695
23695
  return If$2;
23696
23696
  }
23697
- function Eu$2(r22 = 2, e = "0.9.27") {
23697
+ function Eu$2(r22 = 2, e = "0.9.28") {
23698
23698
  return {
23699
23699
  type: "element",
23700
23700
  name: "property",
@@ -36174,7 +36174,7 @@ Actual: ` + p3.attribValue
36174
36174
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
36175
36175
  */
36176
36176
  processCollaborationMigrations() {
36177
- if (console.debug("[checkVersionMigrations] Current editor version", "0.9.27"), !this.options.ydoc) return;
36177
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.9.28"), !this.options.ydoc) return;
36178
36178
  let r = this.options.ydoc.getMap("meta").get("version");
36179
36179
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
36180
36180
  const o = Qa$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
@@ -68461,7 +68461,7 @@ ${style2}
68461
68461
  this.config.colors = shuffleArray(this.config.colors);
68462
68462
  this.userColorMap = /* @__PURE__ */ new Map();
68463
68463
  this.colorIndex = 0;
68464
- this.version = "0.9.27";
68464
+ this.version = "0.9.28";
68465
68465
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
68466
68466
  this.superdocId = config.superdocId || v4();
68467
68467
  this.colors = this.config.colors;