@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.
- package/dist/chunks/{index-DjLrg1eZ.es.js → index-4z9dCXD4.es.js} +2 -2
- package/dist/chunks/{index-dZKHAFXF.es.js → index-C9CPh36N.es.js} +1 -1
- package/dist/chunks/{index-BXKGjuVW.cjs → index-MTg0RB9I.cjs} +1 -1
- package/dist/chunks/{index-CqRwYOdx.cjs → index-f-drtAbP.cjs} +1 -1
- package/dist/chunks/{super-editor.es-DW8rMUBO.cjs → super-editor.es-D3raD3o4.cjs} +3 -3
- package/dist/chunks/{super-editor.es-DiQ6ytI2.es.js → super-editor.es-DoabJdTI.es.js} +4 -4
- package/dist/chunks/{url-6Xu7gR4T.cjs → url-BY6ThfSE.cjs} +1 -1
- package/dist/chunks/{url-BxDGAI6E.es.js → url-CwZauKUC.es.js} +1 -1
- package/dist/chunks/xml-js-C-3oH1mO.cjs +10 -0
- package/dist/chunks/{xml-js-BAML2_fM.es.js → xml-js-CCS2urF-.es.js} +366 -355
- package/dist/super-editor/chunks/{converter-BE8UkEHA.js → converter-EhD8_EEa.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-B7iW1WqK.js → docx-zipper-B45oAPNp.js} +1 -1
- package/dist/super-editor/chunks/{editor-D7e-8Caj.js → editor-CmesZx1J.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-C_A0zvKt.js → toolbar-ByGT4icp.js} +2 -2
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
- 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 +7 -7
- 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 +5 -5
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
|
@@ -14711,7 +14711,7 @@ const dt = class dt {
|
|
|
14711
14711
|
return;
|
|
14712
14712
|
}
|
|
14713
14713
|
}
|
|
14714
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.8.
|
|
14714
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.8.32") {
|
|
14715
14715
|
const n = "docProps/custom.xml";
|
|
14716
14716
|
e[n] || (e[n] = yu());
|
|
14717
14717
|
const i = e["docProps/custom.xml"];
|
|
@@ -14911,7 +14911,7 @@ function Mp(r) {
|
|
|
14911
14911
|
function yu() {
|
|
14912
14912
|
return Tf;
|
|
14913
14913
|
}
|
|
14914
|
-
function wu(r = 2, e = "0.8.
|
|
14914
|
+
function wu(r = 2, e = "0.8.32") {
|
|
14915
14915
|
return {
|
|
14916
14916
|
type: "element",
|
|
14917
14917
|
name: "property",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Tt, O as wt, B as ut, Q as Bt, U as Rt } from "./converter-
|
|
1
|
+
import { p as Tt, O as wt, B as ut, Q as Bt, U as Rt } from "./converter-EhD8_EEa.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) => sf(t, typeof e != "symbol" ? e + "" : e, n), zo = (t, e, n)
|
|
|
7
7
|
var Ze = (t, e, n) => (zo(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ut = (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), Vo = (t, e, n, r) => (zo(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), I = (t, e, n) => (zo(t, e, "access private method"), n);
|
|
8
8
|
import * as T from "yjs";
|
|
9
9
|
import { UndoManager as af, Item as lf, ContentType as cf, Text as df, XmlElement as uf } from "yjs";
|
|
10
|
-
import { P as G, a as J, M as sr, N as B, S as Y, T as V, b as $, D as _n, F as E, c as xn, d as ff, e as Wl, A as Mr, p as oe, B as pf, f as ql, i as hf, g as bt, l as xr, h as Ht, j as Kl, r as Xl, R as an, o as ar, k as Vt, m as mi, n as Yl, q as ue, s as $e, v as Ao, t as kn, u as mf, w as xe, x as Zr, y as Gl, z as vn, C as $o, E as jo, G as Ho, H as Qr, I as gf, J as Gs, K as yf, L as bf } from "./converter-
|
|
10
|
+
import { P as G, a as J, M as sr, N as B, S as Y, T as V, b as $, D as _n, F as E, c as xn, d as ff, e as Wl, A as Mr, p as oe, B as pf, f as ql, i as hf, g as bt, l as xr, h as Ht, j as Kl, r as Xl, R as an, o as ar, k as Vt, m as mi, n as Yl, q as ue, s as $e, v as Ao, t as kn, u as mf, w as xe, x as Zr, y as Gl, z as vn, C as $o, E as jo, G as Ho, H as Qr, I as gf, J as Gs, K as yf, L as bf } from "./converter-EhD8_EEa.js";
|
|
11
11
|
import { ref as Js, computed as kf, createElementBlock as Xt, openBlock as Yt, withModifiers as Uo, Fragment as vf, renderList as Cf, normalizeClass as Sf, createCommentVNode as Zs, toDisplayString as Wo, createElementVNode as Mf, createApp as xf } from "vue";
|
|
12
|
-
import { D as Qs } from "./docx-zipper-
|
|
12
|
+
import { D as Qs } from "./docx-zipper-B45oAPNp.js";
|
|
13
13
|
function Oo(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) => {
|
|
@@ -8837,7 +8837,7 @@ const Ks = class Ks extends ng {
|
|
|
8837
8837
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
8838
8838
|
*/
|
|
8839
8839
|
processCollaborationMigrations() {
|
|
8840
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.8.
|
|
8840
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.8.32"), !this.options.ydoc) return;
|
|
8841
8841
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
8842
8842
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
8843
8843
|
const o = Ga(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-EhD8_EEa.js";
|
|
3
|
+
import { _ as vt, g as Pt } from "./editor-CmesZx1J.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":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAeA;IAWE,yBAqCC;IA/CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQE;IAMA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,UAAmC;IAsBnC,gCAA6B;IAGrB,uQAAiC;IACzC,kBAAyC;
|
|
1
|
+
{"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAeA;IAWE,yBAqCC;IA/CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQE;IAMA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,UAAmC;IAsBnC,gCAA6B;IAGrB,uQAAiC;IACzC,kBAAyC;IAoL3C,0BAEC;IAED,gCAIC;IAED;;;OAGG;IACH,wBAFW,GAAC,QAKX;IAED,6CAEC;IA2DD;;;OAGG;IACH,2BAyCC;IAED,4BAKE;IAaA,eAAmD;IACnD,eAAmD;IAGrD;;OAEG;IACH;;;aAGC;IAED;;;;;OAKG;IACH,0CAoBC;;CAYF;yBApbwB,eAAe"}
|
|
@@ -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-CmesZx1J.js";
|
|
2
|
+
import "./chunks/converter-EhD8_EEa.js";
|
|
3
|
+
import "./chunks/docx-zipper-B45oAPNp.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), Pe = (t, s, o) => s.has(t) || Ne("Cannot " + o);
|
|
7
7
|
var we = (t, s, o) => (Pe(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) => (Pe(t, s, "access private method"), o);
|
|
9
|
-
import { _ as K, a as Ue, b as ct, I as Me, f as dt, c as ze, 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 { Q as Ct, v as _t, V as wt, T as Ve, a as xt } from "./chunks/converter-
|
|
12
|
-
import { G as To } from "./chunks/converter-
|
|
9
|
+
import { _ as K, a as Ue, b as ct, I as Me, f as dt, c as ze, 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-CmesZx1J.js";
|
|
10
|
+
import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-CmesZx1J.js";
|
|
11
|
+
import { Q as Ct, v as _t, V as wt, T as Ve, a as xt } from "./chunks/converter-EhD8_EEa.js";
|
|
12
|
+
import { G as To } from "./chunks/converter-EhD8_EEa.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 z, 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-ByGT4icp.js";
|
|
15
|
+
import { D as Fo } from "./chunks/docx-zipper-B45oAPNp.js";
|
|
16
16
|
import { createZip as Lo } from "./file-zipper.es.js";
|
|
17
17
|
var Ke = { exports: {} };
|
|
18
18
|
(function(t) {
|
|
@@ -1590,7 +1590,7 @@ class po extends Rt {
|
|
|
1590
1590
|
}
|
|
1591
1591
|
}
|
|
1592
1592
|
L = new WeakSet(), Ze = function() {
|
|
1593
|
-
this.config.groups && !Array.isArray(this.config.groups) && Object.keys(this.config.groups).length
|
|
1593
|
+
this.config.groups && !Array.isArray(this.config.groups) && Object.keys(this.config.groups).length && (this.config.toolbarGroups = Object.keys(this.config.groups));
|
|
1594
1594
|
}, fe = new WeakMap(), Be = function(o, n, e = !1) {
|
|
1595
1595
|
const i = document.documentElement.clientWidth, { defaultItems: c, overflowItems: l } = Wn(o, e, i, this.role, n);
|
|
1596
1596
|
let a = [
|
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-D3raD3o4.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.ho;exports.CommentsPluginKey=e.me;exports.DocxZipper=e.Nt;exports.Editor=e.Vi;exports.Extensions=e.go;exports.SuperConverter=e.Ft;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.IC;exports.getActiveFormatting=e.wf;exports.getAllowedImageDimensions=e.Gn;exports.getMarksFromSelection=e.Oo;exports.getRichTextExtensions=e.vC;exports.getStarterExtensions=e.CC;exports.helpers=e.bd;exports.trackChangesHelpers=e.RC;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as t, m as r, N as o, V as n, g as i, F as p, f as g, v as l, p as c, _ as m, d as u, c as d, I as x, w as S, G as h, O as C, a as E, C as T, b, R as f } from "./chunks/super-editor.es-
|
|
1
|
+
import { h as t, m as r, N as o, V as n, g as i, F as p, f as g, v as l, p as c, _ as m, d as u, c as d, I as x, w as S, G as h, O as C, a as E, C as T, b, R as f } from "./chunks/super-editor.es-DoabJdTI.es.js";
|
|
2
2
|
import "./chunks/vue-BDbTsTMu.es.js";
|
|
3
3
|
export {
|
|
4
4
|
t as BasicUpload,
|