UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

44 lines (43 loc) 1.54 kB
import { Injector } from '@angular/core'; import { CoreBaseComponent } from '../../../common/base.component'; import * as i0 from "@angular/core"; export declare enum StatusIconType { Critical = "critical", Error = "error", Warning = "warning", Progress = "progress", Info = "info", Success = "success", Unknown = "unknown" } export declare module StatusIconType { type Bindable = StatusIconType | 'critical' | 'error' | 'warning' | 'progress' | 'info' | 'success' | 'unknown'; function fromBindableType(value: Bindable): StatusIconType; function getIconLayers(iconType: StatusIconType): string[]; } export declare class StatusIconComponent extends CoreBaseComponent { /** * The source name to use for logging */ protected get logSourceName(): string; /** * Input binding for the size of the icon in pixels */ size: number | string; /** * Input binding for the status icon type */ set status(type: StatusIconType); constructor(injector: Injector); /** * the icon layers used to build the status icon */ layers: any[]; /** * the state of the icon as a localized string */ statusString: string; private localStrings; static ɵfac: i0.ɵɵFactoryDeclaration<StatusIconComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<StatusIconComponent, "sme-status-icon", never, { "size": "size"; "status": "status"; }, {}, never, never, false, never>; }