@harbour-enterprises/superdoc 0.11.44 → 0.11.46-RC1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{index-BTkgQgI7.es.js → index-27P7yLl7.es.js} +1 -1
- package/dist/chunks/{index-kWwSELc2.es.js → index-2fgTY0gr.es.js} +2 -2
- package/dist/chunks/{index-CbUTRvRk.cjs → index-C-M7zT_5.cjs} +1 -1
- package/dist/chunks/{index-C6SLw2ph.cjs → index-UCzTj2iK.cjs} +1 -1
- package/dist/chunks/{super-editor.es-BIJBEltX.cjs → super-editor.es-C3Zp0IuS.cjs} +71 -71
- package/dist/chunks/{super-editor.es-B8d2FNzS.es.js → super-editor.es-hOWZIdvT.es.js} +5951 -5818
- package/dist/chunks/{url-DRGmEUtI.cjs → url-Bd_xvDLH.cjs} +1 -1
- package/dist/chunks/{url-C29KYeaj.es.js → url-CEWFyxj1.es.js} +1 -1
- package/dist/chunks/xml-js-BBSyOdPv.cjs +10 -0
- package/dist/chunks/{xml-js-CgHhGhcJ.es.js → xml-js-BH5W8vwP.es.js} +744 -762
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-CDy1Msyw.js → converter-CKNXzz1k.js} +1213 -1154
- package/dist/super-editor/chunks/{docx-zipper-QLwB_17K.js → docx-zipper-C1jI4w3a.js} +1 -1
- package/dist/super-editor/chunks/{editor-Do07rOjy.js → editor-mUC7-KK_.js} +2666 -2592
- package/dist/super-editor/chunks/{toolbar-SSL9IQya.js → toolbar-D3sIFNZk.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.d.ts +8 -0
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts +4 -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/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts +10 -0
- package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +7 -7
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts +3 -0
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +1 -0
- package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +1 -1
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +5 -5
- package/dist/superdoc.cjs +5 -5
- package/dist/superdoc.es.js +7 -7
- package/dist/superdoc.umd.js +4751 -4615
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +2 -1
- package/dist/chunks/xml-js-CMQ3QRee.cjs +0 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as _, createElementBlock as ie, openBlock as q, createElementVNode as Ot, createCommentVNode as he, normalizeClass as en, normalizeStyle as Tt, ref as R, unref as W, createBlock as Ge, toDisplayString as Xn, withDirectives as ft, withKeys as Hr, withModifiers as jr, vModelText as Wr, getCurrentInstance as Lt, createVNode as ct, readonly as tn, watch as we, onMounted as Ke, onBeforeUnmount as Be, reactive as Us, onBeforeMount as fr, inject as te, onActivated as Gs, onDeactivated as oi, createTextVNode as ht, Fragment as _e, Comment as hr, defineComponent as ee, provide as Se, h as A, Teleport as Xs, toRef as se, nextTick as ii, renderSlot as qs, isVNode as Ys, shallowRef as Zs, watchEffect as pt, mergeProps as gt, Transition as nn, vShow as Js, cloneVNode as Qs, Text as el, renderList as tl, withCtx as xt } from "vue";
|
|
2
|
-
import { x as rn } from "./converter-
|
|
3
|
-
import { _ as mt, g as kt } from "./editor-
|
|
2
|
+
import { x as rn } from "./converter-CKNXzz1k.js";
|
|
3
|
+
import { _ as mt, g as kt } from "./editor-mUC7-KK_.js";
|
|
4
4
|
const I0 = (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;
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
* @property {boolean} [isInternal=false] - Whether this is an internal editor
|
|
50
50
|
* @property {Array} [externalExtensions=[]] - External extensions
|
|
51
51
|
* @property {Object} [numbering={}] - Numbering configuration
|
|
52
|
+
* @property {boolean} [isHeaderOrFooter=false] - Whether this is a header or footer editor
|
|
52
53
|
* @property {Function} [onBeforeCreate] - Called before editor creation
|
|
53
54
|
* @property {Function} [onCreate] - Called after editor creation
|
|
54
55
|
* @property {Function} [onUpdate] - Called when editor content updates
|
|
@@ -177,6 +178,7 @@ export class Editor extends EventEmitter {
|
|
|
177
178
|
isInternal: boolean;
|
|
178
179
|
externalExtensions: any[];
|
|
179
180
|
numbering: {};
|
|
181
|
+
isHeaderOrFooter: boolean;
|
|
180
182
|
onBeforeCreate: () => any;
|
|
181
183
|
onCreate: () => any;
|
|
182
184
|
onUpdate: () => any;
|
|
@@ -270,6 +272,7 @@ export class Editor extends EventEmitter {
|
|
|
270
272
|
* @returns {void}
|
|
271
273
|
*/
|
|
272
274
|
initializeCollaborationData(): void;
|
|
275
|
+
replaceContent(content: any): void;
|
|
273
276
|
/**
|
|
274
277
|
* Set editor options and update state.
|
|
275
278
|
* @param {EditorOptions} options - Editor options
|
|
@@ -376,6 +379,7 @@ export class Editor extends EventEmitter {
|
|
|
376
379
|
updatePageStyle({ pageMargins }: {
|
|
377
380
|
pageMargins: any;
|
|
378
381
|
}): void;
|
|
382
|
+
getUpdatedJson(): any;
|
|
379
383
|
/**
|
|
380
384
|
* Export the editor document to DOCX.
|
|
381
385
|
* @async
|
|
@@ -596,6 +600,10 @@ export type EditorOptions = {
|
|
|
596
600
|
* - Numbering configuration
|
|
597
601
|
*/
|
|
598
602
|
numbering?: any;
|
|
603
|
+
/**
|
|
604
|
+
* - Whether this is a header or footer editor
|
|
605
|
+
*/
|
|
606
|
+
isHeaderOrFooter?: boolean;
|
|
599
607
|
/**
|
|
600
608
|
* - Called before editor creation
|
|
601
609
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"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"}
|
|
@@ -61,6 +61,7 @@ export class SuperConverter {
|
|
|
61
61
|
odd: any;
|
|
62
62
|
first: any;
|
|
63
63
|
};
|
|
64
|
+
headerEditors: any[];
|
|
64
65
|
footers: {};
|
|
65
66
|
footerIds: {
|
|
66
67
|
default: any;
|
|
@@ -68,6 +69,7 @@ export class SuperConverter {
|
|
|
68
69
|
odd: any;
|
|
69
70
|
first: any;
|
|
70
71
|
};
|
|
72
|
+
footerEditors: any[];
|
|
71
73
|
linkedStyles: any[];
|
|
72
74
|
json: any;
|
|
73
75
|
tagsNotInSchema: string[];
|
|
@@ -105,7 +107,7 @@ export class SuperConverter {
|
|
|
105
107
|
getSchema(editor: any): import("./v2/importer/docxImporter.js").PmNodeJson;
|
|
106
108
|
schemaToXml(data: any, debug?: boolean): string;
|
|
107
109
|
exportToDocx(jsonData: any, editorSchema: any, documentMedia: any, isFinalDoc: boolean, commentsExportType: any, comments: any[], editor: any): Promise<string>;
|
|
108
|
-
exportToXmlJson({ data, editorSchema, comments, commentDefinitions, commentsExportType, isFinalDoc, editor, }: {
|
|
110
|
+
exportToXmlJson({ data, editorSchema, comments, commentDefinitions, commentsExportType, isFinalDoc, editor, isHeaderFooter, }: {
|
|
109
111
|
data: any;
|
|
110
112
|
editorSchema: any;
|
|
111
113
|
comments: any;
|
|
@@ -113,6 +115,7 @@ export class SuperConverter {
|
|
|
113
115
|
commentsExportType?: string;
|
|
114
116
|
isFinalDoc?: boolean;
|
|
115
117
|
editor: any;
|
|
118
|
+
isHeaderFooter?: boolean;
|
|
116
119
|
}): {
|
|
117
120
|
result: any;
|
|
118
121
|
params: any;
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;IAwFtF,gDAoBC;IAED,6DAqBC;IAjID,0BA8DC;IA5DC,WAAmC;IAGnC,iBAAuB;IACvB,wBAA8B;IAG9B,iBAAsB;IACtB,UAA8B;IAC9B,WAAgC;IAEhC,WAAgC;IAEhC,eAAoB;IACpB,gBAAkB;IAGlB,4BAAoC;IAGpC,SAAsB;IAItB,cAAmB;IAInB,gBAAsB;IAGtB,iBAAuB;IAGvB,YAAiB;IACjB;;;;;MAAsE;IACtE,qBAAuB;IACvB,YAAiB;IACjB;;;;;MAAsE;IACtE,qBAAuB;IAGvB,oBAAsB;IAGtB,UAAwB;IAExB,0BAAiC;IACjC,0BAA4B;IAG5B,eAA0C;IAC1C,wBAA8B;IAG9B,gBAA4C;IAC5C,gBAA4C;IAM9C,qBAgBC;IAED,8BAEC;IA+CD;;;;;;;;;;MAwCC;IAED,2BAmDC;IAED,8BAwBC;IAED;;;;;;MAWC;IAED;;;MAgBC;IAED,2EAeC;IAED,gDAGC;IAED,gKA4DC;IAED;;;;;;;;;;;;MA8BC;;CA2JF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAwBA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAqCxB;
|
|
1
|
+
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAwBA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAqCxB;AAsCD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;AA8xDD;;;;;;;;;EAaC;AA+FD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAsEF;;;;;;;;;;;;;mBArmEa,KAAQ;;;;;;UAKR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as m } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E as m } from "./chunks/editor-mUC7-KK_.js";
|
|
2
|
+
import "./chunks/converter-CKNXzz1k.js";
|
|
3
|
+
import "./chunks/docx-zipper-C1jI4w3a.js";
|
|
4
4
|
export {
|
|
5
5
|
m as Editor
|
|
6
6
|
};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
export const PaginationPluginKey: PluginKey<any>;
|
|
2
2
|
export function initPaginationData(editor: SuperEditor): any;
|
|
3
|
+
export function createHeaderFooterEditor({ editor, data, editorContainer, appendToBody, sectionId, type, availableHeight }: {
|
|
4
|
+
editor: any;
|
|
5
|
+
data: any;
|
|
6
|
+
editorContainer: any;
|
|
7
|
+
appendToBody?: boolean;
|
|
8
|
+
sectionId: any;
|
|
9
|
+
type: any;
|
|
10
|
+
availableHeight: any;
|
|
11
|
+
}): any;
|
|
12
|
+
export function toggleHeaderFooterEditMode(editor: any, focusedSectionEditor: any, isEditMode: any): void;
|
|
3
13
|
import { PluginKey } from 'prosemirror-state';
|
|
4
14
|
//# sourceMappingURL=pagination-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../src/extensions/pagination/pagination-helpers.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../src/extensions/pagination/pagination-helpers.js"],"names":[],"mappings":"AAKA,iDAAqE;AAQ9D,2CAHI,WAAW,OAuCrB;AA8BM;;;;;;;;QA8DN;AAEM,0GAYN;0BA3JyB,mBAAmB"}
|
|
@@ -6,14 +6,14 @@ var bt = (t, r, o) => r in t ? yt(t, r, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var Re = (t, r, o) => bt(t, typeof r != "symbol" ? r + "" : r, o), qe = (t, r, o) => r.has(t) || Ue("Cannot " + o);
|
|
7
7
|
var Ae = (t, r, o) => (qe(t, r, "read from private field"), o ? o.call(t) : r.get(t)), Oe = (t, r, o) => r.has(t) ? Ue("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, o);
|
|
8
8
|
var z = (t, r, o) => (qe(t, r, "access private method"), o);
|
|
9
|
-
import { _ as q, a as Ze, b as wt, I as Ne, f as Ct, c as Ge, d as kt, i as _t, u as xt, r as Et, E as ze, e as St, P as At, h as Tt, M as Ft, j as It, A as Lt, N as Mt } from "./chunks/editor-
|
|
10
|
-
import { C as No, T as zo, l as Vo, n as Wo, k as Po, m as jo } from "./chunks/editor-
|
|
11
|
-
import { a1 as Dt, E as $t, a3 as Ht, T as Ye, a as Bt } from "./chunks/converter-
|
|
12
|
-
import { O as qo } from "./chunks/converter-
|
|
9
|
+
import { _ as q, a as Ze, b as wt, I as Ne, f as Ct, c as Ge, d as kt, i as _t, u as xt, r as Et, E as ze, e as St, P as At, h as Tt, M as Ft, j as It, A as Lt, N as Mt } from "./chunks/editor-mUC7-KK_.js";
|
|
10
|
+
import { C as No, T as zo, l as Vo, n as Wo, k as Po, m as jo } from "./chunks/editor-mUC7-KK_.js";
|
|
11
|
+
import { a1 as Dt, E as $t, a3 as Ht, T as Ye, a as Bt } from "./chunks/converter-CKNXzz1k.js";
|
|
12
|
+
import { O as qo } from "./chunks/converter-CKNXzz1k.js";
|
|
13
13
|
import { ref as f, createElementBlock as C, openBlock as w, createElementVNode as k, unref as D, getCurrentInstance as Rt, computed as j, watch as Ot, onMounted as ke, createCommentVNode as Q, withDirectives as Je, withKeys as Qe, normalizeClass as oe, withModifiers as ge, vModelText as et, createTextVNode as tt, toDisplayString as ie, Fragment as U, renderList as ee, normalizeStyle as J, createVNode as P, h as B, createApp as Nt, reactive as Ke, onUnmounted as zt, shallowRef as nt, onBeforeUnmount as ot, createBlock as Vt } from "vue";
|
|
14
|
-
import { t as X, s as Wt, T as Pt, N as Y } from "./chunks/toolbar-
|
|
14
|
+
import { t as X, s as Wt, T as Pt, N as Y } from "./chunks/toolbar-D3sIFNZk.js";
|
|
15
15
|
import jt from "./ai-writer.es.js";
|
|
16
|
-
import { D as Ko } from "./chunks/docx-zipper-
|
|
16
|
+
import { D as Ko } from "./chunks/docx-zipper-C1jI4w3a.js";
|
|
17
17
|
import { createZip as Zo } from "./file-zipper.es.js";
|
|
18
18
|
var it = { exports: {} };
|
|
19
19
|
(function(t) {
|
|
@@ -1885,7 +1885,7 @@ class Mo extends qt {
|
|
|
1885
1885
|
bold: "bold",
|
|
1886
1886
|
textAlign: "textAlign"
|
|
1887
1887
|
}, d = this.activeEditor.converter?.linkedStyles.find((m) => m.id === c.attrs.styleId);
|
|
1888
|
-
if (l[e.name.value] in d?.definition.styles) {
|
|
1888
|
+
if (d && l[e.name.value] in d?.definition.styles) {
|
|
1889
1889
|
const m = {
|
|
1890
1890
|
[e.name.value]: d?.definition.styles[l[e.name.value]]
|
|
1891
1891
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BTMvkUyI.d.ts","sourceRoot":"","sources":["../../../../../../src/tests/e2e/test-app/dist/assets/index-BTMvkUyI.js"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vite").UserConfig & Promise<import("vite").UserConfig> &
|
|
1
|
+
declare const _default: import("vite").UserConfig & Promise<import("vite").UserConfig> & import("vite").UserConfigFnObject & import("vite").UserConfigFnPromise & import("vite").UserConfigFn;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=vite.config.d.ts.map
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-C3Zp0IuS.cjs");require("./chunks/vue-BQCc2YbW.cjs");exports.AIWriter=e.xe;exports.BasicUpload=e.$o;exports.CommentsPluginKey=e.ge;exports.DocxZipper=e.Nt;exports.Editor=e.ss;exports.Extensions=e.Bo;exports.SuperConverter=e.Ot;exports.SuperEditor=e.Do;exports.SuperInput=e.Ho;exports.SuperToolbar=e.Mo;exports.Toolbar=e.P0;exports.TrackChangesBasePluginKey=e.ce;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Qx;exports.getActiveFormatting=e.dp;exports.getAllowedImageDimensions=e.mo;exports.getMarksFromSelection=e.Wo;exports.getRichTextExtensions=e.Vx;exports.getStarterExtensions=e.Hx;exports.helpers=e.Fs;exports.trackChangesHelpers=e.tS;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { x as
|
|
1
|
+
import { x as t, $ as r, g as o, N as i, s as n, B as p, O as g, D as l, H as c, M as m, P as u, c as x, a as d, Q as S, d as E, m as h, W as A, V as C, b as T, F as b, t as k } from "./chunks/super-editor.es-hOWZIdvT.es.js";
|
|
2
2
|
import "./chunks/vue-DKS68Dra.es.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
t as AIWriter,
|
|
5
|
+
r as BasicUpload,
|
|
6
6
|
o as CommentsPluginKey,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
i as DocxZipper,
|
|
8
|
+
n as Editor,
|
|
9
9
|
p as Extensions,
|
|
10
10
|
g as SuperConverter,
|
|
11
11
|
l as SuperEditor,
|