superdoc 0.36.0 → 0.36.1
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-Cw6hrjmI.es.js → PdfViewer-0ljQHJ46.es.js} +2 -2
- package/dist/chunks/{PdfViewer-BVjCijQM.cjs → PdfViewer-S16P3o_7.cjs} +2 -2
- package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-Cq0SNNyY.cjs} +1 -1
- package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-Dggxln8t.es.js} +1 -1
- package/dist/chunks/{index-C6pGFRDv-NmZ85_ZC.es.js → index-CzkLnJsZ-BTVdUMdV.es.js} +1 -1
- package/dist/chunks/{index-C6pGFRDv-DPPxKqzz.cjs → index-CzkLnJsZ-BgswlBSf.cjs} +1 -1
- package/dist/chunks/{index-C2I7v8Mz.cjs → index-D3qTp4tj.cjs} +20 -15
- package/dist/chunks/{index-DxVLb2GI.es.js → index-DzR1O6RL.es.js} +20 -15
- package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-CY0q2Bnp.es.js} +1 -1
- package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-F-dEByfH.cjs} +1 -1
- package/dist/chunks/{super-editor.es-DU7fPHu1.cjs → super-editor.es-DVKZ65HN.cjs} +2129 -1653
- package/dist/chunks/{super-editor.es-wvWKJiSQ.es.js → super-editor.es-D_ayGwNx.es.js} +2082 -1606
- package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-dM1GiXsI.cjs} +2488 -2423
- package/dist/chunks/{vue-CKmzTNVs.es.js → vue-siHYWVb6.es.js} +2488 -2423
- package/dist/chunks/xml-js-DY0nfayl.cjs +3 -0
- package/dist/chunks/xml-js-lhjyYB16.es.js +2 -0
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-B_MV8Ifd.js → converter-C_m22GDt.js} +311 -292
- package/dist/super-editor/chunks/{docx-zipper-BErVQPhm.js → docx-zipper-BMFQCW01.js} +1 -1
- package/dist/super-editor/chunks/{editor-DJdDJYe1.js → editor-DOp2dsXA.js} +1413 -956
- package/dist/super-editor/chunks/{index-C6pGFRDv.js → index-CzkLnJsZ.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-C3z7Pv8Z.js → toolbar-VEU6sWSR.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/track-changes/permission-helpers.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 +2574 -2035
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
- package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
|
@@ -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-siHYWVb6.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-DzR1O6RL.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-dM1GiXsI.cjs");
|
|
4
|
+
const superdoc = require("./index-D3qTp4tj.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
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-DVKZ65HN.cjs");
|
|
4
4
|
const indexCvBqQJbG = require("./index-CvBqQJbG-Dwm0THD7.cjs");
|
|
5
5
|
function bail(error) {
|
|
6
6
|
if (error) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const superEditor_es = require("./super-editor.es-
|
|
2
|
+
const superEditor_es = require("./super-editor.es-DVKZ65HN.cjs");
|
|
3
3
|
const blankDocx = require("./blank-docx-DfW3Eeh2.cjs");
|
|
4
|
-
const eventemitter3 = require("./eventemitter3-
|
|
4
|
+
const eventemitter3 = require("./eventemitter3-Cq0SNNyY.cjs");
|
|
5
5
|
const provider = require("@hocuspocus/provider");
|
|
6
|
-
const vue = require("./vue-
|
|
6
|
+
const vue = require("./vue-dM1GiXsI.cjs");
|
|
7
7
|
const Y = require("yjs");
|
|
8
|
-
const jszip = require("./jszip-
|
|
8
|
+
const jszip = require("./jszip-F-dEByfH.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" } });
|
|
@@ -2137,6 +2137,7 @@ const offChange = (eventHandler) => usePolyfill || removeEventListener(
|
|
|
2137
2137
|
/** @type {any} */
|
|
2138
2138
|
eventHandler
|
|
2139
2139
|
);
|
|
2140
|
+
const EqualityTraitSymbol = Symbol("Equality");
|
|
2140
2141
|
const keys$1 = Object.keys;
|
|
2141
2142
|
const map$1 = (obj, f) => {
|
|
2142
2143
|
const results = [];
|
|
@@ -2145,14 +2146,13 @@ const map$1 = (obj, f) => {
|
|
|
2145
2146
|
}
|
|
2146
2147
|
return results;
|
|
2147
2148
|
};
|
|
2148
|
-
const
|
|
2149
|
+
const size$1 = (obj) => keys$1(obj).length;
|
|
2149
2150
|
const hasProperty = (obj, key) => Object.prototype.hasOwnProperty.call(obj, key);
|
|
2150
|
-
const EqualityTraitSymbol = Symbol("Equality");
|
|
2151
2151
|
const equalityDeep = (a, b) => {
|
|
2152
2152
|
if (a === b) {
|
|
2153
2153
|
return true;
|
|
2154
2154
|
}
|
|
2155
|
-
if (a == null || b == null || a.constructor !== b.constructor) {
|
|
2155
|
+
if (a == null || b == null || a.constructor !== b.constructor && (a.constructor || Object) !== (b.constructor || Object)) {
|
|
2156
2156
|
return false;
|
|
2157
2157
|
}
|
|
2158
2158
|
if (a[EqualityTraitSymbol] != null) {
|
|
@@ -2196,8 +2196,9 @@ const equalityDeep = (a, b) => {
|
|
|
2196
2196
|
}
|
|
2197
2197
|
break;
|
|
2198
2198
|
}
|
|
2199
|
+
case void 0:
|
|
2199
2200
|
case Object:
|
|
2200
|
-
if (
|
|
2201
|
+
if (size$1(a) !== size$1(b)) {
|
|
2201
2202
|
return false;
|
|
2202
2203
|
}
|
|
2203
2204
|
for (const key in a) {
|
|
@@ -2369,7 +2370,7 @@ const errorUnexpectedEndOfArray = create("Unexpected end of array");
|
|
|
2369
2370
|
const errorIntegerOutOfRange = create("Integer out of Range");
|
|
2370
2371
|
class Decoder {
|
|
2371
2372
|
/**
|
|
2372
|
-
* @param {Uint8Array} uint8Array Binary data to decode
|
|
2373
|
+
* @param {Uint8Array<Buf>} uint8Array Binary data to decode
|
|
2373
2374
|
*/
|
|
2374
2375
|
constructor(uint8Array) {
|
|
2375
2376
|
this.arr = uint8Array;
|
|
@@ -2520,10 +2521,14 @@ const writeSyncStep2 = (encoder, doc, encodedStateVector) => {
|
|
|
2520
2521
|
writeVarUint8Array(encoder, Y__namespace.encodeStateAsUpdate(doc, encodedStateVector));
|
|
2521
2522
|
};
|
|
2522
2523
|
const readSyncStep1 = (decoder, encoder, doc) => writeSyncStep2(encoder, doc, readVarUint8Array(decoder));
|
|
2523
|
-
const readSyncStep2 = (decoder, doc, transactionOrigin) => {
|
|
2524
|
+
const readSyncStep2 = (decoder, doc, transactionOrigin, errorHandler) => {
|
|
2524
2525
|
try {
|
|
2525
2526
|
Y__namespace.applyUpdate(doc, readVarUint8Array(decoder), transactionOrigin);
|
|
2526
2527
|
} catch (error) {
|
|
2528
|
+
if (errorHandler != null) errorHandler(
|
|
2529
|
+
/** @type {Error} */
|
|
2530
|
+
error
|
|
2531
|
+
);
|
|
2527
2532
|
console.error("Caught error while handling a Yjs update", error);
|
|
2528
2533
|
}
|
|
2529
2534
|
};
|
|
@@ -2532,17 +2537,17 @@ const writeUpdate = (encoder, update) => {
|
|
|
2532
2537
|
writeVarUint8Array(encoder, update);
|
|
2533
2538
|
};
|
|
2534
2539
|
const readUpdate = readSyncStep2;
|
|
2535
|
-
const readSyncMessage = (decoder, encoder, doc, transactionOrigin) => {
|
|
2540
|
+
const readSyncMessage = (decoder, encoder, doc, transactionOrigin, errorHandler) => {
|
|
2536
2541
|
const messageType = readVarUint(decoder);
|
|
2537
2542
|
switch (messageType) {
|
|
2538
2543
|
case messageYjsSyncStep1:
|
|
2539
2544
|
readSyncStep1(decoder, encoder, doc);
|
|
2540
2545
|
break;
|
|
2541
2546
|
case messageYjsSyncStep2:
|
|
2542
|
-
readSyncStep2(decoder, doc, transactionOrigin);
|
|
2547
|
+
readSyncStep2(decoder, doc, transactionOrigin, errorHandler);
|
|
2543
2548
|
break;
|
|
2544
2549
|
case messageYjsUpdate:
|
|
2545
|
-
readUpdate(decoder, doc, transactionOrigin);
|
|
2550
|
+
readUpdate(decoder, doc, transactionOrigin, errorHandler);
|
|
2546
2551
|
break;
|
|
2547
2552
|
default:
|
|
2548
2553
|
throw new Error("Unknown message type");
|
|
@@ -17238,7 +17243,7 @@ const _sfc_main = {
|
|
|
17238
17243
|
__name: "SuperDoc",
|
|
17239
17244
|
emits: ["selection-update"],
|
|
17240
17245
|
setup(__props, { emit: __emit }) {
|
|
17241
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17246
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-S16P3o_7.cjs")));
|
|
17242
17247
|
const superdocStore = useSuperdocStore();
|
|
17243
17248
|
const commentsStore = useCommentsStore();
|
|
17244
17249
|
const {
|
|
@@ -18012,7 +18017,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
18012
18017
|
this.config.colors = shuffleArray(this.config.colors);
|
|
18013
18018
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
18014
18019
|
this.colorIndex = 0;
|
|
18015
|
-
this.version = "0.36.
|
|
18020
|
+
this.version = "0.36.1";
|
|
18016
18021
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
18017
18022
|
this.superdocId = config.superdocId || uuid.v4();
|
|
18018
18023
|
this.colors = this.config.colors;
|
|
@@ -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-D_ayGwNx.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-Dggxln8t.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-siHYWVb6.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-CY0q2Bnp.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";
|
|
@@ -2120,6 +2120,7 @@ const offChange = (eventHandler) => usePolyfill || removeEventListener(
|
|
|
2120
2120
|
/** @type {any} */
|
|
2121
2121
|
eventHandler
|
|
2122
2122
|
);
|
|
2123
|
+
const EqualityTraitSymbol = Symbol("Equality");
|
|
2123
2124
|
const keys$1 = Object.keys;
|
|
2124
2125
|
const map$1 = (obj, f) => {
|
|
2125
2126
|
const results = [];
|
|
@@ -2128,14 +2129,13 @@ const map$1 = (obj, f) => {
|
|
|
2128
2129
|
}
|
|
2129
2130
|
return results;
|
|
2130
2131
|
};
|
|
2131
|
-
const
|
|
2132
|
+
const size$1 = (obj) => keys$1(obj).length;
|
|
2132
2133
|
const hasProperty = (obj, key) => Object.prototype.hasOwnProperty.call(obj, key);
|
|
2133
|
-
const EqualityTraitSymbol = Symbol("Equality");
|
|
2134
2134
|
const equalityDeep = (a, b) => {
|
|
2135
2135
|
if (a === b) {
|
|
2136
2136
|
return true;
|
|
2137
2137
|
}
|
|
2138
|
-
if (a == null || b == null || a.constructor !== b.constructor) {
|
|
2138
|
+
if (a == null || b == null || a.constructor !== b.constructor && (a.constructor || Object) !== (b.constructor || Object)) {
|
|
2139
2139
|
return false;
|
|
2140
2140
|
}
|
|
2141
2141
|
if (a[EqualityTraitSymbol] != null) {
|
|
@@ -2179,8 +2179,9 @@ const equalityDeep = (a, b) => {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
break;
|
|
2181
2181
|
}
|
|
2182
|
+
case void 0:
|
|
2182
2183
|
case Object:
|
|
2183
|
-
if (
|
|
2184
|
+
if (size$1(a) !== size$1(b)) {
|
|
2184
2185
|
return false;
|
|
2185
2186
|
}
|
|
2186
2187
|
for (const key in a) {
|
|
@@ -2352,7 +2353,7 @@ const errorUnexpectedEndOfArray = create("Unexpected end of array");
|
|
|
2352
2353
|
const errorIntegerOutOfRange = create("Integer out of Range");
|
|
2353
2354
|
class Decoder {
|
|
2354
2355
|
/**
|
|
2355
|
-
* @param {Uint8Array} uint8Array Binary data to decode
|
|
2356
|
+
* @param {Uint8Array<Buf>} uint8Array Binary data to decode
|
|
2356
2357
|
*/
|
|
2357
2358
|
constructor(uint8Array) {
|
|
2358
2359
|
this.arr = uint8Array;
|
|
@@ -2503,10 +2504,14 @@ const writeSyncStep2 = (encoder, doc, encodedStateVector) => {
|
|
|
2503
2504
|
writeVarUint8Array(encoder, Y.encodeStateAsUpdate(doc, encodedStateVector));
|
|
2504
2505
|
};
|
|
2505
2506
|
const readSyncStep1 = (decoder, encoder, doc) => writeSyncStep2(encoder, doc, readVarUint8Array(decoder));
|
|
2506
|
-
const readSyncStep2 = (decoder, doc, transactionOrigin) => {
|
|
2507
|
+
const readSyncStep2 = (decoder, doc, transactionOrigin, errorHandler) => {
|
|
2507
2508
|
try {
|
|
2508
2509
|
Y.applyUpdate(doc, readVarUint8Array(decoder), transactionOrigin);
|
|
2509
2510
|
} catch (error) {
|
|
2511
|
+
if (errorHandler != null) errorHandler(
|
|
2512
|
+
/** @type {Error} */
|
|
2513
|
+
error
|
|
2514
|
+
);
|
|
2510
2515
|
console.error("Caught error while handling a Yjs update", error);
|
|
2511
2516
|
}
|
|
2512
2517
|
};
|
|
@@ -2515,17 +2520,17 @@ const writeUpdate = (encoder, update) => {
|
|
|
2515
2520
|
writeVarUint8Array(encoder, update);
|
|
2516
2521
|
};
|
|
2517
2522
|
const readUpdate = readSyncStep2;
|
|
2518
|
-
const readSyncMessage = (decoder, encoder, doc, transactionOrigin) => {
|
|
2523
|
+
const readSyncMessage = (decoder, encoder, doc, transactionOrigin, errorHandler) => {
|
|
2519
2524
|
const messageType = readVarUint(decoder);
|
|
2520
2525
|
switch (messageType) {
|
|
2521
2526
|
case messageYjsSyncStep1:
|
|
2522
2527
|
readSyncStep1(decoder, encoder, doc);
|
|
2523
2528
|
break;
|
|
2524
2529
|
case messageYjsSyncStep2:
|
|
2525
|
-
readSyncStep2(decoder, doc, transactionOrigin);
|
|
2530
|
+
readSyncStep2(decoder, doc, transactionOrigin, errorHandler);
|
|
2526
2531
|
break;
|
|
2527
2532
|
case messageYjsUpdate:
|
|
2528
|
-
readUpdate(decoder, doc, transactionOrigin);
|
|
2533
|
+
readUpdate(decoder, doc, transactionOrigin, errorHandler);
|
|
2529
2534
|
break;
|
|
2530
2535
|
default:
|
|
2531
2536
|
throw new Error("Unknown message type");
|
|
@@ -17221,7 +17226,7 @@ const _sfc_main = {
|
|
|
17221
17226
|
__name: "SuperDoc",
|
|
17222
17227
|
emits: ["selection-update"],
|
|
17223
17228
|
setup(__props, { emit: __emit }) {
|
|
17224
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17229
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-0ljQHJ46.es.js"));
|
|
17225
17230
|
const superdocStore = useSuperdocStore();
|
|
17226
17231
|
const commentsStore = useCommentsStore();
|
|
17227
17232
|
const {
|
|
@@ -17995,7 +18000,7 @@ class SuperDoc extends EventEmitter {
|
|
|
17995
18000
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17996
18001
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17997
18002
|
this.colorIndex = 0;
|
|
17998
|
-
this.version = "0.36.
|
|
18003
|
+
this.version = "0.36.1";
|
|
17999
18004
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
18000
18005
|
this.superdocId = config.superdocId || v4();
|
|
18001
18006
|
this.colors = this.config.colors;
|