@kris701/ez-ui 1.3.6 → 1.3.8

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.
@@ -3590,13 +3590,14 @@ class EzUIPopoutMenu {
3590
3590
  label = '';
3591
3591
  size = 'm';
3592
3592
  appearance = 'flat';
3593
+ onMenuOpen = new EventEmitter();
3593
3594
  ngOnChanges(changes) {
3594
3595
  if (changes['items'] && changes['items'].currentValue != changes['items'].previousValue) {
3595
3596
  this.items = changes['items'].currentValue;
3596
3597
  }
3597
3598
  }
3598
3599
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: EzUIPopoutMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
3599
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.0", type: EzUIPopoutMenu, isStandalone: true, selector: "ezui-popoutmenu", inputs: { items: "items", icon: "icon", label: "label", size: "size", appearance: "appearance" }, queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
3600
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.0", type: EzUIPopoutMenu, isStandalone: true, selector: "ezui-popoutmenu", inputs: { items: "items", icon: "icon", label: "label", size: "size", appearance: "appearance" }, outputs: { onMenuOpen: "onMenuOpen" }, queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
3600
3601
  <button
3601
3602
  [iconStart]="icon"
3602
3603
  tuiButton
@@ -3606,6 +3607,7 @@ class EzUIPopoutMenu {
3606
3607
  [tuiAppearanceState]="dropdownOpen() ? 'active' : null"
3607
3608
  [tuiDropdown]="dropdownContent"
3608
3609
  [(tuiDropdownOpen)]="dropdownOpen"
3610
+ (click)="onMenuOpen.emit(dropdownOpen())"
3609
3611
  >
3610
3612
  {{label}}
3611
3613
  <ng-template #dropdownContent>
@@ -3638,6 +3640,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
3638
3640
  [tuiAppearanceState]="dropdownOpen() ? 'active' : null"
3639
3641
  [tuiDropdown]="dropdownContent"
3640
3642
  [(tuiDropdownOpen)]="dropdownOpen"
3643
+ (click)="onMenuOpen.emit(dropdownOpen())"
3641
3644
  >
3642
3645
  {{label}}
3643
3646
  <ng-template #dropdownContent>
@@ -3664,6 +3667,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
3664
3667
  type: Input
3665
3668
  }], appearance: [{
3666
3669
  type: Input
3670
+ }], onMenuOpen: [{
3671
+ type: Output
3667
3672
  }] } });
3668
3673
 
3669
3674
  class EzUIPasswordInput {