1 | import { OnDestroy, AfterViewInit, ElementRef } from '@angular/core';
|
---|
2 | import * as i0 from "@angular/core";
|
---|
3 | import * as i1 from "@angular/common";
|
---|
4 | import * as i2 from "primeng/api";
|
---|
5 | export declare class BadgeDirective implements AfterViewInit, OnDestroy {
|
---|
6 | el: ElementRef;
|
---|
7 | iconPos: 'left' | 'right' | 'top' | 'bottom';
|
---|
8 | _value: string;
|
---|
9 | initialized: boolean;
|
---|
10 | private id;
|
---|
11 | constructor(el: ElementRef);
|
---|
12 | ngAfterViewInit(): void;
|
---|
13 | get value(): string;
|
---|
14 | set value(val: string);
|
---|
15 | severity: string;
|
---|
16 | ngOnDestroy(): void;
|
---|
17 | static ɵfac: i0.ɵɵFactoryDeclaration<BadgeDirective, never>;
|
---|
18 | static ɵdir: i0.ɵɵDirectiveDeclaration<BadgeDirective, "[pBadge]", never, { "iconPos": "iconPos"; "value": "value"; "severity": "severity"; }, {}, never>;
|
---|
19 | }
|
---|
20 | export declare class Badge {
|
---|
21 | styleClass: string;
|
---|
22 | style: any;
|
---|
23 | size: string;
|
---|
24 | severity: string;
|
---|
25 | value: string;
|
---|
26 | containerClass(): {
|
---|
27 | 'p-badge p-component': boolean;
|
---|
28 | 'p-badge-no-gutter': boolean;
|
---|
29 | 'p-badge-lg': boolean;
|
---|
30 | 'p-badge-xl': boolean;
|
---|
31 | 'p-badge-info': boolean;
|
---|
32 | 'p-badge-success': boolean;
|
---|
33 | 'p-badge-warning': boolean;
|
---|
34 | 'p-badge-danger': boolean;
|
---|
35 | };
|
---|
36 | static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
|
---|
37 | static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "p-badge", never, { "styleClass": "styleClass"; "style": "style"; "size": "size"; "severity": "severity"; "value": "value"; }, {}, never, never>;
|
---|
38 | }
|
---|
39 | export declare class BadgeModule {
|
---|
40 | static ɵfac: i0.ɵɵFactoryDeclaration<BadgeModule, never>;
|
---|
41 | static ɵmod: i0.ɵɵNgModuleDeclaration<BadgeModule, [typeof Badge, typeof BadgeDirective], [typeof i1.CommonModule], [typeof Badge, typeof BadgeDirective, typeof i2.SharedModule]>;
|
---|
42 | static ɵinj: i0.ɵɵInjectorDeclaration<BadgeModule>;
|
---|
43 | }
|
---|