ps-toolkit-ui 1.16.56 → 1.16.57

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.
@@ -4189,7 +4189,7 @@
4189
4189
  };
4190
4190
  FormBankCardComponent.prototype.setIcon = function () {
4191
4191
  var _this = this;
4192
- var b = this.banks.filter(function (x) { return x.startWith.includes(_this.part1.data().toString() + _this.part2.data().toString().substring(0, 2)); });
4192
+ var b = this.banks.filter(function (x) { var _a, _b; return x.startWith.includes(((_a = _this.part1.data()) !== null && _a !== void 0 ? _a : '').toString() + ((_b = _this.part2.data()) !== null && _b !== void 0 ? _b : '').toString().substring(0, 2)); });
4193
4193
  if (b.length > 0) {
4194
4194
  $__namespace(this.inputIcon.nativeElement).removeClass('fa-money-check').addClass(b[0].name);
4195
4195
  }