2024-01-11 13:42:20 +00:00
|
|
|
import BaseStyle from 'primevue/base/style';
|
|
|
|
|
|
|
|
const classes = {
|
2024-01-18 12:53:33 +00:00
|
|
|
root: ({ props }) => [
|
2024-01-11 13:42:20 +00:00
|
|
|
'p-metergroup p-component',
|
|
|
|
{
|
2024-01-18 12:53:33 +00:00
|
|
|
'p-metergroup-horizontal': props.orientation === 'horizontal',
|
|
|
|
'p-metergroup-vertical': props.orientation === 'vertical'
|
2024-01-11 13:42:20 +00:00
|
|
|
}
|
|
|
|
],
|
2024-02-04 16:11:37 +00:00
|
|
|
metercontainer: 'p-metergroup-meters',
|
2024-01-11 13:42:20 +00:00
|
|
|
meter: 'p-metergroup-meter',
|
2024-01-18 12:53:33 +00:00
|
|
|
labellist: ({ props }) => [
|
2024-04-08 11:13:22 +00:00
|
|
|
'p-metergroup-label-list',
|
2024-01-11 13:42:20 +00:00
|
|
|
{
|
2024-04-08 11:13:22 +00:00
|
|
|
'p-metergroup-label-list-vertical': props.labelOrientation === 'vertical',
|
|
|
|
'p-metergroup-label-list-horizontal': props.labelOrientation === 'horizontal'
|
2024-01-11 13:42:20 +00:00
|
|
|
}
|
|
|
|
],
|
2024-02-04 16:11:37 +00:00
|
|
|
labellistitem: 'p-metergroup-label',
|
2024-01-12 09:51:29 +00:00
|
|
|
labelicon: 'p-metergroup-label-icon',
|
2024-02-04 16:11:37 +00:00
|
|
|
labellisttype: 'p-metergroup-label-marker',
|
|
|
|
label: 'p-metergroup-label-text'
|
2024-01-11 13:42:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default BaseStyle.extend({
|
|
|
|
name: 'metergroup',
|
|
|
|
classes
|
|
|
|
});
|