dld-vue-ui 0.0.6 → 0.0.9
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 +52 -20
- package/dist/dld-vue-ui.js +200 -1457
- package/dist/dld-vue-ui.umd.cjs +1 -3
- package/dist/packages/{component/SplitPanes → SplitPanes}/index.vue.d.ts +0 -8
- package/dist/packages/UpLoadFile/index.vue.d.ts +61 -0
- package/dist/packages/index.d.ts +3 -7
- package/dist/style.css +1 -1
- package/dist/vite-env.d.ts +11 -11
- package/package.json +54 -54
- package/dist/packages/component/Button/index.d.ts +0 -2
- package/dist/packages/component/Button/index.vue.d.ts +0 -18
- package/dist/packages/component/P/index.d.ts +0 -2
- package/dist/packages/component/P/index.vue.d.ts +0 -18
- package/dist/packages/method/DvAxios.d.ts +0 -32
- package/dist/packages/method/List.d.ts +0 -124
- /package/dist/packages/{component/SplitPanes → SplitPanes}/index.d.ts +0 -0
- /package/dist/packages/{component/SplitPanes → SplitPanes}/pane.vue.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,20 +1,52 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
# 分割面板
|
|
2
|
+
|
|
3
|
+
## Splitpanes
|
|
4
|
+
|
|
5
|
+
属性
|
|
6
|
+
|
|
7
|
+
|属性名|说明|类型|默认值|
|
|
8
|
+
|-----|----|-----|----|
|
|
9
|
+
|`horizontal`|布局方向|`bool`|`false`|
|
|
10
|
+
|`styles`|样式|`ISplitPaneStyle`|`{ width: '100%', height: '100%' }`|
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
interface ISplitPaneStyle {
|
|
14
|
+
[name: string]: string | number,
|
|
15
|
+
width: string,
|
|
16
|
+
height: string
|
|
17
|
+
}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Pane
|
|
21
|
+
|
|
22
|
+
属性
|
|
23
|
+
|
|
24
|
+
|属性名|说明|类型|默认值|
|
|
25
|
+
|-----|----|-----|----|
|
|
26
|
+
|`styles`|样式|`IPaneStyle`||
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
interface IPaneStyle {
|
|
30
|
+
[name: string]: string | number
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## UpLoadFile
|
|
35
|
+
|
|
36
|
+
属性
|
|
37
|
+
|属性名|说明|类型|默认值|
|
|
38
|
+
|-----|----|-----|----|
|
|
39
|
+
|`size`|组件大小|`small | default | large`|`default`|
|
|
40
|
+
|`name`|上传按钮名称|`string`|上传文件|
|
|
41
|
+
|`icon`|自`@element-plus/icons-vue`导入的图标|`Component`|`Upload`|
|
|
42
|
+
|`type`|选择文件和上传文件的按钮类型|`ButtonType`|`success`|
|
|
43
|
+
|
|
44
|
+
方法
|
|
45
|
+
|方法名|说明|类型|默认值|
|
|
46
|
+
|-----|----|-----|----|
|
|
47
|
+
|`upload`|上传文件方法,返回选中的File|`Function`|`(file: File): void`|
|
|
48
|
+
|
|
49
|
+
暴露变量
|
|
50
|
+
|变量名|说明|类型|默认值|
|
|
51
|
+
|-----|----|-----|----|
|
|
52
|
+
|`Clear`|清空选中文件|`Function`||
|