primeng 13.0.3 → 13.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/translation.d.ts +1 -0
 - package/api/translationkeys.d.ts +1 -0
 - package/calendar/calendar.d.ts +5 -2
 - package/esm2020/api/primengconfig.mjs +2 -1
 - package/esm2020/api/translation.mjs +1 -1
 - package/esm2020/api/translationkeys.mjs +2 -1
 - package/esm2020/calendar/calendar.mjs +19 -9
 - package/esm2020/dropdown/dropdown.mjs +2 -2
 - package/esm2020/password/password.mjs +8 -3
 - package/esm2020/table/table.mjs +76 -63
 - package/esm2020/tabmenu/tabmenu.mjs +23 -12
 - package/esm2020/treetable/treetable.mjs +14 -17
 - package/fesm2015/primeng-api.mjs +2 -0
 - package/fesm2015/primeng-api.mjs.map +1 -1
 - package/fesm2015/primeng-calendar.mjs +18 -8
 - package/fesm2015/primeng-calendar.mjs.map +1 -1
 - package/fesm2015/primeng-dropdown.mjs +1 -1
 - package/fesm2015/primeng-dropdown.mjs.map +1 -1
 - package/fesm2015/primeng-password.mjs +7 -2
 - package/fesm2015/primeng-password.mjs.map +1 -1
 - package/fesm2015/primeng-table.mjs +75 -62
 - package/fesm2015/primeng-table.mjs.map +1 -1
 - package/fesm2015/primeng-tabmenu.mjs +22 -11
 - package/fesm2015/primeng-tabmenu.mjs.map +1 -1
 - package/fesm2015/primeng-treetable.mjs +13 -16
 - package/fesm2015/primeng-treetable.mjs.map +1 -1
 - package/fesm2020/primeng-api.mjs +2 -0
 - package/fesm2020/primeng-api.mjs.map +1 -1
 - package/fesm2020/primeng-calendar.mjs +18 -8
 - package/fesm2020/primeng-calendar.mjs.map +1 -1
 - package/fesm2020/primeng-dropdown.mjs +1 -1
 - package/fesm2020/primeng-dropdown.mjs.map +1 -1
 - package/fesm2020/primeng-password.mjs +7 -2
 - package/fesm2020/primeng-password.mjs.map +1 -1
 - package/fesm2020/primeng-table.mjs +75 -62
 - package/fesm2020/primeng-table.mjs.map +1 -1
 - package/fesm2020/primeng-tabmenu.mjs +22 -11
 - package/fesm2020/primeng-tabmenu.mjs.map +1 -1
 - package/fesm2020/primeng-treetable.mjs +13 -16
 - package/fesm2020/primeng-treetable.mjs.map +1 -1
 - package/package.json +1 -1
 - package/password/password.d.ts +1 -0
 - package/resources/themes/lara-dark-blue/theme.css +349 -349
 - package/resources/themes/lara-dark-indigo/theme.css +349 -349
 - package/resources/themes/lara-dark-purple/theme.css +349 -349
 - package/resources/themes/lara-dark-teal/theme.css +349 -349
 - package/table/table.d.ts +7 -4
 - package/tabmenu/tabmenu.d.ts +7 -1
 - package/treetable/treetable.d.ts +2 -1
 
| 
         @@ -1,17 +1,22 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as i0 from '@angular/core';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, ViewChild, ContentChildren, NgModule } from '@angular/core';
         
     | 
| 
       3 
     | 
    
         
            -
            import * as  
     | 
| 
      
 3 
     | 
    
         
            +
            import * as i2 from '@angular/common';
         
     | 
| 
       4 
4 
     | 
    
         
             
            import { CommonModule } from '@angular/common';
         
     | 
| 
       5 
     | 
    
         
            -
            import * as  
     | 
| 
      
 5 
     | 
    
         
            +
            import * as i4 from 'primeng/ripple';
         
     | 
| 
       6 
6 
     | 
    
         
             
            import { RippleModule } from 'primeng/ripple';
         
     | 
| 
       7 
7 
     | 
    
         
             
            import { PrimeTemplate, SharedModule } from 'primeng/api';
         
     | 
| 
       8 
     | 
    
         
            -
            import * as  
     | 
| 
      
 8 
     | 
    
         
            +
            import * as i1 from '@angular/router';
         
     | 
| 
       9 
9 
     | 
    
         
             
            import { RouterModule } from '@angular/router';
         
     | 
| 
       10 
10 
     | 
    
         
             
            import { DomHandler } from 'primeng/dom';
         
     | 
| 
       11 
     | 
    
         
            -
            import * as  
     | 
| 
      
 11 
     | 
    
         
            +
            import * as i3 from 'primeng/tooltip';
         
     | 
| 
       12 
12 
     | 
    
         
             
            import { TooltipModule } from 'primeng/tooltip';
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         
             
            class TabMenu {
         
     | 
| 
      
 15 
     | 
    
         
            +
                constructor(router, route, cd) {
         
     | 
| 
      
 16 
     | 
    
         
            +
                    this.router = router;
         
     | 
| 
      
 17 
     | 
    
         
            +
                    this.route = route;
         
     | 
| 
      
 18 
     | 
    
         
            +
                    this.cd = cd;
         
     | 
| 
      
 19 
     | 
    
         
            +
                }
         
     | 
| 
       15 
20 
     | 
    
         
             
                ngAfterContentInit() {
         
     | 
| 
       16 
21 
     | 
    
         
             
                    this.templates.forEach((item) => {
         
     | 
| 
       17 
22 
     | 
    
         
             
                        switch (item.getType()) {
         
     | 
| 
         @@ -33,6 +38,12 @@ class TabMenu { 
     | 
|
| 
       33 
38 
     | 
    
         
             
                        this.tabChanged = false;
         
     | 
| 
       34 
39 
     | 
    
         
             
                    }
         
     | 
| 
       35 
40 
     | 
    
         
             
                }
         
     | 
| 
      
 41 
     | 
    
         
            +
                isActive(item) {
         
     | 
| 
      
 42 
     | 
    
         
            +
                    if (item.routerLink)
         
     | 
| 
      
 43 
     | 
    
         
            +
                        return this.router.isActive(item.routerLink, false) || this.router.isActive(this.router.createUrlTree([item.routerLink], { relativeTo: this.route }).toString(), false);
         
     | 
| 
      
 44 
     | 
    
         
            +
                    else
         
     | 
| 
      
 45 
     | 
    
         
            +
                        return item === this.activeItem;
         
     | 
| 
      
 46 
     | 
    
         
            +
                }
         
     | 
| 
       36 
47 
     | 
    
         
             
                itemClick(event, item) {
         
     | 
| 
       37 
48 
     | 
    
         
             
                    if (item.disabled) {
         
     | 
| 
       38 
49 
     | 
    
         
             
                        event.preventDefault();
         
     | 
| 
         @@ -55,12 +66,12 @@ class TabMenu { 
     | 
|
| 
       55 
66 
     | 
    
         
             
                    }
         
     | 
| 
       56 
67 
     | 
    
         
             
                }
         
     | 
| 
       57 
68 
     | 
    
         
             
            }
         
     | 
| 
       58 
     | 
    
         
            -
            TabMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TabMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
         
     | 
| 
      
 69 
     | 
    
         
            +
            TabMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TabMenu, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
         
     | 
| 
       59 
70 
     | 
    
         
             
            TabMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: TabMenu, selector: "p-tabMenu", inputs: { model: "model", activeItem: "activeItem", popup: "popup", style: "style", styleClass: "styleClass" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "navbar", first: true, predicate: ["navbar"], descendants: true }, { propertyName: "inkbar", first: true, predicate: ["inkbar"], descendants: true }], ngImport: i0, template: `
         
     | 
| 
       60 
71 
     | 
    
         
             
                    <div [ngClass]="'p-tabmenu p-component'" [ngStyle]="style" [class]="styleClass">
         
     | 
| 
       61 
72 
     | 
    
         
             
                        <ul #navbar class="p-tabmenu-nav p-reset" role="tablist">
         
     | 
| 
       62 
     | 
    
         
            -
                            <li *ngFor="let item of model; let i = index" role="tab" [ngStyle]="item.style" [class]="item.styleClass" [attr.aria-selected]=" 
     | 
| 
       63 
     | 
    
         
            -
                                [ngClass]="{'p-tabmenuitem':true,'p-disabled':item.disabled,'p-highlight': 
     | 
| 
      
 73 
     | 
    
         
            +
                            <li *ngFor="let item of model; let i = index" role="tab" [ngStyle]="item.style" [class]="item.styleClass" [attr.aria-selected]="isActive(item)" [attr.aria-expanded]="isActive(item)"
         
     | 
| 
      
 74 
     | 
    
         
            +
                                [ngClass]="{'p-tabmenuitem':true,'p-disabled':item.disabled,'p-highlight':isActive(item),'p-hidden': item.visible === false}" pTooltip [tooltipOptions]="item.tooltipOptions">
         
     | 
| 
       64 
75 
     | 
    
         
             
                                <a *ngIf="!item.routerLink" [attr.href]="item.url" class="p-menuitem-link" role="presentation" (click)="itemClick($event,item)" (keydown.enter)="itemClick($event,item)" [attr.tabindex]="item.disabled ? null : '0'"
         
     | 
| 
       65 
76 
     | 
    
         
             
                                    [attr.target]="item.target" [attr.title]="item.title" [attr.id]="item.id" pRipple>
         
     | 
| 
       66 
77 
     | 
    
         
             
                                    <ng-container *ngIf="!itemTemplate">
         
     | 
| 
         @@ -85,14 +96,14 @@ TabMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0 
     | 
|
| 
       85 
96 
     | 
    
         
             
                            <li #inkbar class="p-tabmenu-ink-bar"></li>
         
     | 
| 
       86 
97 
     | 
    
         
             
                        </ul>
         
     | 
| 
       87 
98 
     | 
    
         
             
                    </div>
         
     | 
| 
       88 
     | 
    
         
            -
                `, isInline: true, styles: [".p-tabmenu{overflow-x:auto}.p-tabmenu-nav{display:flex;margin:0;padding:0;list-style-type:none;flex-wrap:nowrap}.p-tabmenu-nav a{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabmenu-nav a:focus{z-index:1}.p-tabmenu-nav .p-menuitem-text{line-height:1}.p-tabmenu-ink-bar{display:none;z-index:1}.p-tabmenu::-webkit-scrollbar{display:none}\n"], directives: [{ type:  
     | 
| 
      
 99 
     | 
    
         
            +
                `, isInline: true, styles: [".p-tabmenu{overflow-x:auto}.p-tabmenu-nav{display:flex;margin:0;padding:0;list-style-type:none;flex-wrap:nowrap}.p-tabmenu-nav a{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabmenu-nav a:focus{z-index:1}.p-tabmenu-nav .p-menuitem-text{line-height:1}.p-tabmenu-ink-bar{display:none;z-index:1}.p-tabmenu::-webkit-scrollbar{display:none}\n"], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.Ripple, selector: "[pRipple]" }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { type: i1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
         
     | 
| 
       89 
100 
     | 
    
         
             
            i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TabMenu, decorators: [{
         
     | 
| 
       90 
101 
     | 
    
         
             
                        type: Component,
         
     | 
| 
       91 
102 
     | 
    
         
             
                        args: [{ selector: 'p-tabMenu', template: `
         
     | 
| 
       92 
103 
     | 
    
         
             
                    <div [ngClass]="'p-tabmenu p-component'" [ngStyle]="style" [class]="styleClass">
         
     | 
| 
       93 
104 
     | 
    
         
             
                        <ul #navbar class="p-tabmenu-nav p-reset" role="tablist">
         
     | 
| 
       94 
     | 
    
         
            -
                            <li *ngFor="let item of model; let i = index" role="tab" [ngStyle]="item.style" [class]="item.styleClass" [attr.aria-selected]=" 
     | 
| 
       95 
     | 
    
         
            -
                                [ngClass]="{'p-tabmenuitem':true,'p-disabled':item.disabled,'p-highlight': 
     | 
| 
      
 105 
     | 
    
         
            +
                            <li *ngFor="let item of model; let i = index" role="tab" [ngStyle]="item.style" [class]="item.styleClass" [attr.aria-selected]="isActive(item)" [attr.aria-expanded]="isActive(item)"
         
     | 
| 
      
 106 
     | 
    
         
            +
                                [ngClass]="{'p-tabmenuitem':true,'p-disabled':item.disabled,'p-highlight':isActive(item),'p-hidden': item.visible === false}" pTooltip [tooltipOptions]="item.tooltipOptions">
         
     | 
| 
       96 
107 
     | 
    
         
             
                                <a *ngIf="!item.routerLink" [attr.href]="item.url" class="p-menuitem-link" role="presentation" (click)="itemClick($event,item)" (keydown.enter)="itemClick($event,item)" [attr.tabindex]="item.disabled ? null : '0'"
         
     | 
| 
       97 
108 
     | 
    
         
             
                                    [attr.target]="item.target" [attr.title]="item.title" [attr.id]="item.id" pRipple>
         
     | 
| 
       98 
109 
     | 
    
         
             
                                    <ng-container *ngIf="!itemTemplate">
         
     | 
| 
         @@ -120,7 +131,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor 
     | 
|
| 
       120 
131 
     | 
    
         
             
                `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
         
     | 
| 
       121 
132 
     | 
    
         
             
                                    'class': 'p-element'
         
     | 
| 
       122 
133 
     | 
    
         
             
                                }, styles: [".p-tabmenu{overflow-x:auto}.p-tabmenu-nav{display:flex;margin:0;padding:0;list-style-type:none;flex-wrap:nowrap}.p-tabmenu-nav a{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabmenu-nav a:focus{z-index:1}.p-tabmenu-nav .p-menuitem-text{line-height:1}.p-tabmenu-ink-bar{display:none;z-index:1}.p-tabmenu::-webkit-scrollbar{display:none}\n"] }]
         
     | 
| 
       123 
     | 
    
         
            -
                    }], propDecorators: { model: [{
         
     | 
| 
      
 134 
     | 
    
         
            +
                    }], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { model: [{
         
     | 
| 
       124 
135 
     | 
    
         
             
                            type: Input
         
     | 
| 
       125 
136 
     | 
    
         
             
                        }], activeItem: [{
         
     | 
| 
       126 
137 
     | 
    
         
             
                            type: Input
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"primeng-tabmenu.mjs","sources":["../../src/app/components/tabmenu/tabmenu.ts","../../src/app/components/tabmenu/primeng-tabmenu.ts"],"sourcesContent":["import {NgModule,Component,Input,ContentChildren,QueryList,AfterContentInit,AfterViewInit,AfterViewChecked,TemplateRef,ChangeDetectionStrategy, ViewEncapsulation, ViewChild, ElementRef} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {MenuItem} from 'primeng/api';\nimport {RippleModule} from 'primeng/ripple';\nimport {PrimeTemplate, SharedModule} from 'primeng/api';\nimport {RouterModule} from '@angular/router';\nimport {DomHandler} from 'primeng/dom';\nimport {TooltipModule} from 'primeng/tooltip';\n\n@Component({\n    selector: 'p-tabMenu',\n    template: `\n        <div [ngClass]=\"'p-tabmenu p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\">\n            <ul #navbar class=\"p-tabmenu-nav p-reset\" role=\"tablist\">\n                <li *ngFor=\"let item of model; let i = index\" role=\"tab\" [ngStyle]=\"item.style\" [class]=\"item.styleClass\" [attr.aria-selected]=\" 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"primeng-tabmenu.mjs","sources":["../../src/app/components/tabmenu/tabmenu.ts","../../src/app/components/tabmenu/primeng-tabmenu.ts"],"sourcesContent":["import {NgModule,Component,Input,ContentChildren,QueryList,AfterContentInit,AfterViewInit,AfterViewChecked,TemplateRef,ChangeDetectionStrategy, ViewEncapsulation, ViewChild, ElementRef, ChangeDetectorRef} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {MenuItem} from 'primeng/api';\nimport {RippleModule} from 'primeng/ripple';\nimport {PrimeTemplate, SharedModule} from 'primeng/api';\nimport {ActivatedRoute, Router, RouterModule} from '@angular/router';\nimport {DomHandler} from 'primeng/dom';\nimport {TooltipModule} from 'primeng/tooltip';\n\n@Component({\n    selector: 'p-tabMenu',\n    template: `\n        <div [ngClass]=\"'p-tabmenu p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\">\n            <ul #navbar class=\"p-tabmenu-nav p-reset\" role=\"tablist\">\n                <li *ngFor=\"let item of model; let i = index\" role=\"tab\" [ngStyle]=\"item.style\" [class]=\"item.styleClass\" [attr.aria-selected]=\"isActive(item)\" [attr.aria-expanded]=\"isActive(item)\"\n                    [ngClass]=\"{'p-tabmenuitem':true,'p-disabled':item.disabled,'p-highlight':isActive(item),'p-hidden': item.visible === false}\" pTooltip [tooltipOptions]=\"item.tooltipOptions\">\n                    <a *ngIf=\"!item.routerLink\" [attr.href]=\"item.url\" class=\"p-menuitem-link\" role=\"presentation\" (click)=\"itemClick($event,item)\" (keydown.enter)=\"itemClick($event,item)\" [attr.tabindex]=\"item.disabled ? null : '0'\"\n                        [attr.target]=\"item.target\" [attr.title]=\"item.title\" [attr.id]=\"item.id\" pRipple>\n                        <ng-container *ngIf=\"!itemTemplate\">\n                            <span class=\"p-menuitem-icon\" [ngClass]=\"item.icon\" *ngIf=\"item.icon\"></span>\n                            <span class=\"p-menuitem-text\" *ngIf=\"item.escape !== false; else htmlLabel\">{{item.label}}</span>\n                            <ng-template #htmlLabel><span class=\"p-menuitem-text\" [innerHTML]=\"item.label\"></span></ng-template>\n                        </ng-container>\n                        <ng-container *ngTemplateOutlet=\"itemTemplate; context: {$implicit: item, index: i}\"></ng-container>\n                    </a>\n                    <a *ngIf=\"item.routerLink\" [routerLink]=\"item.routerLink\" [queryParams]=\"item.queryParams\" [routerLinkActive]=\"'p-menuitem-link-active'\" [routerLinkActiveOptions]=\"item.routerLinkActiveOptions||{exact:false}\"\n                        role=\"presentation\" class=\"p-menuitem-link\" (click)=\"itemClick($event,item)\" (keydown.enter)=\"itemClick($event,item)\" [attr.tabindex]=\"item.disabled ? null : '0'\"\n                        [attr.target]=\"item.target\" [attr.title]=\"item.title\" [attr.id]=\"item.id\"\n                        [fragment]=\"item.fragment\" [queryParamsHandling]=\"item.queryParamsHandling\" [preserveFragment]=\"item.preserveFragment\" [skipLocationChange]=\"item.skipLocationChange\" [replaceUrl]=\"item.replaceUrl\" [state]=\"item.state\" pRipple>\n                        <ng-container *ngIf=\"!itemTemplate\">\n                            <span class=\"p-menuitem-icon\" [ngClass]=\"item.icon\" *ngIf=\"item.icon\"></span>\n                            <span class=\"p-menuitem-text\" *ngIf=\"item.escape !== false; else htmlRouteLabel\">{{item.label}}</span>\n                            <ng-template #htmlRouteLabel><span class=\"p-menuitem-text\" [innerHTML]=\"item.label\"></span></ng-template>\n                        </ng-container>\n                        <ng-container *ngTemplateOutlet=\"itemTemplate; context: {$implicit: item, index: i}\"></ng-container>\n                    </a>\n                </li>\n                <li #inkbar class=\"p-tabmenu-ink-bar\"></li>\n            </ul>\n        </div>\n    `,\n    changeDetection: ChangeDetectionStrategy.OnPush,\n    encapsulation: ViewEncapsulation.None,\n    styleUrls: ['./tabmenu.css'],\n    host: {\n        'class': 'p-element'\n    }\n})\nexport class TabMenu implements AfterContentInit,AfterViewInit,AfterViewChecked {\n\n    @Input() model: MenuItem[];\n\n    @Input() activeItem: MenuItem;\n\n    @Input() popup: boolean;\n\n    @Input() style: any;\n\n    @Input() styleClass: string;\n\n    @ViewChild('navbar') navbar: ElementRef;\n\n    @ViewChild('inkbar') inkbar: ElementRef;\n\n    @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n    itemTemplate: TemplateRef<any>;\n\n    tabChanged: boolean;\n\n    constructor(private router: Router, private route:ActivatedRoute, private cd: ChangeDetectorRef) { }\n\n    ngAfterContentInit() {\n        this.templates.forEach((item) => {\n            switch(item.getType()) {\n                case 'item':\n                    this.itemTemplate = item.template;\n                break;\n\n                default:\n                    this.itemTemplate = item.template;\n                break;\n            }\n        });\n    }\n\n    ngAfterViewInit() {\n        this.updateInkBar();\n    }\n\n    ngAfterViewChecked() {\n        if (this.tabChanged) {\n            this.updateInkBar();\n            this.tabChanged = false;\n        }\n    }\n\n    isActive(item: MenuItem) {\n        if (item.routerLink)\n            return this.router.isActive(item.routerLink, false) || this.router.isActive(this.router.createUrlTree([item.routerLink], {relativeTo: this.route}).toString(), false);\n        else\n        return item === this.activeItem\n    }\n\n    itemClick(event: Event, item: MenuItem) {\n        if (item.disabled) {\n            event.preventDefault();\n            return;\n        }\n\n        if (item.command) {\n            item.command({\n                originalEvent: event,\n                item: item\n            });\n        }\n\n        this.activeItem = item;\n        this.tabChanged = true;\n    }\n\n    updateInkBar() {\n        let tabHeader = DomHandler.findSingle(this.navbar.nativeElement, 'li.p-highlight');\n        if (tabHeader) {\n            this.inkbar.nativeElement.style.width = DomHandler.getWidth(tabHeader) + 'px';\n            this.inkbar.nativeElement.style.left = DomHandler.getOffset(tabHeader).left - DomHandler.getOffset(this.navbar.nativeElement).left + 'px';\n        }\n    }\n}\n\n@NgModule({\n    imports: [CommonModule,RouterModule,SharedModule,RippleModule,TooltipModule],\n    exports: [TabMenu,RouterModule,SharedModule,TooltipModule],\n    declarations: [TabMenu]\n})\nexport class TabMenuModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAgDa,OAAO;IAsBhB,YAAoB,MAAc,EAAU,KAAoB,EAAU,EAAqB;QAA3E,WAAM,GAAN,MAAM,CAAQ;QAAU,UAAK,GAAL,KAAK,CAAe;QAAU,OAAE,GAAF,EAAE,CAAmB;KAAK;IAEpG,kBAAkB;QACd,IAAI,CAAC,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EAAC,aAAa,CAAC,EAC1D,YAAY,EAAC,YAAY,EAAC,aAAa;2FAGhD,aAAa;kBALzB,QAAQ;mBAAC;oBACN,OAAO,EAAE,CAAC,YAAY,EAAC,YAAY,EAAC,YAAY,EAAC,YAAY,EAAC,aAAa,CAAC;oBAC5E,OAAO,EAAE,CAAC,OAAO,EAAC,YAAY,EAAC,YAAY,EAAC,aAAa,CAAC;oBAC1D,YAAY,EAAE,CAAC,OAAO,CAAC;iBAC1B;;;ACtID;;;;;;"}
         
     | 
| 
         @@ -2309,10 +2309,10 @@ class TTCheckbox { 
     | 
|
| 
       2309 
2309 
     | 
    
         
             
                    DomHandler.clearSelection();
         
     | 
| 
       2310 
2310 
     | 
    
         
             
                }
         
     | 
| 
       2311 
2311 
     | 
    
         
             
                onFocus() {
         
     | 
| 
       2312 
     | 
    
         
            -
                     
     | 
| 
      
 2312 
     | 
    
         
            +
                    this.focused = true;
         
     | 
| 
       2313 
2313 
     | 
    
         
             
                }
         
     | 
| 
       2314 
2314 
     | 
    
         
             
                onBlur() {
         
     | 
| 
       2315 
     | 
    
         
            -
                     
     | 
| 
      
 2315 
     | 
    
         
            +
                    this.focused = false;
         
     | 
| 
       2316 
2316 
     | 
    
         
             
                }
         
     | 
| 
       2317 
2317 
     | 
    
         
             
                ngOnDestroy() {
         
     | 
| 
       2318 
2318 
     | 
    
         
             
                    if (this.subscription) {
         
     | 
| 
         @@ -2321,13 +2321,13 @@ class TTCheckbox { 
     | 
|
| 
       2321 
2321 
     | 
    
         
             
                }
         
     | 
| 
       2322 
2322 
     | 
    
         
             
            }
         
     | 
| 
       2323 
2323 
     | 
    
         
             
            TTCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TTCheckbox, deps: [{ token: TreeTable }, { token: TreeTableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
         
     | 
| 
       2324 
     | 
    
         
            -
            TTCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: TTCheckbox, selector: "p-treeTableCheckbox", inputs: { disabled: "disabled", rowNode: ["value", "rowNode"] }, host: { classAttribute: "p-element" },  
     | 
| 
       2325 
     | 
    
         
            -
                    <div class="p-checkbox p-component" (click)="onClick($event)">
         
     | 
| 
      
 2324 
     | 
    
         
            +
            TTCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: TTCheckbox, selector: "p-treeTableCheckbox", inputs: { disabled: "disabled", rowNode: ["value", "rowNode"] }, host: { classAttribute: "p-element" }, ngImport: i0, template: `
         
     | 
| 
      
 2325 
     | 
    
         
            +
                    <div class="p-checkbox p-component" [ngClass]="{'p-checkbox-focused':focused}" (click)="onClick($event)">
         
     | 
| 
       2326 
2326 
     | 
    
         
             
                        <div class="p-hidden-accessible">
         
     | 
| 
       2327 
2327 
     | 
    
         
             
                            <input type="checkbox" [checked]="checked" (focus)="onFocus()" (blur)="onBlur()">
         
     | 
| 
       2328 
2328 
     | 
    
         
             
                        </div>
         
     | 
| 
       2329 
2329 
     | 
    
         
             
                        <div #box [ngClass]="{'p-checkbox-box':true,
         
     | 
| 
       2330 
     | 
    
         
            -
                            'p-highlight':checked, 'p-indeterminate': rowNode.node.partialSelected, 'p-disabled':disabled}"  role="checkbox" [attr.aria-checked]="checked">
         
     | 
| 
      
 2330 
     | 
    
         
            +
                            'p-highlight':checked, 'p-focus':focused, 'p-indeterminate': rowNode.node.partialSelected, 'p-disabled':disabled}"  role="checkbox" [attr.aria-checked]="checked">
         
     | 
| 
       2331 
2331 
     | 
    
         
             
                            <span class="p-checkbox-icon pi" [ngClass]="{'pi-check':checked, 'pi-minus': rowNode.node.partialSelected}"></span>
         
     | 
| 
       2332 
2332 
     | 
    
         
             
                        </div>
         
     | 
| 
       2333 
2333 
     | 
    
         
             
                    </div>
         
     | 
| 
         @@ -2337,12 +2337,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor 
     | 
|
| 
       2337 
2337 
     | 
    
         
             
                        args: [{
         
     | 
| 
       2338 
2338 
     | 
    
         
             
                                selector: 'p-treeTableCheckbox',
         
     | 
| 
       2339 
2339 
     | 
    
         
             
                                template: `
         
     | 
| 
       2340 
     | 
    
         
            -
                    <div class="p-checkbox p-component" (click)="onClick($event)">
         
     | 
| 
      
 2340 
     | 
    
         
            +
                    <div class="p-checkbox p-component" [ngClass]="{'p-checkbox-focused':focused}" (click)="onClick($event)">
         
     | 
| 
       2341 
2341 
     | 
    
         
             
                        <div class="p-hidden-accessible">
         
     | 
| 
       2342 
2342 
     | 
    
         
             
                            <input type="checkbox" [checked]="checked" (focus)="onFocus()" (blur)="onBlur()">
         
     | 
| 
       2343 
2343 
     | 
    
         
             
                        </div>
         
     | 
| 
       2344 
2344 
     | 
    
         
             
                        <div #box [ngClass]="{'p-checkbox-box':true,
         
     | 
| 
       2345 
     | 
    
         
            -
                            'p-highlight':checked, 'p-indeterminate': rowNode.node.partialSelected, 'p-disabled':disabled}"  role="checkbox" [attr.aria-checked]="checked">
         
     | 
| 
      
 2345 
     | 
    
         
            +
                            'p-highlight':checked, 'p-focus':focused, 'p-indeterminate': rowNode.node.partialSelected, 'p-disabled':disabled}"  role="checkbox" [attr.aria-checked]="checked">
         
     | 
| 
       2346 
2346 
     | 
    
         
             
                            <span class="p-checkbox-icon pi" [ngClass]="{'pi-check':checked, 'pi-minus': rowNode.node.partialSelected}"></span>
         
     | 
| 
       2347 
2347 
     | 
    
         
             
                        </div>
         
     | 
| 
       2348 
2348 
     | 
    
         
             
                    </div>
         
     | 
| 
         @@ -2358,9 +2358,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor 
     | 
|
| 
       2358 
2358 
     | 
    
         
             
                        }], rowNode: [{
         
     | 
| 
       2359 
2359 
     | 
    
         
             
                            type: Input,
         
     | 
| 
       2360 
2360 
     | 
    
         
             
                            args: ["value"]
         
     | 
| 
       2361 
     | 
    
         
            -
                        }], boxViewChild: [{
         
     | 
| 
       2362 
     | 
    
         
            -
                            type: ViewChild,
         
     | 
| 
       2363 
     | 
    
         
            -
                            args: ['box']
         
     | 
| 
       2364 
2361 
     | 
    
         
             
                        }] } });
         
     | 
| 
       2365 
2362 
     | 
    
         
             
            class TTHeaderCheckbox {
         
     | 
| 
       2366 
2363 
     | 
    
         
             
                constructor(tt, tableService, cd) {
         
     | 
| 
         @@ -2384,10 +2381,10 @@ class TTHeaderCheckbox { 
     | 
|
| 
       2384 
2381 
     | 
    
         
             
                    DomHandler.clearSelection();
         
     | 
| 
       2385 
2382 
     | 
    
         
             
                }
         
     | 
| 
       2386 
2383 
     | 
    
         
             
                onFocus() {
         
     | 
| 
       2387 
     | 
    
         
            -
                     
     | 
| 
      
 2384 
     | 
    
         
            +
                    this.focused = true;
         
     | 
| 
       2388 
2385 
     | 
    
         
             
                }
         
     | 
| 
       2389 
2386 
     | 
    
         
             
                onBlur() {
         
     | 
| 
       2390 
     | 
    
         
            -
                     
     | 
| 
      
 2387 
     | 
    
         
            +
                    this.focused = false;
         
     | 
| 
       2391 
2388 
     | 
    
         
             
                }
         
     | 
| 
       2392 
2389 
     | 
    
         
             
                ngOnDestroy() {
         
     | 
| 
       2393 
2390 
     | 
    
         
             
                    if (this.selectionChangeSubscription) {
         
     | 
| 
         @@ -2420,12 +2417,12 @@ class TTHeaderCheckbox { 
     | 
|
| 
       2420 
2417 
     | 
    
         
             
            }
         
     | 
| 
       2421 
2418 
     | 
    
         
             
            TTHeaderCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TTHeaderCheckbox, deps: [{ token: TreeTable }, { token: TreeTableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
         
     | 
| 
       2422 
2419 
     | 
    
         
             
            TTHeaderCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: TTHeaderCheckbox, selector: "p-treeTableHeaderCheckbox", host: { classAttribute: "p-element" }, viewQueries: [{ propertyName: "boxViewChild", first: true, predicate: ["box"], descendants: true }], ngImport: i0, template: `
         
     | 
| 
       2423 
     | 
    
         
            -
                    <div class="p-checkbox p-component" (click)="onClick($event, cb.checked)">
         
     | 
| 
      
 2420 
     | 
    
         
            +
                    <div class="p-checkbox p-component" [ngClass]="{'p-checkbox-focused':focused}" (click)="onClick($event, cb.checked)">
         
     | 
| 
       2424 
2421 
     | 
    
         
             
                        <div class="p-hidden-accessible">
         
     | 
| 
       2425 
2422 
     | 
    
         
             
                            <input #cb type="checkbox" [checked]="checked" (focus)="onFocus()" (blur)="onBlur()" [disabled]="!tt.value||tt.value.length === 0">
         
     | 
| 
       2426 
2423 
     | 
    
         
             
                        </div>
         
     | 
| 
       2427 
2424 
     | 
    
         
             
                        <div #box [ngClass]="{'p-checkbox-box':true,
         
     | 
| 
       2428 
     | 
    
         
            -
                            'p-highlight':checked, 'p-disabled': (!tt.value || tt.value.length === 0)}"  role="checkbox" [attr.aria-checked]="checked">
         
     | 
| 
      
 2425 
     | 
    
         
            +
                            'p-highlight':checked, 'p-focus':focused, 'p-disabled': (!tt.value || tt.value.length === 0)}"  role="checkbox" [attr.aria-checked]="checked">
         
     | 
| 
       2429 
2426 
     | 
    
         
             
                            <span class="p-checkbox-icon" [ngClass]="{'pi pi-check':checked}"></span>
         
     | 
| 
       2430 
2427 
     | 
    
         
             
                        </div>
         
     | 
| 
       2431 
2428 
     | 
    
         
             
                    </div>
         
     | 
| 
         @@ -2435,12 +2432,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor 
     | 
|
| 
       2435 
2432 
     | 
    
         
             
                        args: [{
         
     | 
| 
       2436 
2433 
     | 
    
         
             
                                selector: 'p-treeTableHeaderCheckbox',
         
     | 
| 
       2437 
2434 
     | 
    
         
             
                                template: `
         
     | 
| 
       2438 
     | 
    
         
            -
                    <div class="p-checkbox p-component" (click)="onClick($event, cb.checked)">
         
     | 
| 
      
 2435 
     | 
    
         
            +
                    <div class="p-checkbox p-component" [ngClass]="{'p-checkbox-focused':focused}" (click)="onClick($event, cb.checked)">
         
     | 
| 
       2439 
2436 
     | 
    
         
             
                        <div class="p-hidden-accessible">
         
     | 
| 
       2440 
2437 
     | 
    
         
             
                            <input #cb type="checkbox" [checked]="checked" (focus)="onFocus()" (blur)="onBlur()" [disabled]="!tt.value||tt.value.length === 0">
         
     | 
| 
       2441 
2438 
     | 
    
         
             
                        </div>
         
     | 
| 
       2442 
2439 
     | 
    
         
             
                        <div #box [ngClass]="{'p-checkbox-box':true,
         
     | 
| 
       2443 
     | 
    
         
            -
                            'p-highlight':checked, 'p-disabled': (!tt.value || tt.value.length === 0)}"  role="checkbox" [attr.aria-checked]="checked">
         
     | 
| 
      
 2440 
     | 
    
         
            +
                            'p-highlight':checked, 'p-focus':focused, 'p-disabled': (!tt.value || tt.value.length === 0)}"  role="checkbox" [attr.aria-checked]="checked">
         
     | 
| 
       2444 
2441 
     | 
    
         
             
                            <span class="p-checkbox-icon" [ngClass]="{'pi pi-check':checked}"></span>
         
     | 
| 
       2445 
2442 
     | 
    
         
             
                        </div>
         
     | 
| 
       2446 
2443 
     | 
    
         
             
                    </div>
         
     |