// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; export { IAPanel, IPanelProps, IAFullscreenPanel, IFullscreenPanelProps }; export interface IPanelProps { showOuterPanel?: boolean; isOuterPanel?: boolean; showNavigationBar: boolean; title?: string; navigatorTitle?: string; navigatorTitleComponent?: JSX.Element; navigationsBarContent?: JSX.Element; isEvent?: boolean; startDate?: Date; endDate?: Date; allDayEvent?: boolean; open: boolean; transition: "slide" | "fade" | "none"; width: number; headerImage?: string; headerVideo?: string; iaConfiguration?: IMessageIAConfiguration; highlightColor?: string; spinnerColor?: string; marginTop?: number; isMobile?: boolean; isFullPageView?: boolean; webpartId?: string; backgroundColor?: string; date?: string; authors?: IUser[]; user?: IUser; userRole?: "Administrator" | "Editor" | "Reader"; itemId?: string; isDraft?: boolean; tenant?: string; instance?: IInstance; token?: string; component?: "Messages" | "Event" | "ContentCreator" | "ContentOrganizer" | "AppAdmin" | "Permissions"; environment?: "Development" | "Test" | "Production"; source?: "Home" | "Mobile" | "SharePoint"; commentsEnabled?: boolean; likesEnabled?: boolean; likesOnCommentsEnabled?: boolean; reactionOptions?: string[]; showEmojiPickerExpandButton?: boolean; enableNext?: boolean; enablePrevious?: boolean; likes?: ILike[]; commentCount?: number; commentOpenedFromLink?: string; disableSaving?: boolean; isUpdating?: boolean; dataAutomationIdPrefix?: string; loading?: boolean; skeletonLoaderElements?: ISkeletonElement[]; showUniqueViews?: boolean; uniqueViewsCount?: number; overlayColor?: string; mobileCloseButton?: boolean; zIndex?: number; footer?: JSX.Element; close: () => void; onEdit?: () => void; onDelete?: () => void; onCancel?: () => void; onSave?: () => void; onSaveAndClose?: () => void; onAddAndClose?: () => void; onSaveAsDraft?: () => void; onReviewReject?: () => void; onReviewApprove?: () => void; onReviewSave?: () => void; onClearFilters?: () => void; previousMessage?: () => void; nextMessage?: () => void; onCopyLink?: () => void; onEmailLink?: () => void; likesUpdated?: (likes: any[]) => void; commentsUpdated?: (comments: number) => void; onExportToCalender?: string; enableTranslation?: boolean; onTranslate?: (language: string, itemId: string) => void; isTranslating?: boolean; commentClicked?: () => void; commentCanceled?: () => void; addComment?: boolean; userScrolledToBottomOfContentArea?: () => void; isFirstResponder?: boolean; disableESCFunction?: boolean; enablePrint?: boolean; panelId?: string; printing?: boolean; printProgressPercentage?: number; printMessage?: () => void; isContentCreator?: boolean; imageViewerImages?: IComposerImage[]; imageViewerIndex?: number; closeImageViewer?: () => void; approvers?: any[]; isOldPanel?: boolean; darkMode?: boolean; isInTeams?: boolean; onCommentOpenIAMessage?: (instance: string, messageId: string) => void; onCommentContentImageClicked?: (imageUrl: any) => void; height?: number; openedFromAnotherMessage?: IMessage; } export interface IPanelState { likes?: ILike[]; commentCount?: number; addComment: boolean; showOuterPanel?: boolean; headerImageHasCORS?: boolean; appendedToBody: boolean; panelId: string; } export class IAPanel extends React.Component { constructor(props: IPanelProps); componentDidMount(): void; componentWillUnmount(): void; componentWillReceiveProps(props: IPanelProps): void; render(): JSX.Element; } export interface IFullscreenPanelProps { title?: string; navigatorTitle?: string; open: boolean; width: number; transition: "slide" | "fade"; headerImage?: string; headerVideo?: string; iaConfiguration?: any; highlightColor?: string; marginTop?: number; date?: string; authors?: IUser[]; user?: IUser; itemId?: string; isDraft?: boolean; isMobile?: boolean; tenant?: string; instance?: IInstance; token?: string; component?: string; environment?: "Development" | "Test" | "Production"; source?: "Home" | "Mobile" | "SharePoint"; commentsEnabled?: boolean; likesEnabled?: boolean; likesOnCommentsEnabled?: boolean; enableNext?: boolean; enablePrevious?: boolean; likes?: ILike[]; commentCount?: number; disableSaving?: boolean; isUpdating?: boolean; reactionOptions?: string[]; showEmojiPickerExpandButton?: boolean; close: () => void; onEdit?: () => void; onDelete?: () => void; onCancel?: () => void; onSave?: () => void; onSaveAndClose?: () => void; onSaveAsDraft?: () => void; onReviewReject?: () => void; onReviewApprove?: () => void; onReviewSave?: () => void; previousMessage?: () => void; nextMessage?: () => void; onCopyLink?: () => void; onEmailLink?: () => void; likesUpdated?: (likes: any[]) => void; commentsUpdated?: (comments: number) => void; onTranslate?: (language: string) => void; commentClicked?: () => void; commentCanceled?: () => void; enableTranslation?: boolean; isTranslating?: boolean; dataAutomationIdPrefix?: string; addComment?: boolean; isFirstResponder?: boolean; showUniqueViews?: boolean; uniqueViewsCount?: number; approvers?: IApprover[]; enablePrint?: boolean; panelId?: string; printing?: boolean; printMessage?: () => void; } export interface IFullscreenPanelState { opacity: number; likes?: ILike[]; commentCount?: number; padding: number; imageHeight: number; addComment: boolean; headerImageHasCORS?: boolean; spAppBarWidth: number; } export class IAFullscreenPanel extends React.Component { constructor(props: IFullscreenPanelProps); componentDidMount(): void; resize(): void; componentWillReceiveProps(props: IFullscreenPanelProps): void; componentWillUnmount(): 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 ILike { id?: any; user?: IUser; type?: 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 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 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 ISkeletonElement { height: string | number; width: string | number; borderRadius?: number; marginTop?: number; marginBottom?: number; marginLeft?: number; marginRight?: number; darkMode?: boolean; } export interface IApprover extends IUser { disabled: boolean; } 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 ITargetingItemData { Label: string; TermGuid: any; id?: any; Name?: string; } export interface ITargetingFields { values?: any[]; field: string; title: string; } export interface ITargetingExistingStrucuture { nodes: INode[]; useDefaultStructure: 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 IComposerReplaySettings { boxStyle?: string; content?: string; image?: IComposerImage; video?: IComposerVideo; id?: string; type?: string; typeToEdit?: string; } export interface ICropSetting { x: number; y: number; width: number; height: number; } 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 INode { id: string; defaultLabel: string; labels: string[]; childNodes: INode[]; checked: boolean; expand?: boolean; columnName?: string; markedChild?: boolean; title?: string; } 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 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 IOrgAssetsInfo { id?: string; title?: string; site?: string; settings?: IOrgAssetsSettings; guid?: 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"; export interface IOrgAssetsSettings { displayName?: string; libraryUrl?: IOrgAssetLibraryUrl; orgAssetType?: string; thumbnailUrl?: IOrgAssetsThumbnail; id?: number; status?: number; } export interface IOrgAssetsThumbnail { decodedUrl?: string; } export interface IOrgAssetLibraryUrl { decodedUrl?: string; }