eddyter 1.3.59 → 1.3.61

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 (44) hide show
  1. package/dist/api/ai/aiAgentService.d.ts +44 -0
  2. package/dist/api/ai/index.d.ts +12 -12
  3. package/dist/assets/index.css +1 -0
  4. package/dist/babel-19rkKi7e.js +7157 -0
  5. package/dist/components/FileUpload/InsertFileDialog.d.ts +0 -1
  6. package/dist/components/LinkPreviewHover/index.d.ts +0 -1
  7. package/dist/components/ScopedEditor.d.ts +0 -1
  8. package/dist/components/TextEnhanceDialog/index.d.ts +1 -1
  9. package/dist/components/ui/dropdown-menu.d.ts +3 -3
  10. package/dist/components/ui/skeleton.d.ts +0 -1
  11. package/dist/context/ToolbarContext.d.ts +6 -2
  12. package/dist/editorConfig.d.ts +1 -0
  13. package/dist/estree-DmlwiAu4.js +4453 -0
  14. package/dist/hooks/useModal.d.ts +0 -1
  15. package/dist/{html-3f297a3a.js → html-DtcgJGeD.js} +1097 -1358
  16. package/dist/html2pdf.bundle-BP8K5ERw.js +32961 -0
  17. package/dist/html2pdf.bundle.min-BrDn1HSi.js +20244 -0
  18. package/dist/{index-25fd6b76.js → index-CFq39nnT.js} +17746 -18306
  19. package/dist/{index-940faa12.js → index-CnBHpreC.js} +347 -377
  20. package/dist/{index-1da728d1.js → index-DnHnFalw.js} +8 -38
  21. package/dist/index.js +13 -46
  22. package/dist/{markdown-08edd93b.js → markdown-C2JcxpgA.js} +1374 -1836
  23. package/dist/plugins/AIChatPlugin.d.ts +1 -2
  24. package/dist/plugins/AutocompletePlugin.d.ts +0 -1
  25. package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRulePlugin.d.ts +0 -1
  26. package/dist/plugins/HtmlSyncPlugin.d.ts +0 -1
  27. package/dist/plugins/LinkPreviewPlugin/index.d.ts +0 -1
  28. package/dist/plugins/PasteOptionsPlugin/index.d.ts +0 -1
  29. package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +0 -1
  30. package/dist/plugins/SlashCommandPlugin/index.d.ts +0 -1
  31. package/dist/plugins/UsageTrackingPlugin.d.ts +0 -1
  32. package/dist/plugins/VoiceTranscriptPlugin.d.ts +1 -1
  33. package/dist/postcss-Banlrd6S.js +4703 -0
  34. package/dist/{standalone-83d5947a.js → standalone-JqHlnZSs.js} +975 -1274
  35. package/dist/types.d.ts +2 -0
  36. package/dist/typescript-D_phonMq.js +12929 -0
  37. package/package.json +7 -5
  38. package/dist/assets/style.css +0 -1
  39. package/dist/babel-2d5b260f.js +0 -7770
  40. package/dist/estree-28f5912a.js +0 -4920
  41. package/dist/html2pdf.bundle-eacf777f.js +0 -34001
  42. package/dist/html2pdf.bundle.min-d9ce156b.js +0 -21964
  43. package/dist/postcss-0e22bc25.js +0 -5187
  44. package/dist/typescript-0559ee85.js +0 -13660
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface InsertFileDialogProps {
3
2
  activeEditor: any;
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * LinkPreviewHover - A standalone component that provides link preview on hover
4
3
  * Can be used with any HTML container (not dependent on Lexical editor)
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ScopedEditorWrapperProps {
3
2
  children: React.ReactNode;
4
3
  className?: string;
@@ -4,7 +4,7 @@ export interface TextEnhanceDialogRef {
4
4
  closeDialog: () => void;
5
5
  }
6
6
  interface TextEnhanceDialogProps {
7
- onEnhance: (selectedText: string, prompt: string) => Promise<string>;
7
+ onEnhance: (selectedText: string, prompt: string) => Promise<void>;
8
8
  }
9
9
  export declare const TextEnhanceDialog: React.ForwardRefExoticComponent<TextEnhanceDialogProps & React.RefAttributes<TextEnhanceDialogRef>>;
10
10
  export {};
@@ -7,17 +7,17 @@ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPor
7
7
  declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
8
  declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
9
  declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
- inset?: boolean | undefined;
10
+ inset?: boolean;
11
11
  } & React.RefAttributes<HTMLDivElement>>;
12
12
  declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
13
  declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
14
  declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
- inset?: boolean | undefined;
15
+ inset?: boolean;
16
16
  } & React.RefAttributes<HTMLDivElement>>;
17
17
  declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
18
  declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
19
  declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
- inset?: boolean | undefined;
20
+ inset?: boolean;
21
21
  } & React.RefAttributes<HTMLDivElement>>;
22
22
  declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
23
  declare const DropdownMenuShortcut: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
3
2
  export { Skeleton };
@@ -3,6 +3,10 @@ import { ReactNode } from 'react';
3
3
  export declare const MIN_ALLOWED_FONT_SIZE = 8;
4
4
  export declare const MAX_ALLOWED_FONT_SIZE = 72;
5
5
  export declare const DEFAULT_FONT_SIZE = 15;
6
+ declare const rootTypeToRootName: {
7
+ root: string;
8
+ table: string;
9
+ };
6
10
  export declare const blockTypeToBlockName: {
7
11
  bullet: string;
8
12
  check: string;
@@ -19,7 +23,7 @@ export declare const blockTypeToBlockName: {
19
23
  };
20
24
  declare const INITIAL_TOOLBAR_STATE: {
21
25
  bgColor: string;
22
- blockType: "number" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "paragraph" | "quote" | "bullet" | "check";
26
+ blockType: keyof typeof blockTypeToBlockName;
23
27
  canRedo: boolean;
24
28
  canUndo: boolean;
25
29
  codeLanguage: string;
@@ -39,7 +43,7 @@ declare const INITIAL_TOOLBAR_STATE: {
39
43
  isSubscript: boolean;
40
44
  isSuperscript: boolean;
41
45
  isUnderline: boolean;
42
- rootType: "table" | "root";
46
+ rootType: keyof typeof rootTypeToRootName;
43
47
  isAutocompleteEnabled: boolean;
44
48
  isGrammarCheckEnabled: boolean;
45
49
  };
@@ -37,6 +37,7 @@ export declare const editorConfig: {
37
37
  enableEmbeds: boolean;
38
38
  enableFormatPainter: boolean;
39
39
  enableFeatureSuggestion: boolean;
40
+ enablePreview: boolean;
40
41
  };
41
42
  enableFloatingMenu: boolean;
42
43
  htmlViewOption: boolean;