@antdv-next1/pro-card 2.0.5 → 2.0.6

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/ProCard.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import useStyle from "./style/index.js";
2
2
  import { Fragment, computed, createTextVNode, createVNode, defineComponent, isVNode, mergeProps, ref, watch } from "vue";
3
- import { InfoCircleOutlined } from "@antdv-next/icons";
4
3
  import { childrenToArray, isSpecialNode } from "@antdv-next1/pro-utils";
4
+ import { InfoCircleOutlined } from "@antdv-next/icons";
5
5
  import { classNames } from "@v-c/util";
6
6
  import { BorderBeam, Card, Col, Collapse, Row, Tooltip, useBreakpoint } from "antdv-next";
7
7
  import { responsiveArray } from "antdv-next/dist/_util/responsiveObserver";
@@ -180,7 +180,19 @@ const ProCard = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
180
180
  };
181
181
  }, {
182
182
  props: {
183
- tooltip: { required: false },
183
+ tooltip: {
184
+ type: [
185
+ Object,
186
+ Function,
187
+ String,
188
+ Number,
189
+ null,
190
+ Boolean,
191
+ Array
192
+ ],
193
+ required: false,
194
+ default: void 0
195
+ },
184
196
  split: {
185
197
  type: String,
186
198
  required: false
@@ -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" | "onTabChange" | "activeTabKey" | "defaultActiveTabKey" | "headStyle" | "bodyStyle" | "tabBarExtraContent" | "tabList" | "type"> & {
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: { required: false },
217
+ size: {
218
+ type: String,
219
+ required: false
220
+ },
218
221
  checked: {
219
222
  type: Boolean,
220
223
  required: false,
@@ -64,7 +64,19 @@ const StatisticCard = /* @__PURE__ */ defineComponent((props, { attrs, slots })
64
64
  required: false,
65
65
  default: void 0
66
66
  },
67
- tooltip: { required: false },
67
+ tooltip: {
68
+ type: [
69
+ Object,
70
+ Function,
71
+ String,
72
+ Number,
73
+ null,
74
+ Boolean,
75
+ Array
76
+ ],
77
+ required: false,
78
+ default: void 0
79
+ },
68
80
  split: {
69
81
  type: String,
70
82
  required: false