@harbour-enterprises/superdoc 2.0.0-next.11 → 2.0.0-next.13
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/{PdfViewer-CqLaaynu.cjs → PdfViewer-CHWTTxtm.cjs} +1 -1
- package/dist/chunks/{PdfViewer-CKia_BiV.es.js → PdfViewer-DGJe0yHt.es.js} +1 -1
- package/dist/chunks/{index-CI_4oB5b.es.js → index-BbC6VsXh.es.js} +3 -3
- package/dist/chunks/{index-Bym7r582-C-HNFdqE.cjs → index-Bh0gd0Pm-BGAaVc0H.cjs} +1 -1
- package/dist/chunks/{index-Bym7r582-C74MxNIS.es.js → index-Bh0gd0Pm-DMBx9Ybz.es.js} +1 -1
- package/dist/chunks/{index-B6y8QUV4.cjs → index-DwECJSoY.cjs} +3 -3
- package/dist/chunks/{super-editor.es-d52fdTl1.es.js → super-editor.es-BJ1ZZaEo.es.js} +12 -4
- package/dist/chunks/{super-editor.es-cwkDFZH7.cjs → super-editor.es-CZoFXUj4.cjs} +12 -4
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts +3 -3
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts +173 -0
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BdRh3O4f.js → converter-Dx9n2qwO.js} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-Bn6DCl5u.js → docx-zipper-Ds8FGkok.js} +1 -1
- package/dist/super-editor/chunks/{editor-015kcgto.js → editor-C8TLVw8v.js} +13 -5
- package/dist/super-editor/chunks/{index-Bym7r582.js → index-Bh0gd0Pm.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-CoU_nhyU.js → toolbar-DpUoIWke.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 +2 -2
- package/dist/superdoc.umd.js +14 -6
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/super-editor.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-CZoFXUj4.cjs");
|
|
4
4
|
require("./chunks/vue-gvuFr0vx.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, _, C, D, E, b, P, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-
|
|
1
|
+
import { A, a, _, C, D, E, b, P, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-BJ1ZZaEo.es.js";
|
|
2
2
|
import "./chunks/vue-CLFbn_1r.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
4
|
-
const superdoc = require("./chunks/index-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-CZoFXUj4.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-DwECJSoY.cjs");
|
|
5
5
|
const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
|
7
7
|
exports.Editor = superEditor_es.Editor;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-
|
|
2
|
-
import { D, H, P, S as S2, m, l } from "./chunks/index-
|
|
1
|
+
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-BJ1ZZaEo.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-BbC6VsXh.es.js";
|
|
3
3
|
import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
|
|
4
4
|
export {
|
|
5
5
|
a as AnnotatorHelpers,
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -42470,7 +42470,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
42470
42470
|
static getStoredSuperdocVersion(docx) {
|
|
42471
42471
|
return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
42472
42472
|
}
|
|
42473
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "2.0.0-next.
|
|
42473
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "2.0.0-next.13") {
|
|
42474
42474
|
return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
|
|
42475
42475
|
}
|
|
42476
42476
|
/**
|
|
@@ -68426,7 +68426,7 @@ ${err.toString()}`);
|
|
|
68426
68426
|
const shouldSkipNodeView = (editor) => {
|
|
68427
68427
|
return isHeadless(editor);
|
|
68428
68428
|
};
|
|
68429
|
-
const summaryVersion = "2.0.0-next.
|
|
68429
|
+
const summaryVersion = "2.0.0-next.13";
|
|
68430
68430
|
const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
|
|
68431
68431
|
const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
|
|
68432
68432
|
function mapAttributes(attrs) {
|
|
@@ -69215,7 +69215,7 @@ ${err.toString()}`);
|
|
|
69215
69215
|
{ default: remarkStringify2 },
|
|
69216
69216
|
{ default: remarkGfm2 }
|
|
69217
69217
|
] = await Promise.all([
|
|
69218
|
-
Promise.resolve().then(() =>
|
|
69218
|
+
Promise.resolve().then(() => indexBh0gd0Pm),
|
|
69219
69219
|
Promise.resolve().then(() => indexDRCvimau),
|
|
69220
69220
|
Promise.resolve().then(() => indexC_x_N6Uh),
|
|
69221
69221
|
Promise.resolve().then(() => indexD_sWOSiG),
|
|
@@ -69420,7 +69420,7 @@ ${err.toString()}`);
|
|
|
69420
69420
|
* Process collaboration migrations
|
|
69421
69421
|
*/
|
|
69422
69422
|
processCollaborationMigrations() {
|
|
69423
|
-
console.debug("[checkVersionMigrations] Current editor version", "2.0.0-next.
|
|
69423
|
+
console.debug("[checkVersionMigrations] Current editor version", "2.0.0-next.13");
|
|
69424
69424
|
if (!this.options.ydoc) return;
|
|
69425
69425
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
69426
69426
|
let docVersion = metaMap.get("version");
|
|
@@ -100400,6 +100400,10 @@ ${l}
|
|
|
100400
100400
|
currentLine.width = roundValue(currentLine.width + spaceWidth + ls);
|
|
100401
100401
|
charPosInRun = wordEndWithSpace;
|
|
100402
100402
|
currentLine.spaceCount += 1;
|
|
100403
|
+
if (currentLine.segments?.[0]) {
|
|
100404
|
+
currentLine.segments[0].toChar = wordEndWithSpace;
|
|
100405
|
+
currentLine.segments[0].width += spaceWidth;
|
|
100406
|
+
}
|
|
100403
100407
|
} else {
|
|
100404
100408
|
charPosInRun = wordEndWithSpace;
|
|
100405
100409
|
}
|
|
@@ -100462,6 +100466,10 @@ ${l}
|
|
|
100462
100466
|
currentLine.width = roundValue(currentLine.width + spaceWidth + (run2.letterSpacing ?? 0));
|
|
100463
100467
|
charPosInRun = wordEndWithSpace;
|
|
100464
100468
|
currentLine.spaceCount += 1;
|
|
100469
|
+
if (currentLine.segments?.[0]) {
|
|
100470
|
+
currentLine.segments[0].toChar = wordEndWithSpace;
|
|
100471
|
+
currentLine.segments[0].width += spaceWidth;
|
|
100472
|
+
}
|
|
100465
100473
|
} else {
|
|
100466
100474
|
charPosInRun = wordEndWithSpace;
|
|
100467
100475
|
}
|
|
@@ -157862,7 +157870,7 @@ ${style2}
|
|
|
157862
157870
|
this.config.colors = shuffleArray(this.config.colors);
|
|
157863
157871
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
157864
157872
|
this.colorIndex = 0;
|
|
157865
|
-
this.version = "2.0.0-next.
|
|
157873
|
+
this.version = "2.0.0-next.13";
|
|
157866
157874
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
157867
157875
|
this.superdocId = config2.superdocId || v4();
|
|
157868
157876
|
this.colors = this.config.colors;
|
|
@@ -160335,7 +160343,7 @@ ${style2}
|
|
|
160335
160343
|
value && typeof value === "object" && "byteLength" in value && "byteOffset" in value
|
|
160336
160344
|
);
|
|
160337
160345
|
}
|
|
160338
|
-
const
|
|
160346
|
+
const indexBh0gd0Pm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
160339
160347
|
__proto__: null,
|
|
160340
160348
|
unified
|
|
160341
160349
|
}, Symbol.toStringTag, { value: "Module" }));
|