@vue-start/pro 0.5.36 → 0.5.38
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 +13 -0
- package/dist/index.css +23 -2
- package/dist/index.d.ts +182 -12
- package/dist/index.es.js +1407 -1317
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
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.38
|
|
7
|
+
|
|
8
|
+
- 新增 ProTip 组件
|
|
9
|
+
- ProFormItem label 新增 tip 提示配置
|
|
10
|
+
- ProOperate items 新增 tip 提示配置
|
|
11
|
+
- ProTable operate element 方法参数换为 item 重写后的对象
|
|
12
|
+
- ProForm class 新增 empty 标记
|
|
13
|
+
|
|
14
|
+
# 0.5.37
|
|
15
|
+
|
|
16
|
+
- ProPage class 新增 has-header has-footer 标记
|
|
17
|
+
- ProForm 新增 userOpe 属性:标记用户是否操作过 Form
|
|
18
|
+
|
|
6
19
|
# 0.5.36
|
|
7
20
|
|
|
8
21
|
- ProTable 新增 toolbar 高度计算,值为 css 变量:--pro-table-toolbar-hei;
|
package/dist/index.css
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
.pro-layout {
|
|
26
26
|
/*section高度*/
|
|
27
27
|
--pro-secion-hei: calc(100vh - var(--pro-header-hei) - var(--pro-divide-ver-hei));
|
|
28
|
+
--pro-section-hei: calc(100vh - var(--pro-header-hei) - var(--pro-divide-ver-hei));
|
|
28
29
|
/*左侧菜单高度*/
|
|
29
30
|
--pro-left-menu-hei: calc(var(--pro-secion-hei) - var(--pro-menu-start-hei) - var(--pro-menu-end-hei));
|
|
30
31
|
}
|
|
@@ -150,17 +151,23 @@
|
|
|
150
151
|
margin-left: 12px;
|
|
151
152
|
}
|
|
152
153
|
|
|
154
|
+
/*tip*/
|
|
155
|
+
.pro-form .pro-form-item .pro-tip-dom {
|
|
156
|
+
align-self: center;
|
|
157
|
+
margin-left: 6px;
|
|
158
|
+
}
|
|
159
|
+
|
|
153
160
|
/********************************** pro-search-form ***********************************/
|
|
154
161
|
.pro-search-form {
|
|
155
162
|
}
|
|
156
163
|
|
|
157
|
-
.pro-search-form .pro-
|
|
164
|
+
.pro-search-form .pro-form-operate {
|
|
158
165
|
display: inline-flex;
|
|
159
166
|
vertical-align: middle;
|
|
160
167
|
margin-bottom: 18px;
|
|
161
168
|
}
|
|
162
169
|
|
|
163
|
-
.pro-search-form .pro-
|
|
170
|
+
.pro-search-form .pro-form-operate button:not(:first-child) {
|
|
164
171
|
margin-left: 12px;
|
|
165
172
|
}
|
|
166
173
|
|
|
@@ -300,3 +307,17 @@
|
|
|
300
307
|
z-index: 1;
|
|
301
308
|
background-color: white;
|
|
302
309
|
}
|
|
310
|
+
|
|
311
|
+
/********************************** pro-tip ***********************************/
|
|
312
|
+
.pro-tip-dom {
|
|
313
|
+
display: inline-block;
|
|
314
|
+
width: 14px;
|
|
315
|
+
height: 14px;
|
|
316
|
+
line-height: 14px;
|
|
317
|
+
border-radius: 50%;
|
|
318
|
+
background-color: #606266;
|
|
319
|
+
color: white;
|
|
320
|
+
font-size: 10px;
|
|
321
|
+
text-align: center;
|
|
322
|
+
cursor: default;
|
|
323
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -656,13 +656,13 @@ declare const proConfigProps: () => {
|
|
|
656
656
|
}>;
|
|
657
657
|
};
|
|
658
658
|
showMsg: {
|
|
659
|
-
type:
|
|
659
|
+
type: FunctionConstructor;
|
|
660
660
|
};
|
|
661
661
|
showModal: {
|
|
662
|
-
type:
|
|
662
|
+
type: FunctionConstructor;
|
|
663
663
|
};
|
|
664
664
|
showNotify: {
|
|
665
|
-
type:
|
|
665
|
+
type: FunctionConstructor;
|
|
666
666
|
};
|
|
667
667
|
};
|
|
668
668
|
declare const useProConfig: () => IProConfigProvide;
|
|
@@ -703,13 +703,13 @@ declare const ProConfig: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
703
703
|
}>;
|
|
704
704
|
};
|
|
705
705
|
showMsg: {
|
|
706
|
-
type:
|
|
706
|
+
type: FunctionConstructor;
|
|
707
707
|
};
|
|
708
708
|
showModal: {
|
|
709
|
-
type:
|
|
709
|
+
type: FunctionConstructor;
|
|
710
710
|
};
|
|
711
711
|
showNotify: {
|
|
712
|
-
type:
|
|
712
|
+
type: FunctionConstructor;
|
|
713
713
|
};
|
|
714
714
|
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
715
715
|
elementMap: {
|
|
@@ -741,13 +741,13 @@ declare const ProConfig: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
741
741
|
}>;
|
|
742
742
|
};
|
|
743
743
|
showMsg: {
|
|
744
|
-
type:
|
|
744
|
+
type: FunctionConstructor;
|
|
745
745
|
};
|
|
746
746
|
showModal: {
|
|
747
|
-
type:
|
|
747
|
+
type: FunctionConstructor;
|
|
748
748
|
};
|
|
749
749
|
showNotify: {
|
|
750
|
-
type:
|
|
750
|
+
type: FunctionConstructor;
|
|
751
751
|
};
|
|
752
752
|
}>>>, {}>;
|
|
753
753
|
/**
|
|
@@ -894,6 +894,8 @@ interface IProFormProvide extends IProFormProvideExtra {
|
|
|
894
894
|
elementMap?: TElementMap;
|
|
895
895
|
formElementMap?: TElementMap;
|
|
896
896
|
columns: Ref<TColumns>;
|
|
897
|
+
userOpe: Ref<boolean>;
|
|
898
|
+
asyncNum: Ref<number>;
|
|
897
899
|
}
|
|
898
900
|
declare const useProForm: () => IProFormProvide;
|
|
899
901
|
declare const useFormSubmit: (cb: (...e: any[]) => void, wait?: number, options?: Record<string, any>) => lodash.DebouncedFunc<(...e: any[]) => void>;
|
|
@@ -1002,7 +1004,7 @@ declare const proFormProps: () => {
|
|
|
1002
1004
|
};
|
|
1003
1005
|
};
|
|
1004
1006
|
declare type ProFormProps = Partial<ExtractPropTypes<ReturnType<typeof proFormProps>>> & ProBaseProps & Omit<ProGridProps, "items"> & {
|
|
1005
|
-
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;
|
|
1006
1008
|
onFinishFailed?: (errs: any) => void;
|
|
1007
1009
|
};
|
|
1008
1010
|
declare const ProForm: vue.DefineComponent<ProFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProFormProps>, {}>;
|
|
@@ -1074,6 +1076,12 @@ declare const proFormItemProps: () => {
|
|
|
1074
1076
|
slots: {
|
|
1075
1077
|
type: ObjectConstructor;
|
|
1076
1078
|
};
|
|
1079
|
+
tip: {
|
|
1080
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
1081
|
+
};
|
|
1082
|
+
tipProps: {
|
|
1083
|
+
type: ObjectConstructor;
|
|
1084
|
+
};
|
|
1077
1085
|
};
|
|
1078
1086
|
declare type ProFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof proFormItemProps>>> & Record<string, any>;
|
|
1079
1087
|
declare const createFormItemCompFn: <T extends FormItemProps>(FormItem: any, convertInputCompProps: (value: any, setValue: (v: any) => void, disabled: boolean | undefined) => Record<string, any>) => ({ InputComp, valueType, name }: {
|
|
@@ -1094,6 +1102,12 @@ declare const createFormItemCompFn: <T extends FormItemProps>(FormItem: any, con
|
|
|
1094
1102
|
slots: {
|
|
1095
1103
|
type: ObjectConstructor;
|
|
1096
1104
|
};
|
|
1105
|
+
tip: {
|
|
1106
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
1107
|
+
};
|
|
1108
|
+
tipProps: {
|
|
1109
|
+
type: ObjectConstructor;
|
|
1110
|
+
};
|
|
1097
1111
|
}>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<T & Partial<ExtractPropTypes<{
|
|
1098
1112
|
readonly: {
|
|
1099
1113
|
type: BooleanConstructor;
|
|
@@ -1108,6 +1122,12 @@ declare const createFormItemCompFn: <T extends FormItemProps>(FormItem: any, con
|
|
|
1108
1122
|
slots: {
|
|
1109
1123
|
type: ObjectConstructor;
|
|
1110
1124
|
};
|
|
1125
|
+
tip: {
|
|
1126
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
1127
|
+
};
|
|
1128
|
+
tipProps: {
|
|
1129
|
+
type: ObjectConstructor;
|
|
1130
|
+
};
|
|
1111
1131
|
}>> & Record<string, any> extends infer T_1 ? T_1 extends T & Partial<ExtractPropTypes<{
|
|
1112
1132
|
readonly: {
|
|
1113
1133
|
type: BooleanConstructor;
|
|
@@ -1122,6 +1142,12 @@ declare const createFormItemCompFn: <T extends FormItemProps>(FormItem: any, con
|
|
|
1122
1142
|
slots: {
|
|
1123
1143
|
type: ObjectConstructor;
|
|
1124
1144
|
};
|
|
1145
|
+
tip: {
|
|
1146
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
1147
|
+
};
|
|
1148
|
+
tipProps: {
|
|
1149
|
+
type: ObjectConstructor;
|
|
1150
|
+
};
|
|
1125
1151
|
}>> & Record<string, any> ? T_1 extends vue.ComponentPropsOptions<{
|
|
1126
1152
|
[x: string]: unknown;
|
|
1127
1153
|
}> ? ExtractPropTypes<T_1> : T_1 : never : never>, vue.ExtractDefaultPropTypes<T & Partial<ExtractPropTypes<{
|
|
@@ -1138,6 +1164,12 @@ declare const createFormItemCompFn: <T extends FormItemProps>(FormItem: any, con
|
|
|
1138
1164
|
slots: {
|
|
1139
1165
|
type: ObjectConstructor;
|
|
1140
1166
|
};
|
|
1167
|
+
tip: {
|
|
1168
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
1169
|
+
};
|
|
1170
|
+
tipProps: {
|
|
1171
|
+
type: ObjectConstructor;
|
|
1172
|
+
};
|
|
1141
1173
|
}>> & Record<string, any>>>;
|
|
1142
1174
|
|
|
1143
1175
|
interface IProFormListProvide {
|
|
@@ -1197,13 +1229,15 @@ interface IOpeItem {
|
|
|
1197
1229
|
disabled?: boolean | (() => boolean);
|
|
1198
1230
|
loading?: boolean | (() => boolean);
|
|
1199
1231
|
extraProps?: object | (() => Record<string, any>);
|
|
1200
|
-
onClick?: (
|
|
1232
|
+
onClick?: (item: IOpeItem) => void;
|
|
1201
1233
|
element?: (item?: Omit<IOpeItem, "show" | "disabled" | "opeProps" | "element"> & {
|
|
1202
1234
|
disabled?: boolean;
|
|
1203
1235
|
}) => VNode | null;
|
|
1204
1236
|
sort?: number;
|
|
1205
1237
|
per?: string;
|
|
1206
1238
|
perSuffix?: string;
|
|
1239
|
+
tip?: string | VNode;
|
|
1240
|
+
tipProps?: Record<string, any>;
|
|
1207
1241
|
}
|
|
1208
1242
|
declare const proOperateProps: () => {
|
|
1209
1243
|
/**
|
|
@@ -1308,6 +1342,8 @@ interface IOperateItem {
|
|
|
1308
1342
|
sort?: number;
|
|
1309
1343
|
per?: string;
|
|
1310
1344
|
perSuffix?: string;
|
|
1345
|
+
tip?: string | VNode | ((record: Record<string, any>) => string | VNode);
|
|
1346
|
+
tipProps?: Record<string, any> | ((record: Record<string, any>) => Record<string, any>);
|
|
1311
1347
|
}
|
|
1312
1348
|
/**
|
|
1313
1349
|
* 整个操作栏描述
|
|
@@ -1520,6 +1556,49 @@ declare const proPageHeaderProps: () => {
|
|
|
1520
1556
|
};
|
|
1521
1557
|
};
|
|
1522
1558
|
declare type PageHeaderProps = Partial<ExtractPropTypes<ReturnType<typeof proPageHeaderProps>>>;
|
|
1559
|
+
declare const PageHeader: vue.DefineComponent<{
|
|
1560
|
+
title: {
|
|
1561
|
+
type: StringConstructor;
|
|
1562
|
+
};
|
|
1563
|
+
subTitle: {
|
|
1564
|
+
type: StringConstructor;
|
|
1565
|
+
};
|
|
1566
|
+
showBack: BooleanConstructor;
|
|
1567
|
+
hideWhileNoHistory: {
|
|
1568
|
+
type: BooleanConstructor;
|
|
1569
|
+
default: boolean;
|
|
1570
|
+
};
|
|
1571
|
+
onBackClick: {
|
|
1572
|
+
type: FunctionConstructor;
|
|
1573
|
+
};
|
|
1574
|
+
renderBackIcon: {
|
|
1575
|
+
type: PropType<() => VNode>;
|
|
1576
|
+
default: () => string;
|
|
1577
|
+
};
|
|
1578
|
+
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1579
|
+
title: {
|
|
1580
|
+
type: StringConstructor;
|
|
1581
|
+
};
|
|
1582
|
+
subTitle: {
|
|
1583
|
+
type: StringConstructor;
|
|
1584
|
+
};
|
|
1585
|
+
showBack: BooleanConstructor;
|
|
1586
|
+
hideWhileNoHistory: {
|
|
1587
|
+
type: BooleanConstructor;
|
|
1588
|
+
default: boolean;
|
|
1589
|
+
};
|
|
1590
|
+
onBackClick: {
|
|
1591
|
+
type: FunctionConstructor;
|
|
1592
|
+
};
|
|
1593
|
+
renderBackIcon: {
|
|
1594
|
+
type: PropType<() => VNode>;
|
|
1595
|
+
default: () => string;
|
|
1596
|
+
};
|
|
1597
|
+
}>>, {
|
|
1598
|
+
showBack: boolean;
|
|
1599
|
+
hideWhileNoHistory: boolean;
|
|
1600
|
+
renderBackIcon: () => VNode;
|
|
1601
|
+
}>;
|
|
1523
1602
|
declare const proPageProps: () => {
|
|
1524
1603
|
loading: {
|
|
1525
1604
|
type: BooleanConstructor;
|
|
@@ -1686,6 +1765,30 @@ declare const ProDesc: vue.DefineComponent<ProDescProps, {}, {}, {}, {}, vue.Com
|
|
|
1686
1765
|
model?: any;
|
|
1687
1766
|
}>;
|
|
1688
1767
|
|
|
1768
|
+
/**
|
|
1769
|
+
* 展示值,主要规避掉 0 的情况
|
|
1770
|
+
* @param v
|
|
1771
|
+
* @param emptyText
|
|
1772
|
+
*/
|
|
1773
|
+
declare const showValue: (v: string | number, emptyText?: string) => string | number | undefined;
|
|
1774
|
+
/**
|
|
1775
|
+
* 展示值组件
|
|
1776
|
+
*/
|
|
1777
|
+
declare const ProValue: vue.DefineComponent<{
|
|
1778
|
+
value: {
|
|
1779
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
1780
|
+
};
|
|
1781
|
+
emptyText: {
|
|
1782
|
+
type: StringConstructor;
|
|
1783
|
+
};
|
|
1784
|
+
}, () => string | number | undefined, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1785
|
+
value: {
|
|
1786
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
1787
|
+
};
|
|
1788
|
+
emptyText: {
|
|
1789
|
+
type: StringConstructor;
|
|
1790
|
+
};
|
|
1791
|
+
}>>, {}>;
|
|
1689
1792
|
declare const typographyProps: () => {
|
|
1690
1793
|
content: {
|
|
1691
1794
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -1697,6 +1800,9 @@ declare const typographyProps: () => {
|
|
|
1697
1800
|
}>)[];
|
|
1698
1801
|
};
|
|
1699
1802
|
popoverProps: ObjectConstructor;
|
|
1803
|
+
emptyText: {
|
|
1804
|
+
type: StringConstructor;
|
|
1805
|
+
};
|
|
1700
1806
|
};
|
|
1701
1807
|
declare type ProTypographyProps = Partial<ExtractPropTypes<ReturnType<typeof typographyProps>>>;
|
|
1702
1808
|
declare const ProTypography: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
@@ -1710,6 +1816,9 @@ declare const ProTypography: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1710
1816
|
}>)[];
|
|
1711
1817
|
};
|
|
1712
1818
|
popoverProps: ObjectConstructor;
|
|
1819
|
+
emptyText: {
|
|
1820
|
+
type: StringConstructor;
|
|
1821
|
+
};
|
|
1713
1822
|
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
1714
1823
|
content: {
|
|
1715
1824
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -1721,6 +1830,9 @@ declare const ProTypography: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1721
1830
|
}>)[];
|
|
1722
1831
|
};
|
|
1723
1832
|
popoverProps: ObjectConstructor;
|
|
1833
|
+
emptyText: {
|
|
1834
|
+
type: StringConstructor;
|
|
1835
|
+
};
|
|
1724
1836
|
}>>>, {}>;
|
|
1725
1837
|
|
|
1726
1838
|
declare const ProShowText: vue.DefineComponent<{
|
|
@@ -1739,6 +1851,9 @@ declare const ProShowText: vue.DefineComponent<{
|
|
|
1739
1851
|
}>)[];
|
|
1740
1852
|
};
|
|
1741
1853
|
popoverProps: ObjectConstructor;
|
|
1854
|
+
emptyText: {
|
|
1855
|
+
type: StringConstructor;
|
|
1856
|
+
};
|
|
1742
1857
|
}>>>;
|
|
1743
1858
|
};
|
|
1744
1859
|
convert: {
|
|
@@ -1760,6 +1875,9 @@ declare const ProShowText: vue.DefineComponent<{
|
|
|
1760
1875
|
}>)[];
|
|
1761
1876
|
};
|
|
1762
1877
|
popoverProps: ObjectConstructor;
|
|
1878
|
+
emptyText: {
|
|
1879
|
+
type: StringConstructor;
|
|
1880
|
+
};
|
|
1763
1881
|
}>>>;
|
|
1764
1882
|
};
|
|
1765
1883
|
convert: {
|
|
@@ -1790,6 +1908,9 @@ declare const ProShowDigit: vue.DefineComponent<{
|
|
|
1790
1908
|
}>)[];
|
|
1791
1909
|
};
|
|
1792
1910
|
popoverProps: ObjectConstructor;
|
|
1911
|
+
emptyText: {
|
|
1912
|
+
type: StringConstructor;
|
|
1913
|
+
};
|
|
1793
1914
|
}>>>;
|
|
1794
1915
|
};
|
|
1795
1916
|
convert: {
|
|
@@ -1819,6 +1940,9 @@ declare const ProShowDigit: vue.DefineComponent<{
|
|
|
1819
1940
|
}>)[];
|
|
1820
1941
|
};
|
|
1821
1942
|
popoverProps: ObjectConstructor;
|
|
1943
|
+
emptyText: {
|
|
1944
|
+
type: StringConstructor;
|
|
1945
|
+
};
|
|
1822
1946
|
}>>>;
|
|
1823
1947
|
};
|
|
1824
1948
|
convert: {
|
|
@@ -1852,6 +1976,9 @@ declare const ProShowOptions: vue.DefineComponent<{
|
|
|
1852
1976
|
}>)[];
|
|
1853
1977
|
};
|
|
1854
1978
|
popoverProps: ObjectConstructor;
|
|
1979
|
+
emptyText: {
|
|
1980
|
+
type: StringConstructor;
|
|
1981
|
+
};
|
|
1855
1982
|
}>>>;
|
|
1856
1983
|
};
|
|
1857
1984
|
convert: {
|
|
@@ -1881,6 +2008,9 @@ declare const ProShowOptions: vue.DefineComponent<{
|
|
|
1881
2008
|
}>)[];
|
|
1882
2009
|
};
|
|
1883
2010
|
popoverProps: ObjectConstructor;
|
|
2011
|
+
emptyText: {
|
|
2012
|
+
type: StringConstructor;
|
|
2013
|
+
};
|
|
1884
2014
|
}>>>;
|
|
1885
2015
|
};
|
|
1886
2016
|
convert: {
|
|
@@ -1914,6 +2044,9 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
1914
2044
|
}>)[];
|
|
1915
2045
|
};
|
|
1916
2046
|
popoverProps: ObjectConstructor;
|
|
2047
|
+
emptyText: {
|
|
2048
|
+
type: StringConstructor;
|
|
2049
|
+
};
|
|
1917
2050
|
}>>>;
|
|
1918
2051
|
};
|
|
1919
2052
|
convert: {
|
|
@@ -1944,6 +2077,9 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
1944
2077
|
}>)[];
|
|
1945
2078
|
};
|
|
1946
2079
|
popoverProps: ObjectConstructor;
|
|
2080
|
+
emptyText: {
|
|
2081
|
+
type: StringConstructor;
|
|
2082
|
+
};
|
|
1947
2083
|
}>>>;
|
|
1948
2084
|
};
|
|
1949
2085
|
convert: {
|
|
@@ -1980,6 +2116,9 @@ declare const ProShowDate: vue.DefineComponent<{
|
|
|
1980
2116
|
}>)[];
|
|
1981
2117
|
};
|
|
1982
2118
|
popoverProps: ObjectConstructor;
|
|
2119
|
+
emptyText: {
|
|
2120
|
+
type: StringConstructor;
|
|
2121
|
+
};
|
|
1983
2122
|
}>>>;
|
|
1984
2123
|
};
|
|
1985
2124
|
convert: {
|
|
@@ -2013,6 +2152,9 @@ declare const ProShowDate: vue.DefineComponent<{
|
|
|
2013
2152
|
}>)[];
|
|
2014
2153
|
};
|
|
2015
2154
|
popoverProps: ObjectConstructor;
|
|
2155
|
+
emptyText: {
|
|
2156
|
+
type: StringConstructor;
|
|
2157
|
+
};
|
|
2016
2158
|
}>>>;
|
|
2017
2159
|
};
|
|
2018
2160
|
convert: {
|
|
@@ -2171,6 +2313,31 @@ declare const ProUploadList: vue.DefineComponent<{
|
|
|
2171
2313
|
fieldNames: Record<string, any>;
|
|
2172
2314
|
}>;
|
|
2173
2315
|
|
|
2316
|
+
declare const proTip: () => {
|
|
2317
|
+
title: StringConstructor;
|
|
2318
|
+
content: StringConstructor;
|
|
2319
|
+
renderDom: {
|
|
2320
|
+
type: PropType<() => VNode>;
|
|
2321
|
+
default: () => JSX.Element;
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
declare type ProTipProps = Partial<ExtractPropTypes<ReturnType<typeof proTip>>>;
|
|
2325
|
+
declare const ProTip: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
2326
|
+
title: StringConstructor;
|
|
2327
|
+
content: StringConstructor;
|
|
2328
|
+
renderDom: {
|
|
2329
|
+
type: PropType<() => VNode>;
|
|
2330
|
+
default: () => JSX.Element;
|
|
2331
|
+
};
|
|
2332
|
+
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
2333
|
+
title: StringConstructor;
|
|
2334
|
+
content: StringConstructor;
|
|
2335
|
+
renderDom: {
|
|
2336
|
+
type: PropType<() => VNode>;
|
|
2337
|
+
default: () => JSX.Element;
|
|
2338
|
+
};
|
|
2339
|
+
}>>>, {}>;
|
|
2340
|
+
|
|
2174
2341
|
/******************************** 组件key ********************************/
|
|
2175
2342
|
declare const ElementKeys: {
|
|
2176
2343
|
TypographyKey: string;
|
|
@@ -2182,10 +2349,12 @@ declare const ElementKeys: {
|
|
|
2182
2349
|
DescriptionsItemKey: string;
|
|
2183
2350
|
PaginationKey: string;
|
|
2184
2351
|
PopoverKey: string;
|
|
2352
|
+
TooltipKey: string;
|
|
2185
2353
|
CheckboxKey: string;
|
|
2186
2354
|
MenusKey: string;
|
|
2187
2355
|
ModalKey: string;
|
|
2188
2356
|
ScrollKey: string;
|
|
2357
|
+
PageKey: string;
|
|
2189
2358
|
FormKey: string;
|
|
2190
2359
|
FormItemKey: string;
|
|
2191
2360
|
TableKey: string;
|
|
@@ -2196,6 +2365,7 @@ declare const ElementKeys: {
|
|
|
2196
2365
|
ProTableKey: string;
|
|
2197
2366
|
ProCurdKey: string;
|
|
2198
2367
|
ProListKey: string;
|
|
2368
|
+
ProPageKey: string;
|
|
2199
2369
|
};
|
|
2200
2370
|
/**
|
|
2201
2371
|
* 根据elementKey获取组件
|
|
@@ -2487,4 +2657,4 @@ declare const getSignValue: <T = any>(item: TColumn, signName: string) => T;
|
|
|
2487
2657
|
*/
|
|
2488
2658
|
declare const filterSlotsByPrefix: (slots: Record<string, any>, prefix: string) => lodash.Dictionary<any>;
|
|
2489
2659
|
|
|
2490
|
-
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, 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, isValidNode, 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 };
|
|
2660
|
+
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, ProTip, ProTipProps, 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 };
|