@harbour-enterprises/superdoc 0.13.2-rev9 → 0.13.2
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/{eventemitter3-KKY27oz-.es.js → eventemitter3-BrspJk8q.es.js} +1 -1
- package/dist/chunks/{eventemitter3-CHxWXmuK.cjs → eventemitter3-DfVviFzP.cjs} +1 -1
- package/dist/chunks/{index-CweAXNfB.cjs → index-B4J7wgs6.cjs} +2 -2
- package/dist/chunks/{index-kOMfCfBT.cjs → index-Cdsq63Xq.cjs} +4 -4
- package/dist/chunks/{index-DS3W0eVB.es.js → index-Diu6UKHt.es.js} +4 -4
- package/dist/chunks/{index-BqLFjUHn.es.js → index-Hr3Um-Bg.es.js} +2 -2
- package/dist/chunks/{jszip-9bCX1h2W.cjs → jszip-BTAcmbVg.cjs} +1 -1
- package/dist/chunks/{jszip-Cl3s9njw.es.js → jszip-DckFs3A7.es.js} +1 -1
- package/dist/chunks/{super-editor.es-TaswSSDL.cjs → super-editor.es-BM89AzsN.cjs} +811 -1088
- package/dist/chunks/{super-editor.es-BE0HKCoV.es.js → super-editor.es-BNyzbCw0.es.js} +811 -1088
- package/dist/chunks/{url-B8LY3nwf.cjs → url-BIzg4y2i.cjs} +2 -2
- package/dist/chunks/{url-Bq00tGvm.es.js → url-CHayXMZH.es.js} +2 -2
- package/dist/chunks/{vue-BBJVqxjL.es.js → vue-Bi1uWinj.es.js} +3 -10
- package/dist/chunks/{vue-BBjMeYfo.cjs → vue-HIY1g7dm.cjs} +3 -10
- package/dist/chunks/{xml-js-BuAdLsHD.cjs → xml-js-BjqmFOSP.cjs} +102 -81
- package/dist/chunks/{xml-js-1F0lia4t.es.js → xml-js-CfClL-1b.es.js} +102 -81
- package/dist/style.css +1 -2
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BvRopd2F.js → converter-CsK9KCaL.js} +55 -637
- package/dist/super-editor/chunks/{docx-zipper-CZ8M74hv.js → docx-zipper-6iKmmME2.js} +1 -1
- package/dist/super-editor/chunks/{editor-D1rD0fdS.js → editor-Cxb-Zwyu.js} +685 -387
- package/dist/super-editor/chunks/{toolbar-CvP4K1yD.js → toolbar-QHIHaeEf.js} +3 -2
- package/dist/super-editor/converter.es.js +2 -2
- package/dist/super-editor/core/Editor.d.ts +0 -7
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/InputRule.d.ts +0 -7
- package/dist/super-editor/core/InputRule.d.ts.map +1 -1
- package/dist/super-editor/core/helpers/annotator.d.ts +0 -4
- package/dist/super-editor/core/helpers/annotator.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/field-annotation/field-annotation.d.ts.map +1 -1
- package/dist/super-editor/extensions/field-annotation/fieldAnnotationHelpers/findRemovedFieldAnnotations.d.ts.map +1 -1
- package/dist/super-editor/extensions/image/imageHelpers/startImageUpload.d.ts.map +1 -1
- package/dist/super-editor/extensions/line-break/line-break.d.ts.map +1 -1
- package/dist/super-editor/extensions/noderesizer/noderesizer.d.ts.map +1 -1
- package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts +1 -6
- package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
- package/dist/super-editor/extensions/pagination/pagination.d.ts.map +1 -1
- package/dist/super-editor/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +1 -2
- package/dist/super-editor/super-editor.es.js +7 -7
- 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 +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +9 -8
- package/dist/superdoc.es.js +10 -9
- package/dist/superdoc.umd.js +815 -1098
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/core/helpers/setImageNodeSelection.d.ts +0 -2
- package/dist/super-editor/core/helpers/setImageNodeSelection.d.ts.map +0 -1
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts +0 -3
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, nextTick, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-
|
|
2
|
+
import { x as process$1 } from "./converter-CsK9KCaL.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-Cxb-Zwyu.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -8568,6 +8568,7 @@ const style$2 = cB("icon", `
|
|
|
8568
8568
|
display: inline-block;
|
|
8569
8569
|
position: relative;
|
|
8570
8570
|
fill: currentColor;
|
|
8571
|
+
transform: translateZ(0);
|
|
8571
8572
|
`, [cM("color-transition", {
|
|
8572
8573
|
transition: "color .3s var(--n-bezier)"
|
|
8573
8574
|
}), cM("depth", {
|
|
@@ -211,8 +211,6 @@ export class Editor extends EventEmitter {
|
|
|
211
211
|
customUpdatedFiles: {};
|
|
212
212
|
};
|
|
213
213
|
setHighContrastMode: (value: any) => void;
|
|
214
|
-
mount(el: any): void;
|
|
215
|
-
unmount(): void;
|
|
216
214
|
/**
|
|
217
215
|
* Set the toolbar for this editor
|
|
218
216
|
* @param {Object} toolbar - The toolbar instance
|
|
@@ -332,10 +330,6 @@ export class Editor extends EventEmitter {
|
|
|
332
330
|
* @returns {Object} Size object with width and height
|
|
333
331
|
*/
|
|
334
332
|
getMaxContentSize(): any;
|
|
335
|
-
/**
|
|
336
|
-
* Attach styles and attributes to the editor element
|
|
337
|
-
*/
|
|
338
|
-
updateEditorStyles(element: any, proseMirror: any): void;
|
|
339
333
|
/**
|
|
340
334
|
* Initialize default styles for the editor container and ProseMirror.
|
|
341
335
|
* Get page size and margins from the converter.
|
|
@@ -427,7 +421,6 @@ export class Editor extends EventEmitter {
|
|
|
427
421
|
* @returns {void}
|
|
428
422
|
*/
|
|
429
423
|
destroy(): void;
|
|
430
|
-
destroyHeaderFooterEditors(): void;
|
|
431
424
|
/**
|
|
432
425
|
* Process collaboration migrations
|
|
433
426
|
* @returns {Object | void} Migration results
|
|
@@ -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":"AA4BA;;;;GAIG;AAEH;;;;;GAKG;AACH;;;;;EAKE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AAEH;;;;GAIG;AACH;IA2qBE;;;;;;;;;;;;OAYG;IACH,+BARW,IAAI,GAAC,IAAI,GAAC,MAAM,WAChB,OAAO,GACL,OAAO,OAAO,CAc1B;IAED;;;;;OAKG;IACH,qCAFa,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,gDAHW,MAAM,OAMhB;IA2qBD;;;;;OAKG;IACH,2CAFa,OAAO,CAOnB;IA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;;;;eACX,MAAM;;;;iBACN,OAAO;;;;mBACP,QAAQ;;;;iBACR,MAAM;;;;cACN,MAAM;;;;WACN,IAAI;;;;YACJ,KAAK,CAAE,IAAI,CAAC;;;;;;;;;;;;;;;;mBAIZ,MAAM;;;;WACN,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;;;;;;;iBAKN,MAAM;;;;;;;;eAEN,OAAO;;;;;;;;;;;;;;;;uBAIP,OAAO;;;;wBACP,OAAO;;;;gBACP,OAAO;;;;YACP,MAAM;;;;kBACN,OAAO;;;;iBACP,OAAO;;;;;;;;;;;;uBAGP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAsBP,OAAO;;;;mBACP,OAAO;;;;WACP,MAAM;;6BAnGS,mBAAmB"}
|
|
@@ -5,13 +5,6 @@
|
|
|
5
5
|
* @returns {String} The processed HTML string with em units converted to pt units.
|
|
6
6
|
*/
|
|
7
7
|
export function cleanHtmlUnnecessaryTags(html: string): string;
|
|
8
|
-
/**
|
|
9
|
-
* Recursive function to sanitize HTML and remove forbidden tags.
|
|
10
|
-
* @param {string} html The HTML string to be sanitized.
|
|
11
|
-
* @param {string[]} forbiddenTags The list of forbidden tags to remove from the HTML.
|
|
12
|
-
* @returns {DocumentFragment} The sanitized HTML as a DocumentFragment.
|
|
13
|
-
*/
|
|
14
|
-
export function sanitizeHtml(html: string, forbiddenTags?: string[]): DocumentFragment;
|
|
15
8
|
export class InputRule {
|
|
16
9
|
constructor(config: any);
|
|
17
10
|
match: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../src/core/InputRule.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../src/core/InputRule.js"],"names":[],"mappings":"AAwSA;;;;;GAKG;AACH,+DAOC;AA3SD;IAIE,yBAGC;IAND,WAAM;IACN,aAAQ;CAMT;AAgHM;;;gBAyHN;AAkCM,oDASN;uBAtSiC,mBAAmB"}
|
|
@@ -21,7 +21,6 @@ export namespace AnnotatorHelpers {
|
|
|
21
21
|
export { getAllHeaderFooterEditors };
|
|
22
22
|
export { updateHeaderFooterFieldAnnotations };
|
|
23
23
|
export { deleteHeaderFooterFieldAnnotations };
|
|
24
|
-
export { resetHeaderFooterFieldAnnotations };
|
|
25
24
|
export { cleanUpListsWithAnnotations };
|
|
26
25
|
}
|
|
27
26
|
/**
|
|
@@ -47,8 +46,5 @@ declare function deleteHeaderFooterFieldAnnotations({ editor, fieldIdOrArray }:
|
|
|
47
46
|
editor: any;
|
|
48
47
|
fieldIdOrArray: any;
|
|
49
48
|
}): void;
|
|
50
|
-
declare function resetHeaderFooterFieldAnnotations({ editor }: {
|
|
51
|
-
editor: any;
|
|
52
|
-
}): void;
|
|
53
49
|
export {};
|
|
54
50
|
//# sourceMappingURL=annotator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAYO,uEAiBN;AAiCM,+DAHJ;IAAuB,MAAM;IACP,gBAAgB;CACxC,OAkBA;AA8FM,kDAHI,MAAM,GACJ,KAAQ,CAsCpB;AAwBM;;;;;;;QAyFN;AA+
|
|
1
|
+
{"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAYO,uEAiBN;AAiCM,+DAHJ;IAAuB,MAAM;IACP,gBAAgB;CACxC,OAkBA;AA8FM,kDAHI,MAAM,GACJ,KAAQ,CAsCpB;AAwBM;;;;;;;QAyFN;AA+DM,sFAkFN;;;;;;;;;;;AAhQD;;;;;;;;GAQG;AACH,4GALG;IAAuB,MAAM;IACP,gBAAgB;IAChB,cAAc;CACpC,GAAU,IAAI,CAahB;AAuHD;;;;SAeC;AAED;;;SAgBC"}
|
|
@@ -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,CAwCxB;AA+DD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;
|
|
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,CAwCxB;AA+DD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;AAs5DD;;;;;;;;;EAcC;AA+FD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAwEF;;;;;;;;;;;;;mBA5vEa,KAAQ;;;;;;UAKR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|
|
@@ -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-Cxb-Zwyu.js";
|
|
2
|
+
import "./chunks/converter-CsK9KCaL.js";
|
|
3
|
+
import "./chunks/docx-zipper-6iKmmME2.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAQA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,
|
|
1
|
+
{"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAQA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,kCA68BG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findRemovedFieldAnnotations.d.ts","sourceRoot":"","sources":["../../../../src/extensions/field-annotation/fieldAnnotationHelpers/findRemovedFieldAnnotations.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"findRemovedFieldAnnotations.d.ts","sourceRoot":"","sources":["../../../../src/extensions/field-annotation/fieldAnnotationHelpers/findRemovedFieldAnnotations.js"],"names":[],"mappings":"AAEA,4DA+BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startImageUpload.d.ts","sourceRoot":"","sources":["../../../../src/extensions/image/imageHelpers/startImageUpload.js"],"names":[],"mappings":"AAIO;;;;
|
|
1
|
+
{"version":3,"file":"startImageUpload.d.ts","sourceRoot":"","sources":["../../../../src/extensions/image/imageHelpers/startImageUpload.js"],"names":[],"mappings":"AAIO;;;;kBAuFN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"AAEA,4BAiBG;AAEH,
|
|
1
|
+
{"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"AAEA,4BAiBG;AAEH,4BAsCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noderesizer.d.ts","sourceRoot":"","sources":["../../../src/extensions/noderesizer/noderesizer.js"],"names":[],"mappings":"AAIA;;GAEG;AACH,4CAA4D;
|
|
1
|
+
{"version":3,"file":"noderesizer.d.ts","sourceRoot":"","sources":["../../../src/extensions/noderesizer/noderesizer.js"],"names":[],"mappings":"AAIA;;GAEG;AACH,4CAA4D;AA6S5D,8BAMG;0BA1T+B,mBAAmB"}
|
|
@@ -11,12 +11,7 @@ export function createHeaderFooterEditor({ editor, data, editorContainer, append
|
|
|
11
11
|
currentPageNumber: any;
|
|
12
12
|
}): any;
|
|
13
13
|
export function broadcastEditorEvents(editor: any, sectionEditor: any): void;
|
|
14
|
-
export function toggleHeaderFooterEditMode(
|
|
15
|
-
editor: any;
|
|
16
|
-
focusedSectionEditor: any;
|
|
17
|
-
isEditMode: any;
|
|
18
|
-
documentMode: any;
|
|
19
|
-
}): void;
|
|
14
|
+
export function toggleHeaderFooterEditMode(editor: any, focusedSectionEditor: any, isEditMode: any): void;
|
|
20
15
|
export function onHeaderFooterDataUpdate({ editor, transaction }: {
|
|
21
16
|
editor: any;
|
|
22
17
|
transaction: any;
|
|
@@ -1 +1 @@
|
|
|
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;;;;;;;;;
|
|
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;;;;;;;;;QAqEN;AAEM,6EAeN;AAEM,0GAoBN;AAEM;;;8DAmBN;0BAhNyB,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/extensions/pagination/pagination.js"],"names":[],"mappings":"AAkBA,
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/extensions/pagination/pagination.js"],"names":[],"mappings":"AAkBA,6BAsJG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"AAMA,4BAoJG"}
|
|
@@ -546,8 +546,6 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
|
|
|
546
546
|
|
|
547
547
|
overflow-x: auto;
|
|
548
548
|
scrollbar-width: thin;
|
|
549
|
-
overflow: hidden;
|
|
550
|
-
|
|
551
549
|
/*
|
|
552
550
|
The border width does not need to be multiplied by two,
|
|
553
551
|
for tables it works differently. */
|
|
@@ -557,6 +555,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
|
|
|
557
555
|
border-collapse: collapse;
|
|
558
556
|
border-spacing: 0;
|
|
559
557
|
table-layout: fixed;
|
|
558
|
+
overflow: hidden;
|
|
560
559
|
margin: 0;
|
|
561
560
|
/* width: 100%; */
|
|
562
561
|
}
|
|
@@ -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 {
|
|
13
|
-
import {
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, f as findParentNode, c as getFileOpener, s as startImageUpload, d as getActiveFormatting, i as isInTable, e as undoDepth, r as redoDepth, E as Editor, h as getStarterExtensions, P as Placeholder, j as getRichTextExtensions, M as Mark, k as Extension, A as Attribute, N as Node } from "./chunks/editor-
|
|
15
|
-
import { o, C, T, m, q, p, l, n } from "./chunks/editor-
|
|
12
|
+
import { a2 as getDefaultExportFromCjs, E as v4, a5 as vClickOutside, T as TextSelection, a as Plugin } from "./chunks/converter-CsK9KCaL.js";
|
|
13
|
+
import { O } from "./chunks/converter-CsK9KCaL.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, f as findParentNode, c as getFileOpener, s as startImageUpload, d as getActiveFormatting, i as isInTable, e as undoDepth, r as redoDepth, E as Editor, h as getStarterExtensions, P as Placeholder, j as getRichTextExtensions, M as Mark, k as Extension, A as Attribute, N as Node } from "./chunks/editor-Cxb-Zwyu.js";
|
|
15
|
+
import { o, C, T, m, q, p, l, n } from "./chunks/editor-Cxb-Zwyu.js";
|
|
16
16
|
import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, getCurrentInstance, computed, watch, createCommentVNode, withDirectives, withKeys, vModelText, createTextVNode, toDisplayString, normalizeStyle, createVNode, h, createApp, reactive, onUnmounted, shallowRef, onBeforeUnmount, createBlock } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-QHIHaeEf.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-6iKmmME2.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
(function(module) {
|
|
@@ -3637,7 +3637,7 @@ export {
|
|
|
3637
3637
|
D as DocxZipper,
|
|
3638
3638
|
Editor,
|
|
3639
3639
|
Extensions,
|
|
3640
|
-
|
|
3640
|
+
O as SuperConverter,
|
|
3641
3641
|
SuperEditor,
|
|
3642
3642
|
SuperInput,
|
|
3643
3643
|
SuperToolbar,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vite").UserConfig & Promise<import("vite").UserConfig> & import("vite").UserConfigFnObject & import("vite").
|
|
1
|
+
declare const _default: import("vite").UserConfig & Promise<import("vite").UserConfig> & (import("vite").UserConfigFnObject & import("vite").UserConfigExport);
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=vite.config.d.ts.map
|
package/dist/super-editor.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
|
-
require("./chunks/vue-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-BM89AzsN.cjs");
|
|
4
|
+
require("./chunks/vue-HIY1g7dm.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
|
7
7
|
exports.BasicUpload = superEditor_es._sfc_main$1;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A, a, _, C, D, E, b, S, c, d, e, T, f, g, i, h, j, k, l, m, n, o } from "./chunks/super-editor.es-
|
|
2
|
-
import "./chunks/vue-
|
|
1
|
+
import { A, a, _, C, D, E, b, S, c, d, e, T, f, g, i, h, j, k, l, m, n, o } from "./chunks/super-editor.es-BNyzbCw0.es.js";
|
|
2
|
+
import "./chunks/vue-Bi1uWinj.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
|
5
5
|
a as AnnotatorHelpers,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
4
|
-
const vue = require("./chunks/vue-
|
|
5
|
-
const jszip = require("./chunks/jszip-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-BM89AzsN.cjs");
|
|
4
|
+
const vue = require("./chunks/vue-HIY1g7dm.cjs");
|
|
5
|
+
const jszip = require("./chunks/jszip-BTAcmbVg.cjs");
|
|
6
6
|
const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
|
|
7
|
-
const eventemitter3 = require("./chunks/eventemitter3-
|
|
7
|
+
const eventemitter3 = require("./chunks/eventemitter3-DfVviFzP.cjs");
|
|
8
8
|
const provider = require("@hocuspocus/provider");
|
|
9
9
|
const Y = require("yjs");
|
|
10
10
|
const uuid = require("./chunks/uuid-CQzaMNgL.cjs");
|
|
@@ -13335,6 +13335,7 @@ const style$2 = cB("icon", `
|
|
|
13335
13335
|
display: inline-block;
|
|
13336
13336
|
position: relative;
|
|
13337
13337
|
fill: currentColor;
|
|
13338
|
+
transform: translateZ(0);
|
|
13338
13339
|
`, [cM("color-transition", {
|
|
13339
13340
|
transition: "color .3s var(--n-bezier)"
|
|
13340
13341
|
}), cM("depth", {
|
|
@@ -24406,13 +24407,13 @@ var __webpack_exports__$1 = globalThis.pdfjsLib = {};
|
|
|
24406
24407
|
"./chunks/empty-lth7LH78.cjs"
|
|
24407
24408
|
)), http = await Promise.resolve().then(() => require(
|
|
24408
24409
|
/*webpackIgnore: true*/
|
|
24409
|
-
"./chunks/index-
|
|
24410
|
+
"./chunks/index-Cdsq63Xq.cjs"
|
|
24410
24411
|
)).then((n) => n.index), https = await Promise.resolve().then(() => require(
|
|
24411
24412
|
/*webpackIgnore: true*/
|
|
24412
|
-
"./chunks/index-
|
|
24413
|
+
"./chunks/index-B4J7wgs6.cjs"
|
|
24413
24414
|
)).then((n) => n.index), url = await Promise.resolve().then(() => require(
|
|
24414
24415
|
/*webpackIgnore: true*/
|
|
24415
|
-
"./chunks/url-
|
|
24416
|
+
"./chunks/url-BIzg4y2i.cjs"
|
|
24416
24417
|
)).then((n) => n.url);
|
|
24417
24418
|
let canvas, path2d;
|
|
24418
24419
|
try {
|
|
@@ -47805,7 +47806,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
47805
47806
|
this.config.colors = shuffleArray(this.config.colors);
|
|
47806
47807
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
47807
47808
|
this.colorIndex = 0;
|
|
47808
|
-
this.version = "0.13.2
|
|
47809
|
+
this.version = "0.13.2";
|
|
47809
47810
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
47810
47811
|
this.superdocId = config.superdocId || uuid.v4();
|
|
47811
47812
|
this.colors = this.config.colors;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as index$1, C as CommentsPluginKey, f as TrackChangesBasePluginKey, E as Editor, l as getRichTextExtensions, d as SuperInput, A as AIWriter, c as SuperEditor, e as SuperToolbar, g as createZip } from "./chunks/super-editor.es-
|
|
2
|
-
import { a, S, i, n } from "./chunks/super-editor.es-
|
|
3
|
-
import { Y as effectScope, r as ref, Z as markRaw, p as process$1, _ as toRaw, a as computed, $ as isRef, a0 as isReactive, D as toRef, i as inject, q as getCurrentInstance, l as watch, y as unref, a1 as hasInjectionContext, N as reactive, u as nextTick, a2 as getCurrentScope, a3 as onScopeDispose, a4 as toRefs, g as global$1, K as shallowRef, O as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, U as onActivated, s as onDeactivated, A as createTextVNode, F as Fragment, R as Comment, m as defineComponent, E as provide, I as withDirectives, C as h, V as Teleport, S as renderSlot, W as isVNode, J as watchEffect, P as Transition, G as mergeProps, Q as vShow, H as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, x as createVNode, z as withCtx, f as createBaseVNode, B as normalizeStyle, e as createCommentVNode, v as createBlock, w as withModifiers, n as normalizeClass, a5 as resolveDirective, d as renderList, c as createApp, X as onUnmounted, a6 as resolveDynamicComponent } from "./chunks/vue-
|
|
4
|
-
import { B as Buffer$2 } from "./chunks/jszip-
|
|
1
|
+
import { o as index$1, C as CommentsPluginKey, f as TrackChangesBasePluginKey, E as Editor, l as getRichTextExtensions, d as SuperInput, A as AIWriter, c as SuperEditor, e as SuperToolbar, g as createZip } from "./chunks/super-editor.es-BNyzbCw0.es.js";
|
|
2
|
+
import { a, S, i, n } from "./chunks/super-editor.es-BNyzbCw0.es.js";
|
|
3
|
+
import { Y as effectScope, r as ref, Z as markRaw, p as process$1, _ as toRaw, a as computed, $ as isRef, a0 as isReactive, D as toRef, i as inject, q as getCurrentInstance, l as watch, y as unref, a1 as hasInjectionContext, N as reactive, u as nextTick, a2 as getCurrentScope, a3 as onScopeDispose, a4 as toRefs, g as global$1, K as shallowRef, O as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, U as onActivated, s as onDeactivated, A as createTextVNode, F as Fragment, R as Comment, m as defineComponent, E as provide, I as withDirectives, C as h, V as Teleport, S as renderSlot, W as isVNode, J as watchEffect, P as Transition, G as mergeProps, Q as vShow, H as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, x as createVNode, z as withCtx, f as createBaseVNode, B as normalizeStyle, e as createCommentVNode, v as createBlock, w as withModifiers, n as normalizeClass, a5 as resolveDirective, d as renderList, c as createApp, X as onUnmounted, a6 as resolveDynamicComponent } from "./chunks/vue-Bi1uWinj.es.js";
|
|
4
|
+
import { B as Buffer$2 } from "./chunks/jszip-DckFs3A7.es.js";
|
|
5
5
|
import { B as BlankDOCX } from "./chunks/blank-docx-iwdyG9RH.es.js";
|
|
6
|
-
import { E as EventEmitter } from "./chunks/eventemitter3-
|
|
6
|
+
import { E as EventEmitter } from "./chunks/eventemitter3-BrspJk8q.es.js";
|
|
7
7
|
import { HocuspocusProvider, HocuspocusProviderWebsocket } from "@hocuspocus/provider";
|
|
8
8
|
import * as Y from "yjs";
|
|
9
9
|
import { Doc, Map as Map$2 } from "yjs";
|
|
@@ -13318,6 +13318,7 @@ const style$2 = cB("icon", `
|
|
|
13318
13318
|
display: inline-block;
|
|
13319
13319
|
position: relative;
|
|
13320
13320
|
fill: currentColor;
|
|
13321
|
+
transform: translateZ(0);
|
|
13321
13322
|
`, [cM("color-transition", {
|
|
13322
13323
|
transition: "color .3s var(--n-bezier)"
|
|
13323
13324
|
}), cM("depth", {
|
|
@@ -24389,13 +24390,13 @@ var __webpack_exports__$1 = globalThis.pdfjsLib = {};
|
|
|
24389
24390
|
"./chunks/empty-smM22Y5N.es.js"
|
|
24390
24391
|
), http = await import(
|
|
24391
24392
|
/*webpackIgnore: true*/
|
|
24392
|
-
"./chunks/index-
|
|
24393
|
+
"./chunks/index-Diu6UKHt.es.js"
|
|
24393
24394
|
).then((n2) => n2.i), https = await import(
|
|
24394
24395
|
/*webpackIgnore: true*/
|
|
24395
|
-
"./chunks/index-
|
|
24396
|
+
"./chunks/index-Hr3Um-Bg.es.js"
|
|
24396
24397
|
).then((n2) => n2.i), url = await import(
|
|
24397
24398
|
/*webpackIgnore: true*/
|
|
24398
|
-
"./chunks/url-
|
|
24399
|
+
"./chunks/url-CHayXMZH.es.js"
|
|
24399
24400
|
).then((n2) => n2.u);
|
|
24400
24401
|
let canvas, path2d;
|
|
24401
24402
|
try {
|
|
@@ -47788,7 +47789,7 @@ class SuperDoc extends EventEmitter {
|
|
|
47788
47789
|
this.config.colors = shuffleArray(this.config.colors);
|
|
47789
47790
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
47790
47791
|
this.colorIndex = 0;
|
|
47791
|
-
this.version = "0.13.2
|
|
47792
|
+
this.version = "0.13.2";
|
|
47792
47793
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
47793
47794
|
this.superdocId = config.superdocId || v4();
|
|
47794
47795
|
this.colors = this.config.colors;
|