@kouji-ui/core 0.12.0 → 0.13.0
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.
|
@@ -26445,7 +26445,19 @@ class KjSelect {
|
|
|
26445
26445
|
* inside a palette, a menu inside a select) answer to that composite,
|
|
26446
26446
|
* not to this one.
|
|
26447
26447
|
*/
|
|
26448
|
-
|
|
26448
|
+
_viewItems = signal(null, /* @ts-ignore */
|
|
26449
|
+
...(ngDevMode ? [{ debugName: "_viewItems" }] : /* istanbul ignore next */ []));
|
|
26450
|
+
viewItems = computed(() => this._viewItems()?.() ?? null, /* @ts-ignore */
|
|
26451
|
+
...(ngDevMode ? [{ debugName: "viewItems" }] : /* istanbul ignore next */ []));
|
|
26452
|
+
/**
|
|
26453
|
+
* @internal Register rows a wrapper stamps in its OWN view
|
|
26454
|
+
* (`<kj-select [kjOptions]>`). A content query never crosses into a
|
|
26455
|
+
* component's view, so those rows join `items()` only through here.
|
|
26456
|
+
*/
|
|
26457
|
+
_setViewItems(items) {
|
|
26458
|
+
this._viewItems.set(items);
|
|
26459
|
+
}
|
|
26460
|
+
items = ownListItems(this, this.allItems, this.viewItems);
|
|
26449
26461
|
/**
|
|
26450
26462
|
* Implements `KjListNavigatorConfig.visibleItems`: the items a wrapper has
|
|
26451
26463
|
* not hidden through `KjListItem.setVisible` (a search filter, a folded
|