@harbour-enterprises/superdoc 0.14.9-next.6 → 0.14.9-next.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/{index-Bmg-LdrI.es.js → index-BMwK7kM5.es.js} +2 -2
- package/dist/chunks/{index-D8-yLk4l.cjs → index-CZuIe8A3.cjs} +1 -1
- package/dist/chunks/{index-q6mHfs8e.es.js → index-MJ-5Yknb.es.js} +1 -1
- package/dist/chunks/{index-Bx6NTjUr.cjs → index-Oz4X1zyg.cjs} +2 -2
- package/dist/chunks/{super-editor.es-BniGAo5V.es.js → super-editor.es-D0U14nJM.es.js} +6 -6
- package/dist/chunks/{super-editor.es-CQn3Mboc.cjs → super-editor.es-nYlTZyLH.cjs} +6 -6
- package/dist/chunks/{url-f1i5V486.cjs → url-CRVat8D5.cjs} +1 -1
- package/dist/chunks/{url-CZRpBZ8r.es.js → url-Cqg2Hljl.es.js} +1 -1
- package/dist/chunks/{xml-js-DzoGf_HX.es.js → xml-js-D78KIQHL.es.js} +123 -158
- package/dist/chunks/{xml-js-CR_HPgfX.cjs → xml-js-t28wMlyv.cjs} +123 -158
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-B1JDclhK.js → converter-C_fU_GdA.js} +5 -5
- package/dist/super-editor/chunks/{docx-zipper-e6p-zLWx.js → docx-zipper-Dxi88tYJ.js} +1 -1
- package/dist/super-editor/chunks/{editor-VmXCRNX0.js → editor-D-IfBoeP.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-Bo1J72SK.js → toolbar-DbRwZ5B3.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 +5 -5
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +7 -7
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as index$1, C as CommentsPluginKey, g as TrackChangesBasePluginKey, E as Editor, m as getRichTextExtensions, e as SuperInput, d as SuperEditor, A as AIWriter, f as SuperToolbar, h as createZip } from "./chunks/super-editor.es-
|
|
2
|
-
import { a, S, i, o } from "./chunks/super-editor.es-
|
|
1
|
+
import { p as index$1, C as CommentsPluginKey, g as TrackChangesBasePluginKey, E as Editor, m as getRichTextExtensions, e as SuperInput, d as SuperEditor, A as AIWriter, f as SuperToolbar, h as createZip } from "./chunks/super-editor.es-D0U14nJM.es.js";
|
|
2
|
+
import { a, S, i, o } from "./chunks/super-editor.es-D0U14nJM.es.js";
|
|
3
3
|
import { a0 as effectScope, r as ref, $ as markRaw, p as process$1, a1 as toRaw, a as computed, a2 as isRef, a3 as isReactive, D as toRef, i as inject, q as getCurrentInstance, l as watch, y as unref, a4 as hasInjectionContext, N as reactive, u as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, K as shallowRef, O as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, U as onActivated, s as onDeactivated, A as createTextVNode, F as Fragment, R as Comment, m as defineComponent, E as provide, I as withDirectives, C as h, V as Teleport, S as renderSlot, W as isVNode, J as watchEffect, P as Transition, G as mergeProps, Q as vShow, H as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, x as createVNode, z as withCtx, f as createBaseVNode, B as normalizeStyle, e as createCommentVNode, v as createBlock, w as withModifiers, n as normalizeClass, a8 as resolveDirective, d as renderList, c as createApp, X as onUnmounted, Y as resolveDynamicComponent } from "./chunks/vue-lU0o_RlU.es.js";
|
|
4
4
|
import { B as Buffer$2 } from "./chunks/jszip-CYDYUNnI.es.js";
|
|
5
5
|
import { B as BlankDOCX } from "./chunks/blank-docx-iwdyG9RH.es.js";
|
|
@@ -24389,13 +24389,13 @@ var __webpack_exports__$1 = globalThis.pdfjsLib = {};
|
|
|
24389
24389
|
"./chunks/empty-smM22Y5N.es.js"
|
|
24390
24390
|
), http = await import(
|
|
24391
24391
|
/*webpackIgnore: true*/
|
|
24392
|
-
"./chunks/index-
|
|
24392
|
+
"./chunks/index-BMwK7kM5.es.js"
|
|
24393
24393
|
).then((n) => n.i), https = await import(
|
|
24394
24394
|
/*webpackIgnore: true*/
|
|
24395
|
-
"./chunks/index-
|
|
24395
|
+
"./chunks/index-MJ-5Yknb.es.js"
|
|
24396
24396
|
).then((n) => n.i), url = await import(
|
|
24397
24397
|
/*webpackIgnore: true*/
|
|
24398
|
-
"./chunks/url-
|
|
24398
|
+
"./chunks/url-Cqg2Hljl.es.js"
|
|
24399
24399
|
).then((n) => n.u);
|
|
24400
24400
|
let canvas, path2d;
|
|
24401
24401
|
try {
|
|
@@ -47798,7 +47798,7 @@ class SuperDoc extends EventEmitter {
|
|
|
47798
47798
|
this.config.colors = shuffleArray(this.config.colors);
|
|
47799
47799
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
47800
47800
|
this.colorIndex = 0;
|
|
47801
|
-
this.version = "0.14.9-next.
|
|
47801
|
+
this.version = "0.14.9-next.7";
|
|
47802
47802
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
47803
47803
|
this.superdocId = config.superdocId || v4();
|
|
47804
47804
|
this.colors = this.config.colors;
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -27839,9 +27839,9 @@
|
|
|
27839
27839
|
const { elements } = def2;
|
|
27840
27840
|
const listData = elements[0];
|
|
27841
27841
|
const numberingElements = listData.elements;
|
|
27842
|
-
const abstractDefinitions = numberingElements
|
|
27843
|
-
const numDefinitions = numberingElements
|
|
27844
|
-
const numDefinition = numDefinitions
|
|
27842
|
+
const abstractDefinitions = numberingElements?.filter((style2) => style2.name === "w:abstractNum");
|
|
27843
|
+
const numDefinitions = numberingElements?.filter((style2) => style2.name === "w:num");
|
|
27844
|
+
const numDefinition = numDefinitions?.find((style2) => style2.attributes["w:numId"] == numId);
|
|
27845
27845
|
const abstractNumId = numDefinition?.elements[0].attributes["w:val"];
|
|
27846
27846
|
let listDefinitionForThisNumId = abstractDefinitions?.find(
|
|
27847
27847
|
(style2) => style2.attributes["w:abstractNumId"] === abstractNumId
|
|
@@ -33861,7 +33861,7 @@
|
|
|
33861
33861
|
return;
|
|
33862
33862
|
}
|
|
33863
33863
|
}
|
|
33864
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.14.9-next.
|
|
33864
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.14.9-next.7") {
|
|
33865
33865
|
const customLocation = "docProps/custom.xml";
|
|
33866
33866
|
if (!docx[customLocation]) {
|
|
33867
33867
|
docx[customLocation] = generateCustomXml();
|
|
@@ -34337,7 +34337,7 @@
|
|
|
34337
34337
|
function generateCustomXml() {
|
|
34338
34338
|
return DEFAULT_CUSTOM_XML;
|
|
34339
34339
|
}
|
|
34340
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.14.9-next.
|
|
34340
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.14.9-next.7") {
|
|
34341
34341
|
return {
|
|
34342
34342
|
type: "element",
|
|
34343
34343
|
name: "property",
|
|
@@ -50423,7 +50423,7 @@
|
|
|
50423
50423
|
* @returns {Object | void} Migration results
|
|
50424
50424
|
*/
|
|
50425
50425
|
processCollaborationMigrations() {
|
|
50426
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.14.9-next.
|
|
50426
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.14.9-next.7");
|
|
50427
50427
|
if (!this.options.ydoc) return;
|
|
50428
50428
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
50429
50429
|
let docVersion = metaMap.get("version");
|
|
@@ -96195,7 +96195,7 @@ ${style2}
|
|
|
96195
96195
|
this.config.colors = shuffleArray(this.config.colors);
|
|
96196
96196
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
96197
96197
|
this.colorIndex = 0;
|
|
96198
|
-
this.version = "0.14.9-next.
|
|
96198
|
+
this.version = "0.14.9-next.7";
|
|
96199
96199
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
96200
96200
|
this.superdocId = config.superdocId || v4();
|
|
96201
96201
|
this.colors = this.config.colors;
|