import { MeterGroupPassThrough, MeterGroupIconTemplateContext, MeterItem, MeterGroupLabelTemplateContext, MeterGroupMeterTemplateContext } from 'primeng/types/metergroup'; export * from 'primeng/types/metergroup'; import * as i0 from '@angular/core'; import { TemplateRef, QueryList } from '@angular/core'; import * as i2 from 'primeng/api'; import { PrimeTemplate } from 'primeng/api'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import * as _primeuix_styled from '@primeuix/styled'; import { BaseStyle } from 'primeng/base'; /** * * MeterGroup is a group of process status indicators. * * [Live Demo](https://www.primeng.org/metergroup) * * @module metergroupstyle * */ declare enum MeterGroupClasses { /** * Class name of the root element */ root = "p-metergroup", /** * Class name of the meters element */ meters = "p-metergroup-meters", /** * Class name of the meter element */ meter = "p-metergroup-meter", /** * Class name of the label list element */ labelList = "p-metergroup-label-list", /** * Class name of the label element */ label = "p-metergroup-label", /** * Class name of the label icon element */ labelIcon = "p-metergroup-label-icon", /** * Class name of the label marker element */ labelMarker = "p-metergroup-label-marker", /** * Class name of the label text element */ labelText = "p-metergroup-label-text" } declare class MeterGroupStyle extends BaseStyle { name: string; style: _primeuix_styled.StyleType; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-metergroup-horizontal': boolean; 'p-metergroup-vertical': boolean; })[]; meters: string; meter: string; labelList: ({ instance }: { instance: any; }) => (string | { 'p-metergroup-label-list-vertical': boolean; 'p-metergroup-label-list-horizontal': boolean; })[]; label: string; labelIcon: string; labelMarker: string; labelText: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface MeterGroupStyle extends BaseStyle { } declare class MeterGroupLabel extends BaseComponent { value: any[]; labelPosition: 'start' | 'end'; labelOrientation: 'horizontal' | 'vertical'; min: number; max: number; iconTemplate: TemplateRef | undefined; parentInstance: MeterGroup; _componentStyle: MeterGroupStyle; get dataP(): string | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * MeterGroup displays scalar measurements within a known range. * @group Components */ declare class MeterGroup extends BaseComponent { $pcMeterGroup: MeterGroup | undefined; bindDirectiveInstance: Bind; /** * Current value of the metergroup. * @group Props */ value: MeterItem[] | undefined; /** * Mininum boundary value. * @group Props */ min: number; /** * Maximum boundary value. * @group Props */ max: number; /** * Specifies the layout of the component, valid values are 'horizontal' and 'vertical'. * @group Props */ orientation: 'horizontal' | 'vertical'; /** * Specifies the label position of the component, valid values are 'start' and 'end'. * @group Props */ labelPosition: 'start' | 'end'; /** * Specifies the label orientation of the component, valid values are 'horizontal' and 'vertical'. * @group Props */ labelOrientation: 'horizontal' | 'vertical' | undefined; /** * Style class of the element. * @deprecated since v20.0.0, use `class` instead. * @group Props */ styleClass: string | undefined; get vertical(): boolean; /** * Custom label template. * @param {MeterGroupLabelTemplateContext} context - label context. * @see {@link MeterGroupLabelTemplateContext} * @group Templates */ labelTemplate: TemplateRef | undefined; /** * Custom meter template. * @param {MeterGroupMeterTemplateContext} context - meter context. * @see {@link MeterGroupMeterTemplateContext} * @group Templates */ meterTemplate: TemplateRef | undefined; /** * Custom end template. * @param {MeterGroupLabelTemplateContext} context - end context. * @see {@link MeterGroupLabelTemplateContext} * @group Templates */ endTemplate: TemplateRef | undefined; /** * Custom start template. * @param {MeterGroupLabelTemplateContext} context - start context. * @see {@link MeterGroupLabelTemplateContext} * @group Templates */ startTemplate: TemplateRef | undefined; /** * Custom icon template. * @param {MeterGroupIconTemplateContext} context - icon context. * @see {@link MeterGroupIconTemplateContext} * @group Templates */ iconTemplate: TemplateRef | undefined; templates: QueryList | undefined; _labelTemplate: TemplateRef | undefined; _meterTemplate: TemplateRef | undefined; _endTemplate: TemplateRef | undefined; _startTemplate: TemplateRef | undefined; _iconTemplate: TemplateRef | undefined; onAfterViewChecked(): void; _componentStyle: MeterGroupStyle; constructor(); onAfterViewInit(): void; onAfterContentInit(): void; percent(meter?: number): number; percentValue(meter: number): string; meterStyle(val: MeterItem): { backgroundColor: string | undefined; width: string | false; height: string | false; }; totalPercent(): number; percentages(): number[]; trackByFn(index: number): number; get dataP(): string | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class MeterGroupModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { MeterGroup, MeterGroupClasses, MeterGroupLabel, MeterGroupModule, MeterGroupStyle };