UNPKG

devexpress-reporting

Version:

DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.

32 lines (31 loc) 875 B
/** * DevExpress HTML/JS Reporting (viewer\documentMap\_documentMapTreeListController.js) * Version: 25.1.3 * Build date: Jun 26, 2025 * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ export class DocumentMapTreeListController { constructor() { this.clickHandler = (item) => void 0; } itemsFilter(item) { return true; } hasItems(item) { return item.isList === true; } canSelect(value) { return true; } select(value) { if (this.canSelect(value) && value !== this.selectedItem) { this.selectedItem && (this.selectedItem.isSelected = false); this.selectedItem = value; value.isSelected = true; } } showIconsForChildItems() { return false; } }