@coolon/angular-ui-powerups 2.0.0-alpha.30 → 2.0.0-alpha.31
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 +23 -25
- 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-container/activity-container.component.js +6 -26
- 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-container/activity-outlet/activity-outlet.component.js +15 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +6 -26
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +19 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
- package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +20 -26
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +24 -26
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +3 -0
- 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
|
+
## [2.0.0-alpha.31](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2020-08-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* disable tab content animation when not active tab ([30b09b1](https://bitbucket.org/coolon/angular-ui-powerups/commit/30b09b100843c213db39617f3e944a96e300f4fe))
|
|
11
|
+
|
|
5
12
|
## [2.0.0-alpha.30](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2020-08-25)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -3752,6 +3752,7 @@
|
|
|
3752
3752
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
3753
3753
|
this.viewContainerRef = viewContainerRef;
|
|
3754
3754
|
this.injector = injector;
|
|
3755
|
+
this._disableAnimation = false;
|
|
3755
3756
|
}
|
|
3756
3757
|
Object.defineProperty(ActivityOutletComponent.prototype, "activityRef", {
|
|
3757
3758
|
get: function () {
|
|
@@ -3768,6 +3769,17 @@
|
|
|
3768
3769
|
configurable: true
|
|
3769
3770
|
});
|
|
3770
3771
|
;
|
|
3772
|
+
Object.defineProperty(ActivityOutletComponent.prototype, "disableAnimation", {
|
|
3773
|
+
get: function () {
|
|
3774
|
+
return this._disableAnimation;
|
|
3775
|
+
},
|
|
3776
|
+
set: function (value) {
|
|
3777
|
+
// console.log({disableAnimation: value});
|
|
3778
|
+
this._disableAnimation = value;
|
|
3779
|
+
},
|
|
3780
|
+
enumerable: true,
|
|
3781
|
+
configurable: true
|
|
3782
|
+
});
|
|
3771
3783
|
ActivityOutletComponent.prototype.ngOnInit = function () {
|
|
3772
3784
|
};
|
|
3773
3785
|
ActivityOutletComponent.prototype.loadActivity = function (activityRef) {
|
|
@@ -3804,6 +3816,12 @@
|
|
|
3804
3816
|
__metadata("design:type", ActivityRef),
|
|
3805
3817
|
__metadata("design:paramtypes", [ActivityRef])
|
|
3806
3818
|
], ActivityOutletComponent.prototype, "activityRef", null);
|
|
3819
|
+
__decorate([
|
|
3820
|
+
core.Input(),
|
|
3821
|
+
core.HostBinding('@.disabled'),
|
|
3822
|
+
__metadata("design:type", Boolean),
|
|
3823
|
+
__metadata("design:paramtypes", [Boolean])
|
|
3824
|
+
], ActivityOutletComponent.prototype, "disableAnimation", null);
|
|
3807
3825
|
ActivityOutletComponent = __decorate([
|
|
3808
3826
|
core.Component({
|
|
3809
3827
|
selector: 'aup-activity-outlet',
|
|
@@ -3968,6 +3986,7 @@
|
|
|
3968
3986
|
return index;
|
|
3969
3987
|
};
|
|
3970
3988
|
;
|
|
3989
|
+
// @Trace()
|
|
3971
3990
|
ActivityContainerComponent.prototype.onAnimationFinished = function () {
|
|
3972
3991
|
if (this.onAnimationFinishedJob) {
|
|
3973
3992
|
this.onAnimationFinishedJob();
|
|
@@ -3978,6 +3997,7 @@
|
|
|
3978
3997
|
/**
|
|
3979
3998
|
* Synchronises the selected tab index.
|
|
3980
3999
|
*/
|
|
4000
|
+
// @Trace()
|
|
3981
4001
|
ActivityContainerComponent.prototype.synchroniseSelectedTabIndex = function () {
|
|
3982
4002
|
var _this = this;
|
|
3983
4003
|
var previousIndex = this.tabs.selectedIndex;
|
|
@@ -3994,9 +4014,11 @@
|
|
|
3994
4014
|
ActivityContainerComponent.prototype.getSelectedOutlet = function () {
|
|
3995
4015
|
return this.activityOutlets.toArray()[this.tabs.selectedIndex];
|
|
3996
4016
|
};
|
|
4017
|
+
// @Trace()
|
|
3997
4018
|
ActivityContainerComponent.prototype.getSelectedTabIndex = function () {
|
|
3998
4019
|
return this.tabs.selectedIndex;
|
|
3999
4020
|
};
|
|
4021
|
+
// @Trace()
|
|
4000
4022
|
ActivityContainerComponent.prototype.triggerTabSynchronisation = function () {
|
|
4001
4023
|
var _this = this;
|
|
4002
4024
|
if (this.syncSelectedTabTimeout) {
|
|
@@ -4019,34 +4041,10 @@
|
|
|
4019
4041
|
core.ViewChildren(ActivityOutletComponent),
|
|
4020
4042
|
__metadata("design:type", core.QueryList)
|
|
4021
4043
|
], ActivityContainerComponent.prototype, "activityOutlets", void 0);
|
|
4022
|
-
__decorate([
|
|
4023
|
-
pectin.Trace(),
|
|
4024
|
-
__metadata("design:type", Function),
|
|
4025
|
-
__metadata("design:paramtypes", []),
|
|
4026
|
-
__metadata("design:returntype", void 0)
|
|
4027
|
-
], ActivityContainerComponent.prototype, "onAnimationFinished", null);
|
|
4028
|
-
__decorate([
|
|
4029
|
-
pectin.Trace(),
|
|
4030
|
-
__metadata("design:type", Function),
|
|
4031
|
-
__metadata("design:paramtypes", []),
|
|
4032
|
-
__metadata("design:returntype", void 0)
|
|
4033
|
-
], ActivityContainerComponent.prototype, "synchroniseSelectedTabIndex", null);
|
|
4034
|
-
__decorate([
|
|
4035
|
-
pectin.Trace(),
|
|
4036
|
-
__metadata("design:type", Function),
|
|
4037
|
-
__metadata("design:paramtypes", []),
|
|
4038
|
-
__metadata("design:returntype", void 0)
|
|
4039
|
-
], ActivityContainerComponent.prototype, "getSelectedTabIndex", null);
|
|
4040
|
-
__decorate([
|
|
4041
|
-
pectin.Trace(),
|
|
4042
|
-
__metadata("design:type", Function),
|
|
4043
|
-
__metadata("design:paramtypes", []),
|
|
4044
|
-
__metadata("design:returntype", void 0)
|
|
4045
|
-
], ActivityContainerComponent.prototype, "triggerTabSynchronisation", null);
|
|
4046
4044
|
ActivityContainerComponent = __decorate([
|
|
4047
4045
|
core.Component({
|
|
4048
4046
|
selector: 'aup-activity-container',
|
|
4049
|
-
template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let tab of activityTabs; let i = index; trackBy: activityIndex\"
|
|
4047
|
+
template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let tab of activityTabs; let i = index; trackBy: activityIndex\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\"\n [activityRef]=\"tab\"\n [disableAnimation]=\"inTabChange.value || i !== getSelectedTabIndex()\"></aup-activity-outlet>\n </mat-tab>\n</mat-tab-group>\n",
|
|
4050
4048
|
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
4051
4049
|
}),
|
|
4052
4050
|
__metadata("design:paramtypes", [])
|