@harbour-enterprises/superdoc 0.9.13 → 0.9.15
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/{super-editor.es-C6vKHdgD.es.js → super-editor.es-DuYBhMYe.es.js} +15263 -12428
- package/dist/chunks/super-editor.es-DvZXJuGP.cjs +419 -0
- package/dist/super-editor/chunks/{converter-fQkM_qkr.js → converter-Rx70Oyy_.js} +4754 -3389
- package/dist/super-editor/chunks/{docx-zipper-C1n_Ukte.js → docx-zipper-C3CdrwGR.js} +1 -1
- package/dist/super-editor/chunks/{editor-DrW3w9hr.js → editor-BmA670kK.js} +4890 -3420
- package/dist/super-editor/chunks/{toolbar-CThx2ucP.js → toolbar-DARtdvYp.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.d.ts +2 -1
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/core/extensions/keymap.d.ts +3 -0
- package/dist/super-editor/core/extensions/keymap.d.ts.map +1 -1
- package/dist/super-editor/core/helpers/baseListDefinitions.d.ts +444 -0
- package/dist/super-editor/core/helpers/baseListDefinitions.d.ts.map +1 -0
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts +12 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/exporter/helpers/base-list.definitions.d.ts +444 -0
- package/dist/super-editor/core/super-converter/v2/exporter/helpers/base-list.definitions.d.ts.map +1 -0
- package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts +2 -1
- package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.d.ts +7 -0
- package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.d.ts.map +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/extensions/bullet-list/bullet-list.d.ts.map +1 -1
- package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
- package/dist/super-editor/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +1 -0
- package/dist/super-editor/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +1 -1
- package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
- package/dist/super-editor/tests/export/lists/importExportListRunPrs.test.d.ts +2 -0
- package/dist/super-editor/tests/export/lists/importExportListRunPrs.test.d.ts.map +1 -0
- package/dist/super-editor/tests/export/lists/importExportLists.test.d.ts +2 -0
- package/dist/super-editor/tests/export/lists/importExportLists.test.d.ts.map +1 -0
- package/dist/super-editor/tests/export/lists/testComplexListIssues.test.d.ts +2 -0
- package/dist/super-editor/tests/export/lists/testComplexListIssues.test.d.ts.map +1 -0
- package/dist/super-editor/tests/helpers/helpers.d.ts +4 -0
- package/dist/super-editor/tests/helpers/helpers.d.ts.map +1 -1
- package/dist/super-editor/tests/import/listImporterBasic.test.d.ts +2 -0
- package/dist/super-editor/tests/import/listImporterBasic.test.d.ts.map +1 -0
- package/dist/super-editor/tests/import/listImporterCustomLists.test.d.ts +2 -0
- package/dist/super-editor/tests/import/listImporterCustomLists.test.d.ts.map +1 -0
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +6 -6
- package/dist/superdoc.cjs +4 -4
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +12922 -10087
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/super-editor.es-B1uPFXk3.cjs +0 -419
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as _, createElementBlock as se, openBlock as q, createElementVNode as pn, createCommentVNode as pe, normalizeClass as Zt, normalizeStyle as Jt, ref as R, unref as W, createBlock as Ge, toDisplayString as ni, withDirectives as dt, withKeys as Nr, withModifiers as Hr, vModelText as jr, getCurrentInstance as _t, createVNode as Et, readonly as Qt, watch as we, onMounted as Ke, onBeforeUnmount as Be, reactive as Ks, onBeforeMount as dr, inject as te, onActivated as Vs, onDeactivated as ri, createTextVNode as At, Fragment as _e, Comment as fr, defineComponent as ee, provide as Se, h as E, Teleport as Us, toRef as ie, nextTick as Gs, renderSlot as Xs, isVNode as qs, shallowRef as Ys, watchEffect as ft, mergeProps as pt, Transition as en, vShow as Zs, cloneVNode as Js, Text as Qs, renderList as el, withCtx as Bn } from "vue";
|
|
2
|
-
import { p as tn } from "./converter-
|
|
3
|
-
import { _ as vt, g as Pt } from "./editor-
|
|
2
|
+
import { p as tn } from "./converter-Rx70Oyy_.js";
|
|
3
|
+
import { _ as vt, g as Pt } from "./editor-BmA670kK.js";
|
|
4
4
|
const Mp = (e, t) => {
|
|
5
5
|
let n = e.replace(/[^0-9.]/g, "");
|
|
6
6
|
return n = parseFloat(n), isNaN(n) && (n = t), n = parseFloat(n), n;
|
|
@@ -6,7 +6,7 @@ export class Editor extends EventEmitter {
|
|
|
6
6
|
* Load the data from DOCX to be used in the schema.
|
|
7
7
|
* Expects a DOCX file.
|
|
8
8
|
*/
|
|
9
|
-
static loadXmlData(fileSource: any): Promise<any[]>;
|
|
9
|
+
static loadXmlData(fileSource: any, isNode?: boolean): Promise<any[]>;
|
|
10
10
|
static getDocumentVersion(content: any): any;
|
|
11
11
|
static updateDocumentVersion(content: any, version: any): any;
|
|
12
12
|
static checkIfMigrationsNeeded(version: any): boolean;
|
|
@@ -47,6 +47,7 @@ export class Editor extends EventEmitter {
|
|
|
47
47
|
annotations: boolean;
|
|
48
48
|
isInternal: boolean;
|
|
49
49
|
externalExtensions: any[];
|
|
50
|
+
numbering: {};
|
|
50
51
|
onBeforeCreate: () => any;
|
|
51
52
|
onCreate: () => any;
|
|
52
53
|
onUpdate: () => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AAwBA;;GAEG;AACH;
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AAwBA;;GAEG;AACH;IAwdE;;;OAGG;IACH,sEAQC;IAED,6CAGC;IAED,8DAGC;IAkhBD,sDAKC;IA17BD,0BAkBC;IA1FD,sBAAiB;IAEjB,qBAAsB;IAEtB,YAAO;IAEP,UAAK;IAEL,mBAAkB;IAIlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0DE;IA6GF,+BAEC;IADC,aAAsB;IAgBxB;;OAEG;IACH,iBAEC;IAED;;OAEG;IACH,kBAEC;IAED;;OAEG;IACH,oBAEC;IAED;;OAEG;IACH,sBAEC;IAED;;OAEG;IACH,uBAEC;IAED;;OAEG;IACH,mBAEC;IAED;;OAEG;IACH,mBAEC;IAED;;OAEG;IACH,aAEC;IAED;;OAEG;IACH,WAEC;IAED,yCA8BC;IAED;;;OAGG;IACH,oCAYC;IA0BD;;;OAGG;IACH,+BAmBC;IAED;;;;OAIG;IACH,uDAMC;IAED;;;;OAIG;IACH,sDAQC;IAED;;;OAGG;IACH,6CAUC;IAgCG,eAAuC;IAqI3C;;OAEG;IACH,wBAIC;IAED;;;;;;MAcC;IAED;;;;OAIG;IACH,uCA+CC;IAED,qCAkDC;IA2HD;;;;OAIG;IACH,oCAEC;IAED;;;;;;OAMG;IACH,qEAKC;IAED;;OAEG;IACH,eAEC;IAED;;OAEG;IACH,kBAMC;IAED;;OAEG;IACH,qBAEC;IAED;;;;;;OAMG;IACH,iCAHG;QAAuB,WAAW;KAClC,GAAU,IAAI,CAiBhB;IA6CD;;OAEG;IACH;;;qBA8DC;IAcD;;OAEG;IACH,gBAKC;IASD;;;;OAIG;IACH,kCAFa,CAAC,CAAC,GAAG,GAAG,SAAS,CA8B7B;IAED,yCAwBC;;CACF;6BA1lC4B,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggleList.d.ts","sourceRoot":"","sources":["../../../src/core/commands/toggleList.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggleList.d.ts","sourceRoot":"","sources":["../../../src/core/commands/toggleList.js"],"names":[],"mappings":"AAqDO,wGAEJ,UAAK,SAmFL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../src/core/extensions/keymap.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../src/core/extensions/keymap.js"],"names":[],"mappings":"AAIO,+CAON;AAEM,mDAWN;AAEM,gDAMN;AAED;;;GAGG;AACH,+BAuCG;0BA7EuB,iBAAiB"}
|
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
export namespace baseOrderedListDef {
|
|
2
|
+
let type: string;
|
|
3
|
+
let name: string;
|
|
4
|
+
let attributes: {
|
|
5
|
+
"w:abstractNumId": string;
|
|
6
|
+
"w15:restartNumberingAfterBreak": string;
|
|
7
|
+
};
|
|
8
|
+
let elements: ({
|
|
9
|
+
type: string;
|
|
10
|
+
name: string;
|
|
11
|
+
attributes: {
|
|
12
|
+
"w:val": string;
|
|
13
|
+
"w:ilvl"?: undefined;
|
|
14
|
+
"w:tplc"?: undefined;
|
|
15
|
+
"w:tentative"?: undefined;
|
|
16
|
+
};
|
|
17
|
+
elements?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
type: string;
|
|
20
|
+
name: string;
|
|
21
|
+
attributes: {
|
|
22
|
+
"w:ilvl": string;
|
|
23
|
+
"w:tplc": string;
|
|
24
|
+
'w:val'?: undefined;
|
|
25
|
+
"w:tentative"?: undefined;
|
|
26
|
+
};
|
|
27
|
+
elements: ({
|
|
28
|
+
type: string;
|
|
29
|
+
name: string;
|
|
30
|
+
attributes: {
|
|
31
|
+
"w:val": string;
|
|
32
|
+
};
|
|
33
|
+
elements?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
type: string;
|
|
36
|
+
name: string;
|
|
37
|
+
elements: {
|
|
38
|
+
type: string;
|
|
39
|
+
name: string;
|
|
40
|
+
attributes: {
|
|
41
|
+
"w:left": string;
|
|
42
|
+
"w:hanging": string;
|
|
43
|
+
};
|
|
44
|
+
}[];
|
|
45
|
+
attributes?: undefined;
|
|
46
|
+
})[];
|
|
47
|
+
} | {
|
|
48
|
+
type: string;
|
|
49
|
+
name: string;
|
|
50
|
+
attributes: {
|
|
51
|
+
"w:ilvl": string;
|
|
52
|
+
"w:tplc": string;
|
|
53
|
+
"w:tentative": string;
|
|
54
|
+
'w:val'?: undefined;
|
|
55
|
+
};
|
|
56
|
+
elements: ({
|
|
57
|
+
type: string;
|
|
58
|
+
name: string;
|
|
59
|
+
attributes: {
|
|
60
|
+
"w:val": string;
|
|
61
|
+
};
|
|
62
|
+
elements?: undefined;
|
|
63
|
+
} | {
|
|
64
|
+
type: string;
|
|
65
|
+
name: string;
|
|
66
|
+
elements: {
|
|
67
|
+
type: string;
|
|
68
|
+
name: string;
|
|
69
|
+
attributes: {
|
|
70
|
+
"w:left": string;
|
|
71
|
+
"w:hanging": string;
|
|
72
|
+
};
|
|
73
|
+
}[];
|
|
74
|
+
attributes?: undefined;
|
|
75
|
+
})[];
|
|
76
|
+
})[];
|
|
77
|
+
}
|
|
78
|
+
export namespace baseBulletList {
|
|
79
|
+
let type_1: string;
|
|
80
|
+
export { type_1 as type };
|
|
81
|
+
let name_1: string;
|
|
82
|
+
export { name_1 as name };
|
|
83
|
+
let attributes_1: {
|
|
84
|
+
"w:abstractNumId": string;
|
|
85
|
+
"w15:restartNumberingAfterBreak": string;
|
|
86
|
+
};
|
|
87
|
+
export { attributes_1 as attributes };
|
|
88
|
+
let elements_1: ({
|
|
89
|
+
type: string;
|
|
90
|
+
name: string;
|
|
91
|
+
attributes: {
|
|
92
|
+
"w:val": string;
|
|
93
|
+
"w:ilvl"?: undefined;
|
|
94
|
+
"w:tplc"?: undefined;
|
|
95
|
+
"w:tentative"?: undefined;
|
|
96
|
+
};
|
|
97
|
+
elements?: undefined;
|
|
98
|
+
} | {
|
|
99
|
+
type: string;
|
|
100
|
+
name: string;
|
|
101
|
+
attributes: {
|
|
102
|
+
"w:ilvl": string;
|
|
103
|
+
"w:tplc": string;
|
|
104
|
+
'w:val'?: undefined;
|
|
105
|
+
"w:tentative"?: undefined;
|
|
106
|
+
};
|
|
107
|
+
elements: ({
|
|
108
|
+
type: string;
|
|
109
|
+
name: string;
|
|
110
|
+
attributes: {
|
|
111
|
+
"w:val": string;
|
|
112
|
+
};
|
|
113
|
+
elements?: undefined;
|
|
114
|
+
} | {
|
|
115
|
+
type: string;
|
|
116
|
+
name: string;
|
|
117
|
+
elements: {
|
|
118
|
+
type: string;
|
|
119
|
+
name: string;
|
|
120
|
+
attributes: {
|
|
121
|
+
"w:left": string;
|
|
122
|
+
"w:hanging": string;
|
|
123
|
+
};
|
|
124
|
+
}[];
|
|
125
|
+
attributes?: undefined;
|
|
126
|
+
} | {
|
|
127
|
+
type: string;
|
|
128
|
+
name: string;
|
|
129
|
+
elements: {
|
|
130
|
+
type: string;
|
|
131
|
+
name: string;
|
|
132
|
+
attributes: {
|
|
133
|
+
"w:ascii": string;
|
|
134
|
+
"w:hAnsi": string;
|
|
135
|
+
"w:hint": string;
|
|
136
|
+
};
|
|
137
|
+
}[];
|
|
138
|
+
attributes?: undefined;
|
|
139
|
+
})[];
|
|
140
|
+
} | {
|
|
141
|
+
type: string;
|
|
142
|
+
name: string;
|
|
143
|
+
attributes: {
|
|
144
|
+
"w:ilvl": string;
|
|
145
|
+
"w:tplc": string;
|
|
146
|
+
"w:tentative": string;
|
|
147
|
+
'w:val'?: undefined;
|
|
148
|
+
};
|
|
149
|
+
elements: ({
|
|
150
|
+
type: string;
|
|
151
|
+
name: string;
|
|
152
|
+
attributes: {
|
|
153
|
+
"w:val": string;
|
|
154
|
+
};
|
|
155
|
+
elements?: undefined;
|
|
156
|
+
} | {
|
|
157
|
+
type: string;
|
|
158
|
+
name: string;
|
|
159
|
+
elements: {
|
|
160
|
+
type: string;
|
|
161
|
+
name: string;
|
|
162
|
+
attributes: {
|
|
163
|
+
"w:left": string;
|
|
164
|
+
"w:hanging": string;
|
|
165
|
+
};
|
|
166
|
+
}[];
|
|
167
|
+
attributes?: undefined;
|
|
168
|
+
} | {
|
|
169
|
+
type: string;
|
|
170
|
+
name: string;
|
|
171
|
+
elements: {
|
|
172
|
+
type: string;
|
|
173
|
+
name: string;
|
|
174
|
+
attributes: {
|
|
175
|
+
"w:ascii": string;
|
|
176
|
+
"w:hAnsi": string;
|
|
177
|
+
"w:cs": string;
|
|
178
|
+
"w:hint": string;
|
|
179
|
+
};
|
|
180
|
+
}[];
|
|
181
|
+
attributes?: undefined;
|
|
182
|
+
})[];
|
|
183
|
+
} | {
|
|
184
|
+
type: string;
|
|
185
|
+
name: string;
|
|
186
|
+
attributes: {
|
|
187
|
+
"w:ilvl": string;
|
|
188
|
+
"w:tplc": string;
|
|
189
|
+
"w:tentative": string;
|
|
190
|
+
'w:val'?: undefined;
|
|
191
|
+
};
|
|
192
|
+
elements: ({
|
|
193
|
+
type: string;
|
|
194
|
+
name: string;
|
|
195
|
+
attributes: {
|
|
196
|
+
"w:val": string;
|
|
197
|
+
};
|
|
198
|
+
elements?: undefined;
|
|
199
|
+
} | {
|
|
200
|
+
type: string;
|
|
201
|
+
name: string;
|
|
202
|
+
elements: {
|
|
203
|
+
type: string;
|
|
204
|
+
name: string;
|
|
205
|
+
attributes: {
|
|
206
|
+
"w:left": string;
|
|
207
|
+
"w:hanging": string;
|
|
208
|
+
};
|
|
209
|
+
}[];
|
|
210
|
+
attributes?: undefined;
|
|
211
|
+
} | {
|
|
212
|
+
type: string;
|
|
213
|
+
name: string;
|
|
214
|
+
elements: {
|
|
215
|
+
type: string;
|
|
216
|
+
name: string;
|
|
217
|
+
attributes: {
|
|
218
|
+
"w:ascii": string;
|
|
219
|
+
"w:hAnsi": string;
|
|
220
|
+
"w:hint": string;
|
|
221
|
+
};
|
|
222
|
+
}[];
|
|
223
|
+
attributes?: undefined;
|
|
224
|
+
})[];
|
|
225
|
+
})[];
|
|
226
|
+
export { elements_1 as elements };
|
|
227
|
+
}
|
|
228
|
+
export namespace baseNumbering {
|
|
229
|
+
export namespace declaration {
|
|
230
|
+
export namespace attributes_2 {
|
|
231
|
+
let version: string;
|
|
232
|
+
let encoding: string;
|
|
233
|
+
let standalone: string;
|
|
234
|
+
}
|
|
235
|
+
export { attributes_2 as attributes };
|
|
236
|
+
}
|
|
237
|
+
let elements_2: {
|
|
238
|
+
type: string;
|
|
239
|
+
name: string;
|
|
240
|
+
attributes: {
|
|
241
|
+
"xmlns:wpc": string;
|
|
242
|
+
"xmlns:cx": string;
|
|
243
|
+
"xmlns:cx1": string;
|
|
244
|
+
"xmlns:cx2": string;
|
|
245
|
+
"xmlns:cx3": string;
|
|
246
|
+
"xmlns:cx4": string;
|
|
247
|
+
"xmlns:cx5": string;
|
|
248
|
+
"xmlns:cx6": string;
|
|
249
|
+
"xmlns:cx7": string;
|
|
250
|
+
"xmlns:cx8": string;
|
|
251
|
+
"xmlns:mc": string;
|
|
252
|
+
"xmlns:aink": string;
|
|
253
|
+
"xmlns:am3d": string;
|
|
254
|
+
"xmlns:o": string;
|
|
255
|
+
"xmlns:oel": string;
|
|
256
|
+
"xmlns:r": string;
|
|
257
|
+
"xmlns:m": string;
|
|
258
|
+
"xmlns:v": string;
|
|
259
|
+
"xmlns:wp14": string;
|
|
260
|
+
"xmlns:wp": string;
|
|
261
|
+
"xmlns:w10": string;
|
|
262
|
+
"xmlns:w": string;
|
|
263
|
+
"xmlns:w14": string;
|
|
264
|
+
"xmlns:w15": string;
|
|
265
|
+
"xmlns:w16cex": string;
|
|
266
|
+
"xmlns:w16cid": string;
|
|
267
|
+
"xmlns:w16": string;
|
|
268
|
+
"xmlns:w16du": string;
|
|
269
|
+
"xmlns:w16sdtdh": string;
|
|
270
|
+
"xmlns:w16se": string;
|
|
271
|
+
"xmlns:wpg": string;
|
|
272
|
+
"xmlns:wpi": string;
|
|
273
|
+
"xmlns:wne": string;
|
|
274
|
+
"xmlns:wps": string;
|
|
275
|
+
"mc:Ignorable": string;
|
|
276
|
+
};
|
|
277
|
+
elements: ({
|
|
278
|
+
type: string;
|
|
279
|
+
name: string;
|
|
280
|
+
attributes: {
|
|
281
|
+
"w:abstractNumId": string;
|
|
282
|
+
"w15:restartNumberingAfterBreak": string;
|
|
283
|
+
"w:numId"?: undefined;
|
|
284
|
+
"w16cid:durableId"?: undefined;
|
|
285
|
+
};
|
|
286
|
+
elements: ({
|
|
287
|
+
type: string;
|
|
288
|
+
name: string;
|
|
289
|
+
attributes: {
|
|
290
|
+
"w:val": string;
|
|
291
|
+
"w:ilvl"?: undefined;
|
|
292
|
+
"w:tplc"?: undefined;
|
|
293
|
+
"w:tentative"?: undefined;
|
|
294
|
+
};
|
|
295
|
+
elements?: undefined;
|
|
296
|
+
} | {
|
|
297
|
+
type: string;
|
|
298
|
+
name: string;
|
|
299
|
+
attributes: {
|
|
300
|
+
"w:ilvl": string;
|
|
301
|
+
"w:tplc": string;
|
|
302
|
+
'w:val'?: undefined;
|
|
303
|
+
"w:tentative"?: undefined;
|
|
304
|
+
};
|
|
305
|
+
elements: ({
|
|
306
|
+
type: string;
|
|
307
|
+
name: string;
|
|
308
|
+
attributes: {
|
|
309
|
+
"w:val": string;
|
|
310
|
+
};
|
|
311
|
+
elements?: undefined;
|
|
312
|
+
} | {
|
|
313
|
+
type: string;
|
|
314
|
+
name: string;
|
|
315
|
+
elements: {
|
|
316
|
+
type: string;
|
|
317
|
+
name: string;
|
|
318
|
+
attributes: {
|
|
319
|
+
"w:left": string;
|
|
320
|
+
"w:hanging": string;
|
|
321
|
+
};
|
|
322
|
+
}[];
|
|
323
|
+
attributes?: undefined;
|
|
324
|
+
} | {
|
|
325
|
+
type: string;
|
|
326
|
+
name: string;
|
|
327
|
+
elements: {
|
|
328
|
+
type: string;
|
|
329
|
+
name: string;
|
|
330
|
+
attributes: {
|
|
331
|
+
"w:ascii": string;
|
|
332
|
+
"w:hAnsi": string;
|
|
333
|
+
"w:hint": string;
|
|
334
|
+
};
|
|
335
|
+
}[];
|
|
336
|
+
attributes?: undefined;
|
|
337
|
+
})[];
|
|
338
|
+
} | {
|
|
339
|
+
type: string;
|
|
340
|
+
name: string;
|
|
341
|
+
attributes: {
|
|
342
|
+
"w:ilvl": string;
|
|
343
|
+
"w:tplc": string;
|
|
344
|
+
"w:tentative": string;
|
|
345
|
+
'w:val'?: undefined;
|
|
346
|
+
};
|
|
347
|
+
elements: ({
|
|
348
|
+
type: string;
|
|
349
|
+
name: string;
|
|
350
|
+
attributes: {
|
|
351
|
+
"w:val": string;
|
|
352
|
+
};
|
|
353
|
+
elements?: undefined;
|
|
354
|
+
} | {
|
|
355
|
+
type: string;
|
|
356
|
+
name: string;
|
|
357
|
+
elements: {
|
|
358
|
+
type: string;
|
|
359
|
+
name: string;
|
|
360
|
+
attributes: {
|
|
361
|
+
"w:left": string;
|
|
362
|
+
"w:hanging": string;
|
|
363
|
+
};
|
|
364
|
+
}[];
|
|
365
|
+
attributes?: undefined;
|
|
366
|
+
} | {
|
|
367
|
+
type: string;
|
|
368
|
+
name: string;
|
|
369
|
+
elements: {
|
|
370
|
+
type: string;
|
|
371
|
+
name: string;
|
|
372
|
+
attributes: {
|
|
373
|
+
"w:ascii": string;
|
|
374
|
+
"w:hAnsi": string;
|
|
375
|
+
"w:cs": string;
|
|
376
|
+
"w:hint": string;
|
|
377
|
+
};
|
|
378
|
+
}[];
|
|
379
|
+
attributes?: undefined;
|
|
380
|
+
})[];
|
|
381
|
+
} | {
|
|
382
|
+
type: string;
|
|
383
|
+
name: string;
|
|
384
|
+
attributes: {
|
|
385
|
+
"w:ilvl": string;
|
|
386
|
+
"w:tplc": string;
|
|
387
|
+
"w:tentative": string;
|
|
388
|
+
'w:val'?: undefined;
|
|
389
|
+
};
|
|
390
|
+
elements: ({
|
|
391
|
+
type: string;
|
|
392
|
+
name: string;
|
|
393
|
+
attributes: {
|
|
394
|
+
"w:val": string;
|
|
395
|
+
};
|
|
396
|
+
elements?: undefined;
|
|
397
|
+
} | {
|
|
398
|
+
type: string;
|
|
399
|
+
name: string;
|
|
400
|
+
elements: {
|
|
401
|
+
type: string;
|
|
402
|
+
name: string;
|
|
403
|
+
attributes: {
|
|
404
|
+
"w:left": string;
|
|
405
|
+
"w:hanging": string;
|
|
406
|
+
};
|
|
407
|
+
}[];
|
|
408
|
+
attributes?: undefined;
|
|
409
|
+
} | {
|
|
410
|
+
type: string;
|
|
411
|
+
name: string;
|
|
412
|
+
elements: {
|
|
413
|
+
type: string;
|
|
414
|
+
name: string;
|
|
415
|
+
attributes: {
|
|
416
|
+
"w:ascii": string;
|
|
417
|
+
"w:hAnsi": string;
|
|
418
|
+
"w:hint": string;
|
|
419
|
+
};
|
|
420
|
+
}[];
|
|
421
|
+
attributes?: undefined;
|
|
422
|
+
})[];
|
|
423
|
+
})[];
|
|
424
|
+
} | {
|
|
425
|
+
type: string;
|
|
426
|
+
name: string;
|
|
427
|
+
attributes: {
|
|
428
|
+
"w:numId": string;
|
|
429
|
+
"w16cid:durableId": string;
|
|
430
|
+
"w:abstractNumId"?: undefined;
|
|
431
|
+
"w15:restartNumberingAfterBreak"?: undefined;
|
|
432
|
+
};
|
|
433
|
+
elements: {
|
|
434
|
+
type: string;
|
|
435
|
+
name: string;
|
|
436
|
+
attributes: {
|
|
437
|
+
"w:val": string;
|
|
438
|
+
};
|
|
439
|
+
}[];
|
|
440
|
+
})[];
|
|
441
|
+
}[];
|
|
442
|
+
export { elements_2 as elements };
|
|
443
|
+
}
|
|
444
|
+
//# sourceMappingURL=baseListDefinitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"baseListDefinitions.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/baseListDefinitions.js"],"names":[],"mappings":""}
|
|
@@ -50,7 +50,7 @@ export class SuperConverter {
|
|
|
50
50
|
comments: any[];
|
|
51
51
|
docHiglightColors: Set<any>;
|
|
52
52
|
xml: any;
|
|
53
|
-
numbering:
|
|
53
|
+
numbering: {};
|
|
54
54
|
pageStyles: any;
|
|
55
55
|
initialJSON: any;
|
|
56
56
|
headers: {};
|
|
@@ -103,6 +103,17 @@ export class SuperConverter {
|
|
|
103
103
|
getSchema(editor: any): import("./v2/importer/docxImporter.js").PmNodeJson;
|
|
104
104
|
schemaToXml(data: any, debug?: boolean): string;
|
|
105
105
|
exportToDocx(jsonData: any, editorSchema: any, documentMedia: any, isFinalDoc: boolean, commentsExportType: any, comments?: any[]): Promise<string>;
|
|
106
|
+
exportToXmlJson({ data, editorSchema, comments, commentDefinitions, commentsExportType, isFinalDoc }: {
|
|
107
|
+
data: any;
|
|
108
|
+
editorSchema: any;
|
|
109
|
+
comments: any;
|
|
110
|
+
commentDefinitions: any;
|
|
111
|
+
commentsExportType?: string;
|
|
112
|
+
isFinalDoc?: boolean;
|
|
113
|
+
}): {
|
|
114
|
+
result: any;
|
|
115
|
+
params: any;
|
|
116
|
+
};
|
|
106
117
|
#private;
|
|
107
118
|
}
|
|
108
119
|
//# sourceMappingURL=SuperConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuperConverter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/SuperConverter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SuperConverter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/SuperConverter.js"],"names":[],"mappings":"AAcA;IACE;;;;;;;;;;;;;;;;;;OAuBG;IAEH;;;;;;;;;;SAiBE;IAEF;;;;;;OAMG;IAEH,6BAAsF;IAoFtF,gDAoBC;IAED,6DAqBC;IA7HD,0BA0DC;IAxDC,WAAmC;IAGnC,iBAAuB;IACvB,wBAA8B;IAG9B,iBAAsB;IACtB,UAA8B;IAC9B,WAAgC;IAEhC,eAAoB;IACpB,gBAAkB;IAGlB,4BAAoC;IAGpC,SAAsB;IAItB,cAAmB;IAInB,gBAAsB;IAGtB,iBAAuB;IAGvB,YAAiB;IACjB;;;;;MAAsE;IACtE,YAAiB;IACjB;;;;;MAAsE;IAGtE,oBAAsB;IAGtB,UAAwB;IAExB,0BAAiC;IACjC,0BAA4B;IAG5B,eAA0C;IAC1C,wBAA8B;IAG9B,gBAA4C;IAC5C,gBAA4C;IAM9C,qBAgBC;IAED,8BAEC;IA+CD;;;;;;;;;;MAqCC;IAED,8BAwBC;IAED;;;;;;MAWC;IAED;;;MAgBC;IAED,2EAeC;IAED,gDAGC;IAED,oJAwDC;IAED;;;;;;;;;;MA0BC;;CAgFF"}
|
|
@@ -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":"AAqBA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAkCxB;AA8BD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;AAmjDD;;;;;;;;;EASC;AAED;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CA4DF;;;;;;;;;;;;;mBApwDa,KAAQ;;;;;;UAKR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|