@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.
- package/dist/chunks/{super-editor.es-CUJNt_Zy.js → super-editor.es-B19t95_W.js} +98 -103
- package/dist/chunks/super-editor.es-B19t95_W.js.map +1 -0
- package/dist/style.css +9 -9
- package/dist/super-editor/chunks/{converter-Dp6TonFQ.js → converter-CMNLAyZI.js} +94 -99
- package/dist/super-editor/chunks/{converter-Dp6TonFQ.js.map → converter-CMNLAyZI.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-6OpUCRG8.js → docx-zipper-rdNua_s6.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-6OpUCRG8.js.map → docx-zipper-rdNua_s6.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-CRDnHaLm.js → editor-GAjLo-9M.js} +4 -4
- package/dist/super-editor/chunks/{editor-CRDnHaLm.js.map → editor-GAjLo-9M.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-C86EUwzu.js → toolbar-BY9uROLI.js} +5 -5
- package/dist/super-editor/chunks/toolbar-BY9uROLI.js.map +1 -0
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +9 -9
- package/dist/super-editor/super-editor.es.js +7 -7
- package/dist/super-editor/super-editor.es.js.map +1 -1
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.es.js +3 -3
- package/package.json +1 -1
- package/dist/chunks/super-editor.es-CUJNt_Zy.js.map +0 -1
- package/dist/super-editor/chunks/toolbar-C86EUwzu.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
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
|
};
|
|
@@ -19,41 +19,41 @@
|
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.toolbar-icon[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
48
|
+
.toolbar-button[data-v-6d7523ab]:hover {
|
|
49
49
|
color: black;
|
|
50
50
|
background-color: #d8dee5;
|
|
51
51
|
}
|
|
52
|
-
.toolbar-button[data-v-
|
|
53
|
-
.active[data-v-
|
|
52
|
+
.toolbar-button[data-v-6d7523ab]:active,
|
|
53
|
+
.active[data-v-6d7523ab] {
|
|
54
54
|
background-color: #c8d0d8;
|
|
55
55
|
}
|
|
56
|
-
.color-bar[data-v-
|
|
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-
|
|
13
|
-
import { j, l, i, k } from "./chunks/editor-
|
|
14
|
-
import { J as getDefaultExportFromCjs, v as v4, T as TextSelection, L as vClickOutside } from "./chunks/converter-
|
|
15
|
-
import { B } from "./chunks/converter-
|
|
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-
|
|
18
|
-
import { D } from "./chunks/docx-zipper-
|
|
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();
|