UNPKG

igniteui-angular-inputs

Version:

Ignite UI Angular input components for building rich data visualizations for modern web apps.

272 lines (269 loc) 10 kB
import { TemplateRef, ViewContainerRef, Injector, ComponentFactoryResolver, AfterViewInit, Renderer2, NgZone } from '@angular/core'; import { XIcon } from "./XIcon"; import { BaseControlTheme } from "igniteui-angular-core"; import * as i0 from "@angular/core"; export declare class IgxXIconComponent implements AfterViewInit { private renderer; private _elRef; private ngZone; private injector; private componentFactoryResolver; container: Element; private _wrapper; private _portalManager; private _root; _dynamicContent: ViewContainerRef; _childTemplateRef: TemplateRef<any>; constructor(renderer: Renderer2, _elRef: ViewContainerRef, ngZone: NgZone, injector: Injector, componentFactoryResolver: ComponentFactoryResolver); updateStyle(): void; ngOnDestroy(): void; private _implementation; ngAfterViewInit(): void; protected createImplementation(): XIcon; get i(): XIcon; private _icon; /** * Gets or sets the base built in theme to use for the button. */ get baseTheme(): BaseControlTheme; set baseTheme(v: BaseControlTheme); static ngAcceptInputType_baseTheme: BaseControlTheme | string; /** * Gets the fill color currently used by the icon. */ get actualFill(): string; set actualFill(v: string); /** * Gets the stroke color currently used by the icon. */ get actualStroke(): string; set actualStroke(v: string); /** * Gets the text color currently used by the icon. */ get actualTextColor(): string; set actualTextColor(v: string); /** * Gets the stroke width currently used by the icon. */ get actualStrokeWidth(): number; set actualStrokeWidth(v: number); static ngAcceptInputType_actualStrokeWidth: number | string; /** * Gets or sets the fill color to use for the icon. */ get fill(): string; set fill(v: string); /** * Gets or sets the stroke color to use for the icon. */ get stroke(): string; set stroke(v: string); /** * Gets or sets the stroke thickness to use for the icon. */ get strokeWidth(): number; set strokeWidth(v: number); static ngAcceptInputType_strokeWidth: number | string; /** * Gets or sets the text color to use for the icon. */ get textColor(): string; set textColor(v: string); /** * Gets or sets the fill color to use when the icon is hovered. */ get hoverFill(): string; set hoverFill(v: string); /** * Gets or sets the stroke color to use when the icon is hovered. */ get hoverStroke(): string; set hoverStroke(v: string); /** * Gets or sets the stroke thickness to use when the icon is hovered. */ get hoverStrokeThickness(): number; set hoverStrokeThickness(v: number); static ngAcceptInputType_hoverStrokeThickness: number | string; /** * Gets or sets the text color to use when the icon is hovered. */ get hoverTextColor(): string; set hoverTextColor(v: string); /** * Gets or sets a collection of fill colors to use in the icon. * These colors can be used by SVG elements that have been marked with the * ig-icon-fill-# * class where # is a number from 0 to count - 1. */ get fillColors(): string[]; set fillColors(v: string[]); static ngAcceptInputType_fillColors: string[] | string; /** * Gets or sets a collection of stroke colors to use in the icon. * These colors can be used by SVG elements that have been marked with the * ig-icon-stroke-# * class where # is a number from 0 to count - 1. */ get strokeColors(): string[]; set strokeColors(v: string[]); static ngAcceptInputType_strokeColors: string[] | string; /** * Gets or sets a primary fill color for the icon. * This color is used by SVG elements that have been marked * with the * ig-icon-primary-fill * class. */ get primaryFillColor(): string; set primaryFillColor(v: string); /** * Gets or sets a primary stroke color for the icon. * This color is used by SVG elements that have been marked * with the * ig-icon-primary-stroke * class. */ get primaryStrokeColor(): string; set primaryStrokeColor(v: string); /** * Gets or sets a secondary fill color for the icon. * This color is used by SVG elements that have been marked * with the * ig-icon-secondary-fill * class. */ get secondaryFillColor(): string; set secondaryFillColor(v: string); /** * Gets or sets a secondary stroke color for the icon. * This color is used by SVG elements that have been marked * with the * ig-icon-secondary-stroke * class. */ get secondaryStrokeColor(): string; set secondaryStrokeColor(v: string); /** * Gets or sets the image source for the icon. Used if none of the other icon types are not used. */ get source(): any; set source(v: any); /** * Gets or sets data url for the icon to use. */ get dataURL(): string; set dataURL(v: string); /** * Gets or sets path data for the icon to use. */ get svgPath(): string; set svgPath(v: string); /** * Gets or sets svg text for the icon to use. */ get svg(): string; set svg(v: string); /** * Gets or sets an array of path data for the icon to use. */ get sVGPaths(): string[]; set sVGPaths(v: string[]); static ngAcceptInputType_sVGPaths: string[] | string; /** * Gets or sets the use for the button. */ get textStyle(): string; set textStyle(v: string); /** * Gets or sets the id to use for the checkbox. */ get id(): string; set id(v: string); /** * Gets or sets TabIndex to use for the checkbox. */ get tabIndex(): number; set tabIndex(v: number); static ngAcceptInputType_tabIndex: number | string; /** * Gets or sets the value of the aria-label attribute. */ get ariaLabel(): string; set ariaLabel(v: string); /** * Gets or sets whether the icon is hovered. */ get isHover(): boolean; set isHover(v: boolean); static ngAcceptInputType_isHover: boolean | string; /** * Gets or sets whether the checkbox is disabled. */ get disabled(): boolean; set disabled(v: boolean); static ngAcceptInputType_disabled: boolean | string; get opacity(): number; set opacity(v: number); static ngAcceptInputType_opacity: number | string; /** * Gets or sets the viewbox left for the svg icon. */ get viewBoxLeft(): number; set viewBoxLeft(v: number); static ngAcceptInputType_viewBoxLeft: number | string; /** * Gets or sets the viewbox top for the svg icon. */ get viewBoxTop(): number; set viewBoxTop(v: number); static ngAcceptInputType_viewBoxTop: number | string; /** * Gets or sets the viewbox width for the svg icon. */ get viewBoxWidth(): number; set viewBoxWidth(v: number); static ngAcceptInputType_viewBoxWidth: number | string; /** * Gets or sets the viewbox height for the svg icon. */ get viewBoxHeight(): number; set viewBoxHeight(v: number); static ngAcceptInputType_viewBoxHeight: number | string; /** * Gets or sets the width of the icon. */ get width(): number; set width(v: number); static ngAcceptInputType_width: number | string; /** * Gets or sets the height of the icon. */ get height(): number; set height(v: number); static ngAcceptInputType_height: number | string; 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; onDetachedFromUI(): void; onAttachedToUI(): void; /** * Exports visual information about the current state of the grid. */ exportVisualModel(): any; /** * Returns a serialized copy of the exported visual model */ exportSerializedVisualModel(): string; protected _zoneRunner: (act: () => void) => void; protected _runInZone(act: () => void): void; static ɵfac: i0.ɵɵFactoryDeclaration<IgxXIconComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<IgxXIconComponent, "igx-x-icon", never, { "baseTheme": "baseTheme"; "actualFill": "actualFill"; "actualStroke": "actualStroke"; "actualTextColor": "actualTextColor"; "actualStrokeWidth": "actualStrokeWidth"; "fill": "fill"; "stroke": "stroke"; "strokeWidth": "strokeWidth"; "textColor": "textColor"; "hoverFill": "hoverFill"; "hoverStroke": "hoverStroke"; "hoverStrokeThickness": "hoverStrokeThickness"; "hoverTextColor": "hoverTextColor"; "fillColors": "fillColors"; "strokeColors": "strokeColors"; "primaryFillColor": "primaryFillColor"; "primaryStrokeColor": "primaryStrokeColor"; "secondaryFillColor": "secondaryFillColor"; "secondaryStrokeColor": "secondaryStrokeColor"; "source": "source"; "dataURL": "dataURL"; "svgPath": "svgPath"; "svg": "svg"; "sVGPaths": "sVGPaths"; "textStyle": "textStyle"; "id": "id"; "tabIndex": "tabindex"; "ariaLabel": "aria-label"; "isHover": "isHover"; "disabled": "disabled"; "opacity": "opacity"; "viewBoxLeft": "viewBoxLeft"; "viewBoxTop": "viewBoxTop"; "viewBoxWidth": "viewBoxWidth"; "viewBoxHeight": "viewBoxHeight"; "width": "width"; "height": "height"; }, {}, never, ["*"]>; }