import { EventEmitter, OnInit, QueryList } from '@angular/core'; import { IgxToolContextBindingCollection } from "./igx-tool-context-binding-collection"; import { IgxToolActionCollection } from "./igx-tool-action-collection"; import { ControlDisplayDensity } from "igniteui-angular-core"; import { HorizontalAlignment } from "igniteui-angular-core"; import { Visibility } from "igniteui-angular-core"; import { IgxToolCommandEventArgs } from "./igx-tool-command-event-args"; import { IgxToolActionPerformedEventArgs } from "./igx-tool-action-performed-event-args"; import { ToolAction } from "./ToolAction"; import { FontInfo } from "igniteui-angular-core"; import * as i0 from "@angular/core"; /** * Represents base class for all tool actions in toolbar */ export declare abstract class IgxToolActionComponent implements OnInit { protected createImplementation(): ToolAction; ngOnInit(): void; protected _implementation: any; /** * @hidden */ get i(): ToolAction; /** * @hidden */ static _createFromInternal(internal: any): IgxToolActionComponent; private onImplementationCreated; protected _initializeAdapters(): void; protected _updateAdapters(): void; ngAfterContentInit(): void; constructor(); get isOpen(): boolean; static ngAcceptInputType_isOpen: boolean | string; private _contextBindings; /** * Gets the context bindings for this tool action. */ get contextBindings(): IgxToolContextBindingCollection; set contextBindings(v: IgxToolContextBindingCollection); static ngAcceptInputType_contextBindings: IgxToolContextBindingCollection | string; get actionId(): string; private _actions; private _actualActions; get actualActions(): IgxToolActionComponent[]; contentActions: QueryList; private _actionsAdapter; /** * Gets the sub actions associated with this tool action. */ get actions(): IgxToolActionCollection; static ngAcceptInputType_actions: IgxToolActionCollection | string; /** * Gets or sets the width to use for this tool action. */ get width(): number; set width(v: number); static ngAcceptInputType_width: number | string; /** * Gets or sets the height to use for this tool action. */ get height(): number; set height(v: number); static ngAcceptInputType_height: number | string; /** * Gets or sets the height to use for the sub panel if different than default */ get subPanelRowHeight(): number; set subPanelRowHeight(v: number); static ngAcceptInputType_subPanelRowHeight: number | string; get parentId(): string; set parentId(v: string); /** * Gets or sets the Id of the action that this action will be inserted before. * Subsequent actions will continue to insert before the target action, following * the original action that set this property. If using this property do not use the * AfterId property. * This property is only relevant during initial insertion into the toolbar. Changing the property * after the action has already been added will have no effect. */ get beforeId(): string; set beforeId(v: string); /** * Gets or sets the Id of the action that this action will be inserted after. * Subsequent actions will continue to insert after the target action, following * the original action that set this property. If using this property do not use the * BeforeId property. * This property is only relevant during initial insertion into the toolbar. Changing the property * after the action has already been added will have no effect. */ get afterId(): string; set afterId(v: string); /** * Sets to the Id of the action that this action will overlay itself on to. * The purpose of this property is to allow users to override actions automatically generated by * toolbar targets such as the DataChart. These generated actions all have unique Ids associated * with them that can be used for the OverlayId. * These overlaid actions will * not * replace the generated one but will have its properties * overlaid onto the generated actions. */ get overlayId(): string; set overlayId(v: string); get commandId(): string; set commandId(v: string); get commandArgument(): string; set commandArgument(v: string); get commandArgumentValue(): any; set commandArgumentValue(v: any); get paddingLeft(): number; set paddingLeft(v: number); static ngAcceptInputType_paddingLeft: number | string; get actualPaddingLeft(): number; set actualPaddingLeft(v: number); static ngAcceptInputType_actualPaddingLeft: number | string; get paddingRight(): number; set paddingRight(v: number); static ngAcceptInputType_paddingRight: number | string; get actualPaddingRight(): number; set actualPaddingRight(v: number); static ngAcceptInputType_actualPaddingRight: number | string; get paddingBottom(): number; set paddingBottom(v: number); static ngAcceptInputType_paddingBottom: number | string; get actualPaddingBottom(): number; set actualPaddingBottom(v: number); static ngAcceptInputType_actualPaddingBottom: number | string; get paddingTop(): number; set paddingTop(v: number); static ngAcceptInputType_paddingTop: number | string; get actualPaddingTop(): number; set actualPaddingTop(v: number); static ngAcceptInputType_actualPaddingTop: number | string; /** * Gets the actual hover background used by the tool action. */ get actualHoverBackground(): string; set actualHoverBackground(v: string); /** * Gets or sets the hover background for this tool action. */ get hoverBackground(): string; set hoverBackground(v: string); /** * Gets the actual background used by the tool action. */ get actualBackground(): string; set actualBackground(v: string); /** * Gets or sets the background color of the tool action. */ get background(): string; set background(v: string); /** * Gets the actual label text color. */ get actualTextColor(): string; set actualTextColor(v: string); /** * Gets or sets the label text color. */ get textColor(): string; set textColor(v: string); /** * Gets the actual label text color. */ get actualSubtitleTextColor(): string; set actualSubtitleTextColor(v: string); /** * Gets or sets the label text color. */ get subtitleTextColor(): string; set subtitleTextColor(v: string); /** * Gets the actual label text color when the tool is disabled. */ get actualDisabledTextColor(): string; set actualDisabledTextColor(v: string); /** * Gets or sets the label text color when the tool is disabled. */ get disabledTextColor(): string; set disabledTextColor(v: string); /** * Gets the actual font used. */ get actualTextStyle(): FontInfo; set actualTextStyle(v: FontInfo); /** * Gets or sets the font to use. */ get textStyle(): string; set textStyle(v: string); /** * Gets the actual font used. */ get actualSubtitleTextStyle(): FontInfo; set actualSubtitleTextStyle(v: FontInfo); /** * Gets or sets the font to use. */ get subtitleTextStyle(): string; set subtitleTextStyle(v: string); get isDisabled(): boolean; set isDisabled(v: boolean); static ngAcceptInputType_isDisabled: boolean | string; get isHighlighted(): boolean; set isHighlighted(v: boolean); static ngAcceptInputType_isHighlighted: boolean | string; get actualAccentColor(): string; set actualAccentColor(v: string); get accentColor(): string; set accentColor(v: string); /** * Gets or sets the display density to use for the action. */ get density(): ControlDisplayDensity; set density(v: ControlDisplayDensity); static ngAcceptInputType_density: ControlDisplayDensity | string; /** * Gets the resolved display density to use for the action. */ get actualDensity(): ControlDisplayDensity; set actualDensity(v: ControlDisplayDensity); static ngAcceptInputType_actualDensity: ControlDisplayDensity | string; get name(): string; set name(v: string); /** * Gets or sets the title of the tool. */ get title(): string; set title(v: string); /** * Gets or sets the subtitle of the tool. */ get subtitle(): string; set subtitle(v: string); /** * Gets or sets the title horizontal alignment. */ get titleHorizontalAlignment(): HorizontalAlignment; set titleHorizontalAlignment(v: HorizontalAlignment); static ngAcceptInputType_titleHorizontalAlignment: HorizontalAlignment | string; get iconName(): string; set iconName(v: string); get iconCollectionName(): string; set iconCollectionName(v: string); /** * Gets or sets the icon viewbox left. */ get iconViewBoxLeft(): number; set iconViewBoxLeft(v: number); static ngAcceptInputType_iconViewBoxLeft: number | string; /** * Gets or sets the icon viewbox top. */ get iconViewBoxTop(): number; set iconViewBoxTop(v: number); static ngAcceptInputType_iconViewBoxTop: number | string; /** * Gets or sets the icon viewbox width. */ get iconViewBoxWidth(): number; set iconViewBoxWidth(v: number); static ngAcceptInputType_iconViewBoxWidth: number | string; /** * Gets or sets the icon viewbox height. */ get iconViewBoxHeight(): number; set iconViewBoxHeight(v: number); static ngAcceptInputType_iconViewBoxHeight: number | string; /** * Gets or sets the icon fill color. */ get iconFill(): string; set iconFill(v: string); /** * Gets the actual icon fill color. */ get actualIconFill(): string; set actualIconFill(v: string); /** * Gets or sets the icon fill colors. */ get iconFillColors(): string[]; set iconFillColors(v: string[]); static ngAcceptInputType_iconFillColors: string[] | string; /** * Gets or sets the icon stroke color. */ get iconStroke(): string; set iconStroke(v: string); /** * Gets the actual icon stroke color. */ get actualIconStroke(): string; set actualIconStroke(v: string); /** * Gets or sets the icon stroke colors. */ get iconStrokeColors(): string[]; set iconStrokeColors(v: string[]); static ngAcceptInputType_iconStrokeColors: string[] | string; /** * Gets or sets the icon viewbox width. */ get iconStrokeWidth(): number; set iconStrokeWidth(v: number); static ngAcceptInputType_iconStrokeWidth: number | string; /** * Gets or sets the width of the icon. */ get iconWidth(): number; set iconWidth(v: number); static ngAcceptInputType_iconWidth: number | string; /** * Gets the actual icon width used. */ get actualIconWidth(): number; set actualIconWidth(v: number); static ngAcceptInputType_actualIconWidth: number | string; /** * Gets or sets the height of the icon. */ get iconHeight(): number; set iconHeight(v: number); static ngAcceptInputType_iconHeight: number | string; /** * Gets the actual icon height used. */ get actualIconHeight(): number; set actualIconHeight(v: number); static ngAcceptInputType_actualIconHeight: number | string; /** * Gets or sets the tool action visibility. */ get visibility(): Visibility; set visibility(v: Visibility); static ngAcceptInputType_visibility: Visibility | string; /** * Gets or sets if the tool action will close its parent dropdown when executed by the user. */ get closeOnExecute(): boolean; set closeOnExecute(v: boolean); static ngAcceptInputType_closeOnExecute: boolean | string; get highlightWidth(): number; set highlightWidth(v: number); static ngAcceptInputType_highlightWidth: number | string; get actualHighlightWidth(): number; set actualHighlightWidth(v: number); static ngAcceptInputType_actualHighlightWidth: number | string; get highlightRadius(): number; set highlightRadius(v: number); static ngAcceptInputType_highlightRadius: number | string; get actualHighlightRadius(): number; set actualHighlightRadius(v: number); static ngAcceptInputType_actualHighlightRadius: number | string; get highlightColor(): string; set highlightColor(v: string); get actualHighlightColor(): string; set actualHighlightColor(v: string); findByName(name: string): any; protected __p: string; protected _hasUserValues: Set; protected get hasUserValues(): Set; protected __m(propertyName: string): void; protected _stylingContainer: any; protected _stylingParent: any; protected _inStyling: boolean; protected _styling(container: any, component: any, parent?: any): void; openSubMenu(): void; closeSubmenu(): void; exportVisualData(): any; exportSerializedVisualData(): string; private _onCommand; get onCommand(): EventEmitter<{ sender: any; args: IgxToolCommandEventArgs; }>; private _performed; get performed(): EventEmitter<{ sender: any; args: IgxToolActionPerformedEventArgs; }>; protected _zoneRunner: (act: () => void) => void; protected _runInZone(act: () => void): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }