tnx-shared 5.1.233 → 5.1.234

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.
@@ -25857,6 +25857,9 @@
25857
25857
  this.setDefaultSetting();
25858
25858
  this.buildFilterKeyword();
25859
25859
  this.buildSettingEntityPicker();
25860
+ if (this.readOnlyValues) {
25861
+ this.funcCheckReadonlyItem = this._funcCheckReadonlyItem;
25862
+ }
25860
25863
  };
25861
25864
  AutoCompletePickerComponent.prototype.setDefaultSetting = function () {
25862
25865
  var _this = this;
@@ -26134,9 +26137,21 @@
26134
26137
  AutoCompletePickerComponent.prototype.getValueReturn = function () {
26135
26138
  return this.funcReturnValue(this.selectedValue);
26136
26139
  };
26140
+ AutoCompletePickerComponent.prototype._funcCheckReadonlyItem = function (item) {
26141
+ var _this = this;
26142
+ if (this.readOnlyValues.some(function (q) { return q == item[_this.control.valueField]; })) {
26143
+ item._disabled = true;
26144
+ }
26145
+ };
26137
26146
  AutoCompletePickerComponent.prototype.updateSelectedValue = function () {
26147
+ var _this = this;
26138
26148
  if (this.control.multiple) {
26139
- this.selectedValue = this.selectedValueObject.map(function (item) { return item.value; });
26149
+ var selectedValue_1 = [];
26150
+ this.selectedValueObject.forEach(function (item) {
26151
+ selectedValue_1.push(item.value);
26152
+ _this.funcCheckReadonlyItem(item.value);
26153
+ });
26154
+ this.selectedValue = selectedValue_1;
26140
26155
  this.tooltip = null;
26141
26156
  }
26142
26157
  else {