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