@harbour-enterprises/superdoc 0.28.0-next.8 → 0.28.0
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-DpCLSvT8.es.js → PdfViewer-COOBTu0Z.es.js} +1 -1
- package/dist/chunks/{PdfViewer-CYc7bM-U.cjs → PdfViewer-D-d9sxeo.cjs} +1 -1
- package/dist/chunks/{index-P8al9Mo-.es.js → index-CeV3gm4O.es.js} +3 -3
- package/dist/chunks/{index-BnHtoBRm.cjs → index-lzF76amP.cjs} +3 -3
- package/dist/chunks/{super-editor.es-WQ06yk3i.es.js → super-editor.es-CBBT9MkW.es.js} +15 -7
- package/dist/chunks/{super-editor.es-QwnGCo9w.cjs → super-editor.es-CsOCPht5.cjs} +15 -7
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-kpd0gAZh.js → converter-3mtRTJOI.js} +5 -2
- package/dist/super-editor/chunks/{docx-zipper-1SfZh-7P.js → docx-zipper-DIkBRy6i.js} +1 -1
- package/dist/super-editor/chunks/{editor-BJuWMr-a.js → editor-DakKNLen.js} +13 -19
- package/dist/super-editor/chunks/{toolbar-D3k3-Nw8.js → toolbar-D4J4zzEp.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/src/extensions/structured-content/structured-content-block.d.ts +8 -6
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +8 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentBlockTags.d.ts +11 -4
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentInlineTags.d.ts +11 -4
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTablesById.d.ts +8 -4
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTags.d.ts +11 -4
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTagsById.d.ts +12 -5
- 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 +16 -8
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/superdoc.umd.js
CHANGED
|
@@ -40042,6 +40042,9 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
40042
40042
|
const { node: node2 } = params2.extraParams;
|
|
40043
40043
|
const { elements, type: type2, attributes } = node2;
|
|
40044
40044
|
let text2;
|
|
40045
|
+
if (!elements) {
|
|
40046
|
+
return null;
|
|
40047
|
+
}
|
|
40045
40048
|
if (elements.length === 1) {
|
|
40046
40049
|
text2 = elements[0].text;
|
|
40047
40050
|
const xmlSpace = encodedAttrs.xmlSpace ?? elements[0]?.attributes?.["xml:space"];
|
|
@@ -40059,7 +40062,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
40059
40062
|
marks: []
|
|
40060
40063
|
};
|
|
40061
40064
|
};
|
|
40062
|
-
const decode$2 = (params2
|
|
40065
|
+
const decode$2 = (params2) => {
|
|
40063
40066
|
const { node: node2, extraParams } = params2;
|
|
40064
40067
|
if (!node2 || !node2.type) {
|
|
40065
40068
|
return null;
|
|
@@ -43209,7 +43212,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
43209
43212
|
static getStoredSuperdocVersion(docx) {
|
|
43210
43213
|
return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
43211
43214
|
}
|
|
43212
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.27.
|
|
43215
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.27.3") {
|
|
43213
43216
|
return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
|
|
43214
43217
|
}
|
|
43215
43218
|
/**
|
|
@@ -75465,10 +75468,12 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
75465
75468
|
() => {
|
|
75466
75469
|
const span = document.createElement("span");
|
|
75467
75470
|
span.classList.add("track-delete-widget");
|
|
75468
|
-
span.contentEditable = false;
|
|
75469
75471
|
return span;
|
|
75470
75472
|
},
|
|
75471
|
-
{
|
|
75473
|
+
{
|
|
75474
|
+
ignoreSelection: true,
|
|
75475
|
+
key: "stable-key"
|
|
75476
|
+
}
|
|
75472
75477
|
);
|
|
75473
75478
|
decorations.push(decorationWidget);
|
|
75474
75479
|
}
|
|
@@ -76703,10 +76708,13 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
76703
76708
|
}
|
|
76704
76709
|
});
|
|
76705
76710
|
if (tr.getMeta("inputType")) {
|
|
76706
|
-
newTr.setMeta(tr.getMeta("inputType"));
|
|
76711
|
+
newTr.setMeta("inputType", tr.getMeta("inputType"));
|
|
76707
76712
|
}
|
|
76708
76713
|
if (tr.getMeta("uiEvent")) {
|
|
76709
|
-
newTr.setMeta(tr.getMeta("uiEvent"));
|
|
76714
|
+
newTr.setMeta("uiEvent", tr.getMeta("uiEvent"));
|
|
76715
|
+
}
|
|
76716
|
+
if (tr.getMeta("addToHistory") !== void 0) {
|
|
76717
|
+
newTr.setMeta("addToHistory", tr.getMeta("addToHistory"));
|
|
76710
76718
|
}
|
|
76711
76719
|
if (tr.selectionSet) {
|
|
76712
76720
|
const deletionMarkSchema = state2.schema.marks[TrackDeleteMarkName];
|
|
@@ -79214,7 +79222,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
79214
79222
|
* @returns {Object | void} Migration results
|
|
79215
79223
|
*/
|
|
79216
79224
|
processCollaborationMigrations() {
|
|
79217
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.27.
|
|
79225
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.27.3");
|
|
79218
79226
|
if (!this.options.ydoc) return;
|
|
79219
79227
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
79220
79228
|
let docVersion = metaMap.get("version");
|
|
@@ -134680,7 +134688,7 @@ ${style2}
|
|
|
134680
134688
|
this.config.colors = shuffleArray(this.config.colors);
|
|
134681
134689
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
134682
134690
|
this.colorIndex = 0;
|
|
134683
|
-
this.version = "0.27.
|
|
134691
|
+
this.version = "0.27.3";
|
|
134684
134692
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
134685
134693
|
this.superdocId = config2.superdocId || v4();
|
|
134686
134694
|
this.colors = this.config.colors;
|