@harbour-enterprises/superdoc 0.26.0-next.2 → 0.26.0-next.4

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 (29) hide show
  1. package/dist/chunks/{PdfViewer-BUDqeNx7.es.js → PdfViewer-CqvKvsyF.es.js} +1 -1
  2. package/dist/chunks/{PdfViewer-Bk6eeTRu.cjs → PdfViewer-CrhOgpnE.cjs} +1 -1
  3. package/dist/chunks/{index-kTEBpqiG.es.js → index-DOcW6GE6.es.js} +2 -4
  4. package/dist/chunks/{index-W-nB4woH.cjs → index-DoYL2HX3.cjs} +2 -4
  5. package/dist/chunks/{super-editor.es-C74O3hXJ.cjs → super-editor.es-CMlOhpVU.cjs} +5048 -4927
  6. package/dist/chunks/{super-editor.es-DznCuGcp.es.js → super-editor.es-DHf3YrSR.es.js} +5048 -4927
  7. package/dist/core/collaboration/helpers.d.ts.map +1 -1
  8. package/dist/core/types/index.d.ts.map +1 -1
  9. package/dist/super-editor/ai-writer.es.js +2 -2
  10. package/dist/super-editor/chunks/{converter-khE-H7hH.js → converter-Ceppmafv.js} +5065 -4982
  11. package/dist/super-editor/chunks/{docx-zipper-KoUEtzIj.js → docx-zipper-WM-MgP-0.js} +1 -1
  12. package/dist/super-editor/chunks/{editor-wd9pvfTV.js → editor-C-EIG57Q.js} +87 -49
  13. package/dist/super-editor/chunks/{toolbar-CWJmT_bY.js → toolbar-B_SkAe5K.js} +2 -2
  14. package/dist/super-editor/converter.es.js +1 -1
  15. package/dist/super-editor/docx-zipper.es.js +2 -2
  16. package/dist/super-editor/editor.es.js +3 -3
  17. package/dist/super-editor/file-zipper.es.js +1 -1
  18. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +2 -2
  19. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/numberingCache.d.ts +37 -0
  20. package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts +8 -2
  21. package/dist/super-editor/super-editor.es.js +6 -6
  22. package/dist/super-editor/toolbar.es.js +2 -2
  23. package/dist/super-editor.cjs +1 -1
  24. package/dist/super-editor.es.js +1 -1
  25. package/dist/superdoc.cjs +2 -2
  26. package/dist/superdoc.es.js +2 -2
  27. package/dist/superdoc.umd.js +5048 -4929
  28. package/dist/superdoc.umd.js.map +1 -1
  29. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
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-kTEBpqiG.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-DOcW6GE6.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-W-nB4woH.cjs");
4
+ const superdoc = require("./index-DoYL2HX3.cjs");
5
5
  function self(vars) {
6
6
  const {
7
7
  opacityDisabled,
@@ -1,4 +1,4 @@
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-DznCuGcp.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-DHf3YrSR.es.js";
2
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
4
  import { E as EventEmitter } from "./eventemitter3-BWEnUdTY.es.js";
@@ -3291,7 +3291,6 @@ const initCollaborationComments = (superdoc2) => {
3291
3291
  const currentUser = superdoc2.config.user;
3292
3292
  const { user = {} } = event.transaction.origin;
3293
3293
  if (currentUser.name === user.name && currentUser.email === user.email) return;
3294
- console.debug("[initCollaborationComments] commentsArray.observe", commentsArray.toJSON());
3295
3294
  const comments = commentsArray.toJSON();
3296
3295
  const seen = /* @__PURE__ */ new Set();
3297
3296
  const filtered = [];
@@ -3341,7 +3340,6 @@ const makeDocumentsCollaborative = (superdoc2) => {
3341
3340
  };
3342
3341
  const syncCommentsToClients = (superdoc2, event) => {
3343
3342
  if (!superdoc2.isCollaborative || !superdoc2.config.modules.comments) return;
3344
- console.debug("[comments] syncCommentsToClients", event);
3345
3343
  const yArray = superdoc2.ydoc.getArray("comments");
3346
3344
  switch (event.type) {
3347
3345
  case "add":
@@ -17147,7 +17145,7 @@ const _sfc_main = {
17147
17145
  __name: "SuperDoc",
17148
17146
  emits: ["selection-update"],
17149
17147
  setup(__props, { emit: __emit }) {
17150
- const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-BUDqeNx7.es.js"));
17148
+ const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-CqvKvsyF.es.js"));
17151
17149
  const superdocStore = useSuperdocStore();
17152
17150
  const commentsStore = useCommentsStore();
17153
17151
  const {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const superEditor_es = require("./super-editor.es-C74O3hXJ.cjs");
2
+ const superEditor_es = require("./super-editor.es-CMlOhpVU.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");
@@ -3308,7 +3308,6 @@ const initCollaborationComments = (superdoc2) => {
3308
3308
  const currentUser = superdoc2.config.user;
3309
3309
  const { user = {} } = event.transaction.origin;
3310
3310
  if (currentUser.name === user.name && currentUser.email === user.email) return;
3311
- console.debug("[initCollaborationComments] commentsArray.observe", commentsArray.toJSON());
3312
3311
  const comments = commentsArray.toJSON();
3313
3312
  const seen = /* @__PURE__ */ new Set();
3314
3313
  const filtered = [];
@@ -3358,7 +3357,6 @@ const makeDocumentsCollaborative = (superdoc2) => {
3358
3357
  };
3359
3358
  const syncCommentsToClients = (superdoc2, event) => {
3360
3359
  if (!superdoc2.isCollaborative || !superdoc2.config.modules.comments) return;
3361
- console.debug("[comments] syncCommentsToClients", event);
3362
3360
  const yArray = superdoc2.ydoc.getArray("comments");
3363
3361
  switch (event.type) {
3364
3362
  case "add":
@@ -17164,7 +17162,7 @@ const _sfc_main = {
17164
17162
  __name: "SuperDoc",
17165
17163
  emits: ["selection-update"],
17166
17164
  setup(__props, { emit: __emit }) {
17167
- const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-Bk6eeTRu.cjs")));
17165
+ const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-CrhOgpnE.cjs")));
17168
17166
  const superdocStore = useSuperdocStore();
17169
17167
  const commentsStore = useCommentsStore();
17170
17168
  const {