@harbour-enterprises/superdoc 0.8.31 → 0.8.32

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-DjLrg1eZ.es.js → index-4z9dCXD4.es.js} +2 -2
  2. package/dist/chunks/{index-dZKHAFXF.es.js → index-C9CPh36N.es.js} +1 -1
  3. package/dist/chunks/{index-BXKGjuVW.cjs → index-MTg0RB9I.cjs} +1 -1
  4. package/dist/chunks/{index-CqRwYOdx.cjs → index-f-drtAbP.cjs} +1 -1
  5. package/dist/chunks/{super-editor.es-DW8rMUBO.cjs → super-editor.es-D3raD3o4.cjs} +3 -3
  6. package/dist/chunks/{super-editor.es-DiQ6ytI2.es.js → super-editor.es-DoabJdTI.es.js} +4 -4
  7. package/dist/chunks/{url-6Xu7gR4T.cjs → url-BY6ThfSE.cjs} +1 -1
  8. package/dist/chunks/{url-BxDGAI6E.es.js → url-CwZauKUC.es.js} +1 -1
  9. package/dist/chunks/xml-js-C-3oH1mO.cjs +10 -0
  10. package/dist/chunks/{xml-js-BAML2_fM.es.js → xml-js-CCS2urF-.es.js} +366 -355
  11. package/dist/super-editor/chunks/{converter-BE8UkEHA.js → converter-EhD8_EEa.js} +2 -2
  12. package/dist/super-editor/chunks/{docx-zipper-B7iW1WqK.js → docx-zipper-B45oAPNp.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-D7e-8Caj.js → editor-CmesZx1J.js} +3 -3
  14. package/dist/super-editor/chunks/{toolbar-C_A0zvKt.js → toolbar-ByGT4icp.js} +2 -2
  15. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  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 +7 -7
  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-zhwNEV5e.cjs +0 -10
@@ -1,5 +1,5 @@
1
- import { R as md, m as yd, d as bd, V as jo, a as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-DiQ6ytI2.es.js";
2
- import { F as cb, I as lb, b as gb } from "./chunks/super-editor.es-DiQ6ytI2.es.js";
1
+ import { R as md, m as yd, d as bd, V as jo, a as Wo, v as wd, f as Sd, p as Dd, c as vd } from "./chunks/super-editor.es-DoabJdTI.es.js";
2
+ import { F as cb, I as lb, b as gb } from "./chunks/super-editor.es-DoabJdTI.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";
@@ -16786,13 +16786,13 @@ var Ge = globalThis.pdfjsLib = {};
16786
16786
  "./chunks/empty-GlqisfcO.es.js"
16787
16787
  ), s = await import(
16788
16788
  /*webpackIgnore: true*/
16789
- "./chunks/index-DjLrg1eZ.es.js"
16789
+ "./chunks/index-4z9dCXD4.es.js"
16790
16790
  ).then((d) => d.i), a = await import(
16791
16791
  /*webpackIgnore: true*/
16792
- "./chunks/index-dZKHAFXF.es.js"
16792
+ "./chunks/index-C9CPh36N.es.js"
16793
16793
  ).then((d) => d.i), o = await import(
16794
16794
  /*webpackIgnore: true*/
16795
- "./chunks/url-BxDGAI6E.es.js"
16795
+ "./chunks/url-CwZauKUC.es.js"
16796
16796
  ).then((d) => d.u);
16797
16797
  let l, h;
16798
16798
  try {
@@ -32527,7 +32527,7 @@ class ab extends eg {
32527
32527
  this.config = {
32528
32528
  ...this.config,
32529
32529
  ...t
32530
- }, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.8.31", 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);
32530
+ }, this.config.colors = RI(this.config.colors), this.userColorMap = /* @__PURE__ */ new Map(), this.colorIndex = 0, this.version = "0.8.32", 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);
32531
32531
  }
32532
32532
  get requiredNumberOfEditors() {
32533
32533
  return this.superdocStore.documents.filter((t) => t.type === On).length;
@@ -22052,7 +22052,7 @@ Actual: ` + h3.attribValue
22052
22052
  return;
22053
22053
  }
22054
22054
  }
22055
- static updateDocumentVersion(e = this.convertedXml, t = "0.8.31") {
22055
+ static updateDocumentVersion(e = this.convertedXml, t = "0.8.32") {
22056
22056
  const n = "docProps/custom.xml";
22057
22057
  e[n] || (e[n] = yu$2());
22058
22058
  const i3 = e["docProps/custom.xml"];
@@ -22252,7 +22252,7 @@ Actual: ` + h3.attribValue
22252
22252
  function yu$2() {
22253
22253
  return Tf$2;
22254
22254
  }
22255
- function wu$2(r22 = 2, e = "0.8.31") {
22255
+ function wu$2(r22 = 2, e = "0.8.32") {
22256
22256
  return {
22257
22257
  type: "element",
22258
22258
  name: "property",
@@ -33551,7 +33551,7 @@ Actual: ` + h3.attribValue
33551
33551
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
33552
33552
  */
33553
33553
  processCollaborationMigrations() {
33554
- if (console.debug("[checkVersionMigrations] Current editor version", "0.8.31"), !this.options.ydoc) return;
33554
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.8.32"), !this.options.ydoc) return;
33555
33555
  let r = this.options.ydoc.getMap("meta").get("version");
33556
33556
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
33557
33557
  const o = Ga$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
@@ -50497,7 +50497,7 @@ ${t}
50497
50497
  }
50498
50498
  }
50499
50499
  L = /* @__PURE__ */ new WeakSet(), Ze = function() {
50500
- this.config.groups && !Array.isArray(this.config.groups) && Object.keys(this.config.groups).length ? this.config.toolbarGroups = Object.keys(this.config.groups) : this.config.toolbarGroups = ["left", "center", "right"];
50500
+ this.config.groups && !Array.isArray(this.config.groups) && Object.keys(this.config.groups).length && (this.config.toolbarGroups = Object.keys(this.config.groups));
50501
50501
  }, fe = /* @__PURE__ */ new WeakMap(), Be = function(o, n, e = false) {
50502
50502
  const i3 = document.documentElement.clientWidth, { defaultItems: c3, overflowItems: l } = Wn(o, e, i3, this.role, n);
50503
50503
  let a = [
@@ -65665,7 +65665,7 @@ ${style2}
65665
65665
  this.config.colors = shuffleArray(this.config.colors);
65666
65666
  this.userColorMap = /* @__PURE__ */ new Map();
65667
65667
  this.colorIndex = 0;
65668
- this.version = "0.8.31";
65668
+ this.version = "0.8.32";
65669
65669
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
65670
65670
  this.superdocId = config.superdocId || v4();
65671
65671
  this.colors = this.config.colors;