2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Tree is used to display hierarchical data.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/tree/)
|
|
|
|
*
|
|
|
|
* @module treestyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum TreeClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-tree',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the mask element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
mask = 'p-tree-mask',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the loading icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
loadingIcon = 'p-tree-loading-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the filter input element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcFilterInput = 'p-tree-filter-input',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the wrapper element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
wrapper = 'p-tree-root',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root children element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rootChildren = 'p-tree-root-children',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
node = 'p-tree-node',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeContent = 'p-tree-node-content',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node toggle button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeToggleButton = 'p-tree-node-toggle-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node toggle icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeToggleIcon = 'p-tree-node-toggle-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node checkbox element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeCheckbox = 'p-tree-node-checkbox',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeIcon = 'p-tree-node-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node label element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeLabel = 'p-tree-node-label',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node children element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeChildren = 'p-tree-node-children'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface TreeStyle extends BaseStyle {}
|