2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* OrganizationChart visualizes hierarchical organization data.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://primevue.org/organizationchart)
|
|
|
|
*
|
|
|
|
* @module organizationchartstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum OrganizationChartClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-organizationchart',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the table element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
table = 'p-organizationchart-table',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
node = 'p-organizationchart-node',
|
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-organizationchart-node-toggle-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the node toggle button icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nodeToggleButtonIcon = 'p-organizationchart-node-toggle-button-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the connectors element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
connectors = 'p-organizationchart-connectors',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the connector down element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
connectorDown = 'p-organizationchart-connector-down',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the connector left element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
connectorLeft = 'p-organizationchart-connector-left',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the connector right element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
connectorRight = 'p-organizationchart-connector-right',
|
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-organizationchart-node-children'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface OrganizationChartStyle extends BaseStyle {}
|