mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5066
This commit is contained in:
parent
8945d848d1
commit
3454ad0efd
4 changed files with 96 additions and 54 deletions
30
components/lib/metergroup/MeterGroup.d.ts
vendored
30
components/lib/metergroup/MeterGroup.d.ts
vendored
|
@ -116,6 +116,10 @@ export interface MeterItemOptions {
|
|||
* Current color of the meter item.
|
||||
*/
|
||||
color: string;
|
||||
/**
|
||||
* Current icon of the meter item.
|
||||
*/
|
||||
icon: string;
|
||||
/**
|
||||
* Optional keys.
|
||||
*/
|
||||
|
@ -187,7 +191,11 @@ export interface MeterGroupSlots {
|
|||
/**
|
||||
* Total percent of the metergroup items
|
||||
*/
|
||||
totalPercent: string;
|
||||
totalPercent: number;
|
||||
/**
|
||||
* Array of sequential sum of values of metergroup items
|
||||
*/
|
||||
percentages: number[];
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom meter template.
|
||||
|
@ -212,15 +220,11 @@ export interface MeterGroupSlots {
|
|||
/**
|
||||
* Current width of the meter item
|
||||
*/
|
||||
width: string;
|
||||
/**
|
||||
* Current height of the meter item
|
||||
*/
|
||||
height: string;
|
||||
size: string;
|
||||
/**
|
||||
* Total percent of the metergroup items
|
||||
*/
|
||||
totalPercent: string;
|
||||
totalPercent: number;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom icon template.
|
||||
|
@ -246,7 +250,11 @@ export interface MeterGroupSlots {
|
|||
/**
|
||||
* Total percent of the metergroup items
|
||||
*/
|
||||
totalPercent: string;
|
||||
totalPercent: number;
|
||||
/**
|
||||
* Array of sequential sum of values of metergroup items
|
||||
*/
|
||||
percentages: number[];
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom end template.
|
||||
|
@ -259,7 +267,11 @@ export interface MeterGroupSlots {
|
|||
/**
|
||||
* Total percent of the metergroup items
|
||||
*/
|
||||
totalPercent: string;
|
||||
totalPercent: number;
|
||||
/**
|
||||
* Array of sequential sum of values of metergroup items
|
||||
*/
|
||||
percentages: number[];
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue