@rxap/tree
Version:
This package provides a tree component and data source for Angular applications. It includes features such as searching, filtering, and displaying hierarchical data. The package also offers directives for customizing the content of tree nodes.
17 lines (16 loc) • 836 B
TypeScript
import { Injector, Provider } from '@angular/core';
import { FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
import * as i0 from "@angular/core";
export interface ISearchForm<Scope = unknown> {
search: string;
scope: Record<string, Scope[]>;
}
export declare class SearchForm<Scope = unknown> implements FormType<ISearchForm<Scope>> {
rxapFormGroup: RxapFormGroup<ISearchForm<Scope>>;
search: RxapFormControl<string>;
scope: RxapFormControl<ISearchForm<Scope>['scope']>;
static ɵfac: i0.ɵɵFactoryDeclaration<SearchForm<any>, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SearchForm<any>>;
}
export declare function FormFactory(injector: Injector, state: ISearchForm | null, existingFormDefinition: SearchForm | null): SearchForm;
export declare const SearchFormProviders: Provider[];