@harbour-enterprises/superdoc 0.14.8 → 0.14.9

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/{index-CtKTO471.es.js → index-BMwK7kM5.es.js} +2 -2
  2. package/dist/chunks/{index-NNBaoa7m.cjs → index-CZuIe8A3.cjs} +1 -1
  3. package/dist/chunks/{index-CtmwketW.es.js → index-MJ-5Yknb.es.js} +1 -1
  4. package/dist/chunks/{index-BYM9Q-5k.cjs → index-Oz4X1zyg.cjs} +2 -2
  5. package/dist/chunks/{super-editor.es-BUbNChvd.cjs → super-editor.es-CRo90k3Y.cjs} +5 -7
  6. package/dist/chunks/{super-editor.es-SXvNq7qg.es.js → super-editor.es-Chr_NZUl.es.js} +5 -7
  7. package/dist/chunks/{url-CHbZrfPf.cjs → url-CRVat8D5.cjs} +1 -1
  8. package/dist/chunks/{url-CGuSEi6H.es.js → url-Cqg2Hljl.es.js} +1 -1
  9. package/dist/chunks/{xml-js-pilYeQmG.es.js → xml-js-D78KIQHL.es.js} +100 -79
  10. package/dist/chunks/{xml-js-BjZxwY3_.cjs → xml-js-t28wMlyv.cjs} +100 -79
  11. package/dist/super-editor/ai-writer.es.js +2 -2
  12. package/dist/super-editor/chunks/{converter-hnzQa3YL.js → converter-B5dGyUBl.js} +2 -2
  13. package/dist/super-editor/chunks/{docx-zipper-Ct-yYu_0.js → docx-zipper-DpKkn-tn.js} +1 -1
  14. package/dist/super-editor/chunks/{editor-DHCfw72L.js → editor-DCx_vuYP.js} +5 -7
  15. package/dist/super-editor/chunks/{toolbar-CkBIERNT.js → toolbar-CDzVNwBH.js} +2 -2
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/core/migrations/0.14-listsv2/listsv2migration.d.ts.map +1 -1
  18. package/dist/super-editor/docx-zipper.es.js +2 -2
  19. package/dist/super-editor/editor.es.js +3 -3
  20. package/dist/super-editor/file-zipper.es.js +1 -1
  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 +5 -5
  26. package/dist/superdoc.es.js +6 -6
  27. package/dist/superdoc.umd.js +6 -8
  28. package/dist/superdoc.umd.js.map +1 -1
  29. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { H as process$1, aq as commonjsGlobal, I as Buffer, ar as getDefaultExportFromCjs, as as getContentTypesFromXml, at as xmljs } from "./converter-hnzQa3YL.js";
1
+ import { H as process$1, aq as commonjsGlobal, I as Buffer, ar as getDefaultExportFromCjs, as as getContentTypesFromXml, at as xmljs } from "./converter-B5dGyUBl.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, _commandService, _css, _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, _ListItemNodeView_instances, init_fn2, _FieldAnnotationView_instances, createAnnotation_fn, _AutoPageNumberNodeView_instances, renderDom_fn, scheduleUpdateNodeStyle_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, i as canSplit, l as liftTarget, A as AllSelection, j as canJoin, k as joinPoint, N as NodeSelection, m as Selection, r as replaceStep$1, F as Fragment, R as ReplaceAroundStep$1, n as Slice, o as defaultBlockAt$1, 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 findParentNodeClosestToPos, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as EditorState, a8 as hasSomeParentWithClass, a9 as isActive, aa as parseSizeUnit, ab as minMax, ac as getLineHeightValueString, ad as InputRule, ae as kebabCase, af as generateOrderedListIndex, ag as getListItemStyleDefinitions, ah as docxNumberigHelpers, ai as parseIndentElement, aj as combineIndents, ak as getColStyleDeclaration, al as SelectionRange, am as Transform, an as isInTable$1, ao as createColGroup, ap as generateDocxRandomId } from "./converter-hnzQa3YL.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, i as canSplit, l as liftTarget, A as AllSelection, j as canJoin, k as joinPoint, N as NodeSelection, m as Selection, r as replaceStep$1, F as Fragment, R as ReplaceAroundStep$1, n as Slice, o as defaultBlockAt$1, 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 findParentNodeClosestToPos, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as EditorState, a8 as hasSomeParentWithClass, a9 as isActive, aa as parseSizeUnit, ab as minMax, ac as getLineHeightValueString, ad as InputRule, ae as kebabCase, af as generateOrderedListIndex, ag as getListItemStyleDefinitions, ah as docxNumberigHelpers, ai as parseIndentElement, aj as combineIndents, ak as getColStyleDeclaration, al as SelectionRange, am as Transform, an as isInTable$1, ao as createColGroup, ap as generateDocxRandomId } from "./converter-B5dGyUBl.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-Ct-yYu_0.js";
17
+ import { D as DocxZipper } from "./docx-zipper-DpKkn-tn.js";
18
18
  var GOOD_LEAF_SIZE = 200;
19
19
  var RopeSequence = function RopeSequence2() {
20
20
  };
@@ -12761,11 +12761,9 @@ const migrateParagraphFieldsListsV2 = async (annotationValues = [], editor) => {
12761
12761
  const value = matchedAnnotation?.input_value;
12762
12762
  if (!value) continue;
12763
12763
  await new Promise((resolve, reject) => {
12764
- const mockDocument = editor.options.mockDocument;
12765
- const element = mockDocument.createElement("div");
12766
- element.id = `child-editor-${Date.now()}-${Math.random()}`;
12764
+ const element = document.createElement("div");
12767
12765
  editor.createChildEditor({
12768
- element: { mount: element },
12766
+ element,
12769
12767
  html: value,
12770
12768
  onCreate: ({ editor: localEditor }) => {
12771
12769
  const { migrated } = localEditor.options;
@@ -13607,7 +13605,7 @@ const _Editor = class _Editor extends EventEmitter {
13607
13605
  * @returns {Object | void} Migration results
13608
13606
  */
13609
13607
  processCollaborationMigrations() {
13610
- console.debug("[checkVersionMigrations] Current editor version", "0.14.8");
13608
+ console.debug("[checkVersionMigrations] Current editor version", "0.14.9");
13611
13609
  if (!this.options.ydoc) return;
13612
13610
  const metaMap = this.options.ydoc.getMap("meta");
13613
13611
  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-hnzQa3YL.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DHCfw72L.js";
2
+ import { H as process$1 } from "./converter-B5dGyUBl.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DCx_vuYP.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -1,4 +1,4 @@
1
- import { a5 } from "./chunks/converter-hnzQa3YL.js";
1
+ import { a5 } from "./chunks/converter-B5dGyUBl.js";
2
2
  export {
3
3
  a5 as SuperConverter
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"listsv2migration.d.ts","sourceRoot":"","sources":["../../../../src/core/migrations/0.14-listsv2/listsv2migration.js"],"names":[],"mappings":"AAkBO,oDANI,MAAM,OAyEhB;AA0MM,qFAHO,OAAO,OAAO,CAiD3B"}
1
+ {"version":3,"file":"listsv2migration.d.ts","sourceRoot":"","sources":["../../../../src/core/migrations/0.14-listsv2/listsv2migration.js"],"names":[],"mappings":"AAkBO,oDANI,MAAM,OAyEhB;AA0MM,qFAHO,OAAO,OAAO,CA6C3B"}
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-hnzQa3YL.js";
2
- import { D } from "./chunks/docx-zipper-Ct-yYu_0.js";
1
+ import "./chunks/converter-B5dGyUBl.js";
2
+ import { D } from "./chunks/docx-zipper-DpKkn-tn.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-DHCfw72L.js";
2
- import "./chunks/converter-hnzQa3YL.js";
3
- import "./chunks/docx-zipper-Ct-yYu_0.js";
1
+ import { E } from "./chunks/editor-DCx_vuYP.js";
2
+ import "./chunks/converter-B5dGyUBl.js";
3
+ import "./chunks/docx-zipper-DpKkn-tn.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-Ct-yYu_0.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-DpKkn-tn.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
9
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
10
10
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
11
11
  var _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, runCommandWithArgumentOnly_fn;
12
- import { ar as getDefaultExportFromCjs, U as v4, T as TextSelection$1, q as getMarkRange, au as vClickOutside, y as findParentNode, av as getActiveFormatting, an as isInTable, aw as readFromClipboard, ax as handleClipboardPaste, a as Plugin } from "./chunks/converter-hnzQa3YL.js";
13
- import { a5, d, a2 } from "./chunks/converter-hnzQa3YL.js";
14
- import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, s as startImageUpload, d as undoDepth, r as redoDepth, S as SlashMenuPluginKey, E as Editor, e as getStarterExtensions, P as Placeholder, f as getRichTextExtensions, M as Mark, h as Extension, A as Attribute, N as Node } from "./chunks/editor-DHCfw72L.js";
15
- import { k, C, T, i, l, j } from "./chunks/editor-DHCfw72L.js";
12
+ import { ar as getDefaultExportFromCjs, U as v4, T as TextSelection$1, q as getMarkRange, au as vClickOutside, y as findParentNode, av as getActiveFormatting, an as isInTable, aw as readFromClipboard, ax as handleClipboardPaste, a as Plugin } from "./chunks/converter-B5dGyUBl.js";
13
+ import { a5, d, a2 } from "./chunks/converter-B5dGyUBl.js";
14
+ import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, s as startImageUpload, d as undoDepth, r as redoDepth, S as SlashMenuPluginKey, E as Editor, e as getStarterExtensions, P as Placeholder, f as getRichTextExtensions, M as Mark, h as Extension, A as Attribute, N as Node } from "./chunks/editor-DCx_vuYP.js";
15
+ import { k, C, T, i, l, j } from "./chunks/editor-DCx_vuYP.js";
16
16
  import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
17
- import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, l as linkIconSvg, a as tableIconSvg, b as scissorsIconSvg, c as copyIconSvg, p as pasteIconSvg, N as NSkeleton } from "./chunks/toolbar-CkBIERNT.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, l as linkIconSvg, a as tableIconSvg, b as scissorsIconSvg, c as copyIconSvg, p as pasteIconSvg, N as NSkeleton } from "./chunks/toolbar-CDzVNwBH.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-Ct-yYu_0.js";
19
+ import { D } from "./chunks/docx-zipper-DpKkn-tn.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  (function(module) {
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-CkBIERNT.js";
3
- import "./chunks/editor-DHCfw72L.js";
2
+ import { T } from "./chunks/toolbar-CDzVNwBH.js";
3
+ import "./chunks/editor-DCx_vuYP.js";
4
4
  export {
5
5
  T as default
6
6
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-BUbNChvd.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-CRo90k3Y.cjs");
4
4
  require("./chunks/vue-tQYF719J.cjs");
5
5
  exports.AIWriter = superEditor_es.AIWriter;
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
@@ -1,4 +1,4 @@
1
- import { A, a, _, C, D, E, b, c, S, d, e, f, T, g, h, i, j, k, l, m, n, o, p } from "./chunks/super-editor.es-SXvNq7qg.es.js";
1
+ import { A, a, _, C, D, E, b, c, S, d, e, f, T, g, h, i, j, k, l, m, n, o, p } from "./chunks/super-editor.es-Chr_NZUl.es.js";
2
2
  import "./chunks/vue-lU0o_RlU.es.js";
3
3
  export {
4
4
  A as AIWriter,
package/dist/superdoc.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-BUbNChvd.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-CRo90k3Y.cjs");
4
4
  const vue = require("./chunks/vue-tQYF719J.cjs");
5
5
  const jszip = require("./chunks/jszip-D5XoMX4C.cjs");
6
6
  const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
@@ -24406,13 +24406,13 @@ var __webpack_exports__$1 = globalThis.pdfjsLib = {};
24406
24406
  "./chunks/empty-lth7LH78.cjs"
24407
24407
  )), http = await Promise.resolve().then(() => require(
24408
24408
  /*webpackIgnore: true*/
24409
- "./chunks/index-BYM9Q-5k.cjs"
24409
+ "./chunks/index-Oz4X1zyg.cjs"
24410
24410
  )).then((n) => n.index), https = await Promise.resolve().then(() => require(
24411
24411
  /*webpackIgnore: true*/
24412
- "./chunks/index-NNBaoa7m.cjs"
24412
+ "./chunks/index-CZuIe8A3.cjs"
24413
24413
  )).then((n) => n.index), url = await Promise.resolve().then(() => require(
24414
24414
  /*webpackIgnore: true*/
24415
- "./chunks/url-CHbZrfPf.cjs"
24415
+ "./chunks/url-CRVat8D5.cjs"
24416
24416
  )).then((n) => n.url);
24417
24417
  let canvas, path2d;
24418
24418
  try {
@@ -47815,7 +47815,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
47815
47815
  this.config.colors = shuffleArray(this.config.colors);
47816
47816
  this.userColorMap = /* @__PURE__ */ new Map();
47817
47817
  this.colorIndex = 0;
47818
- this.version = "0.14.8";
47818
+ this.version = "0.14.9";
47819
47819
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
47820
47820
  this.superdocId = config.superdocId || uuid.v4();
47821
47821
  this.colors = this.config.colors;
@@ -1,5 +1,5 @@
1
- import { p as index$1, C as CommentsPluginKey, g as TrackChangesBasePluginKey, E as Editor, m as getRichTextExtensions, e as SuperInput, d as SuperEditor, A as AIWriter, f as SuperToolbar, h as createZip } from "./chunks/super-editor.es-SXvNq7qg.es.js";
2
- import { a, S, i, o } from "./chunks/super-editor.es-SXvNq7qg.es.js";
1
+ import { p as index$1, C as CommentsPluginKey, g as TrackChangesBasePluginKey, E as Editor, m as getRichTextExtensions, e as SuperInput, d as SuperEditor, A as AIWriter, f as SuperToolbar, h as createZip } from "./chunks/super-editor.es-Chr_NZUl.es.js";
2
+ import { a, S, i, o } from "./chunks/super-editor.es-Chr_NZUl.es.js";
3
3
  import { a0 as effectScope, r as ref, $ as markRaw, p as process$1, a1 as toRaw, a as computed, a2 as isRef, a3 as isReactive, D as toRef, i as inject, q as getCurrentInstance, l as watch, y as unref, a4 as hasInjectionContext, N as reactive, u as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, K as shallowRef, O as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, U as onActivated, s as onDeactivated, A as createTextVNode, F as Fragment, R as Comment, m as defineComponent, E as provide, I as withDirectives, C as h, V as Teleport, S as renderSlot, W as isVNode, J as watchEffect, P as Transition, G as mergeProps, Q as vShow, H as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, x as createVNode, z as withCtx, f as createBaseVNode, B as normalizeStyle, e as createCommentVNode, v as createBlock, w as withModifiers, n as normalizeClass, a8 as resolveDirective, d as renderList, c as createApp, X as onUnmounted, Y as resolveDynamicComponent } from "./chunks/vue-lU0o_RlU.es.js";
4
4
  import { B as Buffer$2 } from "./chunks/jszip-CYDYUNnI.es.js";
5
5
  import { B as BlankDOCX } from "./chunks/blank-docx-iwdyG9RH.es.js";
@@ -24389,13 +24389,13 @@ var __webpack_exports__$1 = globalThis.pdfjsLib = {};
24389
24389
  "./chunks/empty-smM22Y5N.es.js"
24390
24390
  ), http = await import(
24391
24391
  /*webpackIgnore: true*/
24392
- "./chunks/index-CtKTO471.es.js"
24392
+ "./chunks/index-BMwK7kM5.es.js"
24393
24393
  ).then((n) => n.i), https = await import(
24394
24394
  /*webpackIgnore: true*/
24395
- "./chunks/index-CtmwketW.es.js"
24395
+ "./chunks/index-MJ-5Yknb.es.js"
24396
24396
  ).then((n) => n.i), url = await import(
24397
24397
  /*webpackIgnore: true*/
24398
- "./chunks/url-CGuSEi6H.es.js"
24398
+ "./chunks/url-Cqg2Hljl.es.js"
24399
24399
  ).then((n) => n.u);
24400
24400
  let canvas, path2d;
24401
24401
  try {
@@ -47798,7 +47798,7 @@ class SuperDoc extends EventEmitter {
47798
47798
  this.config.colors = shuffleArray(this.config.colors);
47799
47799
  this.userColorMap = /* @__PURE__ */ new Map();
47800
47800
  this.colorIndex = 0;
47801
- this.version = "0.14.8";
47801
+ this.version = "0.14.9";
47802
47802
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
47803
47803
  this.superdocId = config.superdocId || v4();
47804
47804
  this.colors = this.config.colors;
@@ -33754,7 +33754,7 @@
33754
33754
  return;
33755
33755
  }
33756
33756
  }
33757
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.14.8") {
33757
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.14.9") {
33758
33758
  const customLocation = "docProps/custom.xml";
33759
33759
  if (!docx[customLocation]) {
33760
33760
  docx[customLocation] = generateCustomXml();
@@ -34230,7 +34230,7 @@
34230
34230
  function generateCustomXml() {
34231
34231
  return DEFAULT_CUSTOM_XML;
34232
34232
  }
34233
- function generateSuperdocVersion(pid = 2, version2 = "0.14.8") {
34233
+ function generateSuperdocVersion(pid = 2, version2 = "0.14.9") {
34234
34234
  return {
34235
34235
  type: "element",
34236
34236
  name: "property",
@@ -49501,11 +49501,9 @@
49501
49501
  const value = matchedAnnotation?.input_value;
49502
49502
  if (!value) continue;
49503
49503
  await new Promise((resolve2, reject) => {
49504
- const mockDocument = editor.options.mockDocument;
49505
- const element = mockDocument.createElement("div");
49506
- element.id = `child-editor-${Date.now()}-${Math.random()}`;
49504
+ const element = document.createElement("div");
49507
49505
  editor.createChildEditor({
49508
- element: { mount: element },
49506
+ element,
49509
49507
  html: value,
49510
49508
  onCreate: ({ editor: localEditor }) => {
49511
49509
  const { migrated } = localEditor.options;
@@ -50319,7 +50317,7 @@
50319
50317
  * @returns {Object | void} Migration results
50320
50318
  */
50321
50319
  processCollaborationMigrations() {
50322
- console.debug("[checkVersionMigrations] Current editor version", "0.14.8");
50320
+ console.debug("[checkVersionMigrations] Current editor version", "0.14.9");
50323
50321
  if (!this.options.ydoc) return;
50324
50322
  const metaMap = this.options.ydoc.getMap("meta");
50325
50323
  let docVersion = metaMap.get("version");
@@ -96079,7 +96077,7 @@ ${style2}
96079
96077
  this.config.colors = shuffleArray(this.config.colors);
96080
96078
  this.userColorMap = /* @__PURE__ */ new Map();
96081
96079
  this.colorIndex = 0;
96082
- this.version = "0.14.8";
96080
+ this.version = "0.14.9";
96083
96081
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
96084
96082
  this.superdocId = config.superdocId || v4();
96085
96083
  this.colors = this.config.colors;