@harbour-enterprises/superdoc 0.23.0-next.3 → 0.23.0-next.5
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-BfGJJ5Fk.es.js → PdfViewer-BlOezZGN.es.js} +2 -2
- package/dist/chunks/{PdfViewer-Cm-ziNtE.cjs → PdfViewer-D89-VJvM.cjs} +2 -2
- package/dist/chunks/{eventemitter3-CZv6vEhA.es.js → eventemitter3-CR2eBWft.es.js} +1 -1
- package/dist/chunks/{eventemitter3-B_kO1Pxm.cjs → eventemitter3-DSRogsNq.cjs} +1 -1
- package/dist/chunks/{index-CJIVhJxE.cjs → index-9hY1WuxT.cjs} +30 -13
- package/dist/chunks/{index-Bl4NtKeS.es.js → index-DTw4eF5D.es.js} +30 -13
- package/dist/chunks/{jszip-b7l8QkfH.cjs → jszip-B4LDL19y.cjs} +1 -1
- package/dist/chunks/{jszip-B8KIZSNe.es.js → jszip-DAXEPCUv.es.js} +1 -1
- package/dist/chunks/{super-editor.es-C7stybby.cjs → super-editor.es-C8gNFcB_.cjs} +81 -23
- package/dist/chunks/{super-editor.es-DQnqUJZs.es.js → super-editor.es-C9Ql0kHS.es.js} +81 -23
- package/dist/chunks/{vue-DWle4Cai.cjs → vue-DKMj1I9B.cjs} +39 -42
- package/dist/chunks/{vue-CXxsqYcP.es.js → vue-ZWZLQtoU.es.js} +39 -42
- package/dist/chunks/xml-js-Bbc0NeKa.es.js +2 -0
- package/dist/chunks/xml-js-CWV8R-ek.cjs +3 -0
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/stores/superdoc-store.d.ts.map +1 -1
- package/dist/style.css +27 -27
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BVirrB35.js → converter-ClnqoStR.js} +16 -18
- package/dist/super-editor/chunks/{docx-zipper-Cpb9d2an.js → docx-zipper-DC28ucAi.js} +1 -1
- package/dist/super-editor/chunks/{editor-DIINh50j.js → editor-DLan-MJ6.js} +66 -6
- package/dist/super-editor/chunks/{toolbar-CmDmkPHL.js → toolbar-CekMv4Mk.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/Attribute.d.ts +2 -2
- package/dist/super-editor/src/core/Schema.d.ts +2 -2
- package/dist/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTagsByAlias.d.ts +8 -0
- package/dist/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +1 -0
- 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 +4 -4
- package/dist/superdoc.es.js +4 -4
- package/dist/superdoc.umd.js +139 -64
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-CX8FH0He.cjs +0 -3
- package/dist/chunks/xml-js-D0tLGmKu.es.js +0 -2
|
@@ -12,9 +12,9 @@ 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, registerPluginByNameIfNotExists_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_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, _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 docxNumberigHelpers, ap as parseIndentElement, aq as combineIndents, ar as SelectionRange, as as Transform, at as isInTable$1, au as generateDocxRandomId, av as insertNewRelationship } from "./converter-
|
|
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 docxNumberigHelpers, ap as parseIndentElement, aq as combineIndents, ar as SelectionRange, as as Transform, at as isInTable$1, au as generateDocxRandomId, av as insertNewRelationship } from "./converter-ClnqoStR.js";
|
|
16
16
|
import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
|
|
17
|
-
import { D as DocxZipper } from "./docx-zipper-
|
|
17
|
+
import { D as DocxZipper } from "./docx-zipper-DC28ucAi.js";
|
|
18
18
|
var GOOD_LEAF_SIZE = 200;
|
|
19
19
|
var RopeSequence = function RopeSequence2() {
|
|
20
20
|
};
|
|
@@ -5034,8 +5034,7 @@ function readDOMChange(view, from2, to, typeOver, addedNodes) {
|
|
|
5034
5034
|
let $to = parse.doc.resolveNoCache(change.endB - parse.from);
|
|
5035
5035
|
let $fromA = doc2.resolve(change.start);
|
|
5036
5036
|
let inlineChange = $from.sameParent($to) && $from.parent.inlineContent && $fromA.end() >= change.endA;
|
|
5037
|
-
|
|
5038
|
-
if ((ios && view.input.lastIOSEnter > Date.now() - 225 && (!inlineChange || addedNodes.some((n) => n.nodeName == "DIV" || n.nodeName == "P")) || !inlineChange && $from.pos < parse.doc.content.size && (!$from.sameParent($to) || !$from.parent.inlineContent) && !/\S/.test(parse.doc.textBetween($from.pos, $to.pos, "", "")) && (nextSel = Selection.findFrom(parse.doc.resolve($from.pos + 1), 1, true)) && nextSel.head > $from.pos) && view.someProp("handleKeyDown", (f) => f(view, keyEvent(13, "Enter")))) {
|
|
5037
|
+
if ((ios && view.input.lastIOSEnter > Date.now() - 225 && (!inlineChange || addedNodes.some((n) => n.nodeName == "DIV" || n.nodeName == "P")) || !inlineChange && $from.pos < parse.doc.content.size && (!$from.sameParent($to) || !$from.parent.inlineContent) && $from.pos < $to.pos && !/\S/.test(parse.doc.textBetween($from.pos, $to.pos, "", ""))) && view.someProp("handleKeyDown", (f) => f(view, keyEvent(13, "Enter")))) {
|
|
5039
5038
|
view.input.lastIOSEnter = 0;
|
|
5040
5039
|
return;
|
|
5041
5040
|
}
|
|
@@ -17357,6 +17356,17 @@ function getStructuredContentTagsById(idOrIds, state) {
|
|
|
17357
17356
|
});
|
|
17358
17357
|
return result;
|
|
17359
17358
|
}
|
|
17359
|
+
function getStructuredContentTagsByAlias(aliasOrAliases, state) {
|
|
17360
|
+
const result = findChildren$5(state.doc, (node) => {
|
|
17361
|
+
const isStructuredContent = ["structuredContent", "structuredContentBlock"].includes(node.type.name);
|
|
17362
|
+
if (Array.isArray(aliasOrAliases)) {
|
|
17363
|
+
return isStructuredContent && aliasOrAliases.includes(node.attrs.alias);
|
|
17364
|
+
} else {
|
|
17365
|
+
return isStructuredContent && node.attrs.alias === aliasOrAliases;
|
|
17366
|
+
}
|
|
17367
|
+
});
|
|
17368
|
+
return result;
|
|
17369
|
+
}
|
|
17360
17370
|
function getStructuredContentTags(state) {
|
|
17361
17371
|
const result = findChildren$5(state.doc, (node) => {
|
|
17362
17372
|
return node.type.name === "structuredContent" || node.type.name === "structuredContentBlock";
|
|
@@ -17376,6 +17386,7 @@ const structuredContentHelpers = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ O
|
|
|
17376
17386
|
getStructuredContentBlockTags,
|
|
17377
17387
|
getStructuredContentInlineTags,
|
|
17378
17388
|
getStructuredContentTags,
|
|
17389
|
+
getStructuredContentTagsByAlias,
|
|
17379
17390
|
getStructuredContentTagsById
|
|
17380
17391
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
17381
17392
|
const STRUCTURED_CONTENT_NAMES = ["structuredContent", "structuredContentBlock"];
|
|
@@ -17464,10 +17475,11 @@ const StructuredContentCommands = Extension.create({
|
|
|
17464
17475
|
return true;
|
|
17465
17476
|
},
|
|
17466
17477
|
/**
|
|
17467
|
-
* Updates a structured content
|
|
17478
|
+
* Updates a single structured content field by its unique ID.
|
|
17479
|
+
* IDs are unique identifiers, so this will update at most one field.
|
|
17468
17480
|
* If the updated node does not match the schema, it will not be updated.
|
|
17469
17481
|
* @category Command
|
|
17470
|
-
* @param {string} id
|
|
17482
|
+
* @param {string} id - Unique identifier of the field
|
|
17471
17483
|
* @param {StructuredContentUpdate} options
|
|
17472
17484
|
*/
|
|
17473
17485
|
updateStructuredContentById: (id, options = {}) => ({ editor, dispatch, state, tr }) => {
|
|
@@ -17507,6 +17519,54 @@ const StructuredContentCommands = Extension.create({
|
|
|
17507
17519
|
}
|
|
17508
17520
|
return true;
|
|
17509
17521
|
},
|
|
17522
|
+
/**
|
|
17523
|
+
* Updates all structured content fields with the same alias.
|
|
17524
|
+
* Unlike IDs (which are unique), aliases can be shared across multiple fields.
|
|
17525
|
+
* This will update every field that matches the given alias.
|
|
17526
|
+
* If any updated node does not match the schema, no updates will be applied.
|
|
17527
|
+
* @category Command
|
|
17528
|
+
* @param {string} alias - Shared identifier for fields (e.g., "customer_name")
|
|
17529
|
+
* @param {StructuredContentUpdate} options
|
|
17530
|
+
*/
|
|
17531
|
+
updateStructuredContentByAlias: (alias, options = {}) => ({ editor, dispatch, state, tr }) => {
|
|
17532
|
+
const structuredContentTags = getStructuredContentTagsByAlias(alias, state);
|
|
17533
|
+
if (!structuredContentTags.length) {
|
|
17534
|
+
return true;
|
|
17535
|
+
}
|
|
17536
|
+
const { schema } = editor;
|
|
17537
|
+
const updates = [];
|
|
17538
|
+
for (const { pos, node } of structuredContentTags) {
|
|
17539
|
+
let content = null;
|
|
17540
|
+
if (options.text) {
|
|
17541
|
+
content = schema.text(options.text);
|
|
17542
|
+
}
|
|
17543
|
+
if (options.html) {
|
|
17544
|
+
const html = htmlHandler(options.html, editor);
|
|
17545
|
+
const doc2 = DOMParser$1.fromSchema(schema).parse(html);
|
|
17546
|
+
content = doc2.content;
|
|
17547
|
+
}
|
|
17548
|
+
if (options.json) {
|
|
17549
|
+
content = schema.nodeFromJSON(options.json);
|
|
17550
|
+
}
|
|
17551
|
+
if (!content) {
|
|
17552
|
+
content = node.content;
|
|
17553
|
+
}
|
|
17554
|
+
const updatedNode = node.type.create({ ...node.attrs, ...options.attrs }, content, node.marks);
|
|
17555
|
+
try {
|
|
17556
|
+
updatedNode.check();
|
|
17557
|
+
updates.push({ pos, node: updatedNode, size: node.nodeSize });
|
|
17558
|
+
} catch {
|
|
17559
|
+
console.error("Updated node does not conform to the schema");
|
|
17560
|
+
return false;
|
|
17561
|
+
}
|
|
17562
|
+
}
|
|
17563
|
+
if (dispatch) {
|
|
17564
|
+
updates.reverse().forEach(({ pos, node, size }) => {
|
|
17565
|
+
tr.replaceWith(pos, pos + size, node);
|
|
17566
|
+
});
|
|
17567
|
+
}
|
|
17568
|
+
return true;
|
|
17569
|
+
},
|
|
17510
17570
|
/**
|
|
17511
17571
|
* Removes a structured content.
|
|
17512
17572
|
* @category Command
|
|
@@ -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-ClnqoStR.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DLan-MJ6.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-DLan-MJ6.js";
|
|
2
|
+
import "./chunks/converter-ClnqoStR.js";
|
|
3
|
+
import "./chunks/docx-zipper-DC28ucAi.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -15,14 +15,14 @@ export class Attribute {
|
|
|
15
15
|
* @param defaultAttribute Default attribute.
|
|
16
16
|
* @returns Global extension attributes.
|
|
17
17
|
*/
|
|
18
|
-
static #getGlobalAttributes(extensions: any, defaultAttribute: any): any[];
|
|
18
|
+
static "__#private@#getGlobalAttributes"(extensions: any, defaultAttribute: any): any[];
|
|
19
19
|
/**
|
|
20
20
|
* Get a list of attributes defined in the Node and Mark extensions.
|
|
21
21
|
* @param extensions List of all extensions.
|
|
22
22
|
* @param defaultAttribute Default attribute.
|
|
23
23
|
* @returns Node and Mark extension attributes.
|
|
24
24
|
*/
|
|
25
|
-
static #getNodeAndMarksAttributes(extensions: any, defaultAttribute: any): {
|
|
25
|
+
static "__#private@#getNodeAndMarksAttributes"(extensions: any, defaultAttribute: any): {
|
|
26
26
|
type: any;
|
|
27
27
|
name: string;
|
|
28
28
|
attribute: any;
|
|
@@ -16,7 +16,7 @@ export class Schema {
|
|
|
16
16
|
* @param editor Editor instance.
|
|
17
17
|
* @returns Nodes schema.
|
|
18
18
|
*/
|
|
19
|
-
static #createNodesSchema(nodeExtensions: any, attributes: any, editor: any): {
|
|
19
|
+
static "__#private@#createNodesSchema"(nodeExtensions: any, attributes: any, editor: any): {
|
|
20
20
|
[k: string]: any;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
@@ -26,7 +26,7 @@ export class Schema {
|
|
|
26
26
|
* @param editor Editor instance.
|
|
27
27
|
* @returns Marks schema.
|
|
28
28
|
*/
|
|
29
|
-
static #createMarksSchema(markExtensions: any, attributes: any, editor: any): {
|
|
29
|
+
static "__#private@#createMarksSchema"(markExtensions: any, attributes: any, editor: any): {
|
|
30
30
|
[k: string]: any;
|
|
31
31
|
};
|
|
32
32
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gets structured content tags by alias in the state.
|
|
3
|
+
* @param {string | string[]} aliasOrAliases
|
|
4
|
+
* @param {EditorState} state Editor state.
|
|
5
|
+
* @returns {Array}
|
|
6
|
+
*/
|
|
7
|
+
export function getStructuredContentTagsByAlias(aliasOrAliases: string | string[], state: EditorState): any[];
|
|
8
|
+
import { EditorState } from 'prosemirror-state';
|
|
@@ -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, at as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as runPropertyTranslators, aG as translator, aH as translator$1, aI as translator$2, aJ as translator$3, aK as translator$4, aL as translator$5, aM as translator$6, aN as translator$7, aO as translator$8, aP as translator$9, aQ as translator$a, aR as translator$b, aS as translator$c, aT as translator$d, aU as translator$e, aV as translator$f, aW as translator$g, aX as translator$h, aY as translator$i, aZ as translator$j, a_ as translator$k, a$ as translator$l, b0 as translator$m, b1 as translator$n, b2 as translator$o, b3 as translator$p, b4 as translator$q, b5 as translator$r, b6 as translator$s, b7 as translator$t, b8 as translator$u, b9 as translator$v, ba as translator$w, bb as translator$x, bc as translator$y, bd as translator$z, be as translator$A, bf as translator$B, bg as translator$C, bh as translator$D, bi as translator$E, bj as translator$F, bk as translator$G, bl as translator$H, bm as translator$I, bn as translator$J, bo as translator$K, bp as translator$L, bq as translator$M, br as translator$N, bs as translator$O, bt as translator$P, bu as translator$Q, bv as translator$R, bw as translator$S, bx as translator$T, by as translator$U, bz as translator$V, bA as translator$W, bB as translator$X, bC as translator$Y, bD as translator$Z, bE as translator$_, bF as translator$$, bG as translator$10, bH as translator$11, bI as translator$12, a as Plugin } from "./chunks/converter-
|
|
13
|
-
import { bJ, a5, i, a2 } from "./chunks/converter-
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, y as yUndoPluginKey, f as undoDepth, h as redoDepth, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, i as getStarterExtensions, P as Placeholder, j as getRichTextExtensions, M as Mark, k as Extension, A as Attribute, N as Node } from "./chunks/editor-
|
|
15
|
-
import { n, C, o, T, l, p, m } 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, at as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as runPropertyTranslators, aG as translator, aH as translator$1, aI as translator$2, aJ as translator$3, aK as translator$4, aL as translator$5, aM as translator$6, aN as translator$7, aO as translator$8, aP as translator$9, aQ as translator$a, aR as translator$b, aS as translator$c, aT as translator$d, aU as translator$e, aV as translator$f, aW as translator$g, aX as translator$h, aY as translator$i, aZ as translator$j, a_ as translator$k, a$ as translator$l, b0 as translator$m, b1 as translator$n, b2 as translator$o, b3 as translator$p, b4 as translator$q, b5 as translator$r, b6 as translator$s, b7 as translator$t, b8 as translator$u, b9 as translator$v, ba as translator$w, bb as translator$x, bc as translator$y, bd as translator$z, be as translator$A, bf as translator$B, bg as translator$C, bh as translator$D, bi as translator$E, bj as translator$F, bk as translator$G, bl as translator$H, bm as translator$I, bn as translator$J, bo as translator$K, bp as translator$L, bq as translator$M, br as translator$N, bs as translator$O, bt as translator$P, bu as translator$Q, bv as translator$R, bw as translator$S, bx as translator$T, by as translator$U, bz as translator$V, bA as translator$W, bB as translator$X, bC as translator$Y, bD as translator$Z, bE as translator$_, bF as translator$$, bG as translator$10, bH as translator$11, bI as translator$12, a as Plugin } from "./chunks/converter-ClnqoStR.js";
|
|
13
|
+
import { bJ, a5, i, a2 } from "./chunks/converter-ClnqoStR.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, y as yUndoPluginKey, f as undoDepth, h as redoDepth, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, i as getStarterExtensions, P as Placeholder, j as getRichTextExtensions, M as Mark, k as Extension, A as Attribute, N as Node } from "./chunks/editor-DLan-MJ6.js";
|
|
15
|
+
import { n, C, o, T, l, p, m } from "./chunks/editor-DLan-MJ6.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-CekMv4Mk.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-DC28ucAi.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-C8gNFcB_.cjs");
|
|
4
|
+
require("./chunks/vue-DKMj1I9B.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
|
7
7
|
exports.BasicUpload = superEditor_es._sfc_main;
|
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-C9Ql0kHS.es.js";
|
|
2
|
+
import "./chunks/vue-ZWZLQtoU.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
|
5
5
|
a as AnnotatorHelpers,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
5
|
-
require("./chunks/vue-
|
|
6
|
-
require("./chunks/jszip-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-C8gNFcB_.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-9hY1WuxT.cjs");
|
|
5
|
+
require("./chunks/vue-DKMj1I9B.cjs");
|
|
6
|
+
require("./chunks/jszip-B4LDL19y.cjs");
|
|
7
7
|
const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
|
|
8
8
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
|
9
9
|
exports.Editor = superEditor_es.Editor;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
3
|
-
import "./chunks/vue-
|
|
4
|
-
import "./chunks/jszip-
|
|
1
|
+
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-C9Ql0kHS.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-DTw4eF5D.es.js";
|
|
3
|
+
import "./chunks/vue-ZWZLQtoU.es.js";
|
|
4
|
+
import "./chunks/jszip-DAXEPCUv.es.js";
|
|
5
5
|
import { B } from "./chunks/blank-docx-iwdyG9RH.es.js";
|
|
6
6
|
export {
|
|
7
7
|
a as AnnotatorHelpers,
|