tnx-shared 5.3.262 → 5.3.264

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.
@@ -13698,8 +13698,9 @@
13698
13698
  var value = event.value;
13699
13699
  if (!isArray(value) || !(value === null || value === void 0 ? void 0 : value.length))
13700
13700
  return true;
13701
- var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
13702
- return !value.some(function (x) { return !re.test(String(x).toLowerCase()); });
13701
+ var strValue = value.join(',').replaceAll(' ', '');
13702
+ var re = /^(([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+([;,.](([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+)*$/;
13703
+ return re.test(strValue);
13703
13704
  };
13704
13705
  LstEmailValidator.prototype.getError = function () {
13705
13706
  return 'Có phần tử không đúng định dạng thư điện tử';
@@ -32715,6 +32716,9 @@
32715
32716
  if (!this._deviceDetectorService.isDesktop()) {
32716
32717
  this.hideTransitionOptions = this.showTransitionOptions = '';
32717
32718
  }
32719
+ if (this.control.baseService instanceof MasterDataService) {
32720
+ this.control.maxItemDisplay = 9999;
32721
+ }
32718
32722
  if (this.control.onInit) {
32719
32723
  this.control.onInit(this);
32720
32724
  }