@coolon/angular-ui-powerups 12.4.0-alpha.42 → 12.4.0-alpha.43
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/bundles/coolon-angular-ui-powerups.umd.js +10 -1
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.js +5 -0
- 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/interaction.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +6 -1
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/interaction/components/input-activities/input-activity.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5073,7 +5073,7 @@
|
|
|
5073
5073
|
{ type: i0.Component, args: [{
|
|
5074
5074
|
selector: 'aup-activity-actions',
|
|
5075
5075
|
template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n",
|
|
5076
|
-
styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr
|
|
5076
|
+
styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap:var(--activity-actions-gap,8px)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}"]
|
|
5077
5077
|
},] }
|
|
5078
5078
|
];
|
|
5079
5079
|
exports.ActivityActionsComponent.ctorParameters = function () { return [
|
|
@@ -6592,6 +6592,14 @@
|
|
|
6592
6592
|
InputActivity.prototype.onActivityReady = function () {
|
|
6593
6593
|
this.valueModel.focusContext.requestFocus();
|
|
6594
6594
|
};
|
|
6595
|
+
Object.defineProperty(InputActivity.prototype, "additionalCssClassName", {
|
|
6596
|
+
get: function () {
|
|
6597
|
+
var _a;
|
|
6598
|
+
return (_a = this.data.cssClassName) !== null && _a !== void 0 ? _a : '';
|
|
6599
|
+
},
|
|
6600
|
+
enumerable: false,
|
|
6601
|
+
configurable: true
|
|
6602
|
+
});
|
|
6595
6603
|
InputActivity.prototype.onEscape = function () {
|
|
6596
6604
|
if (this.shouldCancelOnEscape() && this.cancelCommand.enabled.value) {
|
|
6597
6605
|
this.cancelCommand.execute();
|
|
@@ -6612,6 +6620,7 @@
|
|
|
6612
6620
|
exports.InputActivity.propDecorators = {
|
|
6613
6621
|
class: [{ type: i0.HostBinding, args: ['class',] }],
|
|
6614
6622
|
layout: [{ type: i0.Input }, { type: i0.HostBinding, args: ['attr.layout',] }],
|
|
6623
|
+
additionalCssClassName: [{ type: i0.HostBinding, args: ["class",] }],
|
|
6615
6624
|
onEscape: [{ type: i0.HostListener, args: ['keydown.escape',] }]
|
|
6616
6625
|
};
|
|
6617
6626
|
(function (InputActivity) {
|