tnx-shared 5.3.388 → 5.3.390

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.
@@ -33396,7 +33396,8 @@
33396
33396
  _this._injector = _injector;
33397
33397
  _this._commonService = _commonService;
33398
33398
  _this.templateFilter = [];
33399
- _this.searchBoxTooltip = 'Tìm kiếm theo các trường: ';
33399
+ _this._searchBoxTooltip = 'Tìm kiếm theo các trường: ';
33400
+ _this.isCustomTooltip = false;
33400
33401
  _this.onClickSearch = new i0.EventEmitter();
33401
33402
  _this.onAfterToggleMenuSearch = new i0.EventEmitter();
33402
33403
  _this.mdWidth = 3;
@@ -33418,6 +33419,19 @@
33418
33419
  _this._index = 1;
33419
33420
  return _this;
33420
33421
  }
33422
+ Object.defineProperty(CommonSearchFormComponent.prototype, "searchBoxTooltip", {
33423
+ get: function () {
33424
+ return this._searchBoxTooltip;
33425
+ },
33426
+ set: function (value) {
33427
+ if (value) {
33428
+ this.isCustomTooltip = true;
33429
+ this._searchBoxTooltip = value;
33430
+ }
33431
+ },
33432
+ enumerable: false,
33433
+ configurable: true
33434
+ });
33421
33435
  CommonSearchFormComponent.prototype.ngOnInit = function () {
33422
33436
  var _this = this;
33423
33437
  if (!this.parentSetting.useCommonFullTextSearch) {
@@ -33451,7 +33465,9 @@
33451
33465
  _this.lstTextControl.push(item.field);
33452
33466
  });
33453
33467
  }
33454
- this.searchBoxTooltip += arrLabel_1.join(', ');
33468
+ if (!this.isCustomTooltip) {
33469
+ this._searchBoxTooltip += arrLabel_1.join(', ');
33470
+ }
33455
33471
  this._index = 2;
33456
33472
  }
33457
33473
  if (this.isCustomGenerateSearch) {
@@ -55855,6 +55871,10 @@
55855
55871
  // Bỏ select item của autocomplete
55856
55872
  UserPickerComponent.prototype.handleUnSelect = function ($event) {
55857
55873
  this.updateSelectedValue();
55874
+ if (this.control.multiple && ($event === null || $event === void 0 ? void 0 : $event._disabled)) {
55875
+ this.selectedValue.push($event.value);
55876
+ this.selectedValueObject.push($event);
55877
+ }
55858
55878
  var evt = {
55859
55879
  item: $event,
55860
55880
  value: this.selectedValue