@acorex/components 4.2.34 → 4.2.38

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.
@@ -10265,7 +10265,8 @@ class AXSearchBarComponent {
10265
10265
  name: el.property.name,
10266
10266
  title: el.property.title,
10267
10267
  textValue: el.value,
10268
- value: el.value
10268
+ value: el.value,
10269
+ component: el
10269
10270
  });
10270
10271
  }
10271
10272
  });
@@ -10277,13 +10278,15 @@ class AXSearchBarComponent {
10277
10278
  clearItem(name) {
10278
10279
  this._editors.find((e) => e.property.property.name == name).clear();
10279
10280
  }
10281
+ refresh() {
10282
+ this._items = JSON.parse(JSON.stringify(this._items));
10283
+ }
10280
10284
  handleButtonClick() {
10281
10285
  this.dropdown.toggle();
10282
10286
  }
10283
10287
  handleValueChange(e) {
10284
10288
  let value = [];
10285
10289
  let text = [];
10286
- debugger;
10287
10290
  if (e.property.editorOptions?.valueField && e.value != null) {
10288
10291
  if (e.property.editorOptions.returnAllData) {
10289
10292
  value = e.value;
@@ -10317,7 +10320,9 @@ class AXSearchBarComponent {
10317
10320
  title: e.property.title,
10318
10321
  value,
10319
10322
  textValue: text.toString(),
10323
+ component: e,
10320
10324
  filterOptions: {
10325
+ field: e.property?.filterOptions?.field ? e.property.filterOptions.field : null,
10321
10326
  filters: e.property?.filterOptions?.filters ? e.property.filterOptions.filters : [],
10322
10327
  logic: e.property?.filterOptions?.logic ? e.property.filterOptions.logic : 'and',
10323
10328
  ignoreCase: e.property?.filterOptions?.ignoreCase ? e.property.filterOptions.ignoreCase : true,