@cqa-lib/cqa-ui 1.0.81 → 1.0.84
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/esm2020/lib/dynamic-select/dynamic-select-field.component.mjs +5 -1
- package/esm2020/lib/filters/dynamic-filter/dynamic-filter.component.mjs +6 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +10 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +9 -0
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/filters/dynamic-filter/dynamic-filter.component.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1539,6 +1539,10 @@ class DynamicSelectFieldComponent {
|
|
|
1539
1539
|
this.loadingMore = false;
|
|
1540
1540
|
}
|
|
1541
1541
|
this.lastOptionsLength = len;
|
|
1542
|
+
// If panel is open and hasMore is true, ensure the sentinel is being observed.
|
|
1543
|
+
if (this.selectRef?.panelOpen && this.config?.hasMore) {
|
|
1544
|
+
setTimeout(() => this.setupLoadMoreObserver(), 0);
|
|
1545
|
+
}
|
|
1542
1546
|
}
|
|
1543
1547
|
if ('form' in changes && !changes['form'].firstChange) {
|
|
1544
1548
|
this.applySelectedValueIfNeeded();
|
|
@@ -2104,6 +2108,11 @@ class DynamicFilterComponent {
|
|
|
2104
2108
|
showSelectAll: item.showSelectAll,
|
|
2105
2109
|
selectAllLabel: item.selectAllLabel,
|
|
2106
2110
|
selectedValue: item.selectedValue,
|
|
2111
|
+
serverSearch: item.serverSearch,
|
|
2112
|
+
hasMore: item.hasMore,
|
|
2113
|
+
isLoading: item.isLoading,
|
|
2114
|
+
onSearch: item.onSearch,
|
|
2115
|
+
onLoadMore: item.onLoadMore,
|
|
2107
2116
|
options: item.options || []
|
|
2108
2117
|
};
|
|
2109
2118
|
}
|