@coolon/angular-ui-powerups 14.35.1 → 14.36.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.
@@ -8365,9 +8365,8 @@ class ActivityContainerComponent extends AbstractInteractionContext {
8365
8365
  this.busy = this.registerDisposable(new DelegatingValueModel().withDefault(false));
8366
8366
  this.syncTabsJob = undefined;
8367
8367
  const { chain, valueOf, when } = Dsl.disposeWith(this);
8368
- when(this.ready$).becomesTruthy(() => {
8369
- this.finaliseActiveStates();
8370
- });
8368
+ when(this.ready$).becomesTruthy(() => this.finaliseActivityStates());
8369
+ this.stable$ = valueOf.all(this.ready$, this._started$, chain(this.animating$).isFalsey()).areTruthy();
8371
8370
  }
8372
8371
  get started$() {
8373
8372
  return this._started$.readonly;
@@ -8521,11 +8520,11 @@ class ActivityContainerComponent extends AbstractInteractionContext {
8521
8520
  this.tabs.selectedIndex = newIndex;
8522
8521
  if (this.ready$.value) {
8523
8522
  // Note: We're not using the animation done event as it's firing almost immeadiately.
8524
- setTimeout(() => this.finaliseActiveStates(), animate ? this.getTabAnimationDuration() : 0);
8523
+ setTimeout(() => this.finaliseActivityStates(), animate ? this.getTabAnimationDuration() : 0);
8525
8524
  }
8526
8525
  }
8527
8526
  }
8528
- finaliseActiveStates() {
8527
+ finaliseActivityStates() {
8529
8528
  this._animating$.value = false;
8530
8529
  this.activityRefs = this.activityRefs.filter(tab => !tab.isComplete());
8531
8530
  this.activityRefs.forEach((ref, index) => {