@harbour-enterprises/superdoc 0.8.31 → 0.8.33
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-DW8rMUBO.cjs → super-editor.es-Pzp2h43K.cjs} +3 -3
- package/dist/chunks/{super-editor.es-DiQ6ytI2.es.js → super-editor.es-bZrkdrc-.es.js} +4 -4
- package/dist/stores/comments-store.d.ts.map +1 -1
- package/dist/style.css +25 -25
- package/dist/super-editor/chunks/{converter-BE8UkEHA.js → converter-C3CzPl96.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-B7iW1WqK.js → docx-zipper-D2nN7zec.js} +1 -1
- package/dist/super-editor/chunks/{editor-D7e-8Caj.js → editor-BOSveQEL.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-C_A0zvKt.js → toolbar-iwseevVu.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 +20 -20
- package/dist/superdoc.es.js +690 -684
- package/dist/superdoc.umd.js +19 -10
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -14695,7 +14695,7 @@ const as = class n1 {
|
|
|
14695
14695
|
return;
|
|
14696
14696
|
}
|
|
14697
14697
|
}
|
|
14698
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.8.
|
|
14698
|
+
static updateDocumentVersion(e = this.convertedXml, n = "0.8.33") {
|
|
14699
14699
|
const r = "docProps/custom.xml";
|
|
14700
14700
|
e[r] || (e[r] = r1());
|
|
14701
14701
|
const o = e["docProps/custom.xml"];
|
|
@@ -14895,7 +14895,7 @@ function D$(t) {
|
|
|
14895
14895
|
function r1() {
|
|
14896
14896
|
return xE;
|
|
14897
14897
|
}
|
|
14898
|
-
function o1(t = 2, e = "0.8.
|
|
14898
|
+
function o1(t = 2, e = "0.8.33") {
|
|
14899
14899
|
return {
|
|
14900
14900
|
type: "element",
|
|
14901
14901
|
name: "property",
|
|
@@ -26154,7 +26154,7 @@ const uD = class Z2 extends hM {
|
|
|
26154
26154
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
26155
26155
|
*/
|
|
26156
26156
|
processCollaborationMigrations() {
|
|
26157
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.8.
|
|
26157
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.8.33"), !this.options.ydoc) return;
|
|
26158
26158
|
let e = this.options.ydoc.getMap("meta").get("version");
|
|
26159
26159
|
e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
|
|
26160
26160
|
const n = Hy(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
|
|
@@ -43056,7 +43056,7 @@ class yU extends lj {
|
|
|
43056
43056
|
}
|
|
43057
43057
|
}
|
|
43058
43058
|
Yt = /* @__PURE__ */ new WeakSet(), L3 = function() {
|
|
43059
|
-
this.config.groups && !Array.isArray(this.config.groups) && Object.keys(this.config.groups).length
|
|
43059
|
+
this.config.groups && !Array.isArray(this.config.groups) && Object.keys(this.config.groups).length && (this.config.toolbarGroups = Object.keys(this.config.groups));
|
|
43060
43060
|
}, ps = /* @__PURE__ */ new WeakMap(), Wf = function(t, e, n = !1) {
|
|
43061
43061
|
const r = document.documentElement.clientWidth, { defaultItems: o, overflowItems: i } = fq(t, n, r, this.role, e);
|
|
43062
43062
|
let s = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments-store.d.ts","sourceRoot":"","sources":["../../src/stores/comments-store.js"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;;;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ANGED
|
@@ -448,20 +448,20 @@ span[data-v-53e13009] {
|
|
|
448
448
|
/* pointer-events: none; */
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
.measure-comment[data-v-
|
|
451
|
+
.measure-comment[data-v-e6543c90] {
|
|
452
452
|
box-sizing: border-box;
|
|
453
453
|
height: auto;
|
|
454
454
|
}
|
|
455
|
-
.floating-comment[data-v-
|
|
455
|
+
.floating-comment[data-v-e6543c90] {
|
|
456
456
|
position: absolute;
|
|
457
457
|
display: block;
|
|
458
458
|
}
|
|
459
|
-
.sidebar-container[data-v-
|
|
459
|
+
.sidebar-container[data-v-e6543c90] {
|
|
460
460
|
position: absolute;
|
|
461
461
|
width: 300px;
|
|
462
462
|
min-height: 300px;
|
|
463
463
|
}
|
|
464
|
-
.section-wrapper[data-v-
|
|
464
|
+
.section-wrapper[data-v-e6543c90] {
|
|
465
465
|
position: relative;
|
|
466
466
|
min-height: 100%;
|
|
467
467
|
width: 300px;
|
|
@@ -469,11 +469,11 @@ span[data-v-53e13009] {
|
|
|
469
469
|
align-items: flex-start;
|
|
470
470
|
justify-content: flex-start;
|
|
471
471
|
}
|
|
472
|
-
.floating-comment[data-v-
|
|
472
|
+
.floating-comment[data-v-e6543c90] {
|
|
473
473
|
position: absolute;
|
|
474
474
|
min-width: 300px;
|
|
475
475
|
}
|
|
476
|
-
.calculation-container[data-v-
|
|
476
|
+
.calculation-container[data-v-e6543c90] {
|
|
477
477
|
visibility: hidden;
|
|
478
478
|
position: fixed;
|
|
479
479
|
left: -9999px;
|
|
@@ -550,48 +550,48 @@ img[data-v-7dd69850] {
|
|
|
550
550
|
box-shadow:0 0 5px hsla( 0,0%,0%,.05);
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
.superdoc[data-v-
|
|
553
|
+
.superdoc[data-v-58b14292] {
|
|
554
554
|
display: flex;
|
|
555
555
|
}
|
|
556
|
-
.right-sidebar[data-v-
|
|
556
|
+
.right-sidebar[data-v-58b14292] {
|
|
557
557
|
min-width: 320px;
|
|
558
558
|
}
|
|
559
|
-
.floating-comments[data-v-
|
|
559
|
+
.floating-comments[data-v-58b14292] {
|
|
560
560
|
min-width: 300px;
|
|
561
561
|
width: 300px;
|
|
562
562
|
}
|
|
563
|
-
.superdoc--with-sidebar[data-v-
|
|
563
|
+
.superdoc--with-sidebar[data-v-58b14292] { /* */
|
|
564
564
|
}
|
|
565
|
-
.superdoc__layers[data-v-
|
|
565
|
+
.superdoc__layers[data-v-58b14292] {
|
|
566
566
|
height: 100%;
|
|
567
567
|
position: relative;
|
|
568
568
|
box-sizing: border-box;
|
|
569
569
|
}
|
|
570
|
-
.superdoc__document[data-v-
|
|
570
|
+
.superdoc__document[data-v-58b14292] {
|
|
571
571
|
width: 100%;
|
|
572
572
|
position: relative;
|
|
573
573
|
}
|
|
574
|
-
.superdoc__sub-document[data-v-
|
|
574
|
+
.superdoc__sub-document[data-v-58b14292] {
|
|
575
575
|
width: 100%;
|
|
576
576
|
position: relative;
|
|
577
577
|
}
|
|
578
|
-
.superdoc__selection-layer[data-v-
|
|
578
|
+
.superdoc__selection-layer[data-v-58b14292] {
|
|
579
579
|
position: absolute;
|
|
580
580
|
min-width: 100%;
|
|
581
581
|
min-height: 100%;
|
|
582
582
|
z-index: 10;
|
|
583
583
|
pointer-events: none;
|
|
584
584
|
}
|
|
585
|
-
.superdoc__temp-selection[data-v-
|
|
585
|
+
.superdoc__temp-selection[data-v-58b14292] {
|
|
586
586
|
position: absolute;
|
|
587
587
|
}
|
|
588
|
-
.superdoc__comments-layer[data-v-
|
|
588
|
+
.superdoc__comments-layer[data-v-58b14292] {
|
|
589
589
|
/* position: absolute; */
|
|
590
590
|
top: 0;
|
|
591
591
|
height: 100%;
|
|
592
592
|
position: relative;
|
|
593
593
|
}
|
|
594
|
-
.superdoc__right-sidebar[data-v-
|
|
594
|
+
.superdoc__right-sidebar[data-v-58b14292] {
|
|
595
595
|
width: 320px;
|
|
596
596
|
min-width: 320px;
|
|
597
597
|
padding: 0 10px;
|
|
@@ -601,13 +601,13 @@ img[data-v-7dd69850] {
|
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
/* Tools styles */
|
|
604
|
-
.tools[data-v-
|
|
604
|
+
.tools[data-v-58b14292] {
|
|
605
605
|
position: absolute;
|
|
606
606
|
z-index: 3;
|
|
607
607
|
display: flex;
|
|
608
608
|
gap: 6px;
|
|
609
609
|
}
|
|
610
|
-
.tools .tool-icon[data-v-
|
|
610
|
+
.tools .tool-icon[data-v-58b14292] {
|
|
611
611
|
font-size: 20px;
|
|
612
612
|
border-radius: 12px;
|
|
613
613
|
border: none;
|
|
@@ -615,7 +615,7 @@ img[data-v-7dd69850] {
|
|
|
615
615
|
background-color: #dbdbdb;
|
|
616
616
|
cursor: pointer;
|
|
617
617
|
}
|
|
618
|
-
.tools-item[data-v-
|
|
618
|
+
.tools-item[data-v-58b14292] {
|
|
619
619
|
display: flex;
|
|
620
620
|
align-items: center;
|
|
621
621
|
justify-content: center;
|
|
@@ -625,10 +625,10 @@ img[data-v-7dd69850] {
|
|
|
625
625
|
border-radius: 12px;
|
|
626
626
|
cursor: pointer;
|
|
627
627
|
}
|
|
628
|
-
.tools-item i[data-v-
|
|
628
|
+
.tools-item i[data-v-58b14292] {
|
|
629
629
|
cursor: pointer;
|
|
630
630
|
}
|
|
631
|
-
.superdoc__tools-icon[data-v-
|
|
631
|
+
.superdoc__tools-icon[data-v-58b14292] {
|
|
632
632
|
width: 20px;
|
|
633
633
|
height: 20px;
|
|
634
634
|
flex-shrink: 0;
|
|
@@ -642,15 +642,15 @@ img[data-v-7dd69850] {
|
|
|
642
642
|
|
|
643
643
|
/* 834px is iPad screen size in portrait orientation */
|
|
644
644
|
@media (max-width: 834px) {
|
|
645
|
-
.superdoc .superdoc__layers[data-v-
|
|
645
|
+
.superdoc .superdoc__layers[data-v-58b14292] {
|
|
646
646
|
margin: 0;
|
|
647
647
|
border: 0 !important;
|
|
648
648
|
box-shadow: none;
|
|
649
649
|
}
|
|
650
|
-
.superdoc__sub-document[data-v-
|
|
650
|
+
.superdoc__sub-document[data-v-58b14292] {
|
|
651
651
|
max-width: 100%;
|
|
652
652
|
}
|
|
653
|
-
.superdoc__right-sidebar[data-v-
|
|
653
|
+
.superdoc__right-sidebar[data-v-58b14292] {
|
|
654
654
|
padding: 10px;
|
|
655
655
|
width: 55px;
|
|
656
656
|
position: relative;
|
|
@@ -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.33") {
|
|
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.33") {
|
|
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-C3CzPl96.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-C3CzPl96.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-D2nN7zec.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.33"), !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-C3CzPl96.js";
|
|
3
|
+
import { _ as vt, g as Pt } from "./editor-BOSveQEL.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-BOSveQEL.js";
|
|
2
|
+
import "./chunks/converter-C3CzPl96.js";
|
|
3
|
+
import "./chunks/docx-zipper-D2nN7zec.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-BOSveQEL.js";
|
|
10
|
+
import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-BOSveQEL.js";
|
|
11
|
+
import { Q as Ct, v as _t, V as wt, T as Ve, a as xt } from "./chunks/converter-C3CzPl96.js";
|
|
12
|
+
import { G as To } from "./chunks/converter-C3CzPl96.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-iwseevVu.js";
|
|
15
|
+
import { D as Fo } from "./chunks/docx-zipper-D2nN7zec.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-Pzp2h43K.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-bZrkdrc-.es.js";
|
|
2
2
|
import "./chunks/vue-BDbTsTMu.es.js";
|
|
3
3
|
export {
|
|
4
4
|
t as BasicUpload,
|