@coolon/angular-ui-powerups 3.3.3 → 3.4.0

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.
@@ -1,17 +1,21 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { Command } from '@coolon/pectin';
3
+ import { CommandFace } from '../../../components/commands/command-face';
3
4
  import { DisposableComponent } from '../../../components/disposable-component';
4
5
  export declare class ActivityActionsComponent extends DisposableComponent implements OnInit {
5
6
  confirmCommand: Command<any>;
6
- confirmText: string;
7
7
  cancelCommand: Command<any>;
8
- cancelText: string;
8
+ style: ActivityActionsComponent.Style;
9
9
  align: 'start' | 'end' | 'stretch';
10
10
  get alignEnd(): boolean;
11
11
  get alignStretch(): boolean;
12
12
  ngOnInit(): void;
13
- hasConfirmText(): boolean;
14
- hasCancelText(): boolean;
15
13
  hasConfirmCommand(): boolean;
16
14
  hasCancelCommand(): boolean;
17
15
  }
16
+ export declare namespace ActivityActionsComponent {
17
+ interface Style {
18
+ confirm: CommandFace;
19
+ cancel: CommandFace;
20
+ }
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "3.3.3",
3
+ "version": "3.4.0",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.0.0",
@@ -0,0 +1,70 @@
1
+ aup:
2
+ components:
3
+ activityActions:
4
+ styles(Enum):
5
+
6
+ okCancel:
7
+ confirm(CommandFace):
8
+ text: Ok
9
+ cancel(CommandFace):
10
+ text: Cancel
11
+ okCancelStrokedPrimary:
12
+ confirm(CommandFace):
13
+ text: Ok
14
+ style: stroked
15
+ color: primary
16
+ cancel(CommandFace):
17
+ text: Cancel
18
+ okCancelRaisedPrimary:
19
+ confirm(CommandFace):
20
+ text: Ok
21
+ style: raised
22
+ color: primary
23
+ cancel(CommandFace):
24
+ text: Cancel
25
+ okCancelIcons:
26
+ confirm(CommandFace):
27
+ icon: mat:done
28
+ cancel(CommandFace):
29
+ icon: mat:clear
30
+
31
+ doneCancel:
32
+ confirm(CommandFace):
33
+ text: Done
34
+ cancel(CommandFace):
35
+ text: Cancel
36
+ doneCancelStrokedPrimary:
37
+ confirm(CommandFace):
38
+ text: Done
39
+ style: stroked
40
+ color: primary
41
+ cancel(CommandFace):
42
+ text: Cancel
43
+ doneCancelRaisedPrimary:
44
+ confirm(CommandFace):
45
+ text: Done
46
+ style: raised
47
+ color: primary
48
+ cancel(CommandFace):
49
+ text: Cancel
50
+
51
+ saveCancel:
52
+ confirm(CommandFace):
53
+ text: Save
54
+ cancel(CommandFace):
55
+ text: Cancel
56
+ saveCancelStrokedPrimary:
57
+ confirm(CommandFace):
58
+ text: Save
59
+ style: stroked
60
+ color: primary
61
+ cancel(CommandFace):
62
+ text: Cancel
63
+ saveCancelRaisedPrimary:
64
+ confirm(CommandFace):
65
+ text: Save
66
+ style: raised
67
+ color: primary
68
+ cancel(CommandFace):
69
+ text: Cancel
70
+