eddyter 1.3.63 → 1.3.64
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/LICENSE +24 -24
- package/README.md +493 -493
- package/dist/ImageResizer-CbtUYHip.js +199 -0
- package/dist/api/auth.d.ts +4 -2
- package/dist/assets/style.css +1 -1
- package/dist/{babel-B9hn44Wo.js → babel-CCPWkrf4.js} +1302 -726
- package/dist/components/LockedFeature/LockedFeature.d.ts +23 -0
- package/dist/components/LockedFeature/index.d.ts +2 -0
- package/dist/components/UnifiedColorPicker/UnifiedColorPicker.d.ts +14 -0
- package/dist/components/VideoView/index.d.ts +13 -0
- package/dist/constants.d.ts +3 -1
- package/dist/editorConfig.d.ts +2 -3
- package/dist/{estree-CocPn_Md.js → estree-CxUPh9wa.js} +917 -529
- package/dist/{html-CxCicOef.js → html-CmniStvG.js} +589 -350
- package/dist/{html2pdf.bundle-Bc2h6DHT.js → html2pdf.bundle-C1B1lr_T.js} +3796 -2777
- package/dist/{html2pdf.bundle.min-BvakEXhX.js → html2pdf.bundle.min-kPviTsNx.js} +5223 -3407
- package/dist/index-BL8HWCRw.js +816 -0
- package/dist/index-BpsoOKOs.js +274 -0
- package/dist/{index-C2a6-XFM.js → index-DHKx5grA.js} +4 -4
- package/dist/{index-DoJIKSPF.js → index-FZVNbwSO.js} +12356 -11290
- package/dist/index.js +3 -3
- package/dist/{markdown-BUjgWFLu.js → markdown-B0mEGGfQ.js} +1015 -578
- package/dist/nodes/UploadingVideoNode.d.ts +30 -0
- package/dist/nodes/VideoNode.d.ts +47 -0
- package/dist/plugins/CustomHorizontalRulePlugin/HorizontalRuleCustomizationDialog.d.ts +2 -1
- package/dist/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +1 -1
- package/dist/plugins/VideoPlugin.d.ts +17 -0
- package/dist/{postcss-CGIcwj_g.js → postcss-B0bxXf7u.js} +1065 -615
- package/dist/{standalone-C0qguT38.js → standalone-DmuJV5rn.js} +596 -350
- package/dist/types.d.ts +4 -6
- package/dist/{typescript-BM7wk6k-.js → typescript-DZlC_9M8.js} +1805 -1113
- package/dist/ui/Icons.d.ts +2 -1
- package/dist/utils/uploadManager.d.ts +17 -0
- package/package.json +151 -151
- package/dist/index-B0VTEqfr.js +0 -985
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface LockedFeatureProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
isEnabled: boolean;
|
|
5
|
+
featureName: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
/**
|
|
8
|
+
* variant: "overlay" shows a lock badge on top-right corner (for toolbar buttons)
|
|
9
|
+
* variant: "inline" shows the lock icon inline (for dropdown items, slash commands)
|
|
10
|
+
*/
|
|
11
|
+
variant?: "overlay" | "inline";
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* LockedFeature - A wrapper component that shows a lock overlay on disabled features
|
|
15
|
+
*
|
|
16
|
+
* When isEnabled is true, renders children normally.
|
|
17
|
+
* When isEnabled is false, renders children with:
|
|
18
|
+
* - Grayed out/disabled appearance (opacity-50)
|
|
19
|
+
* - Non-interactive (pointer-events-none on children)
|
|
20
|
+
* - Lock icon overlay/inline with tooltip showing "{featureName} not available in your plan"
|
|
21
|
+
*/
|
|
22
|
+
declare const LockedFeature: FC<LockedFeatureProps>;
|
|
23
|
+
export default LockedFeature;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface UnifiedColorPickerProps {
|
|
3
|
+
onTextColorChange: (color: string) => void;
|
|
4
|
+
onBackgroundColorChange: (color: string | null) => void;
|
|
5
|
+
currentTextColor?: string;
|
|
6
|
+
currentBgColor?: string;
|
|
7
|
+
isHighlightActive?: boolean;
|
|
8
|
+
onOpenChange?: (open: boolean) => void;
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
showTextColorTab?: boolean;
|
|
11
|
+
showBackgroundColorTab?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const UnifiedColorPicker: FC<UnifiedColorPickerProps>;
|
|
14
|
+
export default UnifiedColorPicker;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LexicalEditor, NodeKey } from '../../../node_modules/lexical';
|
|
2
|
+
export default function VideoComponent({ src, nodeKey, width, height, maxWidth, resizable, showCaption, caption, captionsEnabled, controls, }: {
|
|
3
|
+
caption: LexicalEditor;
|
|
4
|
+
height: "inherit" | number;
|
|
5
|
+
maxWidth: number;
|
|
6
|
+
nodeKey: NodeKey;
|
|
7
|
+
resizable: boolean;
|
|
8
|
+
showCaption: boolean;
|
|
9
|
+
src: string;
|
|
10
|
+
width: "inherit" | number;
|
|
11
|
+
captionsEnabled: boolean;
|
|
12
|
+
controls?: boolean;
|
|
13
|
+
}): JSX.Element;
|
package/dist/constants.d.ts
CHANGED
|
@@ -20,8 +20,10 @@ import { CustomHorizontalRuleNode } from './plugins/CustomHorizontalRulePlugin';
|
|
|
20
20
|
import { AlignMenuItem, FormatTextMenuItem } from './types';
|
|
21
21
|
import { UploadingImageNode } from './nodes/UploadingImageNode';
|
|
22
22
|
import { UploadingFileNode } from './nodes/UploadingFileNode';
|
|
23
|
+
import { VideoNode } from './nodes/VideoNode';
|
|
24
|
+
import { UploadingVideoNode } from './nodes/UploadingVideoNode';
|
|
23
25
|
export declare const theme: EditorThemeClasses;
|
|
24
|
-
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 CodeHighlightNode | typeof HeadingNode | typeof QuoteNode | typeof ListNode | typeof ListItemNode | typeof TableNode | typeof TableCellNode | typeof TableRowNode)[];
|
|
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)[];
|
|
25
27
|
export declare const initialConfig: InitialConfigType;
|
|
26
28
|
export declare const blockTypeToBlockName: {
|
|
27
29
|
bullet: string;
|
package/dist/editorConfig.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const editorConfig: {
|
|
|
8
8
|
enableTableOptions: boolean;
|
|
9
9
|
enableImageOptions: boolean;
|
|
10
10
|
enableInsertMenu: boolean;
|
|
11
|
-
|
|
11
|
+
enableColors: boolean;
|
|
12
12
|
enableClearOptions: boolean;
|
|
13
13
|
enableEmojiPicker: boolean;
|
|
14
14
|
enableLinks: boolean;
|
|
@@ -25,7 +25,6 @@ export declare const editorConfig: {
|
|
|
25
25
|
enableImageUpload: boolean;
|
|
26
26
|
enableWordCount: boolean;
|
|
27
27
|
enableCharts: boolean;
|
|
28
|
-
enableHighlight: boolean;
|
|
29
28
|
enableAutoCorrection: boolean;
|
|
30
29
|
enablePdfExport: boolean;
|
|
31
30
|
enableSpeechToText: boolean;
|
|
@@ -59,7 +58,7 @@ export declare const editorConfig: {
|
|
|
59
58
|
aiChat: boolean;
|
|
60
59
|
comment: boolean;
|
|
61
60
|
improve: boolean;
|
|
62
|
-
|
|
61
|
+
colors: boolean;
|
|
63
62
|
};
|
|
64
63
|
enableAutocomplete: boolean;
|
|
65
64
|
autocompleteOptions: {
|