@coolon/angular-ui-powerups 3.7.0-alpha.6 → 3.7.0-alpha.7
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/CHANGELOG.md +7 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +17 -1
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/commands/command/command.component.js +7 -2
- package/esm2015/lib/components/commands/command/command.component.js.map +1 -1
- package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/abstract-popup-menu.component.js +1 -0
- package/esm2015/lib/components/commands/group/abstract-popup-menu.component.js.map +1 -1
- package/esm2015/lib/components/commands/group/command-group.js +9 -0
- package/esm2015/lib/components/commands/group/command-group.js.map +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +1 -0
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +17 -1
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/commands/command/command.component.d.ts +5 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { Command, ListModelChain, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
3
3
|
import { DisposableComponent } from '../../disposable-component';
|
|
4
4
|
import { CommandFace } from '../command-face';
|
|
@@ -6,7 +6,8 @@ import { CommandGroup } from '../group/command-group';
|
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
|
-
export declare class CommandComponent extends DisposableComponent implements OnInit {
|
|
9
|
+
export declare class CommandComponent extends DisposableComponent implements OnInit, AfterViewInit {
|
|
10
|
+
readonly element: ElementRef;
|
|
10
11
|
readonly parent?: CommandGroup;
|
|
11
12
|
command: Command<unknown>;
|
|
12
13
|
faceModel: ValueModel<CommandFace>;
|
|
@@ -18,7 +19,8 @@ export declare class CommandComponent extends DisposableComponent implements OnI
|
|
|
18
19
|
readonly buttonStyle: ValueModelChain<string>;
|
|
19
20
|
readonly colorModel: ValueModelChain<'primary' | 'accent' | 'warn' | undefined>;
|
|
20
21
|
private activeFace;
|
|
21
|
-
constructor(parent?: CommandGroup);
|
|
22
|
+
constructor(element: ElementRef, parent?: CommandGroup);
|
|
22
23
|
isActive(face: CommandFace): boolean;
|
|
23
24
|
ngOnInit(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
24
26
|
}
|