@harbour-enterprises/superdoc 0.12.6 → 0.12.7
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-D0Bj3H0y.cjs → super-editor.es-BMTopH0N.cjs} +71 -71
- package/dist/chunks/{super-editor.es-DdXT1Lwa.es.js → super-editor.es-CvWf9Igx.es.js} +6951 -6724
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BvrQjifE.js → converter-DPOXB8vR.js} +1585 -1519
- package/dist/super-editor/chunks/{docx-zipper-BQzDBjLr.js → docx-zipper-DTjI-Z4r.js} +1 -1
- package/dist/super-editor/chunks/{editor-yOwh2oO-.js → editor-aYSWfnOz.js} +5467 -5308
- package/dist/super-editor/chunks/{toolbar-ByMDVR2X.js → toolbar-B5CeHdmH.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/core/Editor.d.ts +21 -3
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/commands/setMark.d.ts +2 -1
- package/dist/super-editor/core/commands/setMark.d.ts.map +1 -1
- package/dist/super-editor/core/commands/unsetAllMarks.d.ts +2 -1
- package/dist/super-editor/core/commands/unsetAllMarks.d.ts.map +1 -1
- package/dist/super-editor/core/commands/unsetMark.d.ts +2 -1
- package/dist/super-editor/core/commands/unsetMark.d.ts.map +1 -1
- package/dist/super-editor/core/helpers/annotator.d.ts +18 -1
- package/dist/super-editor/core/helpers/annotator.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts +4 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/helpers.d.ts +1 -0
- package/dist/super-editor/core/super-converter/helpers.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/extensions/pagination/pagination-helpers.d.ts +15 -0
- package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +1 -1
- package/dist/super-editor/super-editor.es.js +51 -48
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +10 -10
- package/dist/superdoc.cjs +4 -4
- package/dist/superdoc.es.js +4 -4
- package/dist/superdoc.umd.js +8071 -7841
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,14 +6,14 @@ var kt = (e, s, t) => s in e ? Ct(e, s, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var ze = (e, s, t) => kt(e, typeof s != "symbol" ? s + "" : s, t), Ke = (e, s, t) => s.has(e) || Ge("Cannot " + t);
|
|
7
7
|
var Te = (e, s, t) => (Ke(e, s, "read from private field"), t ? t.call(e) : s.get(e)), Re = (e, s, t) => s.has(e) ? Ge("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, t);
|
|
8
8
|
var N = (e, s, t) => (Ke(e, s, "access private method"), t);
|
|
9
|
-
import { _ as q, a as Je, b as _t, I as Oe, f as xt, c as Xe, d as St, i as Et, u as At, r as Tt, E as Ne, e as Ft, P as It, h as Lt, M as Mt, j as Dt, A as
|
|
10
|
-
import { C as Po, T as jo, l as Uo, n as qo, k as Go, m as Ko } from "./chunks/editor-
|
|
11
|
-
import {
|
|
12
|
-
import { O as Zo } from "./chunks/converter-
|
|
9
|
+
import { _ as q, a as Je, b as _t, I as Oe, f as xt, c as Xe, d as St, i as Et, u as At, r as Tt, E as Ne, e as Ft, P as It, h as Lt, M as Mt, j as Dt, A as Ht, N as Bt } from "./chunks/editor-aYSWfnOz.js";
|
|
10
|
+
import { C as Po, T as jo, l as Uo, n as qo, k as Go, m as Ko } from "./chunks/editor-aYSWfnOz.js";
|
|
11
|
+
import { a2 as $t, E as zt, a5 as Rt, T as Qe, a as Ot } from "./chunks/converter-DPOXB8vR.js";
|
|
12
|
+
import { O as Zo } from "./chunks/converter-DPOXB8vR.js";
|
|
13
13
|
import { ref as h, createElementBlock as k, openBlock as C, createElementVNode as _, unref as M, getCurrentInstance as Nt, computed as j, watch as Wt, onMounted as Ce, createCommentVNode as ee, withDirectives as et, withKeys as tt, normalizeClass as te, withModifiers as he, vModelText as nt, createTextVNode as ot, toDisplayString as ie, Fragment as U, renderList as ne, normalizeStyle as Q, createVNode as P, h as $, createApp as Vt, reactive as Ze, onUnmounted as Pt, shallowRef as it, onBeforeUnmount as st, createBlock as jt } from "vue";
|
|
14
|
-
import { t as Z, s as Ut, T as qt, N as J } from "./chunks/toolbar-
|
|
14
|
+
import { t as Z, s as Ut, T as qt, N as J } from "./chunks/toolbar-B5CeHdmH.js";
|
|
15
15
|
import Gt from "./ai-writer.es.js";
|
|
16
|
-
import { D as Jo } from "./chunks/docx-zipper-
|
|
16
|
+
import { D as Jo } from "./chunks/docx-zipper-DTjI-Z4r.js";
|
|
17
17
|
import { createZip as ei } from "./file-zipper.es.js";
|
|
18
18
|
var at = { exports: {} };
|
|
19
19
|
(function(e) {
|
|
@@ -147,7 +147,7 @@ const x = (e) => {
|
|
|
147
147
|
throw new Error("Toolbar button item needs either icon or label - " + e.name);
|
|
148
148
|
if (!e.name)
|
|
149
149
|
throw new Error("Invalid toolbar item name - " + e.name);
|
|
150
|
-
const t = h(zt()), n = e.type, o = h(e.name), i = e.command, c = e.noArgumentCommand, a = h(e.icon), l = h(e.group || "center"), d = h(e.allowWithoutEditor), u = h(e.attributes || {}), r = e.disabled || !1, w = h(e.disabled), v = h(!1), b = h(!1), y = h(e.style), g = h(e.isNarrow), L = h(e.isWide), D = h(e.minWidth), p = h(e.suppressActiveHighlight || !1), S = h(e.argument), F = h(null), O = h(null), W = h(e.iconColor), oe = h(e.hasCaret), ue = h(e.dropdownStyles), ve = h(e.tooltip), ge = h(e.tooltipVisible), Y = h(e.tooltipTimeout), T = h(e.defaultLabel),
|
|
150
|
+
const t = h(zt()), n = e.type, o = h(e.name), i = e.command, c = e.noArgumentCommand, a = h(e.icon), l = h(e.group || "center"), d = h(e.allowWithoutEditor), u = h(e.attributes || {}), r = e.disabled || !1, w = h(e.disabled), v = h(!1), b = h(!1), y = h(e.style), g = h(e.isNarrow), L = h(e.isWide), D = h(e.minWidth), p = h(e.suppressActiveHighlight || !1), S = h(e.argument), F = h(null), O = h(null), W = h(e.iconColor), oe = h(e.hasCaret), ue = h(e.dropdownStyles), ve = h(e.tooltip), ge = h(e.tooltipVisible), Y = h(e.tooltipTimeout), T = h(e.defaultLabel), H = h(e.label), B = h(e.hideLabel), z = h(e.inlineTextInputVisible), G = h(e.hasInlineTextInput), K = h(e.markName), ce = h(e.labelAttr), se = h(e.selectedValue), ke = h(e.dropdownValueKey), Ie = h(e.inputRef || null), be = h([]);
|
|
151
151
|
if (e.options) {
|
|
152
152
|
if (!Array.isArray(e.options)) throw new Error("Invalid toolbar item options - " + e.options);
|
|
153
153
|
be.value.push(...e.options);
|
|
@@ -191,8 +191,8 @@ const x = (e) => {
|
|
|
191
191
|
tooltipVisible: ge,
|
|
192
192
|
tooltipTimeout: Y,
|
|
193
193
|
defaultLabel: T,
|
|
194
|
-
label:
|
|
195
|
-
hideLabel:
|
|
194
|
+
label: H,
|
|
195
|
+
hideLabel: B,
|
|
196
196
|
inlineTextInputVisible: z,
|
|
197
197
|
hasInlineTextInput: G,
|
|
198
198
|
markName: K,
|
|
@@ -432,7 +432,7 @@ const x = (e) => {
|
|
|
432
432
|
], 10, In))), 256))
|
|
433
433
|
])) : ee("", !0);
|
|
434
434
|
}
|
|
435
|
-
}, Mn = /* @__PURE__ */ q(Ln, [["__scopeId", "data-v-bf5a8c1e"]]), Dn = ["onClick"],
|
|
435
|
+
}, Mn = /* @__PURE__ */ q(Ln, [["__scopeId", "data-v-bf5a8c1e"]]), Dn = ["onClick"], Hn = ["innerHTML"], Bn = ["innerHTML"], $n = {
|
|
436
436
|
__name: "IconGridRow",
|
|
437
437
|
props: {
|
|
438
438
|
icons: {
|
|
@@ -464,13 +464,13 @@ const x = (e) => {
|
|
|
464
464
|
class: "option__icon",
|
|
465
465
|
innerHTML: r.icon,
|
|
466
466
|
style: Q(r.style)
|
|
467
|
-
}, null, 12,
|
|
467
|
+
}, null, 12, Hn),
|
|
468
468
|
o.value(r) ? (C(), k("div", {
|
|
469
469
|
key: 0,
|
|
470
470
|
class: "option__check",
|
|
471
471
|
innerHTML: M(Z).colorOptionCheck,
|
|
472
472
|
style: Q(i(r.value, w))
|
|
473
|
-
}, null, 12,
|
|
473
|
+
}, null, 12, Bn)) : ee("", !0)
|
|
474
474
|
], 8, Dn))), 128))
|
|
475
475
|
]))), 128));
|
|
476
476
|
}
|
|
@@ -1165,13 +1165,13 @@ const x = (e) => {
|
|
|
1165
1165
|
justify: s.alignJustify
|
|
1166
1166
|
}, le = V[A] ?? V.left;
|
|
1167
1167
|
m.icon.value = le;
|
|
1168
|
-
},
|
|
1168
|
+
}, H = x({
|
|
1169
1169
|
type: "button",
|
|
1170
1170
|
name: "list",
|
|
1171
1171
|
command: "toggleBulletList",
|
|
1172
1172
|
icon: s.bulletList,
|
|
1173
1173
|
tooltip: "Bullet list"
|
|
1174
|
-
}),
|
|
1174
|
+
}), B = x({
|
|
1175
1175
|
type: "button",
|
|
1176
1176
|
name: "numberedlist",
|
|
1177
1177
|
command: "toggleOrderedList",
|
|
@@ -1448,7 +1448,7 @@ const x = (e) => {
|
|
|
1448
1448
|
{ label: "2,5", key: "2.5", icon: () => me("2.5", de.selectedValue), props: { "data-item": "btn-lineHeight-option" } },
|
|
1449
1449
|
{ label: "3,0", key: "3", icon: () => me("3", de.selectedValue), props: { "data-item": "btn-lineHeight-option" } }
|
|
1450
1450
|
]
|
|
1451
|
-
}),
|
|
1451
|
+
}), He = {
|
|
1452
1452
|
sm: 768,
|
|
1453
1453
|
md: 1024,
|
|
1454
1454
|
xl: 1410
|
|
@@ -1479,8 +1479,8 @@ const x = (e) => {
|
|
|
1479
1479
|
ue,
|
|
1480
1480
|
r,
|
|
1481
1481
|
Y,
|
|
1482
|
-
B,
|
|
1483
1482
|
H,
|
|
1483
|
+
B,
|
|
1484
1484
|
z,
|
|
1485
1485
|
G,
|
|
1486
1486
|
de,
|
|
@@ -1495,7 +1495,7 @@ const x = (e) => {
|
|
|
1495
1495
|
K,
|
|
1496
1496
|
X
|
|
1497
1497
|
];
|
|
1498
|
-
if (e.config?.superdoc?.config?.modules?.ai || (R = R.filter((m) => m.name.value !== "ai")), o <=
|
|
1498
|
+
if (e.config?.superdoc?.config?.modules?.ai || (R = R.filter((m) => m.name.value !== "ai")), o <= He.md && n && (R = R.filter((m) => m.type !== "separator")), e.config.pagination || (R = R.filter((m) => m.name.value !== "pageBreakTool")), e.config.mode !== "docx") {
|
|
1499
1499
|
const m = R.findIndex((A) => A.name.value === "linkedStyles");
|
|
1500
1500
|
R.splice(m - 1, 2);
|
|
1501
1501
|
const E = ["ruler", "zoom", "undo", "redo"];
|
|
@@ -1503,28 +1503,28 @@ const x = (e) => {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
const qe = [Ie, Le, Me];
|
|
1505
1505
|
c || (i === "viewer" && qe.push(be, _e), R = R.filter((m) => !qe.includes(m)));
|
|
1506
|
-
const bt = [L, se, K, X].map((m) => m.name), yt = (m) => bt.includes(m.name), Ae = [],
|
|
1506
|
+
const bt = [L, se, K, X].map((m) => m.name), yt = (m) => bt.includes(m.name), Ae = [], Be = [];
|
|
1507
1507
|
let $e = ht + ft;
|
|
1508
1508
|
return R.forEach((m) => {
|
|
1509
1509
|
const E = je.get(m.name.value) || je.get("default");
|
|
1510
|
-
if (o <
|
|
1510
|
+
if (o < He.xl && vt.includes(m.name.value) && n) {
|
|
1511
1511
|
if (Ae.push(m), m.name.value === "linkedStyles") {
|
|
1512
1512
|
const A = R.findIndex((V) => V.name.value === "linkedStyles");
|
|
1513
1513
|
R.splice(A + 1, 1);
|
|
1514
1514
|
}
|
|
1515
1515
|
return;
|
|
1516
1516
|
}
|
|
1517
|
-
if (o <
|
|
1517
|
+
if (o < He.sm && gt.includes(m.name.value) && n) {
|
|
1518
1518
|
Ae.push(m);
|
|
1519
1519
|
return;
|
|
1520
1520
|
}
|
|
1521
1521
|
if (yt(m)) {
|
|
1522
|
-
|
|
1522
|
+
Be.push(m), $e += E;
|
|
1523
1523
|
return;
|
|
1524
1524
|
}
|
|
1525
|
-
$e < o || !n ? (
|
|
1525
|
+
$e < o || !n ? (Be.push(m), $e += E) : Ae.push(m);
|
|
1526
1526
|
}), {
|
|
1527
|
-
defaultItems:
|
|
1527
|
+
defaultItems: Be,
|
|
1528
1528
|
overflowItems: Ae.filter((m) => m.type !== "separator")
|
|
1529
1529
|
};
|
|
1530
1530
|
}, mo = [".jpg", ".jpeg", ".png", "image/jpeg", "image/png"], po = () => {
|
|
@@ -1811,8 +1811,11 @@ class $o extends Xt {
|
|
|
1811
1811
|
let o = t.command;
|
|
1812
1812
|
if (o in this.activeEditor.commands) {
|
|
1813
1813
|
this.activeEditor.commands[o](n);
|
|
1814
|
-
const { view: i } = this.activeEditor
|
|
1815
|
-
|
|
1814
|
+
const { view: i } = this.activeEditor;
|
|
1815
|
+
let { selection: c } = i.state;
|
|
1816
|
+
this.activeEditor.options.isHeaderOrFooter && (c = this.activeEditor.options.lastSelection);
|
|
1817
|
+
const a = c.$to.pos, l = new Qe(i.state.doc.resolve(a)), d = i.state.tr.setSelection(l), u = i.state.apply(d);
|
|
1818
|
+
i.updateState(u), this.activeEditor.options.isHeaderOrFooter || setTimeout(() => {
|
|
1816
1819
|
i.focus();
|
|
1817
1820
|
}, 100);
|
|
1818
1821
|
}
|
|
@@ -1935,7 +1938,7 @@ class $o extends Xt {
|
|
|
1935
1938
|
bold: "bold",
|
|
1936
1939
|
textAlign: "textAlign"
|
|
1937
1940
|
}, d = this.activeEditor.converter?.linkedStyles.find((u) => u.id === c.attrs.styleId);
|
|
1938
|
-
if (l[o.name.value] in d?.definition.styles) {
|
|
1941
|
+
if (d && l[o.name.value] in d?.definition.styles) {
|
|
1939
1942
|
const u = {
|
|
1940
1943
|
[o.name.value]: d?.definition.styles[l[o.name.value]]
|
|
1941
1944
|
};
|
|
@@ -1964,7 +1967,7 @@ class $o extends Xt {
|
|
|
1964
1967
|
* @returns {*} The result of the executed command, undefined if no result is returned
|
|
1965
1968
|
*/
|
|
1966
1969
|
emitCommand({ item: t, argument: n, option: o }) {
|
|
1967
|
-
this.activeEditor
|
|
1970
|
+
this.activeEditor && !this.activeEditor.options.isHeaderOrFooter && this.activeEditor.focus();
|
|
1968
1971
|
const { command: i } = t;
|
|
1969
1972
|
if (i) {
|
|
1970
1973
|
if (this.log("(emmitCommand) Command:", i, `
|
|
@@ -2139,18 +2142,18 @@ const yo = (e, s) => {
|
|
|
2139
2142
|
let g = 0;
|
|
2140
2143
|
const L = () => {
|
|
2141
2144
|
if (n.editor.options.mode !== "docx") return;
|
|
2142
|
-
const T = [], { pageMargins:
|
|
2143
|
-
l.value =
|
|
2144
|
-
for (let z = 0; z <
|
|
2145
|
-
const K = `${5.5}px`, ce =
|
|
2145
|
+
const T = [], { pageMargins: H, pageSize: B } = n.editor.getPageStyles();
|
|
2146
|
+
l.value = B, d.value = H, v.x = B.width * 96 - H.right * 96, w.x = H.left * 96;
|
|
2147
|
+
for (let z = 0; z < B.width; z++) {
|
|
2148
|
+
const K = `${5.5}px`, ce = B.width - z;
|
|
2146
2149
|
if (T.push(...D(1, "main", "20%", K, z)), T.push(...D(3, "eighth", "10%", K)), T.push(...D(1, "half", "40%", K)), ce <= 0.5) break;
|
|
2147
2150
|
T.push(...D(3, "eighth", "10%", K));
|
|
2148
2151
|
}
|
|
2149
2152
|
return T;
|
|
2150
|
-
}, D = (T,
|
|
2153
|
+
}, D = (T, H, B, z, G) => Array.from({ length: T }, (K, ce) => {
|
|
2151
2154
|
const se = {
|
|
2152
|
-
className: `${
|
|
2153
|
-
height:
|
|
2155
|
+
className: `${H}-unit ruler-section`,
|
|
2156
|
+
height: B,
|
|
2154
2157
|
margin: z
|
|
2155
2158
|
};
|
|
2156
2159
|
return G !== void 0 && (se.numbering = G), se;
|
|
@@ -2166,19 +2169,19 @@ const yo = (e, s) => {
|
|
|
2166
2169
|
left: `${(T === "left" ? w : v).x}px`
|
|
2167
2170
|
})), F = j(() => {
|
|
2168
2171
|
if (!o.value) return;
|
|
2169
|
-
const
|
|
2172
|
+
const B = o.value.parentElement.querySelector(".super-editor").getBoundingClientRect();
|
|
2170
2173
|
return {
|
|
2171
2174
|
left: `${r.value.x}px`,
|
|
2172
|
-
minHeight: `${
|
|
2175
|
+
minHeight: `${B.height}px`
|
|
2173
2176
|
};
|
|
2174
2177
|
}), O = (T) => {
|
|
2175
2178
|
u.value = !0, ue();
|
|
2176
|
-
const
|
|
2177
|
-
r.value =
|
|
2179
|
+
const H = T.currentTarget.id;
|
|
2180
|
+
r.value = H === "left-margin-handle" ? w : v, y.value = r.value.x, g = T.clientX - r.value.x, b.value = !0;
|
|
2178
2181
|
}, W = (T) => {
|
|
2179
2182
|
if (!u.value) return;
|
|
2180
|
-
const
|
|
2181
|
-
r.value.x =
|
|
2183
|
+
const H = T.clientX - g;
|
|
2184
|
+
r.value.x = H, r.value.side === "left" ? H <= 0 ? r.value.x = 0 : H >= v.x - Fe && (r.value.x = v.x - Fe) : H >= l.value.width * 96 ? r.value.x = l.value.width * 96 : H <= w.x + Fe && (r.value.x = w.x + Fe);
|
|
2182
2185
|
}, oe = () => {
|
|
2183
2186
|
if (u.value = !1, b.value = !1, ve(), r.value && r.value.x !== y.value) {
|
|
2184
2187
|
const T = ge();
|
|
@@ -2200,7 +2203,7 @@ const yo = (e, s) => {
|
|
|
2200
2203
|
i.value = L(), window.addEventListener("mousemove", W), window.addEventListener("mouseup", oe);
|
|
2201
2204
|
}), Pt(() => {
|
|
2202
2205
|
window.removeEventListener("mousemove", W), window.removeEventListener("mouseup", oe);
|
|
2203
|
-
}), (T,
|
|
2206
|
+
}), (T, H) => (C(), k("div", {
|
|
2204
2207
|
class: "ruler",
|
|
2205
2208
|
ref_key: "ruler",
|
|
2206
2209
|
ref: o,
|
|
@@ -2223,12 +2226,12 @@ const yo = (e, s) => {
|
|
|
2223
2226
|
class: "vertical-indicator",
|
|
2224
2227
|
style: Q(F.value)
|
|
2225
2228
|
}, null, 4)) : ee("", !0),
|
|
2226
|
-
(C(!0), k(U, null, ne(i.value, (
|
|
2227
|
-
class: te(
|
|
2228
|
-
style: Q(p.value(
|
|
2229
|
+
(C(!0), k(U, null, ne(i.value, (B) => (C(), k("div", {
|
|
2230
|
+
class: te(B.className),
|
|
2231
|
+
style: Q(p.value(B))
|
|
2229
2232
|
}, [
|
|
2230
|
-
_("div", wo, ie(
|
|
2231
|
-
(C(!0), k(U, null, ne(
|
|
2233
|
+
_("div", wo, ie(B.numbering), 1),
|
|
2234
|
+
(C(!0), k(U, null, ne(B.elements, (z) => (C(), k("div", {
|
|
2232
2235
|
class: te(z.className),
|
|
2233
2236
|
style: Q(p.value(z))
|
|
2234
2237
|
}, [
|
|
@@ -2495,8 +2498,8 @@ const yo = (e, s) => {
|
|
|
2495
2498
|
], 2));
|
|
2496
2499
|
}
|
|
2497
2500
|
}, Oo = /* @__PURE__ */ q(Fo, [["__scopeId", "data-v-4d5cff52"]]), No = {
|
|
2498
|
-
Node:
|
|
2499
|
-
Attribute:
|
|
2501
|
+
Node: Bt,
|
|
2502
|
+
Attribute: Ht,
|
|
2500
2503
|
Extension: Dt,
|
|
2501
2504
|
Plugin: Ot,
|
|
2502
2505
|
Mark: Mt
|
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-BMTopH0N.cjs");require("./chunks/vue-BQCc2YbW.cjs");exports.AIWriter=e.xe;exports.BasicUpload=e.Ro;exports.CommentsPluginKey=e.ge;exports.DocxZipper=e.Pt;exports.Editor=e.ls;exports.Extensions=e.No;exports.SuperConverter=e.Ot;exports.SuperEditor=e.zo;exports.SuperInput=e.Oo;exports.SuperToolbar=e.$o;exports.Toolbar=e.R0;exports.TrackChangesBasePluginKey=e.ce;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.wS;exports.getActiveFormatting=e.bp;exports.getAllowedImageDimensions=e.vo;exports.getMarksFromSelection=e.Ko;exports.getRichTextExtensions=e.aS;exports.getStarterExtensions=e.lS;exports.helpers=e.zs;exports.trackChangesHelpers=e.kS;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { x as r, R as t, g as o, P as
|
|
1
|
+
import { x as r, R as t, g as o, P as i, l as n, N as p, O as l, z as g, a as c, $ as m, b as u, c as x, d, w as S, e as h, v as E, K as k, f as A, h as C, i as T, k as b } from "./chunks/super-editor.es-CvWf9Igx.es.js";
|
|
2
2
|
import "./chunks/vue-DKS68Dra.es.js";
|
|
3
3
|
export {
|
|
4
4
|
r as AIWriter,
|
|
5
5
|
t as BasicUpload,
|
|
6
6
|
o as CommentsPluginKey,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
i as DocxZipper,
|
|
8
|
+
n as Editor,
|
|
9
9
|
p as Extensions,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
l as SuperConverter,
|
|
11
|
+
g as SuperEditor,
|
|
12
12
|
c as SuperInput,
|
|
13
13
|
m as SuperToolbar,
|
|
14
14
|
u as Toolbar,
|
|
@@ -17,9 +17,9 @@ export {
|
|
|
17
17
|
S as fieldAnnotationHelpers,
|
|
18
18
|
h as getActiveFormatting,
|
|
19
19
|
E as getAllowedImageDimensions,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
k as getMarksFromSelection,
|
|
21
|
+
A as getRichTextExtensions,
|
|
22
|
+
C as getStarterExtensions,
|
|
23
|
+
T as helpers,
|
|
24
|
+
b as trackChangesHelpers
|
|
25
25
|
};
|