primeng
Version:
PrimeNG is a premium UI library for Angular featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock,
71 lines (67 loc) • 3 kB
TypeScript
import * as i0 from '@angular/core';
import { BaseComponent } from 'primeng/basecomponent';
import * as i1 from 'primeng/bind';
import { Bind } from 'primeng/bind';
import { BadgeSize, BadgeSeverity } from 'primeng/types/badge';
import { OverlayBadgePassThrough } from 'primeng/types/overlaybadge';
import { CSSProperties } from 'primeng/types/shared';
import { BaseStyle } from 'primeng/base';
import * as i2 from 'primeng/api';
declare class OverlayBadgeStyle extends BaseStyle {
name: string;
style: string;
classes: {
root: string;
};
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayBadgeStyle, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayBadgeStyle>;
}
/**
* OverlayPanel is a container component positioned as connected to its target.
* @group Components
*/
declare class OverlayBadge extends BaseComponent<OverlayBadgePassThrough> {
componentName: string;
$pcOverlayBadge: OverlayBadge | undefined;
bindDirectiveInstance: Bind;
/**
* Class of the element.
* @group Props
*/
styleClass: i0.InputSignal<string | undefined>;
/**
* Inline style of the element.
* @group Props
*/
style: i0.InputSignal<CSSProperties>;
/**
* Size of the badge, valid options are "large" and "xlarge".
* @group Props
*/
badgeSize: i0.InputSignal<BadgeSize | undefined>;
/**
* Severity type of the badge.
* @group Props
*/
severity: i0.InputSignal<BadgeSeverity | undefined>;
/**
* Value to display inside the badge.
* @group Props
*/
value: i0.InputSignal<string | number | null | undefined>;
/**
* When specified, disables the component.
* @group Props
*/
badgeDisabled: i0.InputSignalWithTransform<boolean, unknown>;
_componentStyle: OverlayBadgeStyle;
onAfterViewChecked(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayBadge, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<OverlayBadge, "p-overlay-badge, p-overlaybadge", never, { "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "badgeSize": { "alias": "badgeSize"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "badgeDisabled": { "alias": "badgeDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
}
declare class OverlayBadgeModule {
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayBadgeModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<OverlayBadgeModule, never, [typeof OverlayBadge, typeof i2.SharedModule], [typeof OverlayBadge, typeof i2.SharedModule]>;
static ɵinj: i0.ɵɵInjectorDeclaration<OverlayBadgeModule>;
}
export { OverlayBadge, OverlayBadgeModule, OverlayBadgeStyle };