@harbour-enterprises/superdoc 0.21.0-next.8 → 0.21.0

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 (43) hide show
  1. package/dist/chunks/{PdfViewer-CwVW7MVJ.es.js → PdfViewer-D3zo7tPo.es.js} +1 -1
  2. package/dist/chunks/{PdfViewer-BR9iwva-.cjs → PdfViewer-OZDJ7gwT.cjs} +1 -1
  3. package/dist/chunks/{index-BNA5J__D.cjs → index-CfYf4T_z.cjs} +3 -4
  4. package/dist/chunks/{index-CjQDYBP2.es.js → index-MzW5BVNd.es.js} +3 -4
  5. package/dist/chunks/{super-editor.es-C5dhT0uU.es.js → super-editor.es-Bntob7Wd.es.js} +763 -1178
  6. package/dist/chunks/{super-editor.es-Ct59l8tt.cjs → super-editor.es-U-GVCd_F.cjs} +763 -1178
  7. package/dist/core/types/index.d.ts +0 -8
  8. package/dist/core/types/index.d.ts.map +1 -1
  9. package/dist/style.css +27 -32
  10. package/dist/super-editor/ai-writer.es.js +2 -2
  11. package/dist/super-editor/chunks/{converter-DYAHhSrg.js → converter-3xnF_NHq.js} +643 -773
  12. package/dist/super-editor/chunks/{docx-zipper-BDbCmfbE.js → docx-zipper-CZdELYi-.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-B1W7AdgQ.js → editor-BqYH4kDD.js} +2 -18
  14. package/dist/super-editor/chunks/{toolbar-CCvglB_X.js → toolbar-TkaE2kKM.js} +2 -2
  15. package/dist/super-editor/converter.es.js +1 -1
  16. package/dist/super-editor/docx-zipper.es.js +2 -2
  17. package/dist/super-editor/editor.es.js +3 -3
  18. package/dist/super-editor/file-zipper.es.js +1 -1
  19. package/dist/super-editor/src/components/slash-menu/menuItems.d.ts +1 -5
  20. package/dist/super-editor/src/components/slash-menu/utils.d.ts +2 -9
  21. package/dist/super-editor/src/extensions/custom-selection/custom-selection.d.ts +0 -1
  22. package/dist/super-editor/src/extensions/run-item/index.d.ts +1 -0
  23. package/dist/super-editor/src/extensions/run-item/run-item.d.ts +26 -0
  24. package/dist/super-editor/src/tests/helpers/helpers.d.ts +0 -1
  25. package/dist/super-editor/style.css +0 -5
  26. package/dist/super-editor/super-editor.es.js +153 -461
  27. package/dist/super-editor/toolbar.es.js +2 -2
  28. package/dist/super-editor.cjs +1 -1
  29. package/dist/super-editor.es.js +1 -1
  30. package/dist/superdoc.cjs +2 -2
  31. package/dist/superdoc.es.js +2 -2
  32. package/dist/superdoc.umd.js +764 -1180
  33. package/dist/superdoc.umd.js.map +1 -1
  34. package/package.json +1 -1
  35. package/dist/super-editor/src/components/slash-menu/contextmenu-helpers.d.ts +0 -1
  36. package/dist/super-editor/src/components/slash-menu/tests/testHelpers.d.ts +0 -466
  37. package/dist/super-editor/src/core/commands/__tests__/schemaWithLists.d.ts +0 -2
  38. package/dist/super-editor/src/core/commands/__tests__/testHelpers.d.ts +0 -4
  39. package/dist/super-editor/src/core/commands/__tests__/testSchema.d.ts +0 -2
  40. package/dist/super-editor/src/core/commands/tests/commandTestUtils.d.ts +0 -7
  41. package/dist/super-editor/src/core/commands/tests/test-schema.d.ts +0 -2
  42. package/dist/super-editor/src/core/super-converter/v3/handlers/mc/altermateContent/alternate-content-translator.d.ts +0 -6
  43. package/dist/super-editor/src/core/super-converter/v3/handlers/mc/altermateContent/index.d.ts +0 -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-CXxsqYcP.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-CjQDYBP2.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-MzW5BVNd.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-DWle4Cai.cjs");
4
- const superdoc = require("./index-BNA5J__D.cjs");
4
+ const superdoc = require("./index-CfYf4T_z.cjs");
5
5
  function self(vars) {
6
6
  const {
7
7
  opacityDisabled,
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const superEditor_es = require("./super-editor.es-Ct59l8tt.cjs");
2
+ const superEditor_es = require("./super-editor.es-U-GVCd_F.cjs");
3
3
  const vue = require("./vue-DWle4Cai.cjs");
4
4
  const jszip = require("./jszip-b7l8QkfH.cjs");
5
5
  const blankDocx = require("./blank-docx-CPqX9RF5.cjs");
@@ -17409,7 +17409,7 @@ const _sfc_main = {
17409
17409
  __name: "SuperDoc",
17410
17410
  emits: ["selection-update"],
17411
17411
  setup(__props, { emit: __emit }) {
17412
- const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-BR9iwva-.cjs")));
17412
+ const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-OZDJ7gwT.cjs")));
17413
17413
  const superdocStore = useSuperdocStore();
17414
17414
  const commentsStore = useCommentsStore();
17415
17415
  const {
@@ -17590,7 +17590,6 @@ const _sfc_main = {
17590
17590
  annotations: proxy.$superdoc.config.annotations,
17591
17591
  isCommentsEnabled: proxy.$superdoc.config.modules?.comments,
17592
17592
  isAiEnabled: proxy.$superdoc.config.modules?.ai,
17593
- slashMenuConfig: proxy.$superdoc.config.modules?.slashMenu,
17594
17593
  onBeforeCreate: onEditorBeforeCreate,
17595
17594
  onCreate: onEditorCreate,
17596
17595
  onDestroy: onEditorDestroy,
@@ -17952,7 +17951,7 @@ const _sfc_main = {
17952
17951
  };
17953
17952
  }
17954
17953
  };
17955
- const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dbfba5b9"]]);
17954
+ const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-07532c12"]]);
17956
17955
  const createSuperdocVueApp = () => {
17957
17956
  const app = vue.createApp(App);
17958
17957
  const pinia = createPinia();
@@ -1,4 +1,4 @@
1
- import { q as index$1, 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-C5dhT0uU.es.js";
1
+ import { q as index$1, 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-Bntob7Wd.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-CXxsqYcP.es.js";
3
3
  import { B as Buffer$2 } from "./jszip-B8KIZSNe.es.js";
4
4
  import { B as BlankDOCX } from "./blank-docx-iwdyG9RH.es.js";
@@ -17392,7 +17392,7 @@ const _sfc_main = {
17392
17392
  __name: "SuperDoc",
17393
17393
  emits: ["selection-update"],
17394
17394
  setup(__props, { emit: __emit }) {
17395
- const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-CwVW7MVJ.es.js"));
17395
+ const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-D3zo7tPo.es.js"));
17396
17396
  const superdocStore = useSuperdocStore();
17397
17397
  const commentsStore = useCommentsStore();
17398
17398
  const {
@@ -17573,7 +17573,6 @@ const _sfc_main = {
17573
17573
  annotations: proxy.$superdoc.config.annotations,
17574
17574
  isCommentsEnabled: proxy.$superdoc.config.modules?.comments,
17575
17575
  isAiEnabled: proxy.$superdoc.config.modules?.ai,
17576
- slashMenuConfig: proxy.$superdoc.config.modules?.slashMenu,
17577
17576
  onBeforeCreate: onEditorBeforeCreate,
17578
17577
  onCreate: onEditorCreate,
17579
17578
  onDestroy: onEditorDestroy,
@@ -17935,7 +17934,7 @@ const _sfc_main = {
17935
17934
  };
17936
17935
  }
17937
17936
  };
17938
- const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dbfba5b9"]]);
17937
+ const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-07532c12"]]);
17939
17938
  const createSuperdocVueApp = () => {
17940
17939
  const app = createApp(App);
17941
17940
  const pinia = createPinia();