@coolon/angular-ui-powerups 3.10.3 → 3.10.4

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 CHANGED
@@ -2,6 +2,14 @@
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
+ ### [3.10.4](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.10.3...v3.10.4) (2021-02-09)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * fixed issue with incorrect default case handling ([83fd25c](https://bitbucket.org/coolon/angular-ui-powerups/commit/83fd25c19c2acd4301a790a23e81e17604f2d2b5))
11
+ * updated to extend disposable component ([ca5475a](https://bitbucket.org/coolon/angular-ui-powerups/commit/ca5475aab6f3252fc346b8f0c540a72ea97aaf9b))
12
+
5
13
  ### [3.10.3](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.10.2...v3.10.3) (2021-02-08)
6
14
 
7
15
 
@@ -632,13 +632,15 @@
632
632
  },] }
633
633
  ];
634
634
 
635
- var BusyOverlayComponent = /** @class */ (function () {
635
+ var BusyOverlayComponent = /** @class */ (function (_super) {
636
+ __extends(BusyOverlayComponent, _super);
636
637
  function BusyOverlayComponent() {
638
+ return _super.call(this) || this;
637
639
  }
638
640
  BusyOverlayComponent.prototype.ngOnInit = function () {
639
641
  };
640
642
  return BusyOverlayComponent;
641
- }());
643
+ }(pectin.GarbageCollector));
642
644
  BusyOverlayComponent.decorators = [
643
645
  { type: i0.Component, args: [{
644
646
  selector: 'aup-busy-overlay',
@@ -2284,7 +2286,9 @@
2284
2286
  }
2285
2287
  if (matchingIndicies.length === 0) {
2286
2288
  this.switchCaseOptions.forEach(function (option, index) {
2287
- matchingIndicies.push(index);
2289
+ if (option.isDefault) {
2290
+ matchingIndicies.push(index);
2291
+ }
2288
2292
  });
2289
2293
  if (matchingIndicies.length > 1) {
2290
2294
  console.warn("found " + matchingIndicies.length + " default case values, displaying the first.");