@ngx-uk-frontend/core
Version:
Core utilities and shared functionality for ngx-uk-frontend libraries
16 lines • 1.24 kB
JavaScript
import { Directive, input } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Base directive for phase banner components across different design systems.
* Provides common functionality for managing phase state and content.
*/
export class PhaseBannerDirective {
/** The phase of the service. Can be 'alpha' or 'beta'. Defaults to 'beta'. */
phase = input('beta', ...(ngDevMode ? [{ debugName: "phase" }] : []));
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PhaseBannerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: PhaseBannerDirective, isStandalone: true, inputs: { phase: { classPropertyName: "phase", publicName: "phase", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PhaseBannerDirective, decorators: [{
type: Directive
}], propDecorators: { phase: [{ type: i0.Input, args: [{ isSignal: true, alias: "phase", required: false }] }] } });
//# sourceMappingURL=phase-banner.directive.js.map