@harbour-enterprises/superdoc 0.23.0-next.24 → 0.23.0-next.26

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.
Files changed (38) hide show
  1. package/dist/chunks/{PdfViewer-C8AMc13r.cjs → PdfViewer-Ba9s5reX.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-CxwrANQt.es.js → PdfViewer-D_3AuXzb.es.js} +1 -1
  3. package/dist/chunks/{index-D1mJXW5e.cjs → index-A1XH4hzI.cjs} +2 -2
  4. package/dist/chunks/{index-C3Ap3XRR.es.js → index-CZ9iIRr8.es.js} +2 -2
  5. package/dist/chunks/{super-editor.es-BoA7QIJp.es.js → super-editor.es-CcuilWh0.es.js} +3432 -3286
  6. package/dist/chunks/{super-editor.es-CQI1Qv00.cjs → super-editor.es-DhxK40cW.cjs} +3432 -3286
  7. package/dist/super-editor/ai-writer.es.js +2 -2
  8. package/dist/super-editor/chunks/{converter-C6S8yfbc.js → converter-B2Y-pDXk.js} +3527 -3385
  9. package/dist/super-editor/chunks/{docx-zipper-UtME8lZ1.js → docx-zipper-bhLh8OB6.js} +1 -1
  10. package/dist/super-editor/chunks/{editor-Ck6BbTU7.js → editor-GN9xFFdh.js} +6 -2
  11. package/dist/super-editor/chunks/{toolbar-C6MV2CtV.js → toolbar-UX3FTiEj.js} +2 -2
  12. package/dist/super-editor/converter.es.js +1 -1
  13. package/dist/super-editor/docx-zipper.es.js +2 -2
  14. package/dist/super-editor/editor.es.js +3 -3
  15. package/dist/super-editor/file-zipper.es.js +1 -1
  16. package/dist/super-editor/super-editor/src/core/super-converter/field-references/fld-preprocessors/num-pages-preprocessor.d.ts +1 -3
  17. package/dist/super-editor/super-editor/src/core/super-converter/field-references/fld-preprocessors/page-preprocessor.d.ts +1 -3
  18. package/dist/super-editor/super-editor/src/core/super-converter/field-references/fld-preprocessors/page-ref-preprocessor.d.ts +1 -2
  19. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/pictNodeImporter.d.ts +1 -109
  20. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-shape-textbox-import.d.ts +5 -0
  21. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts +12 -0
  22. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/parse-inline-styles.d.ts +5 -0
  23. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/pict-node-type-strategy.d.ts +5 -0
  24. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/translate-content-block.d.ts +10 -0
  25. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/translate-shape-container.d.ts +5 -0
  26. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/translate-shape-textbox.d.ts +5 -0
  27. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/index.d.ts +1 -0
  28. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/pict-translator.d.ts +6 -0
  29. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/handle-annotation-node.d.ts +3 -1
  30. package/dist/super-editor/super-editor.es.js +6 -6
  31. package/dist/super-editor/toolbar.es.js +2 -2
  32. package/dist/super-editor.cjs +1 -1
  33. package/dist/super-editor.es.js +1 -1
  34. package/dist/superdoc.cjs +2 -2
  35. package/dist/superdoc.es.js +2 -2
  36. package/dist/superdoc.umd.js +3410 -3264
  37. package/dist/superdoc.umd.js.map +1 -1
  38. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { p as process$1, aw as commonjsGlobal, B as Buffer, ax as getDefaultExportFromCjs, ay as getContentTypesFromXml, az as xmljs } from "./converter-C6S8yfbc.js";
1
+ import { p as process$1, aw as commonjsGlobal, B as Buffer, ax as getDefaultExportFromCjs, ay as getContentTypesFromXml, az as xmljs } from "./converter-B2Y-pDXk.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,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-C6S8yfbc.js";
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-B2Y-pDXk.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-UtME8lZ1.js";
17
+ import { D as DocxZipper } from "./docx-zipper-bhLh8OB6.js";
18
18
  var GOOD_LEAF_SIZE = 200;
19
19
  var RopeSequence = function RopeSequence2() {
20
20
  };
@@ -25152,6 +25152,10 @@ const FieldAnnotation = Node$1.create({
25152
25152
  hash: {
25153
25153
  rendered: false,
25154
25154
  default: null
25155
+ },
25156
+ sdtId: {
25157
+ rendered: false,
25158
+ default: null
25155
25159
  }
25156
25160
  };
25157
25161
  },
@@ -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-C6S8yfbc.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-Ck6BbTU7.js";
2
+ import { p as process$1 } from "./converter-B2Y-pDXk.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-GN9xFFdh.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -1,4 +1,4 @@
1
- import { a5 } from "./chunks/converter-C6S8yfbc.js";
1
+ import { a5 } from "./chunks/converter-B2Y-pDXk.js";
2
2
  import "vue";
3
3
  export {
4
4
  a5 as SuperConverter
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-C6S8yfbc.js";
2
- import { D } from "./chunks/docx-zipper-UtME8lZ1.js";
1
+ import "./chunks/converter-B2Y-pDXk.js";
2
+ import { D } from "./chunks/docx-zipper-bhLh8OB6.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-Ck6BbTU7.js";
2
- import "./chunks/converter-C6S8yfbc.js";
3
- import "./chunks/docx-zipper-UtME8lZ1.js";
1
+ import { E } from "./chunks/editor-GN9xFFdh.js";
2
+ import "./chunks/converter-B2Y-pDXk.js";
3
+ import "./chunks/docx-zipper-bhLh8OB6.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-UtME8lZ1.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-bhLh8OB6.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Processes a NUMPAGES instruction and creates a `sd:totalPageNumber` node.
3
3
  * @param {import('../../v2/types/index.js').OpenXmlNode[]} nodesToCombine The nodes to combine.
4
- * @param {string} _ The instruction text (unused).
5
- * @param {import('../v2/docxHelper').ParsedDocx} [__] - The docx object.
6
4
  * @returns {import('../../v2/types/index.js').OpenXmlNode[]}
7
5
  * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 1233
8
6
  */
9
- export function preProcessNumPagesInstruction(nodesToCombine: import("../../v2/types/index.js").OpenXmlNode[], _: string, __?: any): import("../../v2/types/index.js").OpenXmlNode[];
7
+ export function preProcessNumPagesInstruction(nodesToCombine: import("../../v2/types/index.js").OpenXmlNode[]): import("../../v2/types/index.js").OpenXmlNode[];
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Processes a PAGE instruction and creates a `sd:autoPageNumber` node.
3
3
  * @param {import('../../v2/types/index.js').OpenXmlNode[]} nodesToCombine The nodes to combine.
4
- * @param {string} _ The instruction text (unused).
5
- * @param {import('../v2/docxHelper').ParsedDocx} [__] - The docx object.
6
4
  * @returns {import('../../v2/types/index.js').OpenXmlNode[]}
7
5
  * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 1234
8
6
  */
9
- export function preProcessPageInstruction(nodesToCombine: import("../../v2/types/index.js").OpenXmlNode[], _: string, __?: any): import("../../v2/types/index.js").OpenXmlNode[];
7
+ export function preProcessPageInstruction(nodesToCombine: import("../../v2/types/index.js").OpenXmlNode[]): import("../../v2/types/index.js").OpenXmlNode[];
@@ -2,8 +2,7 @@
2
2
  * Processes a PAGEREF instruction and creates a `sd:pageReference` node.
3
3
  * @param {import('../../v2/types/index.js').OpenXmlNode[]} nodesToCombine The nodes to combine.
4
4
  * @param {string} instrText The instruction text.
5
- * @param {import('../v2/docxHelper').ParsedDocx} [__] - The docx object.
6
5
  * @returns {import('../../v2/types/index.js').OpenXmlNode[]}
7
6
  * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 1234
8
7
  */
9
- export function preProcessPageRefInstruction(nodesToCombine: import("../../v2/types/index.js").OpenXmlNode[], instrText: string, _: any): import("../../v2/types/index.js").OpenXmlNode[];
8
+ export function preProcessPageRefInstruction(nodesToCombine: import("../../v2/types/index.js").OpenXmlNode[], instrText: string): import("../../v2/types/index.js").OpenXmlNode[];
@@ -1,113 +1,5 @@
1
- export function handleVRectImport({ rect, pNode }: {
2
- rect: any;
3
- pNode: any;
4
- }): {
5
- type: string;
6
- content: {
7
- type: string;
8
- attrs: {
9
- attributes: any;
10
- style: string;
11
- size: {};
12
- background: any;
13
- vmlAttributes: {
14
- hralign: any;
15
- hrstd: any;
16
- hr: any;
17
- stroked: any;
18
- };
19
- horizontalRule: boolean;
20
- };
21
- }[];
22
- attrs: {
23
- spacing: {
24
- lineSpaceAfter: number;
25
- lineSpaceBefore: number;
26
- line: number;
27
- lineRule: any;
28
- };
29
- rsidRDefault: any;
30
- indent: {
31
- left: number;
32
- right: number;
33
- firstLine: number;
34
- hanging: number;
35
- };
36
- };
37
- };
38
- export function handleShapTextboxImport({ shape, params }: {
39
- shape: any;
40
- params: any;
41
- }): {
42
- type: string;
43
- attrs: {
44
- attributes: any;
45
- fillcolor: any;
46
- style: string;
47
- wrapAttributes: any;
48
- };
49
- content: {
50
- type: string;
51
- attrs: {
52
- attributes: any;
53
- };
54
- content: any;
55
- }[];
56
- };
57
- export function parsePointsToPixels(value: any): any;
58
1
  export function handlePictNode(params: any): {
59
- nodes: {
60
- type: string;
61
- content: {
62
- type: string;
63
- attrs: {
64
- attributes: any;
65
- style: string;
66
- size: {};
67
- background: any;
68
- vmlAttributes: {
69
- hralign: any;
70
- hrstd: any;
71
- hr: any;
72
- stroked: any;
73
- };
74
- horizontalRule: boolean;
75
- };
76
- }[];
77
- attrs: {
78
- spacing: {
79
- lineSpaceAfter: number;
80
- lineSpaceBefore: number;
81
- line: number;
82
- lineRule: any;
83
- };
84
- rsidRDefault: any;
85
- indent: {
86
- left: number;
87
- right: number;
88
- firstLine: number;
89
- hanging: number;
90
- };
91
- };
92
- }[];
93
- consumed: number;
94
- } | {
95
- nodes: {
96
- type: string;
97
- attrs: {
98
- attributes: any;
99
- fillcolor: any;
100
- style: string;
101
- wrapAttributes: any;
102
- };
103
- content: {
104
- type: string;
105
- attrs: {
106
- attributes: any;
107
- };
108
- content: any;
109
- }[];
110
- }[];
2
+ nodes: any[];
111
3
  consumed: number;
112
4
  };
113
5
  export namespace pictNodeHandlerEntity {
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @param {Object} options
3
+ * @returns {Object}
4
+ */
5
+ export function handleShapeTextboxImport({ params, pict }: any): any;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Handler for v:rect elements
3
+ * @param {Object} options
4
+ * @returns {Object}
5
+ */
6
+ export function handleVRectImport({ pNode, pict }: any): any;
7
+ export function parsePointsToPixels(value: any): any;
8
+ /**
9
+ * @param {Object} styleObject
10
+ * @returns {string}
11
+ */
12
+ export function buildVRectStyles(styleObject: any): string;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @param {string} styleString
3
+ * @returns {Object}
4
+ */
5
+ export function parseInlineStyles(styleString: string): any;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @param {Object} node
3
+ * @returns {Object}
4
+ */
5
+ export function pictNodeTypeStrategy(node: any): any;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @param {Object} params - The parameters for translation.
3
+ * @returns {Object} The XML representation.
4
+ */
5
+ export function translateContentBlock(params: any): any;
6
+ /**
7
+ * @param {Object} params - The parameters for translation.
8
+ * @returns {Object} The XML representation.
9
+ */
10
+ export function translateVRectContentBlock(params: any): any;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @param {Object} params - The parameters for translation.
3
+ * @returns {Object} The XML representation.
4
+ */
5
+ export function translateShapeContainer(params: any): any;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @param {Object} params - The parameters for translation.
3
+ * @returns {Object} The XML representation.
4
+ */
5
+ export function translateShapeTextbox(params: any): any;
@@ -0,0 +1 @@
1
+ export * from "./pict-translator";
@@ -0,0 +1,6 @@
1
+ /** @type {import('@translator').NodeTranslatorConfig} */
2
+ export const config: import("@translator").NodeTranslatorConfig;
3
+ /**
4
+ * @type {import('@translator').NodeTranslator}
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -3,10 +3,11 @@
3
3
  * @returns {Object|null}
4
4
  */
5
5
  export function handleAnnotationNode(params: any): any | null;
6
- export function getAttrsFromElements({ sdtPr, tag, alias }: {
6
+ export function getAttrsFromElements({ sdtPr, tag, alias, sdtId }: {
7
7
  sdtPr: any;
8
8
  tag: any;
9
9
  alias: any;
10
+ sdtId: any;
10
11
  }): {
11
12
  type: any;
12
13
  fieldId: any;
@@ -18,5 +19,6 @@ export function getAttrsFromElements({ sdtPr, tag, alias }: {
18
19
  fontSize: any;
19
20
  textColor: any;
20
21
  textHighlight: any;
22
+ sdtId: any;
21
23
  };
22
24
  export function parseAnnotationMarks(content?: any): any;
@@ -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 commentRangeEndTranslator, aH as commentRangeStartTranslator, aI as translator, aJ as translator$1, aK as translator$2, aL as translator$3, aM as translator$4, aN as translator$5, aO as translator$6, aP as translator$7, aQ as translator$8, aR as translator$9, aS as translator$a, aT as translator$b, aU as translator$c, aV as translator$d, aW as translator$e, aX as translator$f, aY as translator$g, aZ as translator$h, a_ as translator$i, a$ as translator$j, b0 as translator$k, b1 as translator$l, b2 as translator$m, b3 as translator$n, b4 as translator$o, b5 as translator$p, b6 as translator$q, b7 as translator$r, b8 as translator$s, b9 as translator$t, ba as translator$u, bb as translator$v, bc as translator$w, bd as translator$x, be as translator$y, bf as translator$z, bg as translator$A, bh as translator$B, bi as translator$C, bj as translator$D, bk as translator$E, bl as translator$F, bm as translator$G, bn as translator$H, bo as translator$I, bp as translator$J, bq as translator$K, br as translator$L, bs as translator$M, bt as translator$N, bu as translator$O, bv as translator$P, bw as translator$Q, bx as translator$R, by as translator$S, bz as translator$T, bA as translator$U, bB as translator$V, bC as translator$W, bD as translator$X, bE as translator$Y, bF as translator$Z, bG as translator$_, bH as translator$$, bI as translator$10, bJ as translator$11, bK as translator$12, a as Plugin } from "./chunks/converter-C6S8yfbc.js";
13
- import { bL, a5, i, a2 } from "./chunks/converter-C6S8yfbc.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-Ck6BbTU7.js";
15
- import { n, C, o, T, l, p, m } from "./chunks/editor-Ck6BbTU7.js";
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 commentRangeEndTranslator, aH as commentRangeStartTranslator, aI as translator, aJ as translator$1, aK as translator$2, aL as translator$3, aM as translator$4, aN as translator$5, aO as translator$6, aP as translator$7, aQ as translator$8, aR as translator$9, aS as translator$a, aT as translator$b, aU as translator$c, aV as translator$d, aW as translator$e, aX as translator$f, aY as translator$g, aZ as translator$h, a_ as translator$i, a$ as translator$j, b0 as translator$k, b1 as translator$l, b2 as translator$m, b3 as translator$n, b4 as translator$o, b5 as translator$p, b6 as translator$q, b7 as translator$r, b8 as translator$s, b9 as translator$t, ba as translator$u, bb as translator$v, bc as translator$w, bd as translator$x, be as translator$y, bf as translator$z, bg as translator$A, bh as translator$B, bi as translator$C, bj as translator$D, bk as translator$E, bl as translator$F, bm as translator$G, bn as translator$H, bo as translator$I, bp as translator$J, bq as translator$K, br as translator$L, bs as translator$M, bt as translator$N, bu as translator$O, bv as translator$P, bw as translator$Q, bx as translator$R, by as translator$S, bz as translator$T, bA as translator$U, bB as translator$V, bC as translator$W, bD as translator$X, bE as translator$Y, bF as translator$Z, bG as translator$_, bH as translator$$, bI as translator$10, bJ as translator$11, bK as translator$12, a as Plugin } from "./chunks/converter-B2Y-pDXk.js";
13
+ import { bL, a5, i, a2 } from "./chunks/converter-B2Y-pDXk.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-GN9xFFdh.js";
15
+ import { n, C, o, T, l, p, m } from "./chunks/editor-GN9xFFdh.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-C6MV2CtV.js";
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-UX3FTiEj.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-UtME8lZ1.js";
19
+ import { D } from "./chunks/docx-zipper-bhLh8OB6.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-C6MV2CtV.js";
3
- import "./chunks/editor-Ck6BbTU7.js";
2
+ import { T } from "./chunks/toolbar-UX3FTiEj.js";
3
+ import "./chunks/editor-GN9xFFdh.js";
4
4
  export {
5
5
  T as default
6
6
  };
@@ -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-CQI1Qv00.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-DhxK40cW.cjs");
4
4
  require("./chunks/vue-DKMj1I9B.cjs");
5
5
  exports.AIWriter = superEditor_es.AIWriter;
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
@@ -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-BoA7QIJp.es.js";
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-CcuilWh0.es.js";
2
2
  import "./chunks/vue-ZWZLQtoU.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-CQI1Qv00.cjs");
4
- const superdoc = require("./chunks/index-D1mJXW5e.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-DhxK40cW.cjs");
4
+ const superdoc = require("./chunks/index-A1XH4hzI.cjs");
5
5
  require("./chunks/vue-DKMj1I9B.cjs");
6
6
  const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
7
7
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
@@ -1,5 +1,5 @@
1
- import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-BoA7QIJp.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-C3Ap3XRR.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-CcuilWh0.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-CZ9iIRr8.es.js";
3
3
  import "./chunks/vue-ZWZLQtoU.es.js";
4
4
  import { B } from "./chunks/blank-docx-iwdyG9RH.es.js";
5
5
  export {