eddyter 1.3.73 → 1.3.75

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 (29) hide show
  1. package/LICENSE +24 -24
  2. package/README.md +478 -478
  3. package/dist/EddyterIcon.svg +24 -24
  4. package/dist/{ImageResizer-FrE13F54.js → ImageResizer-o0eMm1Mg.js} +56 -50
  5. package/dist/api/ai/aiAgentService.d.ts +22 -1
  6. package/dist/api/config/endpoints.d.ts +3 -0
  7. package/dist/assets/style.css +1 -1
  8. package/dist/{babel-CCPWkrf4.js → babel-B9hn44Wo.js} +726 -1302
  9. package/dist/components/VideoView/index.d.ts +3 -1
  10. package/dist/constants.d.ts +2 -1
  11. package/dist/{estree-CxUPh9wa.js → estree-CocPn_Md.js} +529 -917
  12. package/dist/hooks/useBlockFormat.d.ts +1 -0
  13. package/dist/{html-CmniStvG.js → html-CxCicOef.js} +350 -589
  14. package/dist/{html2pdf.bundle-CQue4YDW.js → html2pdf.bundle-CVq-OpZt.js} +2778 -3797
  15. package/dist/{html2pdf.bundle.min-BEj2NT3U.js → html2pdf.bundle.min-BxzIoi3T.js} +3405 -5221
  16. package/dist/{index-CX3cfSUQ.js → index-CtPRZTab.js} +27 -18
  17. package/dist/index-Cuv9ugJL.js +381 -0
  18. package/dist/{index-CfRDm1jv.js → index-DxEP36zG.js} +12228 -12186
  19. package/dist/{index-BO5ICrpG.js → index-eRyVFO7x.js} +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/{markdown-B0mEGGfQ.js → markdown-BUjgWFLu.js} +578 -1015
  22. package/dist/nodes/GeneratingImageNode.d.ts +30 -0
  23. package/dist/nodes/VideoNode.d.ts +10 -3
  24. package/dist/{postcss-B0bxXf7u.js → postcss-CGIcwj_g.js} +615 -1065
  25. package/dist/{standalone-DmuJV5rn.js → standalone-C0qguT38.js} +350 -596
  26. package/dist/{typescript-DZlC_9M8.js → typescript-BM7wk6k-.js} +1114 -1806
  27. package/dist/ui/Icons.d.ts +2 -1
  28. package/package.json +149 -152
  29. package/dist/index-Buj5fA92.js +0 -274
@@ -1,5 +1,6 @@
1
1
  import { LexicalEditor, NodeKey } from '../../../node_modules/lexical';
2
- export default function VideoComponent({ src, nodeKey, width, height, maxWidth, resizable, showCaption, caption, captionsEnabled, controls, }: {
2
+ import { ImagePosition } from '../../nodes/ImageNode';
3
+ export default function VideoComponent({ src, nodeKey, width, height, maxWidth, resizable, showCaption, caption, captionsEnabled, controls, position, }: {
3
4
  caption: LexicalEditor;
4
5
  height: "inherit" | number;
5
6
  maxWidth: number;
@@ -10,4 +11,5 @@ export default function VideoComponent({ src, nodeKey, width, height, maxWidth,
10
11
  width: "inherit" | number;
11
12
  captionsEnabled: boolean;
12
13
  controls?: boolean;
14
+ position?: ImagePosition;
13
15
  }): JSX.Element;
@@ -18,12 +18,13 @@ import { NotePanelNode } from './nodes/NotePanelNode';
18
18
  import { ChartNode } from './nodes/ChartNode';
19
19
  import { CustomHorizontalRuleNode } from './plugins/CustomHorizontalRulePlugin';
20
20
  import { AlignMenuItem, FormatTextMenuItem } from './types';
21
+ import { GeneratingImageNode } from './nodes/GeneratingImageNode';
21
22
  import { UploadingImageNode } from './nodes/UploadingImageNode';
22
23
  import { UploadingFileNode } from './nodes/UploadingFileNode';
23
24
  import { VideoNode } from './nodes/VideoNode';
24
25
  import { UploadingVideoNode } from './nodes/UploadingVideoNode';
25
26
  export declare const theme: EditorThemeClasses;
26
- export declare const EDITOR_NODES: (typeof CommentedTextNode | typeof CommentNode | typeof EmbedNode | typeof FileNode | typeof HtmlCanvasNode | typeof LinkNode | typeof CodeNode | typeof ImageNode | typeof MentionNode | typeof NotePanelNode | typeof ChartNode | typeof CustomHorizontalRuleNode | typeof HorizontalRuleNode | typeof UploadingImageNode | typeof UploadingFileNode | typeof VideoNode | typeof UploadingVideoNode | typeof CodeHighlightNode | typeof HeadingNode | typeof QuoteNode | typeof ListNode | typeof ListItemNode | typeof TableNode | typeof TableCellNode | typeof TableRowNode)[];
27
+ export declare const EDITOR_NODES: (typeof CommentedTextNode | typeof CommentNode | typeof EmbedNode | typeof FileNode | typeof HtmlCanvasNode | typeof LinkNode | typeof CodeNode | typeof ImageNode | typeof MentionNode | typeof NotePanelNode | typeof ChartNode | typeof CustomHorizontalRuleNode | typeof HorizontalRuleNode | typeof GeneratingImageNode | typeof UploadingImageNode | typeof UploadingFileNode | typeof VideoNode | typeof UploadingVideoNode | typeof CodeHighlightNode | typeof HeadingNode | typeof QuoteNode | typeof ListNode | typeof ListItemNode | typeof TableNode | typeof TableCellNode | typeof TableRowNode)[];
27
28
  export declare const initialConfig: InitialConfigType;
28
29
  export declare const blockTypeToBlockName: {
29
30
  bullet: string;