/*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { FlatTreeControl } from '@angular/cdk/tree'; import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { TreeBaseNode } from '../models/tree-view.model'; import { TreeViewDataSource } from '../data/tree-view-datasource'; import { NodeEntry } from '@alfresco/js-api'; import * as i0 from "@angular/core"; export declare class TreeViewComponent implements OnChanges { private readonly treeViewService; private readonly injector; /** Identifier of the node to display. */ nodeId: string; /** Emitted when a node in the tree view is clicked. */ nodeClicked: EventEmitter; /** Emitted when an invalid node id is given. */ error: EventEmitter; treeControl: FlatTreeControl; dataSource: TreeViewDataSource; constructor(); ngOnChanges(changes: SimpleChanges): void; onNodeClicked(node: NodeEntry): void; getLevel: (node: TreeBaseNode) => number; isExpandable: (node: TreeBaseNode) => boolean; hasChild: (_: number, nodeData: TreeBaseNode) => boolean; private loadTreeNode; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }