import { Component, input } from '@angular/core';
import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { DbxAnchorComponent } from './anchor.component';
import * as i0 from "@angular/core";
import * as i1 from "@angular/material/icon";
import * as i2 from "@angular/material/button";
/**
 * Component that displays an anchor and a mat-button.
 */
export class DbxAnchorIconComponent {
    anchor = input();
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAnchorIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
    static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: DbxAnchorIconComponent, isStandalone: true, selector: "dbx-anchor-icon", inputs: { anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
    <dbx-anchor [anchor]="anchor()">
      <button mat-icon-button>
        <mat-icon>{{ anchor()?.icon }}</mat-icon>
      </button>
    </dbx-anchor>
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAnchorIconComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'dbx-anchor-icon',
                    standalone: true,
                    imports: [MatIconModule, MatButtonModule, DbxAnchorComponent],
                    template: `
    <dbx-anchor [anchor]="anchor()">
      <button mat-icon-button>
        <mat-icon>{{ anchor()?.icon }}</mat-icon>
      </button>
    </dbx-anchor>
  `
                }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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