vue-element-ui-x 0.1.0 → 0.1.3

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.
@@ -399,7 +399,7 @@ class XRequest {
399
399
  }
400
400
 
401
401
  /**
402
- * sendMixin - Vue2 版本
402
+ * sendMixin -
403
403
  * 用于处理发送操作管理请求状态的 mixin,支持可选的中止功能,同时支持 Promise 和 SSE(服务端事件)
404
404
  */
405
405
  const sendMixin = {
@@ -723,7 +723,7 @@ function XStream(options, signal) {
723
723
  }
724
724
 
725
725
  /**
726
- * streamMixin - Vue2 版本
726
+ * streamMixin -
727
727
  * 用于处理流式数据的 mixin,支持 SSE 数据解析和中断功能
728
728
  * @namespace streamMixin
729
729
  * @type {Object}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-element-ui-x",
3
- "version": "0.1.0",
4
- "description": "基于Element UI的企业级AI聊天组件库",
3
+ "version": "0.1.3",
4
+ "description": "基于Vue 2 + Element UIAI聊天组件库",
5
5
  "main": "lib/index.common.js",
6
6
  "module": "lib/index.esm.js",
7
7
  "files": [
@@ -10,6 +10,22 @@
10
10
  "package.json",
11
11
  "README.md"
12
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
+ ],
25
+ "bugs": {
26
+ "url": "https://github.com/worryzyy/element-ui-x/issues"
27
+ },
28
+
13
29
  "scripts": {
14
30
  "build": "npm run build:common && npm run build:esm && npm run build:umd && npm run build:components",
15
31
  "build:common": "webpack --config build/webpack.common.conf.js",
@@ -24,9 +40,10 @@
24
40
  "devDependencies": {
25
41
  "babel-loader": "^8.2.3",
26
42
  "css-loader": "^5.2.7",
27
- "sass": "^1.32.13",
28
- "sass-loader": "^10.2.0",
43
+ "node-sass": "^6.0.1",
44
+ "sass-loader": "^10.0.0",
29
45
  "style-loader": "^2.0.0",
46
+ "terser-webpack-plugin": "^4.2.3",
30
47
  "vue-loader": "^15.9.8",
31
48
  "vue-template-compiler": "^2.6.14",
32
49
  "webpack": "^4.46.0",
@@ -200,7 +200,7 @@ export class XRequest {
200
200
  }
201
201
 
202
202
  /**
203
- * sendMixin - Vue2 版本
203
+ * sendMixin -
204
204
  * 用于处理发送操作管理请求状态的 mixin,支持可选的中止功能,同时支持 Promise 和 SSE(服务端事件)
205
205
  */
206
206
  export const sendMixin = {
@@ -189,7 +189,7 @@ function XStream(options, signal) {
189
189
  }
190
190
 
191
191
  /**
192
- * streamMixin - Vue2 版本
192
+ * streamMixin -
193
193
  * 用于处理流式数据的 mixin,支持 SSE 数据解析和中断功能
194
194
  * @namespace streamMixin
195
195
  * @type {Object}