// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; export interface IProps { id?: string; elements: ICarouselContentElement[]; user?: IUser; tenant?: string; component?: string; instance?: string; token?: string; source?: string; environment?: "Development" | "Test" | "Production"; width?: number; resultSourceId?: string; siteCollection?: string; listName?: string; showSkeleton?: boolean; likesEnabled?: boolean; commentsEnabled?: boolean; backgroundColor?: string; borderColor?: string; borderRadius?: number; highlightColor?: string; itemTitleColor?: string; itemTextColor?: string; carouselInterval?: number; itemTitleStyle?: string; itemTitleSize?: number; itemTitleAlign?: string; itemTitleWeight?: string; numberOfElements?: number; isMobile?: boolean; reactionOptions: string[]; showEmojiPickerExpandButton: boolean; onClickEdit?: (content: any) => void; onClickOpen?: (content: any) => void; onClickPreview?: (content: any) => void; onClickCopy?: (content: any) => void; onClickDelete?: (content: any) => void; likesUpdated?: (likes: ILike[], itemIndex: number) => void; commentsUpdated?: (comments: number, itemIndex: number) => void; commentsClick?: (message: IMessage) => void; showTitle?: boolean; showCategories?: boolean; showTeaser?: boolean; showAuthor?: boolean; showStartDate?: boolean; showLikes?: boolean; showComments?: boolean; showDropShadow?: boolean; messageIsOpen?: boolean; showUniqueViews?: boolean; isMessageUnread?: boolean; unReadMessageHighlight?: string; hasDarkBackground?: boolean; showLikesDimmed?: boolean; showCommentsDimmed?: boolean; showUniqueViewsDimmed?: boolean; fontSlots?: IFontSlots; userLocation?: string; } export interface IState { selectedIndex: number; messageIsOpen: boolean; videoPlayingID: string; } export class IACarousel extends React.Component { constructor(props: IProps); componentDidUpdate(prevProps: Readonly): void; componentWillReceiveProps(props: IProps): void; componentDidMount(): 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 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 ICarouselContentElement { id?: string; author?: IUser; item?: any; title?: string; image?: string; iaMessageBgImagesFromBlob?: IMessageIAMessageBgImagesFromBlob; iaConfiguration?: IMessageIAConfiguration; teaser?: string; videoUrl?: string; categories?: IMessageCategory[]; startDate?: Date; likes?: ILike[]; commentCount?: number; uniqueViewsCount?: number; isUnread?: boolean; showPinIcon?: boolean; } export interface IFontSlots { title: { fontFamily: string; }; heading: { fontFamily: string; }; body: { fontFamily: string; }; label: { fontFamily: string; }; } 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 IApprover extends IUser { disabled: 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 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 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 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 IOrgAssetsInfo { id?: string; title?: string; site?: string; settings?: IOrgAssetsSettings; guid?: string; } 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; }