@manuscripts/article-editor 3.2.8-LEAN-3958.2 → 3.2.8-LEAN-3911.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/projects/EditorElement.js +2 -3
- package/dist/cjs/components/projects/EditorElement.js.map +1 -1
- package/dist/cjs/components/track-changes/suggestion-list/Suggestion.js +3 -3
- package/dist/cjs/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
- package/dist/cjs/components/track-changes/suggestion-list/SuggestionSnippet.js +118 -25
- package/dist/cjs/components/track-changes/suggestion-list/SuggestionSnippet.js.map +1 -1
- package/dist/cjs/hooks/use-handle-snapshot.js +4 -24
- package/dist/cjs/hooks/use-handle-snapshot.js.map +1 -1
- package/dist/{types/lib/change-handlers.d.ts → cjs/lib/delay.js} +8 -11
- package/dist/cjs/lib/delay.js.map +1 -0
- package/dist/cjs/lib/fonts.js +0 -3
- package/dist/cjs/lib/fonts.js.map +1 -1
- package/dist/cjs/lib/footnotes.js +49 -0
- package/dist/cjs/lib/footnotes.js.map +1 -0
- package/dist/cjs/lib/utils.js +28 -2
- package/dist/cjs/lib/utils.js.map +1 -1
- package/dist/cjs/postgres-data/buildUtilities.js +0 -56
- package/dist/cjs/postgres-data/buildUtilities.js.map +1 -1
- package/dist/cjs/store/Store.js.map +1 -1
- package/dist/es/components/projects/EditorElement.js +3 -4
- package/dist/es/components/projects/EditorElement.js.map +1 -1
- package/dist/es/components/track-changes/suggestion-list/Suggestion.js +3 -3
- package/dist/es/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
- package/dist/es/components/track-changes/suggestion-list/SuggestionSnippet.js +119 -26
- package/dist/es/components/track-changes/suggestion-list/SuggestionSnippet.js.map +1 -1
- package/dist/es/hooks/use-handle-snapshot.js +4 -24
- package/dist/es/hooks/use-handle-snapshot.js.map +1 -1
- package/dist/{types/components/track-changes/suggestion-list/SnippetContent.d.ts → es/lib/delay.js} +4 -7
- package/dist/es/lib/delay.js.map +1 -0
- package/dist/es/lib/fonts.js +0 -3
- package/dist/es/lib/fonts.js.map +1 -1
- package/dist/es/lib/footnotes.js +43 -0
- package/dist/es/lib/footnotes.js.map +1 -0
- package/dist/es/lib/utils.js +25 -1
- package/dist/es/lib/utils.js.map +1 -1
- package/dist/es/postgres-data/buildUtilities.js +1 -57
- package/dist/es/postgres-data/buildUtilities.js.map +1 -1
- package/dist/es/store/Store.js.map +1 -1
- package/dist/{es/components/track-changes/suggestion-list/SnippetContent.js → types/lib/delay.d.ts} +1 -33
- package/dist/types/lib/fonts.d.ts +0 -3
- package/dist/types/lib/footnotes.d.ts +15 -0
- package/dist/types/lib/utils.d.ts +8 -1
- package/dist/types/store/Store.d.ts +0 -1
- package/package.json +3 -3
- package/dist/cjs/components/track-changes/suggestion-list/SnippetContent.js +0 -72
- package/dist/cjs/components/track-changes/suggestion-list/SnippetContent.js.map +0 -1
- package/dist/cjs/lib/change-handlers.js +0 -123
- package/dist/cjs/lib/change-handlers.js.map +0 -1
- package/dist/cjs/lib/node-content-retriever.js +0 -120
- package/dist/cjs/lib/node-content-retriever.js.map +0 -1
- package/dist/es/components/track-changes/suggestion-list/SnippetContent.js.map +0 -1
- package/dist/es/lib/change-handlers.js +0 -117
- package/dist/es/lib/change-handlers.js.map +0 -1
- package/dist/es/lib/node-content-retriever.js +0 -116
- package/dist/es/lib/node-content-retriever.js.map +0 -1
- package/dist/types/lib/node-content-retriever.d.ts +0 -37
@@ -1,37 +0,0 @@
|
|
1
|
-
import { ManuscriptEditorState, ManuscriptNode, ManuscriptNodeType } from '@manuscripts/transform';
|
2
|
-
export declare class NodeTextContentRetriever {
|
3
|
-
private state;
|
4
|
-
constructor(state: ManuscriptEditorState);
|
5
|
-
/**
|
6
|
-
* Recursively retrieves text content from a ManuscriptNode.
|
7
|
-
*/
|
8
|
-
getNodeTextContent(node: ManuscriptNode): string;
|
9
|
-
/**
|
10
|
-
* Retrieves the text content of the first child node.
|
11
|
-
*/
|
12
|
-
getFirstChildContent(node: ManuscriptNode): string;
|
13
|
-
/**
|
14
|
-
* Retrieves the text content from a bibliography node.
|
15
|
-
*/
|
16
|
-
getContentFromBibliography(id: string, nodeType: ManuscriptNodeType): string;
|
17
|
-
/**
|
18
|
-
* Retrieves the content of an equation node.
|
19
|
-
*/
|
20
|
-
getEquationContent(node: ManuscriptNode): string;
|
21
|
-
/**
|
22
|
-
* Retrieves the label of a figure node.
|
23
|
-
*/
|
24
|
-
getFigureLabel(node: ManuscriptNode): string;
|
25
|
-
/**
|
26
|
-
* Finds a footnote node by its ID.
|
27
|
-
*/
|
28
|
-
private findFootnoteById;
|
29
|
-
/**
|
30
|
-
* Retrieves the inline footnote content.
|
31
|
-
*/
|
32
|
-
getInlineFootnoteContent(doc: ManuscriptNode, attrs: Record<any, any>): string;
|
33
|
-
/**
|
34
|
-
* Retrieves the text content of a footnote node with decoration.
|
35
|
-
*/
|
36
|
-
getFootnoteContent(node: ManuscriptNode): string;
|
37
|
-
}
|