@harbour-enterprises/superdoc 0.6.32 → 0.6.33

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.
@@ -1,4 +1,4 @@
1
- import { B } from "./chunks/converter-D9ZxuNBg.js";
1
+ import { B } from "./chunks/converter-By1eH3DG.js";
2
2
  export {
3
3
  B as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-D9ZxuNBg.js";
2
- import { D } from "./chunks/docx-zipper-DRzc1s1g.js";
1
+ import "./chunks/converter-By1eH3DG.js";
2
+ import { D } from "./chunks/docx-zipper-lMZAQDHY.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-CCoN68Le.js";
2
- import "./chunks/converter-D9ZxuNBg.js";
3
- import "./chunks/docx-zipper-DRzc1s1g.js";
1
+ import { E } from "./chunks/editor-D23LMnhw.js";
2
+ import "./chunks/converter-By1eH3DG.js";
3
+ import "./chunks/docx-zipper-lMZAQDHY.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-DRzc1s1g.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-lMZAQDHY.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -1103,7 +1103,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1103
1103
  user-select: none;
1104
1104
  }
1105
1105
 
1106
- .super-editor-container[data-v-763b7d81] {
1106
+ .super-editor-container[data-v-afb40ff1] {
1107
1107
  width: auto;
1108
1108
  height: auto;
1109
1109
  min-width: 8in;
@@ -1112,13 +1112,13 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1112
1112
  display: flex;
1113
1113
  flex-direction: column;
1114
1114
  }
1115
- .ruler[data-v-763b7d81] {
1115
+ .ruler[data-v-afb40ff1] {
1116
1116
  margin-bottom: 2px;
1117
1117
  }
1118
- .super-editor[data-v-763b7d81] {
1118
+ .super-editor[data-v-afb40ff1] {
1119
1119
  color: initial;
1120
1120
  }
1121
- .placeholder-editor[data-v-763b7d81] {
1121
+ .placeholder-editor[data-v-afb40ff1] {
1122
1122
  position: absolute;
1123
1123
  top: 0;
1124
1124
  left: 0;
@@ -1130,7 +1130,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1130
1130
  background-color: white;
1131
1131
  box-sizing: border-box;
1132
1132
  }
1133
- .placeholder-title[data-v-763b7d81] {
1133
+ .placeholder-title[data-v-afb40ff1] {
1134
1134
  display: flex;
1135
1135
  justify-content: center;
1136
1136
  margin-bottom: 40px;
@@ -9,13 +9,13 @@ 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 _interceptedCommands, _SuperToolbar_instances, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, runCommandWithArgumentOnly_fn;
12
- import { _ as _export_sfc, a as getQuickFormatList, b as generateLinkedStyleString, I as ImagePlaceholderPluginKey, f as findPlaceholder, c as findParentNode, d as getActiveFormatting, i as isInTable, u as undoDepth, r as redoDepth, E as Editor, e as getStarterExtensions, P as Placeholder, h as getRichTextExtensions } from "./chunks/editor-CCoN68Le.js";
13
- import { k, m, j, l } from "./chunks/editor-CCoN68Le.js";
14
- import { L as getDefaultExportFromCjs, v as v4, T as TextSelection, Q as vClickOutside } from "./chunks/converter-D9ZxuNBg.js";
15
- import { B } from "./chunks/converter-D9ZxuNBg.js";
12
+ import { _ as _export_sfc, a as getQuickFormatList, b as generateLinkedStyleString, I as ImagePlaceholderPluginKey, f as findPlaceholder, c as findParentNode, d as getActiveFormatting, i as isInTable, u as undoDepth, r as redoDepth, E as Editor, e as getStarterExtensions, P as Placeholder, h as getRichTextExtensions } from "./chunks/editor-D23LMnhw.js";
13
+ import { k, m, j, l } from "./chunks/editor-D23LMnhw.js";
14
+ import { L as getDefaultExportFromCjs, v as v4, T as TextSelection, Q as vClickOutside } from "./chunks/converter-By1eH3DG.js";
15
+ import { B } from "./chunks/converter-By1eH3DG.js";
16
16
  import { ref, createElementBlock, openBlock, createElementVNode, unref, getCurrentInstance, computed, watch, onMounted, createCommentVNode, withDirectives, withKeys, normalizeClass, withModifiers, vModelText, createTextVNode, toDisplayString, Fragment, renderList, normalizeStyle, createVNode, h, createApp, reactive, onUnmounted, shallowRef, onBeforeUnmount, createBlock } from "vue";
17
- import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-y26xCCwj.js";
18
- import { D } from "./chunks/docx-zipper-DRzc1s1g.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-BUKIGyoE.js";
18
+ import { D } from "./chunks/docx-zipper-lMZAQDHY.js";
19
19
  import { createZip } from "./file-zipper.es.js";
20
20
  var eventemitter3 = { exports: {} };
21
21
  (function(module) {
@@ -2456,10 +2456,11 @@ const _sfc_main$2 = {
2456
2456
  delete props.options.content;
2457
2457
  const ydoc = props.options.ydoc;
2458
2458
  const provider = props.options.collaborationProvider;
2459
- provider.on("synced", () => {
2459
+ const handleSynced = () => {
2460
2460
  pollForMetaMapData(ydoc);
2461
- provider.off("synced");
2462
- });
2461
+ provider.off("synced", handleSynced);
2462
+ };
2463
+ provider.on("synced", handleSynced);
2463
2464
  }
2464
2465
  };
2465
2466
  const getExtensions = () => {
@@ -2596,7 +2597,7 @@ const _sfc_main$2 = {
2596
2597
  };
2597
2598
  }
2598
2599
  };
2599
- const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-763b7d81"]]);
2600
+ const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-afb40ff1"]]);
2600
2601
  const _sfc_main$1 = {
2601
2602
  __name: "BasicUpload",
2602
2603
  emits: ["file-change"],