@bcgov/nr-ngx-component-lib 21.1.1 → 21.1.2

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.
@@ -537,7 +537,7 @@ class ApplicationMenuComponent extends ConfigurationSubscriberBase {
537
537
  this.menuItemClick.emit(item.id);
538
538
  }
539
539
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ApplicationMenuComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
540
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: ApplicationMenuComponent, isStandalone: true, selector: "nrcl-application-menu", inputs: { label: "label", icon: "icon", items: "items", currentItemId: "currentItemId" }, outputs: { menuItemClick: "menuItemClick" }, usesInheritance: true, ngImport: i0, template: "<nrcl-button secondary #menuTrigger \n [label]=\"desktopVisible && label\"\n [ariaLabel]=\"label || 'Menu'\"\n [icon]=\"icon\"\n [matMenuTriggerFor]=\"menu\"\n></nrcl-button>\n\n<mat-menu #menu=\"matMenu\"\n class=\"nrcl-application-menu\"\n>\n @for ( item of items; track item.label ) {\n <button mat-menu-item class=\"nrcl-application-menu-item\"\n (click)=\"onMenuItemClick( item )\"\n [aria-current]=\"currentItemId == item.id ? 'page' : null\"\n >\n <nrcl-icon>{{ item.icon || 'empty' }}</nrcl-icon>\n <span class=\"label\">{{ item.label }}</span> \n </button>\n } \n</mat-menu>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i1$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i1$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i1$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: ButtonComponent, selector: "nrcl-button", inputs: ["label", "ariaLabel", "icon", "iconRight", "iconCompact", "tooltip", "compact", "small", "primary", "secondary", "tertiary", "disabled", "anchor"], outputs: ["click"] }, { kind: "component", type: IconComponent, selector: "nrcl-icon", inputs: ["small", "large", "fill"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
540
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: ApplicationMenuComponent, isStandalone: true, selector: "nrcl-application-menu", inputs: { label: "label", icon: "icon", items: "items", currentItemId: "currentItemId" }, outputs: { menuItemClick: "menuItemClick" }, usesInheritance: true, ngImport: i0, template: "<nrcl-button secondary #menuTrigger \n [label]=\"desktopVisible && label\"\n [ariaLabel]=\"label || 'Menu'\"\n [icon]=\"icon\"\n [matMenuTriggerFor]=\"menu\"\n></nrcl-button>\n\n<mat-menu #menu=\"matMenu\"\n class=\"nrcl-application-menu\"\n>\n @for ( item of items; track item.label ) {\n <button mat-menu-item class=\"nrcl-application-menu-item\"\n (click)=\"onMenuItemClick( item )\"\n >\n <nrcl-icon>{{ item.icon || 'empty' }}</nrcl-icon>\n <span class=\"label\"\n [aria-current]=\"currentItemId == item.id ? 'page' : null\"\n >\n {{ item.label }}\n </span> \n </button>\n } \n</mat-menu>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i1$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i1$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i1$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: ButtonComponent, selector: "nrcl-button", inputs: ["label", "ariaLabel", "icon", "iconRight", "iconCompact", "tooltip", "compact", "small", "primary", "secondary", "tertiary", "disabled", "anchor"], outputs: ["click"] }, { kind: "component", type: IconComponent, selector: "nrcl-icon", inputs: ["small", "large", "fill"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
541
541
  }
542
542
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ApplicationMenuComponent, decorators: [{
543
543
  type: Component,
@@ -545,7 +545,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
545
545
  MatMenuModule,
546
546
  ButtonComponent,
547
547
  IconComponent
548
- ], template: "<nrcl-button secondary #menuTrigger \n [label]=\"desktopVisible && label\"\n [ariaLabel]=\"label || 'Menu'\"\n [icon]=\"icon\"\n [matMenuTriggerFor]=\"menu\"\n></nrcl-button>\n\n<mat-menu #menu=\"matMenu\"\n class=\"nrcl-application-menu\"\n>\n @for ( item of items; track item.label ) {\n <button mat-menu-item class=\"nrcl-application-menu-item\"\n (click)=\"onMenuItemClick( item )\"\n [aria-current]=\"currentItemId == item.id ? 'page' : null\"\n >\n <nrcl-icon>{{ item.icon || 'empty' }}</nrcl-icon>\n <span class=\"label\">{{ item.label }}</span> \n </button>\n } \n</mat-menu>\n" }]
548
+ ], template: "<nrcl-button secondary #menuTrigger \n [label]=\"desktopVisible && label\"\n [ariaLabel]=\"label || 'Menu'\"\n [icon]=\"icon\"\n [matMenuTriggerFor]=\"menu\"\n></nrcl-button>\n\n<mat-menu #menu=\"matMenu\"\n class=\"nrcl-application-menu\"\n>\n @for ( item of items; track item.label ) {\n <button mat-menu-item class=\"nrcl-application-menu-item\"\n (click)=\"onMenuItemClick( item )\"\n >\n <nrcl-icon>{{ item.icon || 'empty' }}</nrcl-icon>\n <span class=\"label\"\n [aria-current]=\"currentItemId == item.id ? 'page' : null\"\n >\n {{ item.label }}\n </span> \n </button>\n } \n</mat-menu>\n" }]
549
549
  }], propDecorators: { label: [{
550
550
  type: Input
551
551
  }], icon: [{