superdoc 0.30.0-next.2 → 0.30.0-next.3

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 (136) hide show
  1. package/dist/chunks/{PdfViewer-DjMr1y41.cjs → PdfViewer-BIJ6vJck.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-B_U27-1K.es.js → PdfViewer-YWtbYClb.es.js} +1 -1
  3. package/dist/chunks/{index-D8F3d1e3.es.js → index-Bh45DPpT.es.js} +3 -3
  4. package/dist/chunks/{index-uO0JG1KW.cjs → index-Br4fKccD.cjs} +3 -3
  5. package/dist/chunks/{index-BJia6SL_-O9_RiF6K.cjs → index-D9ggxe26-BbC5rNDO.cjs} +1 -1
  6. package/dist/chunks/{index-BJia6SL_-D6cjpcdW.es.js → index-D9ggxe26-Dk1kDrfi.es.js} +1 -1
  7. package/dist/chunks/{super-editor.es-C0Cv2AzF.cjs → super-editor.es-4me2z6up.cjs} +13728 -14837
  8. package/dist/chunks/{super-editor.es-BjEfFiAF.es.js → super-editor.es-FtXwm03k.es.js} +13728 -14837
  9. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  10. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  11. package/dist/style.css +0 -22
  12. package/dist/super-editor/ai-writer.es.js +2 -2
  13. package/dist/super-editor/chunks/{converter-DxPmeV-v.js → converter-SZ8xM5Dw.js} +12303 -12326
  14. package/dist/super-editor/chunks/{docx-zipper-BnnW7IuB.js → docx-zipper-GNdwONoA.js} +1 -1
  15. package/dist/super-editor/chunks/{editor-B2jkX1wz.js → editor-Bb8HzfEh.js} +1430 -2502
  16. package/dist/super-editor/chunks/{index-BJia6SL_.js → index-D9ggxe26.js} +1 -1
  17. package/dist/super-editor/chunks/{toolbar-DFlHgpZd.js → toolbar-DtCz6r-y.js} +2 -2
  18. package/dist/super-editor/converter.es.js +2 -2
  19. package/dist/super-editor/docx-zipper.es.js +2 -2
  20. package/dist/super-editor/editor.es.js +3 -3
  21. package/dist/super-editor/file-zipper.es.js +1 -1
  22. package/dist/super-editor/style.css +0 -22
  23. package/dist/super-editor/super-editor/src/components/slash-menu/utils.d.ts.map +1 -1
  24. package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
  25. package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
  26. package/dist/super-editor/super-editor/src/core/InputRule.d.ts.map +1 -1
  27. package/dist/super-editor/super-editor/src/core/commands/__tests__/schemaWithLists.d.ts +1 -1
  28. package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts +15 -0
  29. package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -0
  30. package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts +1 -1
  31. package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts.map +1 -1
  32. package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts +2 -1
  33. package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts.map +1 -1
  34. package/dist/super-editor/super-editor/src/core/commands/index.d.ts +2 -7
  35. package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts +1 -1
  36. package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
  37. package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts +0 -1
  38. package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map +1 -1
  39. package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts +4 -0
  40. package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +1 -0
  41. package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts +7 -0
  42. package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -0
  43. package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts +2 -1
  44. package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts.map +1 -1
  45. package/dist/super-editor/super-editor/src/core/commands/tests/test-schema.d.ts +1 -1
  46. package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts +6 -56
  47. package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
  48. package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
  49. package/dist/super-editor/super-editor/src/core/helpers/contentProcessor.d.ts +3 -3
  50. package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts +2 -2
  51. package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts.map +1 -1
  52. package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts +2 -2
  53. package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts.map +1 -1
  54. package/dist/super-editor/super-editor/src/core/helpers/importMarkdown.d.ts +2 -2
  55. package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts +15 -42
  56. package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
  57. package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts +2 -0
  58. package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts.map +1 -1
  59. package/dist/super-editor/super-editor/src/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -1
  60. package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts +2 -5
  61. package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts.map +1 -1
  62. package/dist/super-editor/super-editor/src/core/super-converter/SuperConverter.d.ts.map +1 -1
  63. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
  64. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +2 -0
  65. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
  66. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +6 -4
  67. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -1
  68. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +2 -1
  69. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
  70. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +0 -97
  71. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
  72. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
  73. package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts.map +1 -1
  74. package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/index.d.ts.map +1 -1
  75. package/dist/super-editor/super-editor/src/extensions/index.d.ts +1 -4
  76. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  77. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -1
  78. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
  79. package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts +30 -0
  80. package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +1 -0
  81. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +37 -0
  82. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -0
  83. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +9 -0
  84. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -0
  85. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
  86. package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts +1 -0
  87. package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts.map +1 -1
  88. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +13 -2
  89. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
  90. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
  91. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  92. package/dist/super-editor/super-editor.es.js +75 -40
  93. package/dist/super-editor/toolbar.es.js +2 -2
  94. package/dist/super-editor.cjs +1 -1
  95. package/dist/super-editor.es.js +1 -1
  96. package/dist/superdoc.cjs +2 -2
  97. package/dist/superdoc.es.js +2 -2
  98. package/dist/superdoc.umd.js +13744 -14853
  99. package/dist/superdoc.umd.js.map +1 -1
  100. package/package.json +1 -1
  101. package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts +0 -6
  102. package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts.map +0 -1
  103. package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts +0 -2
  104. package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +0 -1
  105. package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +0 -15
  106. package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +0 -1
  107. package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +0 -5
  108. package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts.map +0 -1
  109. package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +0 -5
  110. package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +0 -1
  111. package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +0 -2
  112. package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +0 -1
  113. package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts +0 -5
  114. package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +0 -1
  115. package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts +0 -15
  116. package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +0 -1
  117. package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +0 -2
  118. package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +0 -1
  119. package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts +0 -43
  120. package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +0 -1
  121. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +0 -68
  122. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +0 -1
  123. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +0 -13
  124. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +0 -1
  125. package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +0 -2
  126. package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +0 -1
  127. package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +0 -51
  128. package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +0 -1
  129. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +0 -3
  130. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +0 -1
  131. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -6
  132. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +0 -1
  133. package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +0 -2
  134. package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +0 -1
  135. package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +0 -38
  136. package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const vue = require("./vue-BQxRC6G7.cjs");
4
- const superdoc = require("./index-uO0JG1KW.cjs");
4
+ const superdoc = require("./index-Br4fKccD.cjs");
5
5
  function self(vars) {
6
6
  const {
7
7
  opacityDisabled,
@@ -1,5 +1,5 @@
1
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-D1vcEBAQ.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-D8F3d1e3.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-Bh45DPpT.es.js";
3
3
  function self(vars) {
4
4
  const {
5
5
  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-BjEfFiAF.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-FtXwm03k.es.js";
2
2
  import { B as BlankDOCX } from "./blank-docx-ABm6XYAA.es.js";
3
3
  import { E as EventEmitter } from "./eventemitter3-D4gv5QOO.es.js";
4
4
  import { HocuspocusProvider, HocuspocusProviderWebsocket } from "@hocuspocus/provider";
@@ -17201,7 +17201,7 @@ const _sfc_main = {
17201
17201
  __name: "SuperDoc",
17202
17202
  emits: ["selection-update"],
17203
17203
  setup(__props, { emit: __emit }) {
17204
- const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-B_U27-1K.es.js"));
17204
+ const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-YWtbYClb.es.js"));
17205
17205
  const superdocStore = useSuperdocStore();
17206
17206
  const commentsStore = useCommentsStore();
17207
17207
  const {
@@ -17965,7 +17965,7 @@ class SuperDoc extends EventEmitter {
17965
17965
  this.config.colors = shuffleArray(this.config.colors);
17966
17966
  this.userColorMap = /* @__PURE__ */ new Map();
17967
17967
  this.colorIndex = 0;
17968
- this.version = "0.30.0-next.2";
17968
+ this.version = "0.30.0-next.3";
17969
17969
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
17970
17970
  this.superdocId = config.superdocId || v4();
17971
17971
  this.colors = this.config.colors;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const superEditor_es = require("./super-editor.es-C0Cv2AzF.cjs");
2
+ const superEditor_es = require("./super-editor.es-4me2z6up.cjs");
3
3
  const blankDocx = require("./blank-docx-DfW3Eeh2.cjs");
4
4
  const eventemitter3 = require("./eventemitter3-BvTILlBo.cjs");
5
5
  const provider = require("@hocuspocus/provider");
@@ -17218,7 +17218,7 @@ const _sfc_main = {
17218
17218
  __name: "SuperDoc",
17219
17219
  emits: ["selection-update"],
17220
17220
  setup(__props, { emit: __emit }) {
17221
- const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-DjMr1y41.cjs")));
17221
+ const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-BIJ6vJck.cjs")));
17222
17222
  const superdocStore = useSuperdocStore();
17223
17223
  const commentsStore = useCommentsStore();
17224
17224
  const {
@@ -17982,7 +17982,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
17982
17982
  this.config.colors = shuffleArray(this.config.colors);
17983
17983
  this.userColorMap = /* @__PURE__ */ new Map();
17984
17984
  this.colorIndex = 0;
17985
- this.version = "0.30.0-next.2";
17985
+ this.version = "0.30.0-next.3";
17986
17986
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
17987
17987
  this.superdocId = config.superdocId || uuid.v4();
17988
17988
  this.colors = this.config.colors;
@@ -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-C0Cv2AzF.cjs");
3
+ const superEditor_es = require("./super-editor.es-4me2z6up.cjs");
4
4
  const indexCvBqQJbG = require("./index-CvBqQJbG-Dwm0THD7.cjs");
5
5
  function bail(error) {
6
6
  if (error) {
@@ -1,4 +1,4 @@
1
- import { s as getDefaultExportFromCjs$2 } from "./super-editor.es-BjEfFiAF.es.js";
1
+ import { s as getDefaultExportFromCjs$2 } from "./super-editor.es-FtXwm03k.es.js";
2
2
  import { V as VFile } from "./index-CvBqQJbG-CvBqQJbG.es.js";
3
3
  function bail(error) {
4
4
  if (error) {