@vue-start/pro 0.5.35 → 0.5.37
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/CHANGELOG.md +11 -0
- package/dist/index.css +46 -25
- package/dist/index.d.ts +139 -11
- package/dist/index.es.js +1475 -1430
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 0.5.37
|
|
7
|
+
|
|
8
|
+
- ProPage class 新增 has-header has-footer 标记
|
|
9
|
+
- ProForm 新增 userOpe 属性:标记用户是否操作过 Form
|
|
10
|
+
|
|
11
|
+
# 0.5.36
|
|
12
|
+
|
|
13
|
+
- ProTable 新增 toolbar 高度计算,值为 css 变量:--pro-table-toolbar-hei;
|
|
14
|
+
- ProLayout Scroll 组件支持(element-plus);
|
|
15
|
+
- ProPage Scroll 组件支持(element-plus);pro-page-sub 模式(支持 PageCurd 场景)
|
|
16
|
+
|
|
6
17
|
# 0.5.33
|
|
7
18
|
|
|
8
19
|
- ProTable 新增 mergeOpts 属性,支持行、列合并
|
package/dist/index.css
CHANGED
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
/***************layout****************/
|
|
3
|
+
/*header高度*/
|
|
3
4
|
--pro-header-hei: 60px;
|
|
5
|
+
/*header与内容间隔*/
|
|
4
6
|
--pro-divide-ver-hei: 2px;
|
|
7
|
+
/*面包屑高度*/
|
|
8
|
+
--pro-bread-hei: 0px;
|
|
9
|
+
/*菜单宽度变量:合并/展开会重新赋值;媒体查询重新赋值*/
|
|
5
10
|
--pro-left-menu-wid: 220px;
|
|
6
|
-
--pro-left-menu-mini-wid: 64px;
|
|
7
11
|
/*左侧菜单start,end插槽高度*/
|
|
8
12
|
--pro-menu-start-hei: 0px;
|
|
9
13
|
--pro-menu-end-hei: 0px;
|
|
10
|
-
/*左侧菜单高度*/
|
|
11
|
-
--pro-left-menu-hei: calc(100vh - var(--pro-menu-start-hei) - var(--pro-menu-end-hei));
|
|
12
14
|
/*page*/
|
|
13
15
|
--pro-page-header-hei: 40px;
|
|
14
16
|
--pro-page-footer-hei: 46px;
|
|
15
17
|
|
|
16
18
|
/*color*/
|
|
17
19
|
--pro-color-primary: #1890ff;
|
|
20
|
+
--pro-color-bg: #f8f8f8;
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
/********************************** pro-layout ***********************************/
|
|
21
24
|
|
|
22
25
|
.pro-layout {
|
|
26
|
+
/*section高度*/
|
|
23
27
|
--pro-secion-hei: calc(100vh - var(--pro-header-hei) - var(--pro-divide-ver-hei));
|
|
28
|
+
/*左侧菜单高度*/
|
|
29
|
+
--pro-left-menu-hei: calc(var(--pro-secion-hei) - var(--pro-menu-start-hei) - var(--pro-menu-end-hei));
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.pro-layout .pro-layout-header {
|
|
@@ -46,42 +52,55 @@
|
|
|
46
52
|
border-bottom: unset;
|
|
47
53
|
}
|
|
48
54
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
55
|
+
/*左侧菜单*/
|
|
56
|
+
|
|
57
|
+
.pro-layout .pro-layout-menus-scroll {
|
|
58
|
+
height: var(--pro-left-menu-hei);
|
|
59
|
+
overflow-y: auto;
|
|
52
60
|
}
|
|
53
61
|
|
|
54
|
-
/*左侧菜单*/
|
|
55
62
|
.pro-layout .pro-layout-menus-wrapper .pro-layout-menus {
|
|
56
63
|
width: var(--pro-left-menu-wid);
|
|
57
64
|
min-width: var(--pro-left-menu-wid);
|
|
58
65
|
max-width: var(--pro-left-menu-wid);
|
|
59
|
-
overflow-y: auto;
|
|
60
|
-
overflow-x: hidden;
|
|
61
66
|
}
|
|
62
67
|
|
|
63
68
|
.pro-layout .pro-layout-menus-wrapper .mini {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
69
|
+
--pro-left-menu-wid: 64px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/*section*/
|
|
73
|
+
.pro-layout .pro-layout-section {
|
|
74
|
+
height: var(--pro-secion-hei);
|
|
75
|
+
overflow: auto;
|
|
76
|
+
position: relative;
|
|
77
|
+
box-sizing: border-box;
|
|
67
78
|
}
|
|
68
79
|
|
|
69
80
|
/*vertical*/
|
|
70
81
|
.pro-layout-vertical {
|
|
71
82
|
}
|
|
72
83
|
|
|
84
|
+
.pro-layout-vertical .pro-layout-section {
|
|
85
|
+
margin-top: var(--pro-divide-ver-hei);
|
|
86
|
+
}
|
|
87
|
+
|
|
73
88
|
/*horizontal*/
|
|
74
89
|
|
|
75
90
|
.pro-layout-horizontal {
|
|
76
91
|
display: flex;
|
|
77
92
|
}
|
|
78
93
|
|
|
79
|
-
.pro-layout-horizontal .pro-layout-menus {
|
|
80
|
-
|
|
94
|
+
.pro-layout-horizontal .pro-layout-menus-scroll {
|
|
95
|
+
--pro-left-menu-hei: calc(100vh - var(--pro-menu-start-hei) - var(--pro-menu-end-hei));
|
|
81
96
|
}
|
|
82
97
|
|
|
83
98
|
.pro-layout-horizontal .pro-layout-structure {
|
|
84
|
-
flex
|
|
99
|
+
flex: 1;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.pro-layout-horizontal .pro-layout-section {
|
|
103
|
+
margin-top: var(--pro-divide-ver-hei);
|
|
85
104
|
}
|
|
86
105
|
|
|
87
106
|
/*horizontal-v*/
|
|
@@ -89,12 +108,9 @@
|
|
|
89
108
|
display: unset !important;
|
|
90
109
|
}
|
|
91
110
|
|
|
92
|
-
.pro-layout-horizontal-v .pro-layout-menus {
|
|
93
|
-
height: calc(var(--pro-left-menu-hei) - var(--pro-header-hei) - var(--pro-divide-ver-hei));
|
|
94
|
-
}
|
|
95
|
-
|
|
96
111
|
.pro-layout-horizontal-v .pro-layout-structure {
|
|
97
112
|
display: flex;
|
|
113
|
+
margin-top: var(--pro-divide-ver-hei);
|
|
98
114
|
}
|
|
99
115
|
|
|
100
116
|
.pro-layout-horizontal-v .pro-layout-structure .pro-layout-section {
|
|
@@ -108,11 +124,7 @@
|
|
|
108
124
|
|
|
109
125
|
.pro-layout-compose .pro-layout-structure {
|
|
110
126
|
display: flex;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.pro-layout-compose .pro-layout-structure .pro-layout-menus {
|
|
114
127
|
margin-top: var(--pro-divide-ver-hei);
|
|
115
|
-
height: calc(var(--pro-left-menu-hei) - var(--pro-header-hei) - var(--pro-divide-ver-hei));
|
|
116
128
|
}
|
|
117
129
|
|
|
118
130
|
.pro-layout-compose .pro-layout-structure .pro-layout-section {
|
|
@@ -142,13 +154,13 @@
|
|
|
142
154
|
.pro-search-form {
|
|
143
155
|
}
|
|
144
156
|
|
|
145
|
-
.pro-search-form .pro-
|
|
157
|
+
.pro-search-form .pro-form-operate {
|
|
146
158
|
display: inline-flex;
|
|
147
159
|
vertical-align: middle;
|
|
148
160
|
margin-bottom: 18px;
|
|
149
161
|
}
|
|
150
162
|
|
|
151
|
-
.pro-search-form .pro-
|
|
163
|
+
.pro-search-form .pro-form-operate button:not(:first-child) {
|
|
152
164
|
margin-left: 12px;
|
|
153
165
|
}
|
|
154
166
|
|
|
@@ -210,6 +222,15 @@
|
|
|
210
222
|
box-sizing: border-box;
|
|
211
223
|
}
|
|
212
224
|
|
|
225
|
+
.pro-page-sub {
|
|
226
|
+
position: absolute !important;
|
|
227
|
+
top: 0;
|
|
228
|
+
right: 0;
|
|
229
|
+
bottom: 0;
|
|
230
|
+
left: 0;
|
|
231
|
+
/*overflow-y: auto;*/
|
|
232
|
+
}
|
|
233
|
+
|
|
213
234
|
.pro-page-header {
|
|
214
235
|
height: var(--pro-page-header-hei);
|
|
215
236
|
display: flex;
|
package/dist/index.d.ts
CHANGED
|
@@ -176,6 +176,10 @@ declare type TObjItem = {
|
|
|
176
176
|
declare type TFunItem = (string | TParamItem | TObjItem)[];
|
|
177
177
|
declare type TExpression = TFunItem | TDataType | TObjItem;
|
|
178
178
|
|
|
179
|
+
/**
|
|
180
|
+
* 渲染后的插槽是否是有效的vnode
|
|
181
|
+
*/
|
|
182
|
+
declare const isValidNode: (vns?: VNode[]) => boolean;
|
|
179
183
|
/**
|
|
180
184
|
* 获取Column的valueType,默认"text"
|
|
181
185
|
* @param column
|
|
@@ -652,13 +656,13 @@ declare const proConfigProps: () => {
|
|
|
652
656
|
}>;
|
|
653
657
|
};
|
|
654
658
|
showMsg: {
|
|
655
|
-
type:
|
|
659
|
+
type: FunctionConstructor;
|
|
656
660
|
};
|
|
657
661
|
showModal: {
|
|
658
|
-
type:
|
|
662
|
+
type: FunctionConstructor;
|
|
659
663
|
};
|
|
660
664
|
showNotify: {
|
|
661
|
-
type:
|
|
665
|
+
type: FunctionConstructor;
|
|
662
666
|
};
|
|
663
667
|
};
|
|
664
668
|
declare const useProConfig: () => IProConfigProvide;
|
|
@@ -699,13 +703,13 @@ declare const ProConfig: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
699
703
|
}>;
|
|
700
704
|
};
|
|
701
705
|
showMsg: {
|
|
702
|
-
type:
|
|
706
|
+
type: FunctionConstructor;
|
|
703
707
|
};
|
|
704
708
|
showModal: {
|
|
705
|
-
type:
|
|
709
|
+
type: FunctionConstructor;
|
|
706
710
|
};
|
|
707
711
|
showNotify: {
|
|
708
|
-
type:
|
|
712
|
+
type: FunctionConstructor;
|
|
709
713
|
};
|
|
710
714
|
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
711
715
|
elementMap: {
|
|
@@ -737,13 +741,13 @@ declare const ProConfig: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
737
741
|
}>;
|
|
738
742
|
};
|
|
739
743
|
showMsg: {
|
|
740
|
-
type:
|
|
744
|
+
type: FunctionConstructor;
|
|
741
745
|
};
|
|
742
746
|
showModal: {
|
|
743
|
-
type:
|
|
747
|
+
type: FunctionConstructor;
|
|
744
748
|
};
|
|
745
749
|
showNotify: {
|
|
746
|
-
type:
|
|
750
|
+
type: FunctionConstructor;
|
|
747
751
|
};
|
|
748
752
|
}>>>, {}>;
|
|
749
753
|
/**
|
|
@@ -890,6 +894,8 @@ interface IProFormProvide extends IProFormProvideExtra {
|
|
|
890
894
|
elementMap?: TElementMap;
|
|
891
895
|
formElementMap?: TElementMap;
|
|
892
896
|
columns: Ref<TColumns>;
|
|
897
|
+
userOpe: Ref<boolean>;
|
|
898
|
+
asyncNum: Ref<number>;
|
|
893
899
|
}
|
|
894
900
|
declare const useProForm: () => IProFormProvide;
|
|
895
901
|
declare const useFormSubmit: (cb: (...e: any[]) => void, wait?: number, options?: Record<string, any>) => lodash.DebouncedFunc<(...e: any[]) => void>;
|
|
@@ -998,7 +1004,7 @@ declare const proFormProps: () => {
|
|
|
998
1004
|
};
|
|
999
1005
|
};
|
|
1000
1006
|
declare type ProFormProps = Partial<ExtractPropTypes<ReturnType<typeof proFormProps>>> & ProBaseProps & Omit<ProGridProps, "items"> & {
|
|
1001
|
-
onFinish?: (showValues?: Record<string, any>, values?: Record<string, any>) => void;
|
|
1007
|
+
onFinish?: (showValues?: Record<string, any>, values?: Record<string, any>, opts?: Pick<IProFormProvide, "userOpe" | "asyncNum">) => void;
|
|
1002
1008
|
onFinishFailed?: (errs: any) => void;
|
|
1003
1009
|
};
|
|
1004
1010
|
declare const ProForm: vue.DefineComponent<ProFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProFormProps>, {}>;
|
|
@@ -1516,6 +1522,49 @@ declare const proPageHeaderProps: () => {
|
|
|
1516
1522
|
};
|
|
1517
1523
|
};
|
|
1518
1524
|
declare type PageHeaderProps = Partial<ExtractPropTypes<ReturnType<typeof proPageHeaderProps>>>;
|
|
1525
|
+
declare const PageHeader: vue.DefineComponent<{
|
|
1526
|
+
title: {
|
|
1527
|
+
type: StringConstructor;
|
|
1528
|
+
};
|
|
1529
|
+
subTitle: {
|
|
1530
|
+
type: StringConstructor;
|
|
1531
|
+
};
|
|
1532
|
+
showBack: BooleanConstructor;
|
|
1533
|
+
hideWhileNoHistory: {
|
|
1534
|
+
type: BooleanConstructor;
|
|
1535
|
+
default: boolean;
|
|
1536
|
+
};
|
|
1537
|
+
onBackClick: {
|
|
1538
|
+
type: FunctionConstructor;
|
|
1539
|
+
};
|
|
1540
|
+
renderBackIcon: {
|
|
1541
|
+
type: PropType<() => VNode>;
|
|
1542
|
+
default: () => string;
|
|
1543
|
+
};
|
|
1544
|
+
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1545
|
+
title: {
|
|
1546
|
+
type: StringConstructor;
|
|
1547
|
+
};
|
|
1548
|
+
subTitle: {
|
|
1549
|
+
type: StringConstructor;
|
|
1550
|
+
};
|
|
1551
|
+
showBack: BooleanConstructor;
|
|
1552
|
+
hideWhileNoHistory: {
|
|
1553
|
+
type: BooleanConstructor;
|
|
1554
|
+
default: boolean;
|
|
1555
|
+
};
|
|
1556
|
+
onBackClick: {
|
|
1557
|
+
type: FunctionConstructor;
|
|
1558
|
+
};
|
|
1559
|
+
renderBackIcon: {
|
|
1560
|
+
type: PropType<() => VNode>;
|
|
1561
|
+
default: () => string;
|
|
1562
|
+
};
|
|
1563
|
+
}>>, {
|
|
1564
|
+
showBack: boolean;
|
|
1565
|
+
hideWhileNoHistory: boolean;
|
|
1566
|
+
renderBackIcon: () => VNode;
|
|
1567
|
+
}>;
|
|
1519
1568
|
declare const proPageProps: () => {
|
|
1520
1569
|
loading: {
|
|
1521
1570
|
type: BooleanConstructor;
|
|
@@ -1526,6 +1575,9 @@ declare const proPageProps: () => {
|
|
|
1526
1575
|
type: BooleanConstructor;
|
|
1527
1576
|
default: boolean;
|
|
1528
1577
|
};
|
|
1578
|
+
as: {
|
|
1579
|
+
type: StringConstructor;
|
|
1580
|
+
};
|
|
1529
1581
|
};
|
|
1530
1582
|
declare type ProPageProps = Partial<ExtractPropTypes<ReturnType<typeof proPageProps>>> & PageHeaderProps;
|
|
1531
1583
|
declare const ProPage: vue.DefineComponent<ProPageProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProPageProps>, {}>;
|
|
@@ -1679,6 +1731,30 @@ declare const ProDesc: vue.DefineComponent<ProDescProps, {}, {}, {}, {}, vue.Com
|
|
|
1679
1731
|
model?: any;
|
|
1680
1732
|
}>;
|
|
1681
1733
|
|
|
1734
|
+
/**
|
|
1735
|
+
* 展示值,主要规避掉 0 的情况
|
|
1736
|
+
* @param v
|
|
1737
|
+
* @param emptyText
|
|
1738
|
+
*/
|
|
1739
|
+
declare const showValue: (v: string | number, emptyText?: string) => string | number | undefined;
|
|
1740
|
+
/**
|
|
1741
|
+
* 展示值组件
|
|
1742
|
+
*/
|
|
1743
|
+
declare const ProValue: vue.DefineComponent<{
|
|
1744
|
+
value: {
|
|
1745
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
1746
|
+
};
|
|
1747
|
+
emptyText: {
|
|
1748
|
+
type: StringConstructor;
|
|
1749
|
+
};
|
|
1750
|
+
}, () => string | number | undefined, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1751
|
+
value: {
|
|
1752
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
1753
|
+
};
|
|
1754
|
+
emptyText: {
|
|
1755
|
+
type: StringConstructor;
|
|
1756
|
+
};
|
|
1757
|
+
}>>, {}>;
|
|
1682
1758
|
declare const typographyProps: () => {
|
|
1683
1759
|
content: {
|
|
1684
1760
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -1690,6 +1766,9 @@ declare const typographyProps: () => {
|
|
|
1690
1766
|
}>)[];
|
|
1691
1767
|
};
|
|
1692
1768
|
popoverProps: ObjectConstructor;
|
|
1769
|
+
emptyText: {
|
|
1770
|
+
type: StringConstructor;
|
|
1771
|
+
};
|
|
1693
1772
|
};
|
|
1694
1773
|
declare type ProTypographyProps = Partial<ExtractPropTypes<ReturnType<typeof typographyProps>>>;
|
|
1695
1774
|
declare const ProTypography: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
@@ -1703,6 +1782,9 @@ declare const ProTypography: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1703
1782
|
}>)[];
|
|
1704
1783
|
};
|
|
1705
1784
|
popoverProps: ObjectConstructor;
|
|
1785
|
+
emptyText: {
|
|
1786
|
+
type: StringConstructor;
|
|
1787
|
+
};
|
|
1706
1788
|
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
1707
1789
|
content: {
|
|
1708
1790
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -1714,6 +1796,9 @@ declare const ProTypography: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1714
1796
|
}>)[];
|
|
1715
1797
|
};
|
|
1716
1798
|
popoverProps: ObjectConstructor;
|
|
1799
|
+
emptyText: {
|
|
1800
|
+
type: StringConstructor;
|
|
1801
|
+
};
|
|
1717
1802
|
}>>>, {}>;
|
|
1718
1803
|
|
|
1719
1804
|
declare const ProShowText: vue.DefineComponent<{
|
|
@@ -1732,6 +1817,9 @@ declare const ProShowText: vue.DefineComponent<{
|
|
|
1732
1817
|
}>)[];
|
|
1733
1818
|
};
|
|
1734
1819
|
popoverProps: ObjectConstructor;
|
|
1820
|
+
emptyText: {
|
|
1821
|
+
type: StringConstructor;
|
|
1822
|
+
};
|
|
1735
1823
|
}>>>;
|
|
1736
1824
|
};
|
|
1737
1825
|
convert: {
|
|
@@ -1753,6 +1841,9 @@ declare const ProShowText: vue.DefineComponent<{
|
|
|
1753
1841
|
}>)[];
|
|
1754
1842
|
};
|
|
1755
1843
|
popoverProps: ObjectConstructor;
|
|
1844
|
+
emptyText: {
|
|
1845
|
+
type: StringConstructor;
|
|
1846
|
+
};
|
|
1756
1847
|
}>>>;
|
|
1757
1848
|
};
|
|
1758
1849
|
convert: {
|
|
@@ -1783,6 +1874,9 @@ declare const ProShowDigit: vue.DefineComponent<{
|
|
|
1783
1874
|
}>)[];
|
|
1784
1875
|
};
|
|
1785
1876
|
popoverProps: ObjectConstructor;
|
|
1877
|
+
emptyText: {
|
|
1878
|
+
type: StringConstructor;
|
|
1879
|
+
};
|
|
1786
1880
|
}>>>;
|
|
1787
1881
|
};
|
|
1788
1882
|
convert: {
|
|
@@ -1812,6 +1906,9 @@ declare const ProShowDigit: vue.DefineComponent<{
|
|
|
1812
1906
|
}>)[];
|
|
1813
1907
|
};
|
|
1814
1908
|
popoverProps: ObjectConstructor;
|
|
1909
|
+
emptyText: {
|
|
1910
|
+
type: StringConstructor;
|
|
1911
|
+
};
|
|
1815
1912
|
}>>>;
|
|
1816
1913
|
};
|
|
1817
1914
|
convert: {
|
|
@@ -1845,6 +1942,9 @@ declare const ProShowOptions: vue.DefineComponent<{
|
|
|
1845
1942
|
}>)[];
|
|
1846
1943
|
};
|
|
1847
1944
|
popoverProps: ObjectConstructor;
|
|
1945
|
+
emptyText: {
|
|
1946
|
+
type: StringConstructor;
|
|
1947
|
+
};
|
|
1848
1948
|
}>>>;
|
|
1849
1949
|
};
|
|
1850
1950
|
convert: {
|
|
@@ -1874,6 +1974,9 @@ declare const ProShowOptions: vue.DefineComponent<{
|
|
|
1874
1974
|
}>)[];
|
|
1875
1975
|
};
|
|
1876
1976
|
popoverProps: ObjectConstructor;
|
|
1977
|
+
emptyText: {
|
|
1978
|
+
type: StringConstructor;
|
|
1979
|
+
};
|
|
1877
1980
|
}>>>;
|
|
1878
1981
|
};
|
|
1879
1982
|
convert: {
|
|
@@ -1907,6 +2010,9 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
1907
2010
|
}>)[];
|
|
1908
2011
|
};
|
|
1909
2012
|
popoverProps: ObjectConstructor;
|
|
2013
|
+
emptyText: {
|
|
2014
|
+
type: StringConstructor;
|
|
2015
|
+
};
|
|
1910
2016
|
}>>>;
|
|
1911
2017
|
};
|
|
1912
2018
|
convert: {
|
|
@@ -1937,6 +2043,9 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
1937
2043
|
}>)[];
|
|
1938
2044
|
};
|
|
1939
2045
|
popoverProps: ObjectConstructor;
|
|
2046
|
+
emptyText: {
|
|
2047
|
+
type: StringConstructor;
|
|
2048
|
+
};
|
|
1940
2049
|
}>>>;
|
|
1941
2050
|
};
|
|
1942
2051
|
convert: {
|
|
@@ -1973,6 +2082,9 @@ declare const ProShowDate: vue.DefineComponent<{
|
|
|
1973
2082
|
}>)[];
|
|
1974
2083
|
};
|
|
1975
2084
|
popoverProps: ObjectConstructor;
|
|
2085
|
+
emptyText: {
|
|
2086
|
+
type: StringConstructor;
|
|
2087
|
+
};
|
|
1976
2088
|
}>>>;
|
|
1977
2089
|
};
|
|
1978
2090
|
convert: {
|
|
@@ -2006,6 +2118,9 @@ declare const ProShowDate: vue.DefineComponent<{
|
|
|
2006
2118
|
}>)[];
|
|
2007
2119
|
};
|
|
2008
2120
|
popoverProps: ObjectConstructor;
|
|
2121
|
+
emptyText: {
|
|
2122
|
+
type: StringConstructor;
|
|
2123
|
+
};
|
|
2009
2124
|
}>>>;
|
|
2010
2125
|
};
|
|
2011
2126
|
convert: {
|
|
@@ -2178,6 +2293,7 @@ declare const ElementKeys: {
|
|
|
2178
2293
|
CheckboxKey: string;
|
|
2179
2294
|
MenusKey: string;
|
|
2180
2295
|
ModalKey: string;
|
|
2296
|
+
ScrollKey: string;
|
|
2181
2297
|
FormKey: string;
|
|
2182
2298
|
FormItemKey: string;
|
|
2183
2299
|
TableKey: string;
|
|
@@ -2330,6 +2446,18 @@ declare const modalCurdProps: () => {
|
|
|
2330
2446
|
};
|
|
2331
2447
|
};
|
|
2332
2448
|
declare type ModalCurdProps = Partial<ExtractPropTypes<ReturnType<typeof modalCurdProps>>>;
|
|
2449
|
+
/**
|
|
2450
|
+
* 事件处理
|
|
2451
|
+
*/
|
|
2452
|
+
declare const ModalCurdOpe: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
2453
|
+
defaultAddRecord: {
|
|
2454
|
+
type: PropType<Record<string, any>>;
|
|
2455
|
+
};
|
|
2456
|
+
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<Partial<ExtractPropTypes<{
|
|
2457
|
+
defaultAddRecord: {
|
|
2458
|
+
type: PropType<Record<string, any>>;
|
|
2459
|
+
};
|
|
2460
|
+
}>>>>, {}>;
|
|
2333
2461
|
declare type ProModalCurdProps = ModalCurdProps & ProCurdProps;
|
|
2334
2462
|
declare const ProModalCurd: vue.DefineComponent<ProModalCurdProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProModalCurdProps>, {}>;
|
|
2335
2463
|
|
|
@@ -2467,4 +2595,4 @@ declare const getSignValue: <T = any>(item: TColumn, signName: string) => T;
|
|
|
2467
2595
|
*/
|
|
2468
2596
|
declare const filterSlotsByPrefix: (slots: Record<string, any>, prefix: string) => lodash.Dictionary<any>;
|
|
2469
2597
|
|
|
2470
|
-
export { AddButton, BooleanObjType, BooleanRulesObjType, ColumnSetting, CurdAction, CurdAddAction, CurdCurrentMode, CurdMethods, CurdSubAction, ElementKeys, FieldNames, FormAction, FormItemProps, FormRulePrefixMap, IAccess, ICurdAction, ICurdAddAction, ICurdCurrentMode, ICurdOperateOpts, ICurdState, ICurdSubAction, IElementConfig, IHighConfig, IListData, IOpeItem, IOperateItem, IPer, IProConfigProvide, IProCurdProvide, IProFormProvideExtra, IProModuleProvide, IProTableProvide, IProTableProvideExtra, IRequestOpts, ISearchMode, ITableOperate, IUser, InternalNamePath, LogonUser, LogonUserKey, MustLogon, NamePath, PageHeaderProps, PaginationSlotProps, PerSuffix, Permission, PermissionProps, ProBaseProps, ProColumnSettingProps, ProConfig, ProConfigProps, ProCurd, ProCurdDesc, ProCurdDescConnect, ProCurdDescProps, ProCurdForm, ProCurdFormConnect, ProCurdFormProps, ProCurdList, ProCurdListConnect, ProCurdListProps, ProCurdModal, ProCurdModalForm, ProCurdModalFormConnect, ProCurdModalProps, ProCurdProps, ProDesc, ProDescProps, ProDispatchRequestType, ProForm, ProFormItemProps, ProFormList, ProFormListProps, ProFormProps, ProGrid, ProGridProps, ProLayout, ProList, ProListProps, ProModalCurd, ProModalCurdProps, ProModule, ProModuleProps, ProOperate, ProOperateProps, ProPage, ProPageCurd, ProPageCurdProps, ProPageProps, ProSearchForm, ProSearchFormProps, ProShowDate, ProShowDigit, ProShowOptions, ProShowText, ProShowTree, ProTable, ProTableProps, ProTypography, ProTypographyProps, ProUploadList, ProUploaderText, RequestAction, RouterMethods, SearchMode, SearchSlotProps, TAccess, TActionEvent, TActionState, TColumn, TColumns, TConfigData, TCurdActionEvent, TDefaultValueType, TElementMap, TExecuteFunName, TExecuteItem, TExecuteName, TFile, TFormExtraMap, TInitialState, TLogonUserProvide, TMeta, TOpenMenu, TOption, TOptions, TPageState, TProFormOperate, TRegisterStore, TRegisterStoreMap, TRender, TRouter, TTableColumn, TTableColumns, TValueType, TreeOption, TreeOptions, Wrapper, convertPathToList, convertResData, createExpose, createExposeObj, createFormItemCompFn, createModule, createProConfig, defaultPage, filterSlotsByPrefix, getColumnFormItemName, getColumnValueType, getFirstPropName, getRealRender, getSignValue, getValidValues, isValidConfig, mergeState, mergeStateToList, proBaseProps, provideProCurd, provideProFormList, provideProModule, renderColumn, renderElement, renderElements, renderInputColumn, useAccess, useAccessMgr, useComposeRequestActor, useDispatchMeta, useDispatchStore, useDoneRequestActor, useFailedRequestActor, useFormSubmit, useGetCompByKey, useHasPer, useHasPer2, useLogonUser, useMetaRegister, useModuleEvent, useProConfig, useProCurd, useProForm, useProFormList, useProModal, useProModule, useProMsg, useProNotify, useProRouter, useProTable, useReadStore };
|
|
2598
|
+
export { AddButton, BooleanObjType, BooleanRulesObjType, ColumnSetting, CurdAction, CurdAddAction, CurdCurrentMode, CurdMethods, CurdSubAction, ElementKeys, FieldNames, FormAction, FormItemProps, FormRulePrefixMap, IAccess, ICurdAction, ICurdAddAction, ICurdCurrentMode, ICurdOperateOpts, ICurdState, ICurdSubAction, IElementConfig, IHighConfig, IListData, IOpeItem, IOperateItem, IPer, IProConfigProvide, IProCurdProvide, IProFormProvideExtra, IProModuleProvide, IProTableProvide, IProTableProvideExtra, IRequestOpts, ISearchMode, ITableOperate, IUser, InternalNamePath, LogonUser, LogonUserKey, ModalCurdOpe, MustLogon, NamePath, PageHeader, PageHeaderProps, PaginationSlotProps, PerSuffix, Permission, PermissionProps, ProBaseProps, ProColumnSettingProps, ProConfig, ProConfigProps, ProCurd, ProCurdDesc, ProCurdDescConnect, ProCurdDescProps, ProCurdForm, ProCurdFormConnect, ProCurdFormProps, ProCurdList, ProCurdListConnect, ProCurdListProps, ProCurdModal, ProCurdModalForm, ProCurdModalFormConnect, ProCurdModalProps, ProCurdProps, ProDesc, ProDescProps, ProDispatchRequestType, ProForm, ProFormItemProps, ProFormList, ProFormListProps, ProFormProps, ProGrid, ProGridProps, ProLayout, ProList, ProListProps, ProModalCurd, ProModalCurdProps, ProModule, ProModuleProps, ProOperate, ProOperateProps, ProPage, ProPageCurd, ProPageCurdProps, ProPageProps, ProSearchForm, ProSearchFormProps, ProShowDate, ProShowDigit, ProShowOptions, ProShowText, ProShowTree, ProTable, ProTableProps, ProTypography, ProTypographyProps, ProUploadList, ProUploaderText, ProValue, RequestAction, RouterMethods, SearchMode, SearchSlotProps, TAccess, TActionEvent, TActionState, TColumn, TColumns, TConfigData, TCurdActionEvent, TDefaultValueType, TElementMap, TExecuteFunName, TExecuteItem, TExecuteName, TFile, TFormExtraMap, TInitialState, TLogonUserProvide, TMeta, TOpenMenu, TOption, TOptions, TPageState, TProFormOperate, TRegisterStore, TRegisterStoreMap, TRender, TRouter, TTableColumn, TTableColumns, TValueType, TreeOption, TreeOptions, Wrapper, convertPathToList, convertResData, createExpose, createExposeObj, createFormItemCompFn, createModule, createProConfig, defaultPage, filterSlotsByPrefix, getColumnFormItemName, getColumnValueType, getFirstPropName, getRealRender, getSignValue, getValidValues, isValidConfig, isValidNode, mergeState, mergeStateToList, proBaseProps, provideProCurd, provideProFormList, provideProModule, renderColumn, renderElement, renderElements, renderInputColumn, showValue, useAccess, useAccessMgr, useComposeRequestActor, useDispatchMeta, useDispatchStore, useDoneRequestActor, useFailedRequestActor, useFormSubmit, useGetCompByKey, useHasPer, useHasPer2, useLogonUser, useMetaRegister, useModuleEvent, useProConfig, useProCurd, useProForm, useProFormList, useProModal, useProModule, useProMsg, useProNotify, useProRouter, useProTable, useReadStore };
|