@harbour-enterprises/superdoc 1.3.0-next.9 → 1.3.1-next.1
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/{PdfViewer-D5wFkJWQ.cjs → PdfViewer-B1rqV4Hp.cjs} +2 -2
- package/dist/chunks/{PdfViewer-GBLnj5Yg.es.js → PdfViewer-BVvi-ZEK.es.js} +2 -2
- package/dist/chunks/{SuperConverter-lLx4GqcF.es.js → SuperConverter-AxPNFosS.es.js} +13 -12
- package/dist/chunks/{SuperConverter-BuhT_Z5G.cjs → SuperConverter-rwP6nlvC.cjs} +2 -1
- package/dist/chunks/{index-Dgo4AYNb.cjs → index-BmwaXglr.cjs} +30 -7
- package/dist/chunks/{index-CqzJ4gdV.cjs → index-Ccw24rQt.cjs} +518 -162
- package/dist/chunks/{index-s5ZqooQe.es.js → index-DZF2SDeC.es.js} +518 -162
- package/dist/chunks/{index-C0aR6iQ3.es.js → index-IUXq0EQx.es.js} +30 -7
- package/dist/style.css +40 -34
- package/dist/super-editor/converter.cjs +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +3 -3
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +545 -166
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BIT8, M as MAX_SAFE_INTEGER, c as create, a as BITS7, u as utf8TextDecoder, b as create$1, s as setIfUndefined, d as create$2, f as from, e as floor$1, g as equalityDeep, w as writeVarUint, h as writeVarString, t as toUint8Array, i as createEncoder, j as createInjectionKey, k as toString, l as throwError, m as useSsrAdapter, n as configProviderInjectionKey, o as cssrAnchorMetaName, p as globalStyle, q as cB, r as c, v as isMounted, x as commonVariables$2, y as cM, z as cNotM, A as cE, C as derived, D as changeColor, E as insideModal, F as insidePopover, G as resolveWrappedSlot, H as on, I as warnOnce, J as useConfig, K as useMergedState, L as useMemo, N as useTheme, O as useRtl, P as createKey, Q as useThemeClass, R as createId, S as call, T as render, U as messageProviderInjectionKey, V as messageApiInjectionKey, W as fromBase64, X as onChange, Y as varStorage, Z as toBase64, _ as createUint8ArrayFromArrayBuffer, $ as offChange, a0 as writeVarUint8Array, a1 as map, a2 as length, a3 as isNode, a4 as min, a5 as pow, a6 as comments_module_events, a7 as getFileObject, a8 as getTrackChanges, a9 as CommentsPluginKey, aa as TrackChangesBasePluginKey, ab as Editor, ac as getRichTextExtensions, ad as ellipsisVerticalSvg, ae as xmarkIconSvg, af as checkIconSvg, ag as caretDownIconSvg, ah as commentIconSvg, ai as _export_sfc, aj as NDropdown, ak as SuperInput, al as vClickOutside, am as PresentationEditor, an as SuperEditor, ao as AIWriter, ap as NConfigProvider, aq as SuperToolbar } from "./index-
|
|
2
|
-
import "./SuperConverter-
|
|
1
|
+
import { B as BIT8, M as MAX_SAFE_INTEGER, c as create, a as BITS7, u as utf8TextDecoder, b as create$1, s as setIfUndefined, d as create$2, f as from, e as floor$1, g as equalityDeep, w as writeVarUint, h as writeVarString, t as toUint8Array, i as createEncoder, j as createInjectionKey, k as toString, l as throwError, m as useSsrAdapter, n as configProviderInjectionKey, o as cssrAnchorMetaName, p as globalStyle, q as cB, r as c, v as isMounted, x as commonVariables$2, y as cM, z as cNotM, A as cE, C as derived, D as changeColor, E as insideModal, F as insidePopover, G as resolveWrappedSlot, H as on, I as warnOnce, J as useConfig, K as useMergedState, L as useMemo, N as useTheme, O as useRtl, P as createKey, Q as useThemeClass, R as createId, S as call, T as render, U as messageProviderInjectionKey, V as messageApiInjectionKey, W as fromBase64, X as onChange, Y as varStorage, Z as toBase64, _ as createUint8ArrayFromArrayBuffer, $ as offChange, a0 as writeVarUint8Array, a1 as map, a2 as length, a3 as isNode, a4 as min, a5 as pow, a6 as comments_module_events, a7 as getFileObject, a8 as getTrackChanges, a9 as CommentsPluginKey, aa as TrackChangesBasePluginKey, ab as Editor, ac as getRichTextExtensions, ad as ellipsisVerticalSvg, ae as xmarkIconSvg, af as checkIconSvg, ag as caretDownIconSvg, ah as commentIconSvg, ai as _export_sfc, aj as NDropdown, ak as SuperInput, al as vClickOutside, am as PresentationEditor, an as SuperEditor, ao as AIWriter, ap as NConfigProvider, aq as SuperToolbar } from "./index-DZF2SDeC.es.js";
|
|
2
|
+
import "./SuperConverter-AxPNFosS.es.js";
|
|
3
3
|
import { B as BlankDOCX } from "./blank-docx-ABm6XYAA.es.js";
|
|
4
4
|
import { E as EventEmitter } from "./eventemitter3-CwrdEv8r.es.js";
|
|
5
5
|
import { HocuspocusProvider, HocuspocusProviderWebsocket } from "@hocuspocus/provider";
|
|
@@ -7448,7 +7448,7 @@ const _sfc_main = {
|
|
|
7448
7448
|
__name: "SuperDoc",
|
|
7449
7449
|
emits: ["selection-update"],
|
|
7450
7450
|
setup(__props, { emit: __emit }) {
|
|
7451
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
7451
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-BVvi-ZEK.es.js"));
|
|
7452
7452
|
const superdocStore = useSuperdocStore();
|
|
7453
7453
|
const commentsStore = useCommentsStore();
|
|
7454
7454
|
const {
|
|
@@ -7489,6 +7489,7 @@ const _sfc_main = {
|
|
|
7489
7489
|
commentsStore.proxy = proxy;
|
|
7490
7490
|
const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
|
|
7491
7491
|
const { uiFontFamily } = useUiFontFamily();
|
|
7492
|
+
const isViewingMode = () => proxy?.$superdoc?.config?.documentMode === "viewing";
|
|
7492
7493
|
const commentsModuleConfig = computed(() => {
|
|
7493
7494
|
const config = modules.comments;
|
|
7494
7495
|
if (config === false || config == null) return null;
|
|
@@ -7583,6 +7584,10 @@ const _sfc_main = {
|
|
|
7583
7584
|
const commentsConfig = proxy.$superdoc.config.modules?.comments;
|
|
7584
7585
|
if (!commentsConfig || commentsConfig === false) return;
|
|
7585
7586
|
if (!positions || Object.keys(positions).length === 0) return;
|
|
7587
|
+
if (isViewingMode()) {
|
|
7588
|
+
commentsStore.clearEditorCommentPositions?.();
|
|
7589
|
+
return;
|
|
7590
|
+
}
|
|
7586
7591
|
const mappedPositions = presentationEditor.getCommentBounds(positions, layers.value);
|
|
7587
7592
|
handleEditorLocationsUpdate(mappedPositions);
|
|
7588
7593
|
});
|
|
@@ -7602,6 +7607,13 @@ const _sfc_main = {
|
|
|
7602
7607
|
const onEditorSelectionChange = ({ editor, transaction }) => {
|
|
7603
7608
|
if (skipSelectionUpdate.value) {
|
|
7604
7609
|
skipSelectionUpdate.value = false;
|
|
7610
|
+
if (isViewingMode()) {
|
|
7611
|
+
resetSelection();
|
|
7612
|
+
}
|
|
7613
|
+
return;
|
|
7614
|
+
}
|
|
7615
|
+
if (isViewingMode()) {
|
|
7616
|
+
resetSelection();
|
|
7605
7617
|
return;
|
|
7606
7618
|
}
|
|
7607
7619
|
const { documentId } = editor.options;
|
|
@@ -7780,6 +7792,10 @@ const _sfc_main = {
|
|
|
7780
7792
|
const onEditorCommentLocationsUpdate = (doc, { allCommentIds: activeThreadId, allCommentPositions } = {}) => {
|
|
7781
7793
|
const commentsConfig = proxy.$superdoc.config.modules?.comments;
|
|
7782
7794
|
if (!commentsConfig || commentsConfig === false) return;
|
|
7795
|
+
if (isViewingMode()) {
|
|
7796
|
+
commentsStore.clearEditorCommentPositions?.();
|
|
7797
|
+
return;
|
|
7798
|
+
}
|
|
7783
7799
|
const presentation = PresentationEditor.getInstance(doc.id);
|
|
7784
7800
|
if (!presentation) {
|
|
7785
7801
|
handleEditorLocationsUpdate(allCommentPositions, activeThreadId);
|
|
@@ -7835,11 +7851,12 @@ const _sfc_main = {
|
|
|
7835
7851
|
};
|
|
7836
7852
|
const isCommentsEnabled = computed(() => Boolean(commentsModuleConfig.value));
|
|
7837
7853
|
const showCommentsSidebar = computed(() => {
|
|
7854
|
+
if (isViewingMode()) return false;
|
|
7838
7855
|
return pendingComment.value || getFloatingComments.value?.length > 0 && isReady.value && layers.value && isCommentsEnabled.value && !isCommentsListVisible.value;
|
|
7839
7856
|
});
|
|
7840
7857
|
const showToolsFloatingMenu = computed(() => {
|
|
7841
7858
|
if (!isCommentsEnabled.value) return false;
|
|
7842
|
-
return toolsMenuPosition.top && !getConfig.value?.readOnly;
|
|
7859
|
+
return selectionPosition.value && toolsMenuPosition.top && !getConfig.value?.readOnly;
|
|
7843
7860
|
});
|
|
7844
7861
|
computed(() => {
|
|
7845
7862
|
if (!isCommentsEnabled.value) return false;
|
|
@@ -7887,6 +7904,10 @@ const _sfc_main = {
|
|
|
7887
7904
|
return style2;
|
|
7888
7905
|
});
|
|
7889
7906
|
const handleSelectionChange = (selection) => {
|
|
7907
|
+
if (isViewingMode()) {
|
|
7908
|
+
resetSelection();
|
|
7909
|
+
return;
|
|
7910
|
+
}
|
|
7890
7911
|
if (!selection.selectionBounds || !isCommentsEnabled.value) return;
|
|
7891
7912
|
resetSelection();
|
|
7892
7913
|
const isMobileView = window.matchMedia("(max-width: 768px)").matches;
|
|
@@ -7912,12 +7933,14 @@ const _sfc_main = {
|
|
|
7912
7933
|
};
|
|
7913
7934
|
const resetSelection = () => {
|
|
7914
7935
|
selectionPosition.value = null;
|
|
7936
|
+
toolsMenuPosition.top = null;
|
|
7915
7937
|
};
|
|
7916
7938
|
const updateSelection = ({ startX, startY, x, y, source }) => {
|
|
7917
7939
|
const hasStartCoords = typeof startX === "number" || typeof startY === "number";
|
|
7918
7940
|
const hasEndCoords = typeof x === "number" || typeof y === "number";
|
|
7919
7941
|
if (!hasStartCoords && !hasEndCoords) {
|
|
7920
|
-
|
|
7942
|
+
resetSelection();
|
|
7943
|
+
return;
|
|
7921
7944
|
}
|
|
7922
7945
|
if (!selectionPosition.value) {
|
|
7923
7946
|
if (startY == null || startX == null) return;
|
|
@@ -8170,7 +8193,7 @@ const _sfc_main = {
|
|
|
8170
8193
|
};
|
|
8171
8194
|
}
|
|
8172
8195
|
};
|
|
8173
|
-
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
8196
|
+
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5196811d"]]);
|
|
8174
8197
|
const createSuperdocVueApp = () => {
|
|
8175
8198
|
const app = createApp(App);
|
|
8176
8199
|
const pinia = createPinia();
|
|
@@ -8354,7 +8377,7 @@ class SuperDoc extends EventEmitter {
|
|
|
8354
8377
|
this.config.colors = shuffleArray(this.config.colors);
|
|
8355
8378
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
8356
8379
|
this.colorIndex = 0;
|
|
8357
|
-
this.version = "1.3.
|
|
8380
|
+
this.version = "1.3.1-next.1";
|
|
8358
8381
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
8359
8382
|
this.superdocId = config.superdocId || v4();
|
|
8360
8383
|
this.colors = this.config.colors;
|
package/dist/style.css
CHANGED
|
@@ -1796,7 +1796,7 @@ to {
|
|
|
1796
1796
|
align-items: center;
|
|
1797
1797
|
margin-right: 10px;
|
|
1798
1798
|
}
|
|
1799
|
-
.slash-menu-item-icon svg {
|
|
1799
|
+
.slash-menu .slash-menu-item-icon svg {
|
|
1800
1800
|
height: 12px;
|
|
1801
1801
|
width: 12px;
|
|
1802
1802
|
}
|
|
@@ -1978,10 +1978,10 @@ to {
|
|
|
1978
1978
|
box-shadow: 0 0 4px rgba(74, 144, 226, 0.5);
|
|
1979
1979
|
}
|
|
1980
1980
|
|
|
1981
|
-
.editor-element[data-v-
|
|
1981
|
+
.editor-element[data-v-f5c4f915] {
|
|
1982
1982
|
position: relative;
|
|
1983
1983
|
}
|
|
1984
|
-
.super-editor-container[data-v-
|
|
1984
|
+
.super-editor-container[data-v-f5c4f915] {
|
|
1985
1985
|
width: auto;
|
|
1986
1986
|
height: auto;
|
|
1987
1987
|
/* min-width is controlled via inline style (containerStyle) to scale with zoom */
|
|
@@ -1990,14 +1990,20 @@ to {
|
|
|
1990
1990
|
display: flex;
|
|
1991
1991
|
flex-direction: column;
|
|
1992
1992
|
}
|
|
1993
|
-
.ruler[data-v-
|
|
1993
|
+
.ruler-host[data-v-f5c4f915] {
|
|
1994
|
+
display: flex;
|
|
1995
|
+
justify-content: center;
|
|
1996
|
+
width: 100%;
|
|
1997
|
+
box-sizing: border-box;
|
|
1998
|
+
}
|
|
1999
|
+
.ruler[data-v-f5c4f915] {
|
|
1994
2000
|
margin-bottom: 2px;
|
|
1995
2001
|
}
|
|
1996
|
-
.super-editor[data-v-
|
|
2002
|
+
.super-editor[data-v-f5c4f915] {
|
|
1997
2003
|
color: initial;
|
|
1998
2004
|
overflow: hidden;
|
|
1999
2005
|
}
|
|
2000
|
-
.placeholder-editor[data-v-
|
|
2006
|
+
.placeholder-editor[data-v-f5c4f915] {
|
|
2001
2007
|
position: absolute;
|
|
2002
2008
|
top: 0;
|
|
2003
2009
|
left: 0;
|
|
@@ -2009,7 +2015,7 @@ to {
|
|
|
2009
2015
|
background-color: white;
|
|
2010
2016
|
box-sizing: border-box;
|
|
2011
2017
|
}
|
|
2012
|
-
.placeholder-title[data-v-
|
|
2018
|
+
.placeholder-title[data-v-f5c4f915] {
|
|
2013
2019
|
display: flex;
|
|
2014
2020
|
justify-content: center;
|
|
2015
2021
|
margin-bottom: 40px;
|
|
@@ -2553,46 +2559,46 @@ img[data-v-7dd69850] {
|
|
|
2553
2559
|
display: none;
|
|
2554
2560
|
}
|
|
2555
2561
|
|
|
2556
|
-
.superdoc[data-v-
|
|
2562
|
+
.superdoc[data-v-5196811d] {
|
|
2557
2563
|
display: flex;
|
|
2558
2564
|
}
|
|
2559
|
-
.right-sidebar[data-v-
|
|
2565
|
+
.right-sidebar[data-v-5196811d] {
|
|
2560
2566
|
min-width: 320px;
|
|
2561
2567
|
}
|
|
2562
|
-
.floating-comments[data-v-
|
|
2568
|
+
.floating-comments[data-v-5196811d] {
|
|
2563
2569
|
min-width: 300px;
|
|
2564
2570
|
width: 300px;
|
|
2565
2571
|
}
|
|
2566
|
-
.superdoc__layers[data-v-
|
|
2572
|
+
.superdoc__layers[data-v-5196811d] {
|
|
2567
2573
|
height: 100%;
|
|
2568
2574
|
position: relative;
|
|
2569
2575
|
box-sizing: border-box;
|
|
2570
2576
|
}
|
|
2571
|
-
.superdoc__document[data-v-
|
|
2577
|
+
.superdoc__document[data-v-5196811d] {
|
|
2572
2578
|
width: 100%;
|
|
2573
2579
|
position: relative;
|
|
2574
2580
|
}
|
|
2575
|
-
.superdoc__sub-document[data-v-
|
|
2581
|
+
.superdoc__sub-document[data-v-5196811d] {
|
|
2576
2582
|
width: 100%;
|
|
2577
2583
|
position: relative;
|
|
2578
2584
|
}
|
|
2579
|
-
.superdoc__selection-layer[data-v-
|
|
2585
|
+
.superdoc__selection-layer[data-v-5196811d] {
|
|
2580
2586
|
position: absolute;
|
|
2581
2587
|
min-width: 100%;
|
|
2582
2588
|
min-height: 100%;
|
|
2583
2589
|
z-index: 10;
|
|
2584
2590
|
pointer-events: none;
|
|
2585
2591
|
}
|
|
2586
|
-
.superdoc__temp-selection[data-v-
|
|
2592
|
+
.superdoc__temp-selection[data-v-5196811d] {
|
|
2587
2593
|
position: absolute;
|
|
2588
2594
|
}
|
|
2589
|
-
.superdoc__comments-layer[data-v-
|
|
2595
|
+
.superdoc__comments-layer[data-v-5196811d] {
|
|
2590
2596
|
/* position: absolute; */
|
|
2591
2597
|
top: 0;
|
|
2592
2598
|
height: 100%;
|
|
2593
2599
|
position: relative;
|
|
2594
2600
|
}
|
|
2595
|
-
.superdoc__right-sidebar[data-v-
|
|
2601
|
+
.superdoc__right-sidebar[data-v-5196811d] {
|
|
2596
2602
|
width: 320px;
|
|
2597
2603
|
min-width: 320px;
|
|
2598
2604
|
padding: 0 10px;
|
|
@@ -2602,14 +2608,14 @@ img[data-v-7dd69850] {
|
|
|
2602
2608
|
}
|
|
2603
2609
|
|
|
2604
2610
|
/* Tools styles */
|
|
2605
|
-
.tools[data-v-
|
|
2611
|
+
.tools[data-v-5196811d] {
|
|
2606
2612
|
position: absolute;
|
|
2607
2613
|
z-index: 3;
|
|
2608
2614
|
display: flex;
|
|
2609
2615
|
flex-direction: column;
|
|
2610
2616
|
gap: 6px;
|
|
2611
2617
|
}
|
|
2612
|
-
.tools .tool-icon[data-v-
|
|
2618
|
+
.tools .tool-icon[data-v-5196811d] {
|
|
2613
2619
|
font-size: 20px;
|
|
2614
2620
|
border-radius: 12px;
|
|
2615
2621
|
border: none;
|
|
@@ -2617,7 +2623,7 @@ img[data-v-7dd69850] {
|
|
|
2617
2623
|
background-color: #dbdbdb;
|
|
2618
2624
|
cursor: pointer;
|
|
2619
2625
|
}
|
|
2620
|
-
.tools-item[data-v-
|
|
2626
|
+
.tools-item[data-v-5196811d] {
|
|
2621
2627
|
display: flex;
|
|
2622
2628
|
align-items: center;
|
|
2623
2629
|
justify-content: center;
|
|
@@ -2627,10 +2633,10 @@ img[data-v-7dd69850] {
|
|
|
2627
2633
|
border-radius: 12px;
|
|
2628
2634
|
cursor: pointer;
|
|
2629
2635
|
}
|
|
2630
|
-
.tools-item i[data-v-
|
|
2636
|
+
.tools-item i[data-v-5196811d] {
|
|
2631
2637
|
cursor: pointer;
|
|
2632
2638
|
}
|
|
2633
|
-
.superdoc__tools-icon[data-v-
|
|
2639
|
+
.superdoc__tools-icon[data-v-5196811d] {
|
|
2634
2640
|
width: 20px;
|
|
2635
2641
|
height: 20px;
|
|
2636
2642
|
flex-shrink: 0;
|
|
@@ -2645,15 +2651,15 @@ img[data-v-7dd69850] {
|
|
|
2645
2651
|
|
|
2646
2652
|
/* 834px is iPad screen size in portrait orientation */
|
|
2647
2653
|
@media (max-width: 834px) {
|
|
2648
|
-
.superdoc .superdoc__layers[data-v-
|
|
2654
|
+
.superdoc .superdoc__layers[data-v-5196811d] {
|
|
2649
2655
|
margin: 0;
|
|
2650
2656
|
border: 0 !important;
|
|
2651
2657
|
box-shadow: none;
|
|
2652
2658
|
}
|
|
2653
|
-
.superdoc__sub-document[data-v-
|
|
2659
|
+
.superdoc__sub-document[data-v-5196811d] {
|
|
2654
2660
|
max-width: 100%;
|
|
2655
2661
|
}
|
|
2656
|
-
.superdoc__right-sidebar[data-v-
|
|
2662
|
+
.superdoc__right-sidebar[data-v-5196811d] {
|
|
2657
2663
|
padding: 10px;
|
|
2658
2664
|
width: 55px;
|
|
2659
2665
|
position: relative;
|
|
@@ -2661,7 +2667,7 @@ img[data-v-7dd69850] {
|
|
|
2661
2667
|
}
|
|
2662
2668
|
|
|
2663
2669
|
/* AI Writer styles */
|
|
2664
|
-
.ai-writer-container[data-v-
|
|
2670
|
+
.ai-writer-container[data-v-5196811d] {
|
|
2665
2671
|
position: fixed;
|
|
2666
2672
|
z-index: 1000;
|
|
2667
2673
|
background: white;
|
|
@@ -2679,13 +2685,13 @@ img[data-v-7dd69850] {
|
|
|
2679
2685
|
} */
|
|
2680
2686
|
|
|
2681
2687
|
/* Tools styles */
|
|
2682
|
-
.tools[data-v-
|
|
2688
|
+
.tools[data-v-5196811d] {
|
|
2683
2689
|
position: absolute;
|
|
2684
2690
|
z-index: 3;
|
|
2685
2691
|
display: flex;
|
|
2686
2692
|
gap: 6px;
|
|
2687
2693
|
}
|
|
2688
|
-
.tools .tool-icon[data-v-
|
|
2694
|
+
.tools .tool-icon[data-v-5196811d] {
|
|
2689
2695
|
font-size: 20px;
|
|
2690
2696
|
border-radius: 12px;
|
|
2691
2697
|
border: none;
|
|
@@ -2693,7 +2699,7 @@ img[data-v-7dd69850] {
|
|
|
2693
2699
|
background-color: #dbdbdb;
|
|
2694
2700
|
cursor: pointer;
|
|
2695
2701
|
}
|
|
2696
|
-
.tools-item[data-v-
|
|
2702
|
+
.tools-item[data-v-5196811d] {
|
|
2697
2703
|
display: flex;
|
|
2698
2704
|
align-items: center;
|
|
2699
2705
|
justify-content: center;
|
|
@@ -2704,18 +2710,18 @@ img[data-v-7dd69850] {
|
|
|
2704
2710
|
border-radius: 12px;
|
|
2705
2711
|
cursor: pointer;
|
|
2706
2712
|
}
|
|
2707
|
-
.tools-item i[data-v-
|
|
2713
|
+
.tools-item i[data-v-5196811d] {
|
|
2708
2714
|
cursor: pointer;
|
|
2709
2715
|
}
|
|
2710
|
-
.superdoc__tools-icon[data-v-
|
|
2716
|
+
.superdoc__tools-icon[data-v-5196811d] {
|
|
2711
2717
|
width: 20px;
|
|
2712
2718
|
height: 20px;
|
|
2713
2719
|
flex-shrink: 0;
|
|
2714
2720
|
}
|
|
2715
|
-
.ai-tool > svg[data-v-
|
|
2721
|
+
.ai-tool > svg[data-v-5196811d] {
|
|
2716
2722
|
fill: transparent;
|
|
2717
2723
|
}
|
|
2718
|
-
.ai-tool[data-v-
|
|
2724
|
+
.ai-tool[data-v-5196811d]::before {
|
|
2719
2725
|
content: '';
|
|
2720
2726
|
position: absolute;
|
|
2721
2727
|
width: 20px;
|
|
@@ -2736,7 +2742,7 @@ img[data-v-7dd69850] {
|
|
|
2736
2742
|
filter: brightness(1.2);
|
|
2737
2743
|
transition: filter 0.2s ease;
|
|
2738
2744
|
}
|
|
2739
|
-
.ai-tool[data-v-
|
|
2745
|
+
.ai-tool[data-v-5196811d]:hover::before {
|
|
2740
2746
|
filter: brightness(1.3);
|
|
2741
2747
|
}
|
|
2742
2748
|
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
require("../chunks/jszip-C8_CqJxM.cjs");
|
|
4
4
|
require("../chunks/helpers-nOdwpmwb.cjs");
|
|
5
|
-
const superEditor_converter = require("../chunks/SuperConverter-
|
|
5
|
+
const superEditor_converter = require("../chunks/SuperConverter-rwP6nlvC.cjs");
|
|
6
6
|
require("../chunks/uuid-R7L08bOx.cjs");
|
|
7
7
|
exports.SuperConverter = superEditor_converter.SuperConverter;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../chunks/jszip-B1fkPkPJ.es.js";
|
|
2
2
|
import "../chunks/helpers-C8e9wR5l.es.js";
|
|
3
|
-
import { S } from "../chunks/SuperConverter-
|
|
3
|
+
import { S } from "../chunks/SuperConverter-AxPNFosS.es.js";
|
|
4
4
|
import "../chunks/uuid-CjlX8hrF.es.js";
|
|
5
5
|
export {
|
|
6
6
|
S as SuperConverter
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./chunks/index-
|
|
3
|
+
const index = require("./chunks/index-Ccw24rQt.cjs");
|
|
4
4
|
const superEditor_docxZipper = require("./super-editor/docx-zipper.cjs");
|
|
5
5
|
const superEditor_fileZipper = require("./super-editor/file-zipper.cjs");
|
|
6
6
|
const vue = require("./chunks/vue-De9wkgLl.cjs");
|
|
7
|
-
const superEditor_converter = require("./chunks/SuperConverter-
|
|
7
|
+
const superEditor_converter = require("./chunks/SuperConverter-rwP6nlvC.cjs");
|
|
8
8
|
function isNodeType(node, name) {
|
|
9
9
|
return node.type.name === name;
|
|
10
10
|
}
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ax as Node, ay as Mark } from "./chunks/index-
|
|
2
|
-
import { ao, au, a9, ab, aw, am, av, aA, an, ak, aq, az, aa, as, aC, aE, aB, ac, aD, ar, at } from "./chunks/index-
|
|
1
|
+
import { ax as Node, ay as Mark } from "./chunks/index-DZF2SDeC.es.js";
|
|
2
|
+
import { ao, au, a9, ab, aw, am, av, aA, an, ak, aq, az, aa, as, aC, aE, aB, ac, aD, ar, at } from "./chunks/index-DZF2SDeC.es.js";
|
|
3
3
|
import { default as default2 } from "./super-editor/docx-zipper.es.js";
|
|
4
4
|
import { createZip } from "./super-editor/file-zipper.es.js";
|
|
5
5
|
import { d as defineComponent, E as createElementBlock, G as openBlock, K as createBaseVNode } from "./chunks/vue-BnBKJwCW.es.js";
|
|
6
|
-
import { S, r } from "./chunks/SuperConverter-
|
|
6
|
+
import { S, r } from "./chunks/SuperConverter-AxPNFosS.es.js";
|
|
7
7
|
function isNodeType(node, name) {
|
|
8
8
|
return node.type.name === name;
|
|
9
9
|
}
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./chunks/index-
|
|
4
|
-
const superdoc = require("./chunks/index-
|
|
5
|
-
const superEditor_converter = require("./chunks/SuperConverter-
|
|
3
|
+
const index = require("./chunks/index-Ccw24rQt.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-BmwaXglr.cjs");
|
|
5
|
+
const superEditor_converter = require("./chunks/SuperConverter-rwP6nlvC.cjs");
|
|
6
6
|
const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
|
|
7
7
|
require("./chunks/jszip-C8_CqJxM.cjs");
|
|
8
8
|
require("./chunks/helpers-nOdwpmwb.cjs");
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { au, ab, aw, av, as, a7, ac, ar, at } from "./chunks/index-
|
|
2
|
-
import { D, H, P, S, c } from "./chunks/index-
|
|
3
|
-
import { S as S2, r } from "./chunks/SuperConverter-
|
|
1
|
+
import { au, ab, aw, av, as, a7, ac, ar, at } from "./chunks/index-DZF2SDeC.es.js";
|
|
2
|
+
import { D, H, P, S, c } from "./chunks/index-IUXq0EQx.es.js";
|
|
3
|
+
import { S as S2, r } from "./chunks/SuperConverter-AxPNFosS.es.js";
|
|
4
4
|
import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
|
|
5
5
|
import "./chunks/jszip-B1fkPkPJ.es.js";
|
|
6
6
|
import "./chunks/helpers-C8e9wR5l.es.js";
|