@antdv-next1/pro-card 1.0.3 → 2.0.0
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/components/CheckCard/CheckCard.d.ts +1 -1
- package/dist/components/CheckCard/CheckCard.js +4 -1
- package/dist/components/Statistic/index.d.ts +4 -2
- package/dist/components/StatisticCard/style/index.js +1 -1
- package/dist/pro-card.esm.js +3486 -3391
- package/dist/pro-card.js +27 -27
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ declare const _ProCheckCard: _$vue.DefineSetupFnComponent<ProCheckCardProps, {},
|
|
|
26
26
|
extra?: () => VNode[];
|
|
27
27
|
cover?: () => VNode[];
|
|
28
28
|
description?: () => VNode[];
|
|
29
|
-
}>, CardMetaProps & Omit<CardProps, "size" | "title" | "
|
|
29
|
+
}>, CardMetaProps & Omit<CardProps, "size" | "title" | "headStyle" | "bodyStyle" | "type" | "tabList" | "tabBarExtraContent" | "activeTabKey" | "defaultActiveTabKey" | "onTabChange"> & {
|
|
30
30
|
/** 边框流光 */borderBeam?: BorderBeamProps | boolean;
|
|
31
31
|
size?: CardProps["size"] | "large";
|
|
32
32
|
checked?: boolean;
|
|
@@ -214,7 +214,10 @@ const ProCheckCard = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =
|
|
|
214
214
|
required: false,
|
|
215
215
|
default: void 0
|
|
216
216
|
},
|
|
217
|
-
size: {
|
|
217
|
+
size: {
|
|
218
|
+
type: String,
|
|
219
|
+
required: false
|
|
220
|
+
},
|
|
218
221
|
checked: {
|
|
219
222
|
type: Boolean,
|
|
220
223
|
required: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _$vue from "vue";
|
|
2
2
|
import { VNode } from "vue";
|
|
3
3
|
import { VueNode } from "@v-c/util";
|
|
4
|
-
import { BadgeProps, StatisticProps as StatisticProps$1 } from "antdv-next";
|
|
4
|
+
import { BadgeProps, StatisticProps as StatisticProps$1, TooltipProps } from "antdv-next";
|
|
5
5
|
import { CustomSlotsType } from "@v-c/util/dist/type";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Statistic/index.d.ts
|
|
@@ -9,7 +9,9 @@ interface StatisticProps extends StatisticProps$1 {
|
|
|
9
9
|
/** 描述性标签 */
|
|
10
10
|
description?: VueNode;
|
|
11
11
|
/** 标题提示 */
|
|
12
|
-
tooltip?:
|
|
12
|
+
tooltip?: TooltipProps & {
|
|
13
|
+
icon?: VueNode;
|
|
14
|
+
} | VueNode;
|
|
13
15
|
/** 当前项显示的状态 */
|
|
14
16
|
status?: BadgeProps['status'];
|
|
15
17
|
/** Icon 图标 */
|