vue-element-ui-x 1.1.1 → 1.2.0-beta.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.
Files changed (46) hide show
  1. package/README.md +140 -140
  2. package/components.json +12 -12
  3. package/lib/components/Attachments/index.js +254 -280
  4. package/lib/components/Bubble/index.js +7392 -7383
  5. package/lib/components/BubbleList/index.js +7731 -7724
  6. package/lib/components/Conversations/index.js +108 -134
  7. package/lib/components/EditorSender/index.js +57 -61
  8. package/lib/components/FilesCard/index.js +150 -164
  9. package/lib/components/Prompts/index.js +55 -61
  10. package/lib/components/Sender/index.js +85 -91
  11. package/lib/components/Thinking/index.js +47 -57
  12. package/lib/components/ThoughtChain/index.js +20715 -20708
  13. package/lib/components/Typewriter/index.js +58 -49
  14. package/lib/components/Welcome/index.js +39 -43
  15. package/lib/index.common.js +1 -1
  16. package/lib/index.esm.js +1 -1
  17. package/lib/index.js +28385 -28462
  18. package/lib/index.umd.js +1 -1
  19. package/lib/locale/index.js +97 -97
  20. package/lib/locale/lang/ar.js +18 -18
  21. package/lib/locale/lang/ar.umd.js +17 -17
  22. package/lib/locale/lang/de.js +18 -18
  23. package/lib/locale/lang/de.umd.js +17 -17
  24. package/lib/locale/lang/en.js +18 -18
  25. package/lib/locale/lang/en.umd.js +17 -17
  26. package/lib/locale/lang/es.js +18 -18
  27. package/lib/locale/lang/es.umd.js +17 -17
  28. package/lib/locale/lang/fr.js +18 -18
  29. package/lib/locale/lang/fr.umd.js +17 -17
  30. package/lib/locale/lang/it.js +18 -18
  31. package/lib/locale/lang/it.umd.js +17 -17
  32. package/lib/locale/lang/ja.js +18 -18
  33. package/lib/locale/lang/ja.umd.js +17 -17
  34. package/lib/locale/lang/ko.js +18 -18
  35. package/lib/locale/lang/ko.umd.js +17 -17
  36. package/lib/locale/lang/pt-br.js +18 -18
  37. package/lib/locale/lang/pt-br.umd.js +17 -17
  38. package/lib/locale/lang/ru-RU.js +18 -18
  39. package/lib/locale/lang/ru-RU.umd.js +17 -17
  40. package/lib/locale/lang/zh-CN.js +18 -18
  41. package/lib/locale/lang/zh-CN.umd.js +17 -17
  42. package/lib/locale/lang/zh-TW.js +18 -18
  43. package/lib/locale/lang/zh-TW.umd.js +17 -17
  44. package/lib/locale/mixin.js +9 -9
  45. package/lib/mixins/index.js +250 -250
  46. package/package.json +77 -77
package/package.json CHANGED
@@ -1,77 +1,77 @@
1
- {
2
- "name": "vue-element-ui-x",
3
- "version": "1.1.1",
4
- "description": "基于Vue 2 + Element UI的AI聊天组件库",
5
- "module": "lib/index.esm.js",
6
- "main": "lib/index.common.js",
7
- "files": [
8
- "lib",
9
- "components.json",
10
- "package.json",
11
- "README.md"
12
- ],
13
- "author": "worryzyy",
14
- "license": "MIT",
15
- "homepage": "https://element-ui-x.com",
16
- "repository": {
17
- "type": "git",
18
- "url": "https://github.com/worryzyy/element-ui-x.git"
19
- },
20
- "keywords": [
21
- "element-ui",
22
- "vue",
23
- "ai",
24
- "i18n"
25
- ],
26
- "sideEffects": [
27
- "*.scss",
28
- "*.css",
29
- "src/styles/**",
30
- "src/locale/**",
31
- "**/*.vue"
32
- ],
33
- "bugs": {
34
- "url": "https://github.com/worryzyy/element-ui-x/issues"
35
- },
36
- "scripts": {
37
- "build": "npm run update:plugin && npm run build:common && npm run build:esm && npm run build:umd && npm run build:components && npm run build:locale",
38
- "build:common": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import webpack --config build/webpack.common.conf.js",
39
- "build:esm": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import webpack --config build/webpack.esm.conf.js",
40
- "build:umd": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import webpack --config build/webpack.umd.conf.js",
41
- "build:components": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import node build/build-components.js",
42
- "build:locale": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import node build/build-locale.js",
43
- "build:lib": "npm run build",
44
- "publish:lib": "npm publish",
45
- "update:plugin": "npm i --save chatarea@latest"
46
- },
47
- "peerDependencies": {
48
- "element-ui": "^2.14.1",
49
- "vue": "^2.6.14"
50
- },
51
- "devDependencies": {
52
- "@babel/core": "^7.16.0",
53
- "@babel/plugin-transform-arrow-functions": "^7.16.0",
54
- "@babel/plugin-transform-block-scoping": "^7.16.0",
55
- "@babel/preset-env": "^7.16.0",
56
- "babel-loader": "^8.2.3",
57
- "cross-env": "^7.0.3",
58
- "css-loader": "^5.2.7",
59
- "mini-css-extract-plugin": "^2.9.2",
60
- "sass": "^1.32.13",
61
- "sass-loader": "^10.0.0",
62
- "style-loader": "^2.0.0",
63
- "terser-webpack-plugin": "^5.3.14",
64
- "vue-loader": "^15.9.8",
65
- "vue-template-compiler": "^2.6.14",
66
- "webpack": "^5.100.2",
67
- "webpack-cli": "^5.1.4",
68
- "webpack-merge": "^5.10.0"
69
- },
70
- "dependencies": {
71
- "chatarea": "^6.0.3",
72
- "dompurify": "^3.2.5",
73
- "lodash": "^4.17.21",
74
- "markdown-it": "^12.3.2",
75
- "prismjs": "^1.30.0"
76
- }
77
- }
1
+ {
2
+ "name": "vue-element-ui-x",
3
+ "version": "1.2.0-beta.0",
4
+ "description": "基于Vue 2 + Element UI的AI聊天组件库",
5
+ "module": "lib/index.esm.js",
6
+ "main": "lib/index.common.js",
7
+ "files": [
8
+ "lib",
9
+ "components.json",
10
+ "package.json",
11
+ "README.md"
12
+ ],
13
+ "author": "worryzyy",
14
+ "license": "MIT",
15
+ "homepage": "https://element-ui-x.com",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/worryzyy/element-ui-x.git"
19
+ },
20
+ "keywords": [
21
+ "element-ui",
22
+ "vue",
23
+ "ai",
24
+ "i18n"
25
+ ],
26
+ "sideEffects": [
27
+ "*.scss",
28
+ "*.css",
29
+ "src/styles/**",
30
+ "src/locale/**",
31
+ "**/*.vue"
32
+ ],
33
+ "bugs": {
34
+ "url": "https://github.com/worryzyy/element-ui-x/issues"
35
+ },
36
+ "scripts": {
37
+ "build": "npm run update:plugin && npm run build:common && npm run build:esm && npm run build:umd && npm run build:components && npm run build:locale",
38
+ "build:common": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import webpack --config build/webpack.common.conf.js",
39
+ "build:esm": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import webpack --config build/webpack.esm.conf.js",
40
+ "build:umd": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import webpack --config build/webpack.umd.conf.js",
41
+ "build:components": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import node build/build-components.js",
42
+ "build:locale": "cross-env SASS_SILENCE_DEPRECATIONS=legacy-js-api,import node build/build-locale.js",
43
+ "build:lib": "npm run build",
44
+ "publish:lib": "npm publish",
45
+ "update:plugin": "npm i --save chatarea@latest"
46
+ },
47
+ "peerDependencies": {
48
+ "element-ui": "^2.14.1",
49
+ "vue": "^2.6.14"
50
+ },
51
+ "devDependencies": {
52
+ "@babel/core": "^7.16.0",
53
+ "@babel/plugin-transform-arrow-functions": "^7.16.0",
54
+ "@babel/plugin-transform-block-scoping": "^7.16.0",
55
+ "@babel/preset-env": "^7.16.0",
56
+ "babel-loader": "^8.2.3",
57
+ "cross-env": "^7.0.3",
58
+ "css-loader": "^5.2.7",
59
+ "mini-css-extract-plugin": "^2.9.2",
60
+ "sass": "^1.32.13",
61
+ "sass-loader": "^10.0.0",
62
+ "style-loader": "^2.0.0",
63
+ "terser-webpack-plugin": "^5.3.14",
64
+ "vue-loader": "^15.9.8",
65
+ "vue-template-compiler": "^2.6.14",
66
+ "webpack": "^5.100.2",
67
+ "webpack-cli": "^5.1.4",
68
+ "webpack-merge": "^5.10.0"
69
+ },
70
+ "dependencies": {
71
+ "chatarea": "^6.0.6",
72
+ "dompurify": "^3.2.5",
73
+ "lodash": "^4.17.21",
74
+ "markdown-it": "^12.3.2",
75
+ "prismjs": "^1.30.0"
76
+ }
77
+ }