superdoc 1.0.0-beta.97 → 1.0.0-beta.99
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-YvkZg201.cjs → PdfViewer-BtuTHUW7.cjs} +1 -1
- package/dist/chunks/{PdfViewer-BHcBfUWj.es.js → PdfViewer-DF-v5Yrr.es.js} +1 -1
- package/dist/chunks/{index-Pvlqsxge-IH3eauKE.cjs → index-BB0msI45-CPU6Ak2R.cjs} +1 -1
- package/dist/chunks/{index-Pvlqsxge-vW641SZt.es.js → index-BB0msI45-DUPBw4Bh.es.js} +1 -1
- package/dist/chunks/{index-DZ_AI-HW.cjs → index-BBu9BBvp.cjs} +5 -14
- package/dist/chunks/{index-DeQfFbTb.es.js → index-CJy3FxL7.es.js} +5 -14
- package/dist/chunks/{super-editor.es-BinyZw4F.es.js → super-editor.es-BiaFIbw-.es.js} +242 -160
- package/dist/chunks/{super-editor.es-BP3PKkwh.cjs → super-editor.es-C04sFzVD.cjs} +242 -160
- package/dist/style.css +6 -6
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BEVM5t3i.js → converter-B_cVJPnh.js} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-vETk3IMG.js → docx-zipper-fPWx7kV0.js} +1 -1
- package/dist/super-editor/chunks/{editor-B8k1bwD_.js → editor-DS9z42Je.js} +243 -161
- package/dist/super-editor/chunks/{index-Pvlqsxge.js → index-BB0msI45.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-j1GSUGWU.js → toolbar-aIFlIr6h.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 +246 -173
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -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-BBu9BBvp.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { y as defineComponent, z as h, O as Transition, a0 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, u as createVNode, v as unref } from "./vue-Dysv_7z5.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-CJy3FxL7.es.js";
|
|
3
3
|
function self(vars) {
|
|
4
4
|
const {
|
|
5
5
|
opacityDisabled,
|
|
@@ -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-C04sFzVD.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
|
-
const superEditor_es = require("./super-editor.es-
|
|
2
|
+
const superEditor_es = require("./super-editor.es-C04sFzVD.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");
|
|
@@ -16550,19 +16550,10 @@ const _sfc_main$9 = {
|
|
|
16550
16550
|
measurementTimeoutId.value = null;
|
|
16551
16551
|
}
|
|
16552
16552
|
const totalComments = getFloatingComments.value.length;
|
|
16553
|
-
const measuredComments = renderedSizes.value.length;
|
|
16554
16553
|
if (totalComments === 0) {
|
|
16555
16554
|
return;
|
|
16556
16555
|
}
|
|
16557
|
-
|
|
16558
|
-
vue.nextTick(processLocations);
|
|
16559
|
-
} else if (measuredComments > 0 && !firstGroupRendered.value) {
|
|
16560
|
-
measurementTimeoutId.value = setTimeout(() => {
|
|
16561
|
-
if (!firstGroupRendered.value && renderedSizes.value.length > 0) {
|
|
16562
|
-
processLocations();
|
|
16563
|
-
}
|
|
16564
|
-
}, 100);
|
|
16565
|
-
}
|
|
16556
|
+
vue.nextTick(processLocations);
|
|
16566
16557
|
});
|
|
16567
16558
|
vue.watch(activeComment, (newVal, oldVal) => {
|
|
16568
16559
|
vue.nextTick(() => {
|
|
@@ -16640,7 +16631,7 @@ const _sfc_main$9 = {
|
|
|
16640
16631
|
};
|
|
16641
16632
|
}
|
|
16642
16633
|
};
|
|
16643
|
-
const FloatingComments = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
16634
|
+
const FloatingComments = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-6905dd07"]]);
|
|
16644
16635
|
const _sfc_main$8 = {
|
|
16645
16636
|
__name: "TextField",
|
|
16646
16637
|
props: {
|
|
@@ -17268,7 +17259,7 @@ const _sfc_main = {
|
|
|
17268
17259
|
__name: "SuperDoc",
|
|
17269
17260
|
emits: ["selection-update"],
|
|
17270
17261
|
setup(__props, { emit: __emit }) {
|
|
17271
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17262
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-BtuTHUW7.cjs")));
|
|
17272
17263
|
const superdocStore = useSuperdocStore();
|
|
17273
17264
|
const commentsStore = useCommentsStore();
|
|
17274
17265
|
const {
|
|
@@ -18157,7 +18148,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
18157
18148
|
this.config.colors = shuffleArray(this.config.colors);
|
|
18158
18149
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
18159
18150
|
this.colorIndex = 0;
|
|
18160
|
-
this.version = "1.0.0-beta.
|
|
18151
|
+
this.version = "1.0.0-beta.99";
|
|
18161
18152
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
18162
18153
|
this.superdocId = config.superdocId || uuid.v4();
|
|
18163
18154
|
this.colors = this.config.colors;
|
|
@@ -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-BiaFIbw-.es.js";
|
|
2
2
|
import { B as BlankDOCX } from "./blank-docx-ABm6XYAA.es.js";
|
|
3
3
|
import { E as EventEmitter } from "./eventemitter3-CcXAdeql.es.js";
|
|
4
4
|
import { HocuspocusProvider, HocuspocusProviderWebsocket } from "@hocuspocus/provider";
|
|
@@ -16533,19 +16533,10 @@ const _sfc_main$9 = {
|
|
|
16533
16533
|
measurementTimeoutId.value = null;
|
|
16534
16534
|
}
|
|
16535
16535
|
const totalComments = getFloatingComments.value.length;
|
|
16536
|
-
const measuredComments = renderedSizes.value.length;
|
|
16537
16536
|
if (totalComments === 0) {
|
|
16538
16537
|
return;
|
|
16539
16538
|
}
|
|
16540
|
-
|
|
16541
|
-
nextTick(processLocations);
|
|
16542
|
-
} else if (measuredComments > 0 && !firstGroupRendered.value) {
|
|
16543
|
-
measurementTimeoutId.value = setTimeout(() => {
|
|
16544
|
-
if (!firstGroupRendered.value && renderedSizes.value.length > 0) {
|
|
16545
|
-
processLocations();
|
|
16546
|
-
}
|
|
16547
|
-
}, 100);
|
|
16548
|
-
}
|
|
16539
|
+
nextTick(processLocations);
|
|
16549
16540
|
});
|
|
16550
16541
|
watch(activeComment, (newVal, oldVal) => {
|
|
16551
16542
|
nextTick(() => {
|
|
@@ -16623,7 +16614,7 @@ const _sfc_main$9 = {
|
|
|
16623
16614
|
};
|
|
16624
16615
|
}
|
|
16625
16616
|
};
|
|
16626
|
-
const FloatingComments = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
16617
|
+
const FloatingComments = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-6905dd07"]]);
|
|
16627
16618
|
const _sfc_main$8 = {
|
|
16628
16619
|
__name: "TextField",
|
|
16629
16620
|
props: {
|
|
@@ -17251,7 +17242,7 @@ const _sfc_main = {
|
|
|
17251
17242
|
__name: "SuperDoc",
|
|
17252
17243
|
emits: ["selection-update"],
|
|
17253
17244
|
setup(__props, { emit: __emit }) {
|
|
17254
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17245
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-DF-v5Yrr.es.js"));
|
|
17255
17246
|
const superdocStore = useSuperdocStore();
|
|
17256
17247
|
const commentsStore = useCommentsStore();
|
|
17257
17248
|
const {
|
|
@@ -18140,7 +18131,7 @@ class SuperDoc extends EventEmitter {
|
|
|
18140
18131
|
this.config.colors = shuffleArray(this.config.colors);
|
|
18141
18132
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
18142
18133
|
this.colorIndex = 0;
|
|
18143
|
-
this.version = "1.0.0-beta.
|
|
18134
|
+
this.version = "1.0.0-beta.99";
|
|
18144
18135
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
18145
18136
|
this.superdocId = config.superdocId || v4();
|
|
18146
18137
|
this.colors = this.config.colors;
|