isobit-ui 0.0.354 → 0.0.357
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/index.js +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.357
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -3030,8 +3030,12 @@ var script$8 = {
|
|
|
3030
3030
|
key = _ref2[0];
|
|
3031
3031
|
|
|
3032
3032
|
if (key) me.data2 = dd.filter(function (item) {
|
|
3033
|
-
return item[key]
|
|
3033
|
+
return item[key].startsWith(p[key]);
|
|
3034
3034
|
});else me.data2 = dd;
|
|
3035
|
+
var displayField = me.displayField;
|
|
3036
|
+
me.data2 = me.data2.sort(function (a, b) {
|
|
3037
|
+
if (a[displayField] > b[displayField]) return 1;else if (a[displayField] < b[displayField]) return -1;else 0;
|
|
3038
|
+
});
|
|
3035
3039
|
});
|
|
3036
3040
|
}
|
|
3037
3041
|
}, function () {
|
|
@@ -5771,7 +5775,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5771
5775
|
|
|
5772
5776
|
var f = function f(e) {
|
|
5773
5777
|
if (callback) callback();
|
|
5774
|
-
me.
|
|
5778
|
+
me.open(e);
|
|
5775
5779
|
};
|
|
5776
5780
|
|
|
5777
5781
|
for (var i = 0; i < a.length; i++) {
|