@dsivd/prestations-ng 14.5.23-beta5 → 14.5.23-beta6

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.
@@ -8857,6 +8857,7 @@
8857
8857
  _this.dictionaryService = dictionaryService;
8858
8858
  _this.showEmptyListMessage = false;
8859
8859
  _this.srAnnouncements = '';
8860
+ _this.SR_ANNOUNCEMENT_CLEAR_TIMEOUT_INTERVAL = 4000;
8860
8861
  return _this;
8861
8862
  }
8862
8863
  Object.defineProperty(FoehnMultiselectAutocompleteComponent.prototype, "defaultElementValues", {
@@ -9023,16 +9024,16 @@
9023
9024
  };
9024
9025
  FoehnMultiselectAutocompleteComponent.prototype.manageScreenReaderAnnouncement = function (element, isDelete) {
9025
9026
  var _this = this;
9026
- clearTimeout(this.srAnnouncementAutoClearTimer);
9027
+ clearTimeout(this.srAnnouncementClearTimer);
9027
9028
  if (isDelete) {
9028
9029
  this.srAnnouncements += "" + this.dictionaryService.getKeySync('foehn-multiselect-autocomplete.sr-announcement.deleted', { elementLabel: this.getLabel(element) });
9029
9030
  }
9030
9031
  else {
9031
9032
  this.srAnnouncements += "" + this.dictionaryService.getKeySync('foehn-multiselect-autocomplete.sr-announcement.added', { elementLabel: this.getLabel(element) });
9032
9033
  }
9033
- this.srAnnouncementAutoClearTimer = setTimeout(function () {
9034
+ this.srAnnouncementClearTimer = setTimeout(function () {
9034
9035
  _this.srAnnouncements = '';
9035
- }, 10000);
9036
+ }, this.SR_ANNOUNCEMENT_CLEAR_TIMEOUT_INTERVAL);
9036
9037
  };
9037
9038
  return FoehnMultiselectAutocompleteComponent;
9038
9039
  }(FoehnAutocompleteComponent));