@harbour-enterprises/superdoc 0.13.2-rev1 → 0.13.2-rev10
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-DfVviFzP.cjs → eventemitter3-CHxWXmuK.cjs} +1 -1
- package/dist/chunks/{eventemitter3-BrspJk8q.es.js → eventemitter3-KKY27oz-.es.js} +1 -1
- package/dist/chunks/{index-KzH9VKHh.es.js → index-BqLFjUHn.es.js} +2 -2
- package/dist/chunks/{index-B0t3i_io.cjs → index-CweAXNfB.cjs} +2 -2
- package/dist/chunks/{index-D_HUrFWV.es.js → index-DS3W0eVB.es.js} +4 -4
- package/dist/chunks/{index-Bk160jQ2.cjs → index-kOMfCfBT.cjs} +4 -4
- package/dist/chunks/{jszip-BTAcmbVg.cjs → jszip-9bCX1h2W.cjs} +1 -1
- package/dist/chunks/{jszip-DckFs3A7.es.js → jszip-Cl3s9njw.es.js} +1 -1
- package/dist/chunks/{super-editor.es--NMYzIh3.cjs → super-editor.es-Bdu65rjC.cjs} +1090 -816
- package/dist/chunks/{super-editor.es-DyTkLKR1.es.js → super-editor.es-BwWbNxcS.es.js} +1090 -816
- package/dist/chunks/{url-CWyTQ-Xy.cjs → url-B8LY3nwf.cjs} +2 -2
- package/dist/chunks/{url-DsBQArCl.es.js → url-Bq00tGvm.es.js} +2 -2
- package/dist/chunks/{vue-Bi1uWinj.es.js → vue-BBJVqxjL.es.js} +10 -3
- package/dist/chunks/{vue-HIY1g7dm.cjs → vue-BBjMeYfo.cjs} +10 -3
- package/dist/chunks/{xml-js-CdiD26MJ.es.js → xml-js-1F0lia4t.es.js} +2 -2
- package/dist/chunks/{xml-js-Bu1ZZzmb.cjs → xml-js-BuAdLsHD.cjs} +2 -2
- package/dist/style.css +2 -2
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-CJ9kHtZx.js → converter-lPrQA7b1.js} +632 -52
- package/dist/super-editor/chunks/{docx-zipper-scQqOWXA.js → docx-zipper-HvG9XskR.js} +1 -1
- package/dist/super-editor/chunks/{editor-DM6yaxu_.js → editor-DbkiH8Up.js} +386 -685
- package/dist/super-editor/chunks/{toolbar-CIHbdcnv.js → toolbar-JdrfUR1G.js} +2 -3
- package/dist/super-editor/converter.es.js +2 -2
- package/dist/super-editor/core/Editor.d.ts +7 -0
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/InputRule.d.ts +7 -0
- package/dist/super-editor/core/InputRule.d.ts.map +1 -1
- package/dist/super-editor/core/helpers/annotator.d.ts +4 -0
- package/dist/super-editor/core/helpers/annotator.d.ts.map +1 -1
- package/dist/super-editor/core/helpers/setImageNodeSelection.d.ts +2 -0
- package/dist/super-editor/core/helpers/setImageNodeSelection.d.ts.map +1 -0
- 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 +6 -1
- 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 +2 -2
- package/dist/super-editor/super-editor.es.js +7 -7
- 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 +8 -9
- package/dist/superdoc.es.js +9 -10
- package/dist/superdoc.umd.js +1101 -821
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -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 { y as process$1 } from "./converter-lPrQA7b1.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DbkiH8Up.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -8568,7 +8568,6 @@ const style$2 = cB("icon", `
|
|
|
8568
8568
|
display: inline-block;
|
|
8569
8569
|
position: relative;
|
|
8570
8570
|
fill: currentColor;
|
|
8571
|
-
transform: translateZ(0);
|
|
8572
8571
|
`, [cM("color-transition", {
|
|
8573
8572
|
transition: "color .3s var(--n-bezier)"
|
|
8574
8573
|
}), cM("depth", {
|
|
@@ -211,6 +211,8 @@ export class Editor extends EventEmitter {
|
|
|
211
211
|
customUpdatedFiles: {};
|
|
212
212
|
};
|
|
213
213
|
setHighContrastMode: (value: any) => void;
|
|
214
|
+
mount(el: any): void;
|
|
215
|
+
unmount(): void;
|
|
214
216
|
/**
|
|
215
217
|
* Set the toolbar for this editor
|
|
216
218
|
* @param {Object} toolbar - The toolbar instance
|
|
@@ -330,6 +332,10 @@ export class Editor extends EventEmitter {
|
|
|
330
332
|
* @returns {Object} Size object with width and height
|
|
331
333
|
*/
|
|
332
334
|
getMaxContentSize(): any;
|
|
335
|
+
/**
|
|
336
|
+
* Attach styles and attributes to the editor element
|
|
337
|
+
*/
|
|
338
|
+
updateEditorStyles(element: any, proseMirror: any): void;
|
|
333
339
|
/**
|
|
334
340
|
* Initialize default styles for the editor container and ProseMirror.
|
|
335
341
|
* Get page size and margins from the converter.
|
|
@@ -421,6 +427,7 @@ export class Editor extends EventEmitter {
|
|
|
421
427
|
* @returns {void}
|
|
422
428
|
*/
|
|
423
429
|
destroy(): void;
|
|
430
|
+
destroyHeaderFooterEditors(): void;
|
|
424
431
|
/**
|
|
425
432
|
* Process collaboration migrations
|
|
426
433
|
* @returns {Object | void} Migration results
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AA6BA;;;;GAIG;AAEH;;;;;GAKG;AACH;;;;;EAKE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AAEH;;;;GAIG;AACH;
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AA6BA;;;;GAIG;AAEH;;;;;GAKG;AACH;;;;;EAKE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AAEH;;;;GAIG;AACH;IA6rBE;;;;;;;;;;;;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;IA2tBD;;;;;OAKG;IACH,2CAFa,OAAO,CAOnB;IAh2CD;;;;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,MAAM;;;;WACN,MAAM,GAAG,IAAI;;;;;;cAIZ,WAAW;;;;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;;6BApGS,mBAAmB"}
|
|
@@ -5,6 +5,13 @@
|
|
|
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;
|
|
8
15
|
export class InputRule {
|
|
9
16
|
constructor(config: any);
|
|
10
17
|
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":"AAqSA;;;;;GAKG;AACH,+DAOC;AAED;;;;;GAKG;AACH,mCAJW,MAAM,kBACN,MAAM,EAAE,GACN,gBAAgB,CAwB5B;AAtUD;IAIE,yBAGC;IAND,WAAM;IACN,aAAQ;CAMT;AAgHM;;;gBAyHN;AA+BM,oDASN;uBAnSiC,mBAAmB"}
|
|
@@ -21,6 +21,7 @@ export namespace AnnotatorHelpers {
|
|
|
21
21
|
export { getAllHeaderFooterEditors };
|
|
22
22
|
export { updateHeaderFooterFieldAnnotations };
|
|
23
23
|
export { deleteHeaderFooterFieldAnnotations };
|
|
24
|
+
export { resetHeaderFooterFieldAnnotations };
|
|
24
25
|
export { cleanUpListsWithAnnotations };
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
@@ -46,5 +47,8 @@ declare function deleteHeaderFooterFieldAnnotations({ editor, fieldIdOrArray }:
|
|
|
46
47
|
editor: any;
|
|
47
48
|
fieldIdOrArray: any;
|
|
48
49
|
}): void;
|
|
50
|
+
declare function resetHeaderFooterFieldAnnotations({ editor }: {
|
|
51
|
+
editor: any;
|
|
52
|
+
}): void;
|
|
49
53
|
export {};
|
|
50
54
|
//# 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+EM,sFAkFN;;;;;;;;;;;;AAhRD;;;;;;;;GAQG;AACH,4GALG;IAAuB,MAAM;IACP,gBAAgB;IAChB,cAAc;CACpC,GAAU,IAAI,CAahB;AAuHD;;;;SAeC;AAED;;;SAeC;AAED;;SAeC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setImageNodeSelection.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/setImageNodeSelection.js"],"names":[],"mappings":"AAEO,oEASN"}
|
|
@@ -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;AAq5DD;;;;;;;;;EAcC;AA+FD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAwEF;;;;;;;;;;;;;mBA3vEa,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-DbkiH8Up.js";
|
|
2
|
+
import "./chunks/converter-lPrQA7b1.js";
|
|
3
|
+
import "./chunks/docx-zipper-HvG9XskR.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,kCAimCG"}
|
|
@@ -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,4DAkCC"}
|
|
@@ -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;;;;kBA2FN"}
|
|
@@ -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,4BA+CG"}
|
|
@@ -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;AAqT5D,8BAMG;0BAlU+B,mBAAmB"}
|
|
@@ -11,7 +11,12 @@ 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(editor
|
|
14
|
+
export function toggleHeaderFooterEditMode({ editor, focusedSectionEditor, isEditMode, documentMode }: {
|
|
15
|
+
editor: any;
|
|
16
|
+
focusedSectionEditor: any;
|
|
17
|
+
isEditMode: any;
|
|
18
|
+
documentMode: any;
|
|
19
|
+
}): void;
|
|
15
20
|
export function onHeaderFooterDataUpdate({ editor, transaction }: {
|
|
16
21
|
editor: any;
|
|
17
22
|
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;;;;;;;;;QAwEN;AAEM,6EAeN;AAEM;;;;;SAsBN;AAEM;;;8DAmBN;0BArNyB,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,6BAgKG"}
|
|
@@ -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,4BAqJG"}
|
|
@@ -877,8 +877,8 @@ on the right if it is inside shape textbox.
|
|
|
877
877
|
.pagination-section-footer img[contenteditable="false"] {
|
|
878
878
|
pointer-events: none;
|
|
879
879
|
}
|
|
880
|
-
.pagination-section-header div[contenteditable="false"],
|
|
881
|
-
.pagination-section-footer div[contenteditable="false"] {
|
|
880
|
+
.pagination-section-header div[contenteditable="false"]:not([documentmode="viewing"]),
|
|
881
|
+
.pagination-section-footer div[contenteditable="false"]:not([documentmode="viewing"]) {
|
|
882
882
|
opacity: 0.5;
|
|
883
883
|
}
|
|
884
884
|
.sd-editor-popover {
|
|
@@ -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 { a5 as getDefaultExportFromCjs, G as v4, a8 as vClickOutside, T as TextSelection, a as Plugin } from "./chunks/converter-lPrQA7b1.js";
|
|
13
|
+
import { U } from "./chunks/converter-lPrQA7b1.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-DbkiH8Up.js";
|
|
15
|
+
import { o, C, T, m, q, p, l, n } from "./chunks/editor-DbkiH8Up.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-JdrfUR1G.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-HvG9XskR.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
|
+
U as SuperConverter,
|
|
3641
3641
|
SuperEditor,
|
|
3642
3642
|
SuperInput,
|
|
3643
3643
|
SuperToolbar,
|
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-Bdu65rjC.cjs");
|
|
4
|
+
require("./chunks/vue-BBjMeYfo.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-BwWbNxcS.es.js";
|
|
2
|
+
import "./chunks/vue-BBJVqxjL.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-Bdu65rjC.cjs");
|
|
4
|
+
const vue = require("./chunks/vue-BBjMeYfo.cjs");
|
|
5
|
+
const jszip = require("./chunks/jszip-9bCX1h2W.cjs");
|
|
6
6
|
const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
|
|
7
|
-
const eventemitter3 = require("./chunks/eventemitter3-
|
|
7
|
+
const eventemitter3 = require("./chunks/eventemitter3-CHxWXmuK.cjs");
|
|
8
8
|
const provider = require("@hocuspocus/provider");
|
|
9
9
|
const Y = require("yjs");
|
|
10
10
|
const uuid = require("./chunks/uuid-CQzaMNgL.cjs");
|
|
@@ -13335,7 +13335,6 @@ const style$2 = cB("icon", `
|
|
|
13335
13335
|
display: inline-block;
|
|
13336
13336
|
position: relative;
|
|
13337
13337
|
fill: currentColor;
|
|
13338
|
-
transform: translateZ(0);
|
|
13339
13338
|
`, [cM("color-transition", {
|
|
13340
13339
|
transition: "color .3s var(--n-bezier)"
|
|
13341
13340
|
}), cM("depth", {
|
|
@@ -24407,13 +24406,13 @@ var __webpack_exports__$1 = globalThis.pdfjsLib = {};
|
|
|
24407
24406
|
"./chunks/empty-lth7LH78.cjs"
|
|
24408
24407
|
)), http = await Promise.resolve().then(() => require(
|
|
24409
24408
|
/*webpackIgnore: true*/
|
|
24410
|
-
"./chunks/index-
|
|
24409
|
+
"./chunks/index-kOMfCfBT.cjs"
|
|
24411
24410
|
)).then((n) => n.index), https = await Promise.resolve().then(() => require(
|
|
24412
24411
|
/*webpackIgnore: true*/
|
|
24413
|
-
"./chunks/index-
|
|
24412
|
+
"./chunks/index-CweAXNfB.cjs"
|
|
24414
24413
|
)).then((n) => n.index), url = await Promise.resolve().then(() => require(
|
|
24415
24414
|
/*webpackIgnore: true*/
|
|
24416
|
-
"./chunks/url-
|
|
24415
|
+
"./chunks/url-B8LY3nwf.cjs"
|
|
24417
24416
|
)).then((n) => n.url);
|
|
24418
24417
|
let canvas, path2d;
|
|
24419
24418
|
try {
|
|
@@ -47806,7 +47805,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
47806
47805
|
this.config.colors = shuffleArray(this.config.colors);
|
|
47807
47806
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
47808
47807
|
this.colorIndex = 0;
|
|
47809
|
-
this.version = "0.13.2-
|
|
47808
|
+
this.version = "0.13.2-rev10";
|
|
47810
47809
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
47811
47810
|
this.superdocId = config.superdocId || uuid.v4();
|
|
47812
47811
|
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-BwWbNxcS.es.js";
|
|
2
|
+
import { a, S, i, n } from "./chunks/super-editor.es-BwWbNxcS.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-BBJVqxjL.es.js";
|
|
4
|
+
import { B as Buffer$2 } from "./chunks/jszip-Cl3s9njw.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-KKY27oz-.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,7 +13318,6 @@ const style$2 = cB("icon", `
|
|
|
13318
13318
|
display: inline-block;
|
|
13319
13319
|
position: relative;
|
|
13320
13320
|
fill: currentColor;
|
|
13321
|
-
transform: translateZ(0);
|
|
13322
13321
|
`, [cM("color-transition", {
|
|
13323
13322
|
transition: "color .3s var(--n-bezier)"
|
|
13324
13323
|
}), cM("depth", {
|
|
@@ -24390,13 +24389,13 @@ var __webpack_exports__$1 = globalThis.pdfjsLib = {};
|
|
|
24390
24389
|
"./chunks/empty-smM22Y5N.es.js"
|
|
24391
24390
|
), http = await import(
|
|
24392
24391
|
/*webpackIgnore: true*/
|
|
24393
|
-
"./chunks/index-
|
|
24392
|
+
"./chunks/index-DS3W0eVB.es.js"
|
|
24394
24393
|
).then((n2) => n2.i), https = await import(
|
|
24395
24394
|
/*webpackIgnore: true*/
|
|
24396
|
-
"./chunks/index-
|
|
24395
|
+
"./chunks/index-BqLFjUHn.es.js"
|
|
24397
24396
|
).then((n2) => n2.i), url = await import(
|
|
24398
24397
|
/*webpackIgnore: true*/
|
|
24399
|
-
"./chunks/url-
|
|
24398
|
+
"./chunks/url-Bq00tGvm.es.js"
|
|
24400
24399
|
).then((n2) => n2.u);
|
|
24401
24400
|
let canvas, path2d;
|
|
24402
24401
|
try {
|
|
@@ -47789,7 +47788,7 @@ class SuperDoc extends EventEmitter {
|
|
|
47789
47788
|
this.config.colors = shuffleArray(this.config.colors);
|
|
47790
47789
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
47791
47790
|
this.colorIndex = 0;
|
|
47792
|
-
this.version = "0.13.2-
|
|
47791
|
+
this.version = "0.13.2-rev10";
|
|
47793
47792
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
47794
47793
|
this.superdocId = config.superdocId || v4();
|
|
47795
47794
|
this.colors = this.config.colors;
|