@harbour-enterprises/superdoc 0.15.14 → 0.15.15-next.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.
Files changed (40) hide show
  1. package/dist/chunks/{eventemitter3-DESeWqCF.es.js → eventemitter3-BKLF7Ip6.es.js} +1 -1
  2. package/dist/chunks/{eventemitter3-BgTTc0kr.cjs → eventemitter3-CLT6oufV.cjs} +1 -1
  3. package/dist/chunks/{index-5s0lZrRi.cjs → index-B5xS6OKK.cjs} +2 -2
  4. package/dist/chunks/{index-BDb18xQR.es.js → index-BqH3eQTm.es.js} +2 -2
  5. package/dist/chunks/{index-CEIbpU5u.es.js → index-D612mw4O.es.js} +4 -4
  6. package/dist/chunks/{index-CjAcITPh.cjs → index-DhQaJbc2.cjs} +2 -2
  7. package/dist/chunks/{index-gYvWcHA-.es.js → index-DzFLdJgk.es.js} +2 -2
  8. package/dist/chunks/{index-Dz0ZMALg.cjs → index-ibuaxW1X.cjs} +4 -4
  9. package/dist/chunks/{jszip-eJOLo2UN.es.js → jszip-BwJb6_S5.es.js} +1 -1
  10. package/dist/chunks/{jszip-BgN565V6.cjs → jszip-DWfnW2xV.cjs} +1 -1
  11. package/dist/chunks/{super-editor.es-C8EGlPpn.cjs → super-editor.es-CGQ3mj3n.cjs} +7 -13
  12. package/dist/chunks/{super-editor.es-JCeba7fK.es.js → super-editor.es-Cr681iH9.es.js} +7 -13
  13. package/dist/chunks/{url-yluXzDeN.cjs → url-7PXI9_kJ.cjs} +2 -2
  14. package/dist/chunks/{url-D1vPFtjG.es.js → url-CNqDAz7z.es.js} +2 -2
  15. package/dist/chunks/{vue-aMYj79Bx.es.js → vue-B_OPNNfX.es.js} +7 -14
  16. package/dist/chunks/{vue-BLDJYAe8.cjs → vue-CfKg12kH.cjs} +7 -14
  17. package/dist/chunks/{xml-js-DahUgrqx.cjs → xml-js-B_rfwhrZ.cjs} +2 -2
  18. package/dist/chunks/{xml-js-BWZkA4YC.es.js → xml-js-Bn0K9fTK.es.js} +2 -2
  19. package/dist/super-editor/ai-writer.es.js +2 -2
  20. package/dist/super-editor/chunks/{converter-DjbNejMd.js → converter-B4cSUeWQ.js} +3 -8
  21. package/dist/super-editor/chunks/{docx-zipper-DiVyi_2u.js → docx-zipper-QgbFVQ-d.js} +1 -1
  22. package/dist/super-editor/chunks/{editor-gZEs66bj.js → editor-BVBFTBRE.js} +3 -3
  23. package/dist/super-editor/chunks/{toolbar-CTe709-l.js → toolbar-CQxiDaQA.js} +2 -2
  24. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  25. package/dist/super-editor/converter.es.js +1 -1
  26. package/dist/super-editor/core/Attribute.d.ts +2 -2
  27. package/dist/super-editor/core/Attribute.d.ts.map +1 -1
  28. package/dist/super-editor/core/Schema.d.ts +2 -2
  29. package/dist/super-editor/docx-zipper.es.js +2 -2
  30. package/dist/super-editor/editor.es.js +3 -3
  31. package/dist/super-editor/file-zipper.es.js +1 -1
  32. package/dist/super-editor/super-editor.es.js +8 -9
  33. package/dist/super-editor/toolbar.es.js +2 -2
  34. package/dist/super-editor.cjs +2 -2
  35. package/dist/super-editor.es.js +2 -2
  36. package/dist/superdoc.cjs +8 -8
  37. package/dist/superdoc.es.js +9 -9
  38. package/dist/superdoc.umd.js +14 -27
  39. package/dist/superdoc.umd.js.map +1 -1
  40. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./jszip-eJOLo2UN.es.js";
1
+ import { g as getDefaultExportFromCjs } from "./jszip-BwJb6_S5.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 jszip = require("./jszip-BgN565V6.cjs");
2
+ const jszip = require("./jszip-DWfnW2xV.cjs");
3
3
  var eventemitter3 = { exports: {} };
4
4
  var hasRequiredEventemitter3;
5
5
  function requireEventemitter3() {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- const jszip = require("./jszip-BgN565V6.cjs");
3
- const index$2 = require("./index-Dz0ZMALg.cjs");
2
+ const jszip = require("./jszip-DWfnW2xV.cjs");
3
+ const index$2 = require("./index-ibuaxW1X.cjs");
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -1,5 +1,5 @@
1
- import { g as getDefaultExportFromCjs } from "./jszip-eJOLo2UN.es.js";
2
- import { r as requireStreamHttp } from "./index-CEIbpU5u.es.js";
1
+ import { g as getDefaultExportFromCjs } from "./jszip-BwJb6_S5.es.js";
2
+ import { r as requireStreamHttp } from "./index-D612mw4O.es.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,7 +1,7 @@
1
- import { c as commonjsGlobal, B as Buffer, a as getAugmentedNamespace } from "./jszip-eJOLo2UN.es.js";
2
- import { p as process$1 } from "./vue-aMYj79Bx.es.js";
3
- import { r as require_stream_readable, a as require_stream_writable, b as require_stream_duplex, c as require_stream_transform, d as require_stream_passthrough, e as requireEndOfStream, f as requirePipeline, g as requireInherits_browser } from "./xml-js-BWZkA4YC.es.js";
4
- import { u as url } from "./url-D1vPFtjG.es.js";
1
+ import { c as commonjsGlobal, B as Buffer, a as getAugmentedNamespace } from "./jszip-BwJb6_S5.es.js";
2
+ import { p as process$1 } from "./vue-B_OPNNfX.es.js";
3
+ import { r as require_stream_readable, a as require_stream_writable, b as require_stream_duplex, c as require_stream_transform, d as require_stream_passthrough, e as requireEndOfStream, f as requirePipeline, g as requireInherits_browser } from "./xml-js-Bn0K9fTK.es.js";
4
+ import { u as url } from "./url-CNqDAz7z.es.js";
5
5
  var streamHttp = {};
6
6
  var request = { exports: {} };
7
7
  var capability = {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- const jszip = require("./jszip-BgN565V6.cjs");
3
- const index$2 = require("./index-Dz0ZMALg.cjs");
2
+ const jszip = require("./jszip-DWfnW2xV.cjs");
3
+ const index$2 = require("./index-ibuaxW1X.cjs");
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -1,5 +1,5 @@
1
- import { g as getDefaultExportFromCjs } from "./jszip-eJOLo2UN.es.js";
2
- import { r as requireStreamHttp, a as require$$1 } from "./index-CEIbpU5u.es.js";
1
+ import { g as getDefaultExportFromCjs } from "./jszip-BwJb6_S5.es.js";
2
+ import { r as requireStreamHttp, a as require$$1 } from "./index-D612mw4O.es.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
- const jszip = require("./jszip-BgN565V6.cjs");
3
- const vue = require("./vue-BLDJYAe8.cjs");
4
- const xmlJs = require("./xml-js-DahUgrqx.cjs");
5
- const url = require("./url-yluXzDeN.cjs");
2
+ const jszip = require("./jszip-DWfnW2xV.cjs");
3
+ const vue = require("./vue-CfKg12kH.cjs");
4
+ const xmlJs = require("./xml-js-B_rfwhrZ.cjs");
5
+ const url = require("./url-7PXI9_kJ.cjs");
6
6
  var streamHttp = {};
7
7
  var request = { exports: {} };
8
8
  var capability = {};
@@ -1,4 +1,4 @@
1
- import "./vue-aMYj79Bx.es.js";
1
+ import "./vue-B_OPNNfX.es.js";
2
2
  var buffer = {};
3
3
  var base64Js = {};
4
4
  base64Js.byteLength = byteLength;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- require("./vue-BLDJYAe8.cjs");
2
+ require("./vue-CfKg12kH.cjs");
3
3
  var buffer = {};
4
4
  var base64Js = {};
5
5
  base64Js.byteLength = byteLength;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const vue = require("./vue-BLDJYAe8.cjs");
2
+ const vue = require("./vue-CfKg12kH.cjs");
3
3
  const Y = require("yjs");
4
4
  function _interopNamespaceDefault(e) {
5
5
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -12356,11 +12356,9 @@ function removeRange(content, from2, to) {
12356
12356
  function insertInto(content, dist2, insert, parent) {
12357
12357
  let { index: index2, offset: offset2 } = content.findIndex(dist2), child = content.maybeChild(index2);
12358
12358
  if (offset2 == dist2 || child.isText) {
12359
- if (parent && !parent.canReplace(index2, index2, insert))
12360
- return null;
12361
12359
  return content.cut(0, dist2).append(insert).append(content.cut(dist2));
12362
12360
  }
12363
- let inner = insertInto(child.content, dist2 - offset2 - 1, insert, child);
12361
+ let inner = insertInto(child.content, dist2 - offset2 - 1, insert);
12364
12362
  return inner && content.replaceChild(index2, child.copy(inner));
12365
12363
  }
12366
12364
  function replace($from, $to, slice2) {
@@ -26709,9 +26707,6 @@ function getMarkValue(markType, attributes, docx) {
26709
26707
  highlight: () => getHighLightValue(attributes),
26710
26708
  strike: () => getStrikeValue(attributes)
26711
26709
  };
26712
- if (!(markType in markValueMapper)) {
26713
- console.debug("❗️❗️ No value mapper for:", markType, "Attributes:", attributes);
26714
- }
26715
26710
  if (markType in markValueMapper) {
26716
26711
  return markValueMapper[markType]();
26717
26712
  }
@@ -28822,7 +28817,7 @@ const _SuperConverter = class _SuperConverter2 {
28822
28817
  return;
28823
28818
  }
28824
28819
  }
28825
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.14") {
28820
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.15-next.1") {
28826
28821
  const customLocation = "docProps/custom.xml";
28827
28822
  if (!docx[customLocation]) {
28828
28823
  docx[customLocation] = generateCustomXml();
@@ -29305,7 +29300,7 @@ function storeSuperdocVersion(docx) {
29305
29300
  function generateCustomXml() {
29306
29301
  return DEFAULT_CUSTOM_XML;
29307
29302
  }
29308
- function generateSuperdocVersion(pid = 2, version2 = "0.15.14") {
29303
+ function generateSuperdocVersion(pid = 2, version2 = "0.15.15-next.1") {
29309
29304
  return {
29310
29305
  type: "element",
29311
29306
  name: "property",
@@ -45647,7 +45642,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
45647
45642
  * @returns {Object | void} Migration results
45648
45643
  */
45649
45644
  processCollaborationMigrations() {
45650
- console.debug("[checkVersionMigrations] Current editor version", "0.15.14");
45645
+ console.debug("[checkVersionMigrations] Current editor version", "0.15.15-next.1");
45651
45646
  if (!this.options.ydoc) return;
45652
45647
  const metaMap = this.options.ydoc.getMap("meta");
45653
45648
  let docVersion = metaMap.get("version");
@@ -72886,7 +72881,7 @@ const _sfc_main$b = {
72886
72881
  class: "remove-btn__icon",
72887
72882
  innerHTML: vue.unref(toolbarIcons).removeLink
72888
72883
  }, null, 8, _hoisted_12),
72889
- _cache[5] || (_cache[5] = vue.createTextVNode(" Remove ", -1))
72884
+ _cache[5] || (_cache[5] = vue.createTextVNode(" Remove "))
72890
72885
  ])) : vue.createCommentVNode("", true),
72891
72886
  vue.createBaseVNode("button", {
72892
72887
  class: vue.normalizeClass(["submit-btn", { "disable-btn": isDisabled2.value }]),
@@ -73085,7 +73080,7 @@ const _sfc_main$9 = {
73085
73080
  innerHTML: vue.unref(DropIcon),
73086
73081
  class: "none-icon"
73087
73082
  }, null, 8, _hoisted_2$5),
73088
- _cache[1] || (_cache[1] = vue.createTextVNode(" None ", -1))
73083
+ _cache[1] || (_cache[1] = vue.createTextVNode(" None "))
73089
73084
  ])) : vue.createCommentVNode("", true),
73090
73085
  vue.createBaseVNode("div", _hoisted_3$4, [
73091
73086
  vue.createVNode(IconGridRow, {
@@ -74911,7 +74906,6 @@ class SuperToolbar extends EventEmitter2 {
74911
74906
  el = document.getElementById(selector);
74912
74907
  }
74913
74908
  if (!el) {
74914
- console.warn(`[super-toolbar 🎨] Element not found: ${selector}`);
74915
74909
  return null;
74916
74910
  }
74917
74911
  }
@@ -1,4 +1,4 @@
1
- import { g as global$2, r as ref$1, c as createApp, a as computed, b as createElementBlock, o as openBlock, F as Fragment$1, d as renderList, n as normalizeClass, w as withModifiers, e as createCommentVNode, t as toDisplayString, f as createBaseVNode, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, q as getCurrentInstance, s as onDeactivated, u as nextTick, v as createBlock, x as createVNode, y as unref, z as withCtx, A as createTextVNode, B as normalizeStyle, C as h, D as toRef, E as provide, G as mergeProps, H as cloneVNode, T as Text$2, I as withDirectives, J as watchEffect, K as shallowRef, L as vModelText, M as withKeys, N as reactive, O as readonly, P as Transition, Q as vShow, R as Comment, S as renderSlot, U as onActivated, V as Teleport, W as isVNode, X as onUnmounted, Y as resolveDynamicComponent, Z as normalizeProps, _ as guardReactiveProps, $ as markRaw } from "./vue-aMYj79Bx.es.js";
1
+ import { g as global$2, r as ref$1, c as createApp, a as computed, b as createElementBlock, o as openBlock, F as Fragment$1, d as renderList, n as normalizeClass, w as withModifiers, e as createCommentVNode, t as toDisplayString, f as createBaseVNode, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, q as getCurrentInstance, s as onDeactivated, u as nextTick, v as createBlock, x as createVNode, y as unref, z as withCtx, A as createTextVNode, B as normalizeStyle, C as h, D as toRef, E as provide, G as mergeProps, H as cloneVNode, T as Text$2, I as withDirectives, J as watchEffect, K as shallowRef, L as vModelText, M as withKeys, N as reactive, O as readonly, P as Transition, Q as vShow, R as Comment, S as renderSlot, U as onActivated, V as Teleport, W as isVNode, X as onUnmounted, Y as resolveDynamicComponent, Z as normalizeProps, _ as guardReactiveProps, $ as markRaw } from "./vue-B_OPNNfX.es.js";
2
2
  import * as Y from "yjs";
3
3
  import { UndoManager, Item as Item$2, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
4
4
  var __defProp$2 = Object.defineProperty;
@@ -12339,11 +12339,9 @@ function removeRange(content, from2, to) {
12339
12339
  function insertInto(content, dist2, insert, parent) {
12340
12340
  let { index: index2, offset: offset2 } = content.findIndex(dist2), child = content.maybeChild(index2);
12341
12341
  if (offset2 == dist2 || child.isText) {
12342
- if (parent && !parent.canReplace(index2, index2, insert))
12343
- return null;
12344
12342
  return content.cut(0, dist2).append(insert).append(content.cut(dist2));
12345
12343
  }
12346
- let inner = insertInto(child.content, dist2 - offset2 - 1, insert, child);
12344
+ let inner = insertInto(child.content, dist2 - offset2 - 1, insert);
12347
12345
  return inner && content.replaceChild(index2, child.copy(inner));
12348
12346
  }
12349
12347
  function replace($from, $to, slice2) {
@@ -26692,9 +26690,6 @@ function getMarkValue(markType, attributes, docx) {
26692
26690
  highlight: () => getHighLightValue(attributes),
26693
26691
  strike: () => getStrikeValue(attributes)
26694
26692
  };
26695
- if (!(markType in markValueMapper)) {
26696
- console.debug("❗️❗️ No value mapper for:", markType, "Attributes:", attributes);
26697
- }
26698
26693
  if (markType in markValueMapper) {
26699
26694
  return markValueMapper[markType]();
26700
26695
  }
@@ -28805,7 +28800,7 @@ const _SuperConverter = class _SuperConverter2 {
28805
28800
  return;
28806
28801
  }
28807
28802
  }
28808
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.14") {
28803
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.15-next.1") {
28809
28804
  const customLocation = "docProps/custom.xml";
28810
28805
  if (!docx[customLocation]) {
28811
28806
  docx[customLocation] = generateCustomXml();
@@ -29288,7 +29283,7 @@ function storeSuperdocVersion(docx) {
29288
29283
  function generateCustomXml() {
29289
29284
  return DEFAULT_CUSTOM_XML;
29290
29285
  }
29291
- function generateSuperdocVersion(pid = 2, version2 = "0.15.14") {
29286
+ function generateSuperdocVersion(pid = 2, version2 = "0.15.15-next.1") {
29292
29287
  return {
29293
29288
  type: "element",
29294
29289
  name: "property",
@@ -45630,7 +45625,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
45630
45625
  * @returns {Object | void} Migration results
45631
45626
  */
45632
45627
  processCollaborationMigrations() {
45633
- console.debug("[checkVersionMigrations] Current editor version", "0.15.14");
45628
+ console.debug("[checkVersionMigrations] Current editor version", "0.15.15-next.1");
45634
45629
  if (!this.options.ydoc) return;
45635
45630
  const metaMap = this.options.ydoc.getMap("meta");
45636
45631
  let docVersion = metaMap.get("version");
@@ -72869,7 +72864,7 @@ const _sfc_main$b = {
72869
72864
  class: "remove-btn__icon",
72870
72865
  innerHTML: unref(toolbarIcons).removeLink
72871
72866
  }, null, 8, _hoisted_12),
72872
- _cache[5] || (_cache[5] = createTextVNode(" Remove ", -1))
72867
+ _cache[5] || (_cache[5] = createTextVNode(" Remove "))
72873
72868
  ])) : createCommentVNode("", true),
72874
72869
  createBaseVNode("button", {
72875
72870
  class: normalizeClass(["submit-btn", { "disable-btn": isDisabled2.value }]),
@@ -73068,7 +73063,7 @@ const _sfc_main$9 = {
73068
73063
  innerHTML: unref(DropIcon),
73069
73064
  class: "none-icon"
73070
73065
  }, null, 8, _hoisted_2$5),
73071
- _cache[1] || (_cache[1] = createTextVNode(" None ", -1))
73066
+ _cache[1] || (_cache[1] = createTextVNode(" None "))
73072
73067
  ])) : createCommentVNode("", true),
73073
73068
  createBaseVNode("div", _hoisted_3$4, [
73074
73069
  createVNode(IconGridRow, {
@@ -74894,7 +74889,6 @@ class SuperToolbar extends EventEmitter2 {
74894
74889
  el = document.getElementById(selector);
74895
74890
  }
74896
74891
  if (!el) {
74897
- console.warn(`[super-toolbar 🎨] Element not found: ${selector}`);
74898
74892
  return null;
74899
74893
  }
74900
74894
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- const jszip = require("./jszip-BgN565V6.cjs");
3
- const xmlJs = require("./xml-js-DahUgrqx.cjs");
2
+ const jszip = require("./jszip-DWfnW2xV.cjs");
3
+ const xmlJs = require("./xml-js-B_rfwhrZ.cjs");
4
4
  const __viteBrowserExternal = require("./__vite-browser-external-DWbQq7bv.cjs");
5
5
  var punycode$2 = { exports: {} };
6
6
  /*! https://mths.be/punycode v1.4.1 by @mathias */
@@ -1,5 +1,5 @@
1
- import { c as commonjsGlobal, g as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./jszip-eJOLo2UN.es.js";
2
- import { h as requireType, i as requireGetIntrinsic, j as requireCallBound } from "./xml-js-BWZkA4YC.es.js";
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./jszip-BwJb6_S5.es.js";
2
+ import { h as requireType, i as requireGetIntrinsic, j as requireCallBound } from "./xml-js-Bn0K9fTK.es.js";
3
3
  import { _ as __viteBrowserExternal } from "./__vite-browser-external-CURh0WXD.es.js";
4
4
  var punycode$2 = { exports: {} };
5
5
  /*! https://mths.be/punycode v1.4.1 by @mathias */
@@ -162,7 +162,7 @@ process.umask = function() {
162
162
  var browserExports = browser.exports;
163
163
  const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
164
164
  /**
165
- * @vue/shared v3.5.18
165
+ * @vue/shared v3.5.17
166
166
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
167
167
  * @license MIT
168
168
  **/
@@ -4285,8 +4285,7 @@ function applyOptions(instance) {
4285
4285
  expose.forEach((key) => {
4286
4286
  Object.defineProperty(exposed, key, {
4287
4287
  get: () => publicThis[key],
4288
- set: (val) => publicThis[key] = val,
4289
- enumerable: true
4288
+ set: (val) => publicThis[key] = val
4290
4289
  });
4291
4290
  });
4292
4291
  } else if (!instance.exposed) {
@@ -4732,7 +4731,7 @@ function provide(key, value) {
4732
4731
  }
4733
4732
  }
4734
4733
  function inject(key, defaultValue, treatDefaultAsFactory = false) {
4735
- const instance = getCurrentInstance();
4734
+ const instance = currentInstance || currentRenderingInstance;
4736
4735
  if (instance || currentApp) {
4737
4736
  let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
4738
4737
  if (provides && key in provides) {
@@ -4747,7 +4746,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
4747
4746
  }
4748
4747
  }
4749
4748
  function hasInjectionContext() {
4750
- return !!(getCurrentInstance() || currentApp);
4749
+ return !!(currentInstance || currentRenderingInstance || currentApp);
4751
4750
  }
4752
4751
  const internalObjectProto = {};
4753
4752
  const createInternalObject = () => Object.create(internalObjectProto);
@@ -5170,7 +5169,7 @@ function isExplicable(type) {
5170
5169
  function isBoolean(...args) {
5171
5170
  return args.some((elem) => elem.toLowerCase() === "boolean");
5172
5171
  }
5173
- const isInternalKey = (key) => key === "_" || key === "__" || key === "_ctx" || key === "$stable";
5172
+ const isInternalKey = (key) => key[0] === "_" || key === "$stable";
5174
5173
  const normalizeSlotValue = (value) => isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
5175
5174
  const normalizeSlot = (key, rawSlot, ctx) => {
5176
5175
  if (rawSlot._n) {
@@ -5932,7 +5931,6 @@ function baseCreateRenderer(options, createHydrationFns) {
5932
5931
  if (!initialVNode.el) {
5933
5932
  const placeholder = instance.subTree = createVNode(Comment);
5934
5933
  processCommentNode(null, placeholder, container, anchor);
5935
- initialVNode.placeholder = placeholder.el;
5936
5934
  }
5937
5935
  } else {
5938
5936
  setupRenderEffect(
@@ -6402,11 +6400,7 @@ function baseCreateRenderer(options, createHydrationFns) {
6402
6400
  for (i = toBePatched - 1; i >= 0; i--) {
6403
6401
  const nextIndex = s2 + i;
6404
6402
  const nextChild = c2[nextIndex];
6405
- const anchorVNode = c2[nextIndex + 1];
6406
- const anchor = nextIndex + 1 < l2 ? (
6407
- // #13559, fallback to el placeholder for unresolved async component
6408
- anchorVNode.el || anchorVNode.placeholder
6409
- ) : parentAnchor;
6403
+ const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;
6410
6404
  if (newIndexToOldIndexMap[i] === 0) {
6411
6405
  patch(
6412
6406
  null,
@@ -7625,7 +7619,6 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
7625
7619
  suspense: vnode.suspense,
7626
7620
  ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
7627
7621
  ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
7628
- placeholder: vnode.placeholder,
7629
7622
  el: vnode.el,
7630
7623
  anchor: vnode.anchor,
7631
7624
  ctx: vnode.ctx,
@@ -8358,7 +8351,7 @@ function initCustomFormatter() {
8358
8351
  window.devtoolsFormatters = [formatter];
8359
8352
  }
8360
8353
  }
8361
- const version = "3.5.18";
8354
+ const version = "3.5.17";
8362
8355
  const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
8363
8356
  !!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
8364
8357
  !!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
@@ -163,7 +163,7 @@ process.umask = function() {
163
163
  var browserExports = browser.exports;
164
164
  const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
165
165
  /**
166
- * @vue/shared v3.5.18
166
+ * @vue/shared v3.5.17
167
167
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
168
168
  * @license MIT
169
169
  **/
@@ -4286,8 +4286,7 @@ function applyOptions(instance) {
4286
4286
  expose.forEach((key) => {
4287
4287
  Object.defineProperty(exposed, key, {
4288
4288
  get: () => publicThis[key],
4289
- set: (val) => publicThis[key] = val,
4290
- enumerable: true
4289
+ set: (val) => publicThis[key] = val
4291
4290
  });
4292
4291
  });
4293
4292
  } else if (!instance.exposed) {
@@ -4733,7 +4732,7 @@ function provide(key, value) {
4733
4732
  }
4734
4733
  }
4735
4734
  function inject(key, defaultValue, treatDefaultAsFactory = false) {
4736
- const instance = getCurrentInstance();
4735
+ const instance = currentInstance || currentRenderingInstance;
4737
4736
  if (instance || currentApp) {
4738
4737
  let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
4739
4738
  if (provides && key in provides) {
@@ -4748,7 +4747,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
4748
4747
  }
4749
4748
  }
4750
4749
  function hasInjectionContext() {
4751
- return !!(getCurrentInstance() || currentApp);
4750
+ return !!(currentInstance || currentRenderingInstance || currentApp);
4752
4751
  }
4753
4752
  const internalObjectProto = {};
4754
4753
  const createInternalObject = () => Object.create(internalObjectProto);
@@ -5171,7 +5170,7 @@ function isExplicable(type) {
5171
5170
  function isBoolean(...args) {
5172
5171
  return args.some((elem) => elem.toLowerCase() === "boolean");
5173
5172
  }
5174
- const isInternalKey = (key) => key === "_" || key === "__" || key === "_ctx" || key === "$stable";
5173
+ const isInternalKey = (key) => key[0] === "_" || key === "$stable";
5175
5174
  const normalizeSlotValue = (value) => isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
5176
5175
  const normalizeSlot = (key, rawSlot, ctx) => {
5177
5176
  if (rawSlot._n) {
@@ -5933,7 +5932,6 @@ function baseCreateRenderer(options, createHydrationFns) {
5933
5932
  if (!initialVNode.el) {
5934
5933
  const placeholder = instance.subTree = createVNode(Comment);
5935
5934
  processCommentNode(null, placeholder, container, anchor);
5936
- initialVNode.placeholder = placeholder.el;
5937
5935
  }
5938
5936
  } else {
5939
5937
  setupRenderEffect(
@@ -6403,11 +6401,7 @@ function baseCreateRenderer(options, createHydrationFns) {
6403
6401
  for (i = toBePatched - 1; i >= 0; i--) {
6404
6402
  const nextIndex = s2 + i;
6405
6403
  const nextChild = c2[nextIndex];
6406
- const anchorVNode = c2[nextIndex + 1];
6407
- const anchor = nextIndex + 1 < l2 ? (
6408
- // #13559, fallback to el placeholder for unresolved async component
6409
- anchorVNode.el || anchorVNode.placeholder
6410
- ) : parentAnchor;
6404
+ const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;
6411
6405
  if (newIndexToOldIndexMap[i] === 0) {
6412
6406
  patch(
6413
6407
  null,
@@ -7626,7 +7620,6 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
7626
7620
  suspense: vnode.suspense,
7627
7621
  ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
7628
7622
  ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
7629
- placeholder: vnode.placeholder,
7630
7623
  el: vnode.el,
7631
7624
  anchor: vnode.anchor,
7632
7625
  ctx: vnode.ctx,
@@ -8359,7 +8352,7 @@ function initCustomFormatter() {
8359
8352
  window.devtoolsFormatters = [formatter];
8360
8353
  }
8361
8354
  }
8362
- const version = "3.5.18";
8355
+ const version = "3.5.17";
8363
8356
  const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
8364
8357
  !!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
8365
8358
  !!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- const vue = require("./vue-BLDJYAe8.cjs");
3
- const jszip = require("./jszip-BgN565V6.cjs");
2
+ const vue = require("./vue-CfKg12kH.cjs");
3
+ const jszip = require("./jszip-DWfnW2xV.cjs");
4
4
  var inherits_browser = { exports: {} };
5
5
  var hasRequiredInherits_browser;
6
6
  function requireInherits_browser() {
@@ -1,5 +1,5 @@
1
- import { p as process$1 } from "./vue-aMYj79Bx.es.js";
2
- import { c as commonjsGlobal } from "./jszip-eJOLo2UN.es.js";
1
+ import { p as process$1 } from "./vue-B_OPNNfX.es.js";
2
+ import { c as commonjsGlobal } from "./jszip-BwJb6_S5.es.js";
3
3
  var inherits_browser = { exports: {} };
4
4
  var hasRequiredInherits_browser;
5
5
  function requireInherits_browser() {
@@ -1,6 +1,6 @@
1
1
  import { ref, onMounted, onUnmounted, computed, createElementBlock, openBlock, withModifiers, createElementVNode, withDirectives, unref, vModelText, createCommentVNode, nextTick } from "vue";
2
- import { T as TextSelection } from "./chunks/converter-DjbNejMd.js";
3
- import { _ as _export_sfc } from "./chunks/editor-gZEs66bj.js";
2
+ import { T as TextSelection } from "./chunks/converter-B4cSUeWQ.js";
3
+ import { _ as _export_sfc } from "./chunks/editor-BVBFTBRE.js";
4
4
  const DEFAULT_API_ENDPOINT = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights";
5
5
  const SYSTEM_PROMPT = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
6
6
  async function baseInsightsFetch(payload, options = {}) {
@@ -12337,11 +12337,9 @@ function removeRange(content, from, to) {
12337
12337
  function insertInto(content, dist2, insert, parent) {
12338
12338
  let { index, offset } = content.findIndex(dist2), child = content.maybeChild(index);
12339
12339
  if (offset == dist2 || child.isText) {
12340
- if (parent && !parent.canReplace(index, index, insert))
12341
- return null;
12342
12340
  return content.cut(0, dist2).append(insert).append(content.cut(dist2));
12343
12341
  }
12344
- let inner = insertInto(child.content, dist2 - offset - 1, insert, child);
12342
+ let inner = insertInto(child.content, dist2 - offset - 1, insert);
12345
12343
  return inner && content.replaceChild(index, child.copy(inner));
12346
12344
  }
12347
12345
  function replace($from, $to, slice) {
@@ -26690,9 +26688,6 @@ function getMarkValue(markType, attributes, docx) {
26690
26688
  highlight: () => getHighLightValue(attributes),
26691
26689
  strike: () => getStrikeValue(attributes)
26692
26690
  };
26693
- if (!(markType in markValueMapper)) {
26694
- console.debug("❗️❗️ No value mapper for:", markType, "Attributes:", attributes);
26695
- }
26696
26691
  if (markType in markValueMapper) {
26697
26692
  return markValueMapper[markType]();
26698
26693
  }
@@ -28803,7 +28798,7 @@ const _SuperConverter = class _SuperConverter {
28803
28798
  return;
28804
28799
  }
28805
28800
  }
28806
- static updateDocumentVersion(docx = this.convertedXml, version = "0.15.14") {
28801
+ static updateDocumentVersion(docx = this.convertedXml, version = "0.15.15-next.1") {
28807
28802
  const customLocation = "docProps/custom.xml";
28808
28803
  if (!docx[customLocation]) {
28809
28804
  docx[customLocation] = generateCustomXml();
@@ -29289,7 +29284,7 @@ function storeSuperdocVersion(docx) {
29289
29284
  function generateCustomXml() {
29290
29285
  return DEFAULT_CUSTOM_XML;
29291
29286
  }
29292
- function generateSuperdocVersion(pid = 2, version = "0.15.14") {
29287
+ function generateSuperdocVersion(pid = 2, version = "0.15.15-next.1") {
29293
29288
  return {
29294
29289
  type: "element",
29295
29290
  name: "property",
@@ -1,4 +1,4 @@
1
- import { H as process$1, at as commonjsGlobal, I as Buffer, au as getDefaultExportFromCjs, av as getContentTypesFromXml, aw as xmljs } from "./converter-DjbNejMd.js";
1
+ import { H as process$1, at as commonjsGlobal, I as Buffer, au as getDefaultExportFromCjs, av as getContentTypesFromXml, aw as xmljs } from "./converter-B4cSUeWQ.js";
2
2
  function commonjsRequire(path) {
3
3
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -12,9 +12,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
12
12
  var _Attribute_static, getGlobalAttributes_fn, getNodeAndMarksAttributes_fn, _Schema_static, createNodesSchema_fn, createMarksSchema_fn, _events, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _editor, _stateValidators, _requiredNodeTypes, _requiredMarkTypes, _SuperValidator_instances, initializeValidators_fn, collectValidatorRequirements_fn, analyzeDocument_fn, _commandService, _Editor_instances, initContainerElement_fn, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, insertNewFileData_fn, registerPluginByNameIfNotExists_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_fn, createSchema_fn, generatePmData_fn, createDocFromHTML_fn, createView_fn, onCollaborationReady_fn, initComments_fn, dispatchTransaction_fn, handleNodeSelection_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, validateDocumentInit_fn, _ListItemNodeView_instances, init_fn2, _FieldAnnotationView_instances, createAnnotation_fn, _AutoPageNumberNodeView_instances, renderDom_fn, scheduleUpdateNodeStyle_fn, _DocumentSectionView_instances, init_fn3, addToolTip_fn;
13
13
  import * as Y from "yjs";
14
14
  import { UndoManager, Item as Item$1, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
15
- import { P as PluginKey, a as Plugin, M as Mapping, c as callOrGet, g as getExtensionConfigField, b as getMarkType, d as getMarksFromSelection, e as getNodeType, f as getSchemaTypeNameByName, S as Schema$1, h as cleanSchemaItem, T as TextSelection, N as NodeSelection, i as canSplit, j as defaultBlockAt$1, l as liftTarget, A as AllSelection, k as canJoin, m as joinPoint, n as Selection, r as replaceStep$1, F as Fragment, R as ReplaceAroundStep$1, o as Slice, p as isTextSelection, q as getMarkRange, s as isMarkActive, t as isNodeActive, u as deleteProps, D as DOMParser$1, v as ReplaceStep, w as NodeRange, x as findWrapping, y as findParentNode, L as ListHelpers, z as isMacOS, B as isIOS, C as DOMSerializer, E as Mark$1, G as dropPoint, H as process$1, I as Buffer2, J as getSchemaTypeByName, K as inputRulesPlugin, O as TrackDeleteMarkName, Q as TrackInsertMarkName, U as v4, V as TrackFormatMarkName, W as comments_module_events, X as findMark, Y as objectIncludes, Z as AddMarkStep, _ as RemoveMarkStep, $ as twipsToLines, a0 as pixelsToTwips, a1 as helpers, a2 as posToDOMRect, a3 as CommandService, a4 as SuperConverter, a5 as createDocument, a6 as EditorState, a7 as hasSomeParentWithClass, a8 as isActive, a9 as unflattenListsInHtml, aa as parseSizeUnit, ab as minMax, ac as getLineHeightValueString, ad as InputRule, ae as kebabCase, af as getListItemStyleDefinitions, ag as docxNumberigHelpers, ah as parseIndentElement, ai as combineIndents, aj as StepMap, ak as getColStyleDeclaration, al as SelectionRange, am as Transform, an as findParentNodeClosestToPos, ao as isInTable$1, ap as createColGroup, aq as generateDocxRandomId, ar as SectionHelpers, as as htmlHandler } from "./converter-DjbNejMd.js";
15
+ import { P as PluginKey, a as Plugin, M as Mapping, c as callOrGet, g as getExtensionConfigField, b as getMarkType, d as getMarksFromSelection, e as getNodeType, f as getSchemaTypeNameByName, S as Schema$1, h as cleanSchemaItem, T as TextSelection, N as NodeSelection, i as canSplit, j as defaultBlockAt$1, l as liftTarget, A as AllSelection, k as canJoin, m as joinPoint, n as Selection, r as replaceStep$1, F as Fragment, R as ReplaceAroundStep$1, o as Slice, p as isTextSelection, q as getMarkRange, s as isMarkActive, t as isNodeActive, u as deleteProps, D as DOMParser$1, v as ReplaceStep, w as NodeRange, x as findWrapping, y as findParentNode, L as ListHelpers, z as isMacOS, B as isIOS, C as DOMSerializer, E as Mark$1, G as dropPoint, H as process$1, I as Buffer2, J as getSchemaTypeByName, K as inputRulesPlugin, O as TrackDeleteMarkName, Q as TrackInsertMarkName, U as v4, V as TrackFormatMarkName, W as comments_module_events, X as findMark, Y as objectIncludes, Z as AddMarkStep, _ as RemoveMarkStep, $ as twipsToLines, a0 as pixelsToTwips, a1 as helpers, a2 as posToDOMRect, a3 as CommandService, a4 as SuperConverter, a5 as createDocument, a6 as EditorState, a7 as hasSomeParentWithClass, a8 as isActive, a9 as unflattenListsInHtml, aa as parseSizeUnit, ab as minMax, ac as getLineHeightValueString, ad as InputRule, ae as kebabCase, af as getListItemStyleDefinitions, ag as docxNumberigHelpers, ah as parseIndentElement, ai as combineIndents, aj as StepMap, ak as getColStyleDeclaration, al as SelectionRange, am as Transform, an as findParentNodeClosestToPos, ao as isInTable$1, ap as createColGroup, aq as generateDocxRandomId, ar as SectionHelpers, as as htmlHandler } from "./converter-B4cSUeWQ.js";
16
16
  import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
17
- import { D as DocxZipper } from "./docx-zipper-DiVyi_2u.js";
17
+ import { D as DocxZipper } from "./docx-zipper-QgbFVQ-d.js";
18
18
  var GOOD_LEAF_SIZE = 200;
19
19
  var RopeSequence = function RopeSequence2() {
20
20
  };
@@ -13856,7 +13856,7 @@ const _Editor = class _Editor extends EventEmitter {
13856
13856
  * @returns {Object | void} Migration results
13857
13857
  */
13858
13858
  processCollaborationMigrations() {
13859
- console.debug("[checkVersionMigrations] Current editor version", "0.15.14");
13859
+ console.debug("[checkVersionMigrations] Current editor version", "0.15.15-next.1");
13860
13860
  if (!this.options.ydoc) return;
13861
13861
  const metaMap = this.options.ydoc.getMap("meta");
13862
13862
  let docVersion = metaMap.get("version");
@@ -1,6 +1,6 @@
1
1
  import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
2
- import { H as process$1 } from "./converter-DjbNejMd.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-gZEs66bj.js";
2
+ import { H as process$1 } from "./converter-B4cSUeWQ.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-BVBFTBRE.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -1 +1 @@
1
- {"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- import { a4 } from "./chunks/converter-DjbNejMd.js";
1
+ import { a4 } from "./chunks/converter-B4cSUeWQ.js";
2
2
  export {
3
3
  a4 as SuperConverter
4
4
  };
@@ -15,14 +15,14 @@ export class Attribute {
15
15
  * @param defaultAttribute Default attribute.
16
16
  * @returns Global extension attributes.
17
17
  */
18
- static #getGlobalAttributes(extensions: any, defaultAttribute: any): any[];
18
+ static "__#6@#getGlobalAttributes"(extensions: any, defaultAttribute: any): any[];
19
19
  /**
20
20
  * Get a list of attributes defined in the Node and Mark extensions.
21
21
  * @param extensions List of all extensions.
22
22
  * @param defaultAttribute Default attribute.
23
23
  * @returns Node and Mark extension attributes.
24
24
  */
25
- static #getNodeAndMarksAttributes(extensions: any, defaultAttribute: any): {
25
+ static "__#6@#getNodeAndMarksAttributes"(extensions: any, defaultAttribute: any): {
26
26
  type: any;
27
27
  name: string;
28
28
  attribute: any;
@@ -1 +1 @@
1
- {"version":3,"file":"Attribute.d.ts","sourceRoot":"","sources":["../../src/core/Attribute.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH;IACE;;;;OAIG;IACH,2DAiBC;IAED;;;;;OAKG;IACH,2EAsCC;IAED;;;;;OAKG;IACH;;;;QAuCC;IAED;;;;OAIG;IACH,iFAqCC;IAED;;;;OAIG;IACH,uEAgBC;IAED;;;;OAIG;IACH,8CAgCC;IAED;;;;;;OAMG;IACH;;MAYC;IAED;;;;;OAKG;IACH,2DASC;IAED;;;;;OAKG;IACH,2DAcC;IAED;;;;;OAKG;IACH,uDAeC;CACF"}
1
+ {"version":3,"file":"Attribute.d.ts","sourceRoot":"","sources":["../../src/core/Attribute.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH;IACE;;;;OAIG;IACH,2DAiBC;IAED;;;;;OAKG;IACH,kFAsCC;IAED;;;;;OAKG;IACH;;;;QAuCC;IAED;;;;OAIG;IACH,iFAqCC;IAED;;;;OAIG;IACH,uEAgBC;IAED;;;;OAIG;IACH,8CAgCC;IAED;;;;;;OAMG;IACH;;MAYC;IAED;;;;;OAKG;IACH,2DASC;IAED;;;;;OAKG;IACH,2DAcC;IAED;;;;;OAKG;IACH,uDAeC;CACF"}
@@ -16,7 +16,7 @@ export class Schema {
16
16
  * @param editor Editor instance.
17
17
  * @returns Nodes schema.
18
18
  */
19
- static #createNodesSchema(nodeExtensions: any, attributes: any, editor: any): {
19
+ static "__#7@#createNodesSchema"(nodeExtensions: any, attributes: any, editor: any): {
20
20
  [k: string]: any;
21
21
  };
22
22
  /**
@@ -26,7 +26,7 @@ export class Schema {
26
26
  * @param editor Editor instance.
27
27
  * @returns Marks schema.
28
28
  */
29
- static #createMarksSchema(markExtensions: any, attributes: any, editor: any): {
29
+ static "__#7@#createMarksSchema"(markExtensions: any, attributes: any, editor: any): {
30
30
  [k: string]: any;
31
31
  };
32
32
  }