import { SliderChangeEvent, SliderOrientation, SliderPassThrough, SliderSlideEndEvent } from "primeng/types/slider"; import * as i0 from "@angular/core"; import { Provider } from "@angular/core"; import { BaseEditableHolder } from "primeng/baseeditableholder"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export * from "primeng/types/slider"; export declare class SliderStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-disabled': any; 'p-slider-horizontal': any; 'p-slider-vertical': any; })[]; track: string; range: string; handle: string; input: string; }; inlineStyles: { root: () => { display: string; position: string; 'touch-action': string; }; track: () => { display: string; 'flex-grow': number; position: string; }; range: ({ instance }: { instance: any; }) => { position: string; 'inset-inline-start': string; width: string; bottom?: undefined; height?: undefined; } | { position: string; bottom: string; height: string; 'inset-inline-start'?: undefined; width?: undefined; } | { position: string; width: string; 'inset-inline-start'?: undefined; bottom?: undefined; height?: undefined; }; handle: ({ instance, index }: { instance: any; index: any; }) => { position: string; 'inset-inline-start': string; translate: string; cursor: string; 'pointer-events': string; } | { position: string; 'inset-inline-start': string; translate: string; cursor?: undefined; 'pointer-events'?: undefined; } | { position: string; bottom: string; translate: string; cursor: string; 'pointer-events': string; } | { position: string; bottom: string; translate: string; cursor?: undefined; 'pointer-events'?: undefined; }; startHandler: ({ instance }: { instance: any; }) => { position: string; 'inset-inline-start': string; translate: string; cursor: string; 'pointer-events': string; } | { position: string; 'inset-inline-start': string; translate: string; cursor?: undefined; 'pointer-events'?: undefined; } | { position: string; bottom: string; translate: string; cursor: string; 'pointer-events': string; } | { position: string; bottom: string; translate: string; cursor?: undefined; 'pointer-events'?: undefined; }; endHandler: ({ instance }: { instance: any; }) => { position: string; 'inset-inline-start': string; translate: string; cursor: string; 'pointer-events': string; } | { position: string; 'inset-inline-start': string; translate: string; cursor?: undefined; 'pointer-events'?: undefined; } | { position: string; bottom: string; translate: string; cursor: string; 'pointer-events': string; } | { position: string; bottom: string; translate: string; cursor?: undefined; 'pointer-events'?: undefined; }; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Slider is a component to provide input with a drag handle. * * [Live Demo](https://www.primeng.org/slider/) * * @module sliderstyle * */ export declare enum SliderClasses { /** * Class name of the root element */ root = "p-slider", /** * Class name of the track element */ track = "p-slider-track", /** * Class name of the range element */ range = "p-slider-range", /** * Class name of the handle element */ handle = "p-slider-handle", /** * Class name of the hidden input element */ input = "p-slider-input" } export declare const SLIDER_VALUE_ACCESSOR: Provider; /** * Slider is a component to provide input by dragging a handle along a track. * @group Components */ export declare class Slider extends BaseEditableHolder { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SliderStyle; /** * When enabled, displays an animation on click of the slider bar. * @group Props * @deprecated This property is no longer functional. */ animate: import("@angular/core").InputSignalWithTransform; /** * Mininum boundary value. * @group Props */ min: import("@angular/core").InputSignalWithTransform; /** * Maximum boundary value. * @group Props */ max: import("@angular/core").InputSignalWithTransform; /** * Orientation of the slider. * @group Props */ orientation: import("@angular/core").InputSignal; /** * Step factor to increment/decrement the value. * @group Props */ step: import("@angular/core").InputSignalWithTransform; /** * When specified, allows two boundary values to be picked. * @group Props */ range: import("@angular/core").InputSignalWithTransform; /** * Minimum number of steps between handles in range mode. * @group Props */ minStepsBetweenHandles: import("@angular/core").InputSignalWithTransform; /** * Disables the minimum (start) handle in range mode. * @type boolean * @defaultValue false * @group Props */ disabledMinHandle: import("@angular/core").InputSignalWithTransform; /** * Disables the maximum (end) handle in range mode. * @type boolean * @defaultValue false * @group Props */ disabledMaxHandle: import("@angular/core").InputSignalWithTransform; /** * Defines a string that labels the input for accessibility. * @group Props */ ariaLabel: import("@angular/core").InputSignal; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. * @group Props */ ariaLabelledBy: import("@angular/core").InputSignal; /** * Index of the element in tabbing order. * @group Props */ tabindex: import("@angular/core").InputSignalWithTransform; /** * When present, it specifies that the component should automatically get focus on load. * @group Props */ autofocus: import("@angular/core").InputSignalWithTransform; /** * Callback to invoke on value change. * @param {SliderChangeEvent} event - Custom value change event. * @group Emits */ onChange: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when slide ended. * @param {SliderSlideEndEvent} event - Custom slide end event. * @group Emits */ onSlideEnd: import("@angular/core").OutputEmitterRef; value: import("@angular/core").WritableSignal; values: import("@angular/core").WritableSignal; isDragging: import("@angular/core").WritableSignal; dragging: import("@angular/core").Signal; dataDragging: import("@angular/core").Signal<"" | null>; activeIndex: number; get handleIndex(): number; private focusedIndex; private isHandlePointerDown; private dragOffsetPx; isHorizontal: import("@angular/core").Signal; isVertical: import("@angular/core").Signal; $step: import("@angular/core").Signal; $tabindex: import("@angular/core").Signal; dataP: import("@angular/core").Signal; private clamp; private getPrecision; private roundToStep; private normalizeValue; onAfterViewChecked(): void; isHandleDisabled(index: number): boolean; getDataDisabled(index: number): '' | null; getHandleTabindex(index: number): number; getValuePercent(value: number): number; getHandleValue(index: number): number; private getValues; private getValueFromPointer; private getClosestValueIndex; private getHandleElement; private updateValueAt; private updateValueFromPointer; onTrackPointerDown(event: PointerEvent): void; onTrackPointerMove(event: PointerEvent): void; onTrackPointerUp(event: PointerEvent): void; onHandlePointerDown(event: PointerEvent, index: number): void; onInputChange(event: Event, index: number): void; onInputFocus(_event: FocusEvent, index: number): void; onInputBlur(event: FocusEvent, index: number): void; onKeyDown(event: KeyboardEvent, index: number): void; private decrementValue; private incrementValue; /** * @override * * @see {@link BaseEditableHolder.writeControlValue} */ writeControlValue(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class SliderModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }