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.
- package/dist/api/ai/aiAgentService.d.ts +44 -0
- package/dist/api/ai/index.d.ts +12 -12
- package/dist/assets/index.css +1 -0
- package/dist/babel-19rkKi7e.js +7157 -0
- package/dist/components/FileUpload/InsertFileDialog.d.ts +0 -1
- package/dist/components/LinkPreviewHover/index.d.ts +0 -1
- package/dist/components/ScopedEditor.d.ts +0 -1
- package/dist/components/TextEnhanceDialog/index.d.ts +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +3 -3
- package/dist/components/ui/skeleton.d.ts +0 -1
- package/dist/context/ToolbarContext.d.ts +6 -2
- package/dist/editorConfig.d.ts +1 -0
- package/dist/estree-DmlwiAu4.js +4453 -0
- package/dist/hooks/useModal.d.ts +0 -1
- package/dist/{html-3f297a3a.js → html-DtcgJGeD.js} +1097 -1358
- package/dist/html2pdf.bundle-BP8K5ERw.js +32961 -0
- package/dist/html2pdf.bundle.min-BrDn1HSi.js +20244 -0
- package/dist/{index-25fd6b76.js → index-CFq39nnT.js} +17746 -18306
- package/dist/{index-940faa12.js → index-CnBHpreC.js} +347 -377
- package/dist/{index-1da728d1.js → index-DnHnFalw.js} +8 -38
- package/dist/index.js +13 -46
- package/dist/{markdown-08edd93b.js → markdown-C2JcxpgA.js} +1374 -1836
- package/dist/plugins/AIChatPlugin.d.ts +1 -2
- package/dist/plugins/AutocompletePlugin.d.ts +0 -1
- package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRulePlugin.d.ts +0 -1
- package/dist/plugins/HtmlSyncPlugin.d.ts +0 -1
- package/dist/plugins/LinkPreviewPlugin/index.d.ts +0 -1
- package/dist/plugins/PasteOptionsPlugin/index.d.ts +0 -1
- package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +0 -1
- package/dist/plugins/SlashCommandPlugin/index.d.ts +0 -1
- package/dist/plugins/UsageTrackingPlugin.d.ts +0 -1
- package/dist/plugins/VoiceTranscriptPlugin.d.ts +1 -1
- package/dist/postcss-Banlrd6S.js +4703 -0
- package/dist/{standalone-83d5947a.js → standalone-JqHlnZSs.js} +975 -1274
- package/dist/types.d.ts +2 -0
- package/dist/typescript-D_phonMq.js +12929 -0
- package/package.json +7 -5
- package/dist/assets/style.css +0 -1
- package/dist/babel-2d5b260f.js +0 -7770
- package/dist/estree-28f5912a.js +0 -4920
- package/dist/html2pdf.bundle-eacf777f.js +0 -34001
- package/dist/html2pdf.bundle.min-d9ce156b.js +0 -21964
- package/dist/postcss-0e22bc25.js +0 -5187
- package/dist/typescript-0559ee85.js +0 -13660
|
@@ -4,7 +4,7 @@ export interface TextEnhanceDialogRef {
|
|
|
4
4
|
closeDialog: () => void;
|
|
5
5
|
}
|
|
6
6
|
interface TextEnhanceDialogProps {
|
|
7
|
-
onEnhance: (selectedText: string, prompt: string) => Promise<
|
|
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
|
|
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
|
|
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
|
|
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: {
|
|
@@ -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:
|
|
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:
|
|
46
|
+
rootType: keyof typeof rootTypeToRootName;
|
|
43
47
|
isAutocompleteEnabled: boolean;
|
|
44
48
|
isGrammarCheckEnabled: boolean;
|
|
45
49
|
};
|
package/dist/editorConfig.d.ts
CHANGED