@harbour-enterprises/superdoc 0.11.57 → 0.11.58

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-Dw-Q9hD6.cjs → index-BWoN1jpL.cjs} +1 -1
  2. package/dist/chunks/{index-CWj8iOm4.es.js → index-Bu0Qz4_D.es.js} +1 -1
  3. package/dist/chunks/{index-CVyuWad2.es.js → index-CsjnTatF.es.js} +2 -2
  4. package/dist/chunks/{index-Dnm6LcB6.cjs → index-DLLQ5PJZ.cjs} +1 -1
  5. package/dist/chunks/{super-editor.es-kMbvFzrR.cjs → super-editor.es-D4v1tv4j.cjs} +41 -41
  6. package/dist/chunks/{super-editor.es-BuT2FFqD.es.js → super-editor.es-qCwVvR8-.es.js} +1958 -1978
  7. package/dist/chunks/{url-NtSPOzqh.es.js → url-D8ItQPzc.es.js} +1 -1
  8. package/dist/chunks/{url-BV2RvrTf.cjs → url-DRW8x74x.cjs} +1 -1
  9. package/dist/chunks/xml-js-DrlOWTO_.cjs +10 -0
  10. package/dist/chunks/{xml-js-BvgqUvJ5.es.js → xml-js-yTXP6usI.es.js} +638 -616
  11. package/dist/super-editor/ai-writer.es.js +2 -2
  12. package/dist/super-editor/chunks/{converter-D3X034CV.js → converter-BIFb-l0C.js} +269 -289
  13. package/dist/super-editor/chunks/{docx-zipper-CczfH-Gl.js → docx-zipper-Bf04SHvT.js} +1 -1
  14. package/dist/super-editor/chunks/{editor-CMO-734F.js → editor-BZ4VbwzA.js} +3 -3
  15. package/dist/super-editor/chunks/{toolbar-d1TvqceK.js → toolbar-mC-hpKkm.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 +378 -398
  27. package/dist/superdoc.umd.js.map +1 -1
  28. package/package.json +1 -1
  29. package/dist/chunks/xml-js-CCvZbbr7.cjs +0 -10
@@ -1,4 +1,4 @@
1
- import { x as Tt, a0 as wt, B as ut, a1 as Bt, a2 as Rt, a3 as Dt } from "./converter-D3X034CV.js";
1
+ import { x as Tt, a0 as wt, B as ut, a1 as Bt, a2 as Rt, a3 as Dt } from "./converter-BIFb-l0C.js";
2
2
  function kt(bt) {
3
3
  throw new Error('Could not dynamically require "' + bt + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -7,9 +7,9 @@ var L = (t, e, n) => zf(t, typeof e != "symbol" ? e + "" : e, n), Qo = (t, e, n)
7
7
  var Qe = (t, e, n) => (Qo(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ft = (t, e, n) => e.has(t) ? ua("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), ei = (t, e, n, r) => (Qo(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), E = (t, e, n) => (Qo(t, e, "access private method"), n);
8
8
  import * as N from "yjs";
9
9
  import { UndoManager as _f, Item as $f, ContentType as Vf, Text as Hf, XmlElement as jf } from "yjs";
10
- import { P as X, a as J, M as hr, c as Y, i as Wf, S as gc, b as wt, l as Er, A as Pr, d as jt, j as yc, N as z, r as bc, e as ee, T as j, F as D, R as ln, f as W, o as mr, g as fa, D as rn, h as Vt, k as Ei, m as wc, n as Uf, p as qf, q as xn, s as So, t as Kf, u as Wn, v as Xf, w as vc, x as oe, B as Jf, y as Yf, z as de, C as Ve, E as Ir, G as Se, H as fo, I as kc, J as Sn, K as ti, L as ni, O as ri, Q as po, U as Rt, V as $o, W as Gf, X as pa, Y as ha, Z as Zf, _ as Qf, $ as ep } from "./converter-D3X034CV.js";
10
+ import { P as X, a as J, M as hr, c as Y, i as Wf, S as gc, b as wt, l as Er, A as Pr, d as jt, j as yc, N as z, r as bc, e as ee, T as j, F as D, R as ln, f as W, o as mr, g as fa, D as rn, h as Vt, k as Ei, m as wc, n as Uf, p as qf, q as xn, s as So, t as Kf, u as Wn, v as Xf, w as vc, x as oe, B as Jf, y as Yf, z as de, C as Ve, E as Ir, G as Se, H as fo, I as kc, J as Sn, K as ti, L as ni, O as ri, Q as po, U as Rt, V as $o, W as Gf, X as pa, Y as ha, Z as Zf, _ as Qf, $ as ep } from "./converter-BIFb-l0C.js";
11
11
  import { ref as ma, computed as tp, createElementBlock as Xt, openBlock as Jt, withModifiers as oi, Fragment as np, renderList as rp, normalizeClass as op, createCommentVNode as ga, toDisplayString as ii, createElementVNode as ip, createApp as sp } from "vue";
12
- import { D as ya } from "./docx-zipper-CczfH-Gl.js";
12
+ import { D as ya } from "./docx-zipper-Bf04SHvT.js";
13
13
  function Vo(t) {
14
14
  const { from: e, to: n, empty: r } = t.selection, o = [];
15
15
  return r ? (t.storedMarks && o.push(...t.storedMarks), o.push(...t.selection.$head.marks())) : t.doc.nodesBetween(e, n, (i) => {
@@ -10365,7 +10365,7 @@ const ca = class ca extends Qy {
10365
10365
  * @returns {Object | void} Migration results
10366
10366
  */
10367
10367
  processCollaborationMigrations() {
10368
- if (console.debug("[checkVersionMigrations] Current editor version", "0.11.57"), !this.options.ydoc) return;
10368
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.11.58"), !this.options.ydoc) return;
10369
10369
  let r = this.options.ydoc.getMap("meta").get("version");
10370
10370
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
10371
10371
  const o = hl(r) || [], s = this.state.plugins.find((c) => c.key.startsWith("y-sync"));
@@ -1,6 +1,6 @@
1
1
  import { computed as _, createElementBlock as ie, openBlock as q, createElementVNode as Ot, createCommentVNode as he, normalizeClass as en, normalizeStyle as Tt, ref as R, unref as W, createBlock as Ge, toDisplayString as Xn, withDirectives as ft, withKeys as Hr, withModifiers as jr, vModelText as Wr, getCurrentInstance as Lt, createVNode as ct, readonly as tn, watch as we, onMounted as Ke, onBeforeUnmount as Be, reactive as Us, onBeforeMount as fr, inject as te, onActivated as Gs, onDeactivated as oi, createTextVNode as ht, Fragment as _e, Comment as hr, defineComponent as ee, provide as Se, h as A, Teleport as Xs, toRef as se, nextTick as ii, renderSlot as qs, isVNode as Ys, shallowRef as Zs, watchEffect as pt, mergeProps as gt, Transition as nn, vShow as Js, cloneVNode as Qs, Text as el, renderList as tl, withCtx as xt } from "vue";
2
- import { x as rn } from "./converter-D3X034CV.js";
3
- import { _ as mt, g as kt } from "./editor-CMO-734F.js";
2
+ import { x as rn } from "./converter-BIFb-l0C.js";
3
+ import { _ as mt, g as kt } from "./editor-BZ4VbwzA.js";
4
4
  const I0 = (e, t) => {
5
5
  let n = e.replace(/[^0-9.]/g, "");
6
6
  return n = parseFloat(n), isNaN(n) && (n = t), n = parseFloat(n), n;
@@ -1,4 +1,4 @@
1
- import { O as o } from "./chunks/converter-D3X034CV.js";
1
+ import { O as o } from "./chunks/converter-BIFb-l0C.js";
2
2
  export {
3
3
  o as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-D3X034CV.js";
2
- import { D as a } from "./chunks/docx-zipper-CczfH-Gl.js";
1
+ import "./chunks/converter-BIFb-l0C.js";
2
+ import { D as a } from "./chunks/docx-zipper-Bf04SHvT.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E as m } from "./chunks/editor-CMO-734F.js";
2
- import "./chunks/converter-D3X034CV.js";
3
- import "./chunks/docx-zipper-CczfH-Gl.js";
1
+ import { E as m } from "./chunks/editor-BZ4VbwzA.js";
2
+ import "./chunks/converter-BIFb-l0C.js";
3
+ import "./chunks/docx-zipper-Bf04SHvT.js";
4
4
  export {
5
5
  m as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as p } from "./chunks/docx-zipper-CczfH-Gl.js";
1
+ import { J as p } from "./chunks/docx-zipper-Bf04SHvT.js";
2
2
  async function c(o, t) {
3
3
  const e = new p();
4
4
  return o.forEach((i, n) => {
@@ -6,14 +6,14 @@ var bt = (t, r, o) => r in t ? yt(t, r, { enumerable: !0, configurable: !0, writ
6
6
  var Re = (t, r, o) => bt(t, typeof r != "symbol" ? r + "" : r, o), qe = (t, r, o) => r.has(t) || Ue("Cannot " + o);
7
7
  var Ae = (t, r, o) => (qe(t, r, "read from private field"), o ? o.call(t) : r.get(t)), Oe = (t, r, o) => r.has(t) ? Ue("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, o);
8
8
  var z = (t, r, o) => (qe(t, r, "access private method"), o);
9
- import { _ as q, a as Ze, b as wt, I as Ne, f as Ct, c as Ge, d as kt, i as _t, u as xt, r as Et, E as ze, e as St, P as At, h as Tt, M as Ft, j as It, A as Lt, N as Mt } from "./chunks/editor-CMO-734F.js";
10
- import { C as No, T as zo, l as Vo, n as Wo, k as Po, m as jo } from "./chunks/editor-CMO-734F.js";
11
- import { a1 as Dt, E as $t, a4 as Ht, T as Ye, a as Bt } from "./chunks/converter-D3X034CV.js";
12
- import { O as qo } from "./chunks/converter-D3X034CV.js";
9
+ import { _ as q, a as Ze, b as wt, I as Ne, f as Ct, c as Ge, d as kt, i as _t, u as xt, r as Et, E as ze, e as St, P as At, h as Tt, M as Ft, j as It, A as Lt, N as Mt } from "./chunks/editor-BZ4VbwzA.js";
10
+ import { C as No, T as zo, l as Vo, n as Wo, k as Po, m as jo } from "./chunks/editor-BZ4VbwzA.js";
11
+ import { a1 as Dt, E as $t, a4 as Ht, T as Ye, a as Bt } from "./chunks/converter-BIFb-l0C.js";
12
+ import { O as qo } from "./chunks/converter-BIFb-l0C.js";
13
13
  import { ref as f, createElementBlock as C, openBlock as w, createElementVNode as k, unref as D, getCurrentInstance as Rt, computed as j, watch as Ot, onMounted as ke, createCommentVNode as Q, withDirectives as Je, withKeys as Qe, normalizeClass as oe, withModifiers as ge, vModelText as et, createTextVNode as tt, toDisplayString as ie, Fragment as U, renderList as ee, normalizeStyle as J, createVNode as P, h as B, createApp as Nt, reactive as Ke, onUnmounted as zt, shallowRef as nt, onBeforeUnmount as ot, createBlock as Vt } from "vue";
14
- import { t as X, s as Wt, T as Pt, N as Y } from "./chunks/toolbar-d1TvqceK.js";
14
+ import { t as X, s as Wt, T as Pt, N as Y } from "./chunks/toolbar-mC-hpKkm.js";
15
15
  import jt from "./ai-writer.es.js";
16
- import { D as Ko } from "./chunks/docx-zipper-CczfH-Gl.js";
16
+ import { D as Ko } from "./chunks/docx-zipper-Bf04SHvT.js";
17
17
  import { createZip as Zo } from "./file-zipper.es.js";
18
18
  var it = { exports: {} };
19
19
  (function(t) {
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T as p } from "./chunks/toolbar-d1TvqceK.js";
3
- import "./chunks/editor-CMO-734F.js";
2
+ import { T as p } from "./chunks/toolbar-mC-hpKkm.js";
3
+ import "./chunks/editor-BZ4VbwzA.js";
4
4
  export {
5
5
  p as default
6
6
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-kMbvFzrR.cjs");require("./chunks/vue-BQCc2YbW.cjs");exports.AIWriter=e.xe;exports.BasicUpload=e.$o;exports.CommentsPluginKey=e.ge;exports.DocxZipper=e.Pt;exports.Editor=e.ns;exports.Extensions=e.Bo;exports.SuperConverter=e.Ot;exports.SuperEditor=e.Do;exports.SuperInput=e.Ho;exports.SuperToolbar=e.Mo;exports.Toolbar=e.P0;exports.TrackChangesBasePluginKey=e.ce;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Jx;exports.getActiveFormatting=e.ap;exports.getAllowedImageDimensions=e.mo;exports.getMarksFromSelection=e.Vo;exports.getRichTextExtensions=e.Bx;exports.getStarterExtensions=e.zx;exports.helpers=e.Rs;exports.trackChangesHelpers=e.Gx;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-D4v1tv4j.cjs");require("./chunks/vue-BQCc2YbW.cjs");exports.AIWriter=e.xe;exports.BasicUpload=e.$o;exports.CommentsPluginKey=e.ge;exports.DocxZipper=e.Pt;exports.Editor=e.ns;exports.Extensions=e.Bo;exports.SuperConverter=e.Ot;exports.SuperEditor=e.Do;exports.SuperInput=e.Ho;exports.SuperToolbar=e.Mo;exports.Toolbar=e.P0;exports.TrackChangesBasePluginKey=e.ce;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Jx;exports.getActiveFormatting=e.ap;exports.getAllowedImageDimensions=e.mo;exports.getMarksFromSelection=e.Vo;exports.getRichTextExtensions=e.Bx;exports.getStarterExtensions=e.zx;exports.helpers=e.Rs;exports.trackChangesHelpers=e.Gx;
@@ -1,4 +1,4 @@
1
- import { x as r, $ as t, g as o, P as n, n as i, B as p, O as g, D as l, H as c, M as m, a as u, c as x, b as d, J as S, d as E, m as h, V as A, e as C, z as T, R as b, G as k } from "./chunks/super-editor.es-BuT2FFqD.es.js";
1
+ import { x as r, $ as t, g as o, P as n, n as i, B as p, O as g, D as l, H as c, M as m, a as u, c as x, b as d, J as S, d as E, m as h, V as A, e as C, z as T, R as b, G as k } from "./chunks/super-editor.es-qCwVvR8-.es.js";
2
2
  import "./chunks/vue-DKS68Dra.es.js";
3
3
  export {
4
4
  r as AIWriter,