@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.
Files changed (56) hide show
  1. package/dist/cjs/components/projects/EditorElement.js +2 -3
  2. package/dist/cjs/components/projects/EditorElement.js.map +1 -1
  3. package/dist/cjs/components/track-changes/suggestion-list/Suggestion.js +3 -3
  4. package/dist/cjs/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
  5. package/dist/cjs/components/track-changes/suggestion-list/SuggestionSnippet.js +118 -25
  6. package/dist/cjs/components/track-changes/suggestion-list/SuggestionSnippet.js.map +1 -1
  7. package/dist/cjs/hooks/use-handle-snapshot.js +4 -24
  8. package/dist/cjs/hooks/use-handle-snapshot.js.map +1 -1
  9. package/dist/{types/lib/change-handlers.d.ts → cjs/lib/delay.js} +8 -11
  10. package/dist/cjs/lib/delay.js.map +1 -0
  11. package/dist/cjs/lib/fonts.js +0 -3
  12. package/dist/cjs/lib/fonts.js.map +1 -1
  13. package/dist/cjs/lib/footnotes.js +49 -0
  14. package/dist/cjs/lib/footnotes.js.map +1 -0
  15. package/dist/cjs/lib/utils.js +28 -2
  16. package/dist/cjs/lib/utils.js.map +1 -1
  17. package/dist/cjs/postgres-data/buildUtilities.js +0 -56
  18. package/dist/cjs/postgres-data/buildUtilities.js.map +1 -1
  19. package/dist/cjs/store/Store.js.map +1 -1
  20. package/dist/es/components/projects/EditorElement.js +3 -4
  21. package/dist/es/components/projects/EditorElement.js.map +1 -1
  22. package/dist/es/components/track-changes/suggestion-list/Suggestion.js +3 -3
  23. package/dist/es/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
  24. package/dist/es/components/track-changes/suggestion-list/SuggestionSnippet.js +119 -26
  25. package/dist/es/components/track-changes/suggestion-list/SuggestionSnippet.js.map +1 -1
  26. package/dist/es/hooks/use-handle-snapshot.js +4 -24
  27. package/dist/es/hooks/use-handle-snapshot.js.map +1 -1
  28. package/dist/{types/components/track-changes/suggestion-list/SnippetContent.d.ts → es/lib/delay.js} +4 -7
  29. package/dist/es/lib/delay.js.map +1 -0
  30. package/dist/es/lib/fonts.js +0 -3
  31. package/dist/es/lib/fonts.js.map +1 -1
  32. package/dist/es/lib/footnotes.js +43 -0
  33. package/dist/es/lib/footnotes.js.map +1 -0
  34. package/dist/es/lib/utils.js +25 -1
  35. package/dist/es/lib/utils.js.map +1 -1
  36. package/dist/es/postgres-data/buildUtilities.js +1 -57
  37. package/dist/es/postgres-data/buildUtilities.js.map +1 -1
  38. package/dist/es/store/Store.js.map +1 -1
  39. package/dist/{es/components/track-changes/suggestion-list/SnippetContent.js → types/lib/delay.d.ts} +1 -33
  40. package/dist/types/lib/fonts.d.ts +0 -3
  41. package/dist/types/lib/footnotes.d.ts +15 -0
  42. package/dist/types/lib/utils.d.ts +8 -1
  43. package/dist/types/store/Store.d.ts +0 -1
  44. package/package.json +3 -3
  45. package/dist/cjs/components/track-changes/suggestion-list/SnippetContent.js +0 -72
  46. package/dist/cjs/components/track-changes/suggestion-list/SnippetContent.js.map +0 -1
  47. package/dist/cjs/lib/change-handlers.js +0 -123
  48. package/dist/cjs/lib/change-handlers.js.map +0 -1
  49. package/dist/cjs/lib/node-content-retriever.js +0 -120
  50. package/dist/cjs/lib/node-content-retriever.js.map +0 -1
  51. package/dist/es/components/track-changes/suggestion-list/SnippetContent.js.map +0 -1
  52. package/dist/es/lib/change-handlers.js +0 -117
  53. package/dist/es/lib/change-handlers.js.map +0 -1
  54. package/dist/es/lib/node-content-retriever.js +0 -116
  55. package/dist/es/lib/node-content-retriever.js.map +0 -1
  56. 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
- }