@vue-start/pro 0.5.27 → 0.5.28
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/dist/index.d.ts +42 -35
- package/dist/index.es.js +528 -521
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -926,6 +926,13 @@ declare const proFormProps: () => {
|
|
|
926
926
|
}>;
|
|
927
927
|
default: undefined;
|
|
928
928
|
};
|
|
929
|
+
/**
|
|
930
|
+
* submit触发前hook,返回true,表示消费了此事件,不执行finish回掉
|
|
931
|
+
*/
|
|
932
|
+
onPreFinish: {
|
|
933
|
+
type: PropType<(...e: any[]) => boolean>;
|
|
934
|
+
default: undefined;
|
|
935
|
+
};
|
|
929
936
|
};
|
|
930
937
|
declare type ProFormProps = Partial<ExtractPropTypes<ReturnType<typeof proFormProps>>> & ProBaseProps & Omit<ProGridProps, "items"> & {
|
|
931
938
|
onFinish?: (showValues?: Record<string, any>, values?: Record<string, any>) => void;
|
|
@@ -1446,7 +1453,7 @@ declare const proListProps: () => {
|
|
|
1446
1453
|
type: PropType<Record<string, any>>;
|
|
1447
1454
|
};
|
|
1448
1455
|
paginationProps: {
|
|
1449
|
-
type: (PropType<Record<string, any>>
|
|
1456
|
+
type: (PropType<boolean> | PropType<Record<string, any>>)[];
|
|
1450
1457
|
default: undefined;
|
|
1451
1458
|
};
|
|
1452
1459
|
pageState: {
|
|
@@ -1497,7 +1504,7 @@ declare const ProList: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1497
1504
|
type: PropType<Record<string, any>>;
|
|
1498
1505
|
};
|
|
1499
1506
|
paginationProps: {
|
|
1500
|
-
type: (PropType<Record<string, any>>
|
|
1507
|
+
type: (PropType<boolean> | PropType<Record<string, any>>)[];
|
|
1501
1508
|
default: undefined;
|
|
1502
1509
|
};
|
|
1503
1510
|
pageState: {
|
|
@@ -1534,7 +1541,7 @@ declare const ProList: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1534
1541
|
type: PropType<Record<string, any>>;
|
|
1535
1542
|
};
|
|
1536
1543
|
paginationProps: {
|
|
1537
|
-
type: (PropType<Record<string, any>>
|
|
1544
|
+
type: (PropType<boolean> | PropType<Record<string, any>>)[];
|
|
1538
1545
|
default: undefined;
|
|
1539
1546
|
};
|
|
1540
1547
|
pageState: {
|
|
@@ -1573,7 +1580,7 @@ declare const ProDesc: vue.DefineComponent<ProDescProps, {}, {}, {}, {}, vue.Com
|
|
|
1573
1580
|
|
|
1574
1581
|
declare const typographyProps: () => {
|
|
1575
1582
|
content: {
|
|
1576
|
-
type: (
|
|
1583
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1577
1584
|
};
|
|
1578
1585
|
ellipsis: {
|
|
1579
1586
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1586,7 +1593,7 @@ declare const typographyProps: () => {
|
|
|
1586
1593
|
declare type ProTypographyProps = Partial<ExtractPropTypes<ReturnType<typeof typographyProps>>>;
|
|
1587
1594
|
declare const ProTypography: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
1588
1595
|
content: {
|
|
1589
|
-
type: (
|
|
1596
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1590
1597
|
};
|
|
1591
1598
|
ellipsis: {
|
|
1592
1599
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1597,7 +1604,7 @@ declare const ProTypography: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1597
1604
|
popoverProps: ObjectConstructor;
|
|
1598
1605
|
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
1599
1606
|
content: {
|
|
1600
|
-
type: (
|
|
1607
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1601
1608
|
};
|
|
1602
1609
|
ellipsis: {
|
|
1603
1610
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1610,12 +1617,12 @@ declare const ProTypography: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1610
1617
|
|
|
1611
1618
|
declare const ProShowText: vue.DefineComponent<{
|
|
1612
1619
|
value: {
|
|
1613
|
-
type: (
|
|
1620
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1614
1621
|
};
|
|
1615
1622
|
showProps: {
|
|
1616
1623
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1617
1624
|
content: {
|
|
1618
|
-
type: (
|
|
1625
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1619
1626
|
};
|
|
1620
1627
|
ellipsis: {
|
|
1621
1628
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1631,12 +1638,12 @@ declare const ProShowText: vue.DefineComponent<{
|
|
|
1631
1638
|
};
|
|
1632
1639
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1633
1640
|
value: {
|
|
1634
|
-
type: (
|
|
1641
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1635
1642
|
};
|
|
1636
1643
|
showProps: {
|
|
1637
1644
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1638
1645
|
content: {
|
|
1639
|
-
type: (
|
|
1646
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1640
1647
|
};
|
|
1641
1648
|
ellipsis: {
|
|
1642
1649
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1661,12 +1668,12 @@ declare const ProShowDigit: vue.DefineComponent<{
|
|
|
1661
1668
|
default: boolean;
|
|
1662
1669
|
};
|
|
1663
1670
|
value: {
|
|
1664
|
-
type: (
|
|
1671
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1665
1672
|
};
|
|
1666
1673
|
showProps: {
|
|
1667
1674
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1668
1675
|
content: {
|
|
1669
|
-
type: (
|
|
1676
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1670
1677
|
};
|
|
1671
1678
|
ellipsis: {
|
|
1672
1679
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1690,12 +1697,12 @@ declare const ProShowDigit: vue.DefineComponent<{
|
|
|
1690
1697
|
default: boolean;
|
|
1691
1698
|
};
|
|
1692
1699
|
value: {
|
|
1693
|
-
type: (
|
|
1700
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1694
1701
|
};
|
|
1695
1702
|
showProps: {
|
|
1696
1703
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1697
1704
|
content: {
|
|
1698
|
-
type: (
|
|
1705
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1699
1706
|
};
|
|
1700
1707
|
ellipsis: {
|
|
1701
1708
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1715,7 +1722,7 @@ declare const ProShowDigit: vue.DefineComponent<{
|
|
|
1715
1722
|
}>;
|
|
1716
1723
|
declare const ProShowOptions: vue.DefineComponent<{
|
|
1717
1724
|
value: {
|
|
1718
|
-
type: (
|
|
1725
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
1719
1726
|
};
|
|
1720
1727
|
options: PropType<TOptions>;
|
|
1721
1728
|
splitStr: {
|
|
@@ -1728,7 +1735,7 @@ declare const ProShowOptions: vue.DefineComponent<{
|
|
|
1728
1735
|
showProps: {
|
|
1729
1736
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1730
1737
|
content: {
|
|
1731
|
-
type: (
|
|
1738
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1732
1739
|
};
|
|
1733
1740
|
ellipsis: {
|
|
1734
1741
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1744,7 +1751,7 @@ declare const ProShowOptions: vue.DefineComponent<{
|
|
|
1744
1751
|
};
|
|
1745
1752
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1746
1753
|
value: {
|
|
1747
|
-
type: (
|
|
1754
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
1748
1755
|
};
|
|
1749
1756
|
options: PropType<TOptions>;
|
|
1750
1757
|
splitStr: {
|
|
@@ -1757,7 +1764,7 @@ declare const ProShowOptions: vue.DefineComponent<{
|
|
|
1757
1764
|
showProps: {
|
|
1758
1765
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1759
1766
|
content: {
|
|
1760
|
-
type: (
|
|
1767
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1761
1768
|
};
|
|
1762
1769
|
ellipsis: {
|
|
1763
1770
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1776,7 +1783,7 @@ declare const ProShowOptions: vue.DefineComponent<{
|
|
|
1776
1783
|
}>;
|
|
1777
1784
|
declare const ProShowTree: vue.DefineComponent<{
|
|
1778
1785
|
value: {
|
|
1779
|
-
type: (
|
|
1786
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
1780
1787
|
};
|
|
1781
1788
|
splitStr: {
|
|
1782
1789
|
type: StringConstructor;
|
|
@@ -1790,7 +1797,7 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
1790
1797
|
showProps: {
|
|
1791
1798
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1792
1799
|
content: {
|
|
1793
|
-
type: (
|
|
1800
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1794
1801
|
};
|
|
1795
1802
|
ellipsis: {
|
|
1796
1803
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1806,7 +1813,7 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
1806
1813
|
};
|
|
1807
1814
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1808
1815
|
value: {
|
|
1809
|
-
type: (
|
|
1816
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
1810
1817
|
};
|
|
1811
1818
|
splitStr: {
|
|
1812
1819
|
type: StringConstructor;
|
|
@@ -1820,7 +1827,7 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
1820
1827
|
showProps: {
|
|
1821
1828
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1822
1829
|
content: {
|
|
1823
|
-
type: (
|
|
1830
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1824
1831
|
};
|
|
1825
1832
|
ellipsis: {
|
|
1826
1833
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1839,7 +1846,7 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
1839
1846
|
}>;
|
|
1840
1847
|
declare const ProShowDate: vue.DefineComponent<{
|
|
1841
1848
|
value: {
|
|
1842
|
-
type: (
|
|
1849
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
1843
1850
|
};
|
|
1844
1851
|
splitStr: {
|
|
1845
1852
|
type: StringConstructor;
|
|
@@ -1856,7 +1863,7 @@ declare const ProShowDate: vue.DefineComponent<{
|
|
|
1856
1863
|
showProps: {
|
|
1857
1864
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1858
1865
|
content: {
|
|
1859
|
-
type: (
|
|
1866
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1860
1867
|
};
|
|
1861
1868
|
ellipsis: {
|
|
1862
1869
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1872,7 +1879,7 @@ declare const ProShowDate: vue.DefineComponent<{
|
|
|
1872
1879
|
};
|
|
1873
1880
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1874
1881
|
value: {
|
|
1875
|
-
type: (
|
|
1882
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
1876
1883
|
};
|
|
1877
1884
|
splitStr: {
|
|
1878
1885
|
type: StringConstructor;
|
|
@@ -1889,7 +1896,7 @@ declare const ProShowDate: vue.DefineComponent<{
|
|
|
1889
1896
|
showProps: {
|
|
1890
1897
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
1891
1898
|
content: {
|
|
1892
|
-
type: (
|
|
1899
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1893
1900
|
};
|
|
1894
1901
|
ellipsis: {
|
|
1895
1902
|
type: (BooleanConstructor | PropType<{
|
|
@@ -1904,8 +1911,8 @@ declare const ProShowDate: vue.DefineComponent<{
|
|
|
1904
1911
|
type: PropType<TConvert>;
|
|
1905
1912
|
};
|
|
1906
1913
|
}>>, {
|
|
1907
|
-
splitStr: string;
|
|
1908
1914
|
format: string;
|
|
1915
|
+
splitStr: string;
|
|
1909
1916
|
isUnix: boolean;
|
|
1910
1917
|
}>;
|
|
1911
1918
|
|
|
@@ -1923,7 +1930,7 @@ declare const ProLayout: vue.DefineComponent<{
|
|
|
1923
1930
|
* compose: 菜单第一级在header中,子级在左侧菜单
|
|
1924
1931
|
*/
|
|
1925
1932
|
layout: {
|
|
1926
|
-
type: PropType<"
|
|
1933
|
+
type: PropType<"horizontal" | "vertical" | "horizontal-v" | "compose">;
|
|
1927
1934
|
default: string;
|
|
1928
1935
|
};
|
|
1929
1936
|
findCurrentTopName: {
|
|
@@ -1971,7 +1978,7 @@ declare const ProLayout: vue.DefineComponent<{
|
|
|
1971
1978
|
* compose: 菜单第一级在header中,子级在左侧菜单
|
|
1972
1979
|
*/
|
|
1973
1980
|
layout: {
|
|
1974
|
-
type: PropType<"
|
|
1981
|
+
type: PropType<"horizontal" | "vertical" | "horizontal-v" | "compose">;
|
|
1975
1982
|
default: string;
|
|
1976
1983
|
};
|
|
1977
1984
|
findCurrentTopName: {
|
|
@@ -2006,13 +2013,13 @@ declare const ProLayout: vue.DefineComponent<{
|
|
|
2006
2013
|
type: FunctionConstructor;
|
|
2007
2014
|
};
|
|
2008
2015
|
}>>, {
|
|
2009
|
-
|
|
2016
|
+
layout: "horizontal" | "vertical" | "horizontal-v" | "compose";
|
|
2010
2017
|
fieldNames: {
|
|
2011
2018
|
children: string;
|
|
2012
2019
|
value: string;
|
|
2013
2020
|
label: string;
|
|
2014
2021
|
};
|
|
2015
|
-
|
|
2022
|
+
clsName: string;
|
|
2016
2023
|
}>;
|
|
2017
2024
|
|
|
2018
2025
|
declare type TFile = {
|
|
@@ -2027,7 +2034,7 @@ declare const ProUploaderText: vue.DefineComponent<Record<string, any>, {}, {},
|
|
|
2027
2034
|
* 文件列表
|
|
2028
2035
|
*/
|
|
2029
2036
|
declare const ProUploadList: vue.DefineComponent<{
|
|
2030
|
-
value: (
|
|
2037
|
+
value: (StringConstructor | ArrayConstructor)[];
|
|
2031
2038
|
fieldNames: {
|
|
2032
2039
|
type: ObjectConstructor;
|
|
2033
2040
|
default: {
|
|
@@ -2037,7 +2044,7 @@ declare const ProUploadList: vue.DefineComponent<{
|
|
|
2037
2044
|
};
|
|
2038
2045
|
};
|
|
2039
2046
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
2040
|
-
value: (
|
|
2047
|
+
value: (StringConstructor | ArrayConstructor)[];
|
|
2041
2048
|
fieldNames: {
|
|
2042
2049
|
type: ObjectConstructor;
|
|
2043
2050
|
default: {
|
|
@@ -2299,9 +2306,9 @@ declare const ProCurdModalFormConnect: vue.DefineComponent<unknown, () => JSX.El
|
|
|
2299
2306
|
|
|
2300
2307
|
declare const AddButton: vue.DefineComponent<{
|
|
2301
2308
|
buttonProps: ObjectConstructor;
|
|
2302
|
-
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
2309
|
+
}, () => JSX.Element | vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
2303
2310
|
[key: string]: any;
|
|
2304
|
-
}>[] |
|
|
2311
|
+
}>[] | null, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
2305
2312
|
buttonProps: ObjectConstructor;
|
|
2306
2313
|
}>>, {}>;
|
|
2307
2314
|
|