superdoc 0.29.0-RC.7 → 0.29.0-next.2
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-CWL16KKb.es.js → PdfViewer-ByaA6tu-.es.js} +2 -2
- package/dist/chunks/{PdfViewer-DWR9sDLY.cjs → PdfViewer-POSV5DiN.cjs} +1 -1
- package/dist/chunks/{eventemitter3-BkbWP1qf.es.js → eventemitter3-BWEnUdTY.es.js} +1 -1
- package/dist/chunks/{index-CHYEUNfo.cjs → index-3BBP_H1q.cjs} +20 -21
- package/dist/chunks/{index-4nmAWgEc.es.js → index-C3_BQlO-.es.js} +9 -10
- package/dist/chunks/{index-xf8PA6i5-CwIBFHZx.cjs → index-F9UTAd9o-FTCIxXZV.cjs} +2 -2
- package/dist/chunks/{index-xf8PA6i5-COIYKAEW.es.js → index-F9UTAd9o-O789Xvby.es.js} +1 -1
- package/dist/chunks/{jszip-CW37Y2Mi.es.js → jszip-BDk3JBqp.es.js} +1 -1
- package/dist/chunks/{editor-DeWXT-Sg-DRp4uSfx.cjs → super-editor.es-Ce1bKea8.cjs} +31841 -35405
- package/dist/chunks/{editor-DeWXT-Sg-Dn8ZqLT8.es.js → super-editor.es-ZQFMn4Mx.es.js} +31839 -35403
- package/dist/chunks/{vue-Dh-AQCY9.es.js → vue-ZWZLQtoU.es.js} +44 -44
- package/dist/chunks/xml-js-Dx4FIjnp.es.js +2 -0
- package/dist/core/types/index.d.ts +1 -2
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/style.css +1421 -1578
- package/dist/super-editor/ai-writer.es.js +523 -0
- package/dist/super-editor/chunks/{converter-BDd6ySKf.js → converter-C3c63BcJ.js} +730 -817
- package/dist/super-editor/chunks/docx-zipper-BYMN0YBQ.js +2613 -0
- package/dist/super-editor/chunks/{editor-DeWXT-Sg.js → editor-CTJhnyzP.js} +19576 -41281
- package/dist/super-editor/chunks/{index-xf8PA6i5.js → index-F9UTAd9o.js} +1 -1
- package/dist/super-editor/chunks/toolbar-6Ayv3LAk.js +10180 -0
- package/dist/super-editor/converter.es.js +2 -2
- package/dist/super-editor/docx-zipper.es.js +3 -295
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +12 -0
- package/dist/super-editor/style.css +1396 -1554
- package/dist/super-editor/super-editor/src/components/pagination-helpers.d.ts +5 -4
- package/dist/super-editor/super-editor/src/core/Editor.d.ts +0 -16
- package/dist/super-editor/super-editor/src/core/super-converter/relationship-helpers.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +0 -13
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/numberingCache.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/handle-doc-part-obj.d.ts +2 -2
- package/dist/super-editor/super-editor/src/extensions/index.d.ts +1 -2
- package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts +0 -1
- package/dist/super-editor/super-editor/src/extensions/pagination/index.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/pagination/pagination-helpers.d.ts +17 -20
- package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts +2 -7
- package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +0 -9
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +1 -2
- package/dist/super-editor/super-editor/src/extensions/vector-shape/VectorShapeView.d.ts +6 -23
- package/dist/super-editor/super-editor/src/utils/headless-helpers.d.ts +1 -0
- package/dist/super-editor/super-editor/src/utils/styleIsolation.d.ts +2 -0
- package/dist/super-editor/super-editor.es.js +5212 -27
- package/dist/super-editor/toolbar.es.js +6 -0
- package/dist/super-editor.cjs +27 -26
- package/dist/super-editor.d.ts +2 -1
- package/dist/super-editor.es.js +2 -1
- package/dist/superdoc.cjs +13 -13
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +31557 -35120
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +4 -3
- package/dist/chunks/xml-js-ByjoBEzH.es.js +0 -2
- package/dist/super-editor/super-editor/src/extensions/pagination/header-footer-repository.d.ts +0 -40
- package/dist/super-editor/super-editor/src/extensions/pagination/helpers/behind-doc.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/decorations/decoration-helpers.d.ts +0 -30
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/decorations/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/decorations/page-break-overlays.d.ts +0 -11
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/create-measurement-engine.d.ts +0 -1
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/on-page-breaks-update.d.ts +0 -3
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/page-bands.d.ts +0 -14
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/page-view-layer.d.ts +0 -6
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/section-preview.d.ts +0 -8
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/index.d.ts +0 -1
- package/dist/super-editor/super-editor/src/extensions/pagination/plugin/layout/layout-model.d.ts +0 -52
- package/dist/super-editor/super-editor/src/extensions/pagination/section-data.d.ts +0 -12
- package/dist/super-editor/super-editor/src/extensions/pagination/section-style.d.ts +0 -47
- package/dist/super-editor/super-editor/src/tests/helpers/async-helpers.d.ts +0 -4
- package/dist/super-editor/super-editor/src/tests/pagination/pagination-test-fixtures.d.ts +0 -13
- package/dist/super-editor/super-editor/src/tests/pagination/pagination-test-helpers.d.ts +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
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, B as h, O as Transition, $ as process$1, I as watchEffect, d as computed, r as ref, j as onMounted, W as onUnmounted, c as createElementBlock, o as openBlock, a as createBaseVNode, f as createCommentVNode, v as createVNode, x as unref } from "./vue-ZWZLQtoU.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-C3_BQlO-.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-DKMj1I9B.cjs");
|
|
4
|
-
const superdoc = require("./index-
|
|
4
|
+
const superdoc = require("./index-3BBP_H1q.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const superEditor_es = require("./super-editor.es-Ce1bKea8.cjs");
|
|
3
3
|
const vue = require("./vue-DKMj1I9B.cjs");
|
|
4
4
|
const blankDocx = require("./blank-docx-DfW3Eeh2.cjs");
|
|
5
5
|
const eventemitter3 = require("./eventemitter3-DkXkH2rT.cjs");
|
|
@@ -4187,7 +4187,7 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4187
4187
|
}, 0);
|
|
4188
4188
|
};
|
|
4189
4189
|
const createCommentForTrackChanges = (editor) => {
|
|
4190
|
-
let trackedChanges =
|
|
4190
|
+
let trackedChanges = superEditor_es.index.getTrackChanges(editor.state);
|
|
4191
4191
|
const groupedChanges = groupChanges(trackedChanges);
|
|
4192
4192
|
const { tr } = editor.view.state;
|
|
4193
4193
|
const { dispatch } = editor.view;
|
|
@@ -4199,7 +4199,7 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4199
4199
|
const isLastIteration = trackedChanges.length === index + 1;
|
|
4200
4200
|
if (foundComment) {
|
|
4201
4201
|
if (isLastIteration) {
|
|
4202
|
-
tr.setMeta(
|
|
4202
|
+
tr.setMeta(superEditor_es.CommentsPluginKey, { type: "force" });
|
|
4203
4203
|
}
|
|
4204
4204
|
return;
|
|
4205
4205
|
}
|
|
@@ -4209,9 +4209,9 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4209
4209
|
...deletionMark && { deletionMark: deletionMark.mark },
|
|
4210
4210
|
...formatMark && { formatMark: formatMark.mark }
|
|
4211
4211
|
};
|
|
4212
|
-
if (isLastIteration) tr.setMeta(
|
|
4213
|
-
tr.setMeta(
|
|
4214
|
-
tr.setMeta(
|
|
4212
|
+
if (isLastIteration) tr.setMeta(superEditor_es.CommentsPluginKey, { type: "force" });
|
|
4213
|
+
tr.setMeta(superEditor_es.CommentsPluginKey, { type: "forceTrackChanges" });
|
|
4214
|
+
tr.setMeta(superEditor_es.TrackChangesBasePluginKey, trackChangesPayload);
|
|
4215
4215
|
}
|
|
4216
4216
|
dispatch(tr);
|
|
4217
4217
|
});
|
|
@@ -4232,11 +4232,11 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4232
4232
|
const convertHtmlToSchema = (commentHTML) => {
|
|
4233
4233
|
const div = document.createElement("div");
|
|
4234
4234
|
div.innerHTML = commentHTML;
|
|
4235
|
-
const editor = new
|
|
4235
|
+
const editor = new superEditor_es.Editor({
|
|
4236
4236
|
mode: "text",
|
|
4237
4237
|
isHeadless: true,
|
|
4238
4238
|
content: div,
|
|
4239
|
-
extensions:
|
|
4239
|
+
extensions: superEditor_es.getRichTextExtensions()
|
|
4240
4240
|
});
|
|
4241
4241
|
return editor.getJSON().content[0];
|
|
4242
4242
|
};
|
|
@@ -4285,12 +4285,12 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4285
4285
|
const normalizedContent = normalizeCommentForEditor(commentTextJson);
|
|
4286
4286
|
const schemaContent = Array.isArray(normalizedContent) ? normalizedContent[0] : normalizedContent;
|
|
4287
4287
|
if (!schemaContent.content.length) return null;
|
|
4288
|
-
const editor = new
|
|
4288
|
+
const editor = new superEditor_es.Editor({
|
|
4289
4289
|
mode: "text",
|
|
4290
4290
|
isHeadless: true,
|
|
4291
4291
|
content: schemaContent,
|
|
4292
4292
|
loadFromSchema: true,
|
|
4293
|
-
extensions:
|
|
4293
|
+
extensions: superEditor_es.getRichTextExtensions()
|
|
4294
4294
|
});
|
|
4295
4295
|
return editor.getHTML();
|
|
4296
4296
|
} catch (error) {
|
|
@@ -15345,14 +15345,13 @@ const superdocIcons = {
|
|
|
15345
15345
|
rejectChange: xmarkIconSvg,
|
|
15346
15346
|
overflow: ellipsisVerticalSvg
|
|
15347
15347
|
};
|
|
15348
|
-
|
|
15348
|
+
const _export_sfc = (sfc, props) => {
|
|
15349
15349
|
const target = sfc.__vccOpts || sfc;
|
|
15350
15350
|
for (const [key, val] of props) {
|
|
15351
15351
|
target[key] = val;
|
|
15352
15352
|
}
|
|
15353
15353
|
return target;
|
|
15354
|
-
}
|
|
15355
|
-
|
|
15354
|
+
};
|
|
15356
15355
|
const _hoisted_1$f = { class: "user-container" };
|
|
15357
15356
|
const _hoisted_2$9 = ["src"];
|
|
15358
15357
|
const _hoisted_3$7 = {
|
|
@@ -15802,7 +15801,7 @@ const _sfc_main$d = {
|
|
|
15802
15801
|
vue.createBaseVNode("div", {
|
|
15803
15802
|
class: vue.normalizeClass(["comment-entry", { "sd-input-active": __props.isFocused }])
|
|
15804
15803
|
}, [
|
|
15805
|
-
vue.createVNode(vue.unref(
|
|
15804
|
+
vue.createVNode(vue.unref(superEditor_es.SuperInput), {
|
|
15806
15805
|
class: "superdoc-field",
|
|
15807
15806
|
placeholder: "Add a comment",
|
|
15808
15807
|
modelValue: vue.unref(currentCommentText),
|
|
@@ -17174,7 +17173,7 @@ const _sfc_main = {
|
|
|
17174
17173
|
__name: "SuperDoc",
|
|
17175
17174
|
emits: ["selection-update"],
|
|
17176
17175
|
setup(__props, { emit: __emit }) {
|
|
17177
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17176
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-POSV5DiN.cjs")));
|
|
17178
17177
|
const superdocStore = useSuperdocStore();
|
|
17179
17178
|
const commentsStore = useCommentsStore();
|
|
17180
17179
|
const {
|
|
@@ -17711,7 +17710,7 @@ const _sfc_main = {
|
|
|
17711
17710
|
}, null, 8, ["document-data", "config", "onPageLoaded"])) : vue.createCommentVNode("", true),
|
|
17712
17711
|
vue.createVNode(vue.unref(NMessageProvider), null, {
|
|
17713
17712
|
default: vue.withCtx(() => [
|
|
17714
|
-
doc.type === vue.unref(DOCX) ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
17713
|
+
doc.type === vue.unref(DOCX) ? (vue.openBlock(), vue.createBlock(vue.unref(superEditor_es.SuperEditor), {
|
|
17715
17714
|
key: 0,
|
|
17716
17715
|
"file-source": doc.data,
|
|
17717
17716
|
state: doc.state,
|
|
@@ -17756,7 +17755,7 @@ const _sfc_main = {
|
|
|
17756
17755
|
class: "ai-writer-container",
|
|
17757
17756
|
style: vue.normalizeStyle(vue.unref(aiWriterPosition))
|
|
17758
17757
|
}, [
|
|
17759
|
-
vue.createVNode(vue.unref(
|
|
17758
|
+
vue.createVNode(vue.unref(superEditor_es.AIWriter), {
|
|
17760
17759
|
"selected-text": vue.unref(selectedText),
|
|
17761
17760
|
"handle-close": vue.unref(handleAiWriterClose),
|
|
17762
17761
|
editor: vue.unref(proxy).$superdoc.activeEditor,
|
|
@@ -17768,7 +17767,7 @@ const _sfc_main = {
|
|
|
17768
17767
|
};
|
|
17769
17768
|
}
|
|
17770
17769
|
};
|
|
17771
|
-
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
17770
|
+
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-715d68b1"]]);
|
|
17772
17771
|
const createSuperdocVueApp = () => {
|
|
17773
17772
|
const app = vue.createApp(App);
|
|
17774
17773
|
const pinia = createPinia();
|
|
@@ -17938,7 +17937,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
17938
17937
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17939
17938
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17940
17939
|
this.colorIndex = 0;
|
|
17941
|
-
this.version = "0.29.0-
|
|
17940
|
+
this.version = "0.29.0-next.2";
|
|
17942
17941
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17943
17942
|
this.superdocId = config.superdocId || uuid.v4();
|
|
17944
17943
|
this.colors = this.config.colors;
|
|
@@ -18300,7 +18299,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
18300
18299
|
aiEndpoint: this.config.modules?.ai?.endpoint,
|
|
18301
18300
|
...moduleConfig
|
|
18302
18301
|
};
|
|
18303
|
-
this.toolbar = new
|
|
18302
|
+
this.toolbar = new superEditor_es.SuperToolbar(config);
|
|
18304
18303
|
this.toolbar.on("superdoc-command", this.onToolbarCommand.bind(this));
|
|
18305
18304
|
this.toolbar.on("exception", this.config.onException);
|
|
18306
18305
|
this.once("editorCreate", () => this.toolbar.updateToolbarState());
|
|
@@ -18487,7 +18486,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
18487
18486
|
}
|
|
18488
18487
|
return blobsToZip[0];
|
|
18489
18488
|
}
|
|
18490
|
-
const zip = await
|
|
18489
|
+
const zip = await superEditor_es.createZip(blobsToZip, filenames);
|
|
18491
18490
|
if (triggerDownload) {
|
|
18492
18491
|
return createDownload(zip, baseFileName, "zip");
|
|
18493
18492
|
}
|
|
@@ -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 "./editor-
|
|
2
|
-
import { a0 as effectScope, r as ref,
|
|
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-ZQFMn4Mx.es.js";
|
|
2
|
+
import { a0 as effectScope, r as ref, _ as markRaw, $ as process$1, a1 as toRaw, d as computed, a2 as isRef, a3 as isReactive, C 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, J as shallowRef, N as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, S as onActivated, q as onDeactivated, z as createTextVNode, F as Fragment, Q as Comment, m as defineComponent, D as provide, H as withDirectives, B as h, U as Teleport, R as renderSlot, V as isVNode, I as watchEffect, O as Transition, a8 as TransitionGroup, E as mergeProps, P as vShow, G as cloneVNode, T as Text, c as createElementBlock, o as openBlock, t as toDisplayString, v as createVNode, y as withCtx, a as createBaseVNode, A as normalizeStyle, f as createCommentVNode, u as createBlock, w as withModifiers, n as normalizeClass, a9 as resolveDirective, e as renderList, b as createApp, X as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-ZWZLQtoU.es.js";
|
|
3
3
|
import { B as BlankDOCX } from "./blank-docx-ABm6XYAA.es.js";
|
|
4
|
-
import { E as EventEmitter } from "./eventemitter3-
|
|
4
|
+
import { E as EventEmitter } from "./eventemitter3-BWEnUdTY.es.js";
|
|
5
5
|
import { HocuspocusProvider, HocuspocusProviderWebsocket } from "@hocuspocus/provider";
|
|
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-BDk3JBqp.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";
|
|
@@ -15328,14 +15328,13 @@ const superdocIcons = {
|
|
|
15328
15328
|
rejectChange: xmarkIconSvg,
|
|
15329
15329
|
overflow: ellipsisVerticalSvg
|
|
15330
15330
|
};
|
|
15331
|
-
|
|
15331
|
+
const _export_sfc = (sfc, props) => {
|
|
15332
15332
|
const target = sfc.__vccOpts || sfc;
|
|
15333
15333
|
for (const [key, val] of props) {
|
|
15334
15334
|
target[key] = val;
|
|
15335
15335
|
}
|
|
15336
15336
|
return target;
|
|
15337
|
-
}
|
|
15338
|
-
|
|
15337
|
+
};
|
|
15339
15338
|
const _hoisted_1$f = { class: "user-container" };
|
|
15340
15339
|
const _hoisted_2$9 = ["src"];
|
|
15341
15340
|
const _hoisted_3$7 = {
|
|
@@ -17157,7 +17156,7 @@ const _sfc_main = {
|
|
|
17157
17156
|
__name: "SuperDoc",
|
|
17158
17157
|
emits: ["selection-update"],
|
|
17159
17158
|
setup(__props, { emit: __emit }) {
|
|
17160
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17159
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-ByaA6tu-.es.js"));
|
|
17161
17160
|
const superdocStore = useSuperdocStore();
|
|
17162
17161
|
const commentsStore = useCommentsStore();
|
|
17163
17162
|
const {
|
|
@@ -17751,7 +17750,7 @@ const _sfc_main = {
|
|
|
17751
17750
|
};
|
|
17752
17751
|
}
|
|
17753
17752
|
};
|
|
17754
|
-
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
17753
|
+
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-715d68b1"]]);
|
|
17755
17754
|
const createSuperdocVueApp = () => {
|
|
17756
17755
|
const app = createApp(App);
|
|
17757
17756
|
const pinia = createPinia();
|
|
@@ -17921,7 +17920,7 @@ class SuperDoc extends EventEmitter {
|
|
|
17921
17920
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17922
17921
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17923
17922
|
this.colorIndex = 0;
|
|
17924
|
-
this.version = "0.29.0-
|
|
17923
|
+
this.version = "0.29.0-next.2";
|
|
17925
17924
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17926
17925
|
this.superdocId = config.superdocId || v4();
|
|
17927
17926
|
this.colors = this.config.colors;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
3
|
+
const superEditor_es = require("./super-editor.es-Ce1bKea8.cjs");
|
|
4
4
|
const indexCvBqQJbG = require("./index-CvBqQJbG-Dwm0THD7.cjs");
|
|
5
5
|
function bail(error) {
|
|
6
6
|
if (error) {
|
|
@@ -99,7 +99,7 @@ function requireExtend() {
|
|
|
99
99
|
return extend$1;
|
|
100
100
|
}
|
|
101
101
|
var extendExports = requireExtend();
|
|
102
|
-
const extend = /* @__PURE__ */
|
|
102
|
+
const extend = /* @__PURE__ */ superEditor_es.getDefaultExportFromCjs$2(extendExports);
|
|
103
103
|
function isPlainObject(value) {
|
|
104
104
|
if (typeof value !== "object" || value === null) {
|
|
105
105
|
return false;
|