@coolon/angular-ui-powerups 3.7.1 → 3.7.2

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,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
+ ### [3.7.2](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.7.1...v3.7.2) (2021-01-22)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * fixed null point workaround to always return something ([b53bb4b](https://bitbucket.org/coolon/angular-ui-powerups/commit/b53bb4b322908189d087b27c4fce5f87de077c7d))
11
+
5
12
  ### [3.7.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.7.0...v3.7.1) (2021-01-22)
6
13
 
7
14
 
@@ -1075,7 +1075,7 @@
1075
1075
  _this.faceModelDelegate = new pectin.DelegatingValueModel();
1076
1076
  _this.xPosition = 'after';
1077
1077
  _this.yPosition = 'below';
1078
- var _b = pectin.Dsl.disposeWith(_this), chain = _b.chain, valueOf = _b.valueOf, before = _b.before, when = _b.when, after = _b.after, observe = _b.observe, switchOn = _b.switchOn;
1078
+ var _c = pectin.Dsl.disposeWith(_this), chain = _c.chain, valueOf = _c.valueOf, before = _c.before, when = _c.when, after = _c.after, observe = _c.observe, switchOn = _c.switchOn;
1079
1079
  // group.faceListModel = chain(this.faceModel).mapToList(face => [face]);
1080
1080
  _this.faceAdapterModel = chain(_this.faceModelDelegate).map(function (f) { return new exports.CommandFace.Adapter(f); });
1081
1081
  _this.children = chain(_this._unorderedChildren).sortBy('componentIndex');
@@ -1087,11 +1087,11 @@
1087
1087
  };
1088
1088
  Object.defineProperty(AbstractPopupMenuComponent.prototype, "faceAdapter", {
1089
1089
  get: function () {
1090
- var _a;
1090
+ var _a, _b;
1091
1091
  if (!this.faceAdapterModel) {
1092
1092
  console.error("Somehow faceAdapterModel is nil -- set a break point here and let me know what's going on");
1093
1093
  }
1094
- return (_a = this.faceAdapterModel) === null || _a === void 0 ? void 0 : _a.value;
1094
+ return (_b = (_a = this.faceAdapterModel) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : new exports.CommandFace.Adapter(undefined);
1095
1095
  },
1096
1096
  enumerable: false,
1097
1097
  configurable: true