@danielgindi/selectbox 2.0.45 → 2.0.46

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.
package/dist/lib.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 2.0.45
2
+ * @danielgindi/selectbox 2.0.46
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  (function (global, factory) {
@@ -10002,7 +10002,7 @@
10002
10002
  'search' {value}: input box value has changed
10003
10003
  'search:focus': input box has gained focus
10004
10004
  'search:blur': input box has lost focus
10005
- 'search:term': search term has been updated
10005
+ 'search:term': search term has been updated, before results were re-filtered
10006
10006
  'input:resize': input box resized
10007
10007
  'itemschanged' {term, mutated, count}: the current set of items has changed
10008
10008
  */
@@ -10517,8 +10517,8 @@
10517
10517
 
10518
10518
  if (performSearch) {var _p$dropList2;
10519
10519
  p.filterTerm = p.input.value.trim();
10520
- (_p$dropList2 = p.dropList) === null || _p$dropList2 === void 0 || _p$dropList2.setSearchTerm(p.filterTerm, performSearch);
10521
10520
  this._trigger('search:term', p.filterTerm);
10521
+ (_p$dropList2 = p.dropList) === null || _p$dropList2 === void 0 || _p$dropList2.setSearchTerm(p.filterTerm, performSearch);
10522
10522
  }
10523
10523
 
10524
10524
  return this;
@@ -12079,8 +12079,8 @@
12079
12079
  if (p.disabled || p.readOnly) return;
12080
12080
 
12081
12081
  p.filterTerm = p.input.value.trim();
12082
- (_p$dropList9 = p.dropList) === null || _p$dropList9 === void 0 || _p$dropList9.setSearchTerm(p.filterTerm, true);
12083
12082
  this._trigger('search:term', p.filterTerm);
12083
+ (_p$dropList9 = p.dropList) === null || _p$dropList9 === void 0 || _p$dropList9.setSearchTerm(p.filterTerm, true);
12084
12084
  }).
12085
12085
  add(p.input, 'click.dropdown', () => {
12086
12086
  if (p.disabled || p.readOnly) return;
@@ -12923,8 +12923,8 @@
12923
12923
  p.input.value = value == null ? '' : String(value);
12924
12924
 
12925
12925
  p.filterTerm = '';
12926
- (_p$dropList0 = p.dropList) === null || _p$dropList0 === void 0 || _p$dropList0.setSearchTerm('', true);
12927
12926
  this._trigger('search:term', p.filterTerm);
12927
+ (_p$dropList0 = p.dropList) === null || _p$dropList0 === void 0 || _p$dropList0.setSearchTerm('', true);
12928
12928
  }
12929
12929
 
12930
12930
  /**