@harbour-enterprises/superdoc 0.30.0-next.2 → 0.30.0-next.3
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-DjMr1y41.cjs → PdfViewer-BIJ6vJck.cjs} +1 -1
- package/dist/chunks/{PdfViewer-B_U27-1K.es.js → PdfViewer-YWtbYClb.es.js} +1 -1
- package/dist/chunks/{index-D8F3d1e3.es.js → index-Bh45DPpT.es.js} +3 -3
- package/dist/chunks/{index-uO0JG1KW.cjs → index-Br4fKccD.cjs} +3 -3
- package/dist/chunks/{index-BJia6SL_-O9_RiF6K.cjs → index-D9ggxe26-BbC5rNDO.cjs} +1 -1
- package/dist/chunks/{index-BJia6SL_-D6cjpcdW.es.js → index-D9ggxe26-Dk1kDrfi.es.js} +1 -1
- package/dist/chunks/{super-editor.es-C0Cv2AzF.cjs → super-editor.es-4me2z6up.cjs} +13728 -14837
- package/dist/chunks/{super-editor.es-BjEfFiAF.es.js → super-editor.es-FtXwm03k.es.js} +13728 -14837
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/style.css +0 -22
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-DxPmeV-v.js → converter-SZ8xM5Dw.js} +12303 -12326
- package/dist/super-editor/chunks/{docx-zipper-BnnW7IuB.js → docx-zipper-GNdwONoA.js} +1 -1
- package/dist/super-editor/chunks/{editor-B2jkX1wz.js → editor-Bb8HzfEh.js} +1430 -2502
- package/dist/super-editor/chunks/{index-BJia6SL_.js → index-D9ggxe26.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-DFlHgpZd.js → toolbar-DtCz6r-y.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/style.css +0 -22
- package/dist/super-editor/super-editor/src/components/slash-menu/utils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/InputRule.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/__tests__/schemaWithLists.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts +15 -0
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/index.d.ts +2 -7
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts +0 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/tests/test-schema.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts +6 -56
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/contentProcessor.d.ts +3 -3
- package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/importMarkdown.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts +15 -42
- package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts +2 -5
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +2 -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 +6 -4
- 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/v2/importer/docxImporter.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +0 -97
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.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/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/index.d.ts +1 -4
- package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts +30 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +37 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +9 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts +1 -0
- package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +13 -2
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +75 -40
- 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 +13744 -14853
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +0 -15
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts +0 -15
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts +0 -43
- package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +0 -68
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +0 -13
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +0 -51
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +0 -3
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -6
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +0 -38
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backspaceNextToList.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/backspaceNextToList.js"],"names":[],"mappings":"AAkCO,8CAEJ;;;;CAA2B,aAqG3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteListItem.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/deleteListItem.js"],"names":[],"mappings":"AAUO,2CA+EN"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get the context information for the current paragraph.
|
|
3
|
-
* @param {import("prosemirror-state").EditorState} state
|
|
4
|
-
* @returns {Object|null} Context information for the paragraph or null if not found.
|
|
5
|
-
*/
|
|
6
|
-
export function getParaCtx(state: import("prosemirror-state").EditorState): any | null;
|
|
7
|
-
/**
|
|
8
|
-
* Check if the cursor is at the visual end of the paragraph.
|
|
9
|
-
* @param {import("prosemirror-state").EditorState} state
|
|
10
|
-
* @param {Object} ctx
|
|
11
|
-
* @returns {boolean}
|
|
12
|
-
*/
|
|
13
|
-
export function atVisualParaEnd(state: import("prosemirror-state").EditorState, ctx: any): boolean;
|
|
14
|
-
export function handleDeleteNextToList(): Function;
|
|
15
|
-
//# sourceMappingURL=deleteNextToList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteNextToList.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/deleteNextToList.js"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,kCAHW,OAAO,mBAAmB,EAAE,WAAW,GACrC,MAAO,IAAI,CAcvB;AAED;;;;;GAKG;AACH,uCAJW,OAAO,mBAAmB,EAAE,WAAW,aAErC,OAAO,CAiBnB;AAoBM,mDAsHJ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"liftListItem.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/liftListItem.js"],"names":[],"mappings":"AASO,gDAEJ;;;CAAmB,aAGnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sinkListItem.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/sinkListItem.js"],"names":[],"mappings":"AAUO,gDAAsC;;;CAAmB,aAG/D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"splitListItem.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/splitListItem.js"],"names":[],"mappings":"AAkEO,0CAgKN"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wrapInList.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/wrapInList.js"],"names":[],"mappings":"AAWO,0DAAgD;;;CAAmB,aAGzE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export const BulletList: Node;
|
|
2
|
-
/**
|
|
3
|
-
* Configuration options for BulletList
|
|
4
|
-
*/
|
|
5
|
-
export type BulletListOptions = any;
|
|
6
|
-
/**
|
|
7
|
-
* Attributes for bullet list nodes
|
|
8
|
-
*/
|
|
9
|
-
export type BulletListAttributes = any;
|
|
10
|
-
/**
|
|
11
|
-
* Commands provided by BulletList extension
|
|
12
|
-
*/
|
|
13
|
-
export type BulletListCommands = any;
|
|
14
|
-
import { Node } from '@core/index.js';
|
|
15
|
-
//# sourceMappingURL=bullet-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bullet-list.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bullet-list/bullet-list.js"],"names":[],"mappings":"AAyDA,8BAgHG;;;;;;;;;;;;;qBAxK6B,gBAAgB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bullet-list/index.js"],"names":[],"mappings":""}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export function refreshAllListItemNodeViews(): void;
|
|
2
|
-
export class ListItemNodeView {
|
|
3
|
-
constructor(node: any, getPos: any, decorations: any, editor: any);
|
|
4
|
-
node: any;
|
|
5
|
-
editor: any;
|
|
6
|
-
decorations: any;
|
|
7
|
-
view: any;
|
|
8
|
-
_rawGetPos: any;
|
|
9
|
-
_pendingIndentRefresh: any;
|
|
10
|
-
getPos: () => number;
|
|
11
|
-
dom: HTMLLIElement;
|
|
12
|
-
numberingDOM: HTMLSpanElement;
|
|
13
|
-
contentDOM: HTMLDivElement;
|
|
14
|
-
getResolvedPos(): number;
|
|
15
|
-
invalidateResolvedPos(): void;
|
|
16
|
-
refreshIndentStyling({ immediate }?: {
|
|
17
|
-
immediate?: boolean;
|
|
18
|
-
}): void;
|
|
19
|
-
handleNumberingClick: () => void;
|
|
20
|
-
update(node: any, decorations: any): void;
|
|
21
|
-
destroy(): void;
|
|
22
|
-
#private;
|
|
23
|
-
}
|
|
24
|
-
export function getVisibleIndent(stylePpr: DocxNode, numDefPpr: DocxNode, inlineIndent: any): IndentObject;
|
|
25
|
-
export type IndentObject = {
|
|
26
|
-
/**
|
|
27
|
-
* - The left indent value
|
|
28
|
-
*/
|
|
29
|
-
left?: number;
|
|
30
|
-
/**
|
|
31
|
-
* - The right indent value
|
|
32
|
-
*/
|
|
33
|
-
right?: number;
|
|
34
|
-
/**
|
|
35
|
-
* - The first line indent value
|
|
36
|
-
*/
|
|
37
|
-
firstLine?: number;
|
|
38
|
-
/**
|
|
39
|
-
* - The hanging indent value
|
|
40
|
-
*/
|
|
41
|
-
hanging?: number;
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=ListItemNodeView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemNodeView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/list-item/ListItemNodeView.js"],"names":[],"mappings":"AA+OA,oDAUC;AAvND;IACE,mEAaC;IAZC,UAAgB;IAChB,YAAoB;IACpB,iBAA8B;IAC9B,UAAuB;IACvB,gBAAwB;IACxB,2BAAiC;IACjC,qBAAyC;IAoCzC,mBAAuC;IAYvC,8BAAkD;IAOlD,2BAA+C;IAUjD,yBAQC;IAED,8BAEC;IAED;;aAgBC;IA8CD,iCAGE;IAEF,0CAkCC;IAED,gBAWC;;CACF;AA4BM,2CAJI,QAAQ,aACR,QAAQ,sBACN,YAAY,CAiBxB;;;;;WAtQa,MAAM;;;;YACN,MAAM;;;;gBACN,MAAM;;;;cACN,MAAM"}
|
package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Collect textStyle marks within a list item node.
|
|
3
|
-
* @param {Node} listItem
|
|
4
|
-
* @param {MarkType} markType
|
|
5
|
-
* @returns {{ marks: Array, attrs: { lineHeight?: string } }}
|
|
6
|
-
*/
|
|
7
|
-
export function collectTextStyleMarks(listItem: Node, markType: MarkType): {
|
|
8
|
-
marks: any[];
|
|
9
|
-
attrs: {
|
|
10
|
-
lineHeight?: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export function parseSizeFromRunProperties(listRunProperties: any): string;
|
|
14
|
-
export function parseFontFamilyFromRunProperties(listRunProperties: any): any;
|
|
15
|
-
/**
|
|
16
|
-
* Clear the computed style cache for a specific DOM node
|
|
17
|
-
* @param {HTMLElement} domNode - The DOM node to clear cache for
|
|
18
|
-
*/
|
|
19
|
-
export function clearComputedStyleCache(domNode: HTMLElement): void;
|
|
20
|
-
export function readNodeViewStyles(view: any): {
|
|
21
|
-
fontSize: any;
|
|
22
|
-
fontFamily: any;
|
|
23
|
-
lineHeight: any;
|
|
24
|
-
};
|
|
25
|
-
export function getAdjacentListItemNodeView({ nodeView, pos, direction, activeNodeViews }: {
|
|
26
|
-
nodeView: any;
|
|
27
|
-
pos: any;
|
|
28
|
-
direction: any;
|
|
29
|
-
activeNodeViews: any;
|
|
30
|
-
}): any;
|
|
31
|
-
export function findSiblingListItem({ editor, pos, direction }: {
|
|
32
|
-
editor: any;
|
|
33
|
-
pos: any;
|
|
34
|
-
direction: any;
|
|
35
|
-
}): any;
|
|
36
|
-
export function deriveFontStylesFromNode({ node, textStyleType, defaultFont, defaultSize, listRunProperties }: {
|
|
37
|
-
node: any;
|
|
38
|
-
textStyleType: any;
|
|
39
|
-
defaultFont: any;
|
|
40
|
-
defaultSize: any;
|
|
41
|
-
listRunProperties: any;
|
|
42
|
-
}): {
|
|
43
|
-
fontSize: any;
|
|
44
|
-
fontFamily: any;
|
|
45
|
-
lineHeight: string;
|
|
46
|
-
hasSize: boolean;
|
|
47
|
-
hasFamily: boolean;
|
|
48
|
-
};
|
|
49
|
-
export function getStylesFromLinkedStyles({ node, pos, editor }: {
|
|
50
|
-
node: any;
|
|
51
|
-
pos: any;
|
|
52
|
-
editor: any;
|
|
53
|
-
}): {
|
|
54
|
-
font: any;
|
|
55
|
-
size: any;
|
|
56
|
-
};
|
|
57
|
-
export function resolveListItemTypography({ node, pos, editor, nodeView, activeNodeViews }: {
|
|
58
|
-
node: any;
|
|
59
|
-
pos: any;
|
|
60
|
-
editor: any;
|
|
61
|
-
nodeView: any;
|
|
62
|
-
activeNodeViews: any;
|
|
63
|
-
}): {
|
|
64
|
-
fontSize: any;
|
|
65
|
-
fontFamily: any;
|
|
66
|
-
lineHeight: string;
|
|
67
|
-
};
|
|
68
|
-
//# sourceMappingURL=listItemTypography.d.ts.map
|
package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listItemTypography.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/list-item/helpers/listItemTypography.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,gDAJW,IAAI,YACJ,QAAQ,GACN;IAAE,KAAK,QAAQ;IAAC,KAAK,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CA4C5D;AAED,2EAOC;AAED,8EAKC;AAeD;;;GAGG;AACH,iDAFW,WAAW,QAMrB;AAED;;;;EAyCC;AAED;;;;;QAyBC;AAED;;;;QAiBC;AAED;;;;;;;;;;;;EAwDC;AAED;;;;;;;EAoCC;AAED;;;;;;;;;;EAqDC"}
|
package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a ProseMirror plugin for styling list item markers and spacing.
|
|
3
|
-
* Applies CSS custom properties for marker typography (font-size, font-family)
|
|
4
|
-
* and direct styles for list item spacing (margins, line-height).
|
|
5
|
-
* @returns {Plugin} ProseMirror plugin for styled list markers
|
|
6
|
-
* @example
|
|
7
|
-
* const plugin = styledListMarker();
|
|
8
|
-
* @note Skips re-computation when 'orderedListMarker' meta is set
|
|
9
|
-
* @note Respects textStyle marks from paragraph content for marker styling
|
|
10
|
-
*/
|
|
11
|
-
export function styledListMarker(): Plugin;
|
|
12
|
-
import { Plugin } from 'prosemirror-state';
|
|
13
|
-
//# sourceMappingURL=styledListMarkerPlugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styledListMarkerPlugin.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/list-item/helpers/styledListMarkerPlugin.js"],"names":[],"mappings":"AAOA;;;;;;;;;GASG;AACH,oCANa,MAAM,CA2DlB;uBAtEiC,mBAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/list-item/index.js"],"names":[],"mappings":""}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration options for ListItem
|
|
3
|
-
* @typedef {Object} ListItemOptions
|
|
4
|
-
* @category Options
|
|
5
|
-
* @property {Object} [htmlAttributes] - HTML attributes for list item elements
|
|
6
|
-
* @property {string} [bulletListTypeName='bulletList'] - Name of bullet list node type
|
|
7
|
-
* @property {string} [orderedListTypeName='orderedList'] - Name of ordered list node type
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Attributes for list item nodes
|
|
11
|
-
* @typedef {Object} ListItemAttributes
|
|
12
|
-
* @category Attributes
|
|
13
|
-
* @property {string} [markerType] - Virtual attribute for marker display
|
|
14
|
-
* @property {string} [lvlText] - Level text template for numbering
|
|
15
|
-
* @property {string} [listNumberingType] - Numbering format type
|
|
16
|
-
* @property {Array} [listLevel] - List level hierarchy
|
|
17
|
-
* @property {string} [lvlJc] - Level justification (left, right, center)
|
|
18
|
-
* @property {Object} [listParagraphProperties] - Indentation and spacing info
|
|
19
|
-
* @property {Object} [listRunProperties] - Run properties for list item
|
|
20
|
-
* @property {string} [numId] - Numbering definition ID
|
|
21
|
-
* @property {string} [numPrType='inline'] - Numbering properties type
|
|
22
|
-
* @property {string} [level] - Current nesting level
|
|
23
|
-
* @property {Object} [attributes] - Additional attributes
|
|
24
|
-
* @property {Object} [spacing] - Spacing configuration
|
|
25
|
-
* @property {Object} [indent] - Indentation settings
|
|
26
|
-
* @property {Object} [markerStyle] - Marker styling
|
|
27
|
-
* @property {string} [styleId] - Linked style ID
|
|
28
|
-
* @property {string} [customFormat] - Custom numbering format
|
|
29
|
-
* @property {string} [importedFontFamily] - Font family from import
|
|
30
|
-
* @property {string} [importedFontSize] - Font size from import
|
|
31
|
-
*/
|
|
32
|
-
/**
|
|
33
|
-
* @module ListItem
|
|
34
|
-
* @sidebarTitle List Item
|
|
35
|
-
* @snippetPath /snippets/extensions/list-item.mdx
|
|
36
|
-
* @shortcut Enter | splitListItem | Split list item at cursor
|
|
37
|
-
* @shortcut Shift-Enter | createParagraphNear | Create paragraph in list
|
|
38
|
-
* @shortcut Tab | increaseListIndent | Increase list indentation
|
|
39
|
-
* @shortcut Shift-Tab | decreaseListIndent | Decrease list indentation
|
|
40
|
-
*/
|
|
41
|
-
export const ListItem: Node;
|
|
42
|
-
/**
|
|
43
|
-
* Configuration options for ListItem
|
|
44
|
-
*/
|
|
45
|
-
export type ListItemOptions = any;
|
|
46
|
-
/**
|
|
47
|
-
* Attributes for list item nodes
|
|
48
|
-
*/
|
|
49
|
-
export type ListItemAttributes = any;
|
|
50
|
-
import { Node } from '@core/index.js';
|
|
51
|
-
//# sourceMappingURL=list-item.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/list-item/list-item.js"],"names":[],"mappings":"AAMA;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH;;;;;;;;GAQG;AACH,4BAsPG;;;;;;;;;qBAtS6B,gBAAgB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"orderedListMarkerPlugin.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/ordered-list/helpers/orderedListMarkerPlugin.js"],"names":[],"mappings":"AAEA,iDA4GC;uBA9GiC,mBAAmB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export function orderedListSync(editor: any): Plugin<any>;
|
|
2
|
-
export function randomId(): string;
|
|
3
|
-
export const orderedListSyncPluginKey: PluginKey<any>;
|
|
4
|
-
import { Plugin } from 'prosemirror-state';
|
|
5
|
-
import { PluginKey } from 'prosemirror-state';
|
|
6
|
-
//# sourceMappingURL=orderedListSyncPlugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"orderedListSyncPlugin.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/ordered-list/helpers/orderedListSyncPlugin.js"],"names":[],"mappings":"AAOA,0DAkJC;AAED,mCAEC;AAxJD,sDAAyE;uBALvC,mBAAmB;0BAAnB,mBAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ordered-list/index.js"],"names":[],"mappings":""}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration options for OrderedList
|
|
3
|
-
* @typedef {Object} OrderedListOptions
|
|
4
|
-
* @category Options
|
|
5
|
-
* @property {string} [itemTypeName='listItem'] - Name of list item node type
|
|
6
|
-
* @property {Object} [htmlAttributes] - HTML attributes for ordered list elements
|
|
7
|
-
* @property {boolean} [keepMarks=true] - Whether to preserve marks when creating lists
|
|
8
|
-
* @property {boolean} [keepAttributes=false] - Whether to preserve attributes
|
|
9
|
-
* @property {Array<string>} [listStyleTypes=['decimal', 'lowerAlpha', 'lowerRoman']] - Available list style types
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Attributes for ordered list nodes
|
|
13
|
-
* @typedef {Object} OrderedListAttributes
|
|
14
|
-
* @category Attributes
|
|
15
|
-
* @property {number} [order=1] - Starting number for the list
|
|
16
|
-
* @property {string} [sdBlockId] - Block identifier for tracking
|
|
17
|
-
* @property {string} [syncId] - Synchronization identifier
|
|
18
|
-
* @property {string} [listId] - List identifier
|
|
19
|
-
* @property {string} [list-style-type='decimal'] - List style type (decimal, lowerAlpha, lowerRoman)
|
|
20
|
-
* @property {Object} [attributes] - Additional attributes
|
|
21
|
-
*/
|
|
22
|
-
/**
|
|
23
|
-
* @module OrderedList
|
|
24
|
-
* @sidebarTitle Ordered List
|
|
25
|
-
* @snippetPath /snippets/extensions/ordered-list.mdx
|
|
26
|
-
* @shortcut Mod-Shift-7 | toggleOrderedList | Toggle ordered list
|
|
27
|
-
*/
|
|
28
|
-
export const OrderedList: Node;
|
|
29
|
-
/**
|
|
30
|
-
* Configuration options for OrderedList
|
|
31
|
-
*/
|
|
32
|
-
export type OrderedListOptions = any;
|
|
33
|
-
/**
|
|
34
|
-
* Attributes for ordered list nodes
|
|
35
|
-
*/
|
|
36
|
-
export type OrderedListAttributes = any;
|
|
37
|
-
import { Node } from '@core/index.js';
|
|
38
|
-
//# sourceMappingURL=ordered-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ordered-list.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ordered-list/ordered-list.js"],"names":[],"mappings":"AAQA;;;;;;;;;GASG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;GAKG;AACH,+BAwNG;;;;;;;;;qBA7P6B,gBAAgB"}
|