@harbour-enterprises/superdoc 0.28.0-next.9 → 0.28.1
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-B13bR8VJ.cjs → PdfViewer-Can0yoW4.cjs} +1 -1
- package/dist/chunks/{PdfViewer-DRCcOt2t.es.js → PdfViewer-DJkdA-8o.es.js} +1 -1
- package/dist/chunks/default-BS6z0SoE-BS6z0SoE.es.js +5 -0
- package/dist/chunks/default-BS6z0SoE-Gl4f7Y7J.cjs +4 -0
- package/dist/chunks/{index-DcpSDyC4.cjs → index-BY-vlgKe.cjs} +3 -3
- package/dist/chunks/index-CHAKf7mX-C5aFF6Zl.es.js +2213 -0
- package/dist/chunks/index-CHAKf7mX-Dx-DOGGJ.cjs +2213 -0
- package/dist/chunks/index-CSaZZzfe-BzemjgYL.cjs +264 -0
- package/dist/chunks/index-CSaZZzfe-CSaZZzfe.es.js +265 -0
- package/dist/chunks/index-C_x_N6Uh-DJn8hIEt.es.js +2200 -0
- package/dist/chunks/index-C_x_N6Uh-Db3CUJMX.cjs +2200 -0
- package/dist/chunks/index-Cd3D_8gF-CFhMnajQ.es.js +862 -0
- package/dist/chunks/index-Cd3D_8gF-DKJ_wTu_.cjs +861 -0
- package/dist/chunks/index-CvBqQJbG-CvBqQJbG.es.js +878 -0
- package/dist/chunks/index-CvBqQJbG-Dwm0THD7.cjs +877 -0
- package/dist/chunks/index-DRCvimau-Cw339678.es.js +9876 -0
- package/dist/chunks/index-DRCvimau-H4Ck3S9a.cjs +9876 -0
- package/dist/chunks/index-D_sWOSiG-BtDZzJ6I.cjs +588 -0
- package/dist/chunks/index-D_sWOSiG-DE96TaT5.es.js +588 -0
- package/dist/chunks/{index-KRsMbx-o.es.js → index-DidXsI6u.es.js} +3 -3
- package/dist/chunks/index-njnq8umX-DU2xcaHZ.es.js +845 -0
- package/dist/chunks/index-njnq8umX-_TfP84XP.cjs +845 -0
- package/dist/chunks/{super-editor.es-DKQa7RQl.es.js → super-editor.es-Br566URP.es.js} +6462 -24112
- package/dist/chunks/{super-editor.es-BnJV-Q-L.cjs → super-editor.es-ksiTgGLm.cjs} +6371 -24021
- package/dist/core/types/index.d.ts +6 -6
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-kpd0gAZh.js → converter-D6Z6OmA3.js} +53 -50
- package/dist/super-editor/chunks/default-BS6z0SoE.js +5 -0
- package/dist/super-editor/chunks/{docx-zipper-1SfZh-7P.js → docx-zipper-Dni97kMT.js} +1 -1
- package/dist/super-editor/chunks/{editor-DdEaVosL.js → editor-D3TKfdXs.js} +3762 -21427
- package/dist/super-editor/chunks/index-CHAKf7mX.js +2213 -0
- package/dist/super-editor/chunks/index-CSaZZzfe.js +265 -0
- package/dist/super-editor/chunks/index-C_x_N6Uh.js +2200 -0
- package/dist/super-editor/chunks/index-Cd3D_8gF.js +862 -0
- package/dist/super-editor/chunks/index-CvBqQJbG.js +878 -0
- package/dist/super-editor/chunks/index-DRCvimau.js +9876 -0
- package/dist/super-editor/chunks/index-D_sWOSiG.js +588 -0
- package/dist/super-editor/chunks/index-njnq8umX.js +845 -0
- package/dist/super-editor/chunks/{toolbar-CTt4vWNb.js → toolbar-fNE3luLB.js} +2 -2
- package/dist/super-editor/converter.es.js +2 -2
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor/src/core/Editor.d.ts +2 -2
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts +8 -6
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +8 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentBlockTags.d.ts +11 -4
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentInlineTags.d.ts +11 -4
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTablesById.d.ts +8 -4
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTags.d.ts +11 -4
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTagsById.d.ts +12 -5
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +6 -6
- package/dist/super-editor/super-editor.es.js +15 -15
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +74034 -73990
- 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, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
|
|
2
|
-
import { p as process$1 } from "./converter-
|
|
3
|
-
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-
|
|
2
|
+
import { p as process$1 } from "./converter-D6Z6OmA3.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-D3TKfdXs.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -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-D3TKfdXs.js";
|
|
2
|
+
import "./chunks/converter-D6Z6OmA3.js";
|
|
3
|
+
import "./chunks/docx-zipper-Dni97kMT.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -481,9 +481,9 @@ export class Editor extends EventEmitter {
|
|
|
481
481
|
}): string;
|
|
482
482
|
/**
|
|
483
483
|
* Get the editor content as Markdown
|
|
484
|
-
* @returns {string} Editor content as Markdown
|
|
484
|
+
* @returns {Promise<string>} Editor content as Markdown
|
|
485
485
|
*/
|
|
486
|
-
getMarkdown(): string
|
|
486
|
+
getMarkdown(): Promise<string>;
|
|
487
487
|
/**
|
|
488
488
|
* Get the document version from the converter
|
|
489
489
|
* @returns {string|null} The SuperDoc version stored in the document
|
|
@@ -11,12 +11,14 @@ export const structuredContentInnerClass: "sd-structured-content-block__content"
|
|
|
11
11
|
* Attributes for structured content block nodes
|
|
12
12
|
* @typedef {Object} StructuredContentBlockAttributes
|
|
13
13
|
* @category Attributes
|
|
14
|
-
* @property {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* @
|
|
18
|
-
* @
|
|
19
|
-
*
|
|
14
|
+
* @property {string} [id] Unique identifier for the structured content block
|
|
15
|
+
* @property {string} [tag] Content control tag (e.g., 'block_table_sdt')
|
|
16
|
+
* @property {string} [alias] Display name for the block (falls back to 'Structured content' when omitted)
|
|
17
|
+
* @property {Object} [sdtPr] @internal Internal structured document tag properties
|
|
18
|
+
* @example
|
|
19
|
+
* // Get attributes from a structured content block
|
|
20
|
+
* const attrs = editor.getAttributes('structuredContentBlock')
|
|
21
|
+
* console.log(attrs.id, attrs.alias)
|
|
20
22
|
*/
|
|
21
23
|
export const StructuredContentBlock: Node;
|
|
22
24
|
/**
|
package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts
CHANGED
|
@@ -11,7 +11,14 @@ export const structuredContentInnerClass: "sd-structured-content__content";
|
|
|
11
11
|
* Attributes for structured content nodes
|
|
12
12
|
* @typedef {Object} StructuredContentAttributes
|
|
13
13
|
* @category Attributes
|
|
14
|
-
* @property {
|
|
14
|
+
* @property {string} [id] Unique identifier for the structured content field
|
|
15
|
+
* @property {string} [tag] Content control tag (e.g., 'inline_text_sdt')
|
|
16
|
+
* @property {string} [alias] Display name for the field (falls back to 'Structured content' when omitted)
|
|
17
|
+
* @property {Object} [sdtPr] @internal Internal structured document tag properties
|
|
18
|
+
* @example
|
|
19
|
+
* // Get attributes from a structured content field
|
|
20
|
+
* const attrs = editor.getAttributes('structuredContent')
|
|
21
|
+
* console.log(attrs.id, attrs.alias)
|
|
15
22
|
*/
|
|
16
23
|
/**
|
|
17
24
|
* @module StructuredContent
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* @
|
|
4
|
-
* @
|
|
2
|
+
* Get all block-level structured content tags in the document
|
|
3
|
+
* @category Helper
|
|
4
|
+
* @param {import('prosemirror-state').EditorState} state Editor state
|
|
5
|
+
* @returns {Array<{ node: import('prosemirror-model').Node, pos: number }>} All structured content block nodes
|
|
6
|
+
* @example
|
|
7
|
+
* const blocks = editor.helpers.getStructuredContentBlockTags(editor.state)
|
|
8
|
+
* console.log(`Found ${blocks.length} structured content blocks`)
|
|
5
9
|
*/
|
|
6
|
-
export function getStructuredContentBlockTags(state: import("prosemirror-state").EditorState):
|
|
10
|
+
export function getStructuredContentBlockTags(state: import("prosemirror-state").EditorState): Array<{
|
|
11
|
+
node: import("prosemirror-model").Node;
|
|
12
|
+
pos: number;
|
|
13
|
+
}>;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* @
|
|
4
|
-
* @
|
|
2
|
+
* Get all inline structured content tags in the document
|
|
3
|
+
* @category Helper
|
|
4
|
+
* @param {import('prosemirror-state').EditorState} state Editor state
|
|
5
|
+
* @returns {Array<{ node: import('prosemirror-model').Node, pos: number }>} All inline structured content nodes
|
|
6
|
+
* @example
|
|
7
|
+
* const inlines = editor.helpers.getStructuredContentInlineTags(editor.state)
|
|
8
|
+
* console.log(`Found ${inlines.length} inline fields`)
|
|
5
9
|
*/
|
|
6
|
-
export function getStructuredContentInlineTags(state: import("prosemirror-state").EditorState):
|
|
10
|
+
export function getStructuredContentInlineTags(state: import("prosemirror-state").EditorState): Array<{
|
|
11
|
+
node: import("prosemirror-model").Node;
|
|
12
|
+
pos: number;
|
|
13
|
+
}>;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Find all tables inside a structured content block
|
|
3
|
-
* @
|
|
4
|
-
* @param {
|
|
5
|
-
* @
|
|
2
|
+
* Find all tables inside a structured content block by ID
|
|
3
|
+
* @category Helper
|
|
4
|
+
* @param {string} id Structured content block ID
|
|
5
|
+
* @param {import('prosemirror-state').EditorState} state Editor state
|
|
6
|
+
* @returns {Array<{ node: import('prosemirror-model').Node, pos: number }>} Tables with absolute positions
|
|
7
|
+
* @example
|
|
8
|
+
* const tables = editor.helpers.getStructuredContentTablesById('block-123', editor.state)
|
|
9
|
+
* console.log(`Block contains ${tables.length} table(s)`)
|
|
6
10
|
*/
|
|
7
11
|
export function getStructuredContentTablesById(id: string, state: import("prosemirror-state").EditorState): Array<{
|
|
8
12
|
node: import("prosemirror-model").Node;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* @
|
|
4
|
-
* @
|
|
2
|
+
* Get all structured content tags (inline and block) in the document
|
|
3
|
+
* @category Helper
|
|
4
|
+
* @param {import('prosemirror-state').EditorState} state Editor state
|
|
5
|
+
* @returns {Array<{ node: import('prosemirror-model').Node, pos: number }>} All structured content nodes with positions
|
|
6
|
+
* @example
|
|
7
|
+
* const allTags = editor.helpers.getStructuredContentTags(editor.state)
|
|
8
|
+
* console.log(`Found ${allTags.length} structured content elements`)
|
|
5
9
|
*/
|
|
6
|
-
export function getStructuredContentTags(state: import("prosemirror-state").EditorState):
|
|
10
|
+
export function getStructuredContentTags(state: import("prosemirror-state").EditorState): Array<{
|
|
11
|
+
node: import("prosemirror-model").Node;
|
|
12
|
+
pos: number;
|
|
13
|
+
}>;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* @
|
|
4
|
-
* @param {
|
|
5
|
-
* @
|
|
2
|
+
* Get structured content tag(s) by ID
|
|
3
|
+
* @category Helper
|
|
4
|
+
* @param {string | string[]} idOrIds Single ID or array of IDs to find
|
|
5
|
+
* @param {import('prosemirror-state').EditorState} state Editor state
|
|
6
|
+
* @returns {Array<{ node: import('prosemirror-model').Node, pos: number }>} Matching structured content nodes
|
|
7
|
+
* @example
|
|
8
|
+
* const field = editor.helpers.getStructuredContentTagsById('field-123', editor.state)
|
|
9
|
+
* if (field.length) console.log('Found field:', field[0].node.attrs)
|
|
6
10
|
*/
|
|
7
|
-
export function getStructuredContentTagsById(idOrIds: string | string[], state: import("prosemirror-state").EditorState):
|
|
11
|
+
export function getStructuredContentTagsById(idOrIds: string | string[], state: import("prosemirror-state").EditorState): Array<{
|
|
12
|
+
node: import("prosemirror-model").Node;
|
|
13
|
+
pos: number;
|
|
14
|
+
}>;
|
|
@@ -26,7 +26,7 @@ export function isTrackedChangeActionAllowed({ editor, action, trackedChanges }:
|
|
|
26
26
|
setDocumentMode(documentMode: string, caller: string): void;
|
|
27
27
|
generateCollaborationUpdate(): Promise<Uint8Array>;
|
|
28
28
|
initializeCollaborationData(): void;
|
|
29
|
-
replaceContent(
|
|
29
|
+
replaceContent(content: object): void;
|
|
30
30
|
setOptions(options?: EditorOptions): void;
|
|
31
31
|
options: any;
|
|
32
32
|
setEditable(editable?: boolean, emitUpdate?: boolean): void;
|
|
@@ -34,9 +34,9 @@ export function isTrackedChangeActionAllowed({ editor, action, trackedChanges }:
|
|
|
34
34
|
unregisterPlugin(nameOrPluginKey: string | any): void;
|
|
35
35
|
createNodeViews(): void;
|
|
36
36
|
getMaxContentSize(): any;
|
|
37
|
-
updateEditorStyles(
|
|
38
|
-
initDefaultStyles(
|
|
39
|
-
initMobileStyles(
|
|
37
|
+
updateEditorStyles(element: any, proseMirror: any, hasPaginationEnabled?: boolean): void;
|
|
38
|
+
initDefaultStyles(element?: HTMLElement, isPaginationEnabled?: boolean): void;
|
|
39
|
+
initMobileStyles(element: HTMLElement | void): void;
|
|
40
40
|
getDocumentIdentifier(): Promise<string>;
|
|
41
41
|
getDocumentGuid(): string | null;
|
|
42
42
|
isDocumentModified(): boolean;
|
|
@@ -58,7 +58,7 @@ export function isTrackedChangeActionAllowed({ editor, action, trackedChanges }:
|
|
|
58
58
|
getHTML({ unflattenLists }?: {
|
|
59
59
|
unflattenLists?: boolean;
|
|
60
60
|
}): string;
|
|
61
|
-
getMarkdown(): string
|
|
61
|
+
getMarkdown(): Promise<string>;
|
|
62
62
|
getDocumentVersion(): string | null;
|
|
63
63
|
createChildEditor(options: EditorOptions): {
|
|
64
64
|
new (options: EditorOptions): /*elided*/ any;
|
|
@@ -88,7 +88,7 @@ export function isTrackedChangeActionAllowed({ editor, action, trackedChanges }:
|
|
|
88
88
|
getInternalXmlFile(name: string, type?: string): any | string;
|
|
89
89
|
updateInternalXmlFile(name: string, updatedContent: string): void;
|
|
90
90
|
getNodesOfType(type: string): any[];
|
|
91
|
-
replaceNodeWithHTML(targetNode: any,
|
|
91
|
+
replaceNodeWithHTML(targetNode: any, html: string): void;
|
|
92
92
|
prepareForAnnotations(annotationValues?: FieldValue[]): void;
|
|
93
93
|
migrateParagraphFields(annotationValues?: FieldValue[]): Promise<FieldValue[]>;
|
|
94
94
|
annotate(annotationValues?: FieldValue[], hiddenIds?: string[], removeEmptyFields?: boolean): void;
|
|
@@ -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, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import {
|
|
13
|
-
import { c1,
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-
|
|
15
|
-
import { v, C, w, T, q, x, t } from "./chunks/editor-
|
|
12
|
+
import { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter-D6Z6OmA3.js";
|
|
13
|
+
import { c1, a5, i, a2 } from "./chunks/converter-D6Z6OmA3.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-D3TKfdXs.js";
|
|
15
|
+
import { v, C, w, T, q, x, t } from "./chunks/editor-D3TKfdXs.js";
|
|
16
16
|
import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-fNE3luLB.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-Dni97kMT.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
var hasRequiredEventemitter3;
|
|
@@ -80,7 +80,7 @@ function requireEventemitter3() {
|
|
|
80
80
|
if (listeners.fn) return 1;
|
|
81
81
|
return listeners.length;
|
|
82
82
|
};
|
|
83
|
-
EventEmitter2.prototype.emit = function emit(event, a1,
|
|
83
|
+
EventEmitter2.prototype.emit = function emit(event, a1, a22, a3, a4, a52) {
|
|
84
84
|
var evt = prefix ? prefix + event : event;
|
|
85
85
|
if (!this._events[evt]) return false;
|
|
86
86
|
var listeners = this._events[evt], len = arguments.length, args, i2;
|
|
@@ -92,13 +92,13 @@ function requireEventemitter3() {
|
|
|
92
92
|
case 2:
|
|
93
93
|
return listeners.fn.call(listeners.context, a1), true;
|
|
94
94
|
case 3:
|
|
95
|
-
return listeners.fn.call(listeners.context, a1,
|
|
95
|
+
return listeners.fn.call(listeners.context, a1, a22), true;
|
|
96
96
|
case 4:
|
|
97
|
-
return listeners.fn.call(listeners.context, a1,
|
|
97
|
+
return listeners.fn.call(listeners.context, a1, a22, a3), true;
|
|
98
98
|
case 5:
|
|
99
|
-
return listeners.fn.call(listeners.context, a1,
|
|
99
|
+
return listeners.fn.call(listeners.context, a1, a22, a3, a4), true;
|
|
100
100
|
case 6:
|
|
101
|
-
return listeners.fn.call(listeners.context, a1,
|
|
101
|
+
return listeners.fn.call(listeners.context, a1, a22, a3, a4, a52), true;
|
|
102
102
|
}
|
|
103
103
|
for (i2 = 1, args = new Array(len - 1); i2 < len; i2++) {
|
|
104
104
|
args[i2 - 1] = arguments[i2];
|
|
@@ -116,10 +116,10 @@ function requireEventemitter3() {
|
|
|
116
116
|
listeners[i2].fn.call(listeners[i2].context, a1);
|
|
117
117
|
break;
|
|
118
118
|
case 3:
|
|
119
|
-
listeners[i2].fn.call(listeners[i2].context, a1,
|
|
119
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a22);
|
|
120
120
|
break;
|
|
121
121
|
case 4:
|
|
122
|
-
listeners[i2].fn.call(listeners[i2].context, a1,
|
|
122
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a22, a3);
|
|
123
123
|
break;
|
|
124
124
|
default:
|
|
125
125
|
if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) {
|
|
@@ -5196,7 +5196,7 @@ export {
|
|
|
5196
5196
|
Extensions,
|
|
5197
5197
|
w as SectionHelpers,
|
|
5198
5198
|
_sfc_main$4 as SlashMenu,
|
|
5199
|
-
|
|
5199
|
+
a5 as SuperConverter,
|
|
5200
5200
|
SuperEditor,
|
|
5201
5201
|
SuperInput,
|
|
5202
5202
|
SuperToolbar,
|
|
@@ -5209,7 +5209,7 @@ export {
|
|
|
5209
5209
|
i as getMarksFromSelection,
|
|
5210
5210
|
getRichTextExtensions,
|
|
5211
5211
|
getStarterExtensions,
|
|
5212
|
-
|
|
5212
|
+
a2 as helpers,
|
|
5213
5213
|
registeredHandlers,
|
|
5214
5214
|
t as trackChangesHelpers
|
|
5215
5215
|
};
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-ksiTgGLm.cjs");
|
|
4
4
|
require("./chunks/vue-DKMj1I9B.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-
|
|
1
|
+
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-Br566URP.es.js";
|
|
2
2
|
import "./chunks/vue-ZWZLQtoU.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
package/dist/superdoc.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
|
-
const superdoc = require("./chunks/index-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-ksiTgGLm.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-BY-vlgKe.cjs");
|
|
5
5
|
require("./chunks/vue-DKMj1I9B.cjs");
|
|
6
6
|
const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
|
|
7
7
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-
|
|
2
|
-
import { D, H, P, S as S2, m, l } from "./chunks/index-
|
|
1
|
+
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-Br566URP.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-DidXsI6u.es.js";
|
|
3
3
|
import "./chunks/vue-ZWZLQtoU.es.js";
|
|
4
4
|
import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
|
|
5
5
|
export {
|