@10yun/cv-pc-ui 0.1.70 → 0.2.2

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.
Binary file
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@10yun/cv-pc-ui",
3
- "version": "0.1.70",
3
+ "version": "0.2.2",
4
4
  "description": "cvjs-pc-ui组件",
5
- "author": "ctocode",
5
+ "author": "10yun",
6
6
  "private": false,
7
- "license": "ISC",
7
+ "license": "Apache-2.0",
8
8
  "main": "lib/cv-pc-ui.umd.min.js",
9
9
  "files": [
10
10
  "lib",
@@ -27,21 +27,21 @@
27
27
  "build-lib": "vue-cli-service build --target lib --name cv-pc-ui --dest ./lib/ ./src/index.js --no-clean "
28
28
  },
29
29
  "dependencies": {
30
- "async-validator": "^3.5.1",
31
- "axios": "^0.21.1",
32
- "core-js": "^3.15.1",
33
- "element-ui": "^2.15.2",
30
+ "async-validator": "^4.0.7",
31
+ "axios": "^0.24.0",
32
+ "core-js": "^3.19.2",
33
+ "element-ui": "^2.15.6",
34
34
  "vue": "^2.6.14",
35
- "vue-router": "^3.5.2"
35
+ "vue-router": "^3.5.3"
36
36
  },
37
37
  "devDependencies": {
38
- "@vue/cli-plugin-babel": "~4.5.13",
39
- "@vue/cli-plugin-eslint": "~4.5.13",
40
- "@vue/cli-service": "~4.5.13",
38
+ "@vue/cli-plugin-babel": "~4.5.15",
39
+ "@vue/cli-plugin-eslint": "~4.5.15",
40
+ "@vue/cli-service": "~4.5.15",
41
41
  "babel-eslint": "^10.1.0",
42
42
  "babel-plugin-transform-remove-console": "^6.9.4",
43
- "eslint": "^7.29.0",
44
- "eslint-plugin-vue": "^7.11.1",
43
+ "eslint": "^8.3.0",
44
+ "eslint-plugin-vue": "^8.1.1",
45
45
  "vue-template-compiler": "^2.6.14"
46
46
  }
47
47
  }
@@ -107,7 +107,7 @@ class RequestClass {
107
107
  this.storeHandle = options.storeHandle || null;
108
108
  this.storageHandle = options.storageHandle || null;
109
109
  this.jumpHandle = options.jumpHandle || null;
110
- /* 新创建 axios 实例配置 */
110
+
111
111
  this.flagMap = options.flagMap || {};
112
112
  this.baseURL = options.baseURL || '';
113
113
  this.requests = Object.assign({}, {
@@ -115,6 +115,8 @@ class RequestClass {
115
115
  this.headers = Object.assign({}, {
116
116
  }, (options.headers || {}));
117
117
 
118
+
119
+ /* 新创建 axios 实例配置 */
118
120
  this.creSett = Object.assign({}, {
119
121
  timeout: 5000, // request timeout
120
122
  // 表示跨域请求时是否需要使用凭证;
@@ -1,5 +1,7 @@
1
+ import { Cascader } from "element-ui";
1
2
  export default {
2
3
  props: {
4
+ ...Cascader.props,
3
5
  value: {
4
6
  type: [String, Array, Number],
5
7
  default() {
@@ -19,11 +21,6 @@ export default {
19
21
  return []
20
22
  }
21
23
  },
22
- // 选择器前面的文本
23
- label: {
24
- type: [String, Number],
25
- default: "请选择"
26
- },
27
24
  disabled: {
28
25
  type: Boolean,
29
26
  default: false
@@ -36,7 +33,6 @@ export default {
36
33
  type: String,
37
34
  default: "small"
38
35
  },
39
-
40
36
  // 输入框中是否显示选中值的完整路径
41
37
  showAllLevels: {
42
38
  type: Boolean,
@@ -47,8 +43,6 @@ export default {
47
43
  type: Boolean,
48
44
  default: true
49
45
  },
50
-
51
-
52
46
  // 以下参数是通过给组件绑定 props 属性传入 element-ui (props接收一个对象)
53
47
  // 数据字段配置
54
48
  dataField: {
@@ -1,5 +1,7 @@
1
+ import { Checkbox } from "element-ui";
1
2
  export default {
2
3
  props: {
4
+ ...Checkbox.props,
3
5
  value: {
4
6
  type: [Array],
5
7
  default() {
@@ -1,5 +1,7 @@
1
+ import { Input } from "element-ui";
1
2
  export default {
2
3
  props: {
4
+ ...Input.props,
3
5
  // 提示文本
4
6
  value: {
5
7
  type: [Number, String],
@@ -1,5 +1,7 @@
1
+ import { Radio } from "element-ui";
1
2
  export default {
2
3
  props: {
4
+ ...Radio.props,
3
5
  value: {
4
6
  default: "",
5
7
  },
@@ -1,5 +1,7 @@
1
+ import { Select } from "element-ui";
1
2
  export default {
2
3
  props: {
4
+ ...Select.props,
3
5
  value: {
4
6
  type: [String, Array, Number],
5
7
  default() {
@@ -1,5 +1,7 @@
1
+ import { TimePicker } from "element-ui";
1
2
  export default {
2
3
  props: {
4
+ ...TimePicker.props,
3
5
  value: {
4
6
  type: [String, Array, Number, Object, Date],
5
7
  default: null
@@ -8,10 +10,6 @@ export default {
8
10
  type: Boolean,
9
11
  default: false
10
12
  },
11
- label: {
12
- type: [String, Number],
13
- default: ""
14
- },
15
13
  size: {
16
14
  type: String,
17
15
  default: "small"
@@ -40,8 +40,6 @@ export default {
40
40
  // type: [String],
41
41
  // default: "file"
42
42
  // },
43
-
44
-
45
43
  valInit: {
46
44
  type: [String, Array],
47
45
  default: () => { return "" }
@@ -52,7 +50,7 @@ export default {
52
50
  default: false
53
51
  },
54
52
  // 支持发送 cookie 凭证信息 (同官网) withCredentials
55
- upCookie: {
53
+ withCredentials: {
56
54
  type: Boolean,
57
55
  default: false
58
56
  },