@colijnit/corecomponents_v12 257.1.0 → 257.1.11

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.
@@ -8270,12 +8270,10 @@
8270
8270
  return true;
8271
8271
  };
8272
8272
  InputSearchComponent.prototype.handleKeyDown = function (event) {
8273
- switch (event.code) {
8274
- case 'Enter':
8275
- case 'NumpadEnter':
8276
- event.preventDefault();
8277
- this.search.next(this.model);
8278
- return;
8273
+ var enterKeys = ['Enter', 'NumpadEnter', 'Go'];
8274
+ if (enterKeys.includes(event.key)) {
8275
+ event.preventDefault();
8276
+ this.search.next(this.model);
8279
8277
  }
8280
8278
  };
8281
8279
  InputSearchComponent.prototype.handleModelChange = function (model) {
@@ -11951,7 +11949,7 @@
11951
11949
  this.showMenu = !this.showMenu;
11952
11950
  };
11953
11951
  ListOfIconsComponent.prototype.selectItem = function (item) {
11954
- if (item.label.toUpperCase() === 'LOGISTICS') {
11952
+ if (item.label.toUpperCase() === 'LOGISTICS' || item.label.toUpperCase() === 'LOGISTIEK') {
11955
11953
  this.showSubCategories = !this.showSubCategories;
11956
11954
  return;
11957
11955
  }