@ngx-uk-frontend/core
Version:
Core utilities and shared functionality for ngx-uk-frontend libraries
20 lines • 1.44 kB
JavaScript
import { Directive, input } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Base directive for notification panel components.
* Contains shared functionality for displaying important information
* after task completion, such as confirmation messages.
*/
export class NotificationPanelDirective {
/** The title text displayed in the notification panel. This input is required. */
title = input.required(...(ngDevMode ? [{ debugName: "title" }] : []));
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NotificationPanelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: NotificationPanelDirective, isStandalone: true, selector: "[libNotificationPanel]", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NotificationPanelDirective, decorators: [{
type: Directive,
args: [{
selector: '[libNotificationPanel]',
}]
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }] } });
//# sourceMappingURL=notification-panel.directive.js.map