@harbour-enterprises/superdoc 1.0.0-next.3 → 1.0.0-next.5
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-PUn0q_lG.es.js → PdfViewer-BQ7d08ku.es.js} +1 -1
- package/dist/chunks/{PdfViewer-cVGt7Ne7.cjs → PdfViewer-D8FKTxiO.cjs} +1 -1
- package/dist/chunks/{index-Djmhr-R6.cjs → index-BOkSE8Li.cjs} +6 -5
- package/dist/chunks/{index-DLO-SgUP-BNtYQDPq.cjs → index-BUoOdDUj-CF4U3xYL.cjs} +1 -1
- package/dist/chunks/{index-DLO-SgUP-c73otQJ5.es.js → index-BUoOdDUj-CLmpIPsb.es.js} +1 -1
- package/dist/chunks/{index-mHanL4xN.es.js → index-D3wrs960.es.js} +6 -5
- package/dist/chunks/{super-editor.es-Cve8WKfM.cjs → super-editor.es-Bj_Ga0sp.cjs} +417 -117
- package/dist/chunks/{super-editor.es-S9Kp_7dy.es.js → super-editor.es-vynpc_1U.es.js} +417 -117
- package/dist/style.css +6 -6
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-ByybZRFp.js → converter-D6Kvbivo.js} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-CFQANTLI.js → docx-zipper-DAS45uKP.js} +1 -1
- package/dist/super-editor/chunks/{editor-Cu4hD14N.js → editor-BMEPaiVS.js} +418 -118
- package/dist/super-editor/chunks/{index-DLO-SgUP.js → index-BUoOdDUj.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-5MMla0sj.js → toolbar-CUWKY5Cx.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 +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +422 -121
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- 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
1
|
import { y as defineComponent, A as h, P as Transition, a0 as process$1, K as watchEffect, a as computed, r as ref, j as onMounted, X as onUnmounted, b as createElementBlock, o as openBlock, f as createBaseVNode, e as createCommentVNode, s as createVNode, x as unref } from "./vue-BuPTonTJ.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-
|
|
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-D3wrs960.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
3
|
const vue = require("./vue-jWLMl8Ts.cjs");
|
|
4
|
-
const superdoc = require("./index-
|
|
4
|
+
const superdoc = require("./index-BOkSE8Li.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const superEditor_es = require("./super-editor.es-
|
|
2
|
+
const superEditor_es = require("./super-editor.es-Bj_Ga0sp.cjs");
|
|
3
3
|
const blankDocx = require("./blank-docx-DfW3Eeh2.cjs");
|
|
4
4
|
const eventemitter3 = require("./eventemitter3-DQmQUge-.cjs");
|
|
5
5
|
const provider = require("@hocuspocus/provider");
|
|
@@ -16771,7 +16771,8 @@ const _sfc_main$9 = {
|
|
|
16771
16771
|
measurementTimeoutId.value = null;
|
|
16772
16772
|
}
|
|
16773
16773
|
const totalComments = getFloatingComments.value.length;
|
|
16774
|
-
|
|
16774
|
+
const measuredComments = renderedSizes.value.length;
|
|
16775
|
+
if (totalComments === 0 || measuredComments === 0) {
|
|
16775
16776
|
return;
|
|
16776
16777
|
}
|
|
16777
16778
|
vue.nextTick(processLocations);
|
|
@@ -16852,7 +16853,7 @@ const _sfc_main$9 = {
|
|
|
16852
16853
|
};
|
|
16853
16854
|
}
|
|
16854
16855
|
};
|
|
16855
|
-
const FloatingComments = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
16856
|
+
const FloatingComments = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-1402ce8c"]]);
|
|
16856
16857
|
const _sfc_main$8 = {
|
|
16857
16858
|
__name: "TextField",
|
|
16858
16859
|
props: {
|
|
@@ -17480,7 +17481,7 @@ const _sfc_main = {
|
|
|
17480
17481
|
__name: "SuperDoc",
|
|
17481
17482
|
emits: ["selection-update"],
|
|
17482
17483
|
setup(__props, { emit: __emit }) {
|
|
17483
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17484
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-D8FKTxiO.cjs")));
|
|
17484
17485
|
const superdocStore = useSuperdocStore();
|
|
17485
17486
|
const commentsStore = useCommentsStore();
|
|
17486
17487
|
const {
|
|
@@ -18384,7 +18385,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
18384
18385
|
this.config.colors = shuffleArray(this.config.colors);
|
|
18385
18386
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
18386
18387
|
this.colorIndex = 0;
|
|
18387
|
-
this.version = "1.0.0-next.
|
|
18388
|
+
this.version = "1.0.0-next.5";
|
|
18388
18389
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
18389
18390
|
this.superdocId = config.superdocId || uuid.v4();
|
|
18390
18391
|
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-Bj_Ga0sp.cjs");
|
|
4
4
|
const indexCvBqQJbG = require("./index-CvBqQJbG-Dwm0THD7.cjs");
|
|
5
5
|
function bail(error) {
|
|
6
6
|
if (error) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as index, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, P as PresentationEditor, 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, P as PresentationEditor, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./super-editor.es-vynpc_1U.es.js";
|
|
2
2
|
import { B as BlankDOCX } from "./blank-docx-ABm6XYAA.es.js";
|
|
3
3
|
import { E as EventEmitter } from "./eventemitter3-44XulWQe.es.js";
|
|
4
4
|
import { HocuspocusProvider, HocuspocusProviderWebsocket } from "@hocuspocus/provider";
|
|
@@ -16754,7 +16754,8 @@ const _sfc_main$9 = {
|
|
|
16754
16754
|
measurementTimeoutId.value = null;
|
|
16755
16755
|
}
|
|
16756
16756
|
const totalComments = getFloatingComments.value.length;
|
|
16757
|
-
|
|
16757
|
+
const measuredComments = renderedSizes.value.length;
|
|
16758
|
+
if (totalComments === 0 || measuredComments === 0) {
|
|
16758
16759
|
return;
|
|
16759
16760
|
}
|
|
16760
16761
|
nextTick(processLocations);
|
|
@@ -16835,7 +16836,7 @@ const _sfc_main$9 = {
|
|
|
16835
16836
|
};
|
|
16836
16837
|
}
|
|
16837
16838
|
};
|
|
16838
|
-
const FloatingComments = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
16839
|
+
const FloatingComments = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-1402ce8c"]]);
|
|
16839
16840
|
const _sfc_main$8 = {
|
|
16840
16841
|
__name: "TextField",
|
|
16841
16842
|
props: {
|
|
@@ -17463,7 +17464,7 @@ const _sfc_main = {
|
|
|
17463
17464
|
__name: "SuperDoc",
|
|
17464
17465
|
emits: ["selection-update"],
|
|
17465
17466
|
setup(__props, { emit: __emit }) {
|
|
17466
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17467
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-BQ7d08ku.es.js"));
|
|
17467
17468
|
const superdocStore = useSuperdocStore();
|
|
17468
17469
|
const commentsStore = useCommentsStore();
|
|
17469
17470
|
const {
|
|
@@ -18367,7 +18368,7 @@ class SuperDoc extends EventEmitter {
|
|
|
18367
18368
|
this.config.colors = shuffleArray(this.config.colors);
|
|
18368
18369
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
18369
18370
|
this.colorIndex = 0;
|
|
18370
|
-
this.version = "1.0.0-next.
|
|
18371
|
+
this.version = "1.0.0-next.5";
|
|
18371
18372
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
18372
18373
|
this.superdocId = config.superdocId || v4();
|
|
18373
18374
|
this.colors = this.config.colors;
|