superdoc 0.31.0-next.3 → 0.31.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-UMfEMyPR.es.js → PdfViewer-BjFaPQBd.es.js} +1 -1
- package/dist/chunks/{PdfViewer-DoOKSkNf.cjs → PdfViewer-DXwcotXc.cjs} +1 -1
- package/dist/chunks/{index-D78pvKjo.es.js → index-B6TttOzK.es.js} +3 -3
- package/dist/chunks/{index-B74saKaW-CeHVjvs8.es.js → index-B7dC-H-Q-BeQx_MXI.es.js} +1 -1
- package/dist/chunks/{index-B74saKaW-nw0M-3t9.cjs → index-B7dC-H-Q-DfBEU7rR.cjs} +1 -1
- package/dist/chunks/{index-CjrYy0l4.cjs → index-BF_Yvius.cjs} +3 -3
- package/dist/chunks/{super-editor.es-DTqtLZgT.cjs → super-editor.es-CVDIAxlg.cjs} +1037 -1002
- package/dist/chunks/{super-editor.es-CQFVPho1.es.js → super-editor.es-M2e4wbRW.es.js} +1037 -1002
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BdxQSBuI.js → converter-BIsS-JzD.js} +1055 -1020
- package/dist/super-editor/chunks/{docx-zipper-CeENQy4K.js → docx-zipper-DVDiaIyD.js} +1 -1
- package/dist/super-editor/chunks/{editor-fHPBoGEW.js → editor-ZbcM1RTL.js} +4 -4
- package/dist/super-editor/chunks/{index-B74saKaW.js → index-B7dC-H-Q.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-DVn2P_6q.js → toolbar-8qqw8IXG.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/exporter.d.ts +0 -48
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/autoPageNumberImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts.map +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 +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +1041 -1006
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as process$1, aE as commonjsGlobal, B as Buffer, aF as getDefaultExportFromCjs, aG as getContentTypesFromXml, aH as xmljs } from "./converter-
|
|
1
|
+
import { p as process$1, aE as commonjsGlobal, B as Buffer, aF as getDefaultExportFromCjs, aG as getContentTypesFromXml, aH as xmljs } from "./converter-BIsS-JzD.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, isElementNode_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, getPluginKeyName_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, _ParagraphNodeView_instances, updateHTMLAttributes_fn, updateListStyles_fn, initList_fn, checkIsList_fn, createMarker_fn, createSeparator_fn, calculateTabSeparatorStyle_fn, calculateMarkerStyle_fn, removeList_fn, getParagraphContext_fn, scheduleAnimation_fn, cancelScheduledAnimation_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 htmlHandler, E as ReplaceStep, L as ListHelpers, G as updateNumberingProperties, H as changeListLevel, I as findParentNode, J as isList, K as isMacOS, O as isIOS, Q as getSchemaTypeByName, U as inputRulesPlugin, V as TrackDeleteMarkName, W as TrackInsertMarkName, X as v4, Y as TrackFormatMarkName, Z as comments_module_events, _ as findMark, $ as objectIncludes, a0 as AddMarkStep, a1 as RemoveMarkStep, a2 as twipsToLines, a3 as pixelsToTwips, a4 as helpers, a5 as posToDOMRect, a6 as CommandService, a7 as SuperConverter, a8 as createDocument, a9 as createDocFromMarkdown, aa as createDocFromHTML, ab as EditorState, ac as hasSomeParentWithClass, ad as isActive, ae as unflattenListsInHtml, af as parseSizeUnit, ag as minMax, ah as getLineHeightValueString, ai as updateDOMAttributes, aj as findChildren$5, ak as generateRandomSigned32BitIntStrId, al as kebabCase, am as twipsToPixels, an as halfPointToPixels, ao as getUnderlineCssString, ap as findParentNodeClosestToPos, aq as resolveRunProperties, ar as encodeCSSFromRPr, as as docxNumberingHelpers, at as InputRule, au as resolveParagraphProperties, av as eighthPointsToPixels, aw as linesToTwips, ax as PIXELS_PER_INCH, ay as SelectionRange, az as Transform, aA as isInTable$1, aB as generateDocxRandomId, aC as insertNewRelationship, aD 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 htmlHandler, E as ReplaceStep, L as ListHelpers, G as updateNumberingProperties, H as changeListLevel, I as findParentNode, J as isList, K as isMacOS, O as isIOS, Q as getSchemaTypeByName, U as inputRulesPlugin, V as TrackDeleteMarkName, W as TrackInsertMarkName, X as v4, Y as TrackFormatMarkName, Z as comments_module_events, _ as findMark, $ as objectIncludes, a0 as AddMarkStep, a1 as RemoveMarkStep, a2 as twipsToLines, a3 as pixelsToTwips, a4 as helpers, a5 as posToDOMRect, a6 as CommandService, a7 as SuperConverter, a8 as createDocument, a9 as createDocFromMarkdown, aa as createDocFromHTML, ab as EditorState, ac as hasSomeParentWithClass, ad as isActive, ae as unflattenListsInHtml, af as parseSizeUnit, ag as minMax, ah as getLineHeightValueString, ai as updateDOMAttributes, aj as findChildren$5, ak as generateRandomSigned32BitIntStrId, al as kebabCase, am as twipsToPixels, an as halfPointToPixels, ao as getUnderlineCssString, ap as findParentNodeClosestToPos, aq as resolveRunProperties, ar as encodeCSSFromRPr, as as docxNumberingHelpers, at as InputRule, au as resolveParagraphProperties, av as eighthPointsToPixels, aw as linesToTwips, ax as PIXELS_PER_INCH, ay as SelectionRange, az as Transform, aA as isInTable$1, aB as generateDocxRandomId, aC as insertNewRelationship, aD as inchesToPixels } from "./converter-BIsS-JzD.js";
|
|
16
|
+
import { D as DocxZipper } from "./docx-zipper-DVDiaIyD.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() {
|
|
@@ -14109,7 +14109,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14109
14109
|
{ default: remarkStringify },
|
|
14110
14110
|
{ default: remarkGfm }
|
|
14111
14111
|
] = await Promise.all([
|
|
14112
|
-
import("./index-
|
|
14112
|
+
import("./index-B7dC-H-Q.js"),
|
|
14113
14113
|
import("./index-DRCvimau.js"),
|
|
14114
14114
|
import("./index-C_x_N6Uh.js"),
|
|
14115
14115
|
import("./index-D_sWOSiG.js"),
|
|
@@ -14310,7 +14310,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14310
14310
|
* Process collaboration migrations
|
|
14311
14311
|
*/
|
|
14312
14312
|
processCollaborationMigrations() {
|
|
14313
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.31.0-next.
|
|
14313
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.31.0-next.5");
|
|
14314
14314
|
if (!this.options.ydoc) return;
|
|
14315
14315
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
14316
14316
|
let docVersion = metaMap.get("version");
|
|
@@ -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-BIsS-JzD.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-ZbcM1RTL.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-ZbcM1RTL.js";
|
|
2
|
+
import "./chunks/converter-BIsS-JzD.js";
|
|
3
|
+
import "./chunks/docx-zipper-DVDiaIyD.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Convert SDT child elements into Word run elements.
|
|
3
|
-
* @param {Array<Object>|Object} elements
|
|
4
|
-
* @returns {Array<Object>}
|
|
5
|
-
*/
|
|
6
|
-
export function convertSdtContentToRuns(elements: Array<any> | any): Array<any>;
|
|
7
1
|
/**
|
|
8
2
|
* @typedef {Object} ExportParams
|
|
9
3
|
* @property {Object} node JSON node to translate (from PM schema)
|
|
@@ -44,29 +38,6 @@ export function convertSdtContentToRuns(elements: Array<any> | any): Array<any>;
|
|
|
44
38
|
* @returns {XmlReadyNode} The complete document node in XML-ready format
|
|
45
39
|
*/
|
|
46
40
|
export function exportSchemaToJson(params: ExportParams): XmlReadyNode;
|
|
47
|
-
/**
|
|
48
|
-
* Translate a paragraph node
|
|
49
|
-
*
|
|
50
|
-
* @param {ExportParams} node A prose mirror paragraph node
|
|
51
|
-
* @returns {XmlReadyNode} JSON of the XML-ready paragraph node
|
|
52
|
-
*/
|
|
53
|
-
export function translateParagraphNode(params: any): XmlReadyNode;
|
|
54
|
-
/**
|
|
55
|
-
* Generate the w:pPr props for a paragraph node
|
|
56
|
-
*
|
|
57
|
-
* @param {SchemaNode} node
|
|
58
|
-
* @returns {XmlReadyNode} The paragraph properties node
|
|
59
|
-
*/
|
|
60
|
-
export function generateParagraphProperties(params: any): XmlReadyNode;
|
|
61
|
-
/**
|
|
62
|
-
* Helper function to be used for text node translation
|
|
63
|
-
* Also used for transforming text annotations for the final submit
|
|
64
|
-
*
|
|
65
|
-
* @param {String} text Text node's content
|
|
66
|
-
* @param {Object[]} marks The marks to add to the run properties
|
|
67
|
-
* @returns {XmlReadyNode} The translated text node
|
|
68
|
-
*/
|
|
69
|
-
export function getTextNodeForExport(text: string, marks: any[], params: any): XmlReadyNode;
|
|
70
41
|
/**
|
|
71
42
|
* Wrap a text node in a run
|
|
72
43
|
*
|
|
@@ -91,25 +62,6 @@ export function generateRunProps(marks?: any[]): {
|
|
|
91
62
|
* @returns
|
|
92
63
|
*/
|
|
93
64
|
export function processOutputMarks(marks?: MarkType[]): any[];
|
|
94
|
-
export function processLinkContentNode(node: any): any;
|
|
95
|
-
/**
|
|
96
|
-
* Create a new link relationship and add it to the relationships array
|
|
97
|
-
*
|
|
98
|
-
* @param {ExportParams} params
|
|
99
|
-
* @param {string} link The URL of this link
|
|
100
|
-
* @returns {string} The new relationship ID
|
|
101
|
-
*/
|
|
102
|
-
export function addNewLinkRelationship(params: ExportParams, link: string): string;
|
|
103
|
-
export function translateHardBreak(params: any): {
|
|
104
|
-
name: string;
|
|
105
|
-
elements: {
|
|
106
|
-
name: string;
|
|
107
|
-
type: string;
|
|
108
|
-
attributes: {
|
|
109
|
-
'w:type': string;
|
|
110
|
-
};
|
|
111
|
-
}[];
|
|
112
|
-
};
|
|
113
65
|
export function ensureSectionLayoutDefaults(sectPr: any, converter: any): any;
|
|
114
66
|
export function isLineBreakOnlyRun(node: any): any;
|
|
115
67
|
export class DocxExporter {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAsGA;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAuDxB;AA+GD;;;;;GAKG;AACH,6DAFa,YAAY,CAYxB;AAED;;;;;GAKG;AACH,yCAHW,KAAQ;;;EAQlB;AAED;;;;;GAKG;AACH,2CAHW,QAAQ,EAAE,SAgBpB;AA9TM,8EAiDN;AAEM,mDAON;AAoYD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAoFF;;;;;;;;;;;;;oBA1da,KAAQ;;;;;;;;;;UAMR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoPageNumberImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/autoPageNumberImporter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"autoPageNumberImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/autoPageNumberImporter.js"],"names":[],"mappings":"AAIA;;GAEG;AACH,wCAAgH;AAEhH;;GAEG;AACH,2CAAuH"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** @type {import('@translator').NodeTranslatorConfig} */
|
|
2
|
+
export const config: import("@translator").NodeTranslatorConfig;
|
|
3
|
+
/**
|
|
4
|
+
* The NodeTranslator instance.
|
|
5
|
+
* @type {import('@translator').NodeTranslator}
|
|
6
|
+
*/
|
|
7
|
+
export const translator: import("@translator").NodeTranslator;
|
|
8
|
+
//# sourceMappingURL=autoPageNumber-translator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoPageNumber-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.js"],"names":[],"mappings":"AA+GA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAOnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/autoPageNumber/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/totalPageNumber/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** @type {import('@translator').NodeTranslatorConfig} */
|
|
2
|
+
export const config: import("@translator").NodeTranslatorConfig;
|
|
3
|
+
/**
|
|
4
|
+
* The NodeTranslator instance.
|
|
5
|
+
* @type {import('@translator').NodeTranslator}
|
|
6
|
+
*/
|
|
7
|
+
export const translator: import("@translator").NodeTranslator;
|
|
8
|
+
//# sourceMappingURL=totalPageNumber-translator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totalPageNumber-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.js"],"names":[],"mappings":"AA+GA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAOnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generate the w:pPr props for a paragraph node
|
|
3
|
+
*
|
|
4
|
+
* @param {SchemaNode} node
|
|
5
|
+
* @returns {XmlReadyNode} The paragraph properties node
|
|
6
|
+
*/
|
|
7
|
+
export function generateParagraphProperties(params: any): XmlReadyNode;
|
|
8
|
+
//# sourceMappingURL=generate-paragraph-properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-paragraph-properties.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,0DAFa,YAAY,CAuCxB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Translate a paragraph node
|
|
3
|
+
*
|
|
4
|
+
* @param {ExportParams} node A prose mirror paragraph node
|
|
5
|
+
* @returns {XmlReadyNode} JSON of the XML-ready paragraph node
|
|
6
|
+
*/
|
|
7
|
+
export function translateParagraphNode(params: any): XmlReadyNode;
|
|
8
|
+
//# sourceMappingURL=translate-paragraph-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert SDT child elements into Word run elements.
|
|
3
|
+
* @param {Array<Object>|Object} elements
|
|
4
|
+
* @returns {Array<Object>}
|
|
5
|
+
*/
|
|
6
|
+
export function convertSdtContentToRuns(elements: Array<any> | any): Array<any>;
|
|
7
|
+
//# sourceMappingURL=convert-sdt-content-to-runs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convert-sdt-content-to-runs.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,kDAHW,KAAK,KAAQ,MAAO,GAClB,KAAK,KAAQ,CAgDzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate-field-annotation.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translate-field-annotation.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,2DAyEC;AAED;;;;;GAKG;AACH,2GA0BC;AAED;;;;GAIG;AACH,wDAOC;AAED;;;;;GAKG;AACH,yEAKC;AAED;;;;GAIG;AACH,4DAMC;AAED;;;;GAIG;AACH,wDAgDC;AAED;;;;GAIG;AACH,uDAiCC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAYC;AAED,wEAgEC;AAED;;;;GAIG;AACH,4DAHW,MAAM,OAmChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate-text-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.js"],"names":[],"mappings":"AAWA;;;EA8DC"}
|
|
@@ -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 { aF as getDefaultExportFromCjs, X as v4, T as TextSelection$1, v as getMarkRange, aI as vClickOutside, aJ as getActiveFormatting, aA as isInTable, I as findParentNode, J as isList, aK as readFromClipboard, aL as handleClipboardPaste, aM as getFileObject, aN as translator, aO as translator$1, aP as translator$2, aQ as translator$3, aR as translator$4, aS as translator$5, aT as translator$6, aU as translator$7, aV as translator$8, aW as translator$9, aX as translator$a, aY as translator$b, aZ as translator$c, a_ as translator$d, a$ as translator$e, b0 as commentRangeEndTranslator, b1 as commentRangeStartTranslator, b2 as translator$f, b3 as translator$g, b4 as translator$h, b5 as translator$i, b6 as translator$j, b7 as translator$k, b8 as translator$l, b9 as translator$m, ba as translator$n, bb as translator$o, bc as translator$p, bd as translator$q, be as translator$r, bf as translator$s, bg as translator$t, bh as translator$u, bi as translator$v, bj as translator$w, bk as translator$x, bl as translator$y, bm as translator$z, bn as translator$A, bo as translator$B, bp as translator$C, bq as translator$D, br as translator$E, bs as translator$F, bt as translator$G, bu as translator$H, bv as translator$I, bw as translator$J, bx as translator$K, by as translator$L, bz as translator$M, bA as translator$N, bB as translator$O, bC as translator$P, bD as translator$Q, bE as translator$R, bF as translator$S, bG as translator$T, bH as translator$U, bI as translator$V, bJ as translator$W, bK as translator$X, bL as translator$Y, bM as translator$Z, bN as translator$_, bO as translator$$, bP as translator$10, bQ as translator$11, bR as translator$12, bS as translator$13, bT as translator$14, bU as translator$15, bV as translator$16, bW as translator$17, bX as translator$18, bY as translator$19, bZ as translator$1a, b_ as translator$1b, b$ as translator$1c, c0 as translator$1d, c1 as translator$1e, c2 as translator$1f, c3 as translator$1g, c4 as translator$1h, c5 as translator$1i, c6 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-
|
|
13
|
-
import { a7, i, a4 } 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, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, l as isHeadless, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-
|
|
15
|
-
import { v, C, w, T, q, x, t } from "./chunks/editor-
|
|
12
|
+
import { aF as getDefaultExportFromCjs, X as v4, T as TextSelection$1, v as getMarkRange, aI as vClickOutside, aJ as getActiveFormatting, aA as isInTable, I as findParentNode, J as isList, aK as readFromClipboard, aL as handleClipboardPaste, aM as getFileObject, aN as translator, aO as translator$1, aP as translator$2, aQ as translator$3, aR as translator$4, aS as translator$5, aT as translator$6, aU as translator$7, aV as translator$8, aW as translator$9, aX as translator$a, aY as translator$b, aZ as translator$c, a_ as translator$d, a$ as translator$e, b0 as commentRangeEndTranslator, b1 as commentRangeStartTranslator, b2 as translator$f, b3 as translator$g, b4 as translator$h, b5 as translator$i, b6 as translator$j, b7 as translator$k, b8 as translator$l, b9 as translator$m, ba as translator$n, bb as translator$o, bc as translator$p, bd as translator$q, be as translator$r, bf as translator$s, bg as translator$t, bh as translator$u, bi as translator$v, bj as translator$w, bk as translator$x, bl as translator$y, bm as translator$z, bn as translator$A, bo as translator$B, bp as translator$C, bq as translator$D, br as translator$E, bs as translator$F, bt as translator$G, bu as translator$H, bv as translator$I, bw as translator$J, bx as translator$K, by as translator$L, bz as translator$M, bA as translator$N, bB as translator$O, bC as translator$P, bD as translator$Q, bE as translator$R, bF as translator$S, bG as translator$T, bH as translator$U, bI as translator$V, bJ as translator$W, bK as translator$X, bL as translator$Y, bM as translator$Z, bN as translator$_, bO as translator$$, bP as translator$10, bQ as translator$11, bR as translator$12, bS as translator$13, bT as translator$14, bU as translator$15, bV as translator$16, bW as translator$17, bX as translator$18, bY as translator$19, bZ as translator$1a, b_ as translator$1b, b$ as translator$1c, c0 as translator$1d, c1 as translator$1e, c2 as translator$1f, c3 as translator$1g, c4 as translator$1h, c5 as translator$1i, c6 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-BIsS-JzD.js";
|
|
13
|
+
import { a7, i, a4 } from "./chunks/converter-BIsS-JzD.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, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, l as isHeadless, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-ZbcM1RTL.js";
|
|
15
|
+
import { v, C, w, T, q, x, t } from "./chunks/editor-ZbcM1RTL.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-8qqw8IXG.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-DVDiaIyD.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,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-CVDIAxlg.cjs");
|
|
4
4
|
require("./chunks/vue-Cwv-wUpm.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-
|
|
1
|
+
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-M2e4wbRW.es.js";
|
|
2
2
|
import "./chunks/vue-CKmzTNVs.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
4
|
-
const superdoc = require("./chunks/index-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-CVDIAxlg.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-BF_Yvius.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-M2e4wbRW.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-B6TttOzK.es.js";
|
|
3
3
|
import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
|
|
4
4
|
export {
|
|
5
5
|
a as AnnotatorHelpers,
|