import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { DbxPopoverComponent } from './popover.component';
import { MatIconModule } from '@angular/material/icon';
import { MatIconButton } from '@angular/material/button';
import * as i0 from "@angular/core";
import * as i1 from "@angular/material/icon";
/**
 * Pre-configured close icon button for use within popover header.
 */
export class DbxPopoverCloseButtonComponent {
    dbxPopoverComponent = inject(DbxPopoverComponent);
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxPopoverCloseButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
    static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxPopoverCloseButtonComponent, isStandalone: true, selector: "dbx-popover-close-button", ngImport: i0, template: `
    <button mat-icon-button (click)="dbxPopoverComponent.close()"><mat-icon>close</mat-icon></button>
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxPopoverCloseButtonComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'dbx-popover-close-button',
                    template: `
    <button mat-icon-button (click)="dbxPopoverComponent.close()"><mat-icon>close</mat-icon></button>
  `,
                    imports: [MatIconModule, MatIconButton],
                    standalone: true,
                    changeDetection: ChangeDetectionStrategy.OnPush
                }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wb3Zlci5jbG9zZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9kYngtd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