@harbour-enterprises/superdoc 0.6.14 → 0.6.15

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 (24) hide show
  1. package/dist/chunks/{super-editor.es-CUJNt_Zy.js → super-editor.es-B19t95_W.js} +98 -103
  2. package/dist/chunks/super-editor.es-B19t95_W.js.map +1 -0
  3. package/dist/style.css +9 -9
  4. package/dist/super-editor/chunks/{converter-Dp6TonFQ.js → converter-CMNLAyZI.js} +94 -99
  5. package/dist/super-editor/chunks/{converter-Dp6TonFQ.js.map → converter-CMNLAyZI.js.map} +1 -1
  6. package/dist/super-editor/chunks/{docx-zipper-6OpUCRG8.js → docx-zipper-rdNua_s6.js} +2 -2
  7. package/dist/super-editor/chunks/{docx-zipper-6OpUCRG8.js.map → docx-zipper-rdNua_s6.js.map} +1 -1
  8. package/dist/super-editor/chunks/{editor-CRDnHaLm.js → editor-GAjLo-9M.js} +4 -4
  9. package/dist/super-editor/chunks/{editor-CRDnHaLm.js.map → editor-GAjLo-9M.js.map} +1 -1
  10. package/dist/super-editor/chunks/{toolbar-C86EUwzu.js → toolbar-BY9uROLI.js} +5 -5
  11. package/dist/super-editor/chunks/toolbar-BY9uROLI.js.map +1 -0
  12. package/dist/super-editor/converter.es.js +1 -1
  13. package/dist/super-editor/docx-zipper.es.js +2 -2
  14. package/dist/super-editor/editor.es.js +3 -3
  15. package/dist/super-editor/file-zipper.es.js +1 -1
  16. package/dist/super-editor/style.css +9 -9
  17. package/dist/super-editor/super-editor.es.js +7 -7
  18. package/dist/super-editor/super-editor.es.js.map +1 -1
  19. package/dist/super-editor/toolbar.es.js +2 -2
  20. package/dist/super-editor.es.js +1 -1
  21. package/dist/superdoc.es.js +3 -3
  22. package/package.json +1 -1
  23. package/dist/chunks/super-editor.es-CUJNt_Zy.js.map +0 -1
  24. package/dist/super-editor/chunks/toolbar-C86EUwzu.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { B } from "./chunks/converter-Dp6TonFQ.js";
1
+ import { B } from "./chunks/converter-CMNLAyZI.js";
2
2
  export {
3
3
  B as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-Dp6TonFQ.js";
2
- import { D } from "./chunks/docx-zipper-6OpUCRG8.js";
1
+ import "./chunks/converter-CMNLAyZI.js";
2
+ import { D } from "./chunks/docx-zipper-rdNua_s6.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-CRDnHaLm.js";
2
- import "./chunks/converter-Dp6TonFQ.js";
3
- import "./chunks/docx-zipper-6OpUCRG8.js";
1
+ import { E } from "./chunks/editor-GAjLo-9M.js";
2
+ import "./chunks/converter-CMNLAyZI.js";
3
+ import "./chunks/docx-zipper-rdNua_s6.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-6OpUCRG8.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-rdNua_s6.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -19,41 +19,41 @@
19
19
  box-sizing: border-box;
20
20
  }
21
21
 
22
- .toolbar-icon[data-v-fff4aa3f] {
22
+ .toolbar-icon[data-v-6d7523ab] {
23
23
  display: flex;
24
24
  align-items: center;
25
25
  justify-content: center;
26
26
  flex-shrink: 0;
27
27
  }
28
- .toolbar-icon__icon[data-v-fff4aa3f] {
28
+ .toolbar-icon__icon[data-v-6d7523ab] {
29
29
  display: inline-flex;
30
30
  align-items: center;
31
31
  justify-content: center;
32
32
  flex-shrink: 0;
33
33
  height: 16px;
34
34
  }
35
- .toolbar-icon__icon--highlight[data-v-fff4aa3f] {
35
+ .toolbar-icon__icon--highlight[data-v-6d7523ab] {
36
36
  width: 16px;
37
37
  margin-left: 3px;
38
38
  margin-bottom: 1px;
39
39
  }
40
- .toolbar-icon__icon[data-v-fff4aa3f] svg {
40
+ .toolbar-icon__icon[data-v-6d7523ab] svg {
41
41
  width: auto; /* needed for safari */
42
42
  max-height: 16px;
43
43
  }
44
- .toolbar-icon__icon--color[data-v-fff4aa3f] svg {
44
+ .toolbar-icon__icon--color[data-v-6d7523ab] svg {
45
45
  max-height: 14px;
46
46
  margin-top: -3px;
47
47
  }
48
- .toolbar-button[data-v-fff4aa3f]:hover {
48
+ .toolbar-button[data-v-6d7523ab]:hover {
49
49
  color: black;
50
50
  background-color: #d8dee5;
51
51
  }
52
- .toolbar-button[data-v-fff4aa3f]:active,
53
- .active[data-v-fff4aa3f] {
52
+ .toolbar-button[data-v-6d7523ab]:active,
53
+ .active[data-v-6d7523ab] {
54
54
  background-color: #c8d0d8;
55
55
  }
56
- .color-bar[data-v-fff4aa3f] {
56
+ .color-bar[data-v-6d7523ab] {
57
57
  border-radius: 4px;
58
58
  position: absolute;
59
59
  z-index: 5;
@@ -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, u as undoDepth, r as redoDepth, E as Editor, e as getStarterExtensions, P as Placeholder, h as getRichTextExtensions } from "./chunks/editor-CRDnHaLm.js";
13
- import { j, l, i, k } from "./chunks/editor-CRDnHaLm.js";
14
- import { J as getDefaultExportFromCjs, v as v4, T as TextSelection, L as vClickOutside } from "./chunks/converter-Dp6TonFQ.js";
15
- import { B } from "./chunks/converter-Dp6TonFQ.js";
12
+ import { _ as _export_sfc, a as getQuickFormatList, b as generateLinkedStyleString, I as ImagePlaceholderPluginKey, f as findPlaceholder, c as findParentNode, d as getActiveFormatting, u as undoDepth, r as redoDepth, E as Editor, e as getStarterExtensions, P as Placeholder, h as getRichTextExtensions } from "./chunks/editor-GAjLo-9M.js";
13
+ import { j, l, i, k } from "./chunks/editor-GAjLo-9M.js";
14
+ import { J as getDefaultExportFromCjs, v as v4, T as TextSelection, L as vClickOutside } from "./chunks/converter-CMNLAyZI.js";
15
+ import { B } from "./chunks/converter-CMNLAyZI.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-C86EUwzu.js";
18
- import { D } from "./chunks/docx-zipper-6OpUCRG8.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-BY9uROLI.js";
18
+ import { D } from "./chunks/docx-zipper-rdNua_s6.js";
19
19
  import { createZip } from "./file-zipper.es.js";
20
20
  var eventemitter3 = { exports: {} };
21
21
  (function(module) {
@@ -1640,7 +1640,7 @@ class SuperToolbar extends EventEmitter {
1640
1640
  __privateMethod(this, _SuperToolbar_instances, runCommandWithArgumentOnly_fn).call(this, { item, argument });
1641
1641
  },
1642
1642
  setHighlight: ({ item, argument }) => {
1643
- __privateMethod(this, _SuperToolbar_instances, runCommandWithArgumentOnly_fn).call(this, { item, argument });
1643
+ __privateMethod(this, _SuperToolbar_instances, runCommandWithArgumentOnly_fn).call(this, { item, argument: argument || "#D6D6D6" });
1644
1644
  },
1645
1645
  toggleRuler: ({ item, argument }) => {
1646
1646
  this.superdoc.toggleRuler();