// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; export interface IProps { token: string; tenant: string; environment: IEnvironment; isMobile: boolean; instance: IInstance; highlightColor: string; component: "Messages" | "Event" | "ContentCreator" | "ContentOrganizer"; isAdmin?: boolean; isPreview?: boolean; hideFullViewCoverOverlay?: boolean; hideFullViewDate?: boolean; id: string; imageUrl?: string; imageCropSettings?: any; imageModified?: string; videoUrl?: string; title: string; teaser: string; composerComponents: IComposerComponent[]; categories?: Array<{ id: string; name: string; }>; startDate: Date; endDate?: Date; allDayEvent?: boolean; location?: string; modified: Date; author?: IUser; contacts: IUser[]; editor?: IUser; attachments?: IAFileUploaderFile[]; likesEnabled?: boolean; commentsEnabled?: boolean; likesOnCommentsEnabled?: boolean; translateToLanguage?: { itemId: string; language: string; }; doneTranslating?: () => void; onlyShowCoverImageInRollup?: boolean; linkEditorImageTarget?: string; isFullPage?: boolean; imageViewerImagesToShow: (images: IComposerImage[]) => void; imageViewerIndexToShow: (index: number) => void; iaMessageBgImagesFromBlob?: IMessageIAMessageBgImagesFromBlob; onOpenIAMessage?: (instance: string, messageId: string) => void; newsLink?: string; openNewsLinkInNewTab?: boolean; padding: string; fontSlots?: IFontSlots; showAllButtonLink?: string; } export interface IState { composerComponents: IComposerComponent[]; originalComposerComponents: { [id: string]: IComposerComponent[]; }; titlesTranslated: { [id: string]: string; }; lastTranslatedTitle: string; teasersTranslated: { [id: string]: string; }; gifImageError: boolean; } export class IAViewer extends React.Component { constructor(props: IProps); componentWillReceiveProps(props: IProps): void; render(): JSX.Element; } 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 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 IAFileUploaderFile { name?: string; url?: string; extension?: string; status?: "success" | "failed" | "uploading" | "waiting" | "duplicate" | "too big"; fileRef?: File; altText?: string; } export interface IAFileUploaderProps { token: string; uploadUrl: string; tenant: string; idPicker: string; linkColor?: string; filesAttached: IAFileUploaderFile[]; style?: any; onChange: (files: IAFileUploaderFile[]) => void; } export interface IAFileUploaderState { uploadedFiles: IAFileUploaderFile[]; dragging: boolean; } export declare class IAFileUploader extends React.Component { constructor(props: IAFileUploaderProps); componentDidMount(): void; render(): JSX.Element; } export interface IComposerComponent { id?: string; type?: string; image?: IComposerImage; gallery?: IComposerGallery; video?: IComposerVideo; audio?: IComposerAudio; text?: string; table?: string; typeToEdit?: string; users?: IUser[]; categories?: IMessageCategory[]; style?: any; files?: IAFileUploaderFile[]; } export interface IComposerImage { name?: string; url?: string; urlLink?: string; openInNewTab?: string; extension?: string; status?: "success" | "failed" | "uploading" | "waiting" | "duplicate" | "too big"; fileRef?: File; imageOrientation?: string; width?: number; height?: number; cropSettings?: ICropSetting; modified?: string; source?: "Upload" | "Link" | "OrganizationalAssets"; altText?: string; organizationalAsset?: boolean; organizationalAssetPath?: string; onlyShowCoverImageInRollup?: boolean; borderRadius?: number; imageBlobUrl?: string; } export interface IMessage { id?: number; title?: string; teaser?: string; content?: string; image?: string; startDate?: any; allDayEvent?: boolean; endDate?: any; author?: IUser; editor?: IUser; likes?: ILike[]; commentCount?: number; uniqueViews?: number; iaTargetingOperator?: string; iaTargetingOperatorADGroups?: string; iaTargetingTargetContent?: boolean; iaTargetingDepartment?: ITargetingItemData[]; iaTargetingJobTitle?: ITargetingItemData[]; iaTargetingLocation?: ITargetingItemData[]; iaTargetingCustom1?: ITargetingItemData[]; iaTargetingCustom2?: ITargetingItemData[]; targetingFields?: ITargetingFields[]; categories?: IMessageCategory[]; location?: string; iaTargetingGroupData?: string; targetingExistingStructure?: ITargetingExistingStrucuture; iaConfiguration?: IMessageIAConfiguration; modified?: Date; created?: Date; contacts?: any[]; approvers?: IApprover[]; push?: boolean; sendUsingBot?: boolean; videoUrl?: string; videoEmbedCode?: string; isDraft?: boolean; approvalStatus?: "Pending" | "Approved" | "Rejected"; isRead?: boolean; feeds?: string; isPinned?: boolean; pinnedEndDate?: Date; iaMessageBgImagesFromBlob?: IMessageIAMessageBgImagesFromBlob; external?: boolean; recurrence?: boolean; recurrenceData?: IRecurrenceData; recurrenceEndDate?: Date; } export interface IMessageIAConfiguration { cropSettings?: ICropSetting; contentImgCrop?: {}; headerImageAltText?: string; headerVideoAltText?: string; contentImgAlt?: { [imgUrl: string]: string; }; disableLikes?: boolean; disableComments?: boolean; attachments?: IAFileUploaderFile[]; composerComponents?: IComposerComponent[]; onlyShowCoverImageInRollup?: boolean; replay?: IComposerReplaySettings; editor?: "froala" | undefined; isNewsLink?: boolean; newsLink?: string; openNewsLinkInNewTab?: boolean; templateName?: string; } export interface IMessageIAMessageBgImagesFromBlob { StandardLarge?: string; StandardSmall?: string; Original?: string; } export interface IMessageCategory { id: string; name: string; bgColor?: string; textColor?: string; } export declare type IEnvironment = "Development" | "Test" | "Production"; 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 IComposerAudio { name?: string; url?: string; extension?: string; altText?: string; source?: "Upload" | "Link" | "OrganizationalAssets"; organizationalAsset?: boolean; organizationalAssetPath?: string; status?: "success" | "failed" | "uploading" | "waiting" | "duplicate" | "too big"; fileRef?: File; } export interface IComposerGallery { images?: IComposerImage[]; source?: "OrganizationalAssets" | "Upload"; type?: "Tiles" | "Collage" | "Rotator"; organizationalAsset?: boolean; organizationalAssetPath?: string; organizationalAssetInfo?: IOrgAssetsInfo; maxImages?: number; borderRadius?: number; sortOrder?: "Name asc" | "Name desc" | "TimeLastModified asc" | "TimeLastModified desc"; } export interface IComposerVideo { name?: string; url?: string; embedCode?: string; posterImage?: IComposerImage; extension?: string; altText?: string; source?: "Upload" | "Link" | "OrganizationalAssets" | "Embed" | "Microsoft"; organizationalAsset?: boolean; organizationalAssetPath?: string; status?: "success" | "failed" | "uploading" | "waiting" | "duplicate" | "too big"; fileRef?: File; } export interface ICropSetting { x: number; y: number; width: number; height: number; } export interface ITargetingItemData { Label: string; TermGuid: any; id?: any; Name?: string; } export interface ILike { id?: any; user?: IUser; type?: string; } export interface ITargetingFields { values?: any[]; field: string; title: string; } export interface ITargetingExistingStrucuture { nodes: INode[]; useDefaultStructure: boolean; } export interface IApprover extends IUser { disabled: boolean; } export interface IComposerReplaySettings { boxStyle?: string; content?: string; image?: IComposerImage; video?: IComposerVideo; id?: string; type?: string; typeToEdit?: string; } export interface IRecurrenceData { recurrenceType: RecurrenceDataType; interval: number; repeatForever: boolean; daysOfWeek?: RecurrenceDataDayOfWeek[]; monthlyPattern?: MonthlyPatternType; weekNumberInMonth?: number; dayOfWeekInMonth?: RecurrenceDataDayOfWeek; dayOfMonth?: number; monthOfYear?: number; occurrenceCount?: number; endDate?: Date; exceptions?: Date[]; } export declare type RecurrenceDataType = "daily" | "weekly" | "monthly" | "yearly"; export declare type RecurrenceDataDayOfWeek = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday"; export declare type MonthlyPatternType = "dayOfMonth" | "nthWeekday" | "lastWeekday"; 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 IOrgAssetsInfo { id?: string; title?: string; site?: string; settings?: IOrgAssetsSettings; guid?: string; } export interface INode { id: string; defaultLabel: string; labels: string[]; childNodes: INode[]; checked: boolean; expand?: boolean; columnName?: string; markedChild?: boolean; title?: string; } 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 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 IOrgAssetsSettings { displayName?: string; libraryUrl?: IOrgAssetLibraryUrl; orgAssetType?: string; thumbnailUrl?: IOrgAssetsThumbnail; id?: number; status?: number; } 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"; export interface IOrgAssetsThumbnail { decodedUrl?: string; } export interface IOrgAssetLibraryUrl { decodedUrl?: string; }