/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { OnChanges, SimpleChanges, EventEmitter, ElementRef, AfterViewInit, Renderer2, ChangeDetectorRef } from '@angular/core'; import { RGBA } from './models'; import { LocalizationService } from '@progress/kendo-angular-l10n'; import { NumericTextBoxComponent } from './../numerictextbox/numerictextbox.component'; import { SVGIcon } from '@progress/kendo-svg-icons'; import { InputSize } from '../common/models'; import * as i0 from "@angular/core"; /** * @hidden */ export declare class ColorInputComponent implements AfterViewInit, OnChanges { private host; private renderer; private cdr; localizationService: LocalizationService; /** * Sets the `id` of the hex input. */ focusableId: string; /** * Sets the color format view. */ formatView: string; /** * Sets the size of the ColorInput. The default value is set by the Kendo theme. * */ size: InputSize; /** * Sets the `tabindex` of the inputs. * @default -1 */ tabindex: number; /** * Sets the color value to parse and populate the hex and RGBA inputs. */ value: string; /** * Shows or hides the alpha slider. * * @default true */ opacity: boolean; /** * Disables the ColorInput. * * @default false */ disabled: boolean; /** * Sets the read-only state of the ColorInput. * * @default false */ readonly: boolean; /** * Emits a parsed RGBA string color. */ valueChange: EventEmitter; /** * Fires when the user tabs out of the last focusable input. */ tabOut: EventEmitter; colorInputClass: boolean; opacityInput: NumericTextBoxComponent; hexInput: ElementRef; blueInput: NumericTextBoxComponent; toggleFormatButton: ElementRef; /** * Holds the RGBA input values. */ rgba: RGBA; hex: string; /** * Returns `true` if any of the inputs are focused. */ private get isFocused(); /** * Returns `true` if all RGBA inputs have values. */ private get rgbaInputValid(); /** * @hidden */ caretAltExpandIcon: SVGIcon; private subscriptions; constructor(host: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, localizationService: LocalizationService); ngAfterViewInit(): void; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; get formatButtonTitle(): string; handleRgbaValueChange(): void; focusDragHandle(event: any): void; handleHexValueChange(hex: string): void; handleRgbaInputBlur(): void; handleHexInputBlur(): void; focusLast(): void; onTab(): void; private toggleFormatView; private initDomEvents; private lastInput; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }