UNPKG

igniteui-webcomponents-inputs

Version:

Ignite UI Web Components inputs components.

164 lines (161 loc) 6.05 kB
import { ColorEditor } from "./ColorEditor"; import { ControlDisplayDensity } from "igniteui-webcomponents-core"; import { BaseControlTheme } from "igniteui-webcomponents-core"; import { IgcHTMLElement } from "igniteui-webcomponents-core"; import { IgcColorEditorPanelSelectedValueChangedEventArgs } from "./igc-color-editor-panel-selected-value-changed-event-args"; import { IgcColorEditorLostFocusEventArgs } from "./igc-color-editor-lost-focus-event-args"; import { IgcColorEditorGotFocusEventArgs } from "./igc-color-editor-got-focus-event-args"; export declare class IgcColorEditorComponent extends IgcHTMLElement { private _portalManager; private _container; private _renderer; constructor(); private _onChildrenChanged; updateStyle(): void; destroy(): void; private _wrapper; protected createImplementation(): ColorEditor; private _colorEditor; private _disconnected; disconnectedCallback(): void; connectedCallback(): void; afterContentInit(): void; protected _implementation: any; /** * @hidden */ get i(): ColorEditor; /** * @hidden */ static _createFromInternal(internal: any): IgcColorEditorComponent; private _settingAttributes; protected _attached: boolean; private _queuedSetAttributes; protected _enqueueSetAttribute(attrName: string, attrValue: string): void; protected _flushQueuedAttributes(): void; protected _a(attrName: string, attrValue: any): void; private static _observedAttributesIgcColorEditorComponent; static get observedAttributes(): string[]; private _updatingFromAttribute; attributeChangedCallback(name: string, oldValue: string, newValue: string): void; static htmlTagName: string; protected static _isElementRegistered: boolean; static register(): void; /** * Gets or Sets color value of the editor. */ get value(): string; set value(v: string); /** * Gets or Sets the property name that contains the label. */ get label(): string; set label(v: string); /** * Gets or sets the color to use for the text. */ get labelTextColor(): string; set labelTextColor(v: string); /** * Gets or sets the font to use for the input. */ get labelTextStyle(): string; set labelTextStyle(v: string); /** * Gets or sets the display density to use for the date pcicker. */ get density(): ControlDisplayDensity; set density(v: ControlDisplayDensity); /** * Gets or sets the base built in theme to use for the date picker. */ get baseTheme(): BaseControlTheme; set baseTheme(v: BaseControlTheme); /** * Gets or sets the font to use for the combobox. */ get textStyle(): string; set textStyle(v: string); /** * Gets or Sets the text color */ get textColor(): string; set textColor(v: string); /** * Gets or Sets the text color */ get iconColor(): string; set iconColor(v: string); /** * Gets or sets the ShowClearButton property to detirmine if the clear button is shown */ get showClearButton(): boolean; set showClearButton(v: boolean); /** * Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed */ get allowTextInput(): boolean; set allowTextInput(v: boolean); /** * Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed */ get openOnFocus(): boolean; set openOnFocus(v: boolean); get isDisabled(): boolean; set isDisabled(v: boolean); /** * Indicates that the editor dropdown will position itself relative to the window instead of the document. */ get isFixed(): boolean; set isFixed(v: boolean); /** * Indicates that the dropdown should open as a child of the color editor. */ get openAsChild(): boolean; set openAsChild(v: boolean); /** * Indicates that the dropdown will place itself into the browser top layer. */ get useTopLayer(): boolean; set useTopLayer(v: boolean); findByName(name: string): any; protected __p: string; protected _hasUserValues: Set<string>; protected get hasUserValues(): Set<string>; protected __m(propertyName: string): void; protected _stylingContainer: any; protected _stylingParent: any; protected _inStyling: boolean; protected _styling(container: any, component: any, parent?: any): void; select(): void; /** * Exports visual information about the current state of the color editor. */ exportVisualModel(): any; /** * Returns a serialized copy of the exported visual model */ exportSerializedVisualModel(): string; private _valueChanged; private _valueChanged_wrapped; /** * Called when color is selected. */ get valueChanged(): (s: IgcColorEditorComponent, e: IgcColorEditorPanelSelectedValueChangedEventArgs) => void; set valueChanged(ev: (s: IgcColorEditorComponent, e: IgcColorEditorPanelSelectedValueChangedEventArgs) => void); private _valueChanging; private _valueChanging_wrapped; /** * Called when color is selected. */ get valueChanging(): (s: IgcColorEditorComponent, e: IgcColorEditorPanelSelectedValueChangedEventArgs) => void; set valueChanging(ev: (s: IgcColorEditorComponent, e: IgcColorEditorPanelSelectedValueChangedEventArgs) => void); private _gotFocus; private _gotFocus_wrapped; get gotFocus(): (s: IgcColorEditorComponent, e: IgcColorEditorGotFocusEventArgs) => void; set gotFocus(ev: (s: IgcColorEditorComponent, e: IgcColorEditorGotFocusEventArgs) => void); private _lostFocus; private _lostFocus_wrapped; get lostFocus(): (s: IgcColorEditorComponent, e: IgcColorEditorLostFocusEventArgs) => void; set lostFocus(ev: (s: IgcColorEditorComponent, e: IgcColorEditorLostFocusEventArgs) => void); }