// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; export interface IIATreeLinkProps { tenant: string; environment: "Development" | "Test" | "Production"; token: string; treeLink: ITreeLinkNode; instance: IInstance; isMobile: boolean; highlightColor: string; editHighlightColor: string; backgroundColor: string; lineColor: string; textColor: string; iconColor: string; borderRadius?: string; defaultIcon: string; showLine: boolean; isDragging: boolean; dropShadow: boolean; showIconOnItems: boolean; hasDarkBackground: boolean; inEditMode: boolean; showDropZoneForId: string; applicationSettings?: ITargetingApplications; expandAsDefault?: boolean; amountOfFirstLevelItemsToShow?: number; styles?: React.CSSProperties; disableDrop?: boolean; returnPageUrl?: boolean; openAllLinksExternally?: boolean; fontSlots?: IFontSlots; removeTree?: () => void; rerender: () => void; save: (treeLink: ITreeLinkNode) => void; onClick: (node: ITreeLinkNode) => void; onDragEnter: (node: ITreeLinkNode) => void; onDrop: (node: ITreeLinkNode) => void; onDrag: (node: ITreeLinkNode) => void; showPage?: (page: string) => void; } export class IATreeLink extends React.Component { constructor(props: IIATreeLinkProps); componentWillReceiveProps(props: IIATreeLinkProps): void; render(): JSX.Element; } export interface IInstance { domain?: any; id?: any; instanceName?: string; title?: string; translationEnabled?: boolean; hasUniquePermissions?: UniquePermissionsResult; hasSpecialPermissions?: boolean; settings?: IInstanceSettings; pushEnabled?: boolean; modified?: Date; approvalEnabled?: boolean; approvers?: IUser[]; siteCollection?: string; checked?: boolean; } export interface ITreeLinkNode { type?: "SPPage" | "Link" | "Text"; config: ITreeLinkNodeConfig; targeting: ITargeting; children?: ITreeLinkNode[]; targetingExistingStructure?: ITargetingExistingStrucuture; } export interface ITargetingApplications { title?: string; applicationSettings?: string; defaultValues?: string; targetingTerms?: ITargetingTerm[]; targetingGroups: ITargetingGroup[]; application?: IApplication; } export interface IFontSlots { title: { fontFamily: string; }; heading: { fontFamily: string; }; body: { fontFamily: string; }; label: { fontFamily: string; }; } export declare enum UniquePermissionsResult { No = 0, Yes = 1, NoAccess = 2, Error = 3 } export interface IInstanceSettings { design?: IAppDesign; menu?: IAppPage[]; push?: IAppPush; useAppSettings?: boolean; pushByDefault?: boolean; plingByDefault?: boolean; enablePushFromPling?: boolean; targetingRequired?: boolean; categoriesRequired?: boolean; targetingRequiredToolTip?: string; categoriesRequiredToolTip?: string; notificationRequiredToolTip?: string; shouldByDefaultExpireAfterAmountOfDays?: number; enablePrinting?: boolean; enableReadUnreadMessage?: boolean; highlightUnread?: string; openMessageLink?: string; enableTeaser?: boolean; enablePinMessages?: boolean; pinSortOrder?: number[]; publishToFeedByDefault?: boolean; disableAddPost?: boolean; disableAddNewsLink?: boolean; hideTagsInPanel?: boolean; notificationRequiredUserRole?: "Administrator" | "Members"; shareSettingRequiredUserRole?: "Administrator" | "Members"; reactionOptions?: string[]; showEmojiPickerExpandButton?: boolean; } export interface IUser { displayName?: string; userPrincipalName?: string; jobTitle?: string; image?: string; id?: string; userName?: string; title?: string; name?: string; email?: string; photo?: string; loginName?: string; } export interface ITargeting { enabled: boolean; custom1?: Array<{ label: string; id: string; }>; custom2?: Array<{ label: string; id: string; }>; department?: Array<{ label: string; id: string; }>; jobTitle?: Array<{ label: string; id: string; }>; location?: Array<{ label: string; id: string; }>; targetingFields?: Array<{ field: string; values: Array<{ label: string; id: string; }>; }>; groupData?: string; operator?: string; targetingGroups?: any[]; } export interface ITargetingExistingStrucuture { nodes: INode[]; useDefaultStructure: boolean; } export interface ITreeLinkNodeConfig { id?: string; nodeLevel?: number; title?: string; icon?: string; link?: string; description?: string; image?: string; cropSettings?: { x: number; y: number; width: number; height: number; }; openNewTab?: boolean; parent?: string; isCollapsed?: boolean; isContextMenuExpanded?: boolean; } export interface ITargetingTerm { Id: string; DisplayName: string; Children: ITerm[]; InternalName: string; } export interface ITargetingGroup { title: string; values: string; id: string; highlighted?: boolean; disabled?: 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; } export interface IAppPage { title?: string; icon?: string; components?: IAppComponent[]; loaded?: boolean; selectedValues?: IItemData[]; targeting?: ITargeting; targetingExistingStructure?: ITargetingExistingStrucuture; } export interface IAppDesign { navigationBarColor: string; navigationBarContentColor: string; logo?: string; icon?: string; tabBarColor: string; tabBarContentColor: string; tabBarHighlightColor: string; menuStyle: "Burger" | "TabBar"; menuColor: string; menuContentColor: string; menuHighlightColor: string; contentAreaColor: string; contentAreaContentColor: string; contentAreaHighlightColor: string; } export interface IAppPush { instances: IInstance[]; } export interface INode { id: string; defaultLabel: string; labels: string[]; childNodes: INode[]; checked: boolean; expand?: boolean; columnName?: string; markedChild?: boolean; title?: string; } export interface ITerm { Id: string; DefaultLabel: string; Labels: string[]; ChildTerms: ITerm[]; Checked: boolean; Expand?: boolean; } export interface IAppComponent { type?: string; title?: string; instance?: IInstance; url?: string; display?: IMessageDisplayMode; categories?: ICategory[]; showTitle?: boolean; numberOfCards?: number; numberOfDays?: number; backgroundColor?: string; borderColor?: string; borderRadius?: number; textColor?: string; higlightColor?: string; dateBadgeBackgroundColor?: string; dateBadgeTextColor?: string; showDropShadow?: boolean; showFilter?: boolean; showSearch?: boolean; showImage?: boolean; showCardTitle?: boolean; showTeaser?: boolean; showContact?: boolean; showStartDate?: boolean; showLocation?: boolean; showPeriode?: IEventPeriod; showLikes?: boolean; showComments?: boolean; showViews?: boolean; showFunctionButton?: boolean; showCategories?: boolean; filterByCategory?: boolean; useTargeting?: boolean; siteCollection?: string; showAdd?: boolean; birthdayIcon?: string; birthdayType?: string; birthdayProperties?: string[]; showNavigator?: boolean; loadLinksExternally?: boolean; yearsAnniversary?: {}; contentOrganizers?: string[]; selectall?: boolean; onlyShowIfThereIsContent?: boolean; placeholderText?: string; searchResultId?: string; showPaging?: boolean; showPinnedMessages?: boolean; onlyShowPinnedMessages?: boolean; aiContentLanguage?: string; aiSites?: any[]; descriptionHeadline?: string; descriptionText?: string; descriptionIcon?: string; autoRotate?: boolean; noContentText?: string; } export interface IItemData { label: string; id: string; field?: string; name?: string; } export interface ICategory { id: string; name: string; } export declare type IEventPeriod = "upcomming" | "day" | "week" | "month" | "fullView" | "all"; export declare type IMessageDisplayMode = "Card view" | "List view" | "CompactListView" | "CarouselView" | "SplitCarouselView" | "RotatorView" | "TilesView" | "fullView" | "Calendar";