tnx-shared 5.1.521 → 5.1.523

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.
@@ -13239,6 +13239,25 @@
13239
13239
  };
13240
13240
  return CccdValidator;
13241
13241
  }());
13242
+ var PassportValidator = /** @class */ (function () {
13243
+ function PassportValidator(message) {
13244
+ this.message = 'Không đúng định dạng Số hộ chiếu hoặc Số CCCD hoặc chứng minh nhân dân';
13245
+ if (message) {
13246
+ this.message = message;
13247
+ }
13248
+ }
13249
+ PassportValidator.prototype.validate = function (event) {
13250
+ var value = event.value;
13251
+ if (value == null || value === '')
13252
+ return true;
13253
+ var re = /^\d{0,12}$/;
13254
+ return re.test(value);
13255
+ };
13256
+ PassportValidator.prototype.getError = function () {
13257
+ return this.message;
13258
+ };
13259
+ return PassportValidator;
13260
+ }());
13242
13261
  var LengthValidator = /** @class */ (function () {
13243
13262
  function LengthValidator(max, min) {
13244
13263
  if (min === void 0) { min = 0; }
@@ -62173,7 +62192,8 @@
62173
62192
  field: 'fileDinhKem',
62174
62193
  label: this._translateService.instant('File đính kèm'),
62175
62194
  dataType: 'fileDinhKem',
62176
- allowFilter: false
62195
+ allowFilter: false,
62196
+ visible: !this.businessSetting.showFileManagerFromWfProcess
62177
62197
  })
62178
62198
  ];
62179
62199
  this.model.ready = true;
@@ -64620,6 +64640,7 @@
64620
64640
  exports.PageInfo = PageInfo;
64621
64641
  exports.PageSetting = PageSetting;
64622
64642
  exports.Pair = Pair;
64643
+ exports.PassportValidator = PassportValidator;
64623
64644
  exports.PercentControlSchema = PercentControlSchema;
64624
64645
  exports.PermissionConstant = PermissionConstant;
64625
64646
  exports.PermissionService = PermissionService;