@antdv-next1/pro-card 2.0.8 → 2.0.11
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/Card.d.ts +54 -0
- package/dist/Card.js +474 -0
- package/dist/ProCard.d.ts +69 -54
- package/dist/ProCard.js +116 -290
- package/dist/components/CheckCard/CheckCard.d.ts +9 -8
- package/dist/components/CheckCard/CheckCard.js +30 -18
- package/dist/components/CheckCard/Group.js +2 -2
- package/dist/components/CheckCard/index.d.ts +2 -2
- package/dist/components/CheckCard/style/index.js +25 -12
- package/dist/components/Statistic/index.d.ts +18 -14
- package/dist/components/Statistic/index.js +49 -49
- package/dist/components/StatisticCard/index.d.ts +52 -12
- package/dist/components/StatisticCard/index.js +132 -138
- package/dist/index.d.ts +2 -2
- package/dist/pro-card.esm.js +15472 -19272
- package/dist/pro-card.js +39 -39
- package/dist/style/index.js +88 -39
- package/package.json +3 -3
|
@@ -3,26 +3,30 @@ import { VNode } from "vue";
|
|
|
3
3
|
import { VueNode } from "@v-c/util";
|
|
4
4
|
import { BadgeProps, StatisticProps as StatisticProps$1, TooltipProps } from "antdv-next";
|
|
5
5
|
import { CustomSlotsType } from "@v-c/util/dist/type";
|
|
6
|
+
import * as _$antdv_next_dist_statistic_Statistic0 from "antdv-next/dist/statistic/Statistic";
|
|
6
7
|
|
|
7
8
|
//#region src/components/Statistic/index.d.ts
|
|
8
|
-
|
|
9
|
-
/** 描述性标签 */
|
|
10
|
-
description?: VueNode;
|
|
11
|
-
/** 标题提示 */
|
|
9
|
+
type StatisticProps = StatisticProps$1 & {
|
|
10
|
+
/** 描述性标签 */description?: VueNode; /** 标题提示 */
|
|
12
11
|
tooltip?: TooltipProps & {
|
|
13
12
|
icon?: VueNode;
|
|
14
|
-
} | VueNode;
|
|
15
|
-
/**
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
icon?: VueNode;
|
|
19
|
-
/** Layout 布局 */
|
|
20
|
-
layout?: 'horizontal' | 'vertical' | 'inline';
|
|
21
|
-
/** 趋势 */
|
|
13
|
+
} | VueNode; /** 当前项显示的状态 */
|
|
14
|
+
status?: BadgeProps['status']; /** Icon 图标 */
|
|
15
|
+
icon?: VueNode; /** Layout 布局 */
|
|
16
|
+
layout?: 'horizontal' | 'vertical' | 'inline'; /** 趋势 */
|
|
22
17
|
trend?: 'up' | 'down';
|
|
23
|
-
}
|
|
18
|
+
};
|
|
24
19
|
declare const Statistic: _$vue.DefineSetupFnComponent<StatisticProps, {}, CustomSlotsType<{
|
|
25
20
|
default?: () => VNode[];
|
|
26
|
-
}>,
|
|
21
|
+
}>, _$antdv_next_dist_statistic_Statistic0.InternalStatisticProps & {
|
|
22
|
+
/** 描述性标签 */description?: VueNode; /** 标题提示 */
|
|
23
|
+
tooltip?: (TooltipProps & {
|
|
24
|
+
icon?: VueNode;
|
|
25
|
+
}) | VueNode; /** 当前项显示的状态 */
|
|
26
|
+
status?: BadgeProps["status"]; /** Icon 图标 */
|
|
27
|
+
icon?: VueNode; /** Layout 布局 */
|
|
28
|
+
layout?: "horizontal" | "vertical" | "inline"; /** 趋势 */
|
|
29
|
+
trend?: "up" | "down";
|
|
30
|
+
} & {}, _$vue.PublicProps>;
|
|
27
31
|
//#endregion
|
|
28
32
|
export { StatisticProps, Statistic as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useStyle } from "./style/index.js";
|
|
2
2
|
import { Fragment, computed, createVNode, defineComponent, mergeProps } from "vue";
|
|
3
|
-
import { QuestionCircleOutlined } from "@antdv-next/icons";
|
|
4
3
|
import { classNames } from "@v-c/util";
|
|
5
4
|
import { Badge, Statistic as Statistic$1, Tooltip } from "antdv-next";
|
|
6
5
|
import { useConfig } from "antdv-next/dist/config-provider/context";
|
|
6
|
+
import { QuestionCircleOutlined } from "@antdv-next/icons";
|
|
7
7
|
//#region src/components/Statistic/index.tsx
|
|
8
8
|
const Statistic = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
9
9
|
const config = useConfig();
|
|
@@ -31,54 +31,6 @@ const Statistic = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
31
31
|
};
|
|
32
32
|
}, {
|
|
33
33
|
props: {
|
|
34
|
-
description: {
|
|
35
|
-
type: [
|
|
36
|
-
Object,
|
|
37
|
-
Function,
|
|
38
|
-
String,
|
|
39
|
-
Number,
|
|
40
|
-
null,
|
|
41
|
-
Boolean,
|
|
42
|
-
Array
|
|
43
|
-
],
|
|
44
|
-
required: false,
|
|
45
|
-
default: void 0
|
|
46
|
-
},
|
|
47
|
-
tooltip: {
|
|
48
|
-
type: [
|
|
49
|
-
Object,
|
|
50
|
-
Function,
|
|
51
|
-
String,
|
|
52
|
-
Number,
|
|
53
|
-
null,
|
|
54
|
-
Boolean,
|
|
55
|
-
Array
|
|
56
|
-
],
|
|
57
|
-
required: false,
|
|
58
|
-
default: void 0
|
|
59
|
-
},
|
|
60
|
-
status: { required: false },
|
|
61
|
-
icon: {
|
|
62
|
-
type: [
|
|
63
|
-
Object,
|
|
64
|
-
Function,
|
|
65
|
-
String,
|
|
66
|
-
Number,
|
|
67
|
-
null,
|
|
68
|
-
Boolean,
|
|
69
|
-
Array
|
|
70
|
-
],
|
|
71
|
-
required: false,
|
|
72
|
-
default: void 0
|
|
73
|
-
},
|
|
74
|
-
layout: {
|
|
75
|
-
type: String,
|
|
76
|
-
required: false
|
|
77
|
-
},
|
|
78
|
-
trend: {
|
|
79
|
-
type: String,
|
|
80
|
-
required: false
|
|
81
|
-
},
|
|
82
34
|
formatter: {
|
|
83
35
|
type: [
|
|
84
36
|
Boolean,
|
|
@@ -176,6 +128,54 @@ const Statistic = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
176
128
|
onMouseleave: {
|
|
177
129
|
type: Function,
|
|
178
130
|
required: false
|
|
131
|
+
},
|
|
132
|
+
description: {
|
|
133
|
+
type: [
|
|
134
|
+
Object,
|
|
135
|
+
Function,
|
|
136
|
+
String,
|
|
137
|
+
Number,
|
|
138
|
+
null,
|
|
139
|
+
Boolean,
|
|
140
|
+
Array
|
|
141
|
+
],
|
|
142
|
+
required: false,
|
|
143
|
+
default: void 0
|
|
144
|
+
},
|
|
145
|
+
tooltip: {
|
|
146
|
+
type: [
|
|
147
|
+
Object,
|
|
148
|
+
Function,
|
|
149
|
+
String,
|
|
150
|
+
Number,
|
|
151
|
+
null,
|
|
152
|
+
Boolean,
|
|
153
|
+
Array
|
|
154
|
+
],
|
|
155
|
+
required: false,
|
|
156
|
+
default: void 0
|
|
157
|
+
},
|
|
158
|
+
status: { required: false },
|
|
159
|
+
icon: {
|
|
160
|
+
type: [
|
|
161
|
+
Object,
|
|
162
|
+
Function,
|
|
163
|
+
String,
|
|
164
|
+
Number,
|
|
165
|
+
null,
|
|
166
|
+
Boolean,
|
|
167
|
+
Array
|
|
168
|
+
],
|
|
169
|
+
required: false,
|
|
170
|
+
default: void 0
|
|
171
|
+
},
|
|
172
|
+
layout: {
|
|
173
|
+
type: String,
|
|
174
|
+
required: false
|
|
175
|
+
},
|
|
176
|
+
trend: {
|
|
177
|
+
type: String,
|
|
178
|
+
required: false
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
name: "Statistic",
|
|
@@ -1,27 +1,67 @@
|
|
|
1
|
+
import { CollapsibleType } from "../../typing.js";
|
|
1
2
|
import { ProCardProps } from "../../ProCard.js";
|
|
2
|
-
import Statistic, { StatisticProps } from "../Statistic/index.js";
|
|
3
|
+
import Statistic$1, { StatisticProps as StatisticProps$1 } from "../Statistic/index.js";
|
|
3
4
|
import * as _$vue from "vue";
|
|
4
5
|
import { VNode } from "vue";
|
|
5
6
|
import { VueNode } from "@v-c/util";
|
|
7
|
+
import * as _$antdv_next0 from "antdv-next";
|
|
8
|
+
import * as _$antdv_next_dist_form_FormItemLabel0 from "antdv-next/dist/form/FormItemLabel";
|
|
6
9
|
import { CustomSlotsType } from "@v-c/util/dist/type";
|
|
10
|
+
import * as _$antdv_next_dist_grid_row0 from "antdv-next/dist/grid/row";
|
|
7
11
|
|
|
8
12
|
//#region src/components/StatisticCard/index.d.ts
|
|
9
|
-
|
|
10
|
-
/** 图表配置 */
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
statistic?: StatisticProps;
|
|
14
|
-
/** Chart 相对于 statistic 的位置 */
|
|
15
|
-
chartPlacement?: 'right' | 'bottom' | 'left';
|
|
16
|
-
/** 底部额外展示区域 */
|
|
13
|
+
type StatisticCardProps = ProCardProps & {
|
|
14
|
+
/** 图表配置 */chart?: VueNode; /** 数值统计配置 */
|
|
15
|
+
statistic?: StatisticProps$1; /** Chart 相对于 statistic 的位置 */
|
|
16
|
+
chartPlacement?: 'right' | 'bottom' | 'left'; /** 底部额外展示区域 */
|
|
17
17
|
footer?: VueNode;
|
|
18
|
-
}
|
|
18
|
+
};
|
|
19
19
|
declare const _StatisticCard: _$vue.DefineSetupFnComponent<StatisticCardProps, {}, CustomSlotsType<{
|
|
20
20
|
default?: () => VNode[];
|
|
21
|
-
}>,
|
|
21
|
+
}>, _$antdv_next0.CardProps & _$antdv_next0.RowProps & {
|
|
22
|
+
tooltip?: _$antdv_next_dist_form_FormItemLabel0.FormItemTooltipType;
|
|
23
|
+
split?: "vertical" | "horizontal";
|
|
24
|
+
direction?: "column" | "row";
|
|
25
|
+
gutter?: _$antdv_next_dist_grid_row0.Gutter | [_$antdv_next_dist_grid_row0.Gutter, _$antdv_next_dist_grid_row0.Gutter];
|
|
26
|
+
colStyle?: _$vue.CSSProperties;
|
|
27
|
+
borderBeam?: _$antdv_next0.BorderBeamProps | boolean;
|
|
28
|
+
layout?: "default" | "center";
|
|
29
|
+
boxShadow?: boolean;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
headerBordered?: boolean;
|
|
32
|
+
ghost?: boolean;
|
|
33
|
+
collapsible?: CollapsibleType;
|
|
34
|
+
collapsibleIconRender?: ({
|
|
35
|
+
collapsed
|
|
36
|
+
}: {
|
|
37
|
+
collapsed: boolean;
|
|
38
|
+
}) => VueNode;
|
|
39
|
+
defaultCollapsed?: boolean;
|
|
40
|
+
onCollapse?: (collapsed: boolean) => void;
|
|
41
|
+
checked?: boolean;
|
|
42
|
+
onChecked?: (e: MouseEvent) => void;
|
|
43
|
+
colSpan?: _$antdv_next0.ColProps["span"];
|
|
44
|
+
colOffset?: _$antdv_next0.ColProps["offset"];
|
|
45
|
+
colFlex?: _$antdv_next0.ColProps["flex"];
|
|
46
|
+
colOrder?: _$antdv_next0.ColProps["order"];
|
|
47
|
+
colPull?: _$antdv_next0.ColProps["pull"];
|
|
48
|
+
colPush?: _$antdv_next0.ColProps["push"];
|
|
49
|
+
colXs?: _$antdv_next0.ColProps["xs"];
|
|
50
|
+
colSm?: _$antdv_next0.ColProps["sm"];
|
|
51
|
+
colMd?: _$antdv_next0.ColProps["md"];
|
|
52
|
+
colLg?: _$antdv_next0.ColProps["lg"];
|
|
53
|
+
colXl?: _$antdv_next0.ColProps["xl"];
|
|
54
|
+
colXxl?: _$antdv_next0.ColProps["xxl"];
|
|
55
|
+
onClick?: (e: MouseEvent) => void;
|
|
56
|
+
} & {
|
|
57
|
+
/** 图表配置 */chart?: VueNode; /** 数值统计配置 */
|
|
58
|
+
statistic?: StatisticProps$1; /** Chart 相对于 statistic 的位置 */
|
|
59
|
+
chartPlacement?: "right" | "bottom" | "left"; /** 底部额外展示区域 */
|
|
60
|
+
footer?: VueNode;
|
|
61
|
+
} & {}, _$vue.PublicProps>;
|
|
22
62
|
declare const StatisticCard: typeof _StatisticCard & {
|
|
23
63
|
isProCard?: boolean;
|
|
24
|
-
Statistic?: typeof Statistic;
|
|
64
|
+
Statistic?: typeof Statistic$1;
|
|
25
65
|
};
|
|
26
66
|
//#endregion
|
|
27
67
|
export { StatisticCardProps, StatisticCard as default };
|
|
@@ -30,61 +30,137 @@ const StatisticCard = /* @__PURE__ */ defineComponent((props, { attrs, slots })
|
|
|
30
30
|
};
|
|
31
31
|
}, {
|
|
32
32
|
props: {
|
|
33
|
-
|
|
33
|
+
title: {
|
|
34
34
|
type: [
|
|
35
|
+
Function,
|
|
36
|
+
String,
|
|
37
|
+
Number,
|
|
38
|
+
null,
|
|
35
39
|
Object,
|
|
40
|
+
Boolean
|
|
41
|
+
],
|
|
42
|
+
required: false,
|
|
43
|
+
default: void 0
|
|
44
|
+
},
|
|
45
|
+
extra: {
|
|
46
|
+
type: [
|
|
36
47
|
Function,
|
|
37
48
|
String,
|
|
38
49
|
Number,
|
|
39
50
|
null,
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
Object,
|
|
52
|
+
Boolean
|
|
42
53
|
],
|
|
43
54
|
required: false,
|
|
44
55
|
default: void 0
|
|
45
56
|
},
|
|
46
|
-
|
|
57
|
+
bordered: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
required: false,
|
|
60
|
+
default: void 0
|
|
61
|
+
},
|
|
62
|
+
headStyle: {
|
|
47
63
|
type: Object,
|
|
48
64
|
required: false
|
|
49
65
|
},
|
|
50
|
-
|
|
66
|
+
bodyStyle: {
|
|
67
|
+
type: Object,
|
|
68
|
+
required: false
|
|
69
|
+
},
|
|
70
|
+
loading: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
required: false,
|
|
73
|
+
default: void 0
|
|
74
|
+
},
|
|
75
|
+
hoverable: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
required: false,
|
|
78
|
+
default: void 0
|
|
79
|
+
},
|
|
80
|
+
id: {
|
|
51
81
|
type: String,
|
|
52
82
|
required: false
|
|
53
83
|
},
|
|
54
|
-
|
|
84
|
+
size: {
|
|
85
|
+
type: String,
|
|
86
|
+
required: false
|
|
87
|
+
},
|
|
88
|
+
type: {
|
|
89
|
+
type: String,
|
|
90
|
+
required: false
|
|
91
|
+
},
|
|
92
|
+
cover: {
|
|
55
93
|
type: [
|
|
56
|
-
Object,
|
|
57
94
|
Function,
|
|
58
95
|
String,
|
|
59
96
|
Number,
|
|
60
97
|
null,
|
|
61
|
-
|
|
62
|
-
|
|
98
|
+
Object,
|
|
99
|
+
Boolean
|
|
63
100
|
],
|
|
64
101
|
required: false,
|
|
65
102
|
default: void 0
|
|
66
103
|
},
|
|
67
|
-
|
|
104
|
+
actions: {
|
|
105
|
+
type: Array,
|
|
106
|
+
required: false
|
|
107
|
+
},
|
|
108
|
+
tabList: {
|
|
109
|
+
type: Array,
|
|
110
|
+
required: false
|
|
111
|
+
},
|
|
112
|
+
tabBarExtraContent: {
|
|
68
113
|
type: [
|
|
69
|
-
Object,
|
|
70
114
|
Function,
|
|
71
115
|
String,
|
|
72
116
|
Number,
|
|
73
117
|
null,
|
|
74
|
-
|
|
75
|
-
|
|
118
|
+
Object,
|
|
119
|
+
Boolean
|
|
76
120
|
],
|
|
77
121
|
required: false,
|
|
78
122
|
default: void 0
|
|
79
123
|
},
|
|
80
|
-
|
|
124
|
+
activeTabKey: {
|
|
81
125
|
type: String,
|
|
82
126
|
required: false
|
|
83
127
|
},
|
|
84
|
-
|
|
128
|
+
defaultActiveTabKey: {
|
|
129
|
+
type: String,
|
|
130
|
+
required: false
|
|
131
|
+
},
|
|
132
|
+
tabProps: {
|
|
133
|
+
type: Object,
|
|
134
|
+
required: false
|
|
135
|
+
},
|
|
136
|
+
classes: {
|
|
137
|
+
type: [Object, Function],
|
|
138
|
+
required: false
|
|
139
|
+
},
|
|
140
|
+
styles: {
|
|
141
|
+
type: [Object, Function],
|
|
142
|
+
required: false
|
|
143
|
+
},
|
|
144
|
+
variant: {
|
|
145
|
+
type: String,
|
|
146
|
+
required: false
|
|
147
|
+
},
|
|
148
|
+
rootClass: {
|
|
85
149
|
type: String,
|
|
86
150
|
required: false
|
|
87
151
|
},
|
|
152
|
+
prefixCls: {
|
|
153
|
+
type: String,
|
|
154
|
+
required: false
|
|
155
|
+
},
|
|
156
|
+
onTabChange: {
|
|
157
|
+
type: Function,
|
|
158
|
+
required: false
|
|
159
|
+
},
|
|
160
|
+
"onUpdate:activeTabKey": {
|
|
161
|
+
type: Function,
|
|
162
|
+
required: false
|
|
163
|
+
},
|
|
88
164
|
gutter: {
|
|
89
165
|
type: [
|
|
90
166
|
Number,
|
|
@@ -94,6 +170,39 @@ const StatisticCard = /* @__PURE__ */ defineComponent((props, { attrs, slots })
|
|
|
94
170
|
],
|
|
95
171
|
required: false
|
|
96
172
|
},
|
|
173
|
+
align: {
|
|
174
|
+
type: [String, Object],
|
|
175
|
+
required: false
|
|
176
|
+
},
|
|
177
|
+
justify: {
|
|
178
|
+
type: [String, Object],
|
|
179
|
+
required: false
|
|
180
|
+
},
|
|
181
|
+
wrap: {
|
|
182
|
+
type: Boolean,
|
|
183
|
+
required: false,
|
|
184
|
+
default: void 0
|
|
185
|
+
},
|
|
186
|
+
tooltip: {
|
|
187
|
+
type: [
|
|
188
|
+
Object,
|
|
189
|
+
Function,
|
|
190
|
+
String,
|
|
191
|
+
Number,
|
|
192
|
+
null,
|
|
193
|
+
Boolean
|
|
194
|
+
],
|
|
195
|
+
required: false,
|
|
196
|
+
default: void 0
|
|
197
|
+
},
|
|
198
|
+
split: {
|
|
199
|
+
type: String,
|
|
200
|
+
required: false
|
|
201
|
+
},
|
|
202
|
+
direction: {
|
|
203
|
+
type: String,
|
|
204
|
+
required: false
|
|
205
|
+
},
|
|
97
206
|
colStyle: {
|
|
98
207
|
type: Object,
|
|
99
208
|
required: false
|
|
@@ -132,11 +241,6 @@ const StatisticCard = /* @__PURE__ */ defineComponent((props, { attrs, slots })
|
|
|
132
241
|
required: false,
|
|
133
242
|
default: void 0
|
|
134
243
|
},
|
|
135
|
-
collapsed: {
|
|
136
|
-
type: Boolean,
|
|
137
|
-
required: false,
|
|
138
|
-
default: void 0
|
|
139
|
-
},
|
|
140
244
|
collapsibleIconRender: {
|
|
141
245
|
type: Function,
|
|
142
246
|
required: false
|
|
@@ -175,149 +279,39 @@ const StatisticCard = /* @__PURE__ */ defineComponent((props, { attrs, slots })
|
|
|
175
279
|
type: Function,
|
|
176
280
|
required: false
|
|
177
281
|
},
|
|
178
|
-
|
|
282
|
+
chart: {
|
|
179
283
|
type: [
|
|
180
|
-
Function,
|
|
181
|
-
String,
|
|
182
|
-
Number,
|
|
183
|
-
null,
|
|
184
284
|
Object,
|
|
185
|
-
Boolean
|
|
186
|
-
],
|
|
187
|
-
required: false,
|
|
188
|
-
default: void 0
|
|
189
|
-
},
|
|
190
|
-
extra: {
|
|
191
|
-
type: [
|
|
192
285
|
Function,
|
|
193
286
|
String,
|
|
194
287
|
Number,
|
|
195
288
|
null,
|
|
196
|
-
|
|
197
|
-
|
|
289
|
+
Boolean,
|
|
290
|
+
Array
|
|
198
291
|
],
|
|
199
292
|
required: false,
|
|
200
293
|
default: void 0
|
|
201
294
|
},
|
|
202
|
-
|
|
203
|
-
type: Boolean,
|
|
204
|
-
required: false,
|
|
205
|
-
default: void 0
|
|
206
|
-
},
|
|
207
|
-
headStyle: {
|
|
208
|
-
type: Object,
|
|
209
|
-
required: false
|
|
210
|
-
},
|
|
211
|
-
bodyStyle: {
|
|
295
|
+
statistic: {
|
|
212
296
|
type: Object,
|
|
213
297
|
required: false
|
|
214
298
|
},
|
|
215
|
-
|
|
216
|
-
type: Boolean,
|
|
217
|
-
required: false,
|
|
218
|
-
default: void 0
|
|
219
|
-
},
|
|
220
|
-
hoverable: {
|
|
221
|
-
type: Boolean,
|
|
222
|
-
required: false,
|
|
223
|
-
default: void 0
|
|
224
|
-
},
|
|
225
|
-
id: {
|
|
226
|
-
type: String,
|
|
227
|
-
required: false
|
|
228
|
-
},
|
|
229
|
-
size: {
|
|
230
|
-
type: String,
|
|
231
|
-
required: false
|
|
232
|
-
},
|
|
233
|
-
type: {
|
|
299
|
+
chartPlacement: {
|
|
234
300
|
type: String,
|
|
235
301
|
required: false
|
|
236
302
|
},
|
|
237
|
-
|
|
303
|
+
footer: {
|
|
238
304
|
type: [
|
|
239
|
-
Function,
|
|
240
|
-
String,
|
|
241
|
-
Number,
|
|
242
|
-
null,
|
|
243
305
|
Object,
|
|
244
|
-
Boolean
|
|
245
|
-
],
|
|
246
|
-
required: false,
|
|
247
|
-
default: void 0
|
|
248
|
-
},
|
|
249
|
-
actions: {
|
|
250
|
-
type: Array,
|
|
251
|
-
required: false
|
|
252
|
-
},
|
|
253
|
-
tabList: {
|
|
254
|
-
type: Array,
|
|
255
|
-
required: false
|
|
256
|
-
},
|
|
257
|
-
tabBarExtraContent: {
|
|
258
|
-
type: [
|
|
259
306
|
Function,
|
|
260
307
|
String,
|
|
261
308
|
Number,
|
|
262
309
|
null,
|
|
263
|
-
|
|
264
|
-
|
|
310
|
+
Boolean,
|
|
311
|
+
Array
|
|
265
312
|
],
|
|
266
313
|
required: false,
|
|
267
314
|
default: void 0
|
|
268
|
-
},
|
|
269
|
-
activeTabKey: {
|
|
270
|
-
type: String,
|
|
271
|
-
required: false
|
|
272
|
-
},
|
|
273
|
-
defaultActiveTabKey: {
|
|
274
|
-
type: String,
|
|
275
|
-
required: false
|
|
276
|
-
},
|
|
277
|
-
tabProps: {
|
|
278
|
-
type: Object,
|
|
279
|
-
required: false
|
|
280
|
-
},
|
|
281
|
-
classes: {
|
|
282
|
-
type: [Object, Function],
|
|
283
|
-
required: false
|
|
284
|
-
},
|
|
285
|
-
styles: {
|
|
286
|
-
type: [Object, Function],
|
|
287
|
-
required: false
|
|
288
|
-
},
|
|
289
|
-
variant: {
|
|
290
|
-
type: String,
|
|
291
|
-
required: false
|
|
292
|
-
},
|
|
293
|
-
rootClass: {
|
|
294
|
-
type: String,
|
|
295
|
-
required: false
|
|
296
|
-
},
|
|
297
|
-
prefixCls: {
|
|
298
|
-
type: String,
|
|
299
|
-
required: false
|
|
300
|
-
},
|
|
301
|
-
onTabChange: {
|
|
302
|
-
type: Function,
|
|
303
|
-
required: false
|
|
304
|
-
},
|
|
305
|
-
"onUpdate:activeTabKey": {
|
|
306
|
-
type: Function,
|
|
307
|
-
required: false
|
|
308
|
-
},
|
|
309
|
-
align: {
|
|
310
|
-
type: [String, Object],
|
|
311
|
-
required: false
|
|
312
|
-
},
|
|
313
|
-
justify: {
|
|
314
|
-
type: [String, Object],
|
|
315
|
-
required: false
|
|
316
|
-
},
|
|
317
|
-
wrap: {
|
|
318
|
-
type: Boolean,
|
|
319
|
-
required: false,
|
|
320
|
-
default: void 0
|
|
321
315
|
}
|
|
322
316
|
},
|
|
323
317
|
name: "StatisticCard",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ProCard, { ProCardProps } from "./ProCard.js";
|
|
2
|
-
import ProCheckCardGroup, { ProCheckCardGroupProps } from "./components/CheckCard/Group.js";
|
|
2
|
+
import ProCheckCardGroup, { CheckCardGroupContextType, CheckCardItemGroupType, CheckCardItemType, CheckCardOptionType, CheckCardValueType, CheckGroupValueType, ProCheckCardGroupProps } from "./components/CheckCard/Group.js";
|
|
3
3
|
import ProCheckCard, { ProCheckCardProps } from "./components/CheckCard/CheckCard.js";
|
|
4
4
|
import Statistic, { StatisticProps } from "./components/Statistic/index.js";
|
|
5
5
|
import StatisticCard, { StatisticCardProps } from "./components/StatisticCard/index.js";
|
|
6
|
-
export { ProCard, type ProCardProps, ProCheckCard, ProCheckCardGroup, type ProCheckCardGroupProps, type ProCheckCardProps, Statistic, StatisticCard, type StatisticCardProps, type StatisticProps, ProCard as default };
|
|
6
|
+
export { type CheckCardGroupContextType, type CheckCardItemGroupType, type CheckCardItemType, type CheckCardOptionType, type CheckCardValueType, type CheckGroupValueType, ProCard, type ProCardProps, ProCheckCard, ProCheckCardGroup, type ProCheckCardGroupProps, type ProCheckCardProps, Statistic, StatisticCard, type StatisticCardProps, type StatisticProps, ProCard as default };
|