@coolon/angular-ui-powerups 14.6.0 → 14.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "14.6.0",
3
+ "version": "14.6.1",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "^14.1.2",
@@ -1,6 +1,6 @@
1
1
  import {Component, Inject, OnInit} from '@angular/core';
2
2
  import { Dsl, Command } from '@coolon/pectin';
3
- import {Activity, ACTIVITY_DATA} from "@coolon/angular-ui-powerups";
3
+ import {Activity} from "@coolon/angular-ui-powerups";
4
4
  import { I18n } from '<%=pathToRoot%>/i18n';
5
5
 
6
6
  @Component({
@@ -12,10 +12,13 @@ export class <%=capitalize(camelize(name))%>Component extends Activity<<%=capita
12
12
 
13
13
  readonly i18n = <%=i18nNamespace%>;
14
14
 
15
- constructor(@Inject(ACTIVITY_DATA) private readonly data: <%=capitalize(camelize(name))%>Component.Data) {
15
+ constructor() {
16
16
  super();
17
17
  const {chain} = Dsl.disposeWith(this);
18
18
 
19
+ // Actity data is pre injected into...
20
+ // this.activityData
21
+
19
22
  this.confirmCommand = Command.create(() => {
20
23
  this.done();
21
24
  });
@@ -3,9 +3,7 @@ title: "<%=capitalize(camelize(name))%>"
3
3
  actions(CommandFace[]):
4
4
  confirm:
5
5
  text: "Save"
6
- icon: "mat:check"
7
6
  color: "primary"
8
7
  style: "raised"
9
8
  cancel:
10
9
  text: "Cancel"
11
- icon: "mat:clear"