@coolon/angular-ui-powerups 12.4.0-alpha.40 → 12.4.0-alpha.42
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/assets/{activities.scss → activities/activities.scss} +15 -11
- package/assets/activities/input-activities.scss +20 -0
- package/assets/interaction.scss +3 -4
- package/assets/mixins.scss +5 -7
- package/assets/styles.scss +5 -5
- package/bundles/coolon-angular-ui-powerups.umd.js +42 -14
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.js +8 -2
- package/esm2015/lib/components/cards/card-container/card-container.component.js.map +1 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +1 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js +1 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +1 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +2 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.js +21 -2
- package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +3 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +4 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +1 -0
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.js +2 -0
- package/esm2015/lib/interaction/interaction.module.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +42 -9
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/cards/card-container/card-container.component.d.ts +5 -0
- package/lib/interaction/components/input-activities/input-activity.d.ts +8 -2
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +4 -0
- package/package.json +1 -1
- package/assets/interaction/input-activity.scss +0 -12
|
@@ -67,6 +67,11 @@ export declare class CardContainerComponent extends AbstractCardContainerCompone
|
|
|
67
67
|
private _columnCount;
|
|
68
68
|
set columnCount(count: number | undefined);
|
|
69
69
|
get columnCount(): number | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Enable scrolling. If true the container will have height==0 so you must set it's height explicitly
|
|
72
|
+
* or place in a layout that will stretch it such as a grid or flex layout.
|
|
73
|
+
*/
|
|
74
|
+
enabledScroll: boolean;
|
|
70
75
|
constructor(elementRef: ElementRef);
|
|
71
76
|
ngOnInit(): void;
|
|
72
77
|
get isAutoColumns(): boolean;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { Command, Form, Validator } from '@coolon/pectin';
|
|
2
2
|
import { Enum } from 'typescript-string-enums';
|
|
3
|
+
import { CommandFace } from '../../../components/commands/command-face';
|
|
3
4
|
import { Activity } from '../../activity';
|
|
4
|
-
import { ActivityActionsComponent } from '../activity-actions/activity-actions.component';
|
|
5
5
|
export declare class InputActivity<T, D extends InputActivity.Data<T> = InputActivity.Data<T>> extends Activity<D, T> {
|
|
6
6
|
readonly data: D;
|
|
7
7
|
readonly confirmCommand: Command<void>;
|
|
8
8
|
readonly cancelCommand: Command<void>;
|
|
9
9
|
readonly valueModel: Form.ValueModelBase<T>;
|
|
10
10
|
class: string;
|
|
11
|
+
readonly confirmFace: CommandFace;
|
|
12
|
+
readonly cancelFace: CommandFace;
|
|
11
13
|
get layout(): InputActivity.Layout;
|
|
12
14
|
constructor(data: D);
|
|
13
15
|
onActivityReady(): void;
|
|
16
|
+
onEscape(): void;
|
|
17
|
+
shouldCancelOnEscape(): boolean;
|
|
14
18
|
}
|
|
15
19
|
export declare namespace InputActivity {
|
|
16
20
|
const Layout: {
|
|
@@ -26,8 +30,10 @@ export declare namespace InputActivity {
|
|
|
26
30
|
label?: string;
|
|
27
31
|
placeholder?: string;
|
|
28
32
|
layout?: InputActivity.Layout;
|
|
29
|
-
|
|
33
|
+
confirmFace?: CommandFace;
|
|
34
|
+
cancelFace?: CommandFace;
|
|
30
35
|
validators?: Validator<T>[];
|
|
36
|
+
cancelOnEscape?: boolean;
|
|
31
37
|
save?(valueModel: T, interactionContext?: Context): void | Promise<void>;
|
|
32
38
|
}
|
|
33
39
|
}
|
package/package.json
CHANGED