@harbour-enterprises/superdoc 0.6.32 → 0.6.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-5kNB1-AX.js → super-editor.es-CPI97mhk.js} +9 -8
- package/dist/chunks/{super-editor.es-5kNB1-AX.js.map → super-editor.es-CPI97mhk.js.map} +1 -1
- package/dist/style.css +5 -5
- package/dist/super-editor/chunks/{converter-D9ZxuNBg.js → converter-By1eH3DG.js} +3 -3
- package/dist/super-editor/chunks/{converter-D9ZxuNBg.js.map → converter-By1eH3DG.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-DRzc1s1g.js → docx-zipper-lMZAQDHY.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-DRzc1s1g.js.map → docx-zipper-lMZAQDHY.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-CCoN68Le.js → editor-D23LMnhw.js} +4 -4
- package/dist/super-editor/chunks/{editor-CCoN68Le.js.map → editor-D23LMnhw.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-y26xCCwj.js → toolbar-BUKIGyoE.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-y26xCCwj.js.map → toolbar-BUKIGyoE.js.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/style.css +5 -5
- package/dist/super-editor/super-editor.es.js +11 -10
- package/dist/super-editor/super-editor.es.js.map +1 -1
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.es.js +3 -3
- package/package.json +1 -1
|
@@ -53710,7 +53710,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
53710
53710
|
return;
|
|
53711
53711
|
}
|
|
53712
53712
|
}
|
|
53713
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.
|
|
53713
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.33") {
|
|
53714
53714
|
const customLocation = "docProps/custom.xml";
|
|
53715
53715
|
if (!docx[customLocation]) {
|
|
53716
53716
|
docx[customLocation] = generateCustomXml();
|
|
@@ -53955,7 +53955,7 @@ function storeSuperdocVersion(docx) {
|
|
|
53955
53955
|
function generateCustomXml() {
|
|
53956
53956
|
return DEFAULT_CUSTOM_XML;
|
|
53957
53957
|
}
|
|
53958
|
-
function generateSuperdocVersion(version2 = "0.6.
|
|
53958
|
+
function generateSuperdocVersion(version2 = "0.6.33") {
|
|
53959
53959
|
return {
|
|
53960
53960
|
type: "element",
|
|
53961
53961
|
name: "property",
|
|
@@ -67926,7 +67926,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
67926
67926
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
67927
67927
|
*/
|
|
67928
67928
|
processCollaborationMigrations() {
|
|
67929
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.6.
|
|
67929
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.6.33");
|
|
67930
67930
|
if (!this.options.ydoc) return;
|
|
67931
67931
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
67932
67932
|
let docVersion = metaMap.get("version");
|
|
@@ -91088,10 +91088,11 @@ const _sfc_main$2 = {
|
|
|
91088
91088
|
delete props.options.content;
|
|
91089
91089
|
const ydoc = props.options.ydoc;
|
|
91090
91090
|
const provider = props.options.collaborationProvider;
|
|
91091
|
-
|
|
91091
|
+
const handleSynced = () => {
|
|
91092
91092
|
pollForMetaMapData(ydoc);
|
|
91093
|
-
provider.off("synced");
|
|
91094
|
-
}
|
|
91093
|
+
provider.off("synced", handleSynced);
|
|
91094
|
+
};
|
|
91095
|
+
provider.on("synced", handleSynced);
|
|
91095
91096
|
}
|
|
91096
91097
|
};
|
|
91097
91098
|
const getExtensions = () => {
|
|
@@ -91228,7 +91229,7 @@ const _sfc_main$2 = {
|
|
|
91228
91229
|
};
|
|
91229
91230
|
}
|
|
91230
91231
|
};
|
|
91231
|
-
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
91232
|
+
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-afb40ff1"]]);
|
|
91232
91233
|
const _sfc_main$1 = {
|
|
91233
91234
|
__name: "BasicUpload",
|
|
91234
91235
|
emits: ["file-change"],
|
|
@@ -91350,4 +91351,4 @@ export {
|
|
|
91350
91351
|
helpers as k,
|
|
91351
91352
|
index as l
|
|
91352
91353
|
};
|
|
91353
|
-
//# sourceMappingURL=super-editor.es-
|
|
91354
|
+
//# sourceMappingURL=super-editor.es-CPI97mhk.js.map
|