xqq_ele
Version:
框架
99 lines (98 loc) • 2.28 kB
TypeScript
import { PropType } from "vue";
import { PropData, ComponentData } from "./type";
declare const CardMetricsProps: {
width: {
type: NumberConstructor;
default: number;
};
height: {
type: NumberConstructor;
default: number;
};
data: {
type: PropType<Omit<ComponentData, "idx">[]>;
default: PropData[];
};
numberOfRow: {
type: PropType<number[]>;
default: number[];
};
gap: {
type: ArrayConstructor;
default: number[];
};
textStyle: {
type: ObjectConstructor;
default: {
fontSize: string;
fontWeight: number;
colorType: string;
color: string;
colors: string[];
textAlign: string;
};
};
valueStyle: {
type: ObjectConstructor;
default: {
fontSize: string;
fontWeight: number;
colorType: string;
color: string;
colors: string[];
textAlign: string;
};
};
splitTotalStyle: {
type: ObjectConstructor;
default: {
show: boolean;
fontSize: string;
fontWeight: number;
color: string;
};
};
unitStyle: {
type: ObjectConstructor;
default: {
show: boolean;
fontSize: string;
fontWeight: number;
color: string;
};
};
totalStyle: {
type: ObjectConstructor;
default: {
show: boolean;
fontSize: string;
fontWeight: number;
color: string;
};
};
borderStyle: {
type: ObjectConstructor;
default: {
show: boolean;
borderRadius: string;
};
};
backgroundValueStyle: {
type: ObjectConstructor;
default: {
isLinear: boolean;
colorType: string;
colors: string[];
color: string;
};
};
backgroundTextStyle: {
type: ObjectConstructor;
default: {
colorType: string;
colors: string[];
color: string;
};
};
};
export default CardMetricsProps;