@harbour-enterprises/superdoc 0.23.0-next.2 → 0.23.0-next.3
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-MPmm-SUD.es.js → PdfViewer-BfGJJ5Fk.es.js} +1 -1
- package/dist/chunks/{PdfViewer-BItyloFT.cjs → PdfViewer-Cm-ziNtE.cjs} +1 -1
- package/dist/chunks/{index-OVF3JhUR.es.js → index-Bl4NtKeS.es.js} +3 -10
- package/dist/chunks/{index-CdJOxoqt.cjs → index-CJIVhJxE.cjs} +3 -10
- package/dist/core/SuperDoc.d.ts +5 -18
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +29 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/superdoc.cjs +1 -1
- package/dist/superdoc.es.js +1 -1
- package/dist/superdoc.umd.js +2 -9
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as defineComponent, B as h, O as Transition, $ as process$1, I as watchEffect, d as computed, r as ref, j as onMounted, W as onUnmounted, c as createElementBlock, o as openBlock, a as createBaseVNode, f as createCommentVNode, v as createVNode, x as unref } from "./vue-CXxsqYcP.es.js";
|
|
2
|
-
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-
|
|
2
|
+
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-Bl4NtKeS.es.js";
|
|
3
3
|
function self(vars) {
|
|
4
4
|
const {
|
|
5
5
|
opacityDisabled,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const vue = require("./vue-DWle4Cai.cjs");
|
|
4
|
-
const superdoc = require("./index-
|
|
4
|
+
const superdoc = require("./index-CJIVhJxE.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -17397,7 +17397,7 @@ const _sfc_main = {
|
|
|
17397
17397
|
__name: "SuperDoc",
|
|
17398
17398
|
emits: ["selection-update"],
|
|
17399
17399
|
setup(__props, { emit: __emit }) {
|
|
17400
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17400
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-BfGJJ5Fk.es.js"));
|
|
17401
17401
|
const superdocStore = useSuperdocStore();
|
|
17402
17402
|
const commentsStore = useCommentsStore();
|
|
17403
17403
|
const {
|
|
@@ -18525,15 +18525,8 @@ class SuperDoc extends EventEmitter {
|
|
|
18525
18525
|
}
|
|
18526
18526
|
/**
|
|
18527
18527
|
* Export the superdoc to a file
|
|
18528
|
-
* @param {
|
|
18529
|
-
* @
|
|
18530
|
-
* @param {string} [params.commentsType]
|
|
18531
|
-
* @param {string} [params.exportedName]
|
|
18532
|
-
* @param {Array} [params.additionalFiles]
|
|
18533
|
-
* @param {Array} [params.additionalFileNames]
|
|
18534
|
-
* @param {boolean} [params.isFinalDoc]
|
|
18535
|
-
* @param {boolean} [params.triggerDownload] Whether to trigger the download of the exported file
|
|
18536
|
-
* @returns {Promise<void | Blob>} Returns void if triggerDownload is false, otherwise returns the exported file
|
|
18528
|
+
* @param {ExportParams} params - Export configuration
|
|
18529
|
+
* @returns {Promise<void | Blob>}
|
|
18537
18530
|
*/
|
|
18538
18531
|
async export({
|
|
18539
18532
|
exportType = ["docx"],
|
|
@@ -17414,7 +17414,7 @@ const _sfc_main = {
|
|
|
17414
17414
|
__name: "SuperDoc",
|
|
17415
17415
|
emits: ["selection-update"],
|
|
17416
17416
|
setup(__props, { emit: __emit }) {
|
|
17417
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17417
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-Cm-ziNtE.cjs")));
|
|
17418
17418
|
const superdocStore = useSuperdocStore();
|
|
17419
17419
|
const commentsStore = useCommentsStore();
|
|
17420
17420
|
const {
|
|
@@ -18542,15 +18542,8 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
18542
18542
|
}
|
|
18543
18543
|
/**
|
|
18544
18544
|
* Export the superdoc to a file
|
|
18545
|
-
* @param {
|
|
18546
|
-
* @
|
|
18547
|
-
* @param {string} [params.commentsType]
|
|
18548
|
-
* @param {string} [params.exportedName]
|
|
18549
|
-
* @param {Array} [params.additionalFiles]
|
|
18550
|
-
* @param {Array} [params.additionalFileNames]
|
|
18551
|
-
* @param {boolean} [params.isFinalDoc]
|
|
18552
|
-
* @param {boolean} [params.triggerDownload] Whether to trigger the download of the exported file
|
|
18553
|
-
* @returns {Promise<void | Blob>} Returns void if triggerDownload is false, otherwise returns the exported file
|
|
18545
|
+
* @param {ExportParams} params - Export configuration
|
|
18546
|
+
* @returns {Promise<void | Blob>}
|
|
18554
18547
|
*/
|
|
18555
18548
|
async export({
|
|
18556
18549
|
exportType = ["docx"],
|
package/dist/core/SuperDoc.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
/** @typedef {import('./types').Editor} Editor */
|
|
6
6
|
/** @typedef {import('./types').DocumentMode} DocumentMode */
|
|
7
7
|
/** @typedef {import('./types').Config} Config */
|
|
8
|
+
/** @typedef {import('./types').ExportParams} ExportParams */
|
|
8
9
|
/**
|
|
9
10
|
* SuperDoc class
|
|
10
11
|
* Expects a config object
|
|
@@ -194,25 +195,10 @@ export class SuperDoc extends EventEmitter<string | symbol, any> {
|
|
|
194
195
|
lockSuperdoc(isLocked: boolean, lockedBy: User): void;
|
|
195
196
|
/**
|
|
196
197
|
* Export the superdoc to a file
|
|
197
|
-
* @param {
|
|
198
|
-
* @
|
|
199
|
-
* @param {string} [params.commentsType]
|
|
200
|
-
* @param {string} [params.exportedName]
|
|
201
|
-
* @param {Array} [params.additionalFiles]
|
|
202
|
-
* @param {Array} [params.additionalFileNames]
|
|
203
|
-
* @param {boolean} [params.isFinalDoc]
|
|
204
|
-
* @param {boolean} [params.triggerDownload] Whether to trigger the download of the exported file
|
|
205
|
-
* @returns {Promise<void | Blob>} Returns void if triggerDownload is false, otherwise returns the exported file
|
|
198
|
+
* @param {ExportParams} params - Export configuration
|
|
199
|
+
* @returns {Promise<void | Blob>}
|
|
206
200
|
*/
|
|
207
|
-
export({ exportType, commentsType, exportedName, additionalFiles, additionalFileNames, isFinalDoc, triggerDownload, fieldsHighlightColor, }?:
|
|
208
|
-
exportType?: string[];
|
|
209
|
-
commentsType?: string;
|
|
210
|
-
exportedName?: string;
|
|
211
|
-
additionalFiles?: any[];
|
|
212
|
-
additionalFileNames?: any[];
|
|
213
|
-
isFinalDoc?: boolean;
|
|
214
|
-
triggerDownload?: boolean;
|
|
215
|
-
}): Promise<void | Blob>;
|
|
201
|
+
export({ exportType, commentsType, exportedName, additionalFiles, additionalFileNames, isFinalDoc, triggerDownload, fieldsHighlightColor, }?: ExportParams): Promise<void | Blob>;
|
|
216
202
|
/**
|
|
217
203
|
* Export editors to DOCX format.
|
|
218
204
|
* @param {{ commentsType?: string, isFinalDoc?: boolean }} [options]
|
|
@@ -253,6 +239,7 @@ export type Modules = any;
|
|
|
253
239
|
export type Editor = any;
|
|
254
240
|
export type DocumentMode = any;
|
|
255
241
|
export type Config = any;
|
|
242
|
+
export type ExportParams = any;
|
|
256
243
|
import { EventEmitter } from 'eventemitter3';
|
|
257
244
|
import { Telemetry } from '@harbour-enterprises/common/Telemetry.js';
|
|
258
245
|
import { SuperToolbar } from '@harbour-enterprises/super-editor';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuperDoc.d.ts","sourceRoot":"","sources":["../../src/core/SuperDoc.js"],"names":[],"mappings":"AAgBA,6CAA6C;AAC7C,mEAAmE;AACnE,qDAAqD;AACrD,mDAAmD;AACnD,iDAAiD;AACjD,6DAA6D;AAC7D,iDAAiD;
|
|
1
|
+
{"version":3,"file":"SuperDoc.d.ts","sourceRoot":"","sources":["../../src/core/SuperDoc.js"],"names":[],"mappings":"AAgBA,6CAA6C;AAC7C,mEAAmE;AACnE,qDAAqD;AACrD,mDAAmD;AACnD,iDAAiD;AACjD,6DAA6D;AAC7D,iDAAiD;AACjD,6DAA6D;AAE7D;;;;;;GAMG;AACH;IACE,4BAA4B;IAC5B,qBADW,KAAK,CAAC,MAAM,CAAC,CACgB;IAwExC;;OAEG;IACH,oBAFW,MAAM,EAKhB;IA5ED,qBAAqB;IACrB,SADW,MAAM,CACT;IAER,qBAAqB;IACrB,OADW,IAAI,EAAE,CACX;IAEN,4CAA4C;IAC5C,MADW,OAAO,KAAK,EAAE,GAAG,GAAG,SAAS,CACnC;IAEL,4EAA4E;IAC5E,UADW,OAAO,sBAAsB,EAAE,kBAAkB,GAAG,SAAS,CAC/D;IAET,qBAAqB;IACrB,QADW,MAAM,CAwDf;IAiBA,4BAA6B;IAC7B,mBAAmB;IAMnB,gBAA+C;IAC/C,YAAgC;IAehC,UAA4B;IAE5B,YAAkB;IAElB,WAAuC;IAEvC,kBAAwB;IACxB,gBAAkB;IASlB,qBAAqB;IAErB,cAA6C;IAC7C,cAA4C;IAM9C;;;OAGG;IACH,+BAFa,MAAM,CAIlB;IAED;;;MAKC;IAED;;;OAGG;IACH,eAFa,WAAW,GAAG,IAAI,CAO9B;IAsFC,SAAc;IACd,WAAkB;IAKlB,mBAAkC;IAClC,mBAAkC;IAClC,2BAAkD;IAkClD,yBAA2B;IA4B7B;;;;OAIG;IACH,0BAFa,IAAI,CAKhB;IAED;;;;OAIG;IACH,iC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,IAAI,CAAC,CAAC,CAkBhC;IAWK,kCAAkC;IAsBxC;;;OAGG;IACH,QAFa,OAAO,CAAC,IAAI,EAAE,CAAC,CAY3B;IAED;;;OAGG;IACH,WAFa,IAAI,CAiChB;IAED;;;OAGG;IACH,SAFa,IAAI,CAahB;IAED;;;;OAIG;IACH,oCAHW,OAAO,GACL,IAAI,CAMhB;;CACF;;;;;;;;;6BAx2B4B,eAAe;0BASlB,0CAA0C;6BAJ5B,mCAAmC;8BAC7C,iEAAiE"}
|
|
@@ -178,7 +178,35 @@ export type Editor = {
|
|
|
178
178
|
removeAllListeners(): void;
|
|
179
179
|
};
|
|
180
180
|
export type SuperDoc = import("../SuperDoc.js").SuperDoc;
|
|
181
|
-
export type DocumentMode =
|
|
181
|
+
export type DocumentMode = "editing" | "viewing" | "suggesting";
|
|
182
|
+
export type ExportType = "docx" | "pdf" | "html";
|
|
183
|
+
/**
|
|
184
|
+
* - 'external': Include only external comments (default)
|
|
185
|
+
* - 'clean': Export without any comments
|
|
186
|
+
*/
|
|
187
|
+
export type CommentsType = "external" | "clean";
|
|
188
|
+
export type ExportParams = {
|
|
189
|
+
/**
|
|
190
|
+
* - File formats to export
|
|
191
|
+
*/
|
|
192
|
+
exportType?: ExportType[];
|
|
193
|
+
/**
|
|
194
|
+
* - How to handle comments
|
|
195
|
+
*/
|
|
196
|
+
commentsType?: CommentsType;
|
|
197
|
+
/**
|
|
198
|
+
* - Custom filename (without extension)
|
|
199
|
+
*/
|
|
200
|
+
exportedName?: string;
|
|
201
|
+
/**
|
|
202
|
+
* - Auto-download or return blob
|
|
203
|
+
*/
|
|
204
|
+
triggerDownload?: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* - Color for field highlights
|
|
207
|
+
*/
|
|
208
|
+
fieldsHighlightColor?: string;
|
|
209
|
+
};
|
|
182
210
|
export type Config = {
|
|
183
211
|
/**
|
|
184
212
|
* The ID of the SuperDoc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/types/index.js"],"names":[],"mappings":";;;;;;;UAEc,MAAM;;;;WACN,MAAM;;;;YACN,MAAM,GAAG,IAAI;;;;;;;;;cAKb,OAAO;;;;iBACP,MAAM;;;;eACN,MAAM;;;;sBACN,MAAM;;;;;;SAKN,MAAM;;;;UACN,MAAM;;;;WACN,IAAI,GAAG,IAAI,GAAG,IAAI;;;;WAClB,MAAM;;;;UACN,MAAM;;;;gBACN,OAAO;;;;WACP,OAAO,KAAK,EAAE,GAAG;;;;eACjB,OAAO,sBAAsB,EAAE,kBAAkB;;;;;;;;;;SAO5D;QAAuB,MAAM,GAAlB,MAAM;QACM,QAAQ,GAApB,MAAM;KACjB;;;;;;;;;;;;gBAGA;QAA6B,WAAW;QACR,YAAY;QACb,mBAAmB,GAAvC,OAAO;KACpB;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/types/index.js"],"names":[],"mappings":";;;;;;;UAEc,MAAM;;;;WACN,MAAM;;;;YACN,MAAM,GAAG,IAAI;;;;;;;;;cAKb,OAAO;;;;iBACP,MAAM;;;;eACN,MAAM;;;;sBACN,MAAM;;;;;;SAKN,MAAM;;;;UACN,MAAM;;;;WACN,IAAI,GAAG,IAAI,GAAG,IAAI;;;;WAClB,MAAM;;;;UACN,MAAM;;;;gBACN,OAAO;;;;WACP,OAAO,KAAK,EAAE,GAAG;;;;eACjB,OAAO,sBAAsB,EAAE,kBAAkB;;;;;;;;;;SAO5D;QAAuB,MAAM,GAAlB,MAAM;QACM,QAAQ,GAApB,MAAM;KACjB;;;;;;;;;;;;gBAGA;QAA6B,WAAW;QACR,YAAY;QACb,mBAAmB,GAAvC,OAAO;KACpB;;;;;;;;;;;;;;sBAiFm89e,aAAa;;;;;;;;;;;yBAA+xJ,aAAa;;;;;;;;;;;;;;;;+BAAm8U,aAAa;sBAA7joB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;6CAA02+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E,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,KAAK,IAAI;;;;wBAC/C,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,QAAQ,CAAC;QAAC,MAAM,QAAO;KAAE,KAAK,IAAI;;;;eACtD,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE,KAAK,IAAI;;;;yBACvD,MAAM,IAAI;;;;sBACV,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI;;;;2BAC3B,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI;;;;qBACpC,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI;;;;kBACpC,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,KAAK,IAAI;;;;2BAClC,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI;;;;8BACzC,CAAC,MAAM,EAAE,EAAE,KAAC,GAAA;;;;aACZ,MAAM;;;;uBACN,KAAQ;;;;iBACR,OAAO;;;;YACP,MAAM;;;;oBACN,KAAQ;;;;eACR,OAAO;;;;wBACP,CAAS,IAAI,EAAJ,IAAI,KAAG,OAAO,CAAC,MAAM,CAAC;;;;eAC/B,IAAI;;;;aACJ,OAAO;;;;gCACP,OAAO;;;;;;;;yBAEP,OAAO;;;;WACP,MAAM;;;;eACN,MAAM;;;;cACN,OAAO"}
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const superEditor_es = require("./chunks/super-editor.es-C7stybby.cjs");
|
|
4
|
-
const superdoc = require("./chunks/index-
|
|
4
|
+
const superdoc = require("./chunks/index-CJIVhJxE.cjs");
|
|
5
5
|
require("./chunks/vue-DWle4Cai.cjs");
|
|
6
6
|
require("./chunks/jszip-b7l8QkfH.cjs");
|
|
7
7
|
const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-DQnqUJZs.es.js";
|
|
2
|
-
import { D, H, P, S as S2, m, l } from "./chunks/index-
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-Bl4NtKeS.es.js";
|
|
3
3
|
import "./chunks/vue-CXxsqYcP.es.js";
|
|
4
4
|
import "./chunks/jszip-B8KIZSNe.es.js";
|
|
5
5
|
import { B } from "./chunks/blank-docx-iwdyG9RH.es.js";
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -112142,15 +112142,8 @@ ${style2}
|
|
|
112142
112142
|
}
|
|
112143
112143
|
/**
|
|
112144
112144
|
* Export the superdoc to a file
|
|
112145
|
-
* @param {
|
|
112146
|
-
* @
|
|
112147
|
-
* @param {string} [params.commentsType]
|
|
112148
|
-
* @param {string} [params.exportedName]
|
|
112149
|
-
* @param {Array} [params.additionalFiles]
|
|
112150
|
-
* @param {Array} [params.additionalFileNames]
|
|
112151
|
-
* @param {boolean} [params.isFinalDoc]
|
|
112152
|
-
* @param {boolean} [params.triggerDownload] Whether to trigger the download of the exported file
|
|
112153
|
-
* @returns {Promise<void | Blob>} Returns void if triggerDownload is false, otherwise returns the exported file
|
|
112145
|
+
* @param {ExportParams} params - Export configuration
|
|
112146
|
+
* @returns {Promise<void | Blob>}
|
|
112154
112147
|
*/
|
|
112155
112148
|
async export({
|
|
112156
112149
|
exportType = ["docx"],
|