import { Component, input, ChangeDetectionStrategy } from '@angular/core';
import { DbxFlagComponent } from './flag.component';
import * as i0 from "@angular/core";
/**
 * Pre-configured dbx-flag prompt to do something.
 */
export class DbxFlagPromptComponent {
    color = input('accent');
    text = input();
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFlagPromptComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
    static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: DbxFlagPromptComponent, isStandalone: true, selector: "dbx-flag-prompt", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
    <dbx-flag [color]="color()">
      <span class="dbx-flag-prompt">{{ text() }}</span>
      <span class="dbx-flag-spacer"></span>
      <ng-content></ng-content>
    </dbx-flag>
  `, isInline: true, dependencies: [{ kind: "component", type: DbxFlagComponent, selector: "dbx-flag", inputs: ["color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFlagPromptComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'dbx-flag-prompt',
                    template: `
    <dbx-flag [color]="color()">
      <span class="dbx-flag-prompt">{{ text() }}</span>
      <span class="dbx-flag-spacer"></span>
      <ng-content></ng-content>
    </dbx-flag>
  `,
                    imports: [DbxFlagComponent],
                    changeDetection: ChangeDetectionStrategy.OnPush,
                    standalone: true
                }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxhZy5wcm9tcHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZGJ4LXdlYi9zcmMvbGliL2xheW91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