@harbour-enterprises/superdoc 0.20.0-next.14 → 0.20.0-next.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/README.md +4 -4
- package/dist/chunks/{PdfViewer-D-erp24R.cjs → PdfViewer-B6adMXJl.cjs} +1 -1
- package/dist/chunks/{PdfViewer-_NPRPRHl.es.js → PdfViewer-_tL5RYr9.es.js} +1 -1
- package/dist/chunks/{index-dMbV_syB.es.js → index-DwXeHvLq.es.js} +3 -3
- package/dist/chunks/{index-duHcNiwD.cjs → index-mjjKSLDT.cjs} +3 -3
- package/dist/chunks/{super-editor.es-BKurmwFy.es.js → super-editor.es-CPrd1wq8.es.js} +2520 -3569
- package/dist/chunks/{super-editor.es-ly_a915J.cjs → super-editor.es-DJHyk0Zs.cjs} +2520 -3569
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/style.css +0 -38
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-Brf9NxwA.js → converter-KHB8spG5.js} +1151 -1825
- package/dist/super-editor/chunks/{docx-zipper-Dld3TtPb.js → docx-zipper-B-vl4ISA.js} +1 -1
- package/dist/super-editor/chunks/{editor-N0dhAC41.js → editor-Df2sUgT0.js} +1020 -1384
- package/dist/super-editor/chunks/{toolbar-CXinz1gO.js → toolbar-C6JoUIM_.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/src/core/helpers/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/exporter.d.ts +1 -7
- package/dist/super-editor/src/core/super-converter/helpers.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkNodeImporter.d.ts +0 -5
- package/dist/super-editor/src/core/super-converter/v2/importer/imageImporter.d.ts +1 -1
- package/dist/super-editor/src/core/super-converter/v2/importer/tableImporter.d.ts +22 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/index.d.ts +0 -4
- package/dist/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +3 -10
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +1 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tc/helpers/legacy-handle-table-cell-node.d.ts +1 -1
- package/dist/super-editor/src/core/super-converter/v3/node-translator/node-translator.d.ts +1 -11
- package/dist/super-editor/src/extensions/block-node/block-node.d.ts +5 -30
- package/dist/super-editor/src/extensions/bold/bold.d.ts +0 -20
- package/dist/super-editor/src/extensions/bookmarks/index.d.ts +1 -2
- package/dist/super-editor/src/extensions/bullet-list/bullet-list.d.ts +0 -12
- package/dist/super-editor/src/extensions/color/color.d.ts +0 -26
- package/dist/super-editor/src/extensions/content-block/content-block.d.ts +0 -30
- package/dist/super-editor/src/extensions/custom-selection/custom-selection.d.ts +0 -16
- package/dist/super-editor/src/extensions/document/document.d.ts +0 -26
- package/dist/super-editor/src/extensions/dropcursor/dropcursor.d.ts +0 -26
- package/dist/super-editor/src/extensions/font-family/font-family.d.ts +0 -29
- package/dist/super-editor/src/extensions/font-size/font-size.d.ts +0 -21
- package/dist/super-editor/src/extensions/format-commands/format-commands.d.ts +0 -9
- package/dist/super-editor/src/extensions/gapcursor/gapcursor.d.ts +0 -9
- package/dist/super-editor/src/extensions/heading/heading.d.ts +6 -12
- package/dist/super-editor/src/extensions/highlight/highlight.d.ts +0 -20
- package/dist/super-editor/src/extensions/history/history.d.ts +15 -7
- package/dist/super-editor/src/extensions/image/image.d.ts +0 -78
- package/dist/super-editor/src/extensions/image/imageHelpers/imagePlaceholderPlugin.d.ts +5 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/index.d.ts +1 -3
- package/dist/super-editor/src/extensions/image/imageHelpers/processUploadedImage.d.ts +2 -2
- package/dist/super-editor/src/extensions/image/imageHelpers/startImageUpload.d.ts +23 -18
- package/dist/super-editor/src/extensions/index.d.ts +1 -2
- package/dist/super-editor/src/extensions/italic/italic.d.ts +0 -10
- package/dist/super-editor/src/extensions/line-break/line-break.d.ts +0 -43
- package/dist/super-editor/src/extensions/line-height/line-height.d.ts +0 -22
- package/dist/super-editor/src/extensions/link/link.d.ts +25 -53
- package/dist/super-editor/src/extensions/linked-styles/linked-styles.d.ts +0 -9
- package/dist/super-editor/src/extensions/list-item/list-item.d.ts +0 -48
- package/dist/super-editor/src/extensions/mention/mention.d.ts +0 -26
- package/dist/super-editor/src/extensions/noderesizer/noderesizer.d.ts +0 -14
- package/dist/super-editor/src/extensions/ordered-list/ordered-list.d.ts +0 -35
- package/dist/super-editor/src/extensions/page-number/page-number.d.ts +0 -52
- package/dist/super-editor/src/extensions/paragraph/paragraph.d.ts +0 -49
- package/dist/super-editor/src/extensions/placeholder/placeholder.d.ts +0 -15
- package/dist/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +0 -9
- package/dist/super-editor/src/extensions/run-item/run-item.d.ts +0 -24
- package/dist/super-editor/src/extensions/search/search.d.ts +2 -11
- package/dist/super-editor/src/extensions/shape-container/shape-container.d.ts +0 -29
- package/dist/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +0 -26
- package/dist/super-editor/src/extensions/slash-menu/slash-menu.d.ts +0 -9
- package/dist/super-editor/src/extensions/strike/strike.d.ts +0 -10
- package/dist/super-editor/src/extensions/structured-content/document-section.d.ts +27 -46
- package/dist/super-editor/src/extensions/structured-content/structured-content-block.d.ts +1 -29
- package/dist/super-editor/src/extensions/structured-content/structured-content.d.ts +1 -29
- package/dist/super-editor/src/extensions/tab/tab.d.ts +0 -25
- package/dist/super-editor/src/extensions/table/table.d.ts +55 -376
- package/dist/super-editor/src/extensions/table-cell/table-cell.d.ts +0 -41
- package/dist/super-editor/src/extensions/table-header/table-header.d.ts +0 -22
- package/dist/super-editor/src/extensions/table-row/table-row.d.ts +0 -28
- package/dist/super-editor/src/extensions/text/text.d.ts +0 -14
- package/dist/super-editor/src/extensions/text-align/text-align.d.ts +0 -22
- package/dist/super-editor/src/extensions/text-indent/text-indent.d.ts +10 -19
- package/dist/super-editor/src/extensions/text-style/text-style.d.ts +0 -20
- package/dist/super-editor/src/extensions/text-transform/text-transform.d.ts +0 -20
- package/dist/super-editor/src/extensions/underline/underline.d.ts +0 -25
- package/dist/super-editor/style.css +0 -38
- package/dist/super-editor/super-editor.es.js +55 -65
- 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 +3149 -4198
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +4 -7
- package/dist/super-editor/src/core/helpers/updateDOMAttributes.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkEndImporter.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkStartImporter.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/bidiVisual-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/index.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-displaced-by-custom-xml.d.ts +0 -4
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-id.d.ts +0 -4
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/bookmark-end-translator.d.ts +0 -7
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/index.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-first.d.ts +0 -4
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-last.d.ts +0 -4
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-displaced-by-custom-xml.d.ts +0 -4
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-id.d.ts +0 -4
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-name.d.ts +0 -4
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/bookmark-start-translator.d.ts +0 -7
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/bottom-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/index.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/marginBottom-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/drawing/drawing-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/drawing/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/end-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/index.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/marginEnd-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/gridCol-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/insideH-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/insideV-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/index.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/left-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/marginLeft-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/index.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/marginRight-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/right-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/shd-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/index.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/marginStart-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/start-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +0 -28
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/tblBorders-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/tblCaption-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/tblCellMar-translator.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/tblDescription-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-helpers.d.ts +0 -5
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts +0 -5
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/tblInd-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/tblLayout-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/tblLook-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/tblOverlap-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/tblPr-translator.d.ts +0 -5
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/tblStyle-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/tblStyleColBandSize-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/tblStyleRowBandSize-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/tblW-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/tblpPr-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/index.d.ts +0 -2
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/marginTop-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/top-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/anchor-translator.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/helpers/handle-anchor-node.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/helpers/translate-anchor-node.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts +0 -18
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/helpers/handle-inline-node.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/helpers/translate-inline-node.d.ts +0 -6
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/index.d.ts +0 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/inline-translator.d.ts +0 -6
- package/dist/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +0 -6
- package/dist/super-editor/src/extensions/image/imageHelpers/fileNameUtils.d.ts +0 -3
- package/dist/super-editor/src/extensions/image/imageHelpers/handleBase64.d.ts +0 -1
- package/dist/super-editor/src/extensions/image/imageHelpers/handleUrl.d.ts +0 -2
- package/dist/super-editor/src/extensions/image/imageHelpers/imageRegistrationPlugin.d.ts +0 -11
- package/dist/super-editor/src/extensions/image/imageHelpers/rotation.d.ts +0 -4
- package/dist/super-editor/src/extensions/structured-content/StructuredContentBlockView.d.ts +0 -9
- package/dist/super-editor/src/extensions/structured-content/StructuredContentInlineView.d.ts +0 -9
- package/dist/super-editor/src/extensions/structured-content/StructuredContentViewBase.d.ts +0 -24
- package/dist/super-editor/src/tests/helpers/editor-test-utils.d.ts +0 -14
- /package/dist/super-editor/src/extensions/bookmarks/{bookmark-start.d.ts → bookmarks.d.ts} +0 -0
|
@@ -1,53 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Table configuration options
|
|
3
|
-
* @typedef {Object} TableConfig
|
|
4
|
-
* @property {number} [rows=3] - Number of rows to create
|
|
5
|
-
* @property {number} [cols=3] - Number of columns to create
|
|
6
|
-
* @property {boolean} [withHeaderRow=false] - Create first row as header row
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Table indentation configuration
|
|
10
|
-
* @typedef {Object} TableIndent
|
|
11
|
-
* @property {number} width - Indent width in pixels
|
|
12
|
-
* @property {string} [type='dxa'] - Indent type
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Cell selection position
|
|
16
|
-
* @typedef {Object} CellSelectionPosition
|
|
17
|
-
* @property {number} anchorCell - Starting cell position
|
|
18
|
-
* @property {number} headCell - Ending cell position
|
|
19
|
-
*/
|
|
20
|
-
/**
|
|
21
|
-
* Configuration options for Table
|
|
22
|
-
* @typedef {Object} TableOptions
|
|
23
|
-
* @category Options
|
|
24
|
-
* @property {Object} [htmlAttributes={'aria-label': 'Table node'}] - Default HTML attributes for all tables
|
|
25
|
-
* @property {boolean} [resizable=true] - Enable column resizing functionality
|
|
26
|
-
* @property {number} [handleWidth=5] - Width of resize handles in pixels
|
|
27
|
-
* @property {number} [cellMinWidth=10] - Minimum cell width constraint in pixels
|
|
28
|
-
* @property {boolean} [lastColumnResizable=true] - Allow resizing of the last column
|
|
29
|
-
* @property {boolean} [allowTableNodeSelection=false] - Enable selecting the entire table node
|
|
30
|
-
*/
|
|
31
|
-
/**
|
|
32
|
-
* Attributes for table nodes
|
|
33
|
-
* @typedef {Object} TableAttributes
|
|
34
|
-
* @category Attributes
|
|
35
|
-
* @property {TableIndent} [tableIndent] - Table indentation configuration
|
|
36
|
-
* @property {import("./tableHelpers/createTableBorders.js").TableBorders} [borders] - Border styling for this table
|
|
37
|
-
* @property {string} [borderCollapse='collapse'] - CSS border-collapse property
|
|
38
|
-
* @property {string} [justification] - Table alignment ('left', 'center', 'right')
|
|
39
|
-
* @property {number} [tableCellSpacing] - Cell spacing in pixels for this table
|
|
40
|
-
* @property {string} [sdBlockId] @internal - Internal block tracking ID
|
|
41
|
-
* @property {string} [tableStyleId] @internal - Internal reference to table style
|
|
42
|
-
* @property {string} [tableLayout] @internal - CSS table-layout property (advanced usage)
|
|
43
|
-
*/
|
|
44
|
-
/**
|
|
45
|
-
* Current cell information
|
|
46
|
-
* @typedef {Object} CurrentCellInfo
|
|
47
|
-
* @property {Object} rect - Selected rectangle information
|
|
48
|
-
* @property {import('prosemirror-model').Node} cell - The cell node
|
|
49
|
-
* @property {Object} attrs - Cell attributes
|
|
50
|
-
*/
|
|
51
1
|
/**
|
|
52
2
|
* @module Table
|
|
53
3
|
* @sidebarTitle Table
|
|
@@ -59,400 +9,129 @@
|
|
|
59
9
|
*/
|
|
60
10
|
export const Table: Node;
|
|
61
11
|
/**
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
export type ThemeColor = "dark1" | "light1" | "dark2" | "light2" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "hyperlink" | "followedHyperlink" | "none" | "background1" | "text1" | "background2" | "text2";
|
|
65
|
-
/**
|
|
66
|
-
* Shading pattern options
|
|
67
|
-
*/
|
|
68
|
-
export type ShadingPattern = "nil" | "clear" | "solid" | "horzStripe" | "vertStripe" | "reverseDiagStripe" | "diagStripe" | "horzCross" | "diagCross" | "thinHorzStripe" | "thinVertStripe" | "thinReverseDiagStripe" | "thinDiagStripe" | "thinHorzCross" | "thinDiagCross";
|
|
69
|
-
/**
|
|
70
|
-
* Shading properties
|
|
71
|
-
*/
|
|
72
|
-
export type ShadingProperties = {
|
|
73
|
-
/**
|
|
74
|
-
* - Shading color (hex without # or "auto" for automatic)
|
|
75
|
-
*/
|
|
76
|
-
color?: string | "auto";
|
|
77
|
-
/**
|
|
78
|
-
* - Shading fill color (hex without # or "auto" for automatic)
|
|
79
|
-
*/
|
|
80
|
-
fill?: string | "auto";
|
|
81
|
-
/**
|
|
82
|
-
* - Theme color name
|
|
83
|
-
*/
|
|
84
|
-
themeColor?: ThemeColor;
|
|
85
|
-
/**
|
|
86
|
-
* - Theme fill name
|
|
87
|
-
*/
|
|
88
|
-
themeFill?: ThemeColor;
|
|
89
|
-
/**
|
|
90
|
-
* - Theme fill shade (0-255 in hex format without #)
|
|
91
|
-
*/
|
|
92
|
-
themeFillShade?: string;
|
|
93
|
-
/**
|
|
94
|
-
* - Theme fill tint (0-255 in hex format without #)
|
|
95
|
-
*/
|
|
96
|
-
themeFillTint?: string;
|
|
97
|
-
/**
|
|
98
|
-
* - Theme shade (0-255 in hex format without #)
|
|
99
|
-
*/
|
|
100
|
-
themeShade?: string;
|
|
101
|
-
/**
|
|
102
|
-
* - Theme tint (0-255 in hex format without #)
|
|
103
|
-
*/
|
|
104
|
-
themeTint?: string;
|
|
105
|
-
/**
|
|
106
|
-
* - Shading pattern
|
|
107
|
-
*/
|
|
108
|
-
val?: ShadingPattern;
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Table width options
|
|
112
|
-
*/
|
|
113
|
-
export type TableMeasurement = {
|
|
114
|
-
/**
|
|
115
|
-
* - Width value in twips
|
|
116
|
-
*/
|
|
117
|
-
value: number;
|
|
118
|
-
/**
|
|
119
|
-
* - Table width type (dxa=twips, pct=percentage, auto=automatic)
|
|
120
|
-
*/
|
|
121
|
-
type?: "dxa" | "pct" | "auto";
|
|
122
|
-
};
|
|
123
|
-
/**
|
|
124
|
-
* Table look options
|
|
125
|
-
*/
|
|
126
|
-
export type TableLook = {
|
|
127
|
-
/**
|
|
128
|
-
* - Specifies that the first column conditional formatting should be applied
|
|
129
|
-
*/
|
|
130
|
-
firstColumn?: boolean;
|
|
131
|
-
/**
|
|
132
|
-
* - Specifies that the first row conditional formatting should be applied
|
|
133
|
-
*/
|
|
134
|
-
firstRow?: boolean;
|
|
135
|
-
/**
|
|
136
|
-
* - Specifies that the last column conditional formatting should be applied
|
|
137
|
-
*/
|
|
138
|
-
lastColumn?: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* - Specifies that the last row conditional formatting should be applied
|
|
141
|
-
*/
|
|
142
|
-
lastRow?: boolean;
|
|
143
|
-
/**
|
|
144
|
-
* - Specifies that no horizontal banding conditional formatting should be applied
|
|
145
|
-
*/
|
|
146
|
-
noHBand?: boolean;
|
|
147
|
-
/**
|
|
148
|
-
* - Specifies that no vertical banding conditional formatting should be applied
|
|
149
|
-
*/
|
|
150
|
-
noVBand?: boolean;
|
|
151
|
-
};
|
|
152
|
-
/**
|
|
153
|
-
* Floating table properties
|
|
154
|
-
*/
|
|
155
|
-
export type FloatingTableProperties = {
|
|
156
|
-
/**
|
|
157
|
-
* - Specifies the minimum distance in twips which shall be maintained between the current floating table and the edge of text in the paragraph which is to the left of this floating table.
|
|
158
|
-
*/
|
|
159
|
-
leftFromText?: number;
|
|
160
|
-
/**
|
|
161
|
-
* - Specifies the minimum distance in twips which shall be maintained between the current floating table and the edge of text in the paragraph which is to the right of this floating table.
|
|
162
|
-
*/
|
|
163
|
-
rightFromText?: number;
|
|
164
|
-
/**
|
|
165
|
-
* - Specifies the minimum distance in twips which shall be maintained between the current floating table and the bottom edge of text in the paragraph which is above this floating table.
|
|
166
|
-
*/
|
|
167
|
-
topFromText?: number;
|
|
168
|
-
/**
|
|
169
|
-
* - Specifies the minimum distance in twips which shall be maintained between the current floating table and the top edge of text in the paragraph which is below this floating table.
|
|
170
|
-
*/
|
|
171
|
-
bottomFromText?: number;
|
|
172
|
-
/**
|
|
173
|
-
* - Specifies and absolute horizontal position for the floating table. The position is measured from the horizontal anchor point (horzAnchor) in twips.
|
|
174
|
-
*/
|
|
175
|
-
tblpX?: number;
|
|
176
|
-
/**
|
|
177
|
-
* - Specifies and absolute vertical position for the floating table. The position is measured from the vertical anchor point (vertAnchor) in twips.
|
|
178
|
-
*/
|
|
179
|
-
tblpY?: number;
|
|
180
|
-
/**
|
|
181
|
-
* - Horizontal anchor point for tblpX
|
|
182
|
-
*/
|
|
183
|
-
horzAnchor?: "margin" | "page" | "text";
|
|
184
|
-
/**
|
|
185
|
-
* - Vertical anchor point for tblpY
|
|
186
|
-
*/
|
|
187
|
-
vertAnchor?: "margin" | "page" | "text";
|
|
188
|
-
/**
|
|
189
|
-
* - Specifies a relative horizontal position for the floating table. Supercedes tblpX if both are specified.
|
|
190
|
-
*/
|
|
191
|
-
tblpXSpec?: "left" | "center" | "right" | "inside" | "outside";
|
|
192
|
-
/**
|
|
193
|
-
* - Specifies a relative vertical position for the floating table. Supercedes tblpY if both are specified.
|
|
194
|
-
*/
|
|
195
|
-
tblpYSpec?: "inline" | "top" | "center" | "bottom" | "inside" | "outside";
|
|
196
|
-
};
|
|
197
|
-
/**
|
|
198
|
-
* Table border specification
|
|
199
|
-
*/
|
|
200
|
-
export type TableBorderSpec = {
|
|
201
|
-
/**
|
|
202
|
-
* - Border style (e.g., 'single', 'double', 'dashed', etc.)
|
|
203
|
-
*/
|
|
204
|
-
val?: string;
|
|
205
|
-
/**
|
|
206
|
-
* - Border color (hex without #, e.g., 'FF0000' for red)
|
|
207
|
-
*/
|
|
208
|
-
color?: string;
|
|
209
|
-
/**
|
|
210
|
-
* - Theme color name
|
|
211
|
-
*/
|
|
212
|
-
themeColor?: ThemeColor;
|
|
213
|
-
/**
|
|
214
|
-
* - Theme tint (0-255 in hex format without #)
|
|
215
|
-
*/
|
|
216
|
-
themeTint?: string;
|
|
217
|
-
/**
|
|
218
|
-
* - Theme shade (0-255 in hex format without #)
|
|
219
|
-
*/
|
|
220
|
-
themeShade?: string;
|
|
221
|
-
/**
|
|
222
|
-
* - Border size in eighths of a point (e.g., 8 = 1pt, 16 = 2pt)
|
|
223
|
-
*/
|
|
224
|
-
size?: number;
|
|
225
|
-
/**
|
|
226
|
-
* - Space in points between border and text
|
|
227
|
-
*/
|
|
228
|
-
space?: number;
|
|
229
|
-
/**
|
|
230
|
-
* - Whether the border has a shadow
|
|
231
|
-
*/
|
|
232
|
-
shadow?: boolean;
|
|
233
|
-
/**
|
|
234
|
-
* - Whether the border is a frame
|
|
235
|
-
*/
|
|
236
|
-
frame?: boolean;
|
|
237
|
-
};
|
|
238
|
-
/**
|
|
239
|
-
* Table borders properties
|
|
12
|
+
* Table configuration options
|
|
240
13
|
*/
|
|
241
|
-
export type
|
|
242
|
-
/**
|
|
243
|
-
* - Bottom border specification
|
|
244
|
-
*/
|
|
245
|
-
bottom?: TableBorderSpec;
|
|
246
|
-
/**
|
|
247
|
-
* - End (right in LTR, left in RTL) border specification
|
|
248
|
-
*/
|
|
249
|
-
end?: TableBorderSpec;
|
|
250
|
-
/**
|
|
251
|
-
* - Inside horizontal border specification
|
|
252
|
-
*/
|
|
253
|
-
insideH?: TableBorderSpec;
|
|
254
|
-
/**
|
|
255
|
-
* - Inside vertical border specification
|
|
256
|
-
*/
|
|
257
|
-
insideV?: TableBorderSpec;
|
|
258
|
-
/**
|
|
259
|
-
* - Left border specification
|
|
260
|
-
*/
|
|
261
|
-
left?: TableBorderSpec;
|
|
14
|
+
export type TableConfig = {
|
|
262
15
|
/**
|
|
263
|
-
* -
|
|
16
|
+
* - Number of rows to create
|
|
264
17
|
*/
|
|
265
|
-
|
|
18
|
+
rows?: number;
|
|
266
19
|
/**
|
|
267
|
-
* -
|
|
20
|
+
* - Number of columns to create
|
|
268
21
|
*/
|
|
269
|
-
|
|
22
|
+
cols?: number;
|
|
270
23
|
/**
|
|
271
|
-
* -
|
|
24
|
+
* - Create first row as header row
|
|
272
25
|
*/
|
|
273
|
-
|
|
26
|
+
withHeaderRow?: boolean;
|
|
274
27
|
};
|
|
275
28
|
/**
|
|
276
|
-
* Table
|
|
29
|
+
* Table indentation configuration
|
|
277
30
|
*/
|
|
278
|
-
export type
|
|
279
|
-
/**
|
|
280
|
-
* - Top cell margin
|
|
281
|
-
*/
|
|
282
|
-
top?: TableMeasurement;
|
|
283
|
-
/**
|
|
284
|
-
* - Left cell margin
|
|
285
|
-
*/
|
|
286
|
-
left?: TableMeasurement;
|
|
287
|
-
/**
|
|
288
|
-
* - Bottom cell margin
|
|
289
|
-
*/
|
|
290
|
-
bottom?: TableMeasurement;
|
|
291
|
-
/**
|
|
292
|
-
* - Start cell margin (left in LTR, right in RTL)
|
|
293
|
-
*/
|
|
294
|
-
start?: TableMeasurement;
|
|
31
|
+
export type TableIndent = {
|
|
295
32
|
/**
|
|
296
|
-
* -
|
|
33
|
+
* - Indent width in pixels
|
|
297
34
|
*/
|
|
298
|
-
|
|
35
|
+
width: number;
|
|
299
36
|
/**
|
|
300
|
-
* -
|
|
37
|
+
* - Indent type
|
|
301
38
|
*/
|
|
302
|
-
|
|
39
|
+
type?: string;
|
|
303
40
|
};
|
|
304
41
|
/**
|
|
305
|
-
* Table
|
|
42
|
+
* Table attributes
|
|
306
43
|
*/
|
|
307
|
-
export type
|
|
308
|
-
/**
|
|
309
|
-
* - Specifies that the cells with this table shall be visually represented in a right to left direction
|
|
310
|
-
*/
|
|
311
|
-
rightToLeft?: boolean;
|
|
312
|
-
/**
|
|
313
|
-
* - The alignment of the set of rows which are part of the current table.
|
|
314
|
-
*/
|
|
315
|
-
justification?: "center" | "end" | "left" | "right" | "start";
|
|
316
|
-
/**
|
|
317
|
-
* - Shading properties for the table
|
|
318
|
-
*/
|
|
319
|
-
shading?: ShadingProperties;
|
|
320
|
-
/**
|
|
321
|
-
* - Caption text for the table
|
|
322
|
-
*/
|
|
323
|
-
caption?: string;
|
|
324
|
-
/**
|
|
325
|
-
* - Description text for the table
|
|
326
|
-
*/
|
|
327
|
-
description?: string;
|
|
328
|
-
/**
|
|
329
|
-
* - Cell spacing
|
|
330
|
-
*/
|
|
331
|
-
tableCellSpacing?: TableMeasurement;
|
|
44
|
+
export type TableAttributes = {
|
|
332
45
|
/**
|
|
333
46
|
* - Table indentation
|
|
334
47
|
*/
|
|
335
|
-
tableIndent?:
|
|
48
|
+
tableIndent?: TableIndent;
|
|
336
49
|
/**
|
|
337
|
-
* - Table
|
|
338
|
-
*/
|
|
339
|
-
tableLayout?: "fixed" | "autofit";
|
|
340
|
-
/**
|
|
341
|
-
* - Various boolean flags that affect the rendering of the table
|
|
50
|
+
* - Table border configuration
|
|
342
51
|
*/
|
|
343
|
-
|
|
52
|
+
borders?: import("./tableHelpers/createTableBorders.js").TableBorders;
|
|
344
53
|
/**
|
|
345
|
-
* -
|
|
54
|
+
* - CSS border-collapse value
|
|
346
55
|
*/
|
|
347
|
-
|
|
56
|
+
borderCollapse?: string;
|
|
348
57
|
/**
|
|
349
58
|
* - Reference to table style ID
|
|
350
59
|
*/
|
|
351
60
|
tableStyleId?: string;
|
|
352
61
|
/**
|
|
353
|
-
* -
|
|
354
|
-
*/
|
|
355
|
-
tableStyleColBandSize?: number;
|
|
356
|
-
/**
|
|
357
|
-
* - Number of rows for which the table style is applied
|
|
358
|
-
*/
|
|
359
|
-
tableStyleRowBandSize?: number;
|
|
360
|
-
/**
|
|
361
|
-
* - Table width
|
|
362
|
-
*/
|
|
363
|
-
tableWidth?: TableMeasurement;
|
|
364
|
-
/**
|
|
365
|
-
* - Floating table properties
|
|
62
|
+
* - Table layout algorithm
|
|
366
63
|
*/
|
|
367
|
-
|
|
64
|
+
tableLayout?: string;
|
|
368
65
|
/**
|
|
369
|
-
* -
|
|
66
|
+
* - Cell spacing in pixels
|
|
370
67
|
*/
|
|
371
|
-
|
|
68
|
+
tableCellSpacing?: number;
|
|
372
69
|
};
|
|
373
70
|
/**
|
|
374
|
-
*
|
|
71
|
+
* Cell selection position
|
|
375
72
|
*/
|
|
376
|
-
export type
|
|
73
|
+
export type CellSelectionPosition = {
|
|
377
74
|
/**
|
|
378
|
-
* -
|
|
75
|
+
* - Starting cell position
|
|
379
76
|
*/
|
|
380
|
-
|
|
381
|
-
};
|
|
382
|
-
/**
|
|
383
|
-
* Table grid definition
|
|
384
|
-
*/
|
|
385
|
-
export type TableGrid = {
|
|
77
|
+
anchorCell: number;
|
|
386
78
|
/**
|
|
387
|
-
* -
|
|
79
|
+
* - Ending cell position
|
|
388
80
|
*/
|
|
389
|
-
|
|
81
|
+
headCell: number;
|
|
390
82
|
};
|
|
391
83
|
/**
|
|
392
|
-
*
|
|
84
|
+
* Column group information
|
|
393
85
|
*/
|
|
394
|
-
export type
|
|
395
|
-
/**
|
|
396
|
-
* - Number of rows to create
|
|
397
|
-
*/
|
|
398
|
-
rows?: number;
|
|
86
|
+
export type ColGroupInfo = {
|
|
399
87
|
/**
|
|
400
|
-
* -
|
|
88
|
+
* - Column group DOM structure
|
|
401
89
|
*/
|
|
402
|
-
|
|
90
|
+
colgroup?: any[];
|
|
403
91
|
/**
|
|
404
|
-
* -
|
|
92
|
+
* - Fixed table width or empty string
|
|
405
93
|
*/
|
|
406
|
-
|
|
407
|
-
};
|
|
408
|
-
/**
|
|
409
|
-
* Table indentation configuration
|
|
410
|
-
*/
|
|
411
|
-
export type TableIndent = {
|
|
94
|
+
tableWidth?: string;
|
|
412
95
|
/**
|
|
413
|
-
* -
|
|
96
|
+
* - Minimum table width or empty string
|
|
414
97
|
*/
|
|
415
|
-
|
|
98
|
+
tableMinWidth?: string;
|
|
416
99
|
/**
|
|
417
|
-
* -
|
|
100
|
+
* - Array of column width values
|
|
418
101
|
*/
|
|
419
|
-
|
|
102
|
+
colgroupValues?: number[];
|
|
420
103
|
};
|
|
421
104
|
/**
|
|
422
|
-
*
|
|
105
|
+
* Position resolution result
|
|
423
106
|
*/
|
|
424
|
-
export type
|
|
107
|
+
export type CellPosition = {
|
|
425
108
|
/**
|
|
426
|
-
* -
|
|
109
|
+
* - Resolved position
|
|
427
110
|
*/
|
|
428
|
-
|
|
111
|
+
$pos: any;
|
|
429
112
|
/**
|
|
430
|
-
* -
|
|
113
|
+
* - Absolute position
|
|
431
114
|
*/
|
|
432
|
-
|
|
115
|
+
pos: number;
|
|
116
|
+
/**
|
|
117
|
+
* - Depth in document tree
|
|
118
|
+
*/
|
|
119
|
+
depth: number;
|
|
433
120
|
};
|
|
434
|
-
/**
|
|
435
|
-
* Configuration options for Table
|
|
436
|
-
*/
|
|
437
|
-
export type TableOptions = any;
|
|
438
|
-
/**
|
|
439
|
-
* Attributes for table nodes
|
|
440
|
-
*/
|
|
441
|
-
export type TableAttributes = any;
|
|
442
121
|
/**
|
|
443
122
|
* Current cell information
|
|
444
123
|
*/
|
|
445
124
|
export type CurrentCellInfo = {
|
|
446
125
|
/**
|
|
447
|
-
* - Selected rectangle
|
|
126
|
+
* - Selected rectangle from ProseMirror
|
|
448
127
|
*/
|
|
449
128
|
rect: any;
|
|
450
129
|
/**
|
|
451
|
-
* -
|
|
130
|
+
* - Current cell node
|
|
452
131
|
*/
|
|
453
|
-
cell:
|
|
132
|
+
cell: any;
|
|
454
133
|
/**
|
|
455
|
-
* - Cell attributes
|
|
134
|
+
* - Cell attributes without span properties
|
|
456
135
|
*/
|
|
457
136
|
attrs: any;
|
|
458
137
|
};
|
|
@@ -1,36 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Cell margins configuration
|
|
3
|
-
* @typedef {Object} CellMargins
|
|
4
|
-
* @property {number} [top] - Top margin in pixels
|
|
5
|
-
* @property {number} [right] - Right margin in pixels
|
|
6
|
-
* @property {number} [bottom] - Bottom margin in pixels
|
|
7
|
-
* @property {number} [left] - Left margin in pixels
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Cell background configuration
|
|
11
|
-
* @typedef {Object} CellBackground
|
|
12
|
-
* @property {string} color - Background color (hex without #)
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Configuration options for TableCell
|
|
16
|
-
* @typedef {Object} TableCellOptions
|
|
17
|
-
* @category Options
|
|
18
|
-
* @property {Object} [htmlAttributes={'aria-label': 'Table cell node'}] - HTML attributes for table cells
|
|
19
|
-
*/
|
|
20
|
-
/**
|
|
21
|
-
* Attributes for table cell nodes
|
|
22
|
-
* @typedef {Object} TableCellAttributes
|
|
23
|
-
* @category Attributes
|
|
24
|
-
* @property {number} [colspan=1] - Number of columns this cell spans
|
|
25
|
-
* @property {number} [rowspan=1] - Number of rows this cell spans
|
|
26
|
-
* @property {number[]} [colwidth=[100]] - Column widths array in pixels
|
|
27
|
-
* @property {CellBackground} [background] - Cell background color configuration
|
|
28
|
-
* @property {string} [verticalAlign] - Vertical content alignment (top, middle, bottom)
|
|
29
|
-
* @property {CellMargins} [cellMargins] - Internal cell padding
|
|
30
|
-
* @property {import('./helpers/createCellBorders.js').CellBorders} [borders] - Cell border configuration
|
|
31
|
-
* @property {string} [widthType='auto'] @internal - Internal width type
|
|
32
|
-
* @property {string} [widthUnit='px'] @internal - Internal width unit
|
|
33
|
-
*/
|
|
34
1
|
/**
|
|
35
2
|
* @module TableCell
|
|
36
3
|
* @sidebarTitle Table Cell
|
|
@@ -67,12 +34,4 @@ export type CellBackground = {
|
|
|
67
34
|
*/
|
|
68
35
|
color: string;
|
|
69
36
|
};
|
|
70
|
-
/**
|
|
71
|
-
* Configuration options for TableCell
|
|
72
|
-
*/
|
|
73
|
-
export type TableCellOptions = any;
|
|
74
|
-
/**
|
|
75
|
-
* Attributes for table cell nodes
|
|
76
|
-
*/
|
|
77
|
-
export type TableCellAttributes = any;
|
|
78
37
|
import { Node } from '@core/index.js';
|
|
@@ -1,29 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration options for TableHeader
|
|
3
|
-
* @typedef {Object} TableHeaderOptions
|
|
4
|
-
* @category Options
|
|
5
|
-
* @property {Object} [htmlAttributes={'aria-label': 'Table head node'}] - HTML attributes for table headers
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Attributes for table header nodes
|
|
9
|
-
* @typedef {Object} TableHeaderAttributes
|
|
10
|
-
* @category Attributes
|
|
11
|
-
* @property {number} [colspan=1] - Number of columns this header spans
|
|
12
|
-
* @property {number} [rowspan=1] - Number of rows this header spans
|
|
13
|
-
* @property {number[]} [colwidth] - Column widths array in pixels
|
|
14
|
-
*/
|
|
15
1
|
/**
|
|
16
2
|
* @module TableHeader
|
|
17
3
|
* @sidebarTitle Table Header
|
|
18
4
|
* @snippetPath /snippets/extensions/table-header.mdx
|
|
19
5
|
*/
|
|
20
6
|
export const TableHeader: Node;
|
|
21
|
-
/**
|
|
22
|
-
* Configuration options for TableHeader
|
|
23
|
-
*/
|
|
24
|
-
export type TableHeaderOptions = any;
|
|
25
|
-
/**
|
|
26
|
-
* Attributes for table header nodes
|
|
27
|
-
*/
|
|
28
|
-
export type TableHeaderAttributes = any;
|
|
29
7
|
import { Node } from '@core/index.js';
|
|
@@ -36,26 +36,6 @@
|
|
|
36
36
|
* @property {number} [wBefore.value] - The width in twenieths of a point (1/1440 of an inch).
|
|
37
37
|
* @property {"auto" | "dxa" | "nil" | "pct"} [wBefore.type] - The type of width.
|
|
38
38
|
*/
|
|
39
|
-
/**
|
|
40
|
-
* Configuration options for TableRow
|
|
41
|
-
* @typedef {Object} TableRowOptions
|
|
42
|
-
* @category Options
|
|
43
|
-
* @property {Object} [htmlAttributes={'aria-label': 'Table row node'}] - HTML attributes for table rows
|
|
44
|
-
*/
|
|
45
|
-
/**
|
|
46
|
-
* Attributes for table row nodes
|
|
47
|
-
* @typedef {Object} TableRowAttributes
|
|
48
|
-
* @category Attributes
|
|
49
|
-
* @property {number} [rowHeight] - Fixed row height in pixels
|
|
50
|
-
* @property {boolean} [cantSplit=false] - Indicates row should not split across pages
|
|
51
|
-
* @property {TableRowProperties} [tableRowProperties] @internal - Internal row properties
|
|
52
|
-
* @property {string} [rsidDel] @internal - Editing session ID for deletion
|
|
53
|
-
* @property {string} [rsidR] @internal - Editing session ID for addition
|
|
54
|
-
* @property {string} [rsidRPr] @internal - Editing session ID for row mark modification
|
|
55
|
-
* @property {string} [rsidTr] @internal - Editing session ID for properties modification
|
|
56
|
-
* @property {string} [paraId] @internal - Unique identifier for the row
|
|
57
|
-
* @property {string} [textId] @internal - Unique identifier for row text
|
|
58
|
-
*/
|
|
59
39
|
/**
|
|
60
40
|
* @module TableRow
|
|
61
41
|
* @sidebarTitle Table Row
|
|
@@ -173,12 +153,4 @@ export type TableRowProperties = {
|
|
|
173
153
|
type?: "auto" | "dxa" | "nil" | "pct";
|
|
174
154
|
};
|
|
175
155
|
};
|
|
176
|
-
/**
|
|
177
|
-
* Configuration options for TableRow
|
|
178
|
-
*/
|
|
179
|
-
export type TableRowOptions = any;
|
|
180
|
-
/**
|
|
181
|
-
* Attributes for table row nodes
|
|
182
|
-
*/
|
|
183
|
-
export type TableRowAttributes = any;
|
|
184
156
|
import { Node } from '@core/index.js';
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration options for Text
|
|
3
|
-
* @typedef {Object} TextOptions
|
|
4
|
-
* @category Options
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @module Text
|
|
8
|
-
* @sidebarTitle Text
|
|
9
|
-
* @snippetPath /snippets/extensions/text.mdx
|
|
10
|
-
*/
|
|
11
1
|
export const Text: Node;
|
|
12
|
-
/**
|
|
13
|
-
* Configuration options for Text
|
|
14
|
-
*/
|
|
15
|
-
export type TextOptions = any;
|
|
16
2
|
import { Node } from '@core/index.js';
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration options for TextAlign
|
|
3
|
-
* @typedef {Object} TextAlignOptions
|
|
4
|
-
* @category Options
|
|
5
|
-
* @property {string[]} [types=['heading', 'paragraph']] - Node types to apply alignment to
|
|
6
|
-
* @property {string[]} [alignments=['left', 'center', 'right', 'justify']] - Available alignment options
|
|
7
|
-
* @property {string} [defaultAlignment='left'] - Default text alignment
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Attributes for text alignment
|
|
11
|
-
* @typedef {Object} TextAlignAttributes
|
|
12
|
-
* @category Attributes
|
|
13
|
-
* @property {string} [textAlign='left'] - Text alignment value (left, center, right, justify)
|
|
14
|
-
*/
|
|
15
1
|
/**
|
|
16
2
|
* @module TextAlign
|
|
17
3
|
* @sidebarTitle Text Align
|
|
@@ -22,12 +8,4 @@
|
|
|
22
8
|
* @shortcut Mod-Shift-j | setTextAlign('justify') | Justify text
|
|
23
9
|
*/
|
|
24
10
|
export const TextAlign: Extension;
|
|
25
|
-
/**
|
|
26
|
-
* Configuration options for TextAlign
|
|
27
|
-
*/
|
|
28
|
-
export type TextAlignOptions = any;
|
|
29
|
-
/**
|
|
30
|
-
* Attributes for text alignment
|
|
31
|
-
*/
|
|
32
|
-
export type TextAlignAttributes = any;
|
|
33
11
|
import { Extension } from '@core/index.js';
|