@harbour-enterprises/superdoc 0.19.0-next.4 → 0.19.0-next.6
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-DmC4Qg1S.cjs → PdfViewer-BlV8_l4e.cjs} +1 -1
- package/dist/chunks/{PdfViewer-Df9H8xeA.es.js → PdfViewer-oqYWe1FJ.es.js} +1 -1
- package/dist/chunks/{index-C_oHQN7n.es.js → index-CeockUQz.es.js} +35 -3
- package/dist/chunks/{index-CWQGBk3Z.cjs → index-DHyh73q4.cjs} +35 -3
- package/dist/chunks/{super-editor.es-C2QwEj1z.es.js → super-editor.es-BRBU19lM.es.js} +614 -295
- package/dist/chunks/{super-editor.es-B_u6OGsf.cjs → super-editor.es-bu-RKSWh.cjs} +614 -295
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/stores/superdoc-store.d.ts +3 -0
- package/dist/stores/superdoc-store.d.ts.map +1 -1
- package/dist/style.css +6 -6
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-CMajoq-M.js → converter-BFq1XXek.js} +472 -208
- package/dist/super-editor/chunks/{docx-zipper-C5rg6GNf.js → docx-zipper-BahUy6FS.js} +1 -1
- package/dist/super-editor/chunks/{editor-CH3sE8Fq.js → editor-BdLd21gy.js} +135 -85
- package/dist/super-editor/chunks/{toolbar-BHnLBr61.js → toolbar-DoJY1zlM.js} +2 -2
- 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/src/core/super-converter/exporter.d.ts +0 -7
- package/dist/super-editor/src/core/super-converter/v2/importer/tableImporter.d.ts +0 -22
- package/dist/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +37 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/cantSplit/cantSplit-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/cantSplit/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/cnfStyle/cnfStyle-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/cnfStyle/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/divId/divId-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/divId/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridAfter/gridAfter-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridAfter/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridBefore/gridBefore-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridBefore/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/hidden/hidden-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/hidden/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/jc/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/jc/jc-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellSpacing/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellSpacing/tblCellSpacing-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblHeader/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblHeader/tblHeader-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tr/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/trHeight/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/trHeight/trHeight-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/trPr/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/trPr/trPr-translator.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/wAfter/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/wAfter/wAfter-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/wBefore/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/wBefore/wBefore-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/node-translator/node-translator.d.ts +2 -1
- package/dist/super-editor/src/extensions/table-row/table-row.d.ts +149 -0
- package/dist/super-editor/style.css +6 -6
- package/dist/super-editor/super-editor.es.js +13 -8
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +647 -296
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} CnfStyle
|
|
3
|
+
* @property {boolean} [evenHBand] Specifies that the object has inherited the conditional properties applied to the even numbered horizontal bands of the parent object.
|
|
4
|
+
* @property {boolean} [evenVBand] Specifies that the object has inherited the conditional properties applied to the even numbered vertical bands of the parent object.
|
|
5
|
+
* @property {boolean} [firstColumn] Specifies that the object has inherited the conditional properties applied to the first column of the parent object.
|
|
6
|
+
* @property {boolean} [firstRow] Specifies that the object has inherited the conditional properties applied to the first row of the parent object.
|
|
7
|
+
* @property {boolean} [firstRowFirstColumn] Specifies that the object has inherited the conditional properties applied to the cell that is in the first row and first column of the parent object.
|
|
8
|
+
* @property {boolean} [firstRowLastColumn] Specifies that the object has inherited the conditional properties applied to the cell that is in the first row and last column of the parent object.
|
|
9
|
+
* @property {boolean} [lastColumn] Specifies that the object has inherited the conditional properties
|
|
10
|
+
* applied to the last column of the parent object.
|
|
11
|
+
* @property {boolean} [lastRow] Specifies that the object has inherited the conditional properties
|
|
12
|
+
* applied to the last row of the parent object.
|
|
13
|
+
* @property {boolean} [lastRowFirstColumn] Specifies that the object has inherited the conditional properties applied to the cell that is in the last row and first column of the parent object.
|
|
14
|
+
* @property {boolean} [lastRowLastColumn] Specifies that the object has inherited the conditional properties applied to the cell that is in the last row and last column of the parent object.
|
|
15
|
+
* @property {boolean} [oddHBand] Specifies that the object has inherited the conditional properties applied to the odd numbered horizontal bands of the parent object.
|
|
16
|
+
* @property {boolean} [oddVBand] Specifies that the object has inherited the conditional properties applied to the odd numbered vertical bands of the parent object.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* @typedef {Object} TableRowProperties
|
|
20
|
+
* @property {boolean} [cantSplit] Indicates that this row should not be split across pages when paginating/exporting.
|
|
21
|
+
* @property {CnfStyle} [cnfStyle] - Specifies the set of conditional table style formatting properties which have been applied to this row
|
|
22
|
+
* @property {string} [divId] - Specifies the HTML div information which is associated with this row.
|
|
23
|
+
* @property {number} [gridAfter] - Specifies the number of grid columns to be that should be left empty after the last cell in this row.
|
|
24
|
+
* @property {number} [gridBefore] - Specifies the number of grid columns that should be skipped before the first cell in this row.
|
|
25
|
+
* @property {boolean} [hidden] - Specifies that the glyph representing the end character of current table row shall not be displayed in the current document.
|
|
26
|
+
* @property {"center" | "end" | "left" | "right" | "start"} [jc] - Specifies the overall justification of the contents of this row.
|
|
27
|
+
* @property {Object} [tblCellSpacing] - Specifies the amount of spacing that shall be applied between the cells in this row.
|
|
28
|
+
* @property {number} [tblCellSpacing.value] - The size of the spacing in twenieths of a point (1/1440 of an inch).
|
|
29
|
+
* @property {"auto" | "dxa" | "nil" | "pct"} [tblCellSpacing.type] - The type of spacing.
|
|
30
|
+
* @property {boolean} [repeatHeader] - Specifies that this row is to be repeated as a header row at the top of each page on which the table is displayed.
|
|
31
|
+
* @property {"atLeast" | "exact" | "auto"} [rowHeight.rule] - The rule for the row height.
|
|
32
|
+
* @property {Object} [wAfter] - Specifies the preferred width for the total number of grid columns after this table row.
|
|
33
|
+
* @property {number} [wAfter.value] - The width in twenieths of a point (1/1440 of an inch).
|
|
34
|
+
* @property {"auto" | "dxa" | "nil" | "pct"} [wAfter.type] - The type of width.
|
|
35
|
+
* @property {Object} [wBefore] - Specifies the preferred width for the total number of grid columns before this table row.
|
|
36
|
+
* @property {number} [wBefore.value] - The width in twenieths of a point (1/1440 of an inch).
|
|
37
|
+
* @property {"auto" | "dxa" | "nil" | "pct"} [wBefore.type] - The type of width.
|
|
38
|
+
*/
|
|
1
39
|
/**
|
|
2
40
|
* @module TableRow
|
|
3
41
|
* @sidebarTitle Table Row
|
|
4
42
|
* @snippetPath /snippets/extensions/table-row.mdx
|
|
5
43
|
*/
|
|
6
44
|
export const TableRow: Node;
|
|
45
|
+
export type CnfStyle = {
|
|
46
|
+
/**
|
|
47
|
+
* Specifies that the object has inherited the conditional properties applied to the even numbered horizontal bands of the parent object.
|
|
48
|
+
*/
|
|
49
|
+
evenHBand?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies that the object has inherited the conditional properties applied to the even numbered vertical bands of the parent object.
|
|
52
|
+
*/
|
|
53
|
+
evenVBand?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies that the object has inherited the conditional properties applied to the first column of the parent object.
|
|
56
|
+
*/
|
|
57
|
+
firstColumn?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies that the object has inherited the conditional properties applied to the first row of the parent object.
|
|
60
|
+
*/
|
|
61
|
+
firstRow?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies that the object has inherited the conditional properties applied to the cell that is in the first row and first column of the parent object.
|
|
64
|
+
*/
|
|
65
|
+
firstRowFirstColumn?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Specifies that the object has inherited the conditional properties applied to the cell that is in the first row and last column of the parent object.
|
|
68
|
+
*/
|
|
69
|
+
firstRowLastColumn?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies that the object has inherited the conditional properties
|
|
72
|
+
* applied to the last column of the parent object.
|
|
73
|
+
*/
|
|
74
|
+
lastColumn?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Specifies that the object has inherited the conditional properties
|
|
77
|
+
* applied to the last row of the parent object.
|
|
78
|
+
*/
|
|
79
|
+
lastRow?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Specifies that the object has inherited the conditional properties applied to the cell that is in the last row and first column of the parent object.
|
|
82
|
+
*/
|
|
83
|
+
lastRowFirstColumn?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies that the object has inherited the conditional properties applied to the cell that is in the last row and last column of the parent object.
|
|
86
|
+
*/
|
|
87
|
+
lastRowLastColumn?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Specifies that the object has inherited the conditional properties applied to the odd numbered horizontal bands of the parent object.
|
|
90
|
+
*/
|
|
91
|
+
oddHBand?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Specifies that the object has inherited the conditional properties applied to the odd numbered vertical bands of the parent object.
|
|
94
|
+
*/
|
|
95
|
+
oddVBand?: boolean;
|
|
96
|
+
};
|
|
97
|
+
export type TableRowProperties = {
|
|
98
|
+
/**
|
|
99
|
+
* Indicates that this row should not be split across pages when paginating/exporting.
|
|
100
|
+
*/
|
|
101
|
+
cantSplit?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* - Specifies the set of conditional table style formatting properties which have been applied to this row
|
|
104
|
+
*/
|
|
105
|
+
cnfStyle?: CnfStyle;
|
|
106
|
+
/**
|
|
107
|
+
* - Specifies the HTML div information which is associated with this row.
|
|
108
|
+
*/
|
|
109
|
+
divId?: string;
|
|
110
|
+
/**
|
|
111
|
+
* - Specifies the number of grid columns to be that should be left empty after the last cell in this row.
|
|
112
|
+
*/
|
|
113
|
+
gridAfter?: number;
|
|
114
|
+
/**
|
|
115
|
+
* - Specifies the number of grid columns that should be skipped before the first cell in this row.
|
|
116
|
+
*/
|
|
117
|
+
gridBefore?: number;
|
|
118
|
+
/**
|
|
119
|
+
* - Specifies that the glyph representing the end character of current table row shall not be displayed in the current document.
|
|
120
|
+
*/
|
|
121
|
+
hidden?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* - Specifies the overall justification of the contents of this row.
|
|
124
|
+
*/
|
|
125
|
+
jc?: "center" | "end" | "left" | "right" | "start";
|
|
126
|
+
/**
|
|
127
|
+
* - Specifies the amount of spacing that shall be applied between the cells in this row.
|
|
128
|
+
*/
|
|
129
|
+
tblCellSpacing?: {
|
|
130
|
+
value?: number;
|
|
131
|
+
type?: "auto" | "dxa" | "nil" | "pct";
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* - Specifies that this row is to be repeated as a header row at the top of each page on which the table is displayed.
|
|
135
|
+
*/
|
|
136
|
+
repeatHeader?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* - The rule for the row height.
|
|
139
|
+
*/
|
|
140
|
+
rule?: "atLeast" | "exact" | "auto";
|
|
141
|
+
/**
|
|
142
|
+
* - Specifies the preferred width for the total number of grid columns after this table row.
|
|
143
|
+
*/
|
|
144
|
+
wAfter?: {
|
|
145
|
+
value?: number;
|
|
146
|
+
type?: "auto" | "dxa" | "nil" | "pct";
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* - Specifies the preferred width for the total number of grid columns before this table row.
|
|
150
|
+
*/
|
|
151
|
+
wBefore?: {
|
|
152
|
+
value?: number;
|
|
153
|
+
type?: "auto" | "dxa" | "nil" | "pct";
|
|
154
|
+
};
|
|
155
|
+
};
|
|
7
156
|
import { Node } from '@core/index.js';
|
|
@@ -1798,10 +1798,10 @@ on the right if it is inside shape textbox.
|
|
|
1798
1798
|
min-height: 40px;
|
|
1799
1799
|
}
|
|
1800
1800
|
|
|
1801
|
-
.editor-element[data-v-
|
|
1801
|
+
.editor-element[data-v-0c36dd72] {
|
|
1802
1802
|
position: relative;
|
|
1803
1803
|
}
|
|
1804
|
-
.super-editor-container[data-v-
|
|
1804
|
+
.super-editor-container[data-v-0c36dd72] {
|
|
1805
1805
|
width: auto;
|
|
1806
1806
|
height: auto;
|
|
1807
1807
|
min-width: 8in;
|
|
@@ -1810,13 +1810,13 @@ on the right if it is inside shape textbox.
|
|
|
1810
1810
|
display: flex;
|
|
1811
1811
|
flex-direction: column;
|
|
1812
1812
|
}
|
|
1813
|
-
.ruler[data-v-
|
|
1813
|
+
.ruler[data-v-0c36dd72] {
|
|
1814
1814
|
margin-bottom: 2px;
|
|
1815
1815
|
}
|
|
1816
|
-
.super-editor[data-v-
|
|
1816
|
+
.super-editor[data-v-0c36dd72] {
|
|
1817
1817
|
color: initial;
|
|
1818
1818
|
}
|
|
1819
|
-
.placeholder-editor[data-v-
|
|
1819
|
+
.placeholder-editor[data-v-0c36dd72] {
|
|
1820
1820
|
position: absolute;
|
|
1821
1821
|
top: 0;
|
|
1822
1822
|
left: 0;
|
|
@@ -1828,7 +1828,7 @@ on the right if it is inside shape textbox.
|
|
|
1828
1828
|
background-color: white;
|
|
1829
1829
|
box-sizing: border-box;
|
|
1830
1830
|
}
|
|
1831
|
-
.placeholder-title[data-v-
|
|
1831
|
+
.placeholder-title[data-v-0c36dd72] {
|
|
1832
1832
|
display: flex;
|
|
1833
1833
|
justify-content: center;
|
|
1834
1834
|
margin-bottom: 40px;
|
|
@@ -9,14 +9,14 @@ 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 _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import { ax as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aA as vClickOutside, H as findParentNode, aB as getActiveFormatting, ar as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as translator, aG as translator$1, aH as translator$2, a as Plugin } from "./chunks/converter-
|
|
13
|
-
import { aI, a5, i, a2 } from "./chunks/converter-
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, s as startImageUpload, y as yUndoPluginKey, d as undoDepth, r as redoDepth, S as SlashMenuPluginKey, E as Editor, e as getStarterExtensions, P as Placeholder, f as getRichTextExtensions, M as Mark, h as Extension, A as Attribute, N as Node } from "./chunks/editor-
|
|
15
|
-
import { k, C, l, T, i as i2, m, j } from "./chunks/editor-
|
|
12
|
+
import { ax as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aA as vClickOutside, H as findParentNode, aB as getActiveFormatting, ar as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as translator, aG as translator$1, aH as translator$2, a as Plugin } from "./chunks/converter-BFq1XXek.js";
|
|
13
|
+
import { aI, a5, i, a2 } from "./chunks/converter-BFq1XXek.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, s as startImageUpload, y as yUndoPluginKey, d as undoDepth, r as redoDepth, S as SlashMenuPluginKey, E as Editor, e as getStarterExtensions, P as Placeholder, f as getRichTextExtensions, M as Mark, h as Extension, A as Attribute, N as Node } from "./chunks/editor-BdLd21gy.js";
|
|
15
|
+
import { k, C, l, T, i as i2, m, j } from "./chunks/editor-BdLd21gy.js";
|
|
16
16
|
import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, p as plusIconSvg, a as trashIconSvg, l as linkIconSvg, b as tableIconSvg, c as scissorsIconSvg, d as copyIconSvg, e as pasteIconSvg, f as borderNoneIconSvg, g as arrowsToDotIconSvg, h as arrowsLeftRightIconSvg, w as wrenchIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, p as plusIconSvg, a as trashIconSvg, l as linkIconSvg, b as tableIconSvg, c as scissorsIconSvg, d as copyIconSvg, e as pasteIconSvg, f as borderNoneIconSvg, g as arrowsToDotIconSvg, h as arrowsLeftRightIconSvg, w as wrenchIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-DoJY1zlM.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-BahUy6FS.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
var hasRequiredEventemitter3;
|
|
@@ -3003,7 +3003,9 @@ class SuperToolbar extends EventEmitter {
|
|
|
3003
3003
|
} else if (typeof command === "function") {
|
|
3004
3004
|
command({ item, argument, option });
|
|
3005
3005
|
} else {
|
|
3006
|
-
|
|
3006
|
+
const error = new Error(`[super-toolbar 🎨] Command not found: ${command}`);
|
|
3007
|
+
this.emit("exception", { error, editor: this.activeEditor });
|
|
3008
|
+
throw error;
|
|
3007
3009
|
}
|
|
3008
3010
|
this.updateToolbarState();
|
|
3009
3011
|
}
|
|
@@ -4303,6 +4305,9 @@ const _sfc_main$1 = {
|
|
|
4303
4305
|
return { content: docx, media, mediaFiles, fonts };
|
|
4304
4306
|
} catch (err) {
|
|
4305
4307
|
console.debug("Error loading new file data:", err);
|
|
4308
|
+
if (typeof props.options.onException === "function") {
|
|
4309
|
+
props.options.onException({ error: err, editor: null });
|
|
4310
|
+
}
|
|
4306
4311
|
}
|
|
4307
4312
|
};
|
|
4308
4313
|
const initializeData = async () => {
|
|
@@ -4505,7 +4510,7 @@ const _sfc_main$1 = {
|
|
|
4505
4510
|
};
|
|
4506
4511
|
}
|
|
4507
4512
|
};
|
|
4508
|
-
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
4513
|
+
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c36dd72"]]);
|
|
4509
4514
|
const _hoisted_1 = ["innerHTML"];
|
|
4510
4515
|
const _sfc_main = {
|
|
4511
4516
|
__name: "SuperInput",
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-bu-RKSWh.cjs");
|
|
4
4
|
require("./chunks/vue-DWle4Cai.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-
|
|
1
|
+
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-BRBU19lM.es.js";
|
|
2
2
|
import "./chunks/vue-CXxsqYcP.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
4
|
-
const superdoc = require("./chunks/index-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-bu-RKSWh.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-DHyh73q4.cjs");
|
|
5
5
|
require("./chunks/vue-DWle4Cai.cjs");
|
|
6
6
|
require("./chunks/jszip-b7l8QkfH.cjs");
|
|
7
7
|
const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-
|
|
2
|
-
import { D, H, P, S as S2, m, l } from "./chunks/index-
|
|
1
|
+
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-BRBU19lM.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-CeockUQz.es.js";
|
|
3
3
|
import "./chunks/vue-CXxsqYcP.es.js";
|
|
4
4
|
import "./chunks/jszip-B8KIZSNe.es.js";
|
|
5
5
|
import { B } from "./chunks/blank-docx-iwdyG9RH.es.js";
|