UNPKG

primeng

Version:

PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB

68 lines (67 loc) 2.69 kB
import { AfterContentInit, AfterViewInit, ElementRef, OnDestroy, QueryList, TemplateRef } from '@angular/core'; import { PrimeTemplate } from 'primeng/api'; import { BaseComponent } from 'primeng/basecomponent'; import { BlockUiStyle } from './style/blockuistyle'; import * as i0 from "@angular/core"; import * as i1 from "primeng/api"; /** * BlockUI can either block other components or the whole page. * @group Components */ export declare class BlockUI extends BaseComponent implements AfterViewInit, AfterContentInit, OnDestroy { /** * Name of the local ng-template variable referring to another component. * @group Props */ target: any; /** * Whether to automatically manage layering. * @group Props */ autoZIndex: boolean; /** * Base zIndex value to use in layering. * @group Props */ baseZIndex: number; /** * Class of the element. * @group Props */ styleClass: string | undefined; /** * Current blocked state as a boolean. * @group Props */ get blocked(): boolean; set blocked(val: boolean); /** * template of the content * @group Templates */ contentTemplate: TemplateRef<any> | undefined; mask: ElementRef | undefined; _blocked: boolean; animationEndListener: VoidFunction | null | undefined; _componentStyle: BlockUiStyle; constructor(); ngAfterViewInit(): void; _contentTemplate: TemplateRef<any> | undefined; templates: QueryList<PrimeTemplate> | undefined; ngAfterContentInit(): void; block(): void; unblock(): void; destroyModal(): void; unbindAnimationEndListener(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<BlockUI, never>; static ɵcmp: i0.ɵɵComponentDeclaration<BlockUI, "p-blockUI, p-blockui, p-block-ui", never, { "target": { "alias": "target"; "required": false; }; "autoZIndex": { "alias": "autoZIndex"; "required": false; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "blocked": { "alias": "blocked"; "required": false; }; }, {}, ["contentTemplate", "templates"], ["*"], true, never>; static ngAcceptInputType_autoZIndex: unknown; static ngAcceptInputType_baseZIndex: unknown; static ngAcceptInputType_blocked: unknown; } export declare class BlockUIModule { static ɵfac: i0.ɵɵFactoryDeclaration<BlockUIModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<BlockUIModule, never, [typeof BlockUI, typeof i1.SharedModule], [typeof BlockUI, typeof i1.SharedModule]>; static ɵinj: i0.ɵɵInjectorDeclaration<BlockUIModule>; }