superdoc 0.31.0-next.6 → 0.31.0-next.7
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-BSud7RY4.cjs → PdfViewer-C_gVEaJa.cjs} +1 -1
- package/dist/chunks/{PdfViewer-DK93vPf1.es.js → PdfViewer-HhmcCtfd.es.js} +1 -1
- package/dist/chunks/{index-DAES86tg-Cjexh3WM.cjs → index-BJ6cOegF-BuvRSNoV.cjs} +1 -1
- package/dist/chunks/{index-DAES86tg-BDL6WVta.es.js → index-BJ6cOegF-C-oX4LAe.es.js} +1 -1
- package/dist/chunks/{index-Bz2Q2Xq2.es.js → index-Cz10rZ5n.es.js} +3 -3
- package/dist/chunks/{index-Crequs_q.cjs → index-wLtubQ87.cjs} +3 -3
- package/dist/chunks/{super-editor.es-D8NdQdlk.cjs → super-editor.es-Bz-s1Pw4.cjs} +319 -153
- package/dist/chunks/{super-editor.es-BWeMHRHm.es.js → super-editor.es-C20nShDu.es.js} +319 -153
- package/dist/style.css +10 -9
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-DEQxlCAJ.js → converter-DVDL6NWz.js} +100 -53
- package/dist/super-editor/chunks/{docx-zipper-C6VMEIY_.js → docx-zipper-4ipmBNSH.js} +1 -1
- package/dist/super-editor/chunks/{editor-D0zFmUwx.js → editor-B8v33PJq.js} +221 -102
- package/dist/super-editor/chunks/{index-DAES86tg.js → index-BJ6cOegF.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-Cwx5bBDV.js → toolbar-CfUofx7k.js} +2 -2
- package/dist/super-editor/converter.es.js +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/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +10 -9
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +14 -10
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +8 -2
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +19 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts +53 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
- package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +18 -0
- package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +7 -7
- 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 +320 -154
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {{borders?: {}, name?: *, justification?: *, fonts?: {}, fontSize?: *, rowBorders?: {}, cellMargins?: {}}} TableStyles
|
|
3
|
+
*/
|
|
1
4
|
/**
|
|
2
5
|
*
|
|
3
6
|
* @param {string|null} tableStyleReference
|
|
4
7
|
* @param {import('@translator').SCEncoderConfig} [params]
|
|
5
|
-
* @returns {
|
|
8
|
+
* @returns {TableStyles|null}
|
|
6
9
|
*/
|
|
7
|
-
export function _getReferencedTableStyles(tableStyleReference: string | null, params?: import("@translator").SCEncoderConfig):
|
|
8
|
-
borders: {};
|
|
9
|
-
name: any;
|
|
10
|
-
justification: any;
|
|
11
|
-
fonts: {};
|
|
12
|
-
fontSize: any;
|
|
13
|
-
rowBorders: {};
|
|
14
|
-
cellMargins: {};
|
|
15
|
-
} | null;
|
|
10
|
+
export function _getReferencedTableStyles(tableStyleReference: string | null, params?: import("@translator").SCEncoderConfig): TableStyles | null;
|
|
16
11
|
/**
|
|
17
12
|
* Restore vertically merged cells from a table
|
|
18
13
|
* @param {Object} table The table node
|
|
@@ -26,4 +21,13 @@ export const config: import("@translator").NodeTranslatorConfig;
|
|
|
26
21
|
* @type {import('@translator').NodeTranslator}
|
|
27
22
|
*/
|
|
28
23
|
export const translator: import("@translator").NodeTranslator;
|
|
24
|
+
export type TableStyles = {
|
|
25
|
+
borders?: {};
|
|
26
|
+
name?: any;
|
|
27
|
+
justification?: any;
|
|
28
|
+
fonts?: {};
|
|
29
|
+
fontSize?: any;
|
|
30
|
+
rowBorders?: {};
|
|
31
|
+
cellMargins?: {};
|
|
32
|
+
};
|
|
29
33
|
//# sourceMappingURL=tbl-translator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tbl-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tbl/tbl-translator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tbl-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tbl/tbl-translator.js"],"names":[],"mappings":"AAgQA;;GAEG;AAEH;;;;;GAKG;AACH,+DAJW,MAAM,GAAC,IAAI,WACX,OAAO,aAAa,EAAE,eAAe,GACnC,WAAW,GAAC,IAAI,CAwE5B;AAED;;;;;GAKG;AACH,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ;0BArGzC;IAAC,OAAO,CAAC,EAAE,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,GAAC,CAAC;IAAC,aAAa,CAAC,EAAE,GAAC,CAAC;IAAC,KAAK,CAAC,EAAE,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,GAAC,CAAC;IAAC,UAAU,CAAC,EAAE,EAAE,CAAC;IAAC,WAAW,CAAC,EAAE,EAAE,CAAA;CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tblGrid-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tblGrid-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.js"],"names":[],"mappings":"AAoIA;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tr-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tr/tr-translator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tr-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tr/tr-translator.js"],"names":[],"mappings":"AAsMA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
* @property {string} [text] - Text content to insert
|
|
4
4
|
* @property {Object} [json] - ProseMirror JSON
|
|
5
5
|
* @property {Object} [attrs] - Node attributes
|
|
6
|
+
* @property {string} [attrs.group] - Group identifier for linking multiple fields (auto-encoded to JSON tag)
|
|
6
7
|
*/
|
|
7
8
|
/**
|
|
8
9
|
* @typedef {Object} StructuredContentBlockInsert
|
|
9
10
|
* @property {string} [html] - HTML content to insert
|
|
10
11
|
* @property {Object} [json] - ProseMirror JSON
|
|
11
12
|
* @property {Object} [attrs] - Node attributes
|
|
13
|
+
* @property {string} [attrs.group] - Group identifier for linking multiple fields (auto-encoded to JSON tag)
|
|
12
14
|
*/
|
|
13
15
|
/**
|
|
14
16
|
* @typedef {Object} StructuredContentUpdate
|
|
@@ -37,7 +39,9 @@ export type StructuredContentInlineInsert = {
|
|
|
37
39
|
/**
|
|
38
40
|
* - Node attributes
|
|
39
41
|
*/
|
|
40
|
-
attrs?:
|
|
42
|
+
attrs?: {
|
|
43
|
+
group?: string;
|
|
44
|
+
};
|
|
41
45
|
};
|
|
42
46
|
export type StructuredContentBlockInsert = {
|
|
43
47
|
/**
|
|
@@ -51,7 +55,9 @@ export type StructuredContentBlockInsert = {
|
|
|
51
55
|
/**
|
|
52
56
|
* - Node attributes
|
|
53
57
|
*/
|
|
54
|
-
attrs?:
|
|
58
|
+
attrs?: {
|
|
59
|
+
group?: string;
|
|
60
|
+
};
|
|
55
61
|
};
|
|
56
62
|
export type StructuredContentUpdate = {
|
|
57
63
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,gGA2cG;;;;;WAzeW,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;QAON,MAAM;;;;iBACN,MAAM;;;;UACN,KAAK,CAAC,MAAM,EAAE,CAAC,GAAC,KAAK,CAAC,MAAM,CAAC;;;;mBAC7B,OAAO;;0BAxCK,aAAa"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get structured content nodes by group identifier.
|
|
3
|
+
* Groups are JSON-encoded in the tag attribute as { "group": "value" }.
|
|
4
|
+
* @category Helper
|
|
5
|
+
* @param {string | string[]} groupOrGroups - Single group or array of groups to find
|
|
6
|
+
* @param {import('prosemirror-state').EditorState} state - Editor state
|
|
7
|
+
* @returns {Array<{ node: import('prosemirror-model').Node, pos: number }>} Matching structured content nodes
|
|
8
|
+
* @example
|
|
9
|
+
* // Find all fields with group "customer-info"
|
|
10
|
+
* const fields = editor.helpers.getStructuredContentByGroup('customer-info', editor.state)
|
|
11
|
+
*
|
|
12
|
+
* // Find fields with multiple groups
|
|
13
|
+
* const fields = editor.helpers.getStructuredContentByGroup(['customer-info', 'terms'], editor.state)
|
|
14
|
+
*/
|
|
15
|
+
export function getStructuredContentByGroup(groupOrGroups: string | string[], state: import("prosemirror-state").EditorState): Array<{
|
|
16
|
+
node: import("prosemirror-model").Node;
|
|
17
|
+
pos: number;
|
|
18
|
+
}>;
|
|
19
|
+
//# sourceMappingURL=getStructuredContentByGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStructuredContentByGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,2DAVW,MAAM,GAAG,MAAM,EAAE,SACjB,OAAO,mBAAmB,EAAE,WAAW,GACrC,KAAK,CAAC;IAAE,IAAI,EAAE,OAAO,mBAAmB,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CA0B1E"}
|
|
@@ -2,5 +2,7 @@ export * from "./getStructuredContentTags";
|
|
|
2
2
|
export * from "./getStructuredContentInlineTags";
|
|
3
3
|
export * from "./getStructuredContentBlockTags";
|
|
4
4
|
export * from "./getStructuredContentTagsById";
|
|
5
|
+
export * from "./getStructuredContentByGroup";
|
|
5
6
|
export * from "./getStructuredContentTablesById";
|
|
7
|
+
export * from "./tagUtils";
|
|
6
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utilities for handling structured content tags with JSON encoding.
|
|
3
|
+
* Supports extensible tag objects while maintaining backward compatibility with plain strings.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Creates a JSON-encoded tag object.
|
|
7
|
+
* @param {Object} tagData - Tag properties
|
|
8
|
+
* @param {string} [tagData.group] - Group identifier for linking multiple fields
|
|
9
|
+
* @param {...*} [tagData.rest] - Additional extensible properties
|
|
10
|
+
* @returns {string} JSON-encoded tag string
|
|
11
|
+
* @example
|
|
12
|
+
* createTagObject({ group: 'customer-info' })
|
|
13
|
+
* // => '{"group":"customer-info"}'
|
|
14
|
+
*
|
|
15
|
+
* createTagObject({ group: 'terms', style: 'header' })
|
|
16
|
+
* // => '{"group":"terms","style":"header"}'
|
|
17
|
+
*/
|
|
18
|
+
export function createTagObject(tagData: {
|
|
19
|
+
group?: string;
|
|
20
|
+
rest?: any[];
|
|
21
|
+
}): string;
|
|
22
|
+
/**
|
|
23
|
+
* Parses a tag value into an object.
|
|
24
|
+
* Returns null for plain string tags or invalid JSON.
|
|
25
|
+
* @param {string} tag - Tag value to parse
|
|
26
|
+
* @returns {Object|null} Parsed tag object or null
|
|
27
|
+
* @example
|
|
28
|
+
* parseTagObject('{"group":"customer-info"}')
|
|
29
|
+
* // => { group: 'customer-info' }
|
|
30
|
+
*
|
|
31
|
+
* parseTagObject('inline_text_sdt')
|
|
32
|
+
* // => null (plain string tag)
|
|
33
|
+
*/
|
|
34
|
+
export function parseTagObject(tag: string): any | null;
|
|
35
|
+
/**
|
|
36
|
+
* Checks if a tag has a group property.
|
|
37
|
+
* @param {string} tag - Tag value to check
|
|
38
|
+
* @returns {boolean} True if tag has a group property
|
|
39
|
+
* @example
|
|
40
|
+
* hasGroup('{"group":"customer-info"}') // => true
|
|
41
|
+
* hasGroup('inline_text_sdt') // => false
|
|
42
|
+
*/
|
|
43
|
+
export function hasGroup(tag: string): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Extracts the group value from a tag.
|
|
46
|
+
* @param {string} tag - Tag value
|
|
47
|
+
* @returns {string|null} Group value or null if not found
|
|
48
|
+
* @example
|
|
49
|
+
* getGroup('{"group":"customer-info"}') // => 'customer-info'
|
|
50
|
+
* getGroup('inline_text_sdt') // => null
|
|
51
|
+
*/
|
|
52
|
+
export function getGroup(tag: string): string | null;
|
|
53
|
+
//# sourceMappingURL=tagUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tagUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/structured-content/structuredContentHelpers/tagUtils.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AACH,yCAVG;IAAyB,KAAK,GAAtB,MAAM;IACS,IAAI,GAAhB,GAAC,EAAA;CACZ,GAAU,MAAM,CAalB;AAED;;;;;;;;;;;GAWG;AACH,oCATW,MAAM,GACJ,MAAO,IAAI,CAkBvB;AAED;;;;;;;GAOG;AACH,8BANW,MAAM,GACJ,OAAO,CAQnB;AAED;;;;;;;GAOG;AACH,8BANW,MAAM,GACJ,MAAM,GAAC,IAAI,CAQvB"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @param {import('./table.js').TableNode} node
|
|
3
|
+
* @param {HTMLTableColElement} colgroup
|
|
4
|
+
* @param {HTMLTableElement} table
|
|
5
|
+
* @param {number} cellMinWidth
|
|
6
|
+
*/
|
|
7
|
+
export function updateColumns(node: import("./table.js").TableNode, colgroup: HTMLTableColElement, table: HTMLTableElement, cellMinWidth: number): void;
|
|
2
8
|
export function createTableView({ editor }: {
|
|
3
9
|
editor: any;
|
|
4
10
|
}): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table/TableView.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table/TableView.js"],"names":[],"mappings":"AAmEA;;;;;GAKG;AACH,oCALW,OAAO,YAAY,EAAE,SAAS,YAC9B,mBAAmB,SACnB,gBAAgB,gBAChB,MAAM,QA6FhB;AA7JM;;;;;;;;;;;;;;EA0DN"}
|
|
@@ -48,6 +48,15 @@
|
|
|
48
48
|
* @property {import('prosemirror-model').Node} cell - The cell node
|
|
49
49
|
* @property {Object} attrs - Cell attributes
|
|
50
50
|
*/
|
|
51
|
+
/**
|
|
52
|
+
* @typedef {Object} TableNodeAttributes
|
|
53
|
+
* @property {TableProperties} tableProperties
|
|
54
|
+
* @property {TableGrid} grid
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* @typedef {Node} TableNode
|
|
58
|
+
* @property {TableNodeAttributes} attrs
|
|
59
|
+
*/
|
|
51
60
|
/**
|
|
52
61
|
* @module Table
|
|
53
62
|
* @sidebarTitle Table
|
|
@@ -369,6 +378,10 @@ export type TableProperties = {
|
|
|
369
378
|
* - Table border configuration
|
|
370
379
|
*/
|
|
371
380
|
borders?: TableBorders;
|
|
381
|
+
/**
|
|
382
|
+
* - Cell margin configuration
|
|
383
|
+
*/
|
|
384
|
+
cellMargins?: TableCellMargins;
|
|
372
385
|
};
|
|
373
386
|
/**
|
|
374
387
|
* Column width definition
|
|
@@ -540,5 +553,10 @@ export type CurrentCellInfo = {
|
|
|
540
553
|
*/
|
|
541
554
|
attrs: any;
|
|
542
555
|
};
|
|
556
|
+
export type TableNodeAttributes = {
|
|
557
|
+
tableProperties: TableProperties;
|
|
558
|
+
grid: TableGrid;
|
|
559
|
+
};
|
|
560
|
+
export type TableNode = Node;
|
|
543
561
|
import { Node } from '@core/index.js';
|
|
544
562
|
//# sourceMappingURL=table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table/table.js"],"names":[],"mappings":"AAwNA;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;;;GAMG;AAEH;;;;;;;;GAQG;AACH,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table/table.js"],"names":[],"mappings":"AAwNA;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;GAGG;AAEH;;;;;;;;GAQG;AACH,uEAg3BG;;;;yBAhpCW,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAA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AIV,IAAI;qBA5Ge,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table-cell/table-cell.js"],"names":[],"mappings":"AA0CA;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;GAIG;AACH;;;;
|
|
1
|
+
{"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table-cell/table-cell.js"],"names":[],"mappings":"AA0CA;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;GAIG;AACH;;;;0BA4IG;;;;;;;;eA3NW,OAAO;;;;cACP,OAAO;;;;kBACP,OAAO;;;;iBACP,OAAO;;;;eACP,OAAO;;;;gBACP,OAAO;;;;eACP,OAAO;;;;gBACP,OAAO;;;;0BACP,OAAO;;;;yBACP,OAAO;;;;yBACP,OAAO;;;;wBACP,OAAO;;;;;;;;;eAOP,QAAQ;;;;gBACR,OAAO,mBAAmB,EAAE,gBAAgB;;;;eAC5C,MAAM;;;;aACN,SAAS,GAAG,UAAU;;;;cACtB,OAAO,mBAAmB,EAAE,YAAY;;;;cACxC,OAAO,mBAAmB,EAAE,iBAAiB;;;;aAC7C,OAAO;;;;kBACP,OAAO,mBAAmB,EAAE,gBAAgB;;;;oBAC5C,MAAM,GAAG,MAAM;;;;gBACf,OAAO;;;;aACP,KAAK,GAAG,QAAQ,GAAG,QAAQ;;;;eAC3B,OAAO;;;;cACP;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,EAAE;;;;;;;;;UAUlB,MAAM;;;;YACN,MAAM;;;;aACN,MAAM;;;;WACN,MAAM;;;;;;;;;WAMN,MAAM;;;;;;;;;;qBAfY,gBAAgB"}
|
|
@@ -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 { aF as getDefaultExportFromCjs, X as v4, T as TextSelection$1, v as getMarkRange, aI as vClickOutside, aJ as getActiveFormatting, aA as isInTable, I as findParentNode, J as isList, aK as readFromClipboard, aL as handleClipboardPaste, aM as getFileObject, aN as translator, aO as translator$1, aP as translator$2, aQ as translator$3, aR as translator$4, aS as translator$5, aT as translator$6, aU as translator$7, aV as translator$8, aW as translator$9, aX as translator$a, aY as translator$b, aZ as translator$c, a_ as translator$d, a$ as translator$e, b0 as commentRangeEndTranslator, b1 as commentRangeStartTranslator, b2 as translator$f, b3 as translator$g, b4 as translator$h, b5 as translator$i, b6 as translator$j, b7 as translator$k, b8 as translator$l, b9 as translator$m, ba as translator$n, bb as translator$o, bc as translator$p, bd as translator$q, be as translator$r, bf as translator$s, bg as translator$t, bh as translator$u, bi as translator$v, bj as translator$w, bk as translator$x, bl as translator$y, bm as translator$z, bn as translator$A, bo as translator$B, bp as translator$C, bq as translator$D, br as translator$E, bs as translator$F, bt as translator$G, bu as translator$H, bv as translator$I, bw as translator$J, bx as translator$K, by as translator$L, bz as translator$M, bA as translator$N, bB as translator$O, bC as translator$P, bD as translator$Q, bE as translator$R, bF as translator$S, bG as translator$T, bH as translator$U, bI as translator$V, bJ as translator$W, bK as translator$X, bL as translator$Y, bM as translator$Z, bN as translator$_, bO as translator$$, bP as translator$10, bQ as translator$11, bR as translator$12, bS as translator$13, bT as translator$14, bU as translator$15, bV as translator$16, bW as translator$17, bX as translator$18, bY as translator$19, bZ as translator$1a, b_ as translator$1b, b$ as translator$1c, c0 as translator$1d, c1 as translator$1e, c2 as translator$1f, c3 as translator$1g, c4 as translator$1h, c5 as translator$1i, c6 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-
|
|
13
|
-
import { a7, i, a4 } from "./chunks/converter-
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, l as isHeadless, 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 { aF as getDefaultExportFromCjs, X as v4, T as TextSelection$1, v as getMarkRange, aI as vClickOutside, aJ as getActiveFormatting, aA as isInTable, I as findParentNode, J as isList, aK as readFromClipboard, aL as handleClipboardPaste, aM as getFileObject, aN as translator, aO as translator$1, aP as translator$2, aQ as translator$3, aR as translator$4, aS as translator$5, aT as translator$6, aU as translator$7, aV as translator$8, aW as translator$9, aX as translator$a, aY as translator$b, aZ as translator$c, a_ as translator$d, a$ as translator$e, b0 as commentRangeEndTranslator, b1 as commentRangeStartTranslator, b2 as translator$f, b3 as translator$g, b4 as translator$h, b5 as translator$i, b6 as translator$j, b7 as translator$k, b8 as translator$l, b9 as translator$m, ba as translator$n, bb as translator$o, bc as translator$p, bd as translator$q, be as translator$r, bf as translator$s, bg as translator$t, bh as translator$u, bi as translator$v, bj as translator$w, bk as translator$x, bl as translator$y, bm as translator$z, bn as translator$A, bo as translator$B, bp as translator$C, bq as translator$D, br as translator$E, bs as translator$F, bt as translator$G, bu as translator$H, bv as translator$I, bw as translator$J, bx as translator$K, by as translator$L, bz as translator$M, bA as translator$N, bB as translator$O, bC as translator$P, bD as translator$Q, bE as translator$R, bF as translator$S, bG as translator$T, bH as translator$U, bI as translator$V, bJ as translator$W, bK as translator$X, bL as translator$Y, bM as translator$Z, bN as translator$_, bO as translator$$, bP as translator$10, bQ as translator$11, bR as translator$12, bS as translator$13, bT as translator$14, bU as translator$15, bV as translator$16, bW as translator$17, bX as translator$18, bY as translator$19, bZ as translator$1a, b_ as translator$1b, b$ as translator$1c, c0 as translator$1d, c1 as translator$1e, c2 as translator$1f, c3 as translator$1g, c4 as translator$1h, c5 as translator$1i, c6 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-DVDL6NWz.js";
|
|
13
|
+
import { a7, i, a4 } from "./chunks/converter-DVDL6NWz.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, l as isHeadless, 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-B8v33PJq.js";
|
|
15
|
+
import { v, C, w, T, q, x, t } from "./chunks/editor-B8v33PJq.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, defineComponent, 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-CfUofx7k.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-4ipmBNSH.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
var hasRequiredEventemitter3;
|
|
@@ -5063,7 +5063,7 @@ const _sfc_main$1 = {
|
|
|
5063
5063
|
};
|
|
5064
5064
|
}
|
|
5065
5065
|
};
|
|
5066
|
-
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
5066
|
+
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-4615ea7d"]]);
|
|
5067
5067
|
const _hoisted_1 = ["innerHTML"];
|
|
5068
5068
|
const _sfc_main = {
|
|
5069
5069
|
__name: "SuperInput",
|
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-Bz-s1Pw4.cjs");
|
|
4
4
|
require("./chunks/vue-Cwv-wUpm.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-C20nShDu.es.js";
|
|
2
2
|
import "./chunks/vue-CKmzTNVs.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-Bz-s1Pw4.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-wLtubQ87.cjs");
|
|
5
5
|
const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
|
7
7
|
exports.Editor = superEditor_es.Editor;
|
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-C20nShDu.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-Cz10rZ5n.es.js";
|
|
3
3
|
import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
|
|
4
4
|
export {
|
|
5
5
|
a as AnnotatorHelpers,
|