@newview/ui 1.1.37 → 1.1.38
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 +3 -0
- package/package.json +1 -1
- package/types/ComForm.d.ts +43 -1
package/README.md
CHANGED
package/package.json
CHANGED
package/types/ComForm.d.ts
CHANGED
|
@@ -1527,6 +1527,43 @@ export interface uploadFileProp{
|
|
|
1527
1527
|
*/
|
|
1528
1528
|
readonly?:Boolean
|
|
1529
1529
|
}
|
|
1530
|
+
/**
|
|
1531
|
+
* 文件列表上传参数
|
|
1532
|
+
*/
|
|
1533
|
+
export interface uploadFileListProp{
|
|
1534
|
+
/**
|
|
1535
|
+
* 是否多选
|
|
1536
|
+
*/
|
|
1537
|
+
multiple?:boolean;
|
|
1538
|
+
/**
|
|
1539
|
+
* 分组
|
|
1540
|
+
*/
|
|
1541
|
+
groups?:Array<string>
|
|
1542
|
+
/**
|
|
1543
|
+
* 是否压缩
|
|
1544
|
+
*/
|
|
1545
|
+
isCompress?:Boolean
|
|
1546
|
+
/**
|
|
1547
|
+
* 允许上传格式
|
|
1548
|
+
*/
|
|
1549
|
+
format?:Array<string>
|
|
1550
|
+
/**
|
|
1551
|
+
* 文件大小限制,单位 kb
|
|
1552
|
+
*/
|
|
1553
|
+
maxSize?:Number
|
|
1554
|
+
/**
|
|
1555
|
+
* 单文件
|
|
1556
|
+
*/
|
|
1557
|
+
single?:Boolean
|
|
1558
|
+
/**
|
|
1559
|
+
* 空文件时显示信息
|
|
1560
|
+
*/
|
|
1561
|
+
nullMsg?:String
|
|
1562
|
+
/**
|
|
1563
|
+
* 是否只读
|
|
1564
|
+
*/
|
|
1565
|
+
readonly?:Boolean
|
|
1566
|
+
}
|
|
1530
1567
|
/**
|
|
1531
1568
|
* 富文本配置
|
|
1532
1569
|
*/
|
|
@@ -1630,7 +1667,7 @@ export interface ComFormItem {
|
|
|
1630
1667
|
*/
|
|
1631
1668
|
type?: "Switch" | "Label" | "Button" | "Input" | "InputNumber" | "Select" | "Radio" | "Checkbox" |
|
|
1632
1669
|
"TreeSelect" | "City" | "AutoComplete" | "Slider" | "DatePicker" | "TimePicker" | "Cascader" |
|
|
1633
|
-
"TagSelect" | "Rate" | "ColorPicker" | "IconSelect" | "UploadFile" | 'TextEditor' | 'DicSelect' | 'Structure' | 'StructureType';
|
|
1670
|
+
"TagSelect" | "Rate" | "ColorPicker" | "IconSelect" | "UploadFile" | 'TextEditor' | 'DicSelect' | 'Structure' | 'StructureType' | "UploadFileList";
|
|
1634
1671
|
|
|
1635
1672
|
/**
|
|
1636
1673
|
* Switch 参数
|
|
@@ -1767,6 +1804,11 @@ export interface ComFormItem {
|
|
|
1767
1804
|
*/
|
|
1768
1805
|
uploadFileProp?:uploadFileProp,
|
|
1769
1806
|
|
|
1807
|
+
/**
|
|
1808
|
+
* 附件列表上传参数
|
|
1809
|
+
*/
|
|
1810
|
+
uploadFileListProp?:uploadFileListProp,
|
|
1811
|
+
|
|
1770
1812
|
/**
|
|
1771
1813
|
* 富文本参数
|
|
1772
1814
|
*/
|