Skip to content

FilterNodeComponent

Defined in: filtering/tree/filter-node.component.ts:51

new FilterNodeComponent(): FilterNodeComponent

FilterNodeComponent

allDropListIds: InputSignal<string[]>

Defined in: filtering/tree/filter-node.component.ts:59


canClearAll: InputSignal<boolean>

Defined in: filtering/tree/filter-node.component.ts:73

Whether clear-all is available — only used by the root branch header.


canRedo: InputSignal<boolean>

Defined in: filtering/tree/filter-node.component.ts:71

Whether redo is available — only used by the root branch header.


canUndo: InputSignal<boolean>

Defined in: filtering/tree/filter-node.component.ts:69

Whether undo is available — only used by the root branch header.


clearAllClick: OutputEmitterRef<void>

Defined in: filtering/tree/filter-node.component.ts:85

Emitted when the root clear-all button is clicked.


conjunctionAriaLabel: Signal<string>

Defined in: filtering/tree/filter-node.component.ts:116


conjunctionLabel: Signal<string>

Defined in: filtering/tree/filter-node.component.ts:110


conjunctionToggle: OutputEmitterRef<string>

Defined in: filtering/tree/filter-node.component.ts:77


readonly dragState: FilterTreeDragStateService

Defined in: filtering/tree/filter-node.component.ts:91


dropListId: Signal<string>

Defined in: filtering/tree/filter-node.component.ts:120


isActiveBranch: Signal<boolean>

Defined in: filtering/tree/filter-node.component.ts:130

True only when THIS branch is the active drop target. Computed from the service’s single activeDropZone signal.


isBranch: Signal<boolean>

Defined in: filtering/tree/filter-node.component.ts:98


isDragging: WritableSignal<boolean>

Defined in: filtering/tree/filter-node.component.ts:121


isDropTarget: InputSignal<boolean>

Defined in: filtering/tree/filter-node.component.ts:66

True when this node is the active item-center drop target in its parent branch. Used to highlight the chip or branch header. Passed in by the parent’s

loop via isItemActive(i).


isLeaf: Signal<boolean>

Defined in: filtering/tree/filter-node.component.ts:97


isRoot: InputSignal<boolean>

Defined in: filtering/tree/filter-node.component.ts:57


isSelfDragging: Signal<boolean>

Defined in: filtering/tree/filter-node.component.ts:124

True when THIS node is the one currently being dragged.


leafLabel: Signal<string>

Defined in: filtering/tree/filter-node.component.ts:100


node: InputSignal<FilterNode>

Defined in: filtering/tree/filter-node.component.ts:56


nodeDelete: OutputEmitterRef<string>

Defined in: filtering/tree/filter-node.component.ts:79

Emitted when the user clicks the delete button on a node.


nodeDrop: OutputEmitterRef<{ dragId: string; position: DropPosition; }>

Defined in: filtering/tree/filter-node.component.ts:76

Final resolved drop — emitted after the root resolves the position.


redoClick: OutputEmitterRef<void>

Defined in: filtering/tree/filter-node.component.ts:83

Emitted when the root redo button is clicked.


root: InputSignal<FilterNode>

Defined in: filtering/tree/filter-node.component.ts:58


undoClick: OutputEmitterRef<void>

Defined in: filtering/tree/filter-node.component.ts:81

Emitted when the root undo button is clicked.

isGapActive(i): boolean

Defined in: filtering/tree/filter-node.component.ts:140

Is the gap at index i (before child i) currently active?

number

boolean


isItemActive(i): boolean

Defined in: filtering/tree/filter-node.component.ts:154

Is the item-center merge zone for child[i] currently active?

number

boolean


isTrailingGapActive(): boolean

Defined in: filtering/tree/filter-node.component.ts:147

Is the trailing gap (after the last child) currently active?

boolean


onChildConjunctionToggle(branchId): void

Defined in: filtering/tree/filter-node.component.ts:213

unknown

void


onChildDelete(nodeId): void

Defined in: filtering/tree/filter-node.component.ts:221

unknown

void


onChildDrop(event): void

Defined in: filtering/tree/filter-node.component.ts:209

unknown

void


onDeleteNode(): void

Defined in: filtering/tree/filter-node.component.ts:217

void


onDragEnded(): void

Defined in: filtering/tree/filter-node.component.ts:168

void


onDragMoved(event): void

Defined in: filtering/tree/filter-node.component.ts:173

Forward pointer position to the service on every drag-move tick.

CdkDragMove

void


onDragStarted(): void

Defined in: filtering/tree/filter-node.component.ts:164

void


onDrop(event): void

Defined in: filtering/tree/filter-node.component.ts:189

CDK fires this when an item is dropped into THIS branch’s drop list.

Resolves the drop position by running findDeepestBranchZone fresh at the drop coordinates — the same geometry used for hover highlighting — then emits nodeDrop with the fully resolved position. The root FilterTreeComponent applies the mutation.

CdkDragDrop<FilterNode[]>

void


onToggleConjunction(): void

Defined in: filtering/tree/filter-node.component.ts:205

void