import { OrgChartNode, OrganizationChartNodeCollapseEvent, OrganizationChartNodeExpandEvent, OrganizationChartNodeKeys, OrganizationChartNodeSelectEvent, OrganizationChartNodeUnSelectEvent, OrganizationChartPassThrough, OrganizationChartSelectionMode } from "primeng/types/organizationchart"; import * as i0 from "@angular/core"; import { TemplateRef } from "@angular/core"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { BaseStyle } from "primeng/base"; export * from "primeng/types/organizationchart"; export declare class OrganizationChartStyle extends BaseStyle { name: string; style: string; classes: { root: string; subtree: ({ root }: { root: any; }) => (string | { 'p-organizationchart-subtree-root': any; })[]; tree: string; node: string; nodeContent: string; label: string; collapseButton: string; collapseButtonIcon: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * 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 subtree element */ subtree = "p-organizationchart-subtree", /** * Class name of the tree element */ tree = "p-organizationchart-tree", /** * Class name of the node element */ node = "p-organizationchart-node", /** * Class name of the node content element */ nodeContent = "p-organizationchart-node-content", /** * Class name of the node label element */ label = "p-organizationchart-node-label", /** * Class name of the collapse button element */ collapseButton = "p-organizationchart-node-toggle-button", /** * Class name of the collapse button icon element */ collapseButtonIcon = "p-organizationchart-node-toggle-button-icon" } /** * OrganizationChart visualizes hierarchical organization data. * @group Components */ export declare class OrganizationChart extends BaseComponent { componentName: string; /** * An array of nested OrgChartNodes. * @group Props */ value: import("@angular/core").InputSignal[] | undefined>; /** * Defines the selection mode. * @group Props */ selectionMode: import("@angular/core").InputSignal; /** * Whether the nodes can be expanded or toggled. * @defaultValue false * @group Props */ collapsible: import("@angular/core").InputSignalWithTransform; /** * Whether the nodes can be selected when a `selectionMode` is defined. Can be overridden per node with `OrgChartNode.selectable`. * @defaultValue true * @group Props */ selectable: import("@angular/core").InputSignalWithTransform; /** * Defines the gap between nodes. Can be a single number or a tuple [gapX, gapY]. * @group Props */ gap: import("@angular/core").InputSignal; /** * A map of node keys whose values are `true` for the selected nodes. Two-way bindable. * When omitted, it is seeded from each node's `selectedByDefault` flag. * @group Props */ selectionKeys: import("@angular/core").ModelSignal; /** * A map of node keys whose values are `true` for the collapsed nodes. Two-way bindable. * When omitted, it is seeded from each node's `collapsedByDefault` flag. * @group Props */ collapsedKeys: import("@angular/core").ModelSignal; /** * Callback to invoke when a node is selected. * @param {OrganizationChartNodeSelectEvent} event - custom node select event. * @group Emits */ onNodeSelect: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when a node is unselected. * @param {OrganizationChartNodeUnSelectEvent} event - custom node unselect event. * @group Emits */ onNodeUnselect: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when a node is expanded. * @param {OrganizationChartNodeExpandEvent} event - custom node expand event. * @group Emits */ onNodeExpand: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when a node is collapsed. * @param {OrganizationChartNodeCollapseEvent} event - custom node collapse event. * @group Emits */ onNodeCollapse: import("@angular/core").OutputEmitterRef; /** * Custom toggler icon template. * @param {Object} context - item data. * @group Templates */ togglerIconTemplate: import("@angular/core").Signal | undefined>; /** * Custom collapse button template. * @param {Object} context - collapse button data. * @group Templates */ collapseButtonTemplate: import("@angular/core").Signal | undefined>; /** * Custom checkbox icon template for `checkbox` selection mode. * @param {Object} context - checkbox icon data. * @group Templates */ checkboxIconTemplate: import("@angular/core").Signal | undefined>; /** * Custom node template. * @group Templates */ nodeTemplate: import("@angular/core").Signal | undefined>; _componentStyle: OrganizationChartStyle; bindDirectiveInstance: Bind; $pcOrganizationChart: any; /** * The active selection map, normalized so consumers never deal with `null`. */ _selectionKeys: import("@angular/core").Signal; /** * The active collapsed map, normalized so consumers never deal with `null`. */ _collapsedKeys: import("@angular/core").Signal; constructor(); root: import("@angular/core").Signal | null>; gapX: import("@angular/core").Signal; gapY: import("@angular/core").Signal; ngAfterViewChecked(): void; getTemplateForNode(_node: OrgChartNode): TemplateRef | null; isSelected(node: OrgChartNode): boolean; isPartialSelected(node: OrgChartNode): boolean; isCollapsed(node: OrgChartNode): boolean; getAriaExpanded(node: OrgChartNode): boolean | undefined; getAriaSelected(node: OrgChartNode): boolean | undefined; onNodeClick(event: Event, node: OrgChartNode): void; private onCheckboxNodeClick; private findNodeByKey; private getDescendantKeys; private getAncestorKeys; onNodeToggle(event: Event, node: OrgChartNode): void; private syncDefaultKeyState; private flattenNodes; private resolveCollapsedKeys; private resolveSelectionKeys; private isSameKeyState; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class OrganizationChartModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }