1 | import { VNodeTypes, PropType, VNode } from 'vue';
|
2 | export interface CardTabListType {
|
3 | key: string;
|
4 | tab: VNodeTypes;
|
5 | slots?: {
|
6 | tab: string;
|
7 | };
|
8 | disabled?: boolean;
|
9 | }
|
10 | export declare type CardType = 'inner';
|
11 | declare const Card: import("vue").DefineComponent<{
|
12 | prefixCls: import("vue-types").VueTypeValidableDef<string> & {
|
13 | default: string;
|
14 | };
|
15 | title: import("vue-types").VueTypeValidableDef<import("../_util/type").VueNode>;
|
16 | extra: import("vue-types").VueTypeValidableDef<import("../_util/type").VueNode>;
|
17 | bordered: import("vue-types").VueTypeValidableDef<boolean> & {
|
18 | default: boolean;
|
19 | };
|
20 | bodyStyle: import("vue-types").VueTypeValidableDef<import("vue").CSSProperties>;
|
21 | headStyle: import("vue-types").VueTypeValidableDef<import("vue").CSSProperties>;
|
22 | loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
23 | default: boolean;
|
24 | };
|
25 | hoverable: import("vue-types").VueTypeValidableDef<boolean> & {
|
26 | default: boolean;
|
27 | };
|
28 | type: import("vue-types").VueTypeValidableDef<string> & {
|
29 | default: string;
|
30 | };
|
31 | size: import("vue-types").VueTypeDef<"default" | "small">;
|
32 | actions: import("vue-types").VueTypeValidableDef<import("../_util/type").VueNode>;
|
33 | tabList: {
|
34 | type: PropType<CardTabListType[]>;
|
35 | };
|
36 | tabBarExtraContent: import("vue-types").VueTypeValidableDef<import("../_util/type").VueNode>;
|
37 | activeTabKey: import("vue-types").VueTypeValidableDef<string> & {
|
38 | default: string;
|
39 | };
|
40 | defaultActiveTabKey: import("vue-types").VueTypeValidableDef<string> & {
|
41 | default: string;
|
42 | };
|
43 | cover: import("vue-types").VueTypeValidableDef<import("../_util/type").VueNode>;
|
44 | onTabChange: {
|
45 | type: PropType<(key: string) => void>;
|
46 | };
|
47 | }, {
|
48 | configProvider: import("../config-provider").ConfigConsumerProps;
|
49 | }, {
|
50 | widerPadding: boolean;
|
51 | }, {}, {
|
52 | getAction(actions: VNodeTypes[]): JSX.Element[];
|
53 | triggerTabChange(key: string): void;
|
54 | isContainGrid(obj?: VNode[]): boolean;
|
55 | }, {
|
56 | methods: {
|
57 | setState(state: {}, callback: any): void;
|
58 | __emit(...args: any[]): void;
|
59 | };
|
60 | }, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
61 | prefixCls: string;
|
62 | type: string;
|
63 | loading: boolean;
|
64 | bordered: boolean;
|
65 | hoverable: boolean;
|
66 | activeTabKey: string;
|
67 | defaultActiveTabKey: string;
|
68 | } & {
|
69 | title?: import("../_util/type").VueNode;
|
70 | cover?: import("../_util/type").VueNode;
|
71 | size?: "default" | "small";
|
72 | bodyStyle?: import("vue").CSSProperties;
|
73 | tabBarExtraContent?: import("../_util/type").VueNode;
|
74 | extra?: import("../_util/type").VueNode;
|
75 | headStyle?: import("vue").CSSProperties;
|
76 | actions?: import("../_util/type").VueNode;
|
77 | tabList?: CardTabListType[];
|
78 | onTabChange?: (key: string) => void;
|
79 | }>, {
|
80 | prefixCls: string;
|
81 | type: string;
|
82 | loading: boolean;
|
83 | bordered: boolean;
|
84 | hoverable: boolean;
|
85 | activeTabKey: string;
|
86 | defaultActiveTabKey: string;
|
87 | }>;
|
88 | export default Card;
|