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
package/dist/ui/Icons.d.ts
CHANGED
|
@@ -81,4 +81,5 @@ declare const ExternalLinkIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
|
81
81
|
declare const WrapTextLeftIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
82
82
|
declare const WrapTextRightIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
83
83
|
declare const BugIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
84
|
-
|
|
84
|
+
declare const LockIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
85
|
+
export { AddCommentIcon, AddImageIcon, AdjustToneIcon, AIChatIcon, AIIcon, AlignBottomIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignMiddleIcon, AlignRightIcon, AlignTopIcon, BoldIcon, BugIcon, BulletListIcon, ChartBarIcon, CheckBoxIcon, CheckIcon, ChevronDownIcon, CodeIcon, CompleteSentenceIcon, DisableIcon, EmojifyIcon, FaceSmileIcon, FileIcon, FixGrammarIcon, GenerateImageIcon, Heading1Icon, Heading2Icon, Heading3Icon, Heading4Icon, Heading5Icon, Heading6Icon, HorizontalRuleIcon, HtmlViewIcon, ImageIcon, ItalicIcon, LinkIcon, LockIcon, MagicoonIcon, MakeLongerIcon, MakeShorterIcon, MenuAltIcon, MessageEditIcon, MicrophoneIcon, NoteIcon, NumberListIcon, PauseCircleIcon, ParagraphIcon, PenLineIcon, PerspectiveIcon, PlayCircleIcon, PlusIcon, QuoteIcon, RecordingIcon, RedoIcon, SearchTextIcon, SearchTextIcon2, SendIcon, SignatureIcon, SimplifyIcon, SparkleIcon, StopCircleIcon, StrikethroughIcon, SubscriptIcon, SuperscriptIcon, TodoIcon, TranslateIcon, TypeCapitalizeIcon, TypeLowercaseIcon, TypeUppercaseIcon, UnderlineIcon, UndoIcon, UploadIcon, TableIcon, HighlighterIcon, LightbulbIcon, ClearFormattingIcon, CrossIcon, DownloadIcon, TrashIcon, ExternalLinkIcon, WrapTextLeftIcon, WrapTextRightIcon };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Register an AbortController for a given node key.
|
|
3
|
+
* Called when starting an upload.
|
|
4
|
+
*/
|
|
5
|
+
export declare function registerUpload(nodeKey: string, controller: AbortController): void;
|
|
6
|
+
/**
|
|
7
|
+
* Cancel an in-flight upload by node key.
|
|
8
|
+
* Aborts the axios request, which cascades to the backend
|
|
9
|
+
* via a closed connection (triggering req.on('close')).
|
|
10
|
+
* Returns true if the upload was found and aborted.
|
|
11
|
+
*/
|
|
12
|
+
export declare function cancelUpload(nodeKey: string): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Remove an AbortController from the registry.
|
|
15
|
+
* Called on upload completion (success or error) to clean up.
|
|
16
|
+
*/
|
|
17
|
+
export declare function cleanupUpload(nodeKey: string): void;
|
package/package.json
CHANGED
|
@@ -1,152 +1,152 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "eddyter",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "1.3.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"packageManager": "pnpm@9.0.0",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"rich-text-editor",
|
|
9
|
-
"text-editor",
|
|
10
|
-
"wysiwyg",
|
|
11
|
-
"editor",
|
|
12
|
-
"ai-editor",
|
|
13
|
-
"ai-writing",
|
|
14
|
-
"ai-assistant",
|
|
15
|
-
"content-editor",
|
|
16
|
-
"document-editor",
|
|
17
|
-
"web-editor",
|
|
18
|
-
"react-editor",
|
|
19
|
-
"javascript-editor",
|
|
20
|
-
"frontend-component",
|
|
21
|
-
"ui-component",
|
|
22
|
-
"saas-editor",
|
|
23
|
-
"api-key",
|
|
24
|
-
"authenticated-editor",
|
|
25
|
-
"pluggable-editor",
|
|
26
|
-
"configurable-editor",
|
|
27
|
-
"eddyter"
|
|
28
|
-
],
|
|
29
|
-
"main": "dist/index.js",
|
|
30
|
-
"module": "dist/index.js",
|
|
31
|
-
"types": "dist/index.d.ts",
|
|
32
|
-
"style": "dist/assets/style.css",
|
|
33
|
-
"files": [
|
|
34
|
-
"dist"
|
|
35
|
-
],
|
|
36
|
-
"exports": {
|
|
37
|
-
".": {
|
|
38
|
-
"import": "./dist/index.js",
|
|
39
|
-
"types": "./dist/index.d.ts"
|
|
40
|
-
},
|
|
41
|
-
"./style.css": "./dist/assets/style.css"
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"react": "^18.2.0",
|
|
45
|
-
"react-dom": "^18.2.0"
|
|
46
|
-
},
|
|
47
|
-
"scripts": {
|
|
48
|
-
"dev": "vite",
|
|
49
|
-
"build": "tsc && vite build --mode production",
|
|
50
|
-
"preview": "vite preview",
|
|
51
|
-
"prettier:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
|
|
52
|
-
"prettier:format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
|
53
|
-
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
|
|
54
|
-
"lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
55
|
-
"format": "pnpm prettier:format && pnpm lint:fix",
|
|
56
|
-
"check": "pnpm prettier:check && pnpm lint",
|
|
57
|
-
"prepare": "husky",
|
|
58
|
-
"prepublishOnly": "pnpm build"
|
|
59
|
-
},
|
|
60
|
-
"dependencies": {
|
|
61
|
-
"@aws-sdk/client-s3": "^3.744.0",
|
|
62
|
-
"@aws-sdk/s3-request-presigner": "^3.744.0",
|
|
63
|
-
"@emotion/react": "^11.10.6",
|
|
64
|
-
"@emotion/styled": "^11.10.6",
|
|
65
|
-
"@lexical/clipboard": "^0.24.0",
|
|
66
|
-
"@lexical/code": "^0.24.0",
|
|
67
|
-
"@lexical/dragon": "^0.24.0",
|
|
68
|
-
"@lexical/history": "^0.24.0",
|
|
69
|
-
"@lexical/html": "^0.24.0",
|
|
70
|
-
"@lexical/link": "^0.24.0",
|
|
71
|
-
"@lexical/list": "^0.24.0",
|
|
72
|
-
"@lexical/markdown": "0.24.0",
|
|
73
|
-
"@lexical/react": "^0.24.0",
|
|
74
|
-
"@lexical/rich-text": "^0.24.0",
|
|
75
|
-
"@lexical/selection": "^0.24.0",
|
|
76
|
-
"@lexical/table": "^0.24.0",
|
|
77
|
-
"@lexical/text": "^0.24.0",
|
|
78
|
-
"@lexical/utils": "^0.24.0",
|
|
79
|
-
"@mui/icons-material": "^5.11.9",
|
|
80
|
-
"@mui/material": "^5.11.9",
|
|
81
|
-
"@mui/styles": "^5.11.9",
|
|
82
|
-
"@radix-ui/react-avatar": "^1.1.3",
|
|
83
|
-
"@radix-ui/react-checkbox": "^1.1.4",
|
|
84
|
-
"@radix-ui/react-dialog": "^1.1.6",
|
|
85
|
-
"@radix-ui/react-dropdown-menu": "^2.1.6",
|
|
86
|
-
"@radix-ui/react-label": "^2.1.2",
|
|
87
|
-
"@radix-ui/react-popover": "^1.1.13",
|
|
88
|
-
"@radix-ui/react-select": "^2.2.6",
|
|
89
|
-
"@radix-ui/react-separator": "^1.1.2",
|
|
90
|
-
"@radix-ui/react-slot": "^1.2.2",
|
|
91
|
-
"@radix-ui/react-tabs": "^1.1.3",
|
|
92
|
-
"@radix-ui/react-tooltip": "^1.1.8",
|
|
93
|
-
"@types/react-signature-canvas": "^1.0.7",
|
|
94
|
-
"axios": "^1.8.1",
|
|
95
|
-
"class-variance-authority": "^0.7.1",
|
|
96
|
-
"classnames": "^2.3.2",
|
|
97
|
-
"clsx": "^2.1.1",
|
|
98
|
-
"emoji-picker-react": "^4.12.0",
|
|
99
|
-
"framer-motion": "^12.5.0",
|
|
100
|
-
"html2pdf.js": "^0.14.0",
|
|
101
|
-
"lexical": "^0.24.0",
|
|
102
|
-
"lexical-ai-plugin": "0.0.2-alpha",
|
|
103
|
-
"lodash-es": "^4.17.21",
|
|
104
|
-
"lucide-react": "^0.344.0",
|
|
105
|
-
"marked": "^17.0.1",
|
|
106
|
-
"prettier": "^3.5.1",
|
|
107
|
-
"react-colorful": "^5.6.1",
|
|
108
|
-
"react-router-dom": "^7.2.0",
|
|
109
|
-
"react-signature-canvas": "^1.1.0-alpha.1",
|
|
110
|
-
"sass": "^1.57.1",
|
|
111
|
-
"sonner": "^2.0.3",
|
|
112
|
-
"tailwind-merge": "^3.0.2",
|
|
113
|
-
"tailwindcss": "3",
|
|
114
|
-
"tailwindcss-animate": "^1.0.7"
|
|
115
|
-
},
|
|
116
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
117
|
-
"devDependencies": {
|
|
118
|
-
"@types/he": "^1.2.3",
|
|
119
|
-
"@types/lodash-es": "^4.17.12",
|
|
120
|
-
"@types/node": "^22.13.10",
|
|
121
|
-
"@types/react": "^18.0.26",
|
|
122
|
-
"@types/react-dom": "^18.0.9",
|
|
123
|
-
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
124
|
-
"@typescript-eslint/parser": "5.62.0",
|
|
125
|
-
"@vitejs/plugin-react-swc": "^3.11.0",
|
|
126
|
-
"autoprefixer": "^10.4.18",
|
|
127
|
-
"cross-env": "^7.0.3",
|
|
128
|
-
"eslint": "8.56.0",
|
|
129
|
-
"eslint-config-prettier": "^10.1.1",
|
|
130
|
-
"eslint-import-resolver-typescript": "^3.8.5",
|
|
131
|
-
"eslint-plugin-import": "^2.31.0",
|
|
132
|
-
"eslint-plugin-react": "^7.37.4",
|
|
133
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
134
|
-
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
135
|
-
"eslint-plugin-unused-imports": "^4.1.4",
|
|
136
|
-
"husky": "^9.1.7",
|
|
137
|
-
"lint-staged": "^15.4.3",
|
|
138
|
-
"postcss": "^8.4.35",
|
|
139
|
-
"react": "^18.2.0",
|
|
140
|
-
"react-dom": "^18.2.0",
|
|
141
|
-
"typescript": "^5.3.3",
|
|
142
|
-
"vite": "^5.4.21",
|
|
143
|
-
"vite-plugin-dts": "^4.5.3",
|
|
144
|
-
"vite-tsconfig-paths": "^5.1.4"
|
|
145
|
-
},
|
|
146
|
-
"lint-staged": {
|
|
147
|
-
"*.{js,jsx,ts,tsx}": [
|
|
148
|
-
"prettier --write",
|
|
149
|
-
"eslint --fix"
|
|
150
|
-
]
|
|
151
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "eddyter",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "1.3.64",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"packageManager": "pnpm@9.0.0",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"rich-text-editor",
|
|
9
|
+
"text-editor",
|
|
10
|
+
"wysiwyg",
|
|
11
|
+
"editor",
|
|
12
|
+
"ai-editor",
|
|
13
|
+
"ai-writing",
|
|
14
|
+
"ai-assistant",
|
|
15
|
+
"content-editor",
|
|
16
|
+
"document-editor",
|
|
17
|
+
"web-editor",
|
|
18
|
+
"react-editor",
|
|
19
|
+
"javascript-editor",
|
|
20
|
+
"frontend-component",
|
|
21
|
+
"ui-component",
|
|
22
|
+
"saas-editor",
|
|
23
|
+
"api-key",
|
|
24
|
+
"authenticated-editor",
|
|
25
|
+
"pluggable-editor",
|
|
26
|
+
"configurable-editor",
|
|
27
|
+
"eddyter"
|
|
28
|
+
],
|
|
29
|
+
"main": "dist/index.js",
|
|
30
|
+
"module": "dist/index.js",
|
|
31
|
+
"types": "dist/index.d.ts",
|
|
32
|
+
"style": "dist/assets/style.css",
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"import": "./dist/index.js",
|
|
39
|
+
"types": "./dist/index.d.ts"
|
|
40
|
+
},
|
|
41
|
+
"./style.css": "./dist/assets/style.css"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"react": "^18.2.0",
|
|
45
|
+
"react-dom": "^18.2.0"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"dev": "vite",
|
|
49
|
+
"build": "tsc && vite build --mode production",
|
|
50
|
+
"preview": "vite preview",
|
|
51
|
+
"prettier:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
|
|
52
|
+
"prettier:format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
|
53
|
+
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
|
|
54
|
+
"lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
55
|
+
"format": "pnpm prettier:format && pnpm lint:fix",
|
|
56
|
+
"check": "pnpm prettier:check && pnpm lint",
|
|
57
|
+
"prepare": "husky",
|
|
58
|
+
"prepublishOnly": "pnpm build"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@aws-sdk/client-s3": "^3.744.0",
|
|
62
|
+
"@aws-sdk/s3-request-presigner": "^3.744.0",
|
|
63
|
+
"@emotion/react": "^11.10.6",
|
|
64
|
+
"@emotion/styled": "^11.10.6",
|
|
65
|
+
"@lexical/clipboard": "^0.24.0",
|
|
66
|
+
"@lexical/code": "^0.24.0",
|
|
67
|
+
"@lexical/dragon": "^0.24.0",
|
|
68
|
+
"@lexical/history": "^0.24.0",
|
|
69
|
+
"@lexical/html": "^0.24.0",
|
|
70
|
+
"@lexical/link": "^0.24.0",
|
|
71
|
+
"@lexical/list": "^0.24.0",
|
|
72
|
+
"@lexical/markdown": "0.24.0",
|
|
73
|
+
"@lexical/react": "^0.24.0",
|
|
74
|
+
"@lexical/rich-text": "^0.24.0",
|
|
75
|
+
"@lexical/selection": "^0.24.0",
|
|
76
|
+
"@lexical/table": "^0.24.0",
|
|
77
|
+
"@lexical/text": "^0.24.0",
|
|
78
|
+
"@lexical/utils": "^0.24.0",
|
|
79
|
+
"@mui/icons-material": "^5.11.9",
|
|
80
|
+
"@mui/material": "^5.11.9",
|
|
81
|
+
"@mui/styles": "^5.11.9",
|
|
82
|
+
"@radix-ui/react-avatar": "^1.1.3",
|
|
83
|
+
"@radix-ui/react-checkbox": "^1.1.4",
|
|
84
|
+
"@radix-ui/react-dialog": "^1.1.6",
|
|
85
|
+
"@radix-ui/react-dropdown-menu": "^2.1.6",
|
|
86
|
+
"@radix-ui/react-label": "^2.1.2",
|
|
87
|
+
"@radix-ui/react-popover": "^1.1.13",
|
|
88
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
89
|
+
"@radix-ui/react-separator": "^1.1.2",
|
|
90
|
+
"@radix-ui/react-slot": "^1.2.2",
|
|
91
|
+
"@radix-ui/react-tabs": "^1.1.3",
|
|
92
|
+
"@radix-ui/react-tooltip": "^1.1.8",
|
|
93
|
+
"@types/react-signature-canvas": "^1.0.7",
|
|
94
|
+
"axios": "^1.8.1",
|
|
95
|
+
"class-variance-authority": "^0.7.1",
|
|
96
|
+
"classnames": "^2.3.2",
|
|
97
|
+
"clsx": "^2.1.1",
|
|
98
|
+
"emoji-picker-react": "^4.12.0",
|
|
99
|
+
"framer-motion": "^12.5.0",
|
|
100
|
+
"html2pdf.js": "^0.14.0",
|
|
101
|
+
"lexical": "^0.24.0",
|
|
102
|
+
"lexical-ai-plugin": "0.0.2-alpha",
|
|
103
|
+
"lodash-es": "^4.17.21",
|
|
104
|
+
"lucide-react": "^0.344.0",
|
|
105
|
+
"marked": "^17.0.1",
|
|
106
|
+
"prettier": "^3.5.1",
|
|
107
|
+
"react-colorful": "^5.6.1",
|
|
108
|
+
"react-router-dom": "^7.2.0",
|
|
109
|
+
"react-signature-canvas": "^1.1.0-alpha.1",
|
|
110
|
+
"sass": "^1.57.1",
|
|
111
|
+
"sonner": "^2.0.3",
|
|
112
|
+
"tailwind-merge": "^3.0.2",
|
|
113
|
+
"tailwindcss": "3",
|
|
114
|
+
"tailwindcss-animate": "^1.0.7"
|
|
115
|
+
},
|
|
116
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
117
|
+
"devDependencies": {
|
|
118
|
+
"@types/he": "^1.2.3",
|
|
119
|
+
"@types/lodash-es": "^4.17.12",
|
|
120
|
+
"@types/node": "^22.13.10",
|
|
121
|
+
"@types/react": "^18.0.26",
|
|
122
|
+
"@types/react-dom": "^18.0.9",
|
|
123
|
+
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
124
|
+
"@typescript-eslint/parser": "5.62.0",
|
|
125
|
+
"@vitejs/plugin-react-swc": "^3.11.0",
|
|
126
|
+
"autoprefixer": "^10.4.18",
|
|
127
|
+
"cross-env": "^7.0.3",
|
|
128
|
+
"eslint": "8.56.0",
|
|
129
|
+
"eslint-config-prettier": "^10.1.1",
|
|
130
|
+
"eslint-import-resolver-typescript": "^3.8.5",
|
|
131
|
+
"eslint-plugin-import": "^2.31.0",
|
|
132
|
+
"eslint-plugin-react": "^7.37.4",
|
|
133
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
134
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
135
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
136
|
+
"husky": "^9.1.7",
|
|
137
|
+
"lint-staged": "^15.4.3",
|
|
138
|
+
"postcss": "^8.4.35",
|
|
139
|
+
"react": "^18.2.0",
|
|
140
|
+
"react-dom": "^18.2.0",
|
|
141
|
+
"typescript": "^5.3.3",
|
|
142
|
+
"vite": "^5.4.21",
|
|
143
|
+
"vite-plugin-dts": "^4.5.3",
|
|
144
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
145
|
+
},
|
|
146
|
+
"lint-staged": {
|
|
147
|
+
"*.{js,jsx,ts,tsx}": [
|
|
148
|
+
"prettier --write",
|
|
149
|
+
"eslint --fix"
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
152
|
}
|