// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; export interface ITargetingApplicationSettingsProps { open?: boolean; close?: () => void; onChange?: (newState: any) => void; isApplication?: boolean; application?: IApplication; item?: any; style?: React.CSSProperties; highlightColor?: string; tenant?: string; token?: string; environment?: "Development" | "Test" | "Production"; applicationName?: "Messages" | "Navigator" | "Toolbox" | "Events" | "Content Organizer"; hideProfileInformation?: boolean; } export interface ITargetingApplicationSettingsState { radioValue: string; color: string; storedValues: Array<{ label: string; id: string; value?: boolean; }>; allValues: boolean; useDefaultValues: boolean; enableTargeting: boolean; treeValues: Array<{ label: string; id: string; field?: string; }>; isSaving: boolean; required: boolean; targetingExistingStructure: ITargetingExistingStrucuture; applicationSetting: ITargetingApplications; application: IApplication; selectedValues: any[]; groups: GroupListGroup[]; groupsList: ITargetingGroup[]; groupListItem: GroupListItem[]; groupedList: GroupList; selectedUserGroup: ITargetingGroup; } export class IATargetingApplication extends React.Component { constructor(props: ITargetingApplicationSettingsProps, state: ITargetingApplicationSettingsState); getValues(): void; transformDataToGroupList: (groups: ITargetingGroup[]) => void; getGroups(): void; render(): JSX.Element; } 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; } export interface ITargetingExistingStrucuture { nodes: INode[]; useDefaultStructure: boolean; } 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 GroupList { groups: GroupListGroup[]; columns: GroupListTitleColumn[]; hideFirstColumn?: boolean; nameFirstColumn?: string; } export interface GroupListTitleColumn { name: string; title: string; width?: string; onClick?: () => void; } export interface GroupListGroup { title: string; name: string; items: GroupListItem[]; expanded: boolean; hideTitle?: boolean; borderEveryItem?: boolean; clickableGroupTitle?: boolean; groupValues?: GroupListItem; toolTip?: any; } export interface GroupListItem { title: string; id: string; name: string; columns: GroupListColumn[]; } export interface GroupListColumn { type: GroupListColumnType; title: string; field: string; value: any; disabled?: boolean; toolTip?: any; } export declare const enum GroupListColumnType { Checkbox = 0, Switch = 1, Text = 2, Icon = 3, TextField = 4, Component = 5 } 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 ITerm { Id: string; DefaultLabel: string; Labels: string[]; ChildTerms: ITerm[]; Checked: boolean; Expand?: boolean; }