primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
90 lines (89 loc) • 2.6 kB
TypeScript
import { BaseStyle } from 'primeng/base';
import * as i0 from "@angular/core";
export declare class OrganizationChartStyle extends BaseStyle {
name: string;
theme: ({ dt }: {
dt: any;
}) => string;
classes: {
root: string;
table: string;
node: ({ instance }: {
instance: any;
}) => (string | {
'p-organizationchart-node-selectable': any;
'p-organizationchart-node-selected': any;
})[];
nodeToggleButton: string;
nodeToggleButtonIcon: string;
connectors: string;
connectorDown: string;
connectorLeft: ({ index }: {
index: any;
}) => (string | {
'p-organizationchart-connector-top': boolean;
})[];
connectorRight: ({ props, index }: {
props: any;
index: any;
}) => (string | {
'p-organizationchart-connector-top': boolean;
})[];
nodeChildren: string;
};
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationChartStyle, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<OrganizationChartStyle>;
}
/**
*
* OrganizationChart visualizes hierarchical organization data.
*
* [Live Demo](https://www.primeng.org/organizationchart)
*
* @module organizationchartstyle
*
*/
export declare enum OrganizationChartClasses {
/**
* Class name of the root element
*/
root = "p-organizationchart",
/**
* Class name of the table element
*/
table = "p-organizationchart-table",
/**
* Class name of the node element
*/
node = "p-organizationchart-node",
/**
* Class name of the node toggle button element
*/
nodeToggleButton = "p-organizationchart-node-toggle-button",
/**
* Class name of the node toggle button icon element
*/
nodeToggleButtonIcon = "p-organizationchart-node-toggle-button-icon",
/**
* Class name of the connectors element
*/
connectors = "p-organizationchart-connectors",
/**
* Class name of the connector down element
*/
connectorDown = "p-organizationchart-connector-down",
/**
* Class name of the connector left element
*/
connectorLeft = "p-organizationchart-connector-left",
/**
* Class name of the connector right element
*/
connectorRight = "p-organizationchart-connector-right",
/**
* Class name of the node children element
*/
nodeChildren = "p-organizationchart-node-children"
}
export interface OrganizationChartStyle extends BaseStyle {
}