@apipass/inputs 0.2.3-alpha.0 → 0.2.4
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/bundles/apipass-inputs.umd.js +3 -1
- package/bundles/apipass-inputs.umd.js.map +1 -1
- package/bundles/apipass-inputs.umd.min.js +1 -1
- package/bundles/apipass-inputs.umd.min.js.map +1 -1
- package/esm2015/select-box/select-box.component.js +3 -2
- package/fesm2015/apipass-inputs.js +2 -1
- package/fesm2015/apipass-inputs.js.map +1 -1
- package/package.json +3 -3
|
@@ -1233,8 +1233,10 @@
|
|
|
1233
1233
|
};
|
|
1234
1234
|
// @ts-ignore
|
|
1235
1235
|
SelectBoxComponent.prototype.onScroll = function (_c) {
|
|
1236
|
+
var _this = this;
|
|
1236
1237
|
var end = _c.end;
|
|
1237
|
-
|
|
1238
|
+
var data = this.lastSearchTerm ? this.data.filter(function (item) { var _a; return (_a = item[_this.bindValue]) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(_this.lastSearchTerm.toLowerCase()); }) : this.data;
|
|
1239
|
+
if (this.loading || data.length <= this.visibleItens.length) {
|
|
1238
1240
|
return;
|
|
1239
1241
|
}
|
|
1240
1242
|
if (end + 5 >= this.visibleItens.length) {
|