@newview/file-ui 1.1.48 → 1.1.50
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 +2 -2
- package/dist/file-ui.js +4 -3
- package/dist/file-ui.umd.cjs +1 -1
- package/package.json +1 -1
- package/types/ComFormUp.d.ts +93 -89
package/package.json
CHANGED
package/types/ComFormUp.d.ts
CHANGED
|
@@ -25,26 +25,26 @@ export interface IconSelectProp {
|
|
|
25
25
|
onChange?: (event?: any, item?: ComFormItem) => any;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export interface mileProp{
|
|
28
|
+
export interface mileProp {
|
|
29
29
|
/**
|
|
30
30
|
* 是否只读
|
|
31
31
|
*/
|
|
32
|
-
readonly?:Boolean
|
|
33
|
-
|
|
32
|
+
readonly?: Boolean
|
|
33
|
+
|
|
34
34
|
/**
|
|
35
35
|
* 桩号显示前缀 K、ZK、YK
|
|
36
36
|
*/
|
|
37
|
-
prefix?:String
|
|
37
|
+
prefix?: String
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* 占位文本
|
|
41
41
|
*/
|
|
42
42
|
placeholder?: string;
|
|
43
|
-
|
|
43
|
+
|
|
44
44
|
/**
|
|
45
45
|
* 桩号发生改变时触发
|
|
46
46
|
*/
|
|
47
|
-
onChange?: (param:{number:string,mile:string}) => any;
|
|
47
|
+
onChange?: (param: { number: string, mile: string }) => any;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* 数据转换参数
|
|
@@ -324,10 +324,10 @@ export interface InputProp {
|
|
|
324
324
|
*/
|
|
325
325
|
onEnter?: (event?: any, item?: ComFormItem) => any;
|
|
326
326
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
/**
|
|
328
|
+
* append点击事件
|
|
329
|
+
*/
|
|
330
|
+
onTextClick?: (event?: any, item?: ComFormItem) => any;
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
333
|
* 设置 icon 属性后,点击图标时触发
|
|
@@ -1504,92 +1504,92 @@ export interface ColorPickerProp {
|
|
|
1504
1504
|
/**
|
|
1505
1505
|
* 文件上传参数
|
|
1506
1506
|
*/
|
|
1507
|
-
export interface uploadFileProp{
|
|
1507
|
+
export interface uploadFileProp {
|
|
1508
1508
|
/**
|
|
1509
1509
|
* 是否多选
|
|
1510
1510
|
*/
|
|
1511
|
-
multiple?:boolean;
|
|
1511
|
+
multiple?: boolean;
|
|
1512
1512
|
/**
|
|
1513
1513
|
* 分组
|
|
1514
1514
|
*/
|
|
1515
|
-
groups?:Array<string>
|
|
1515
|
+
groups?: Array<string>
|
|
1516
1516
|
/**
|
|
1517
1517
|
* 是否压缩
|
|
1518
1518
|
*/
|
|
1519
|
-
isCompress?:Boolean
|
|
1519
|
+
isCompress?: Boolean
|
|
1520
1520
|
/**
|
|
1521
1521
|
* 允许上传格式
|
|
1522
1522
|
*/
|
|
1523
|
-
format?:Array<string>
|
|
1523
|
+
format?: Array<string>
|
|
1524
1524
|
/**
|
|
1525
1525
|
* 文件大小限制,单位 kb
|
|
1526
1526
|
*/
|
|
1527
|
-
maxSize?:Number
|
|
1527
|
+
maxSize?: Number
|
|
1528
1528
|
/**
|
|
1529
1529
|
* 单文件
|
|
1530
1530
|
*/
|
|
1531
|
-
single?:Boolean
|
|
1531
|
+
single?: Boolean
|
|
1532
1532
|
/**
|
|
1533
1533
|
* 空文件时显示信息
|
|
1534
1534
|
*/
|
|
1535
|
-
nullMsg?:String
|
|
1535
|
+
nullMsg?: String
|
|
1536
1536
|
/**
|
|
1537
1537
|
* 是否只读
|
|
1538
1538
|
*/
|
|
1539
|
-
readonly?:Boolean
|
|
1539
|
+
readonly?: Boolean
|
|
1540
1540
|
|
|
1541
1541
|
/** 限制附件上传的数量 */
|
|
1542
|
-
uploadQuantity?:Number
|
|
1542
|
+
uploadQuantity?: Number
|
|
1543
1543
|
|
|
1544
1544
|
/** 是否显示文件名称 */
|
|
1545
|
-
isShowFileName?:Boolean
|
|
1546
|
-
|
|
1545
|
+
isShowFileName?: Boolean
|
|
1546
|
+
|
|
1547
1547
|
}
|
|
1548
1548
|
/**
|
|
1549
1549
|
* 文件列表上传参数
|
|
1550
1550
|
*/
|
|
1551
|
-
export interface uploadFileListProp{
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1551
|
+
export interface uploadFileListProp {
|
|
1552
|
+
/** 是否开启分页 */
|
|
1553
|
+
isOpenPagination?: boolean;
|
|
1554
|
+
/** 分页的条数 */
|
|
1555
|
+
pageSize?: Number;
|
|
1556
|
+
/**
|
|
1557
|
+
* 是否多选
|
|
1558
|
+
*/
|
|
1559
|
+
multiple?: boolean;
|
|
1560
|
+
/**
|
|
1561
|
+
* 分组
|
|
1562
|
+
*/
|
|
1563
|
+
groups?: Array<string>
|
|
1564
|
+
/**
|
|
1565
|
+
* 是否压缩
|
|
1566
|
+
*/
|
|
1567
|
+
isCompress?: Boolean
|
|
1568
|
+
/**
|
|
1569
|
+
* 允许上传格式
|
|
1570
|
+
*/
|
|
1571
|
+
format?: Array<string>
|
|
1572
|
+
/**
|
|
1573
|
+
* 文件大小限制,单位 kb
|
|
1574
|
+
*/
|
|
1575
|
+
maxSize?: Number
|
|
1576
|
+
/**
|
|
1577
|
+
* 单文件
|
|
1578
|
+
*/
|
|
1579
|
+
single?: Boolean
|
|
1580
|
+
/**
|
|
1581
|
+
* 空文件时显示信息
|
|
1582
|
+
*/
|
|
1583
|
+
nullMsg?: String
|
|
1584
|
+
/**
|
|
1585
|
+
* 是否只读
|
|
1586
|
+
*/
|
|
1587
|
+
readonly?: Boolean
|
|
1588
1588
|
}
|
|
1589
1589
|
/**
|
|
1590
1590
|
* 富文本配置
|
|
1591
1591
|
*/
|
|
1592
|
-
export interface textEditorProp{
|
|
1592
|
+
export interface textEditorProp {
|
|
1593
1593
|
/**
|
|
1594
1594
|
* 文本高度
|
|
1595
1595
|
*/
|
|
@@ -1601,39 +1601,39 @@ export interface textEditorProp{
|
|
|
1601
1601
|
/**
|
|
1602
1602
|
* 是否只读
|
|
1603
1603
|
*/
|
|
1604
|
-
readonly?:Boolean
|
|
1604
|
+
readonly?: Boolean
|
|
1605
1605
|
}
|
|
1606
1606
|
|
|
1607
1607
|
/**
|
|
1608
1608
|
* 字典项配置
|
|
1609
1609
|
*/
|
|
1610
|
-
export interface dicSelProp{
|
|
1610
|
+
export interface dicSelProp {
|
|
1611
1611
|
/**
|
|
1612
1612
|
* 是否只读
|
|
1613
1613
|
*/
|
|
1614
|
-
readonly?:Boolean
|
|
1614
|
+
readonly?: Boolean
|
|
1615
1615
|
/**
|
|
1616
1616
|
* 字典code
|
|
1617
1617
|
*/
|
|
1618
|
-
code?:String
|
|
1618
|
+
code?: String
|
|
1619
1619
|
/**
|
|
1620
1620
|
* 平台Id
|
|
1621
1621
|
*/
|
|
1622
|
-
platformId?:Number
|
|
1622
|
+
platformId?: Number
|
|
1623
1623
|
}
|
|
1624
1624
|
|
|
1625
1625
|
/**
|
|
1626
1626
|
* 构件类别选择参数
|
|
1627
1627
|
*/
|
|
1628
|
-
export interface structureTypeProp{
|
|
1628
|
+
export interface structureTypeProp {
|
|
1629
1629
|
/**
|
|
1630
1630
|
* 是否只读
|
|
1631
1631
|
*/
|
|
1632
|
-
readonly?:Boolean
|
|
1632
|
+
readonly?: Boolean
|
|
1633
1633
|
/**
|
|
1634
1634
|
* 是否多选
|
|
1635
1635
|
*/
|
|
1636
|
-
multiple?:boolean;
|
|
1636
|
+
multiple?: boolean;
|
|
1637
1637
|
|
|
1638
1638
|
}
|
|
1639
1639
|
|
|
@@ -1644,27 +1644,27 @@ type StructureInstanceSelType = 1 | 2
|
|
|
1644
1644
|
/**
|
|
1645
1645
|
* 构件选择参数
|
|
1646
1646
|
*/
|
|
1647
|
-
export interface structureProp{
|
|
1647
|
+
export interface structureProp {
|
|
1648
1648
|
/**
|
|
1649
1649
|
* 是否只读
|
|
1650
1650
|
*/
|
|
1651
|
-
readonly?:Boolean
|
|
1651
|
+
readonly?: Boolean
|
|
1652
1652
|
/**
|
|
1653
1653
|
* 是否多选
|
|
1654
1654
|
*/
|
|
1655
|
-
multiple?:boolean;
|
|
1655
|
+
multiple?: boolean;
|
|
1656
1656
|
/**
|
|
1657
1657
|
* 构件选择类别 1:单位工程 2:构件
|
|
1658
1658
|
*/
|
|
1659
|
-
selType?:StructureInstanceSelType;
|
|
1659
|
+
selType?: StructureInstanceSelType;
|
|
1660
1660
|
/**
|
|
1661
1661
|
* 创建机构Id(传入则只查该机构划分的构件)
|
|
1662
1662
|
*/
|
|
1663
|
-
businessId?:Number | Array<number>;
|
|
1663
|
+
businessId?: Number | Array<number>;
|
|
1664
1664
|
/**
|
|
1665
1665
|
* 构件选择改变
|
|
1666
1666
|
*/
|
|
1667
|
-
onChange?: (Ids:any,data:any) => any;
|
|
1667
|
+
onChange?: (Ids: any, data: any) => any;
|
|
1668
1668
|
|
|
1669
1669
|
}
|
|
1670
1670
|
|
|
@@ -1672,31 +1672,35 @@ export interface structureProp{
|
|
|
1672
1672
|
* 签字类型 0:签字 1:盖章
|
|
1673
1673
|
*/
|
|
1674
1674
|
type signType = 0 | 1
|
|
1675
|
-
export interface signProp{
|
|
1675
|
+
export interface signProp {
|
|
1676
1676
|
/**
|
|
1677
1677
|
* 是否只读
|
|
1678
1678
|
*/
|
|
1679
|
-
readonly?:Boolean
|
|
1679
|
+
readonly?: Boolean
|
|
1680
1680
|
/**
|
|
1681
1681
|
* 验章内容
|
|
1682
1682
|
*/
|
|
1683
|
-
signContent?:string;
|
|
1683
|
+
signContent?: string;
|
|
1684
1684
|
/**
|
|
1685
1685
|
* 签字类型 0:签字 1:盖章
|
|
1686
1686
|
*/
|
|
1687
|
-
signType?:signType;
|
|
1687
|
+
signType?: signType;
|
|
1688
1688
|
/**
|
|
1689
1689
|
* 是否使用假验章
|
|
1690
1690
|
*/
|
|
1691
|
-
isFakeVerifySign?:Boolean;
|
|
1691
|
+
isFakeVerifySign?: Boolean;
|
|
1692
|
+
/**
|
|
1693
|
+
* 是否使用机构签章
|
|
1694
|
+
*/
|
|
1695
|
+
isInstitutionSign?: Boolean;
|
|
1692
1696
|
|
|
1693
1697
|
/**
|
|
1694
1698
|
* 签字成功
|
|
1695
1699
|
* @param event
|
|
1696
1700
|
* @returns
|
|
1697
1701
|
*/
|
|
1698
|
-
onSignSuccess?: (event?:{result,img}) => any;
|
|
1699
|
-
|
|
1702
|
+
onSignSuccess?: (event?: { result, img }) => any;
|
|
1703
|
+
|
|
1700
1704
|
}
|
|
1701
1705
|
|
|
1702
1706
|
/**
|
|
@@ -1823,7 +1827,7 @@ export interface ComFormItem {
|
|
|
1823
1827
|
/**
|
|
1824
1828
|
* 桩号填写参数
|
|
1825
1829
|
*/
|
|
1826
|
-
mileProp?:mileProp;
|
|
1830
|
+
mileProp?: mileProp;
|
|
1827
1831
|
|
|
1828
1832
|
/**
|
|
1829
1833
|
* 对应表单域 model 里的字段
|
|
@@ -1868,34 +1872,34 @@ export interface ComFormItem {
|
|
|
1868
1872
|
/**
|
|
1869
1873
|
* 附件上传参数
|
|
1870
1874
|
*/
|
|
1871
|
-
uploadFileProp?:uploadFileProp,
|
|
1875
|
+
uploadFileProp?: uploadFileProp,
|
|
1872
1876
|
|
|
1873
1877
|
/**
|
|
1874
1878
|
* 附件列表上传参数
|
|
1875
1879
|
*/
|
|
1876
|
-
uploadFileListProp?:uploadFileListProp,
|
|
1880
|
+
uploadFileListProp?: uploadFileListProp,
|
|
1877
1881
|
|
|
1878
1882
|
/**
|
|
1879
1883
|
* 富文本参数
|
|
1880
1884
|
*/
|
|
1881
|
-
textEditorProp?:textEditorProp,
|
|
1885
|
+
textEditorProp?: textEditorProp,
|
|
1882
1886
|
|
|
1883
1887
|
/**
|
|
1884
1888
|
* 字典项参数
|
|
1885
1889
|
*/
|
|
1886
|
-
dicSelProp?:dicSelProp
|
|
1890
|
+
dicSelProp?: dicSelProp
|
|
1887
1891
|
/**
|
|
1888
1892
|
* 构件类别选择参数
|
|
1889
1893
|
*/
|
|
1890
|
-
structureTypeProp?:structureTypeProp
|
|
1894
|
+
structureTypeProp?: structureTypeProp
|
|
1891
1895
|
/**
|
|
1892
1896
|
* 构件选择参数
|
|
1893
1897
|
*/
|
|
1894
|
-
structureProp?:structureProp
|
|
1898
|
+
structureProp?: structureProp
|
|
1895
1899
|
/**
|
|
1896
1900
|
* CA签章参数
|
|
1897
1901
|
*/
|
|
1898
|
-
signProp?: signProp;
|
|
1902
|
+
signProp?: signProp;
|
|
1899
1903
|
/**
|
|
1900
1904
|
* 标签点击事件
|
|
1901
1905
|
*/
|