ct-rich-text-editor 1.3.8 → 1.3.9
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/index.d.ts +4 -0
- package/dist/api/config/endpoints.d.ts +1 -0
- package/dist/api/featureSuggestion.d.ts +2 -0
- package/dist/assets/style.css +375 -544
- package/dist/components/AiPlugin/index.d.ts +2 -0
- package/dist/components/ChartEditDialog.d.ts +9 -0
- package/dist/components/ChartInsertDialog.d.ts +8 -0
- package/dist/components/LanguageSelectorDialog/index.d.ts +8 -0
- package/dist/components/ToneAdjustDialog/index.d.ts +8 -0
- package/dist/constants.d.ts +2 -1
- package/dist/{html2pdf.bundle-6d32d085.js → html2pdf.bundle-edf70ece.js} +2 -2
- package/dist/{html2pdf.bundle-6d32d085.js.map → html2pdf.bundle-edf70ece.js.map} +1 -1
- package/dist/{html2pdf.bundle.min-b3120e0c.js → html2pdf.bundle.min-94e617b8.js} +2 -2
- package/dist/{html2pdf.bundle.min-b3120e0c.js.map → html2pdf.bundle.min-94e617b8.js.map} +1 -1
- package/dist/{index-42136c92.js → index-0445ed0b.js} +3 -3
- package/dist/{index-42136c92.js.map → index-0445ed0b.js.map} +1 -1
- package/dist/{index-158a9bd4.js → index-4061f3ce.js} +7223 -5786
- package/dist/index-4061f3ce.js.map +1 -0
- package/dist/{index-9548fdb4.js → index-db990790.js} +9 -9
- package/dist/{index-9548fdb4.js.map → index-db990790.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/nodes/ChartNode.d.ts +41 -0
- package/dist/plugins/CombinedAutocompletGrammarPlugin.d.ts +2 -3
- package/dist/ui/Icons.d.ts +5 -1
- package/dist/utils/export.d.ts +1 -1
- package/package.json +2 -2
- package/dist/index-158a9bd4.js.map +0 -1
- package/dist/plugins/TableHoverActionsPlugin/index_old_backup.d.ts +0 -17
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const AI_REPHRASE_COMMAND: import('../../../node_modules/lexical').LexicalCommand<unknown>;
|
|
2
2
|
export declare const AI_IMAGE_COMMAND: import('../../../node_modules/lexical').LexicalCommand<string | undefined>;
|
|
3
|
+
export declare const AI_TRANSLATE_COMMAND: import('../../../node_modules/lexical').LexicalCommand<string | undefined>;
|
|
4
|
+
export declare const AI_ADJUST_TONE_COMMAND: import('../../../node_modules/lexical').LexicalCommand<string | undefined>;
|
|
3
5
|
declare const AIRephrasePlugin: () => import("react/jsx-runtime").JSX.Element;
|
|
4
6
|
export default AIRephrasePlugin;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ChartMetadata } from '../nodes/ChartNode';
|
|
2
|
+
interface ChartEditDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
metadata: ChartMetadata;
|
|
6
|
+
onSave: (metadata: ChartMetadata) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function ChartEditDialog({ open, onOpenChange, metadata, onSave, }: ChartEditDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ChartMetadata } from '../nodes/ChartNode';
|
|
2
|
+
interface ChartInsertDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
onInsert: (metadata: ChartMetadata) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function ChartInsertDialog({ open, onOpenChange, onInsert, }: ChartInsertDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface LanguageSelectorDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
onLanguageSelect: (language: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const LanguageSelectorDialog: React.FC<LanguageSelectorDialogProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ToneAdjustDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
onToneSelect: (tone: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const ToneAdjustDialog: React.FC<ToneAdjustDialogProps>;
|
|
8
|
+
export {};
|
package/dist/constants.d.ts
CHANGED
|
@@ -14,10 +14,11 @@ import { FileNode } from './nodes/FileNode';
|
|
|
14
14
|
import { ImageNode } from './nodes/ImageNode';
|
|
15
15
|
import { MentionNode } from './nodes/MentionNode';
|
|
16
16
|
import { NotePanelNode } from './nodes/NotePanelNode';
|
|
17
|
+
import { ChartNode } from './nodes/ChartNode';
|
|
17
18
|
import { CustomHorizontalRuleNode } from './plugins/CustomHorizontalRulePlugin';
|
|
18
19
|
import { AlignMenuItem, FormatTextMenuItem } from './types';
|
|
19
20
|
export declare const theme: EditorThemeClasses;
|
|
20
|
-
export declare const EDITOR_NODES: (typeof CommentedTextNode | typeof CommentNode | typeof EmbedNode | typeof FileNode | typeof LinkNode | typeof CodeNode | typeof ImageNode | typeof MentionNode | typeof NotePanelNode | typeof CustomHorizontalRuleNode | typeof HorizontalRuleNode | typeof CodeHighlightNode | typeof HeadingNode | typeof QuoteNode | typeof ListNode | typeof ListItemNode | typeof TableNode | typeof TableCellNode | typeof TableRowNode)[];
|
|
21
|
+
export declare const EDITOR_NODES: (typeof CommentedTextNode | typeof CommentNode | typeof EmbedNode | typeof FileNode | typeof LinkNode | typeof CodeNode | typeof ImageNode | typeof MentionNode | typeof NotePanelNode | typeof ChartNode | typeof CustomHorizontalRuleNode | typeof HorizontalRuleNode | typeof CodeHighlightNode | typeof HeadingNode | typeof QuoteNode | typeof ListNode | typeof ListItemNode | typeof TableNode | typeof TableCellNode | typeof TableRowNode)[];
|
|
21
22
|
export declare const initialConfig: InitialConfigType;
|
|
22
23
|
export declare const blockTypeToBlockName: {
|
|
23
24
|
bullet: string;
|
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-
|
|
7
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-4061f3ce.js";
|
|
8
8
|
function _mergeNamespaces(n, m) {
|
|
9
9
|
for (var i = 0; i < m.length; i++) {
|
|
10
10
|
const e = m[i];
|
|
@@ -46125,4 +46125,4 @@ const html2pdf_bundle$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
|
46125
46125
|
export {
|
|
46126
46126
|
html2pdf_bundle$1 as h
|
|
46127
46127
|
};
|
|
46128
|
-
//# sourceMappingURL=html2pdf.bundle-
|
|
46128
|
+
//# sourceMappingURL=html2pdf.bundle-edf70ece.js.map
|