ps-toolkit-ui 1.6.64 → 1.6.66

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.
@@ -2935,9 +2935,6 @@
2935
2935
  }
2936
2936
  else if (col.type === exports.TableCollType.Plaque) {
2937
2937
  var parts = cv.split('_');
2938
- console.log(cv);
2939
- console.log(parts.length);
2940
- console.log(parts);
2941
2938
  if (parts.length === 4) {
2942
2939
  return '<div data-copy="' + parts.join(' ') + '" class="plaque' + (parts[1] === 'ع' ? ' p' : '') + (parts[1] === 'ا' ? ' g' : '') + '">' +
2943
2940
  '<div class="part1">' + parts[0] + '</div>' +
@@ -4412,7 +4409,7 @@
4412
4409
  }
4413
4410
  else if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueG) {
4414
4411
  this.part1.minLength = 3;
4415
- this.part1.maxLength = 10;
4412
+ this.part1.maxLength = 15;
4416
4413
  this.part1.type = exports.InputType.Text;
4417
4414
  this.part1.class += ' plaque-part-g';
4418
4415
  this.part2.class += ' plaque-part-g';
@@ -4871,7 +4868,7 @@
4871
4868
  }
4872
4869
  else if (this.inp.type === exports.InputType.PlaqueG) {
4873
4870
  this.part1.minLength = 3;
4874
- this.part1.maxLength = 10;
4871
+ this.part1.maxLength = 15;
4875
4872
  this.part1.type = exports.InputType.Text;
4876
4873
  this.part1.class += ' plaque-part-g';
4877
4874
  this.part2.class += ' plaque-part-g';
@@ -5077,7 +5074,7 @@
5077
5074
  FormPlaqueComponent.prototype.getValue = function () {
5078
5075
  return this.isValid() ? (this.inp.type === exports.InputType.Plaque ?
5079
5076
  (this.part1.value ? this.part1.value : '') + "_" + (this.part2.value ? this.part2.value : '') + "_" + (this.part3.value ? this.part3.value : '') + "_" + (this.part4.value ? this.part4.value : '') :
5080
- (this.inp.type === exports.InputType.PlaqueM || this.inp.type === exports.InputType.PlaqueF ? (this.part1.value ? this.part1.value : '') + "_" + (this.part3.value ? this.part3.value : '') : "" + (this.part1.value ? this.part1.value : ''))) : null;
5077
+ (this.inp.type === exports.InputType.PlaqueM || this.inp.type === exports.InputType.PlaqueF ? (this.part1.value ? this.part1.value : '') + "_" + (this.part3.value ? this.part3.value : '') : "" + (this.part1.value ? this.part1.value : ''))).toUpperCase() : null;
5081
5078
  };
5082
5079
  return FormPlaqueComponent;
5083
5080
  }());