Auto-load data on init
Branch (category) entity configuration - REQUIRED
Show clear button
Initial expansion for the inner tree when it first loads (see TreeComponent.DefaultExpansion).
Disabled state
Dropdown configuration
Enable search filtering
Has data loaded
Is tree loading
Is dropdown open
OptionalLeafOptional leaf entity configuration
Placeholder text when nothing selected
Dropdown position
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
Search configuration
Search text
What types can be selected: 'branch', 'leaf', or 'both'
Selected nodes (for display)
Emitted with full node(s) when selection changes
Selection mode: 'single' or 'multiple'
Show node icons in display
Show loading in trigger
Style configuration
Emitted when value changes
StaticɵdirStaticɵfacReturns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
The selected value as a CompositeKey (single select) or array of CompositeKeys (multi-select). CompositeKey supports both simple single-field primary keys and composite primary keys.
Clear selection
Optionalevent: MouseEventClose the dropdown
Get display color for single selection
Get display icon for single selection
Get display text for selected value(s)
Get dropdown panel styles
Get selected IDs as a string array for passing to tree component. Extracts the first key value from each CompositeKey (typically the ID field).
Get trigger classes
Check if has selection
A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Handle clear search
Handle search input
Handle search keydown — provides full keyboard navigation while search input retains focus. The tree's own keyboard handler doesn't fire because the search input has DOM focus, so all navigation is handled here by manipulating the tree's FocusedNode visual state.
Handle trigger click
Handle trigger keydown
Open the dropdown
Refresh tree data
Toggle dropdown
Returns a promise that resolves when the tree data has finished loading. If data is already loaded, the promise resolves immediately.
Use this method when you need to perform operations that depend on the tree being fully loaded, such as programmatically selecting nodes or accessing the tree structure.
Note: For setting initial values, you typically don't need this method -
just set the Value input and the component will automatically display
the correct text by looking up the record name via Metadata.
A promise that resolves when the tree data is loaded
Base class for all Angular components in the MemberJunction system.