superdoc 0.30.0-next.3 → 0.30.0-next.4
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-YWtbYClb.es.js → PdfViewer-DyeZP8Nl.es.js} +2 -2
- package/dist/chunks/{PdfViewer-BIJ6vJck.cjs → PdfViewer-Sfmu-cdb.cjs} +2 -2
- package/dist/chunks/{eventemitter3-BvTILlBo.cjs → eventemitter3-DmHNHvFX.cjs} +1 -1
- package/dist/chunks/{eventemitter3-D4gv5QOO.es.js → eventemitter3-hYlnBzSA.es.js} +1 -1
- package/dist/chunks/{index-Bh45DPpT.es.js → index-BHHC2mqV.es.js} +6 -6
- package/dist/chunks/{index-Br4fKccD.cjs → index-BuNsREKD.cjs} +6 -6
- package/dist/chunks/{index-D9ggxe26-Dk1kDrfi.es.js → index-D6-7DIFN-BWm3AMeg.es.js} +1 -1
- package/dist/chunks/{index-D9ggxe26-BbC5rNDO.cjs → index-D6-7DIFN-Dhy8SBt-.cjs} +1 -1
- package/dist/chunks/{jszip-B0BPx_cv.cjs → jszip-BP2FTbpi.cjs} +7 -7
- package/dist/chunks/{jszip-Bhl-Iudl.es.js → jszip-jKrsZoMS.es.js} +7 -7
- package/dist/chunks/{super-editor.es-FtXwm03k.es.js → super-editor.es-Dg85Z65T.es.js} +850 -851
- package/dist/chunks/{super-editor.es-4me2z6up.cjs → super-editor.es-c6saBc8S.cjs} +850 -851
- package/dist/chunks/{vue-D1vcEBAQ.es.js → vue-CKmzTNVs.es.js} +2 -2
- package/dist/chunks/{vue-BQxRC6G7.cjs → vue-Cwv-wUpm.cjs} +2 -2
- package/dist/chunks/xml-js-BSDu25I7.cjs +3 -0
- package/dist/chunks/xml-js-CBrRls0f.es.js +2 -0
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-SZ8xM5Dw.js → converter-OJmgERLD.js} +491 -497
- package/dist/super-editor/chunks/{docx-zipper-GNdwONoA.js → docx-zipper-DmTCMGub.js} +2 -2
- package/dist/super-editor/chunks/{editor-Bb8HzfEh.js → editor-BV5Ao3FS.js} +10 -5
- package/dist/super-editor/chunks/{index-D9ggxe26.js → index-D6-7DIFN.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-DtCz6r-y.js → toolbar-s_KEL20H.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/paragraph/paragraph.d.ts.map +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 +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +615 -616
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-cO2Q8Wfu.cjs +0 -3
- package/dist/chunks/xml-js-jMPlIVKT.es.js +0 -2
- package/dist/images/altText_add.svg +0 -3
- package/dist/images/altText_disclaimer.svg +0 -3
- package/dist/images/altText_done.svg +0 -3
- package/dist/images/altText_spinner.svg +0 -30
- package/dist/images/altText_warning.svg +0 -3
- package/dist/images/annotation-check.svg +0 -11
- package/dist/images/annotation-comment.svg +0 -16
- package/dist/images/annotation-help.svg +0 -26
- package/dist/images/annotation-insert.svg +0 -10
- package/dist/images/annotation-key.svg +0 -11
- package/dist/images/annotation-newparagraph.svg +0 -11
- package/dist/images/annotation-noicon.svg +0 -7
- package/dist/images/annotation-note.svg +0 -42
- package/dist/images/annotation-paperclip.svg +0 -6
- package/dist/images/annotation-paragraph.svg +0 -16
- package/dist/images/annotation-pushpin.svg +0 -7
- package/dist/images/cursor-editorFreeHighlight.svg +0 -6
- package/dist/images/cursor-editorFreeText.svg +0 -3
- package/dist/images/cursor-editorInk.svg +0 -4
- package/dist/images/cursor-editorTextHighlight.svg +0 -8
- package/dist/images/editor-toolbar-delete.svg +0 -5
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/messageBar_closingButton.svg +0 -3
- package/dist/images/messageBar_warning.svg +0 -3
- package/dist/images/toolbarButton-editorHighlight.svg +0 -6
- package/dist/images/toolbarButton-menuArrow.svg +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as defineComponent, y as h, O as Transition, $ as process$1, J as watchEffect, a as computed, r as ref, j as onMounted, W as onUnmounted, b as createElementBlock, o as openBlock, f as createBaseVNode, e as createCommentVNode, v as createVNode, x as unref } from "./vue-
|
|
2
|
-
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-
|
|
1
|
+
import { m as defineComponent, y as h, O as Transition, $ as process$1, J as watchEffect, a as computed, r as ref, j as onMounted, W as onUnmounted, b as createElementBlock, o as openBlock, f as createBaseVNode, e as createCommentVNode, v as createVNode, x as unref } from "./vue-CKmzTNVs.es.js";
|
|
2
|
+
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-BHHC2mqV.es.js";
|
|
3
3
|
function self(vars) {
|
|
4
4
|
const {
|
|
5
5
|
opacityDisabled,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const vue = require("./vue-
|
|
4
|
-
const superdoc = require("./index-
|
|
3
|
+
const vue = require("./vue-Cwv-wUpm.cjs");
|
|
4
|
+
const superdoc = require("./index-BuNsREKD.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { q as index, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./super-editor.es-
|
|
1
|
+
import { q as index, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./super-editor.es-Dg85Z65T.es.js";
|
|
2
2
|
import { B as BlankDOCX } from "./blank-docx-ABm6XYAA.es.js";
|
|
3
|
-
import { E as EventEmitter } from "./eventemitter3-
|
|
3
|
+
import { E as EventEmitter } from "./eventemitter3-hYlnBzSA.es.js";
|
|
4
4
|
import { HocuspocusProvider, HocuspocusProviderWebsocket } from "@hocuspocus/provider";
|
|
5
|
-
import { a0 as effectScope, r as ref, _ as markRaw, $ as process$1, a1 as toRaw, a as computed, a2 as isRef, a3 as isReactive, E as toRef, i as inject, p as getCurrentInstance, l as watch, x as unref, a4 as hasInjectionContext, M as reactive, s as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, A as shallowRef, N as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, S as onActivated, q as onDeactivated, C as createTextVNode, F as Fragment, Q as Comment, m as defineComponent, G as provide, I as withDirectives, y as h, U as Teleport, R as renderSlot, V as isVNode, J as watchEffect, O as Transition, a8 as TransitionGroup, z as mergeProps, P as vShow, H as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, v as createVNode, B as withCtx, f as createBaseVNode, D as normalizeStyle, e as createCommentVNode, u as createBlock, w as withModifiers, n as normalizeClass, a9 as resolveDirective, d as renderList, c as createApp, X as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-
|
|
5
|
+
import { a0 as effectScope, r as ref, _ as markRaw, $ as process$1, a1 as toRaw, a as computed, a2 as isRef, a3 as isReactive, E as toRef, i as inject, p as getCurrentInstance, l as watch, x as unref, a4 as hasInjectionContext, M as reactive, s as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, A as shallowRef, N as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, S as onActivated, q as onDeactivated, C as createTextVNode, F as Fragment, Q as Comment, m as defineComponent, G as provide, I as withDirectives, y as h, U as Teleport, R as renderSlot, V as isVNode, J as watchEffect, O as Transition, a8 as TransitionGroup, z as mergeProps, P as vShow, H as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, v as createVNode, B as withCtx, f as createBaseVNode, D as normalizeStyle, e as createCommentVNode, u as createBlock, w as withModifiers, n as normalizeClass, a9 as resolveDirective, d as renderList, c as createApp, X as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-CKmzTNVs.es.js";
|
|
6
6
|
import * as Y from "yjs";
|
|
7
7
|
import { Doc, Map as Map$2 } from "yjs";
|
|
8
|
-
import { B as Buffer$2 } from "./jszip-
|
|
8
|
+
import { B as Buffer$2 } from "./jszip-jKrsZoMS.es.js";
|
|
9
9
|
import { v as v4 } from "./uuid-CjlX8hrF.es.js";
|
|
10
10
|
const DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
11
11
|
const PDF = "application/pdf";
|
|
@@ -17201,7 +17201,7 @@ const _sfc_main = {
|
|
|
17201
17201
|
__name: "SuperDoc",
|
|
17202
17202
|
emits: ["selection-update"],
|
|
17203
17203
|
setup(__props, { emit: __emit }) {
|
|
17204
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17204
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-DyeZP8Nl.es.js"));
|
|
17205
17205
|
const superdocStore = useSuperdocStore();
|
|
17206
17206
|
const commentsStore = useCommentsStore();
|
|
17207
17207
|
const {
|
|
@@ -17965,7 +17965,7 @@ class SuperDoc extends EventEmitter {
|
|
|
17965
17965
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17966
17966
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17967
17967
|
this.colorIndex = 0;
|
|
17968
|
-
this.version = "0.30.0-next.
|
|
17968
|
+
this.version = "0.30.0-next.4";
|
|
17969
17969
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17970
17970
|
this.superdocId = config.superdocId || v4();
|
|
17971
17971
|
this.colors = this.config.colors;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const superEditor_es = require("./super-editor.es-
|
|
2
|
+
const superEditor_es = require("./super-editor.es-c6saBc8S.cjs");
|
|
3
3
|
const blankDocx = require("./blank-docx-DfW3Eeh2.cjs");
|
|
4
|
-
const eventemitter3 = require("./eventemitter3-
|
|
4
|
+
const eventemitter3 = require("./eventemitter3-DmHNHvFX.cjs");
|
|
5
5
|
const provider = require("@hocuspocus/provider");
|
|
6
|
-
const vue = require("./vue-
|
|
6
|
+
const vue = require("./vue-Cwv-wUpm.cjs");
|
|
7
7
|
const Y = require("yjs");
|
|
8
|
-
const jszip = require("./jszip-
|
|
8
|
+
const jszip = require("./jszip-BP2FTbpi.cjs");
|
|
9
9
|
const uuid = require("./uuid-R7L08bOx.cjs");
|
|
10
10
|
function _interopNamespaceDefault(e) {
|
|
11
11
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -17218,7 +17218,7 @@ const _sfc_main = {
|
|
|
17218
17218
|
__name: "SuperDoc",
|
|
17219
17219
|
emits: ["selection-update"],
|
|
17220
17220
|
setup(__props, { emit: __emit }) {
|
|
17221
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17221
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-Sfmu-cdb.cjs")));
|
|
17222
17222
|
const superdocStore = useSuperdocStore();
|
|
17223
17223
|
const commentsStore = useCommentsStore();
|
|
17224
17224
|
const {
|
|
@@ -17982,7 +17982,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
17982
17982
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17983
17983
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17984
17984
|
this.colorIndex = 0;
|
|
17985
|
-
this.version = "0.30.0-next.
|
|
17985
|
+
this.version = "0.30.0-next.4";
|
|
17986
17986
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17987
17987
|
this.superdocId = config.superdocId || uuid.v4();
|
|
17988
17988
|
this.colors = this.config.colors;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./super-editor.es-
|
|
3
|
+
const superEditor_es = require("./super-editor.es-c6saBc8S.cjs");
|
|
4
4
|
const indexCvBqQJbG = require("./index-CvBqQJbG-Dwm0THD7.cjs");
|
|
5
5
|
function bail(error) {
|
|
6
6
|
if (error) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
require("./vue-
|
|
2
|
+
require("./vue-Cwv-wUpm.cjs");
|
|
3
3
|
function getDefaultExportFromCjs(x) {
|
|
4
4
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
5
5
|
}
|
|
@@ -182,15 +182,15 @@ ieee754.write = function(buffer2, value, offset, isLE, mLen, nBytes) {
|
|
|
182
182
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
183
183
|
* @license MIT
|
|
184
184
|
*/
|
|
185
|
-
(function(
|
|
185
|
+
(function(exports$1) {
|
|
186
186
|
const base64 = base64Js;
|
|
187
187
|
const ieee754$1 = ieee754;
|
|
188
188
|
const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
189
|
+
exports$1.Buffer = Buffer2;
|
|
190
|
+
exports$1.SlowBuffer = SlowBuffer;
|
|
191
|
+
exports$1.INSPECT_MAX_BYTES = 50;
|
|
192
192
|
const K_MAX_LENGTH = 2147483647;
|
|
193
|
-
|
|
193
|
+
exports$1.kMaxLength = K_MAX_LENGTH;
|
|
194
194
|
const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
|
|
195
195
|
Buffer2.TYPED_ARRAY_SUPPORT = typedArraySupport();
|
|
196
196
|
if (!Buffer2.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
|
|
@@ -621,7 +621,7 @@ ieee754.write = function(buffer2, value, offset, isLE, mLen, nBytes) {
|
|
|
621
621
|
};
|
|
622
622
|
Buffer2.prototype.inspect = function inspect() {
|
|
623
623
|
let str = "";
|
|
624
|
-
const max =
|
|
624
|
+
const max = exports$1.INSPECT_MAX_BYTES;
|
|
625
625
|
str = this.toString("hex", 0, max).replace(/(.{2})/g, "$1 ").trim();
|
|
626
626
|
if (this.length > max) str += " ... ";
|
|
627
627
|
return "<Buffer " + str + ">";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./vue-
|
|
1
|
+
import "./vue-CKmzTNVs.es.js";
|
|
2
2
|
function getDefaultExportFromCjs(x) {
|
|
3
3
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
4
4
|
}
|
|
@@ -181,15 +181,15 @@ ieee754.write = function(buffer2, value, offset, isLE, mLen, nBytes) {
|
|
|
181
181
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
182
182
|
* @license MIT
|
|
183
183
|
*/
|
|
184
|
-
(function(exports) {
|
|
184
|
+
(function(exports$1) {
|
|
185
185
|
const base64 = base64Js;
|
|
186
186
|
const ieee754$1 = ieee754;
|
|
187
187
|
const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
|
|
188
|
-
exports.Buffer = Buffer2;
|
|
189
|
-
exports.SlowBuffer = SlowBuffer;
|
|
190
|
-
exports.INSPECT_MAX_BYTES = 50;
|
|
188
|
+
exports$1.Buffer = Buffer2;
|
|
189
|
+
exports$1.SlowBuffer = SlowBuffer;
|
|
190
|
+
exports$1.INSPECT_MAX_BYTES = 50;
|
|
191
191
|
const K_MAX_LENGTH = 2147483647;
|
|
192
|
-
exports.kMaxLength = K_MAX_LENGTH;
|
|
192
|
+
exports$1.kMaxLength = K_MAX_LENGTH;
|
|
193
193
|
const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
|
|
194
194
|
Buffer2.TYPED_ARRAY_SUPPORT = typedArraySupport();
|
|
195
195
|
if (!Buffer2.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
|
|
@@ -620,7 +620,7 @@ ieee754.write = function(buffer2, value, offset, isLE, mLen, nBytes) {
|
|
|
620
620
|
};
|
|
621
621
|
Buffer2.prototype.inspect = function inspect() {
|
|
622
622
|
let str = "";
|
|
623
|
-
const max = exports.INSPECT_MAX_BYTES;
|
|
623
|
+
const max = exports$1.INSPECT_MAX_BYTES;
|
|
624
624
|
str = this.toString("hex", 0, max).replace(/(.{2})/g, "$1 ").trim();
|
|
625
625
|
if (this.length > max) str += " ... ";
|
|
626
626
|
return "<Buffer " + str + ">";
|