import { Component, input, ChangeDetectionStrategy } from '@angular/core';
import { DbxPagebarComponent } from '../../../layout/bar/pagebar.component';
import { DbxSidenavButtonComponent } from './sidenav.button.component';
import { DbxButtonSpacerDirective } from '../../../button/button.spacer.directive';
import * as i0 from "@angular/core";
/**
 * Pre-configured pagebar used with DbxSidenavComponent.
 */
export class DbxSidenavPagebarComponent extends DbxPagebarComponent {
    sidenavMenuIcon = input();
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxSidenavPagebarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
    static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: DbxSidenavPagebarComponent, isStandalone: true, selector: "dbx-sidenav-pagebar", inputs: { sidenavMenuIcon: { classPropertyName: "sidenavMenuIcon", publicName: "sidenavMenuIcon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
    <dbx-pagebar class="dbx-sidenav-pagebar" [color]="color()">
      <span left>
        <dbx-sidenav-button [sidenavMenuIcon]="sidenavMenuIcon()"></dbx-sidenav-button>
        <dbx-button-spacer></dbx-button-spacer>
        <ng-content left></ng-content>
      </span>
      <ng-content right></ng-content>
    </dbx-pagebar>
  `, isInline: true, dependencies: [{ kind: "component", type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: ["color"] }, { kind: "component", type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button", inputs: ["sidenavMenuIcon"] }, { kind: "directive", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxSidenavPagebarComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'dbx-sidenav-pagebar',
                    template: `
    <dbx-pagebar class="dbx-sidenav-pagebar" [color]="color()">
      <span left>
        <dbx-sidenav-button [sidenavMenuIcon]="sidenavMenuIcon()"></dbx-sidenav-button>
        <dbx-button-spacer></dbx-button-spacer>
        <ng-content left></ng-content>
      </span>
      <ng-content right></ng-content>
    </dbx-pagebar>
  `,
                    imports: [DbxPagebarComponent, DbxSidenavButtonComponent, DbxButtonSpacerDirective],
                    changeDetection: ChangeDetectionStrategy.OnPush,
                    standalone: true
                }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZW5hdi5wYWdlYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2RieC13ZWIvc3JjL2xpYi9yb3V0ZXIvbGF5b3V0L3NpZGVuYXYvc2lkZW5hdi5wYWdlYmFyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM1RSxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUN2RSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQzs7QUFFbkY7O0dBRUc7QUFpQkgsTUFBTSxPQUFPLDBCQUEyQixTQUFRLG1CQUFtQjtJQUN4RCxlQUFlLEdBQUcsS0FBSyxFQUFpQixDQUFDO3dHQUR2QywwQkFBMEI7NEZBQTFCLDBCQUEwQix3UUFkM0I7Ozs7Ozs7OztHQVNULDREQUNTLG1CQUFtQiwyRUFBRSx5QkFBeUIsNEZBQUUsd0JBQXdCOzs0RkFJdkUsMEJBQTBCO2tCQWhCdEMsU0FBUzttQkFBQztvQkFDVCxR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