@coolon/angular-ui-powerups 2.0.0-alpha.31 → 2.0.0-alpha.32

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.
Files changed (24) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +2 -19
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +2 -2
  8. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  9. package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
  10. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -14
  11. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
  12. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
  13. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  14. package/esm5/lib/interaction/components/activity-container/activity-container.component.js +2 -2
  15. package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  16. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -18
  17. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
  18. package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  19. package/fesm2015/coolon-angular-ui-powerups.js +2 -15
  20. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  21. package/fesm5/coolon-angular-ui-powerups.js +2 -19
  22. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  23. package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +0 -2
  24. 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.32](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2020-08-26)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * added activity animation tests and finally actually fixed the issue ([c067efb](https://bitbucket.org/coolon/angular-ui-powerups/commit/c067efbb011c006682b2720e16b7daf1577bab3c))
11
+
5
12
  ## [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
13
 
7
14
 
@@ -3769,17 +3769,6 @@
3769
3769
  configurable: true
3770
3770
  });
3771
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
- });
3783
3772
  ActivityOutletComponent.prototype.ngOnInit = function () {
3784
3773
  };
3785
3774
  ActivityOutletComponent.prototype.loadActivity = function (activityRef) {
@@ -3816,12 +3805,6 @@
3816
3805
  __metadata("design:type", ActivityRef),
3817
3806
  __metadata("design:paramtypes", [ActivityRef])
3818
3807
  ], 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);
3825
3808
  ActivityOutletComponent = __decorate([
3826
3809
  core.Component({
3827
3810
  selector: 'aup-activity-outlet',
@@ -3843,7 +3826,7 @@
3843
3826
  _this.activityTabs = [];
3844
3827
  _this.garbage = new pectin.GarbageCollector();
3845
3828
  // We have issues where angular is triggering a leave animation when an
3846
- // activity is replaced by another, but is not running the enter animation
3829
+ // new activity is started, but is not running the enter animation
3847
3830
  // when it is scrolled back into view. So we track the tab changes and
3848
3831
  // disable all animations inside the tab while we're animating.
3849
3832
  _this.inTabChange = new pectin.MutableValueModel(false);
@@ -4044,7 +4027,7 @@
4044
4027
  ActivityContainerComponent = __decorate([
4045
4028
  core.Component({
4046
4029
  selector: 'aup-activity-container',
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",
4030
+ 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 [@.disabled]=\"inTabChange.value || i !== getSelectedTabIndex()\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"tab\"></aup-activity-outlet>\n </mat-tab>\n</mat-tab-group>\n",
4048
4031
  styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
4049
4032
  }),
4050
4033
  __metadata("design:paramtypes", [])