@harbour-enterprises/superdoc 0.10.8 → 0.10.10
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/{super-editor.es-CSRCbH3w.cjs → super-editor.es-C8S_q5eF.cjs} +2 -2
- package/dist/chunks/{super-editor.es-CSQC6uyC.es.js → super-editor.es-CpohIWu3.es.js} +3 -3
- package/dist/super-editor/chunks/{converter-BxDreinD.js → converter-CcaI4H6E.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-NPi0wF89.js → docx-zipper-DcWouar2.js} +1 -1
- package/dist/super-editor/chunks/{editor-DIR-iarR.js → editor-hkfi5u3y.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-C_nIYkdQ.js → toolbar-D-wEZowt.js} +2 -2
- package/dist/super-editor/converter.es.js +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 +2 -2
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +4 -4
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -16254,7 +16254,7 @@ const fs = class v1 {
|
|
|
16254
16254
|
return;
|
|
16255
16255
|
}
|
|
16256
16256
|
}
|
|
16257
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.10.
|
|
16257
|
+
static updateDocumentVersion(e = this.convertedXml, n = "0.10.10") {
|
|
16258
16258
|
const r = "docProps/custom.xml";
|
|
16259
16259
|
e[r] || (e[r] = x1());
|
|
16260
16260
|
const o = e["docProps/custom.xml"];
|
|
@@ -16479,7 +16479,7 @@ function d6(t) {
|
|
|
16479
16479
|
function x1() {
|
|
16480
16480
|
return KE;
|
|
16481
16481
|
}
|
|
16482
|
-
function k1(t = 2, e = "0.10.
|
|
16482
|
+
function k1(t = 2, e = "0.10.10") {
|
|
16483
16483
|
return {
|
|
16484
16484
|
type: "element",
|
|
16485
16485
|
name: "property",
|
|
@@ -28906,7 +28906,7 @@ const WD = class wx extends G5 {
|
|
|
28906
28906
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
28907
28907
|
*/
|
|
28908
28908
|
processCollaborationMigrations() {
|
|
28909
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
28909
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.10"), !this.options.ydoc) return;
|
|
28910
28910
|
let e = this.options.ydoc.getMap("meta").get("version");
|
|
28911
28911
|
e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
|
|
28912
28912
|
const n = ew(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
|
|
@@ -16272,7 +16272,7 @@ const dt = class dt {
|
|
|
16272
16272
|
return;
|
|
16273
16273
|
}
|
|
16274
16274
|
}
|
|
16275
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.10.
|
|
16275
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.10.10") {
|
|
16276
16276
|
const n = "docProps/custom.xml";
|
|
16277
16277
|
e[n] || (e[n] = Fu());
|
|
16278
16278
|
const i = e["docProps/custom.xml"];
|
|
@@ -16497,7 +16497,7 @@ function lp(r) {
|
|
|
16497
16497
|
function Fu() {
|
|
16498
16498
|
return zf;
|
|
16499
16499
|
}
|
|
16500
|
-
function Bu(r = 2, e = "0.10.
|
|
16500
|
+
function Bu(r = 2, e = "0.10.10") {
|
|
16501
16501
|
return {
|
|
16502
16502
|
type: "element",
|
|
16503
16503
|
name: "property",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Tt, a0 as wt, B as ut, a1 as Bt, a2 as Rt } from "./converter-
|
|
1
|
+
import { p as Tt, a0 as wt, B as ut, a1 as Bt, a2 as Rt } from "./converter-CcaI4H6E.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) => mf(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) ? Qs("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), D = (t, e, n) => (Ho(t, e, "access private method"), n);
|
|
8
8
|
import * as T from "yjs";
|
|
9
9
|
import { UndoManager as gf, Item as yf, ContentType as bf, Text as wf, XmlElement as vf } from "yjs";
|
|
10
|
-
import { P as G, a as Z, M as cr, c as K, N as B, S as Y, T as H, b as W, D as Vn, F as I, d as An, e as kf, f as Zl, A as Ar, p as ie, B as Cf, i as Sf, g as Ql, h as xf, j as wt, l as Or, k as Ht, m as ec, r as tc, R as sn, o as dr, n as ea, q as Vt, s as bi, t as nc, u as Mf, v as Af, w as ue, x as Ve, y as Do, z as kn, C as fo, E as Of, G as Se, H as to, I as rc, J as Cn, K as Wo, L as Uo, O as qo, Q as no, U as Rt, V as ys, W as Tf, X as ta, Y as na, Z as Df, _ as Nf, $ as Ef } from "./converter-
|
|
10
|
+
import { P as G, a as Z, M as cr, c as K, N as B, S as Y, T as H, b as W, D as Vn, F as I, d as An, e as kf, f as Zl, A as Ar, p as ie, B as Cf, i as Sf, g as Ql, h as xf, j as wt, l as Or, k as Ht, m as ec, r as tc, R as sn, o as dr, n as ea, q as Vt, s as bi, t as nc, u as Mf, v as Af, w as ue, x as Ve, y as Do, z as kn, C as fo, E as Of, G as Se, H as to, I as rc, J as Cn, K as Wo, L as Uo, O as qo, Q as no, U as Rt, V as ys, W as Tf, X as ta, Y as na, Z as Df, _ as Nf, $ as Ef } from "./converter-CcaI4H6E.js";
|
|
11
11
|
import { ref as ra, computed as If, createElementBlock as Kt, openBlock as Xt, withModifiers as Ko, Fragment as Pf, renderList as Rf, normalizeClass as Lf, createCommentVNode as oa, toDisplayString as Xo, createElementVNode as Ff, createApp as Bf } from "vue";
|
|
12
|
-
import { D as ia } from "./docx-zipper-
|
|
12
|
+
import { D as ia } from "./docx-zipper-DcWouar2.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) => {
|
|
@@ -10004,7 +10004,7 @@ const Gs = class Gs extends hg {
|
|
|
10004
10004
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
10005
10005
|
*/
|
|
10006
10006
|
processCollaborationMigrations() {
|
|
10007
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
10007
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.10"), !this.options.ydoc) return;
|
|
10008
10008
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
10009
10009
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
10010
10010
|
const o = nl(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-CcaI4H6E.js";
|
|
3
|
+
import { _ as vt, g as Pt } from "./editor-hkfi5u3y.js";
|
|
4
4
|
const Tp = (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,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-hkfi5u3y.js";
|
|
2
|
+
import "./chunks/converter-CcaI4H6E.js";
|
|
3
|
+
import "./chunks/docx-zipper-DcWouar2.js";
|
|
4
4
|
export {
|
|
5
5
|
m as Editor
|
|
6
6
|
};
|
|
@@ -6,13 +6,13 @@ var dt = (t, l, o) => l in t ? ct(t, l, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var $e = (t, l, o) => dt(t, typeof l != "symbol" ? l + "" : l, o), We = (t, l, o) => l.has(t) || Ve("Cannot " + o);
|
|
7
7
|
var Ee = (t, l, o) => (We(t, l, "read from private field"), o ? o.call(t) : l.get(t)), He = (t, l, o) => l.has(t) ? Ve("Cannot add the same private member more than once") : l instanceof WeakSet ? l.add(t) : l.set(t, o);
|
|
8
8
|
var O = (t, l, o) => (We(t, l, "access private method"), o);
|
|
9
|
-
import { _ as G, a as Ge, b as ut, I as Be, f as mt, c as je, d as pt, i as ft, u as ht, r as gt, E as Re, e as vt, P as yt, h as bt, j as kt, A as wt, N as Ct } from "./chunks/editor-
|
|
10
|
-
import { C as _o, T as xo, l as Eo, n as So, k as To, m as Ao } from "./chunks/editor-
|
|
11
|
-
import { a1 as _t, y as xt, a3 as Et, T as Ke, a as St } from "./chunks/converter-
|
|
12
|
-
import { O as Io } from "./chunks/converter-
|
|
9
|
+
import { _ as G, a as Ge, b as ut, I as Be, f as mt, c as je, d as pt, i as ft, u as ht, r as gt, E as Re, e as vt, P as yt, h as bt, j as kt, A as wt, N as Ct } from "./chunks/editor-hkfi5u3y.js";
|
|
10
|
+
import { C as _o, T as xo, l as Eo, n as So, k as To, m as Ao } from "./chunks/editor-hkfi5u3y.js";
|
|
11
|
+
import { a1 as _t, y as xt, a3 as Et, T as Ke, a as St } from "./chunks/converter-CcaI4H6E.js";
|
|
12
|
+
import { O as Io } from "./chunks/converter-CcaI4H6E.js";
|
|
13
13
|
import { ref as v, createElementBlock as w, openBlock as k, createElementVNode as E, unref as $, getCurrentInstance as Tt, computed as W, watch as At, onMounted as we, createCommentVNode as ne, withDirectives as Ft, withKeys as It, normalizeClass as oe, withModifiers as ke, vModelText as Lt, createTextVNode as Mt, toDisplayString as ie, Fragment as j, renderList as J, normalizeStyle as Y, createVNode as V, h as P, createApp as Dt, reactive as Ue, onUnmounted as $t, shallowRef as Xe, onBeforeUnmount as Ze, createBlock as Ht } from "vue";
|
|
14
|
-
import { t as q, s as Bt, T as Rt, N as Z } from "./chunks/toolbar-
|
|
15
|
-
import { D as Mo } from "./chunks/docx-zipper-
|
|
14
|
+
import { t as q, s as Bt, T as Rt, N as Z } from "./chunks/toolbar-D-wEZowt.js";
|
|
15
|
+
import { D as Mo } from "./chunks/docx-zipper-DcWouar2.js";
|
|
16
16
|
import { createZip as $o } from "./file-zipper.es.js";
|
|
17
17
|
var Ye = { 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-C8S_q5eF.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.yo;exports.CommentsPluginKey=e.he;exports.DocxZipper=e.Nt;exports.Editor=e.ji;exports.Extensions=e.ko;exports.SuperConverter=e.Nt$1;exports.SuperEditor=e.vo;exports.SuperInput=e.bo;exports.SuperToolbar=e.go;exports.Toolbar=e.Ip;exports.TrackChangesBasePluginKey=e.de;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.qk;exports.getActiveFormatting=e.zf;exports.getAllowedImageDimensions=e.Zn;exports.getMarksFromSelection=e.No;exports.getRichTextExtensions=e.Rk;exports.getStarterExtensions=e.Lk;exports.helpers=e.Ad;exports.trackChangesHelpers=e.Xk;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as t, h as r, N as o, j as n, k as i, a as p, v as g, b as l, g as c, I as m, d as u, c as d, q as x, z as S, Z as h, e as E, R as k, L as A, A as C, X as T } from "./chunks/super-editor.es-
|
|
1
|
+
import { y as t, h as r, N as o, j as n, k as i, a as p, v as g, b as l, g as c, I as m, d as u, c as d, q as x, z as S, Z as h, e as E, R as k, L as A, A as C, X as T } from "./chunks/super-editor.es-CpohIWu3.es.js";
|
|
2
2
|
import "./chunks/vue-BDbTsTMu.es.js";
|
|
3
3
|
export {
|
|
4
4
|
t as BasicUpload,
|