@harbour-enterprises/superdoc 0.6.94 → 0.6.95

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 (42) hide show
  1. package/dist/chunks/{super-editor.es-rbnh638C.js → super-editor.es-hY_ddsVf.js} +4 -4
  2. package/dist/chunks/{super-editor.es-rbnh638C.js.map → super-editor.es-hY_ddsVf.js.map} +1 -1
  3. package/dist/images/altText_add.svg +3 -0
  4. package/dist/images/altText_done.svg +3 -0
  5. package/dist/images/annotation-check.svg +11 -0
  6. package/dist/images/annotation-comment.svg +16 -0
  7. package/dist/images/annotation-help.svg +26 -0
  8. package/dist/images/annotation-insert.svg +10 -0
  9. package/dist/images/annotation-key.svg +11 -0
  10. package/dist/images/annotation-newparagraph.svg +11 -0
  11. package/dist/images/annotation-noicon.svg +7 -0
  12. package/dist/images/annotation-note.svg +42 -0
  13. package/dist/images/annotation-paperclip.svg +6 -0
  14. package/dist/images/annotation-paragraph.svg +16 -0
  15. package/dist/images/annotation-pushpin.svg +7 -0
  16. package/dist/images/cursor-editorFreeHighlight.svg +6 -0
  17. package/dist/images/cursor-editorFreeText.svg +3 -0
  18. package/dist/images/cursor-editorInk.svg +4 -0
  19. package/dist/images/cursor-editorTextHighlight.svg +8 -0
  20. package/dist/images/editor-toolbar-delete.svg +5 -0
  21. package/dist/images/loading-icon.gif +0 -0
  22. package/dist/images/toolbarButton-editorHighlight.svg +6 -0
  23. package/dist/images/toolbarButton-menuArrow.svg +3 -0
  24. package/dist/super-editor/chunks/{converter-C2vIVQdR.js → converter-BnsEo6xI.js} +3 -3
  25. package/dist/super-editor/chunks/{converter-C2vIVQdR.js.map → converter-BnsEo6xI.js.map} +1 -1
  26. package/dist/super-editor/chunks/{docx-zipper-CC2RWjjk.js → docx-zipper-CC9hdCmd.js} +2 -2
  27. package/dist/super-editor/chunks/{docx-zipper-CC2RWjjk.js.map → docx-zipper-CC9hdCmd.js.map} +1 -1
  28. package/dist/super-editor/chunks/{editor-B0Pe3RXQ.js → editor-DdUz7C8H.js} +4 -4
  29. package/dist/super-editor/chunks/{editor-B0Pe3RXQ.js.map → editor-DdUz7C8H.js.map} +1 -1
  30. package/dist/super-editor/chunks/{toolbar-Bpv-JtUh.js → toolbar-LxMiqSkN.js} +3 -3
  31. package/dist/super-editor/chunks/{toolbar-Bpv-JtUh.js.map → toolbar-LxMiqSkN.js.map} +1 -1
  32. package/dist/super-editor/converter.es.js +1 -1
  33. package/dist/super-editor/docx-zipper.es.js +2 -2
  34. package/dist/super-editor/editor.es.js +3 -3
  35. package/dist/super-editor/file-zipper.es.js +1 -1
  36. package/dist/super-editor/super-editor.es.js +6 -6
  37. package/dist/super-editor/toolbar.es.js +2 -2
  38. package/dist/super-editor.es.js +1 -1
  39. package/dist/superdoc.es.js +3 -3
  40. package/dist/superdoc.umd.js +4 -4
  41. package/dist/superdoc.umd.js.map +1 -1
  42. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { C } from "./chunks/converter-C2vIVQdR.js";
1
+ import { C } from "./chunks/converter-BnsEo6xI.js";
2
2
  export {
3
3
  C as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-C2vIVQdR.js";
2
- import { D } from "./chunks/docx-zipper-CC2RWjjk.js";
1
+ import "./chunks/converter-BnsEo6xI.js";
2
+ import { D } from "./chunks/docx-zipper-CC9hdCmd.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-B0Pe3RXQ.js";
2
- import "./chunks/converter-C2vIVQdR.js";
3
- import "./chunks/docx-zipper-CC2RWjjk.js";
1
+ import { E } from "./chunks/editor-DdUz7C8H.js";
2
+ import "./chunks/converter-BnsEo6xI.js";
3
+ import "./chunks/docx-zipper-CC9hdCmd.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-CC2RWjjk.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-CC9hdCmd.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-B0Pe3RXQ.js";
13
- import { k, m, j, l } from "./chunks/editor-B0Pe3RXQ.js";
14
- import { O as getDefaultExportFromCjs, v as v4, T as TextSelection, U as vClickOutside } from "./chunks/converter-C2vIVQdR.js";
15
- import { C } from "./chunks/converter-C2vIVQdR.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-DdUz7C8H.js";
13
+ import { k, m, j, l } from "./chunks/editor-DdUz7C8H.js";
14
+ import { O as getDefaultExportFromCjs, v as v4, T as TextSelection, U as vClickOutside } from "./chunks/converter-BnsEo6xI.js";
15
+ import { C } from "./chunks/converter-BnsEo6xI.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-Bpv-JtUh.js";
18
- import { D } from "./chunks/docx-zipper-CC2RWjjk.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-LxMiqSkN.js";
18
+ import { D } from "./chunks/docx-zipper-CC9hdCmd.js";
19
19
  import { createZip } from "./file-zipper.es.js";
20
20
  var eventemitter3 = { exports: {} };
21
21
  (function(module) {
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-Bpv-JtUh.js";
3
- import "./chunks/editor-B0Pe3RXQ.js";
2
+ import { T } from "./chunks/toolbar-LxMiqSkN.js";
3
+ import "./chunks/editor-DdUz7C8H.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-rbnh638C.js";
1
+ import { _, D, E, S, a, b, c, T, d, i, g, e, f, h, j, k, l } from "./chunks/super-editor.es-hY_ddsVf.js";
2
2
  import "./chunks/vue-BjMDYCe1.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-rbnh638C.js";
2
- import { S, i, k, l } from "./chunks/super-editor.es-rbnh638C.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-hY_ddsVf.js";
2
+ import { S, i, k, l } from "./chunks/super-editor.es-hY_ddsVf.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, C as toRef, i as inject, q as getCurrentInstance, l as watch, x 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, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, U as onActivated, s as onDeactivated, z as createTextVNode, F as Fragment, Q as Comment, m as defineComponent, D as provide, G as withDirectives, B as h, V as Teleport, S as renderSlot, W as isVNode, K as watchEffect, O as Transition, E as mergeProps, P as vShow, J as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, v as createVNode, y as withCtx, f as createBaseVNode, A as normalizeStyle, e as createCommentVNode, u as createBlock, w as withModifiers, n as normalizeClass, a5 as resolveDirective, d as renderList, c as createApp, a6 as resolveDynamicComponent } from "./chunks/vue-BjMDYCe1.js";
4
4
  import { B as Buffer$2 } from "./chunks/jszip-Df6uKve1.js";
5
5
  import { b } from "./chunks/blank-docx-BagxM198.js";
@@ -45781,7 +45781,7 @@ class SuperDoc extends EventEmitter {
45781
45781
  this.config.colors = shuffleArray(this.config.colors);
45782
45782
  this.userColorMap = /* @__PURE__ */ new Map();
45783
45783
  this.colorIndex = 0;
45784
- this.version = "0.6.94";
45784
+ this.version = "0.6.95";
45785
45785
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
45786
45786
  this.superdocId = config.superdocId || v4();
45787
45787
  this.colors = this.config.colors;
@@ -27961,7 +27961,7 @@
27961
27961
  return;
27962
27962
  }
27963
27963
  }
27964
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.94") {
27964
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.95") {
27965
27965
  const customLocation = "docProps/custom.xml";
27966
27966
  if (!docx[customLocation]) {
27967
27967
  docx[customLocation] = generateCustomXml();
@@ -28233,7 +28233,7 @@
28233
28233
  function generateCustomXml() {
28234
28234
  return DEFAULT_CUSTOM_XML;
28235
28235
  }
28236
- function generateSuperdocVersion(pid = 2, version2 = "0.6.94") {
28236
+ function generateSuperdocVersion(pid = 2, version2 = "0.6.95") {
28237
28237
  return {
28238
28238
  type: "element",
28239
28239
  name: "property",
@@ -42447,7 +42447,7 @@
42447
42447
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
42448
42448
  */
42449
42449
  processCollaborationMigrations() {
42450
- console.debug("[checkVersionMigrations] Current editor version", "0.6.94");
42450
+ console.debug("[checkVersionMigrations] Current editor version", "0.6.95");
42451
42451
  if (!this.options.ydoc) return;
42452
42452
  const metaMap = this.options.ydoc.getMap("meta");
42453
42453
  let docVersion = metaMap.get("version");
@@ -110700,7 +110700,7 @@ ${style2}
110700
110700
  this.config.colors = shuffleArray(this.config.colors);
110701
110701
  this.userColorMap = /* @__PURE__ */ new Map();
110702
110702
  this.colorIndex = 0;
110703
- this.version = "0.6.94";
110703
+ this.version = "0.6.95";
110704
110704
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
110705
110705
  this.superdocId = config.superdocId || v4();
110706
110706
  this.colors = this.config.colors;