@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.cjs.js +5 -5
- package/dist/lib.cjs.js.map +1 -1
- package/dist/lib.cjs.min.js +2 -2
- package/dist/lib.cjs.min.js.map +1 -1
- package/dist/lib.es6.js +5 -5
- package/dist/lib.es6.js.map +1 -1
- package/dist/lib.es6.min.js +2 -2
- package/dist/lib.es6.min.js.map +1 -1
- package/dist/lib.umd.js +5 -5
- package/dist/lib.umd.js.map +1 -1
- package/dist/lib.umd.min.js +2 -2
- package/dist/lib.umd.min.js.map +1 -1
- package/lib/SelectBox.js +4 -4
- package/package.json +1 -1
- package/vue/SelectBox.vue +1 -1
package/dist/lib.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @danielgindi/selectbox 2.0.
|
|
2
|
+
* @danielgindi/selectbox 2.0.46
|
|
3
3
|
* git://github.com/danielgindi/selectbox.git
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -10006,7 +10006,7 @@ Emits the following events:
|
|
|
10006
10006
|
'search' {value}: input box value has changed
|
|
10007
10007
|
'search:focus': input box has gained focus
|
|
10008
10008
|
'search:blur': input box has lost focus
|
|
10009
|
-
'search:term': search term has been updated
|
|
10009
|
+
'search:term': search term has been updated, before results were re-filtered
|
|
10010
10010
|
'input:resize': input box resized
|
|
10011
10011
|
'itemschanged' {term, mutated, count}: the current set of items has changed
|
|
10012
10012
|
*/
|
|
@@ -10521,8 +10521,8 @@ class SelectBox {
|
|
|
10521
10521
|
|
|
10522
10522
|
if (performSearch) {var _p$dropList2;
|
|
10523
10523
|
p.filterTerm = p.input.value.trim();
|
|
10524
|
-
(_p$dropList2 = p.dropList) === null || _p$dropList2 === void 0 || _p$dropList2.setSearchTerm(p.filterTerm, performSearch);
|
|
10525
10524
|
this._trigger('search:term', p.filterTerm);
|
|
10525
|
+
(_p$dropList2 = p.dropList) === null || _p$dropList2 === void 0 || _p$dropList2.setSearchTerm(p.filterTerm, performSearch);
|
|
10526
10526
|
}
|
|
10527
10527
|
|
|
10528
10528
|
return this;
|
|
@@ -12083,8 +12083,8 @@ class SelectBox {
|
|
|
12083
12083
|
if (p.disabled || p.readOnly) return;
|
|
12084
12084
|
|
|
12085
12085
|
p.filterTerm = p.input.value.trim();
|
|
12086
|
-
(_p$dropList9 = p.dropList) === null || _p$dropList9 === void 0 || _p$dropList9.setSearchTerm(p.filterTerm, true);
|
|
12087
12086
|
this._trigger('search:term', p.filterTerm);
|
|
12087
|
+
(_p$dropList9 = p.dropList) === null || _p$dropList9 === void 0 || _p$dropList9.setSearchTerm(p.filterTerm, true);
|
|
12088
12088
|
}).
|
|
12089
12089
|
add(p.input, 'click.dropdown', () => {
|
|
12090
12090
|
if (p.disabled || p.readOnly) return;
|
|
@@ -12927,8 +12927,8 @@ class SelectBox {
|
|
|
12927
12927
|
p.input.value = value == null ? '' : String(value);
|
|
12928
12928
|
|
|
12929
12929
|
p.filterTerm = '';
|
|
12930
|
-
(_p$dropList0 = p.dropList) === null || _p$dropList0 === void 0 || _p$dropList0.setSearchTerm('', true);
|
|
12931
12930
|
this._trigger('search:term', p.filterTerm);
|
|
12931
|
+
(_p$dropList0 = p.dropList) === null || _p$dropList0 === void 0 || _p$dropList0.setSearchTerm('', true);
|
|
12932
12932
|
}
|
|
12933
12933
|
|
|
12934
12934
|
/**
|