superdoc 0.34.4 → 0.34.6-RC1
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-CcDvbfeP.cjs → PdfViewer-Cdq6hWaP.cjs} +2 -2
- package/dist/chunks/{PdfViewer-CL_-YyBC.es.js → PdfViewer-Yy390Dyv.es.js} +2 -2
- package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-BZXKb7j7.es.js} +1 -1
- package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-CFCpOk3d.cjs} +1 -1
- package/dist/chunks/{index-oLU8CBCH.es.js → index-M9d0bJ9k.es.js} +12 -7
- package/dist/chunks/{index-Cp_Yy4vP.cjs → index-QkGtTLUE.cjs} +12 -7
- package/dist/chunks/{index-DPjn4rpi-Bs9-iTbY.cjs → index-_8cQcYzu-CB4RkW2W.cjs} +1 -1
- package/dist/chunks/{index-DPjn4rpi-BwmVppCt.es.js → index-_8cQcYzu-Dj8Emsl2.es.js} +1 -1
- package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-B99MTu59.cjs} +1 -1
- package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-Duxs2YMV.es.js} +1 -1
- package/dist/chunks/{super-editor.es-C2FJLfJa.cjs → super-editor.es-C-hpEM8j.cjs} +794 -636
- package/dist/chunks/{super-editor.es-C350__qM.es.js → super-editor.es-kNY6AOSu.es.js} +747 -589
- package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-ARQSyfaw.cjs} +2401 -2360
- package/dist/chunks/{vue-CKmzTNVs.es.js → vue-B5QAf5pA.es.js} +2401 -2360
- package/dist/chunks/xml-js-CVyfrKaV.es.js +2 -0
- package/dist/chunks/xml-js-DQa4Ye5C.cjs +3 -0
- package/dist/packages/superdoc/src/components/CommentsLayer/use-comment.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/packages/superdoc/src/stores/comments-store.d.ts.map +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-KW3z-Mzc.js → converter-Ddl2ZmKy.js} +416 -301
- package/dist/super-editor/chunks/{docx-zipper-CYtxqNuc.js → docx-zipper-D1BgiAWm.js} +1 -1
- package/dist/super-editor/chunks/{editor-CTHJwQNA.js → editor-B2T2u3JG.js} +65 -22
- package/dist/super-editor/chunks/{index-DPjn4rpi.js → index-_8cQcYzu.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-BUz0UuKQ.js → toolbar-hyRTdNjv.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/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/exporter/commentsExporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/del/del-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ins/ins-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +5 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +1141 -938
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
- package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as process$1, az as commonjsGlobal, B as Buffer, aA as getDefaultExportFromCjs, aB as getContentTypesFromXml, aC as xmljs } from "./converter-
|
|
1
|
+
import { p as process$1, az as commonjsGlobal, B as Buffer, aA as getDefaultExportFromCjs, aB as getContentTypesFromXml, aC as xmljs } from "./converter-Ddl2ZmKy.js";
|
|
2
2
|
function commonjsRequire(path) {
|
|
3
3
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4
4
|
}
|
|
@@ -12,8 +12,8 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
12
12
|
var _Attribute_static, getGlobalAttributes_fn, getNodeAndMarksAttributes_fn, _Schema_static, createNodesSchema_fn, createMarksSchema_fn, _events, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _editor, _stateValidators, _xmlValidators, _requiredNodeTypes, _requiredMarkTypes, _SuperValidator_instances, initializeValidators_fn, collectValidatorRequirements_fn, analyzeDocument_fn, _commandService, _Editor_instances, initContainerElement_fn, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, registerCopyHandler_fn, insertNewFileData_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_fn, checkFonts_fn, determineUnsupportedFonts_fn, createSchema_fn, generatePmData_fn, createView_fn, onCollaborationReady_fn, initComments_fn, initPagination_fn, dispatchTransaction_fn, handleNodeSelection_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, validateDocumentInit_fn, validateDocumentExport_fn, initDevTools_fn, _DocumentSectionView_instances, init_fn2, addToolTip_fn, _ListItemNodeView_instances, init_fn3, applyIndentStyling_fn, _FieldAnnotationView_instances, createAnnotation_fn, _AutoPageNumberNodeView_instances, renderDom_fn, scheduleUpdateNodeStyle_fn;
|
|
13
13
|
import * as Y from "yjs";
|
|
14
14
|
import { UndoManager, Item as Item$1, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
|
|
15
|
-
import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as updateDOMAttributes, ah as findChildren$5, ai as htmlHandler, aj as generateRandomSigned32BitIntStrId, ak as InputRule, al as kebabCase, am as findParentNodeClosestToPos, an as getListItemStyleDefinitions, ao as docxNumberingHelpers, ap as parseIndentElement, aq as combineIndents, ar as twipsToPixels, as as PIXELS_PER_INCH, at as SelectionRange, au as Transform, av as isInTable$1, aw as generateDocxRandomId, ax as insertNewRelationship, ay as inchesToPixels } from "./converter-
|
|
16
|
-
import { D as DocxZipper } from "./docx-zipper-
|
|
15
|
+
import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as updateDOMAttributes, ah as findChildren$5, ai as htmlHandler, aj as generateRandomSigned32BitIntStrId, ak as InputRule, al as kebabCase, am as findParentNodeClosestToPos, an as getListItemStyleDefinitions, ao as docxNumberingHelpers, ap as parseIndentElement, aq as combineIndents, ar as twipsToPixels, as as PIXELS_PER_INCH, at as SelectionRange, au as Transform, av as isInTable$1, aw as generateDocxRandomId, ax as insertNewRelationship, ay as inchesToPixels } from "./converter-Ddl2ZmKy.js";
|
|
16
|
+
import { D as DocxZipper } from "./docx-zipper-D1BgiAWm.js";
|
|
17
17
|
import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
|
|
18
18
|
var GOOD_LEAF_SIZE = 200;
|
|
19
19
|
var RopeSequence = function RopeSequence2() {
|
|
@@ -887,17 +887,20 @@ function findOffsetInNode(node, coords) {
|
|
|
887
887
|
}
|
|
888
888
|
function findOffsetInText(node, coords) {
|
|
889
889
|
let len = node.nodeValue.length;
|
|
890
|
-
let range = document.createRange();
|
|
890
|
+
let range = document.createRange(), result;
|
|
891
891
|
for (let i = 0; i < len; i++) {
|
|
892
892
|
range.setEnd(node, i + 1);
|
|
893
893
|
range.setStart(node, i);
|
|
894
894
|
let rect = singleRect(range, 1);
|
|
895
895
|
if (rect.top == rect.bottom)
|
|
896
896
|
continue;
|
|
897
|
-
if (inRect(coords, rect))
|
|
898
|
-
|
|
897
|
+
if (inRect(coords, rect)) {
|
|
898
|
+
result = { node, offset: i + (coords.left >= (rect.left + rect.right) / 2 ? 1 : 0) };
|
|
899
|
+
break;
|
|
900
|
+
}
|
|
899
901
|
}
|
|
900
|
-
|
|
902
|
+
range.detach();
|
|
903
|
+
return result || { node, offset: 0 };
|
|
901
904
|
}
|
|
902
905
|
function inRect(coords, rect) {
|
|
903
906
|
return coords.left >= rect.left - 1 && coords.left <= rect.right + 1 && coords.top >= rect.top - 1 && coords.top <= rect.bottom + 1;
|
|
@@ -3644,7 +3647,7 @@ editHandlers.compositionstart = editHandlers.compositionupdate = (view) => {
|
|
|
3644
3647
|
if (!view.composing) {
|
|
3645
3648
|
view.domObserver.flush();
|
|
3646
3649
|
let { state } = view, $pos = state.selection.$to;
|
|
3647
|
-
if (state.selection instanceof TextSelection && (state.storedMarks || !$pos.textOffset && $pos.parentOffset && $pos.nodeBefore.marks.some((m) => m.type.spec.inclusive === false))) {
|
|
3650
|
+
if (state.selection instanceof TextSelection && (state.storedMarks || !$pos.textOffset && $pos.parentOffset && $pos.nodeBefore.marks.some((m) => m.type.spec.inclusive === false) || chrome && windows$1 && selectionBeforeUneditable(view))) {
|
|
3648
3651
|
view.markCursor = view.state.storedMarks || $pos.marks();
|
|
3649
3652
|
endComposition(view, true);
|
|
3650
3653
|
view.markCursor = null;
|
|
@@ -3672,6 +3675,13 @@ editHandlers.compositionstart = editHandlers.compositionupdate = (view) => {
|
|
|
3672
3675
|
}
|
|
3673
3676
|
scheduleComposeEnd(view, timeoutComposition);
|
|
3674
3677
|
};
|
|
3678
|
+
function selectionBeforeUneditable(view) {
|
|
3679
|
+
let { focusNode, focusOffset } = view.domSelectionRange();
|
|
3680
|
+
if (!focusNode || focusNode.nodeType != 1 || focusOffset >= focusNode.childNodes.length)
|
|
3681
|
+
return false;
|
|
3682
|
+
let next = focusNode.childNodes[focusOffset];
|
|
3683
|
+
return next.nodeType == 1 && next.contentEditable == "false";
|
|
3684
|
+
}
|
|
3675
3685
|
editHandlers.compositionend = (view, event) => {
|
|
3676
3686
|
if (view.composing) {
|
|
3677
3687
|
view.input.composing = false;
|
|
@@ -3875,10 +3885,14 @@ handlers.dragend = (view) => {
|
|
|
3875
3885
|
}, 50);
|
|
3876
3886
|
};
|
|
3877
3887
|
editHandlers.dragover = editHandlers.dragenter = (_, e) => e.preventDefault();
|
|
3878
|
-
editHandlers.drop = (view,
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3888
|
+
editHandlers.drop = (view, event) => {
|
|
3889
|
+
try {
|
|
3890
|
+
handleDrop(view, event, view.dragging);
|
|
3891
|
+
} finally {
|
|
3892
|
+
view.dragging = null;
|
|
3893
|
+
}
|
|
3894
|
+
};
|
|
3895
|
+
function handleDrop(view, event, dragging) {
|
|
3882
3896
|
if (!event.dataTransfer)
|
|
3883
3897
|
return;
|
|
3884
3898
|
let eventPos = view.posAtCoords(eventCoords(event));
|
|
@@ -3931,7 +3945,7 @@ editHandlers.drop = (view, _event) => {
|
|
|
3931
3945
|
}
|
|
3932
3946
|
view.focus();
|
|
3933
3947
|
view.dispatch(tr.setMeta("uiEvent", "drop"));
|
|
3934
|
-
}
|
|
3948
|
+
}
|
|
3935
3949
|
handlers.focus = (view) => {
|
|
3936
3950
|
view.input.lastFocus = Date.now();
|
|
3937
3951
|
if (!view.focused) {
|
|
@@ -4781,6 +4795,13 @@ class DOMObserver {
|
|
|
4781
4795
|
br.remove();
|
|
4782
4796
|
}
|
|
4783
4797
|
}
|
|
4798
|
+
} else if ((chrome || safari) && added.some((n) => n.nodeName == "BR") && (view.input.lastKeyCode == 8 || view.input.lastKeyCode == 46)) {
|
|
4799
|
+
for (let node of added)
|
|
4800
|
+
if (node.nodeName == "BR" && node.parentNode) {
|
|
4801
|
+
let after = node.nextSibling;
|
|
4802
|
+
if (after && after.nodeType == 1 && after.contentEditable == "false")
|
|
4803
|
+
node.parentNode.removeChild(node);
|
|
4804
|
+
}
|
|
4784
4805
|
}
|
|
4785
4806
|
let readSel = null;
|
|
4786
4807
|
if (from2 < 0 && newSel && view.input.lastFocus > Date.now() - 200 && Math.max(view.input.lastTouch, view.input.lastClick.time) < Date.now() - 300 && selectionCollapsed(sel) && (readSel = selectionFromDOM(view)) && readSel.eq(Selection.near(view.state.doc.resolve(0), 1))) {
|
|
@@ -15179,7 +15200,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
15179
15200
|
{ default: remarkStringify },
|
|
15180
15201
|
{ default: remarkGfm }
|
|
15181
15202
|
] = await Promise.all([
|
|
15182
|
-
import("./index-
|
|
15203
|
+
import("./index-_8cQcYzu.js"),
|
|
15183
15204
|
import("./index-DRCvimau.js"),
|
|
15184
15205
|
import("./index-C_x_N6Uh.js"),
|
|
15185
15206
|
import("./index-D_sWOSiG.js"),
|
|
@@ -15397,7 +15418,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
15397
15418
|
* @returns {Object | void} Migration results
|
|
15398
15419
|
*/
|
|
15399
15420
|
processCollaborationMigrations() {
|
|
15400
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.34.
|
|
15421
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.34.6-RC1");
|
|
15401
15422
|
if (!this.options.ydoc) return;
|
|
15402
15423
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
15403
15424
|
let docVersion = metaMap.get("version");
|
|
@@ -18155,7 +18176,7 @@ const StructuredContentCommands = Extension.create({
|
|
|
18155
18176
|
* @param {string} id - Unique identifier of the field
|
|
18156
18177
|
* @param {StructuredContentUpdate} options
|
|
18157
18178
|
* @example
|
|
18158
|
-
* editor.commands.updateStructuredContentById('123', { text: 'Jane Doe' });
|
|
18179
|
+
* editor.commands.updateStructuredContentById('123', { text: 'Jane Doe', keepTextNodeStyles: true });
|
|
18159
18180
|
* editor.commands.updateStructuredContentById('123', {
|
|
18160
18181
|
* json: { type: 'text', text: 'Jane Doe' },
|
|
18161
18182
|
* });
|
|
@@ -18176,7 +18197,9 @@ const StructuredContentCommands = Extension.create({
|
|
|
18176
18197
|
const posTo = pos + node.nodeSize;
|
|
18177
18198
|
let content = null;
|
|
18178
18199
|
if (options.text) {
|
|
18179
|
-
|
|
18200
|
+
const firstTextNode = options.keepTextNodeStyles === true ? node.content.content.find((n) => n.type.name === "text") : null;
|
|
18201
|
+
const textMarks = firstTextNode ? firstTextNode.marks : [];
|
|
18202
|
+
content = schema.text(options.text, textMarks);
|
|
18180
18203
|
}
|
|
18181
18204
|
if (options.html) {
|
|
18182
18205
|
const html = htmlHandler(options.html, editor);
|
|
@@ -18190,6 +18213,13 @@ const StructuredContentCommands = Extension.create({
|
|
|
18190
18213
|
content = node.content;
|
|
18191
18214
|
}
|
|
18192
18215
|
const updatedNode = node.type.create({ ...node.attrs, ...options.attrs }, content, node.marks);
|
|
18216
|
+
try {
|
|
18217
|
+
const nodeForValidation = editor.validateJSON(updatedNode.toJSON());
|
|
18218
|
+
nodeForValidation.check();
|
|
18219
|
+
} catch (error) {
|
|
18220
|
+
console.error("Invalid content.", "Passed value:", content, "Error:", error);
|
|
18221
|
+
return false;
|
|
18222
|
+
}
|
|
18193
18223
|
tr.replaceWith(posFrom, posTo, updatedNode);
|
|
18194
18224
|
}
|
|
18195
18225
|
return true;
|
|
@@ -18274,7 +18304,7 @@ const StructuredContentCommands = Extension.create({
|
|
|
18274
18304
|
* @param {StructuredContentUpdate} options
|
|
18275
18305
|
* @example
|
|
18276
18306
|
* // Update all fields in the customer-info group
|
|
18277
|
-
* editor.commands.updateStructuredContentByGroup('customer-info', { text: 'Jane Doe' });
|
|
18307
|
+
* editor.commands.updateStructuredContentByGroup('customer-info', { text: 'Jane Doe', keepTextNodeStyles: true });
|
|
18278
18308
|
*
|
|
18279
18309
|
* // Update block content in a group
|
|
18280
18310
|
* editor.commands.updateStructuredContentByGroup('terms-section', {
|
|
@@ -18288,13 +18318,14 @@ const StructuredContentCommands = Extension.create({
|
|
|
18288
18318
|
}
|
|
18289
18319
|
const { schema } = editor;
|
|
18290
18320
|
if (dispatch) {
|
|
18291
|
-
|
|
18321
|
+
const updates = [];
|
|
18322
|
+
for (const structuredContent of structuredContentTags) {
|
|
18292
18323
|
const { pos, node } = structuredContent;
|
|
18293
|
-
const posFrom = tr.mapping.map(pos);
|
|
18294
|
-
const posTo = tr.mapping.map(pos + node.nodeSize);
|
|
18295
18324
|
let content = null;
|
|
18296
18325
|
if (options.text) {
|
|
18297
|
-
|
|
18326
|
+
const firstTextNode = options.keepTextNodeStyles === true ? node.content.content.find((n) => n.type.name === "text") : null;
|
|
18327
|
+
const textMarks = firstTextNode ? firstTextNode.marks : [];
|
|
18328
|
+
content = schema.text(options.text, textMarks);
|
|
18298
18329
|
}
|
|
18299
18330
|
if (options.html) {
|
|
18300
18331
|
const html = htmlHandler(options.html, editor);
|
|
@@ -18308,11 +18339,23 @@ const StructuredContentCommands = Extension.create({
|
|
|
18308
18339
|
content = node.content;
|
|
18309
18340
|
}
|
|
18310
18341
|
const updatedNode = node.type.create({ ...node.attrs, ...options.attrs }, content, node.marks);
|
|
18342
|
+
try {
|
|
18343
|
+
const nodeForValidation = editor.validateJSON(updatedNode.toJSON());
|
|
18344
|
+
nodeForValidation.check();
|
|
18345
|
+
} catch (error) {
|
|
18346
|
+
console.error("Invalid content.", "Passed value:", content, "Error:", error);
|
|
18347
|
+
return false;
|
|
18348
|
+
}
|
|
18349
|
+
updates.push({ pos, node, updatedNode });
|
|
18350
|
+
}
|
|
18351
|
+
for (const { pos, node, updatedNode } of updates) {
|
|
18352
|
+
const posFrom = tr.mapping.map(pos);
|
|
18353
|
+
const posTo = tr.mapping.map(pos + node.nodeSize);
|
|
18311
18354
|
const currentNode = tr.doc.nodeAt(posFrom);
|
|
18312
18355
|
if (currentNode && node.eq(currentNode)) {
|
|
18313
18356
|
tr.replaceWith(posFrom, posTo, updatedNode);
|
|
18314
18357
|
}
|
|
18315
|
-
}
|
|
18358
|
+
}
|
|
18316
18359
|
}
|
|
18317
18360
|
return true;
|
|
18318
18361
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
|
|
2
|
-
import { p as process$1 } from "./converter-
|
|
3
|
-
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-
|
|
2
|
+
import { p as process$1 } from "./converter-Ddl2ZmKy.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-B2T2u3JG.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -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-B2T2u3JG.js";
|
|
2
|
+
import "./chunks/converter-Ddl2ZmKy.js";
|
|
3
|
+
import "./chunks/docx-zipper-D1BgiAWm.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAVD,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAED,yDAGC;AAYD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAVD,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAED,yDAGC;AAYD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;EAUC;AAED,qEAuBC;AAED,0EAGC;AAtMD;;;;GAIG;AACH,iDAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAWlB;AApGD,sDAKC;AAdD,0DAOC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commentsExporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/exporter/commentsExporter.js"],"names":[],"mappings":"AAWO,yDAMN;AAUM,8DAHI,MAAM,sCAgChB;AAQM,kCAHI,MAAM,GACJ,MAAM,GAAG,IAAI,CAWzB;AAQM,8CAHI,MAAM,GACJ,MAAM,CAKlB;AASM,+CAJI,KAAQ,
|
|
1
|
+
{"version":3,"file":"commentsExporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/exporter/commentsExporter.js"],"names":[],"mappings":"AAWO,yDAMN;AAUM,8DAHI,MAAM,sCAgChB;AAQM,kCAHI,MAAM,GACJ,MAAM,GAAG,IAAI,CAWzB;AAQM,8CAHI,MAAM,GACJ,MAAM,CAKlB;AASM,+CAJI,KAAQ,yBAoClB;AASM,wFAyBN;AAWM,sGAiCN;AAOM,0CAEN;AAQM,6EAQN;AAQM,kFAeN;AAQM,4EASN;AAQM,0DAIN;AAQM;;;EAwCN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"del-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/del/del-translator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"del-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/del/del-translator.js"],"names":[],"mappings":"AAyFA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ins-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/ins/ins-translator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ins-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/ins/ins-translator.js"],"names":[],"mappings":"AAsFA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* @property {string} [html] - Replace content with HTML (only for structured content block)
|
|
19
19
|
* @property {Object} [json] - Replace content with ProseMirror JSON (overrides html)
|
|
20
20
|
* @property {Object} [attrs] - Update attributes only (preserves content)
|
|
21
|
+
* @property {boolean} [keepTextNodeStyles] - When true, preserves marks from the first text node (only applies with text option)
|
|
21
22
|
*/
|
|
22
23
|
/**
|
|
23
24
|
* @typedef {Object} StructuredContentTableAppendRowsOptions
|
|
@@ -76,6 +77,10 @@ export type StructuredContentUpdate = {
|
|
|
76
77
|
* - Update attributes only (preserves content)
|
|
77
78
|
*/
|
|
78
79
|
attrs?: any;
|
|
80
|
+
/**
|
|
81
|
+
* - When true, preserves marks from the first text node (only applies with text option)
|
|
82
|
+
*/
|
|
83
|
+
keepTextNodeStyles?: boolean;
|
|
79
84
|
};
|
|
80
85
|
export type StructuredContentTableAppendRowsOptions = {
|
|
81
86
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH
|
|
1
|
+
{"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;;;GAOG;AAEH;;;;;;GAMG;AAEH,kDAgfG;;;;;WA/gBW,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;WACN,MAAM;;;;;;;;;;;;yBAGN,OAAO;;;;;;QAKP,MAAM;;;;iBACN,MAAM;;;;UACN,KAAK,CAAC,MAAM,EAAE,CAAC,GAAC,KAAK,CAAC,MAAM,CAAC;;;;mBAC7B,OAAO;;0BAzCK,aAAa"}
|
package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/track-changes/permission-helpers.js"],"names":[],"mappings":"AAgDO,2DALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACxB,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;CACd,GAAU,KAAK,KAAQ,CAkBzB;AA+BM,iFALJ;IAAmE,MAAM,EAAjE;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"permission-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/track-changes/permission-helpers.js"],"names":[],"mappings":"AAgDO,2DALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACxB,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;CACd,GAAU,KAAK,KAAQ,CAkBzB;AA+BM,iFALJ;IAAmE,MAAM,EAAjE;;;;;;;;;;;;0BAsDk5igB,aAAa;;;;2BAAgoB,IAAI;;;;;;;6BAAwmI,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAwte,aAAa;0BAA3kyB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAA0kpC,UAAU;kDAAuV,UAAU,aAA+E,UAAU;oCAAgZ,UAAU;;;;;;;;;KAtDrrjiB;IACxB,MAAM,EAAhC,QAAQ,GAAC,QAAQ;IACK,cAAc,EAApC,KAAK,KAAQ;CACrB,GAAU,OAAO,CAkCnB;AAWM,iFALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACnB,GAAG,EAAvB,MAAM,GAAC,IAAI;IACS,eAAe,EAAnC,MAAM,GAAC,IAAI;CACnB,GAAU,KAAK,KAAQ,CAOzB"}
|
|
@@ -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, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter-
|
|
13
|
-
import { a5, i, a2 } from "./chunks/converter-
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, m as isHeadless, E as Editor, n as getStarterExtensions, P as Placeholder, o as getRichTextExtensions, D as DecorationSet, p as Decoration, M as Mark, q as Extension, A as Attribute, N as Node } from "./chunks/editor-
|
|
15
|
-
import { w, C, x, T, t, z, v } from "./chunks/editor-
|
|
12
|
+
import { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter-Ddl2ZmKy.js";
|
|
13
|
+
import { a5, i, a2 } from "./chunks/converter-Ddl2ZmKy.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, m as isHeadless, E as Editor, n as getStarterExtensions, P as Placeholder, o as getRichTextExtensions, D as DecorationSet, p as Decoration, M as Mark, q as Extension, A as Attribute, N as Node } from "./chunks/editor-B2T2u3JG.js";
|
|
15
|
+
import { w, C, x, T, t, z, v } from "./chunks/editor-B2T2u3JG.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, defineComponent, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-hyRTdNjv.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-D1BgiAWm.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
var hasRequiredEventemitter3;
|
package/dist/super-editor.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
|
-
require("./chunks/vue-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-C-hpEM8j.cjs");
|
|
4
|
+
require("./chunks/vue-ARQSyfaw.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
|
7
7
|
exports.BasicUpload = superEditor_es._sfc_main$4;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import "./chunks/vue-
|
|
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-kNY6AOSu.es.js";
|
|
2
|
+
import "./chunks/vue-B5QAf5pA.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
|
5
5
|
a as AnnotatorHelpers,
|
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-C-hpEM8j.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-QkGtTLUE.cjs");
|
|
5
5
|
const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
|
7
7
|
exports.Editor = superEditor_es.Editor;
|
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-kNY6AOSu.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-M9d0bJ9k.es.js";
|
|
3
3
|
import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
|
|
4
4
|
export {
|
|
5
5
|
a as AnnotatorHelpers,
|