/** * * ProgressBar is a process status indicator. * * [Live Demo](https://www.primevue.org/progressbar) * * @module progressbar * */ import { VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type ProgressBarPassThroughOptionType = ProgressBarPassThroughAttributes | ((options: ProgressBarPassThroughMethodOptions) => ProgressBarPassThroughAttributes) | null | undefined; /** * Custom passthrough(pt) option method. */ export interface ProgressBarPassThroughMethodOptions { props: ProgressBarProps; } /** * Custom passthrough(pt) options. * @see {@link ProgressBarProps.pt} */ export interface ProgressBarPassThroughOptions { /** * Uses to pass attributes to the root's DOM element. */ root?: ProgressBarPassThroughOptionType; /** * Uses to pass attributes to the value's DOM element. */ value?: ProgressBarPassThroughOptionType; /** * Uses to pass attributes to the label's DOM element. */ label?: ProgressBarPassThroughOptionType; } /** * Custom passthrough attributes for each DOM elements */ export interface ProgressBarPassThroughAttributes { [key: string]: any; } /** * Defines valid properties in ProgressBar component. */ export interface ProgressBarProps { /** * Current value of the progress. */ value?: number | undefined; /** * Defines the mode of the progress * @defaultValue determinate */ mode?: 'determinate' | 'indeterminate' | undefined; /** * Whether to display the progress bar value. * @defaultValue true */ showValue?: boolean | undefined; /** * Uses to pass attributes to DOM elements inside the component. * @type {ProgressBarPassThroughOptions} */ pt?: ProgressBarPassThroughOptions; } /** * Defines valid slots in ProgressBar component. */ export interface ProgressBarSlots { /** * Custom content slot. */ default(): VNode[]; } /** * Defines valid emits in ProgressBar component. */ export interface ProgressBarEmits {} /** * **PrimeVue - ProgressBar** * * ProgressBar is a process status indicator._ * * [Live Demo](https://www.primevue.org/progressbar/) * --- --- * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png) * * @group Component */ declare class ProgressBar extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { ProgressBar: GlobalComponentConstructor; } } export default ProgressBar;