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.
Files changed (72) hide show
  1. package/dist/chunks/{PdfViewer-CWL16KKb.es.js → PdfViewer-ByaA6tu-.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-DWR9sDLY.cjs → PdfViewer-POSV5DiN.cjs} +1 -1
  3. package/dist/chunks/{eventemitter3-BkbWP1qf.es.js → eventemitter3-BWEnUdTY.es.js} +1 -1
  4. package/dist/chunks/{index-CHYEUNfo.cjs → index-3BBP_H1q.cjs} +20 -21
  5. package/dist/chunks/{index-4nmAWgEc.es.js → index-C3_BQlO-.es.js} +9 -10
  6. package/dist/chunks/{index-xf8PA6i5-CwIBFHZx.cjs → index-F9UTAd9o-FTCIxXZV.cjs} +2 -2
  7. package/dist/chunks/{index-xf8PA6i5-COIYKAEW.es.js → index-F9UTAd9o-O789Xvby.es.js} +1 -1
  8. package/dist/chunks/{jszip-CW37Y2Mi.es.js → jszip-BDk3JBqp.es.js} +1 -1
  9. package/dist/chunks/{editor-DeWXT-Sg-DRp4uSfx.cjs → super-editor.es-Ce1bKea8.cjs} +31841 -35405
  10. package/dist/chunks/{editor-DeWXT-Sg-Dn8ZqLT8.es.js → super-editor.es-ZQFMn4Mx.es.js} +31839 -35403
  11. package/dist/chunks/{vue-Dh-AQCY9.es.js → vue-ZWZLQtoU.es.js} +44 -44
  12. package/dist/chunks/xml-js-Dx4FIjnp.es.js +2 -0
  13. package/dist/core/types/index.d.ts +1 -2
  14. package/dist/core/types/index.d.ts.map +1 -1
  15. package/dist/style.css +1421 -1578
  16. package/dist/super-editor/ai-writer.es.js +523 -0
  17. package/dist/super-editor/chunks/{converter-BDd6ySKf.js → converter-C3c63BcJ.js} +730 -817
  18. package/dist/super-editor/chunks/docx-zipper-BYMN0YBQ.js +2613 -0
  19. package/dist/super-editor/chunks/{editor-DeWXT-Sg.js → editor-CTJhnyzP.js} +19576 -41281
  20. package/dist/super-editor/chunks/{index-xf8PA6i5.js → index-F9UTAd9o.js} +1 -1
  21. package/dist/super-editor/chunks/toolbar-6Ayv3LAk.js +10180 -0
  22. package/dist/super-editor/converter.es.js +2 -2
  23. package/dist/super-editor/docx-zipper.es.js +3 -295
  24. package/dist/super-editor/editor.es.js +3 -3
  25. package/dist/super-editor/file-zipper.es.js +12 -0
  26. package/dist/super-editor/style.css +1396 -1554
  27. package/dist/super-editor/super-editor/src/components/pagination-helpers.d.ts +5 -4
  28. package/dist/super-editor/super-editor/src/core/Editor.d.ts +0 -16
  29. package/dist/super-editor/super-editor/src/core/super-converter/relationship-helpers.d.ts +2 -0
  30. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +0 -13
  31. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +1 -1
  32. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/numberingCache.d.ts +2 -2
  33. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/handle-doc-part-obj.d.ts +2 -2
  34. package/dist/super-editor/super-editor/src/extensions/index.d.ts +1 -2
  35. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts +0 -1
  36. package/dist/super-editor/super-editor/src/extensions/pagination/index.d.ts +1 -1
  37. package/dist/super-editor/super-editor/src/extensions/pagination/pagination-helpers.d.ts +17 -20
  38. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts +2 -7
  39. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +0 -9
  40. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +1 -2
  41. package/dist/super-editor/super-editor/src/extensions/vector-shape/VectorShapeView.d.ts +6 -23
  42. package/dist/super-editor/super-editor/src/utils/headless-helpers.d.ts +1 -0
  43. package/dist/super-editor/super-editor/src/utils/styleIsolation.d.ts +2 -0
  44. package/dist/super-editor/super-editor.es.js +5212 -27
  45. package/dist/super-editor/toolbar.es.js +6 -0
  46. package/dist/super-editor.cjs +27 -26
  47. package/dist/super-editor.d.ts +2 -1
  48. package/dist/super-editor.es.js +2 -1
  49. package/dist/superdoc.cjs +13 -13
  50. package/dist/superdoc.es.js +3 -3
  51. package/dist/superdoc.umd.js +31557 -35120
  52. package/dist/superdoc.umd.js.map +1 -1
  53. package/package.json +4 -3
  54. package/dist/chunks/xml-js-ByjoBEzH.es.js +0 -2
  55. package/dist/super-editor/super-editor/src/extensions/pagination/header-footer-repository.d.ts +0 -40
  56. package/dist/super-editor/super-editor/src/extensions/pagination/helpers/behind-doc.d.ts +0 -2
  57. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/decorations/decoration-helpers.d.ts +0 -30
  58. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/decorations/index.d.ts +0 -2
  59. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/decorations/page-break-overlays.d.ts +0 -11
  60. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/create-measurement-engine.d.ts +0 -1
  61. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/index.d.ts +0 -3
  62. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/on-page-breaks-update.d.ts +0 -3
  63. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/page-bands.d.ts +0 -14
  64. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/page-view-layer.d.ts +0 -6
  65. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/helpers/section-preview.d.ts +0 -8
  66. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/index.d.ts +0 -1
  67. package/dist/super-editor/super-editor/src/extensions/pagination/plugin/layout/layout-model.d.ts +0 -52
  68. package/dist/super-editor/super-editor/src/extensions/pagination/section-data.d.ts +0 -12
  69. package/dist/super-editor/super-editor/src/extensions/pagination/section-style.d.ts +0 -47
  70. package/dist/super-editor/super-editor/src/tests/helpers/async-helpers.d.ts +0 -4
  71. package/dist/super-editor/super-editor/src/tests/pagination/pagination-test-fixtures.d.ts +0 -13
  72. package/dist/super-editor/super-editor/src/tests/pagination/pagination-test-helpers.d.ts +0 -8
@@ -1,5 +1,5 @@
1
- import { z as defineComponent, N as h, V as Transition, $ as process$1, S as watchEffect, e as computed, r as ref, f as onMounted, q as onUnmounted, c as createElementBlock, o as openBlock, a as createBaseVNode, j as createCommentVNode, y as createVNode, u as unref } from "./vue-Dh-AQCY9.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-4nmAWgEc.es.js";
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-CHYEUNfo.cjs");
4
+ const superdoc = require("./index-3BBP_H1q.cjs");
5
5
  function self(vars) {
6
6
  const {
7
7
  opacityDisabled,
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./jszip-CW37Y2Mi.es.js";
1
+ import { g as getDefaultExportFromCjs } from "./jszip-BDk3JBqp.es.js";
2
2
  var eventemitter3 = { exports: {} };
3
3
  var hasRequiredEventemitter3;
4
4
  function requireEventemitter3() {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const editorDeWXTSg = require("./editor-DeWXT-Sg-DRp4uSfx.cjs");
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 = editorDeWXTSg.index.getTrackChanges(editor.state);
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(editorDeWXTSg.CommentsPluginKey, { type: "force" });
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(editorDeWXTSg.CommentsPluginKey, { type: "force" });
4213
- tr.setMeta(editorDeWXTSg.CommentsPluginKey, { type: "forceTrackChanges" });
4214
- tr.setMeta(editorDeWXTSg.TrackChangesBasePluginKey, trackChangesPayload);
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 editorDeWXTSg.Editor({
4235
+ const editor = new superEditor_es.Editor({
4236
4236
  mode: "text",
4237
4237
  isHeadless: true,
4238
4238
  content: div,
4239
- extensions: editorDeWXTSg.getRichTextExtensions()
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 editorDeWXTSg.Editor({
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: editorDeWXTSg.getRichTextExtensions()
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
- function _export_sfc(sfc, props) {
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(editorDeWXTSg.SuperInput), {
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-DWR9sDLY.cjs")));
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(editorDeWXTSg.SuperEditor), {
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(editorDeWXTSg.AIWriter), {
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-d57c1ddc"]]);
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-RC.7";
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 editorDeWXTSg.SuperToolbar(config);
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 editorDeWXTSg.createZip(blobsToZip, filenames);
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-DeWXT-Sg-Dn8ZqLT8.es.js";
2
- import { a0 as effectScope, r as ref, I as markRaw, $ as process$1, a1 as toRaw, e as computed, a2 as isRef, a3 as isReactive, O as toRef, i as inject, G as getCurrentInstance, w as watch, u as unref, a4 as hasInjectionContext, t as reactive, n as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, s as shallowRef, U as readonly, f as onMounted, h as onBeforeUnmount, d as onBeforeMount, Y as onActivated, H as onDeactivated, L as createTextVNode, F as Fragment, X as Comment, z as defineComponent, P as provide, k as withDirectives, N as h, Z as Teleport, K as renderSlot, _ as isVNode, S as watchEffect, V as Transition, a8 as TransitionGroup, Q as mergeProps, W as vShow, R as cloneVNode, T as Text, c as createElementBlock, o as openBlock, J as toDisplayString, y as createVNode, A as withCtx, a as createBaseVNode, p as normalizeStyle, j as createCommentVNode, x as createBlock, l as withModifiers, E as normalizeClass, a9 as resolveDirective, m as renderList, b as createApp, B as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-Dh-AQCY9.es.js";
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-BkbWP1qf.es.js";
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-CW37Y2Mi.es.js";
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
- function _export_sfc(sfc, props) {
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-CWL16KKb.es.js"));
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-d57c1ddc"]]);
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-RC.7";
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 editorDeWXTSg = require("./editor-DeWXT-Sg-DRp4uSfx.cjs");
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__ */ editorDeWXTSg.getDefaultExportFromCjs$2(extendExports);
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;
@@ -1,4 +1,4 @@
1
- import { s as getDefaultExportFromCjs$2 } from "./editor-DeWXT-Sg-Dn8ZqLT8.es.js";
1
+ import { s as getDefaultExportFromCjs$2 } from "./super-editor.es-ZQFMn4Mx.es.js";
2
2
  import { V as VFile } from "./index-CvBqQJbG-CvBqQJbG.es.js";
3
3
  function bail(error) {
4
4
  if (error) {
@@ -1,4 +1,4 @@
1
- import "./vue-Dh-AQCY9.es.js";
1
+ import "./vue-ZWZLQtoU.es.js";
2
2
  function getDefaultExportFromCjs(x) {
3
3
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
4
4
  }