This commit is contained in:
tugcekucukoglu 2024-01-18 15:53:33 +03:00
parent 8945d848d1
commit 3454ad0efd
4 changed files with 96 additions and 54 deletions

View file

@ -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[];
}