@coolon/angular-ui-powerups 1.16.0 → 1.17.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.
- package/CHANGELOG.md +7 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +21 -2
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +17 -2
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js +21 -2
- package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
- package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +17 -2
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +21 -2
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.17.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.16.0...v1.17.0) (2020-06-22)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* added align=stretch to aup-activity-actions ([070c1b8](https://bitbucket.org/coolon/angular-ui-powerups/commit/070c1b8d303258e021a87d40a9f37b81348c2122))
|
|
11
|
+
|
|
5
12
|
## [1.16.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.15.1...v1.16.0) (2020-06-19)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -2495,11 +2495,21 @@
|
|
|
2495
2495
|
enumerable: true,
|
|
2496
2496
|
configurable: true
|
|
2497
2497
|
});
|
|
2498
|
+
Object.defineProperty(ActivityActionsComponent.prototype, "alignStretch", {
|
|
2499
|
+
get: function () {
|
|
2500
|
+
return this.align === 'stretch';
|
|
2501
|
+
},
|
|
2502
|
+
enumerable: true,
|
|
2503
|
+
configurable: true
|
|
2504
|
+
});
|
|
2498
2505
|
ActivityActionsComponent.prototype.ngOnInit = function () {
|
|
2499
2506
|
};
|
|
2500
2507
|
ActivityActionsComponent.prototype.hasConfirmText = function () {
|
|
2501
2508
|
return !___default__default.isEmpty(this.confirmText);
|
|
2502
2509
|
};
|
|
2510
|
+
ActivityActionsComponent.prototype.hasCancelText = function () {
|
|
2511
|
+
return !___default__default.isEmpty(this.cancelText);
|
|
2512
|
+
};
|
|
2503
2513
|
__decorate([
|
|
2504
2514
|
core.Input(),
|
|
2505
2515
|
pectin.TrackExternal(),
|
|
@@ -2514,6 +2524,10 @@
|
|
|
2514
2524
|
pectin.TrackExternal(),
|
|
2515
2525
|
__metadata("design:type", pectin.Command)
|
|
2516
2526
|
], ActivityActionsComponent.prototype, "cancelCommand", void 0);
|
|
2527
|
+
__decorate([
|
|
2528
|
+
core.Input(),
|
|
2529
|
+
__metadata("design:type", String)
|
|
2530
|
+
], ActivityActionsComponent.prototype, "cancelText", void 0);
|
|
2517
2531
|
__decorate([
|
|
2518
2532
|
core.Input(),
|
|
2519
2533
|
__metadata("design:type", String)
|
|
@@ -2523,11 +2537,16 @@
|
|
|
2523
2537
|
__metadata("design:type", Boolean),
|
|
2524
2538
|
__metadata("design:paramtypes", [])
|
|
2525
2539
|
], ActivityActionsComponent.prototype, "alignEnd", null);
|
|
2540
|
+
__decorate([
|
|
2541
|
+
core.HostBinding('class.align-stretch'),
|
|
2542
|
+
__metadata("design:type", Boolean),
|
|
2543
|
+
__metadata("design:paramtypes", [])
|
|
2544
|
+
], ActivityActionsComponent.prototype, "alignStretch", null);
|
|
2526
2545
|
ActivityActionsComponent = __decorate([
|
|
2527
2546
|
core.Component({
|
|
2528
2547
|
selector: 'aup-activity-actions',
|
|
2529
|
-
template: "<button class=\"cancel\" mat-icon-button [pectinCommand]=\"cancelCommand\">\n <aup-icon icon=\"mat:clear\"></aup-icon>\n</button>\n<button class=\"confirm\" *ngIf=\"!hasConfirmText()\" mat-icon-button [pectinCommand]=\"confirmCommand\">\n <aup-icon icon=\"done\"></aup-icon>\n</button>\n<button class=\"confirm\" *ngIf=\"hasConfirmText()\" mat-button [pectinCommand]=\"confirmCommand\">{{confirmText}}</button>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n",
|
|
2530
|
-
styles: [":host{display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";-ms-grid-columns:auto auto 1fr;grid-template-columns:auto auto 1fr;-ms-grid-rows:auto;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";-ms-grid-columns:1fr auto auto;grid-template-columns:1fr auto auto}.cancel{-ms-grid-row:1;-ms-grid-column:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-row:1;-ms-grid-column:2}.confirm{-ms-grid-row:1;-ms-grid-column:2;grid-area:confirm}:host.align-end>.confirm{-ms-grid-row:1;-ms-grid-column:3}.content{-ms-grid-row:1;-ms-grid-column:3;grid-area:content;text-align:left}:host.align-end>.content{-ms-grid-row:1;-ms-grid-column:1}"]
|
|
2548
|
+
template: "<button class=\"cancel\" *ngIf=\"hasCancelText()\" mat-icon-button [pectinCommand]=\"cancelCommand\">{{cancelText}}</button>\n<button class=\"cancel\" *ngIf=\"!hasCancelText()\" mat-icon-button [pectinCommand]=\"cancelCommand\">\n <aup-icon icon=\"mat:clear\"></aup-icon>\n</button>\n<button class=\"confirm\" *ngIf=\"!hasConfirmText()\" mat-icon-button [pectinCommand]=\"confirmCommand\">\n <aup-icon icon=\"done\"></aup-icon>\n</button>\n<button class=\"confirm\" *ngIf=\"hasConfirmText()\" mat-button [pectinCommand]=\"confirmCommand\">{{confirmText}}</button>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n",
|
|
2549
|
+
styles: [":host{display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";-ms-grid-columns:auto auto 1fr;grid-template-columns:auto auto 1fr;-ms-grid-rows:auto;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";-ms-grid-columns:1fr auto auto;grid-template-columns:1fr auto auto}:host.align-stretch{grid-template-areas:\"cancel content confirm\";-ms-grid-columns:auto 1fr auto;grid-template-columns:auto 1fr auto}.cancel{-ms-grid-row:1;-ms-grid-column:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-row:1;-ms-grid-column:2}:host.align-stretch>.cancel{-ms-grid-row:1;-ms-grid-column:1}.confirm{-ms-grid-row:1;-ms-grid-column:2;grid-area:confirm}:host.align-end>.confirm{-ms-grid-row:1;-ms-grid-column:3}:host.align-stretch>.confirm{-ms-grid-row:1;-ms-grid-column:3}.content{-ms-grid-row:1;-ms-grid-column:3;grid-area:content;text-align:left}:host.align-end>.content{-ms-grid-row:1;-ms-grid-column:1}:host.align-stretch>.content{-ms-grid-row:1;-ms-grid-column:2}"]
|
|
2531
2550
|
})
|
|
2532
2551
|
], ActivityActionsComponent);
|
|
2533
2552
|
return ActivityActionsComponent;
|