import Component  from '../component.js'
import CoUxAtoolbarFilter from './ux-a-toolbar-filter.js';
import CoUxTreeNode from './ux-tree-node.js';


export default class CoUxTree extends Component {

    constructor(parent) {
      let selector = 'ux-tree';
      super(parent, selector);
      //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/src/lib/ux-components/ux-tree/ux-tree.component.ts
    }

    get coUxAtoolbarFilter() {
      return new CoUxAtoolbarFilter(this.currentPath);
    }

    get treeList() {
      let path = '/ul[@data-e2e="ux-tree"]'
      return this.currentPath + path;
    }

    get coUxTreeNode() {
      return new CoUxTreeNode(this.treeList);
    }

}


