@naersen/tts-rich-text 0.8.2 → 0.9.0
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/CHANGELOG.md +27 -0
- package/README.md +39 -2
- package/dist/base.css +1 -1
- package/dist/components/tts-editor-root/index.vue.d.ts +44 -0
- package/dist/components/tts-rich-text/components/editor-context-menu.vue.d.ts +30 -0
- package/dist/components/tts-rich-text/components/editor-tool-button.vue.d.ts +11 -0
- package/dist/components/tts-rich-text/components/toolbar-popovers/lock-tip.vue.d.ts +9 -0
- package/dist/components/tts-rich-text/components/toolbar-popovers/stop-popover.vue.d.ts +1 -0
- package/dist/components/tts-rich-text/components/type/index.d.ts +2 -0
- package/dist/components/tts-rich-text/editor/index.d.ts +2 -0
- package/dist/components/tts-rich-text/editor/type.d.ts +37 -0
- package/dist/components/tts-rich-text/editor/useEditorToolbar.d.ts +1 -1
- package/dist/components/tts-rich-text/editor/useEditorToolkit.d.ts +115 -0
- package/dist/components/tts-rich-text/editor/useOverflowToolbar.d.ts +2 -0
- package/dist/components/tts-rich-text/editor/useRichTextEditor.d.ts +89 -0
- package/dist/components/tts-rich-text/index.d.ts +1 -0
- package/dist/components/tts-rich-text-editor/index.vue.d.ts +150 -2
- package/dist/core/config.d.ts +24 -0
- package/dist/core.js +189 -214
- package/dist/editor/index.d.ts +3 -0
- package/dist/index.js +4578 -4136
- package/package.json +89 -84
package/package.json
CHANGED
|
@@ -1,85 +1,90 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
2
|
+
"name": "@naersen/tts-rich-text",
|
|
3
|
+
"version": "0.9.0",
|
|
4
|
+
"description": "Reusable Vue 3 rich-text editor for TTS workflows",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"CHANGELOG.md"
|
|
9
|
+
],
|
|
10
|
+
"main": "./dist/index.js",
|
|
11
|
+
"module": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./core": {
|
|
19
|
+
"types": "./dist/core/index.d.ts",
|
|
20
|
+
"import": "./dist/core.js"
|
|
21
|
+
},
|
|
22
|
+
"./base.css": "./dist/base.css",
|
|
23
|
+
"./theme-default.css": "./dist/theme-default.css",
|
|
24
|
+
"./styles.css": "./dist/style.css"
|
|
25
|
+
},
|
|
26
|
+
"sideEffects": [
|
|
27
|
+
"**/*.css",
|
|
28
|
+
"**/*.less"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"dev": "vite",
|
|
32
|
+
"typecheck": "vue-tsc --noEmit -p tsconfig.app.json",
|
|
33
|
+
"format": "prettier --write .",
|
|
34
|
+
"format:check": "prettier --check .",
|
|
35
|
+
"test": "vitest run",
|
|
36
|
+
"test:e2e": "playwright test",
|
|
37
|
+
"test:watch": "vitest",
|
|
38
|
+
"build": "pnpm run typecheck && pnpm run test && vite build && vite build --config vite.theme.config.ts",
|
|
39
|
+
"prepublishOnly": "pnpm run build",
|
|
40
|
+
"preview": "vite preview"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"vue",
|
|
44
|
+
"tiptap",
|
|
45
|
+
"tts",
|
|
46
|
+
"rich-text-editor"
|
|
47
|
+
],
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"packageManager": "pnpm@10.30.3",
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"@tiptap/core": "^3.23.6",
|
|
52
|
+
"@tiptap/extensions": "^3.23.6",
|
|
53
|
+
"@tiptap/pm": "^3.23.6",
|
|
54
|
+
"@tiptap/starter-kit": "^3.23.6",
|
|
55
|
+
"@tiptap/vue-3": "^3.23.6",
|
|
56
|
+
"element-plus": "^2.13.7",
|
|
57
|
+
"vue": "^3.4.0"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@vueuse/core": "^11.0.3",
|
|
61
|
+
"dayjs": "^1.11.13",
|
|
62
|
+
"lodash-es": "^4.17.21",
|
|
63
|
+
"nanoid": "^5.0.9",
|
|
64
|
+
"pinyin-pro": "^3.28.1"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@playwright/test": "^1.62.0",
|
|
68
|
+
"@tiptap/core": "^3.23.6",
|
|
69
|
+
"@tiptap/extensions": "^3.23.6",
|
|
70
|
+
"@tiptap/pm": "^3.23.6",
|
|
71
|
+
"@tiptap/starter-kit": "^3.23.6",
|
|
72
|
+
"@tiptap/vue-3": "^3.23.6",
|
|
73
|
+
"@types/lodash-es": "^4.17.12",
|
|
74
|
+
"@types/node": "^22.10.2",
|
|
75
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
76
|
+
"element-plus": "2.13.7",
|
|
77
|
+
"less": "^4.2.1",
|
|
78
|
+
"prettier": "^3.9.9",
|
|
79
|
+
"typescript": "^5.7.2",
|
|
80
|
+
"vite": "^5.4.11",
|
|
81
|
+
"vite-plugin-dts": "^4.3.0",
|
|
82
|
+
"vitest": "^2.1.8",
|
|
83
|
+
"vue": "^3.5.13",
|
|
84
|
+
"vue-tsc": "^2.2.0"
|
|
85
|
+
},
|
|
86
|
+
"publishConfig": {
|
|
87
|
+
"access": "public",
|
|
88
|
+
"registry": "https://registry.npmjs.org/"
|
|
89
|
+
}
|
|
90
|
+
}
|