import * as i0 from '@angular/core'; import { AfterViewInit, OnInit, TemplateRef, ElementRef, EventEmitter } from '@angular/core'; import * as i1 from '@skyux/i18n'; import { TreeNode, TreeComponent } from '@blackbaud/angular-tree-component'; /** * Import into any component library module that needs to use resource strings. */ declare class SkyAngularTreeComponentResourcesModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @internal */ declare class SkyAngularTreeContextMenuComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Replaces the default tree node template with a SKY UX node as part of the `SkyAngularTreeModule` that * provides SKY UX components and styles to complement the `angular-tree-component` library and apply SKY UX * themes and functionality to hierarchical list views. You must wrap this component in an `ng-template` * tag with the template reference variable `#treeNodeFullTemplate`. For information about tree node templates, * see the [Angular tree component documentation](https://angular2-tree.readme.io/docs/templates). * To display context menus with actions for individual items in hierarchical lists, place * [dropdowns](https://developer.blackbaud.com/skyux/components/dropdown) inside the * Angular tree node component, which automatically handles styling and positioning for context menus. */ declare class SkyAngularTreeNodeComponent implements AfterViewInit, OnInit { #private; /** * The `index` property from the parent `ng-template`. * @required */ index: number | undefined; /** * The `node` property from the parent `ng-template`. For information about the `TreeNode` object, see the * [Angular tree component documentation](https://angular2-tree.readme.io/docs/api). * @required */ node: TreeNode | undefined; /** * The `templates` property from the parent `ng-template`. */ templates: any; /** * A help key that identifies the global help content to display. When specified, a [help inline](https://developer.blackbaud.com/skyux/components/help-inline) * button is placed beside the tree node label. Clicking the button invokes [global help](https://developer.blackbaud.com/skyux/learn/develop/global-help) * as configured by the application. */ helpKey: string | undefined; /** * The content of the help popover. When specified, a [help inline](https://developer.blackbaud.com/skyux/components/help-inline) * button is added to the tree node. The help inline button displays a [popover](https://developer.blackbaud.com/skyux/components/popover) * when clicked using the specified content and optional title. */ helpPopoverContent: string | TemplateRef | undefined; /** * The title of the help popover. This property only applies when `helpPopoverContent` is * also specified. */ helpPopoverTitle: string | undefined; set childFocusIndex(value: number | undefined); get childFocusIndex(): number | undefined; set focused(value: boolean); set isPartiallySelected(value: boolean); get isPartiallySelected(): boolean; set isSelected(value: boolean); get isSelected(): boolean; set tabIndex(value: number); get tabIndex(): number; nodeContentWrapperRef: ElementRef | undefined; protected set nodeName(value: string); protected get nodeName(): string; ngOnInit(): void; ngAfterViewInit(): void; /** * If single-select, set aria-selected=true for the selected node and undefined for all the others. * For multiple-select, set aria-selected to either true or false. * If node cannot be selected, aria-selected should be undefined (e.g. parent nodes in leaf-select-only mode). * @internal */ ariaSelected(): boolean | undefined; showCheckbox(): boolean; showSelectedClass(): boolean; showActiveClass(): boolean; showTogglePlaceholder(): boolean; onFocus(): void; onMouseDown(): void; onMouseUp(): void; onKeyDown(event: KeyboardEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @internal */ declare class SkyAngularTreeToolbarComponent { showSelectButtons: boolean | undefined; clearAllClick: EventEmitter; collapseAllClick: EventEmitter; expandAllClick: EventEmitter; selectAllClick: EventEmitter; onClearAllClick(): void; onCollapseAllClick(): void; onExpandAllClick(): void; onSelectAllClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Wraps the Angular `tree-root` component as part of the `SkyAngularTreeModule` that provides * SKY UX components and styles to complement the `angular-tree-component` library and apply SKY UX * themes and functionality to hierarchical list views. For information about the `tree-root` component, see the * [Angular tree component documentation](https://angular2-tree.readme.io/docs). */ declare class SkyAngularTreeWrapperComponent implements AfterViewInit { #private; /** * Whether to render the tree view in read-only mode. * This mode disables selected and active states on the tree view nodes. * @default false */ readOnly: boolean | undefined; /** * Whether to use leaf-only selection mode. For tree views with * [checkboxes](https://angular2-tree.readme.io/docs/tri-state-checkboxes), * this mode limits user selections to leaf nodes and prevents users from selecting parent nodes. * @default false */ selectLeafNodesOnly: boolean | undefined; /** * Whether to use single-select mode. For tree views with * [checkboxes](https://angular2-tree.readme.io/docs/tri-state-checkboxes), * this mode limits user selections to one node at a time. * @default false */ selectSingle: boolean | undefined; /** * Whether to display a toolbar with buttons to expand and collapse all nodes and buttons to select and clear all checkboxes. * The select and clear buttons only appear when you enable checkboxes. * To enable [checkboxes](https://angular2-tree.readme.io/docs/tri-state-checkboxes). * @default false */ showToolbar: boolean | undefined; selectableNodeIds: Record; treeComponent: TreeComponent | undefined; ngAfterViewInit(): void; multiselectable(): boolean; onClearAllClick(): void; onCollapseAllClick(): void; onExpandAllClick(): void; onSelectAllClick(): void; showSelectButtons(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SkyAngularTreeModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { SkyAngularTreeModule, SkyAngularTreeWrapperComponent as λ1, SkyAngularTreeNodeComponent as λ2 };