2019-05-25 17:18:04 +08:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2019-09-18 20:03:13 +08:00
|
|
|
import { AntdComponent } from '../component';
|
2019-05-25 18:02:44 +08:00
|
|
|
import { VNode } from 'vue';
|
2019-11-04 16:53:34 +08:00
|
|
|
import { StatisticCountdown } from './statistic-countdown';
|
2019-05-25 17:18:04 +08:00
|
|
|
|
|
|
|
export declare class Statistic extends AntdComponent {
|
2019-11-04 16:53:34 +08:00
|
|
|
static Countdown: typeof StatisticCountdown;
|
2019-05-25 17:18:04 +08:00
|
|
|
/**
|
2019-05-25 18:02:44 +08:00
|
|
|
* decimal separator
|
|
|
|
* @default '.'
|
2019-05-25 17:18:04 +08:00
|
|
|
* @type string
|
|
|
|
*/
|
2019-05-25 18:02:44 +08:00
|
|
|
decimalSeparator: string;
|
2019-05-25 17:18:04 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* the shape of statistic
|
|
|
|
* @type string
|
|
|
|
*/
|
2019-05-25 18:02:44 +08:00
|
|
|
formatter: () => VNode;
|
2019-05-25 17:18:04 +08:00
|
|
|
|
|
|
|
/**
|
2019-05-25 18:02:44 +08:00
|
|
|
* group separator
|
|
|
|
* @default ','
|
|
|
|
* @type string
|
2019-05-25 17:18:04 +08:00
|
|
|
*/
|
2019-05-25 18:02:44 +08:00
|
|
|
groupSeparator: string;
|
2019-05-25 17:18:04 +08:00
|
|
|
|
|
|
|
/**
|
2019-05-25 18:02:44 +08:00
|
|
|
* precision of input value
|
|
|
|
* @type number
|
2019-05-25 17:18:04 +08:00
|
|
|
*/
|
2019-05-25 18:02:44 +08:00
|
|
|
precision: number;
|
2019-05-25 17:18:04 +08:00
|
|
|
|
|
|
|
/**
|
2019-05-25 18:02:44 +08:00
|
|
|
* prefix node of value
|
|
|
|
* @type string | VNode
|
2019-05-25 17:18:04 +08:00
|
|
|
*/
|
2019-05-25 18:02:44 +08:00
|
|
|
prefix: string | VNode;
|
2019-05-25 17:18:04 +08:00
|
|
|
|
|
|
|
/**
|
2019-05-25 18:02:44 +08:00
|
|
|
* suffix node of value
|
|
|
|
* @type string | VNode
|
2019-05-25 17:18:04 +08:00
|
|
|
*/
|
2019-05-28 11:37:38 +08:00
|
|
|
suffix: string | VNode;
|
2019-05-25 17:18:04 +08:00
|
|
|
|
|
|
|
/**
|
2019-05-25 18:02:44 +08:00
|
|
|
* Display title
|
|
|
|
* @type string | VNode
|
2019-05-25 17:18:04 +08:00
|
|
|
*/
|
2019-05-25 18:02:44 +08:00
|
|
|
title: string | VNode;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Display value
|
|
|
|
* @type string or number
|
|
|
|
*/
|
|
|
|
value: string | number;
|
2019-05-25 17:18:04 +08:00
|
|
|
}
|