@coolon/angular-ui-powerups 2.0.0-alpha.36 → 2.0.0-alpha.38

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 +14 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +25 -19
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
  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/command/command.component.js +17 -4
  8. package/esm2015/lib/components/commands/command/command.component.js.map +1 -1
  9. package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
  10. package/esm2015/lib/components/commands/command-face.js +7 -3
  11. package/esm2015/lib/components/commands/command-face.js.map +1 -1
  12. package/esm2015/lib/components/commands/group/command-group.js +1 -13
  13. package/esm2015/lib/components/commands/group/command-group.js.map +1 -1
  14. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  15. package/esm5/lib/components/commands/command/command.component.js +17 -4
  16. package/esm5/lib/components/commands/command/command.component.js.map +1 -1
  17. package/esm5/lib/components/commands/command-face.js +7 -3
  18. package/esm5/lib/components/commands/command-face.js.map +1 -1
  19. package/esm5/lib/components/commands/group/command-group.js +1 -13
  20. package/esm5/lib/components/commands/group/command-group.js.map +1 -1
  21. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  22. package/fesm2015/coolon-angular-ui-powerups.js +25 -19
  23. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  24. package/fesm5/coolon-angular-ui-powerups.js +25 -19
  25. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  26. package/lib/components/commands/command/command.component.d.ts +4 -0
  27. package/lib/components/commands/command-face.d.ts +1 -0
  28. package/lib/components/commands/group/command-group.d.ts +2 -5
  29. package/package.json +1 -1
@@ -11,8 +11,12 @@ export declare class CommandComponent extends DisposableComponent implements OnI
11
11
  command: Command<unknown>;
12
12
  faceModel: ValueModel<CommandFace>;
13
13
  face: CommandFace;
14
+ busyFaceModel: ValueModel<CommandFace>;
15
+ busyFace: CommandFace;
14
16
  CommandFace: typeof CommandFace;
17
+ readonly activeFaceModel: ValueModelChain<CommandFace>;
15
18
  readonly buttonStyle: ValueModelChain<string>;
19
+ readonly colorModel: ValueModelChain<'primary' | 'accent' | 'warn' | undefined>;
16
20
  constructor(parent?: CommandGroup);
17
21
  ngOnInit(): void;
18
22
  }
@@ -22,6 +22,7 @@ export declare namespace CommandFace {
22
22
  function getColorOf(face: CommandFace): ThemePalette;
23
23
  function getStyleOf(face: CommandFace): Style;
24
24
  function getIconOf(face: CommandFace): string;
25
+ function getIconPositionOf(face: CommandFace): string;
25
26
  function getTooltipOf(face: CommandFace): string;
26
27
  function getTextOf(face: CommandFace): string;
27
28
  class Adapter {
@@ -1,4 +1,4 @@
1
- import { BooleanValueModelChain, Command, Disposable, GarbageCollector, ListModel, ListModelChain, ValueModel } from '@coolon/pectin';
1
+ import { Command, Disposable, GarbageCollector, ListModel, ListModelChain, ValueModel } from '@coolon/pectin';
2
2
  import { CommandFace } from '../command-face';
3
3
  import { FlexComponent } from '../flex.component';
4
4
  import { SeparatorComponent } from '../separator.component';
@@ -11,9 +11,6 @@ export declare abstract class CommandGroup extends GarbageCollector {
11
11
  abstract yPosition: 'above' | 'below';
12
12
  private readonly _rootTemplate;
13
13
  private readonly _registrations;
14
- private readonly _childFaceModels;
15
- readonly hasMixedIcons: BooleanValueModelChain;
16
- private _faceChangeCount;
17
14
  readonly childTemplates: ListModelChain<ViewData>;
18
15
  private initialised;
19
16
  constructor(parent?: CommandGroup);
@@ -29,7 +26,7 @@ export declare abstract class CommandGroup extends GarbageCollector {
29
26
  registerGroup(group: CommandGroup, faceModel: ValueModel<CommandFace>): Disposable;
30
27
  registerFlex(component: FlexComponent): Disposable;
31
28
  registerSeparator(component: SeparatorComponent): Disposable;
32
- protected register(registration: Registration): Disposable;
29
+ protected register(registration: Registration): Registration;
33
30
  }
34
31
  export declare namespace CommandGroup {
35
32
  class Root extends CommandGroup {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "2.0.0-alpha.36",
3
+ "version": "2.0.0-alpha.38",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.0.0",