@harbour-enterprises/superdoc 0.6.49 → 0.6.50

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 (28) hide show
  1. package/dist/chunks/{super-editor.es-Bm7YQazA.js → super-editor.es-CMksKyKH.js} +4 -4
  2. package/dist/chunks/{super-editor.es-Bm7YQazA.js.map → super-editor.es-CMksKyKH.js.map} +1 -1
  3. package/dist/super-editor/chunks/{converter-BsIAdIaf.js → converter-DPeaU-x1.js} +3 -3
  4. package/dist/super-editor/chunks/{converter-BsIAdIaf.js.map → converter-DPeaU-x1.js.map} +1 -1
  5. package/dist/super-editor/chunks/{docx-zipper-6rAXKHsG.js → docx-zipper-Ddxnfbm3.js} +2 -2
  6. package/dist/super-editor/chunks/{docx-zipper-6rAXKHsG.js.map → docx-zipper-Ddxnfbm3.js.map} +1 -1
  7. package/dist/super-editor/chunks/{editor-CvUCvpoy.js → editor-NzVX9xKJ.js} +4 -4
  8. package/dist/super-editor/chunks/editor-NzVX9xKJ.js.map +1 -0
  9. package/dist/super-editor/chunks/{toolbar-CgGcGvkD.js → toolbar-CK0KeWx0.js} +3 -3
  10. package/dist/super-editor/chunks/{toolbar-CgGcGvkD.js.map → toolbar-CK0KeWx0.js.map} +1 -1
  11. package/dist/super-editor/converter.es.js +1 -1
  12. package/dist/super-editor/docx-zipper.es.js +2 -2
  13. package/dist/super-editor/editor.es.js +3 -3
  14. package/dist/super-editor/file-zipper.es.js +1 -1
  15. package/dist/super-editor/super-editor.es.js +6 -6
  16. package/dist/super-editor/tests/e2e/pagination.spec.d.ts +2 -0
  17. package/dist/super-editor/tests/e2e/pagination.spec.d.ts.map +1 -0
  18. package/dist/super-editor/tests/e2e/test-app/src/main.d.ts +2 -0
  19. package/dist/super-editor/tests/e2e/test-app/src/main.d.ts.map +1 -0
  20. package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +3 -0
  21. package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts.map +1 -0
  22. package/dist/super-editor/toolbar.es.js +2 -2
  23. package/dist/super-editor.es.js +1 -1
  24. package/dist/superdoc.es.js +3 -3
  25. package/dist/superdoc.umd.js +4 -4
  26. package/dist/superdoc.umd.js.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/super-editor/chunks/editor-CvUCvpoy.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { B } from "./chunks/converter-BsIAdIaf.js";
1
+ import { B } from "./chunks/converter-DPeaU-x1.js";
2
2
  export {
3
3
  B as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-BsIAdIaf.js";
2
- import { D } from "./chunks/docx-zipper-6rAXKHsG.js";
1
+ import "./chunks/converter-DPeaU-x1.js";
2
+ import { D } from "./chunks/docx-zipper-Ddxnfbm3.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-CvUCvpoy.js";
2
- import "./chunks/converter-BsIAdIaf.js";
3
- import "./chunks/docx-zipper-6rAXKHsG.js";
1
+ import { E } from "./chunks/editor-NzVX9xKJ.js";
2
+ import "./chunks/converter-DPeaU-x1.js";
3
+ import "./chunks/docx-zipper-Ddxnfbm3.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-6rAXKHsG.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-Ddxnfbm3.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -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-CvUCvpoy.js";
13
- import { k, m, j, l } from "./chunks/editor-CvUCvpoy.js";
14
- import { L as getDefaultExportFromCjs, v as v4, T as TextSelection, Q as vClickOutside } from "./chunks/converter-BsIAdIaf.js";
15
- import { B } from "./chunks/converter-BsIAdIaf.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-NzVX9xKJ.js";
13
+ import { k, m, j, l } from "./chunks/editor-NzVX9xKJ.js";
14
+ import { L as getDefaultExportFromCjs, v as v4, T as TextSelection, Q as vClickOutside } from "./chunks/converter-DPeaU-x1.js";
15
+ import { B } from "./chunks/converter-DPeaU-x1.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-CgGcGvkD.js";
18
- import { D } from "./chunks/docx-zipper-6rAXKHsG.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-CK0KeWx0.js";
18
+ import { D } from "./chunks/docx-zipper-Ddxnfbm3.js";
19
19
  import { createZip } from "./file-zipper.es.js";
20
20
  var eventemitter3 = { exports: {} };
21
21
  (function(module) {
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pagination.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination.spec.d.ts","sourceRoot":"","sources":["../../../src/tests/e2e/pagination.spec.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=main.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../../src/tests/e2e/test-app/src/main.js"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vite").UserConfig & Promise<import("vite").UserConfig> & (import("vite").UserConfigFnObject & import("vite").UserConfigExport);
2
+ export default _default;
3
+ //# sourceMappingURL=vite.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../../../../src/tests/e2e/test-app/vite.config.js"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-CgGcGvkD.js";
3
- import "./chunks/editor-CvUCvpoy.js";
2
+ import { T } from "./chunks/toolbar-CK0KeWx0.js";
3
+ import "./chunks/editor-NzVX9xKJ.js";
4
4
  export {
5
5
  T as default
6
6
  };
@@ -1,4 +1,4 @@
1
- import { _, D, E, S, a, b, c, T, d, i, g, e, f, h, j, k, l } from "./chunks/super-editor.es-Bm7YQazA.js";
1
+ import { _, D, E, S, a, b, c, T, d, i, g, e, f, h, j, k, l } from "./chunks/super-editor.es-CMksKyKH.js";
2
2
  import "./chunks/vue-CUQGd1xF.js";
3
3
  export {
4
4
  _ as BasicUpload,
@@ -1,5 +1,5 @@
1
- import { E as Editor, h as getRichTextExtensions, b as SuperInput, a as SuperEditor, c as SuperToolbar, d as createZip } from "./chunks/super-editor.es-Bm7YQazA.js";
2
- import { S, i, k, l } from "./chunks/super-editor.es-Bm7YQazA.js";
1
+ import { E as Editor, h as getRichTextExtensions, b as SuperInput, a as SuperEditor, c as SuperToolbar, d as createZip } from "./chunks/super-editor.es-CMksKyKH.js";
2
+ import { S, i, k, l } from "./chunks/super-editor.es-CMksKyKH.js";
3
3
  import { Y as effectScope, r as ref, Z as markRaw, p as process$1, _ as toRaw, a as computed, $ as isRef, a0 as isReactive, B as toRef, i as inject, l as getCurrentInstance, j as watch, v as unref, a1 as hasInjectionContext, L as reactive, R as nextTick, a2 as getCurrentScope, a3 as onScopeDispose, a4 as toRefs, g as global$1, N as shallowRef, M as readonly, f as onMounted, h as onBeforeUnmount, e as onBeforeMount, U as onActivated, m as onDeactivated, y as createTextVNode, F as Fragment, Q as Comment, k as defineComponent, C as provide, G as withDirectives, A as h, V as Teleport, S as renderSlot, W as isVNode, K as watchEffect, O as Transition, D as mergeProps, P as vShow, J as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, u as createVNode, x as withCtx, E as createBaseVNode, z as normalizeStyle, s as createCommentVNode, q as createBlock, w as withModifiers, n as normalizeClass, a5 as resolveDirective, d as renderList, c as createApp, a6 as resolveDynamicComponent } from "./chunks/vue-CUQGd1xF.js";
4
4
  import { B as Buffer$2 } from "./chunks/jszip-DlHbx6j5.js";
5
5
  import { b } from "./chunks/blank-docx-BagxM198.js";
@@ -45539,7 +45539,7 @@ class SuperDoc extends EventEmitter {
45539
45539
  this.config.colors = shuffleArray(this.config.colors);
45540
45540
  this.userColorMap = /* @__PURE__ */ new Map();
45541
45541
  this.colorIndex = 0;
45542
- this.version = "0.6.49";
45542
+ this.version = "0.6.50";
45543
45543
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
45544
45544
  this.superdocId = config.superdocId || v4();
45545
45545
  this.colors = this.config.colors;
@@ -27907,7 +27907,7 @@
27907
27907
  return;
27908
27908
  }
27909
27909
  }
27910
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.49") {
27910
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.50") {
27911
27911
  const customLocation = "docProps/custom.xml";
27912
27912
  if (!docx[customLocation]) {
27913
27913
  docx[customLocation] = generateCustomXml();
@@ -28165,7 +28165,7 @@
28165
28165
  function generateCustomXml() {
28166
28166
  return DEFAULT_CUSTOM_XML;
28167
28167
  }
28168
- function generateSuperdocVersion(version2 = "0.6.49") {
28168
+ function generateSuperdocVersion(version2 = "0.6.50") {
28169
28169
  return {
28170
28170
  type: "element",
28171
28171
  name: "property",
@@ -42196,7 +42196,7 @@
42196
42196
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
42197
42197
  */
42198
42198
  processCollaborationMigrations() {
42199
- console.debug("[checkVersionMigrations] Current editor version", "0.6.49");
42199
+ console.debug("[checkVersionMigrations] Current editor version", "0.6.50");
42200
42200
  if (!this.options.ydoc) return;
42201
42201
  const metaMap = this.options.ydoc.getMap("meta");
42202
42202
  let docVersion = metaMap.get("version");
@@ -110170,7 +110170,7 @@ ${style2}
110170
110170
  this.config.colors = shuffleArray(this.config.colors);
110171
110171
  this.userColorMap = /* @__PURE__ */ new Map();
110172
110172
  this.colorIndex = 0;
110173
- this.version = "0.6.49";
110173
+ this.version = "0.6.50";
110174
110174
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
110175
110175
  this.superdocId = config.superdocId || v4();
110176
110176
  this.colors = this.config.colors;