@senior-gestao-empresarial/erpx-components 1.18.0 → 1.18.2

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.
@@ -1068,7 +1068,7 @@
1068
1068
  (item == 'percentualMargemValorAdicionado')) {
1069
1069
  it.formGroup.controls[item].setValidators(forms.Validators.compose([
1070
1070
  forms.Validators.required,
1071
- forms.Validators.max(100)
1071
+ forms.Validators.max(1000)
1072
1072
  ]));
1073
1073
  it.formGroup.controls[item].updateValueAndValidity({ emitEvent: false });
1074
1074
  _this.setRequired(tributo, true);
@@ -1120,7 +1120,7 @@
1120
1120
  if ((item == 'percentualReducao') ||
1121
1121
  (item == 'percentualDiferimento') ||
1122
1122
  (item == 'percentualMargemValorAdicionado')) {
1123
- it.formGroup.controls[item].setValidators(forms.Validators.compose([forms.Validators.max(100)]));
1123
+ it.formGroup.controls[item].setValidators(forms.Validators.compose([forms.Validators.max(1000)]));
1124
1124
  it.formGroup.controls[item].updateValueAndValidity({ emitEvent: false });
1125
1125
  _this.setRequired(tributo, true);
1126
1126
  }
@@ -3034,7 +3034,7 @@
3034
3034
  _this.setGroupValid(tributo);
3035
3035
  },
3036
3036
  errorMessages: function () { return ({
3037
- max: _this.translate.instant('erpx_tributos.fields.max_validator', { value: 100 }),
3037
+ max: _this.translate.instant('erpx_tributos.fields.max_validator', { value: 1000 }),
3038
3038
  required: _this.translate.instant('erpx_tributos.fields.required_validator')
3039
3039
  }); },
3040
3040
  required: function () { return _this.setVariableRequired(tributo); }
@@ -4181,6 +4181,7 @@
4181
4181
  searchFields: this.getQuantidadeDisponivelDemandaSearchFields(),
4182
4182
  searchGridFields: this.getQuantidadeDisponivelDemandaSearchGridFields(),
4183
4183
  multiple: true,
4184
+ dataKey: 'id',
4184
4185
  required: function () { return true; }
4185
4186
  }) :
4186
4187
  new angularComponents.FormField({