@harbour-enterprises/superdoc 0.9.33 → 0.9.34
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.
- package/dist/chunks/{index-Bq_aNm9n.es.js → index-BR0d39LK.es.js} +2 -2
- package/dist/chunks/{index-B5GDfEJg.es.js → index-CFw3GWZb.es.js} +1 -1
- package/dist/chunks/{index--PIRPKWt.cjs → index-Da1nm1Nx.cjs} +1 -1
- package/dist/chunks/{index-DrgTIkvI.cjs → index-zi2PhUgG.cjs} +1 -1
- package/dist/chunks/{super-editor.es-y2QD_ueu.cjs → super-editor.es-BBj7vFp-.cjs} +32 -32
- package/dist/chunks/{super-editor.es-B8noCvT1.es.js → super-editor.es-CPySz799.es.js} +1889 -1889
- package/dist/chunks/{url-BDmRlERW.es.js → url-BBWjYHis.es.js} +1 -1
- package/dist/chunks/{url-C5DCBLAS.cjs → url-CsA0aP-j.cjs} +1 -1
- package/dist/chunks/{xml-js-DMX8C2aY.es.js → xml-js-BK8neRFY.es.js} +407 -411
- package/dist/chunks/{xml-js-DN6JJ8Mw.cjs → xml-js-Dl3GDIvM.cjs} +2 -2
- package/dist/super-editor/chunks/{converter-CdhiEvSA.js → converter-A8jhEHAV.js} +271 -271
- package/dist/super-editor/chunks/{docx-zipper-Cb4eXMOp.js → docx-zipper-ChOmGxQY.js} +1 -1
- package/dist/super-editor/chunks/{editor-Czx51mKu.js → editor-CPeWTjoI.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BE-PZVKR.js → toolbar-DS4sA_rD.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +344 -344
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Tt, U as wt, B as ut, V as Bt, W as Rt } from "./converter-
|
|
1
|
+
import { p as Tt, U as wt, B as ut, V as Bt, W as Rt } from "./converter-A8jhEHAV.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) => ff(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 pf, Item as hf, ContentType as mf, Text as gf, XmlElement as yf } from "yjs";
|
|
10
|
-
import { P as G, a as Z, M as dr, N as F, S as Y, T as H, b as W, D as Vn, F as E, c as An, d as bf, e as Jl, A as Ar, p as ie, B as wf, f as Yl, i as vf, g as wt, l as Or, h as Ht, j as Gl, r as Zl, R as sn, o as ur, k as $t, m as bi, n as Ql, q as ue, s as $e, v as Do, t as kn, u as kf, w as Se, x as to, y as ec, z as Cn, C as Wo, E as Uo, G as qo, H as no, I as Cf, J as Gs, K as Zs, L as Sf, O as Mf, Q as xf } from "./converter-
|
|
10
|
+
import { P as G, a as Z, M as dr, N as F, S as Y, T as H, b as W, D as Vn, F as E, c as An, d as bf, e as Jl, A as Ar, p as ie, B as wf, f as Yl, i as vf, g as wt, l as Or, h as Ht, j as Gl, r as Zl, R as sn, o as ur, k as $t, m as bi, n as Ql, q as ue, s as $e, v as Do, t as kn, u as kf, w as Se, x as to, y as ec, z as Cn, C as Wo, E as Uo, G as qo, H as no, I as Cf, J as Gs, K as Zs, L as Sf, O as Mf, Q as xf } from "./converter-A8jhEHAV.js";
|
|
11
11
|
import { ref as Qs, computed as Af, createElementBlock as Kt, openBlock as Xt, withModifiers as Ko, Fragment as Of, renderList as Tf, normalizeClass as Df, createCommentVNode as ea, toDisplayString as Xo, createElementVNode as Nf, createApp as Ef } from "vue";
|
|
12
|
-
import { D as ta } from "./docx-zipper-
|
|
12
|
+
import { D as ta } from "./docx-zipper-ChOmGxQY.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) => {
|
|
@@ -10028,7 +10028,7 @@ const Xs = class Xs extends lg {
|
|
|
10028
10028
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
10029
10029
|
*/
|
|
10030
10030
|
processCollaborationMigrations() {
|
|
10031
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.9.
|
|
10031
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.9.34"), !this.options.ydoc) return;
|
|
10032
10032
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
10033
10033
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
10034
10034
|
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-
|
|
3
|
-
import { _ as vt, g as Pt } from "./editor-
|
|
2
|
+
import { p as tn } from "./converter-A8jhEHAV.js";
|
|
3
|
+
import { _ as vt, g as Pt } from "./editor-CPeWTjoI.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAuBA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAkCxB;AA8BD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;
|
|
1
|
+
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAuBA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAkCxB;AA8BD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;AAwiDD;;;;;;;;;EASC;AAED;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CA4DF;;;;;;;;;;;;;mBAzvDa,KAAQ;;;;;;UAKR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as m } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E as m } from "./chunks/editor-CPeWTjoI.js";
|
|
2
|
+
import "./chunks/converter-A8jhEHAV.js";
|
|
3
|
+
import "./chunks/docx-zipper-ChOmGxQY.js";
|
|
4
4
|
export {
|
|
5
5
|
m as Editor
|
|
6
6
|
};
|
|
@@ -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-
|
|
10
|
-
import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-
|
|
11
|
-
import { V as Ct, v as _t, X as wt, T as Ve, a as xt } from "./chunks/converter-
|
|
12
|
-
import { G as To } from "./chunks/converter-
|
|
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-CPeWTjoI.js";
|
|
10
|
+
import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-CPeWTjoI.js";
|
|
11
|
+
import { V as Ct, v as _t, X as wt, T as Ve, a as xt } from "./chunks/converter-A8jhEHAV.js";
|
|
12
|
+
import { G as To } from "./chunks/converter-A8jhEHAV.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-
|
|
15
|
-
import { D as Fo } from "./chunks/docx-zipper-
|
|
14
|
+
import { t as G, s as $t, T as Bt, N as Z } from "./chunks/toolbar-DS4sA_rD.js";
|
|
15
|
+
import { D as Fo } from "./chunks/docx-zipper-ChOmGxQY.js";
|
|
16
16
|
import { createZip as Lo } from "./file-zipper.es.js";
|
|
17
17
|
var Xe = { exports: {} };
|
|
18
18
|
(function(t) {
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-BBj7vFp-.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.Uk;exports.getActiveFormatting=e.If;exports.getAllowedImageDimensions=e.Gn;exports.getMarksFromSelection=e.No;exports.getRichTextExtensions=e.Pk;exports.getStarterExtensions=e.Rk;exports.helpers=e.Sd;exports.trackChangesHelpers=e.Kk;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -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, U as d, I as x, G as h, e as E, P as C, R as T, S as b, K as f } from "./chunks/super-editor.es-
|
|
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, U as d, I as x, G as h, e as E, P as C, R as T, S as b, K as f } from "./chunks/super-editor.es-CPySz799.es.js";
|
|
2
2
|
import "./chunks/vue-BDbTsTMu.es.js";
|
|
3
3
|
export {
|
|
4
4
|
t as BasicUpload,
|