// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; export interface ITreeTargetProps { operator: string; application: "messages" | "navigator" | "toolbox" | "events" | "content organizer" | "app"; environment: "Development" | "Test" | "Production"; applicationData?: ITargetingApplications; tenant: string; apiUrl: string; authToken: string; selectedValues: IItemData[]; showTarget: boolean; nodeComparison: "id" | "label"; highlightColor: string; label?: string; instance?: string; onLogicalOperatorChanged: (string: any) => void; onChange: (result: ITargetingFields[], applicationSettings: ITargetingApplications, groupResult: ITargetingGroup[], selectAll?: boolean, existingNodes?: ITargetingExistingStrucuture) => void; onShowTargetChanged: (boolean: any) => void; hideOptions?: boolean; showSelectAll?: boolean; selectAll?: boolean; isAdmin?: boolean; currenNodeStructure?: ITargetingExistingStrucuture; required?: boolean; toolTip?: string; checkBoxBorderColor?: string; disabled?: boolean; useForTargetingPreview?: boolean; } export interface ITreeTargetState { nodes: INode[]; operator: string; disableOperator: boolean; showTarget: boolean; applicationSettings: ITargetingApplications; selectAll?: boolean; targetTerms: ITargetingTerm[]; isLoading: boolean; } export class TreeTargeting extends React.Component { constructor(props: ITreeTargetProps); componentDidMount(): void; componentWillReceiveProps(props: ITreeTargetProps): void; render(): React.ReactElement; handleChange(isChecked: any, name: any): void; onUpdateNodeItem(node: INode): void; } export interface IItemData { label: string; id: string; field?: string; name?: string; } export interface INode { id: string; defaultLabel: string; labels: string[]; childNodes: INode[]; checked: boolean; expand?: boolean; columnName?: string; markedChild?: boolean; title?: string; } export interface ITargetingTerm { Id: string; DisplayName: string; Children: ITerm[]; InternalName: string; } export interface ITargetingFields { values?: any[]; field: string; title: string; } export interface ITargetingGroup { title: string; values: string; id: string; highlighted?: boolean; disabled?: boolean; } export interface ITargetingApplications { title?: string; applicationSettings?: string; defaultValues?: string; targetingTerms?: ITargetingTerm[]; targetingGroups: ITargetingGroup[]; application?: IApplication; } export interface ITargetingExistingStrucuture { nodes: INode[]; useDefaultStructure: boolean; } export interface ITerm { Id: string; DefaultLabel: string; Labels: string[]; ChildTerms: ITerm[]; Checked: boolean; Expand?: boolean; } export interface IApplication { name: string; id: string; default?: IDefaultValues; instances?: Instance[]; title?: string; } export interface IDefaultValues { isEnable: boolean; type: string; allValues: boolean; values: IStoredObject[]; } export interface IStoredObject { label: string; id: string; field?: string; value?: boolean; } export interface Instance { isEnable: boolean; useDefault: boolean; allValues: boolean; name: string; id: string; values: IStoredObject[]; type: string; }