Lines Matching refs:item
93 @Input() item?: UiTreeNode;
102 @Input() showNode = (item: UiTreeNode) => true;
103 @Input() isLeaf = (item?: UiTreeNode) => {
104 return !item || !item.children || item.children.length === 0;
146 this.item instanceof HierarchyTreeNode &&
147 UiTreeUtils.isHighlighted(this.item, this.highlightedItems)
149 this.selectedTreeChange.emit(this.item);
166 if (!this.isLeaf(this.item) && isDoubleClick) {
184 if (this.item?.stableId) {
185 this.highlightedItemChange.emit(`${this.item.stableId}`);
190 if (this.item instanceof HierarchyTreeNode) {
191 return this.pinnedItems?.map((item) => `${item.stableId}`).includes(`${this.item.stableId}`);
209 return !this.isLeaf(this.item) || this.itemsClickable;
221 if (this.isAlwaysCollapsed || this.isLeaf(this.item)) {
227 this.store.get(`collapsedState.item.${this.dependencies}.${this.item?.stableId}`) ===
235 return this.item?.children ?? [];
239 if (!this.item) {
243 UiTreeUtils.isParentNode(this.item.kind ?? '') && this.isFlattened;
244 return (!this.isFlattened || isParentEntryInFlatView) && !this.isLeaf(this.item);
250 `collapsedState.item.${this.dependencies}.${this.item?.stableId}`,