@harbour-enterprises/superdoc 0.11.11 → 0.11.12

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 (29) hide show
  1. package/dist/chunks/{index-TWNNkqFK.es.js → index-BE6rRNaJ.es.js} +1 -1
  2. package/dist/chunks/{index-C4-w9MLl.cjs → index-BXKGjuVW.cjs} +1 -1
  3. package/dist/chunks/{index-CUdbVTOZ.es.js → index-CBHzddMM.es.js} +2 -2
  4. package/dist/chunks/{index-ChNh-3hE.cjs → index-CqRwYOdx.cjs} +1 -1
  5. package/dist/chunks/{super-editor.es-BVq92Kso.cjs → super-editor.es-D6NzJimH.cjs} +3 -3
  6. package/dist/chunks/{super-editor.es-79RKtHab.es.js → super-editor.es-D7SbZwUq.es.js} +4 -4
  7. package/dist/chunks/{url-CzUL97Mg.cjs → url-6Xu7gR4T.cjs} +1 -1
  8. package/dist/chunks/{url-DQNq0Qp2.es.js → url-JtF1FU-P.es.js} +1 -1
  9. package/dist/chunks/{xml-js-D94jSChq.es.js → xml-js-C3iiTGyg.es.js} +296 -303
  10. package/dist/chunks/xml-js-zhwNEV5e.cjs +10 -0
  11. package/dist/super-editor/ai-writer.es.js +1 -1
  12. package/dist/super-editor/chunks/{converter-wqOINzM4.js → converter-BM5J2lXV.js} +3 -3
  13. package/dist/super-editor/chunks/{docx-zipper-CPU38XCM.js → docx-zipper-CnpBPFWr.js} +1 -1
  14. package/dist/super-editor/chunks/{editor-DDxQ4LAV.js → editor-DtRpK6Op.js} +3 -3
  15. package/dist/super-editor/chunks/{toolbar-Bs7whny-.js → toolbar-CdwTZvEn.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/super-editor.es.js +6 -6
  21. package/dist/super-editor/toolbar.es.js +2 -2
  22. package/dist/super-editor.cjs +1 -1
  23. package/dist/super-editor.es.js +1 -1
  24. package/dist/superdoc.cjs +3 -3
  25. package/dist/superdoc.es.js +6 -6
  26. package/dist/superdoc.umd.js +5 -5
  27. package/dist/superdoc.umd.js.map +1 -1
  28. package/package.json +1 -1
  29. package/dist/chunks/xml-js-zfoNze4t.cjs +0 -10
@@ -1,5 +1,5 @@
1
- import { P as md, g as yd, c as bd, Q as jo, e as Wo, H as wd, d as Sd, D as Dd, M as vd, a as Fd } from "./chunks/super-editor.es-79RKtHab.es.js";
2
- import { O as Ib, b as Cb, U as fb } from "./chunks/super-editor.es-79RKtHab.es.js";
1
+ import { P as md, g as yd, c as bd, Q as jo, e as Wo, H as wd, d as Sd, D as Dd, M as vd, a as Fd } from "./chunks/super-editor.es-D7SbZwUq.es.js";
2
+ import { O as Ib, b as Cb, U as fb } from "./chunks/super-editor.es-D7SbZwUq.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";
@@ -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-CUdbVTOZ.es.js"
16791
+ "./chunks/index-CBHzddMM.es.js"
16792
16792
  ).then((d) => d.i), a = await import(
16793
16793
  /*webpackIgnore: true*/
16794
- "./chunks/index-TWNNkqFK.es.js"
16794
+ "./chunks/index-BE6rRNaJ.es.js"
16795
16795
  ).then((d) => d.i), o = await import(
16796
16796
  /*webpackIgnore: true*/
16797
- "./chunks/url-DQNq0Qp2.es.js"
16797
+ "./chunks/url-JtF1FU-P.es.js"
16798
16798
  ).then((d) => d.u);
16799
16799
  let l, h;
16800
16800
  try {
@@ -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.11", 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.12", 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;
@@ -22060,7 +22060,7 @@ Actual: ` + p3.attribValue
22060
22060
  function jd$2(r22) {
22061
22061
  const {
22062
22062
  node: { attrs: e = {} }
22063
- } = r22, n = new window.DOMParser().parseFromString(e.rawHtml, "text/html"), s = Et$2.create({
22063
+ } = r22, n = new window.DOMParser().parseFromString(e.rawHtml || e.displayLabel, "text/html"), s = Et$2.create({
22064
22064
  doc: yr$2.fromSchema(r22.editorSchema).parse(n)
22065
22065
  }).doc.toJSON();
22066
22066
  return {
@@ -24022,7 +24022,7 @@ Actual: ` + p3.attribValue
24022
24022
  return;
24023
24023
  }
24024
24024
  }
24025
- static updateDocumentVersion(e = this.convertedXml, t = "0.11.11") {
24025
+ static updateDocumentVersion(e = this.convertedXml, t = "0.11.12") {
24026
24026
  const n = "docProps/custom.xml";
24027
24027
  e[n] || (e[n] = Fu$2());
24028
24028
  const i3 = e["docProps/custom.xml"];
@@ -24285,7 +24285,7 @@ Actual: ` + p3.attribValue
24285
24285
  function Fu$2() {
24286
24286
  return Gf$1;
24287
24287
  }
24288
- function Bu$2(r22 = 2, e = "0.11.11") {
24288
+ function Bu$2(r22 = 2, e = "0.11.12") {
24289
24289
  return {
24290
24290
  type: "element",
24291
24291
  name: "property",
@@ -36795,7 +36795,7 @@ Actual: ` + p3.attribValue
36795
36795
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
36796
36796
  */
36797
36797
  processCollaborationMigrations() {
36798
- if (console.debug("[checkVersionMigrations] Current editor version", "0.11.11"), !this.options.ydoc) return;
36798
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.11.12"), !this.options.ydoc) return;
36799
36799
  let r = this.options.ydoc.getMap("meta").get("version");
36800
36800
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
36801
36801
  const o = dl$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
@@ -70556,7 +70556,7 @@ ${style2}
70556
70556
  this.config.colors = shuffleArray(this.config.colors);
70557
70557
  this.userColorMap = /* @__PURE__ */ new Map();
70558
70558
  this.colorIndex = 0;
70559
- this.version = "0.11.11";
70559
+ this.version = "0.11.12";
70560
70560
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
70561
70561
  this.superdocId = config.superdocId || v4();
70562
70562
  this.colors = this.config.colors;