ps-toolkit-ui 1.6.52 → 1.6.53

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.
@@ -7451,7 +7451,7 @@
7451
7451
  if (!_this.inp.required && _this.inp.value.length === 0) {
7452
7452
  return true;
7453
7453
  }
7454
- if (_this.inp.allowed !== null && _this.inp.value.map(function (x) { return RegExp(_this.inp.allowed).test(x); }).some(function (x) { return x === false; })) {
7454
+ if (_this.inp.allowed !== null && _this.inp.value.map(function (x) { return RegExp(_this.inp.allowed === exports.InputType.BillNumber ? /^\d+(\/\d+)*$/ : '').test(x); }).some(function (x) { return x === false; })) {
7455
7455
  _this.inp.error = exports.InputError.Invalid;
7456
7456
  return false;
7457
7457
  }