FilterNodeComponent
Defined in: filtering/tree/filter-node.component.ts:54
Recursive component for rendering and manipulating a single filter-tree node.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FilterNodeComponent():
FilterNodeComponent
Returns
Section titled “Returns”FilterNodeComponent
Properties
Section titled “Properties”allDropListIds
Section titled “allDropListIds”allDropListIds:
InputSignal<string[]>
Defined in: filtering/tree/filter-node.component.ts:62
canClearAll
Section titled “canClearAll”canClearAll:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:76
Whether clear-all is available — only used by the root branch header.
canRedo
Section titled “canRedo”canRedo:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:74
Whether redo is available — only used by the root branch header.
canUndo
Section titled “canUndo”canUndo:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:72
Whether undo is available — only used by the root branch header.
clearAllClick
Section titled “clearAllClick”clearAllClick:
OutputEmitterRef<void>
Defined in: filtering/tree/filter-node.component.ts:88
Emitted when the root clear-all button is clicked.
conjunctionAriaLabel
Section titled “conjunctionAriaLabel”conjunctionAriaLabel:
Signal<string>
Defined in: filtering/tree/filter-node.component.ts:119
conjunctionLabel
Section titled “conjunctionLabel”conjunctionLabel:
Signal<string>
Defined in: filtering/tree/filter-node.component.ts:113
conjunctionToggle
Section titled “conjunctionToggle”conjunctionToggle:
OutputEmitterRef<string>
Defined in: filtering/tree/filter-node.component.ts:80
dragState
Section titled “dragState”
readonlydragState:FilterTreeDragStateService
Defined in: filtering/tree/filter-node.component.ts:94
dropListId
Section titled “dropListId”dropListId:
Signal<string>
Defined in: filtering/tree/filter-node.component.ts:123
isActiveBranch
Section titled “isActiveBranch”isActiveBranch:
Signal<boolean>
Defined in: filtering/tree/filter-node.component.ts:133
True only when THIS branch is the active drop target. Computed from the service’s single activeDropZone signal.
isBranch
Section titled “isBranch”isBranch:
Signal<boolean>
Defined in: filtering/tree/filter-node.component.ts:101
isDragging
Section titled “isDragging”isDragging:
WritableSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:124
isDropTarget
Section titled “isDropTarget”isDropTarget:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:69
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
Section titled “isLeaf”isLeaf:
Signal<boolean>
Defined in: filtering/tree/filter-node.component.ts:100
isRoot
Section titled “isRoot”isRoot:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:60
isSelfDragging
Section titled “isSelfDragging”isSelfDragging:
Signal<boolean>
Defined in: filtering/tree/filter-node.component.ts:127
True when THIS node is the one currently being dragged.
leafLabel
Section titled “leafLabel”leafLabel:
Signal<string>
Defined in: filtering/tree/filter-node.component.ts:103
node:
InputSignal<FilterNode>
Defined in: filtering/tree/filter-node.component.ts:59
nodeDelete
Section titled “nodeDelete”nodeDelete:
OutputEmitterRef<string>
Defined in: filtering/tree/filter-node.component.ts:82
Emitted when the user clicks the delete button on a node.
nodeDrop
Section titled “nodeDrop”nodeDrop:
OutputEmitterRef<{dragId:string;position:DropPosition; }>
Defined in: filtering/tree/filter-node.component.ts:79
Final resolved drop — emitted after the root resolves the position.
redoClick
Section titled “redoClick”redoClick:
OutputEmitterRef<void>
Defined in: filtering/tree/filter-node.component.ts:86
Emitted when the root redo button is clicked.
root:
InputSignal<FilterNode>
Defined in: filtering/tree/filter-node.component.ts:61
undoClick
Section titled “undoClick”undoClick:
OutputEmitterRef<void>
Defined in: filtering/tree/filter-node.component.ts:84
Emitted when the root undo button is clicked.
Methods
Section titled “Methods”isGapActive()
Section titled “isGapActive()”isGapActive(
i):boolean
Defined in: filtering/tree/filter-node.component.ts:143
Is the gap at index i (before child i) currently active?
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”boolean
isItemActive()
Section titled “isItemActive()”isItemActive(
i):boolean
Defined in: filtering/tree/filter-node.component.ts:157
Is the item-center merge zone for child[i] currently active?
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”boolean
isTrailingGapActive()
Section titled “isTrailingGapActive()”isTrailingGapActive():
boolean
Defined in: filtering/tree/filter-node.component.ts:150
Is the trailing gap (after the last child) currently active?
Returns
Section titled “Returns”boolean
onChildConjunctionToggle()
Section titled “onChildConjunctionToggle()”onChildConjunctionToggle(
branchId):void
Defined in: filtering/tree/filter-node.component.ts:216
Parameters
Section titled “Parameters”branchId
Section titled “branchId”unknown
Returns
Section titled “Returns”void
onChildDelete()
Section titled “onChildDelete()”onChildDelete(
nodeId):void
Defined in: filtering/tree/filter-node.component.ts:224
Parameters
Section titled “Parameters”nodeId
Section titled “nodeId”unknown
Returns
Section titled “Returns”void
onChildDrop()
Section titled “onChildDrop()”onChildDrop(
event):void
Defined in: filtering/tree/filter-node.component.ts:212
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”void
onDeleteNode()
Section titled “onDeleteNode()”onDeleteNode():
void
Defined in: filtering/tree/filter-node.component.ts:220
Returns
Section titled “Returns”void
onDragEnded()
Section titled “onDragEnded()”onDragEnded():
void
Defined in: filtering/tree/filter-node.component.ts:171
Returns
Section titled “Returns”void
onDragMoved()
Section titled “onDragMoved()”onDragMoved(
event):void
Defined in: filtering/tree/filter-node.component.ts:176
Forward pointer position to the service on every drag-move tick.
Parameters
Section titled “Parameters”CdkDragMove
Returns
Section titled “Returns”void
onDragStarted()
Section titled “onDragStarted()”onDragStarted():
void
Defined in: filtering/tree/filter-node.component.ts:167
Returns
Section titled “Returns”void
onDrop()
Section titled “onDrop()”onDrop(
event):void
Defined in: filtering/tree/filter-node.component.ts:192
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.
Parameters
Section titled “Parameters”CdkDragDrop<FilterNode[]>
Returns
Section titled “Returns”void
onToggleConjunction()
Section titled “onToggleConjunction()”onToggleConjunction():
void
Defined in: filtering/tree/filter-node.component.ts:208
Returns
Section titled “Returns”void