@harbour-enterprises/superdoc 0.6.53-RC2 → 0.6.54
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-CNRkrxU_.js → index-C9_loHlV.js} +2 -2
- package/dist/chunks/{index-CNRkrxU_.js.map → index-C9_loHlV.js.map} +1 -1
- package/dist/chunks/{index-nNmNp7xV.js → index-CYNgdiE-.js} +3 -3
- package/dist/chunks/{index-nNmNp7xV.js.map → index-CYNgdiE-.js.map} +1 -1
- package/dist/chunks/{super-editor.es-BNq7PTdY.js → super-editor.es-cuyJYVt1.js} +4 -4
- package/dist/chunks/super-editor.es-cuyJYVt1.js.map +1 -0
- package/dist/chunks/{url-fcWIKKAi.js → url-BEZ_vydO.js} +2 -2
- package/dist/chunks/{url-fcWIKKAi.js.map → url-BEZ_vydO.js.map} +1 -1
- package/dist/chunks/{xml-js-B_TKCasX.js → xml-js-thotvZIi.js} +12 -5
- package/dist/chunks/{xml-js-B_TKCasX.js.map → xml-js-thotvZIi.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-GTDpz_PU.js → converter-C1BQrpaR.js} +3 -3
- package/dist/super-editor/chunks/{converter-GTDpz_PU.js.map → converter-C1BQrpaR.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-BhLNuDo2.js → docx-zipper-Cqzm3XQw.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-BhLNuDo2.js.map → docx-zipper-Cqzm3XQw.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-CFNmEw2H.js → editor-D5hBMEbc.js} +4 -4
- package/dist/super-editor/chunks/{editor-CFNmEw2H.js.map → editor-D5hBMEbc.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-CRJVoRLU.js → toolbar-CIkvzA64.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-CRJVoRLU.js.map → toolbar-CIkvzA64.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/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +4 -4
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/super-editor.es-BNq7PTdY.js.map +0 -1
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-L3cpx_h8.d.ts +0 -3
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-L3cpx_h8.d.ts.map +0 -1
- package/dist/super-editor/tests/playwright/playwright-test/dist/assets/index-CRixhnI8.d.ts +0 -3
- package/dist/super-editor/tests/playwright/playwright-test/dist/assets/index-CRixhnI8.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E } from "./chunks/editor-D5hBMEbc.js";
|
|
2
|
+
import "./chunks/converter-C1BQrpaR.js";
|
|
3
|
+
import "./chunks/docx-zipper-Cqzm3XQw.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -9,13 +9,13 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
|
|
|
9
9
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
10
10
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
11
11
|
var _interceptedCommands, _SuperToolbar_instances, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import { _ as _export_sfc, a as getQuickFormatList, b as generateLinkedStyleString, I as ImagePlaceholderPluginKey, f as findPlaceholder, c as findParentNode, d as getActiveFormatting, i as isInTable, u as undoDepth, r as redoDepth, E as Editor, e as getStarterExtensions, P as Placeholder, h as getRichTextExtensions } from "./chunks/editor-
|
|
13
|
-
import { k, m, j, l } from "./chunks/editor-
|
|
14
|
-
import { L as getDefaultExportFromCjs, v as v4, T as TextSelection, Q as vClickOutside } from "./chunks/converter-
|
|
15
|
-
import { B } from "./chunks/converter-
|
|
12
|
+
import { _ as _export_sfc, a as getQuickFormatList, b as generateLinkedStyleString, I as ImagePlaceholderPluginKey, f as findPlaceholder, c as findParentNode, d as getActiveFormatting, i as isInTable, u as undoDepth, r as redoDepth, E as Editor, e as getStarterExtensions, P as Placeholder, h as getRichTextExtensions } from "./chunks/editor-D5hBMEbc.js";
|
|
13
|
+
import { k, m, j, l } from "./chunks/editor-D5hBMEbc.js";
|
|
14
|
+
import { L as getDefaultExportFromCjs, v as v4, T as TextSelection, Q as vClickOutside } from "./chunks/converter-C1BQrpaR.js";
|
|
15
|
+
import { B } from "./chunks/converter-C1BQrpaR.js";
|
|
16
16
|
import { ref, createElementBlock, openBlock, createElementVNode, unref, getCurrentInstance, computed, watch, onMounted, createCommentVNode, withDirectives, withKeys, normalizeClass, withModifiers, vModelText, createTextVNode, toDisplayString, Fragment, renderList, normalizeStyle, createVNode, h, createApp, reactive, onUnmounted, shallowRef, onBeforeUnmount, createBlock } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-
|
|
18
|
-
import { D } from "./chunks/docx-zipper-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-CIkvzA64.js";
|
|
18
|
+
import { D } from "./chunks/docx-zipper-Cqzm3XQw.js";
|
|
19
19
|
import { createZip } from "./file-zipper.es.js";
|
|
20
20
|
var eventemitter3 = { exports: {} };
|
|
21
21
|
(function(module) {
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _, D, E, S, a, b, c, T, d, i, g, e, f, h, j, k, l } from "./chunks/super-editor.es-
|
|
1
|
+
import { _, D, E, S, a, b, c, T, d, i, g, e, f, h, j, k, l } from "./chunks/super-editor.es-cuyJYVt1.js";
|
|
2
2
|
import "./chunks/vue-CUQGd1xF.js";
|
|
3
3
|
export {
|
|
4
4
|
_ as BasicUpload,
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as Editor, h as getRichTextExtensions, b as SuperInput, a as SuperEditor, c as SuperToolbar, d as createZip } from "./chunks/super-editor.es-
|
|
2
|
-
import { S, i, k, l } from "./chunks/super-editor.es-
|
|
1
|
+
import { E as Editor, h as getRichTextExtensions, b as SuperInput, a as SuperEditor, c as SuperToolbar, d as createZip } from "./chunks/super-editor.es-cuyJYVt1.js";
|
|
2
|
+
import { S, i, k, l } from "./chunks/super-editor.es-cuyJYVt1.js";
|
|
3
3
|
import { Y as effectScope, r as ref, Z as markRaw, p as process$1, _ as toRaw, a as computed, $ as isRef, a0 as isReactive, B as toRef, i as inject, l as getCurrentInstance, j as watch, v as unref, a1 as hasInjectionContext, L as reactive, R as nextTick, a2 as getCurrentScope, a3 as onScopeDispose, a4 as toRefs, g as global$1, N as shallowRef, M as readonly, f as onMounted, h as onBeforeUnmount, e as onBeforeMount, U as onActivated, m as onDeactivated, y as createTextVNode, F as Fragment, Q as Comment, k as defineComponent, C as provide, G as withDirectives, A as h, V as Teleport, S as renderSlot, W as isVNode, K as watchEffect, O as Transition, D as mergeProps, P as vShow, J as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, u as createVNode, x as withCtx, E as createBaseVNode, z as normalizeStyle, s as createCommentVNode, q as createBlock, w as withModifiers, n as normalizeClass, a5 as resolveDirective, d as renderList, c as createApp, a6 as resolveDynamicComponent } from "./chunks/vue-CUQGd1xF.js";
|
|
4
4
|
import { B as Buffer$2 } from "./chunks/jszip-DlHbx6j5.js";
|
|
5
5
|
import { b } from "./chunks/blank-docx-BagxM198.js";
|
|
@@ -22514,13 +22514,13 @@ var __webpack_exports__$1 = globalThis.pdfjsLib = {};
|
|
|
22514
22514
|
"./chunks/empty-smM22Y5N.js"
|
|
22515
22515
|
), http = await import(
|
|
22516
22516
|
/*webpackIgnore: true*/
|
|
22517
|
-
"./chunks/index-
|
|
22517
|
+
"./chunks/index-CYNgdiE-.js"
|
|
22518
22518
|
).then((n) => n.i), https = await import(
|
|
22519
22519
|
/*webpackIgnore: true*/
|
|
22520
|
-
"./chunks/index-
|
|
22520
|
+
"./chunks/index-C9_loHlV.js"
|
|
22521
22521
|
).then((n) => n.i), url = await import(
|
|
22522
22522
|
/*webpackIgnore: true*/
|
|
22523
|
-
"./chunks/url-
|
|
22523
|
+
"./chunks/url-BEZ_vydO.js"
|
|
22524
22524
|
).then((n) => n.u);
|
|
22525
22525
|
let canvas, path2d;
|
|
22526
22526
|
try {
|
|
@@ -45569,7 +45569,7 @@ class SuperDoc extends EventEmitter {
|
|
|
45569
45569
|
this.config.colors = shuffleArray(this.config.colors);
|
|
45570
45570
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
45571
45571
|
this.colorIndex = 0;
|
|
45572
|
-
this.version = "0.6.
|
|
45572
|
+
this.version = "0.6.54";
|
|
45573
45573
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
45574
45574
|
this.superdocId = config.superdocId || v4();
|
|
45575
45575
|
this.colors = this.config.colors;
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -27913,7 +27913,7 @@
|
|
|
27913
27913
|
return;
|
|
27914
27914
|
}
|
|
27915
27915
|
}
|
|
27916
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.
|
|
27916
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.54") {
|
|
27917
27917
|
const customLocation = "docProps/custom.xml";
|
|
27918
27918
|
if (!docx[customLocation]) {
|
|
27919
27919
|
docx[customLocation] = generateCustomXml();
|
|
@@ -28176,7 +28176,7 @@
|
|
|
28176
28176
|
function generateCustomXml() {
|
|
28177
28177
|
return DEFAULT_CUSTOM_XML;
|
|
28178
28178
|
}
|
|
28179
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.6.
|
|
28179
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.6.54") {
|
|
28180
28180
|
return {
|
|
28181
28181
|
type: "element",
|
|
28182
28182
|
name: "property",
|
|
@@ -42202,7 +42202,7 @@
|
|
|
42202
42202
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
42203
42203
|
*/
|
|
42204
42204
|
processCollaborationMigrations() {
|
|
42205
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.6.
|
|
42205
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.6.54");
|
|
42206
42206
|
if (!this.options.ydoc) return;
|
|
42207
42207
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
42208
42208
|
let docVersion = metaMap.get("version");
|
|
@@ -110206,7 +110206,7 @@ ${style2}
|
|
|
110206
110206
|
this.config.colors = shuffleArray(this.config.colors);
|
|
110207
110207
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
110208
110208
|
this.colorIndex = 0;
|
|
110209
|
-
this.version = "0.6.
|
|
110209
|
+
this.version = "0.6.54";
|
|
110210
110210
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
110211
110211
|
this.superdocId = config.superdocId || v4();
|
|
110212
110212
|
this.colors = this.config.colors;
|