dld-vue-ui 0.2.1 → 0.3.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/README.md +23 -3
- package/dist/dld-vue-ui.js +352 -251
- package/dist/dld-vue-ui.umd.cjs +1 -1
- package/dist/packages/UpLoadFile/index.vue.d.ts +11 -0
- package/dist/packages/UpLoadFiles/index.vue.d.ts +51 -0
- package/dist/packages/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ interface IPaneStyle {
|
|
|
52
52
|
|`aside`|侧边栏|
|
|
53
53
|
|`header`|头部|
|
|
54
54
|
|
|
55
|
-
## UpLoadFile
|
|
55
|
+
## UpLoadFile单文件上传
|
|
56
56
|
|
|
57
57
|
### 属性
|
|
58
58
|
|
|
@@ -62,6 +62,7 @@ interface IPaneStyle {
|
|
|
62
62
|
|`name`|上传按钮名称|`string`|上传文件|
|
|
63
63
|
|`icon`|自`@element-plus/icons-vue`导入的图标|`Component`|`Upload`|
|
|
64
64
|
|`type`|选择文件和上传文件的按钮类型|`ButtonType`|`success`|
|
|
65
|
+
|`accept`|选择文件的类型|string|`*`|
|
|
65
66
|
|
|
66
67
|
### 方法
|
|
67
68
|
|
|
@@ -75,6 +76,21 @@ interface IPaneStyle {
|
|
|
75
76
|
|-----|----|-----|----|
|
|
76
77
|
|`Clear`|清空选中文件|`Function`||
|
|
77
78
|
|
|
79
|
+
## UpLoadFile多文件上传
|
|
80
|
+
|
|
81
|
+
### 属性
|
|
82
|
+
|
|
83
|
+
|属性名|说明|类型|默认值|
|
|
84
|
+
|-----|----|-----|----|
|
|
85
|
+
|`size`|组件大小|`'small' \| 'default' \| 'large'`|`default`|
|
|
86
|
+
|`accept`|选择文件的类型|string|`*`|
|
|
87
|
+
|
|
88
|
+
### 方法
|
|
89
|
+
|
|
90
|
+
|方法名|说明|类型|默认值|
|
|
91
|
+
|-----|----|-----|----|
|
|
92
|
+
|`upload`|上传文件方法,返回选中的File|`Function`|`(files: File[]): void`|
|
|
93
|
+
|
|
78
94
|
## TableForm表单表格
|
|
79
95
|
|
|
80
96
|
### 属性
|
|
@@ -152,8 +168,12 @@ interface IPaneStyle {
|
|
|
152
168
|
|-----|----|
|
|
153
169
|
|`header`|表格上方的内容|
|
|
154
170
|
|`expand`|展开的内容,`row`参数携带行数据|
|
|
155
|
-
|`operate
|
|
156
|
-
|`
|
|
171
|
+
|`operate-front`|操作列头的自定义内容,位置在搜索、清空之前|
|
|
172
|
+
|`operate-middle`|操作列头的自定义内容,位置在搜索之后、清空之前|
|
|
173
|
+
|`operate`|操作列头的自定义内容,位置在搜索、清空之后|
|
|
174
|
+
|`row-operate-front`|操作列的自定义内容,位置在修改、删除之前,`row`参数携带行数据|
|
|
175
|
+
|`row-operate-middle`|操作列的自定义内容,位置在修改之后、删除之前,`row`参数携带行数据|
|
|
176
|
+
|`row-operate`|操作列的自定义内容,位置在修改、删除之后,`row`参数携带行数据|
|
|
157
177
|
|
|
158
178
|
### 可导入的类型
|
|
159
179
|
|