@harbour-enterprises/superdoc 0.9.44 → 0.9.45

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.
@@ -16215,7 +16215,7 @@ const ds = class m1 {
16215
16215
  return;
16216
16216
  }
16217
16217
  }
16218
- static updateDocumentVersion(e = this.convertedXml, n = "0.9.44") {
16218
+ static updateDocumentVersion(e = this.convertedXml, n = "0.9.45") {
16219
16219
  const r = "docProps/custom.xml";
16220
16220
  e[r] || (e[r] = g1());
16221
16221
  const o = e["docProps/custom.xml"];
@@ -16440,7 +16440,7 @@ function t6(t) {
16440
16440
  function g1() {
16441
16441
  return FC;
16442
16442
  }
16443
- function y1(t = 2, e = "0.9.44") {
16443
+ function y1(t = 2, e = "0.9.45") {
16444
16444
  return {
16445
16445
  type: "element",
16446
16446
  name: "property",
@@ -28910,7 +28910,7 @@ const j_ = class fx extends L5 {
28910
28910
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
28911
28911
  */
28912
28912
  processCollaborationMigrations() {
28913
- if (console.debug("[checkVersionMigrations] Current editor version", "0.9.44"), !this.options.ydoc) return;
28913
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.9.45"), !this.options.ydoc) return;
28914
28914
  let e = this.options.ydoc.getMap("meta").get("version");
28915
28915
  e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
28916
28916
  const n = Jy(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
@@ -16230,7 +16230,7 @@ const dt = class dt {
16230
16230
  return;
16231
16231
  }
16232
16232
  }
16233
- static updateDocumentVersion(e = this.convertedXml, t = "0.9.44") {
16233
+ static updateDocumentVersion(e = this.convertedXml, t = "0.9.45") {
16234
16234
  const n = "docProps/custom.xml";
16235
16235
  e[n] || (e[n] = Tu());
16236
16236
  const i = e["docProps/custom.xml"];
@@ -16455,7 +16455,7 @@ function ap(r) {
16455
16455
  function Tu() {
16456
16456
  return _f;
16457
16457
  }
16458
- function Fu(r = 2, e = "0.9.44") {
16458
+ function Fu(r = 2, e = "0.9.45") {
16459
16459
  return {
16460
16460
  type: "element",
16461
16461
  name: "property",
@@ -1,4 +1,4 @@
1
- import { p as Tt, U as wt, B as ut, V as Bt, W as Rt } from "./converter-DRFKhyxz.js";
1
+ import { p as Tt, U as wt, B as ut, V as Bt, W as Rt } from "./converter-CIAXRSfK.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 P = (t, e, n) => uf(t, typeof e != "symbol" ? e + "" : e, n), Ho = (t, e, n)
7
7
  var Ge = (t, e, n) => (Ho(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ft = (t, e, n) => e.has(t) ? Ys("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), jo = (t, e, n, r) => (Ho(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), I = (t, e, n) => (Ho(t, e, "access private method"), n);
8
8
  import * as T from "yjs";
9
9
  import { UndoManager as ff, Item as pf, ContentType as hf, Text as mf, XmlElement as gf } from "yjs";
10
- import { P as G, a as Z, M as cr, N as B, S as Y, T as H, b as W, D as $n, F as E, c as tn, d as yf, e as Jl, A as Ar, p as ie, B as bf, f as Yl, i as wf, g as wt, l as Or, h as Ht, j as Gl, r as Zl, R as an, o as dr, k as $t, m as bi, n as Ql, q as ue, s as $e, v as Do, t as Cn, u as vf, w as Se, x as to, y as ec, z as Sn, C as Wo, E as Uo, G as qo, H as no, I as kf, J as Gs, K as Zs, L as Cf, O as Sf, Q as xf } from "./converter-DRFKhyxz.js";
10
+ import { P as G, a as Z, M as cr, N as B, S as Y, T as H, b as W, D as $n, F as E, c as tn, d as yf, e as Jl, A as Ar, p as ie, B as bf, f as Yl, i as wf, g as wt, l as Or, h as Ht, j as Gl, r as Zl, R as an, o as dr, k as $t, m as bi, n as Ql, q as ue, s as $e, v as Do, t as Cn, u as vf, w as Se, x as to, y as ec, z as Sn, C as Wo, E as Uo, G as qo, H as no, I as kf, J as Gs, K as Zs, L as Cf, O as Sf, Q as xf } from "./converter-CIAXRSfK.js";
11
11
  import { ref as Qs, computed as Mf, createElementBlock as Kt, openBlock as Xt, withModifiers as Ko, Fragment as Af, renderList as Of, normalizeClass as Tf, createCommentVNode as ea, toDisplayString as Xo, createElementVNode as Df, createApp as Nf } from "vue";
12
- import { D as ta } from "./docx-zipper-BIX-rMe3.js";
12
+ import { D as ta } from "./docx-zipper-bty-lFSt.js";
13
13
  function No(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) => {
@@ -10048,7 +10048,7 @@ const Xs = class Xs extends ag {
10048
10048
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
10049
10049
  */
10050
10050
  processCollaborationMigrations() {
10051
- if (console.debug("[checkVersionMigrations] Current editor version", "0.9.44"), !this.options.ydoc) return;
10051
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.9.45"), !this.options.ydoc) return;
10052
10052
  let r = this.options.ydoc.getMap("meta").get("version");
10053
10053
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
10054
10054
  const o = Qa(r) || [], s = this.state.plugins.find((c) => c.key.startsWith("y-sync"));
@@ -1,6 +1,6 @@
1
1
  import { computed as _, createElementBlock as se, openBlock as q, createElementVNode as pn, createCommentVNode as pe, normalizeClass as Zt, normalizeStyle as Jt, ref as R, unref as W, createBlock as Ge, toDisplayString as ni, withDirectives as dt, withKeys as Nr, withModifiers as Hr, vModelText as jr, getCurrentInstance as _t, createVNode as Et, readonly as Qt, watch as we, onMounted as Ke, onBeforeUnmount as Be, reactive as Ks, onBeforeMount as dr, inject as te, onActivated as Vs, onDeactivated as ri, createTextVNode as At, Fragment as _e, Comment as fr, defineComponent as ee, provide as Se, h as E, Teleport as Us, toRef as ie, nextTick as Gs, renderSlot as Xs, isVNode as qs, shallowRef as Ys, watchEffect as ft, mergeProps as pt, Transition as en, vShow as Zs, cloneVNode as Js, Text as Qs, renderList as el, withCtx as Bn } from "vue";
2
- import { p as tn } from "./converter-DRFKhyxz.js";
3
- import { _ as vt, g as Pt } from "./editor-Bq1wFV-S.js";
2
+ import { p as tn } from "./converter-CIAXRSfK.js";
3
+ import { _ as vt, g as Pt } from "./editor-DprVb7lQ.js";
4
4
  const Mp = (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 { G as o } from "./chunks/converter-DRFKhyxz.js";
1
+ import { G as o } from "./chunks/converter-CIAXRSfK.js";
2
2
  export {
3
3
  o as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-DRFKhyxz.js";
2
- import { D as a } from "./chunks/docx-zipper-BIX-rMe3.js";
1
+ import "./chunks/converter-CIAXRSfK.js";
2
+ import { D as a } from "./chunks/docx-zipper-bty-lFSt.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E as m } from "./chunks/editor-Bq1wFV-S.js";
2
- import "./chunks/converter-DRFKhyxz.js";
3
- import "./chunks/docx-zipper-BIX-rMe3.js";
1
+ import { E as m } from "./chunks/editor-DprVb7lQ.js";
2
+ import "./chunks/converter-CIAXRSfK.js";
3
+ import "./chunks/docx-zipper-bty-lFSt.js";
4
4
  export {
5
5
  m as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as p } from "./chunks/docx-zipper-BIX-rMe3.js";
1
+ import { J as p } from "./chunks/docx-zipper-bty-lFSt.js";
2
2
  async function c(o, t) {
3
3
  const e = new p();
4
4
  return o.forEach((i, n) => {
@@ -6,13 +6,13 @@ var rt = (t, s, o) => s in t ? at(t, s, { enumerable: !0, configurable: !0, writ
6
6
  var Ie = (t, s, o) => rt(t, typeof s != "symbol" ? s + "" : s, o), ze = (t, s, o) => s.has(t) || Ne("Cannot " + o);
7
7
  var we = (t, s, o) => (ze(t, s, "read from private field"), o ? o.call(t) : s.get(t)), Le = (t, s, o) => s.has(t) ? Ne("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, o);
8
8
  var O = (t, s, o) => (ze(t, s, "access private method"), o);
9
- import { _ as X, a as Ue, b as ct, I as Me, f as dt, c as Pe, d as ut, i as mt, u as pt, r as ft, E as De, e as ht, P as vt, h as gt, j as yt, A as bt, N as kt } from "./chunks/editor-Bq1wFV-S.js";
10
- import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-Bq1wFV-S.js";
11
- import { V as Ct, v as _t, X as wt, T as Ve, a as xt } from "./chunks/converter-DRFKhyxz.js";
12
- import { G as To } from "./chunks/converter-DRFKhyxz.js";
9
+ import { _ as X, a as Ue, b as ct, I as Me, f as dt, c as Pe, d as ut, i as mt, u as pt, r as ft, E as De, e as ht, P as vt, h as gt, j as yt, A as bt, N as kt } from "./chunks/editor-DprVb7lQ.js";
10
+ import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-DprVb7lQ.js";
11
+ import { V as Ct, v as _t, X as wt, T as Ve, a as xt } from "./chunks/converter-CIAXRSfK.js";
12
+ import { G as To } from "./chunks/converter-CIAXRSfK.js";
13
13
  import { ref as g, createElementBlock as C, openBlock as k, createElementVNode as x, unref as $, getCurrentInstance as Et, computed as j, watch as St, onMounted as ke, createCommentVNode as ee, withDirectives as Tt, withKeys as At, normalizeClass as te, withModifiers as be, vModelText as Ft, createTextVNode as It, toDisplayString as ne, Fragment as U, renderList as J, normalizeStyle as Y, createVNode as P, h as W, createApp as Lt, reactive as We, onUnmounted as Mt, shallowRef as qe, onBeforeUnmount as Ge, createBlock as Dt } from "vue";
14
- import { t as G, s as $t, T as Bt, N as Z } from "./chunks/toolbar-CIyaLDwF.js";
15
- import { D as Fo } from "./chunks/docx-zipper-BIX-rMe3.js";
14
+ import { t as G, s as $t, T as Bt, N as Z } from "./chunks/toolbar-Cgm6inhy.js";
15
+ import { D as Fo } from "./chunks/docx-zipper-bty-lFSt.js";
16
16
  import { createZip as Lo } from "./file-zipper.es.js";
17
17
  var Xe = { exports: {} };
18
18
  (function(t) {
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T as p } from "./chunks/toolbar-CIyaLDwF.js";
3
- import "./chunks/editor-Bq1wFV-S.js";
2
+ import { T as p } from "./chunks/toolbar-Cgm6inhy.js";
3
+ import "./chunks/editor-DprVb7lQ.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-D6WTnPQA.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.ho;exports.CommentsPluginKey=e.he;exports.DocxZipper=e.Nt;exports.Editor=e.ji;exports.Extensions=e.go;exports.SuperConverter=e.Nt$1;exports.SuperEditor=e.fo;exports.SuperInput=e.vo;exports.SuperToolbar=e.po;exports.Toolbar=e._p;exports.TrackChangesBasePluginKey=e.de;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Kk;exports.getActiveFormatting=e.Ef;exports.getAllowedImageDimensions=e.Gn;exports.getMarksFromSelection=e.No;exports.getRichTextExtensions=e.Lk;exports.getStarterExtensions=e.Fk;exports.helpers=e.Sd;exports.trackChangesHelpers=e.Jk;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-Cp8PYGOU.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.ho;exports.CommentsPluginKey=e.he;exports.DocxZipper=e.Nt;exports.Editor=e.ji;exports.Extensions=e.go;exports.SuperConverter=e.Nt$1;exports.SuperEditor=e.fo;exports.SuperInput=e.vo;exports.SuperToolbar=e.po;exports.Toolbar=e._p;exports.TrackChangesBasePluginKey=e.de;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Kk;exports.getActiveFormatting=e.Ef;exports.getAllowedImageDimensions=e.Gn;exports.getMarksFromSelection=e.No;exports.getRichTextExtensions=e.Lk;exports.getStarterExtensions=e.Fk;exports.helpers=e.Sd;exports.trackChangesHelpers=e.Jk;
@@ -1,4 +1,4 @@
1
- import { h as t, a as r, N as o, j as n, g as i, b as p, f as g, v as l, p as c, _ as m, d as u, c as S, K as d, E as x, G as E, e as h, L as C, F as T, S as b, J as f } from "./chunks/super-editor.es-bTCm92In.es.js";
1
+ import { h as t, a as r, N as o, j as n, g as i, b as p, f as g, v as l, p as c, _ as m, d as u, c as S, K as d, E as x, G as E, e as h, L as C, F as T, S as b, J as f } from "./chunks/super-editor.es-O5E3bdjQ.es.js";
2
2
  import "./chunks/vue-BDbTsTMu.es.js";
3
3
  export {
4
4
  t as BasicUpload,