{"version":3,"file":"igniteui-angular-bottom-nav.mjs","names":[],"sources":["../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav-content.component.ts","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav-content.component.html","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav-header.component.ts","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav-header.component.html","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav-item.component.ts","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav-item.component.html","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav.component.ts","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav.component.html","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav.directives.ts","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/public_api.ts","../../../projects/igniteui-angular/bottom-nav/src/bottom-nav/bottom-nav.module.ts"],"sourcesContent":["import { Component, HostBinding, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';\nimport { IgxTabContentBase, IgxTabContentDirective } from 'igniteui-angular/tabs';\n\n@Component({\n    selector: 'igx-bottom-nav-content',\n    templateUrl: 'bottom-nav-content.component.html',\n    encapsulation: ViewEncapsulation.None,\n    providers: [{ provide: IgxTabContentBase, useExisting: IgxBottomNavContentComponent }],\n    changeDetection: ChangeDetectionStrategy.Eager,\n    imports: []\n})\nexport class IgxBottomNavContentComponent extends IgxTabContentDirective {\n    /** @hidden */\n    @HostBinding('class.igx-bottom-nav__panel')\n    public defaultClass = true;\n}\n","@if (tab.selected || tab.previous) {\n    <ng-content></ng-content>\n}\n","import { Component, HostBinding, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';\nimport { IgxTabHeaderBase, IgxTabHeaderDirective } from 'igniteui-angular/tabs';\n\n@Component({\n    selector: 'igx-bottom-nav-header',\n    templateUrl: 'bottom-nav-header.component.html',\n    encapsulation: ViewEncapsulation.None,\n    providers: [{ provide: IgxTabHeaderBase, useExisting: IgxBottomNavHeaderComponent }],\n    changeDetection: ChangeDetectionStrategy.Eager,\n    standalone: true\n})\nexport class IgxBottomNavHeaderComponent extends IgxTabHeaderDirective {\n\n    /** @hidden */\n    @HostBinding('class.igx-bottom-nav__menu-item--selected')\n    public get cssClassSelected(): boolean {\n        return this.tab.selected;\n    }\n\n    /** @hidden */\n    @HostBinding('class.igx-bottom-nav__menu-item--disabled')\n    public get cssClassDisabled(): boolean {\n        return this.tab.disabled;\n    }\n\n    /** @hidden */\n    @HostBinding('class.igx-bottom-nav__menu-item')\n    public readonly cssClass = 'igx-bottom-nav__menu-item';\n}\n","<ng-content></ng-content>\n","import { Component, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';\nimport { IgxTabItemDirective } from 'igniteui-angular/tabs';\n\n@Component({\n    selector: 'igx-bottom-nav-item',\n    templateUrl: 'bottom-nav-item.component.html',\n    encapsulation: ViewEncapsulation.None,\n    providers: [{ provide: IgxTabItemDirective, useExisting: IgxBottomNavItemComponent }],\n    changeDetection: ChangeDetectionStrategy.Eager,\n    standalone: true\n})\nexport class IgxBottomNavItemComponent extends IgxTabItemDirective {\n}\n","<ng-template #headerTemplate>\n    <ng-content select=\"igx-bottom-nav-header\"></ng-content>\n</ng-template>\n<ng-template #panelTemplate>\n    <ng-content select=\"igx-bottom-nav-content\"></ng-content>\n</ng-template>\n","import { Component, ChangeDetectionStrategy, HostBinding, ViewEncapsulation } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { IgxTabsBase, IgxTabsDirective } from 'igniteui-angular/tabs';\n\n\n/** @hidden */\nlet NEXT_BOTTOM_NAV_ITEM_ID = 0;\n\n/**\n * Bottom Navigation component enables the user to navigate among a number of contents displayed in a single view.\n *\n * @igxModule IgxBottomNavModule\n *\n * @igxTheme igx-bottom-nav-theme\n *\n * @igxKeywords bottom navigation\n *\n * @igxGroup Layouts\n *\n * @remarks\n * The Ignite UI for Angular Bottom Navigation component enables the user to navigate among a number of contents\n * displayed in a single view. The navigation through the contents is accomplished with the tab buttons located at bottom.\n *\n * @example\n * ```html\n * <igx-bottom-nav>\n *     <igx-bottom-nav-item>\n *         <igx-bottom-nav-header>\n *             <igx-icon igxBottomNavHeaderIcon>folder</igx-icon>\n *             <span igxBottomNavHeaderLabel>Tab 1</span>\n *         </igx-bottom-nav-header>\n *         <igx-bottom-nav-content>\n *             Content 1\n *         </igx-bottom-nav-content>\n *     </igx-bottom-nav-item>\n *     ...\n * </igx-bottom-nav>\n * ```\n */\n@Component({\n    selector: 'igx-bottom-nav',\n    templateUrl: 'bottom-nav.component.html',\n    styleUrl: 'bottom-nav.component.css',\n    encapsulation: ViewEncapsulation.None,\n    providers: [{ provide: IgxTabsBase, useExisting: IgxBottomNavComponent }],\n    changeDetection: ChangeDetectionStrategy.Eager,\n    imports: [NgTemplateOutlet]\n})\nexport class IgxBottomNavComponent extends IgxTabsDirective {\n    /** @hidden */\n    public override disableAnimation = true;\n\n    /** @hidden */\n    protected override componentName = 'igx-bottom-nav';\n\n    /** @hidden @internal */\n    @HostBinding('class.igx-bottom-nav')\n    public readonly hostClass = 'igx-bottom-nav';\n\n    /** @hidden */\n    protected getNextTabId() {\n        return NEXT_BOTTOM_NAV_ITEM_ID++;\n    }\n}\n","@for (tab of items; track tab; let i = $index) {\n    <ng-container *ngTemplateOutlet=\"tab.panelTemplate\"></ng-container>\n}\n\n<div\n    #tablist\n    role=\"tablist\"\n    class=\"igx-bottom-nav__menu igx-bottom-nav__menu--bottom\"\n    aria-orientation=\"horizontal\"\n>\n    @for (tab of items; track tab; let i = $index) {\n        <ng-container *ngTemplateOutlet=\"tab.headerTemplate\"></ng-container>\n    }\n</div>\n","import { Directive } from '@angular/core';\nimport { IgxNoTypographyDirective } from 'igniteui-angular/directives';\n\n@Directive({\n    selector: '[igxBottomNavHeaderLabel],igx-bottom-nav-header-label',\n    standalone: true,\n    hostDirectives: [IgxNoTypographyDirective]\n})\nexport class IgxBottomNavHeaderLabelDirective { }\n\n@Directive({\n    selector: '[igxBottomNavHeaderIcon],igx-bottom-nav-header-icon',\n    standalone: true\n})\nexport class IgxBottomNavHeaderIconDirective { }\n","import { IgxBottomNavContentComponent } from './bottom-nav-content.component';\nimport { IgxBottomNavHeaderComponent } from './bottom-nav-header.component';\nimport { IgxBottomNavItemComponent } from './bottom-nav-item.component';\nimport { IgxBottomNavComponent } from './bottom-nav.component';\nimport { IgxBottomNavHeaderIconDirective, IgxBottomNavHeaderLabelDirective } from './bottom-nav.directives';\n\nexport * from './bottom-nav.component';\nexport * from './bottom-nav-item.component';\nexport * from './bottom-nav-header.component';\nexport * from './bottom-nav.directives';\nexport * from './bottom-nav-content.component';\n\n/* NOTE: Bottom navigation directives collection for ease-of-use import in standalone components scenario */\nexport const IGX_BOTTOM_NAV_DIRECTIVES = [\n    IgxBottomNavComponent,\n    IgxBottomNavItemComponent,\n    IgxBottomNavHeaderComponent,\n    IgxBottomNavContentComponent,\n    IgxBottomNavHeaderLabelDirective,\n    IgxBottomNavHeaderIconDirective\n] as const;\n","import { NgModule } from '@angular/core';\nimport { IGX_BOTTOM_NAV_DIRECTIVES } from './public_api';\n\n/**\n * @hidden\n * IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components\n */\n@NgModule({\n    imports: [\n        ...IGX_BOTTOM_NAV_DIRECTIVES\n    ],\n    exports: [\n        ...IGX_BOTTOM_NAV_DIRECTIVES\n    ]\n})\nexport class IgxBottomNavModule { }\n"],"mappings":";;;;;;AAWA,IAAa,+BAAb,MAAa,qCAAqC,uBAAsB;CARxE,cAAA;;EAWW,KAAA,eAAe;CACzB;CAJY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA4B,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA5B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,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