ps-toolkit-ui 1.15.19 → 1.15.21

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.
@@ -1023,6 +1023,7 @@
1023
1023
  StatusEnum[StatusEnum["Report"] = 3] = "Report";
1024
1024
  })(exports.StatusEnum || (exports.StatusEnum = {}));
1025
1025
  (function (PaymentStatusEnum) {
1026
+ PaymentStatusEnum[PaymentStatusEnum["Returned"] = -1] = "Returned";
1026
1027
  PaymentStatusEnum[PaymentStatusEnum["All"] = 0] = "All";
1027
1028
  PaymentStatusEnum[PaymentStatusEnum["Success"] = 100] = "Success";
1028
1029
  PaymentStatusEnum[PaymentStatusEnum["NOK"] = 102] = "NOK";
@@ -8211,7 +8212,7 @@
8211
8212
  FormTagComponent.prototype.ngOnInit = function () {
8212
8213
  var _this = this;
8213
8214
  this.inp.setValue = function (v) {
8214
- _this.inp.value = v != null ? v instanceof Array ? v : v.toString().split(/[, ]/).filter(function (x) { return x !== ''; }) : [];
8215
+ _this.inp.value = v != null ? v instanceof Array ? v : v.toString().split(/[,]/).filter(function (x) { return x !== ''; }) : [];
8215
8216
  };
8216
8217
  this.inp.focus = function (changeIndex) {
8217
8218
  if (changeIndex === void 0) { changeIndex = false; }
@@ -8260,14 +8261,14 @@
8260
8261
  if (code === 9) {
8261
8262
  e.preventDefault();
8262
8263
  if (v.val() !== '') {
8263
- this.inp.value = this.inp.value.concat(v.val().toString().split(/[, ]/).filter(function (x) { return x !== '' && !_this.inp.value.includes(x); }));
8264
+ this.inp.value = this.inp.value.concat(v.val().toString().split(/[,]/).filter(function (x) { return x !== '' && !_this.inp.value.includes(x); }));
8264
8265
  v.val('');
8265
8266
  }
8266
8267
  this.changeIndex.emit(code === 9 ? e.shiftKey ? 'ShiftTab' : 'Tab' : e.shiftKey ? 'ShiftEnter' : 'Enter');
8267
8268
  }
8268
8269
  else if (code === 13) {
8269
8270
  if (v.val() !== '') {
8270
- this.inp.value = this.inp.value.concat(v.val().toString().split(/[, ]/).filter(function (x) { return x !== '' && !_this.inp.value.includes(x); }));
8271
+ this.inp.value = this.inp.value.concat(v.val().toString().split(/[,]/).filter(function (x) { return x !== '' && !_this.inp.value.includes(x); }));
8271
8272
  v.val('');
8272
8273
  }
8273
8274
  }
@@ -8282,7 +8283,7 @@
8282
8283
  var _this = this;
8283
8284
  var v = $__namespace(this.inputBase.nativeElement);
8284
8285
  if (v.val() !== '') {
8285
- this.inp.value = this.inp.value.concat(v.val().toString().split(/[, ]/).filter(function (x) { return x !== '' && !_this.inp.value.includes(x); }));
8286
+ this.inp.value = this.inp.value.concat(v.val().toString().split(/[,]/).filter(function (x) { return x !== '' && !_this.inp.value.includes(x); }));
8286
8287
  v.val('');
8287
8288
  }
8288
8289
  };