@coolon/angular-ui-powerups 2.0.0-alpha.28 → 2.0.0-alpha.29

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +24 -9
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.js +10 -3
  8. package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.js.map +1 -1
  9. package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.metadata.json +1 -1
  10. package/esm2015/lib/components/commands/popup-menu/more-menu.component.js +10 -5
  11. package/esm2015/lib/components/commands/popup-menu/more-menu.component.js.map +1 -1
  12. package/esm2015/lib/components/commands/popup-menu/more-menu.component.metadata.json +1 -1
  13. package/esm2015/lib/components/commands/popup-menu/popup-menu.component.js +7 -4
  14. package/esm2015/lib/components/commands/popup-menu/popup-menu.component.js.map +1 -1
  15. package/esm2015/lib/components/commands/popup-menu/popup-menu.component.metadata.json +1 -1
  16. package/esm5/lib/components/commands/popup-menu/abstract-popup-menu.component.js +10 -3
  17. package/esm5/lib/components/commands/popup-menu/abstract-popup-menu.component.js.map +1 -1
  18. package/esm5/lib/components/commands/popup-menu/more-menu.component.js +10 -5
  19. package/esm5/lib/components/commands/popup-menu/more-menu.component.js.map +1 -1
  20. package/esm5/lib/components/commands/popup-menu/popup-menu.component.js +7 -4
  21. package/esm5/lib/components/commands/popup-menu/popup-menu.component.js.map +1 -1
  22. package/fesm2015/coolon-angular-ui-powerups.js +25 -10
  23. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  24. package/fesm5/coolon-angular-ui-powerups.js +25 -10
  25. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  26. package/lib/components/commands/popup-menu/abstract-popup-menu.component.d.ts +5 -2
  27. package/lib/components/commands/popup-menu/more-menu.component.d.ts +2 -1
  28. package/lib/components/commands/popup-menu/popup-menu.component.d.ts +2 -2
  29. package/package.json +1 -1
@@ -1,14 +1,17 @@
1
+ import { AfterViewInit, ChangeDetectorRef } from '@angular/core';
1
2
  import { MatMenu, MatMenuTrigger } from '@angular/material/menu';
2
3
  import { CommandContainer } from '../command-container';
3
4
  /**
4
5
  *
5
6
  */
6
- export declare class AbstractPopupMenuComponent extends CommandContainer {
7
+ export declare class AbstractPopupMenuComponent extends CommandContainer implements AfterViewInit {
8
+ private readonly cdr;
7
9
  xPosition: 'before' | 'after';
8
10
  yPosition: 'above' | 'below';
9
11
  private popupMenu;
10
12
  menuTrigger: MatMenuTrigger;
11
- constructor();
13
+ constructor(cdr: ChangeDetectorRef);
14
+ ngAfterViewInit(): void;
12
15
  get matMenuComponent(): MatMenu;
13
16
  closeMenu(): void;
14
17
  getButtonColor(registration: CommandContainer.Registration): string;
@@ -1,8 +1,9 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
1
2
  import { AbstractPopupMenuComponent } from './abstract-popup-menu.component';
2
3
  /**
3
4
  *
4
5
  */
5
6
  export declare class MoreMenuComponent extends AbstractPopupMenuComponent {
6
7
  tooltip: string;
7
- constructor();
8
+ constructor(cdr: ChangeDetectorRef);
8
9
  }
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { CommandFace } from '../command-face';
3
3
  import { AbstractPopupMenuComponent } from './abstract-popup-menu.component';
4
4
  /**
@@ -8,7 +8,7 @@ export declare class PopupMenuComponent extends AbstractPopupMenuComponent imple
8
8
  private readonly faceModel;
9
9
  face: CommandFace;
10
10
  private faceTooltipModel;
11
- constructor();
11
+ constructor(cdr: ChangeDetectorRef);
12
12
  getTooltip(): string;
13
13
  ngOnInit(): void;
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "2.0.0-alpha.28",
3
+ "version": "2.0.0-alpha.29",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.0.0",