@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 CHANGED
@@ -1,3 +1,9 @@
1
+ ### 1.1.39
2
+ 1、UploadFileList 新增分页控制
3
+
4
+ ### 1.1.37
5
+ 1、form组件新增type --- UploadFileList
6
+
1
7
  ### 1.1.37
2
8
 
3
9
  1、安防平台播放改变窗口大小传入方法
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newview/ui",
3
- "version": "1.1.37",
3
+ "version": "1.1.39",
4
4
  "author": "newview",
5
5
  "type": "module",
6
6
  "main": "./dist/newview-ui.umd.cjs",
@@ -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
  */