@livetiles/reach-plugin-types 0.5.0-preview.211 → 0.5.0-preview.217

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.d.ts +781 -626
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -266,6 +266,9 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
266
266
  oneSignal?: {
267
267
  appId: string;
268
268
  };
269
+ analytics: {
270
+ hostName: string;
271
+ };
269
272
  }
270
273
  }
271
274
  declare module "libs/shared/util/environment/src/ClientConfig" {
@@ -289,6 +292,7 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
289
292
  }
290
293
  }
291
294
  declare module "libs/shared/util/environment/src/EnvironmentConfig" {
295
+ import { DeviceInfo } from '@capacitor/device';
292
296
  export interface EnvironmentConfig {
293
297
  isCustomerBuild: boolean;
294
298
  isProduction: boolean;
@@ -308,11 +312,6 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
308
312
  envName: string;
309
313
  mobileTeamsHost?: string;
310
314
  }
311
- type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
312
- interface DeviceInfo {
313
- platform: 'ios' | 'android' | 'web';
314
- operatingSystem: OperatingSystem;
315
- }
316
315
  }
317
316
  declare module "libs/shared/util/environment/src/environment" {
318
317
  import { AppConfiguration } from "libs/shared/util/environment/src/AppConfiguration";
@@ -3344,6 +3343,8 @@ declare module "libs/reach/util/common/src/Variables" {
3344
3343
  export const inlinePageBannerRoundedCornerSize = 5;
3345
3344
  export const feedbackButtonHeight = 32;
3346
3345
  export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
3346
+ export const mainContentContainerId = "lt-reach-main-content";
3347
+ export const mainModalContentContainerId = "lt-reach-main-modal-content";
3347
3348
  export const statusColors: {
3348
3349
  draft: string;
3349
3350
  ready: string;
@@ -3566,6 +3567,145 @@ declare module "libs/reach/util/common/src/useModalRouting" {
3566
3567
  };
3567
3568
  };
3568
3569
  }
3570
+ declare module "libs/reach/util/common/src/common-utils" {
3571
+ import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
3572
+ import { IntlShape } from 'react-intl';
3573
+ export function getMainScrollableContainer(): HTMLElement;
3574
+ export enum LinkType {
3575
+ Internal = "internal",
3576
+ External = "external",
3577
+ Download = "download"
3578
+ }
3579
+ export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
3580
+ export const DefaultSubscriptionName = "LiveTiles Reach";
3581
+ export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3582
+ export function getSubscriptionName(subscription: SubscriptionSummary): string;
3583
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3584
+ logoInfo: LogoInfo;
3585
+ subscriptionName: string;
3586
+ };
3587
+ }
3588
+ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
3589
+ export enum AnalyticsInteractionEvents {
3590
+ embeddedVideo = "embedded-video",
3591
+ embeddedAudio = "embedded-audio",
3592
+ languageChange = "language-change",
3593
+ eventRegistration = "event-registration",
3594
+ eventSeriesRegistration = "event-series-registration",
3595
+ translateContent = "translate-content",
3596
+ downloadFile = "download-file",
3597
+ embeddedIframe = "embedded-iframe",
3598
+ externalLink = "external-link",
3599
+ follow = "follow",
3600
+ bookmark = "bookmark"
3601
+ }
3602
+ export enum AnalyticsActions {
3603
+ click = "click",
3604
+ navigate = "navigate",
3605
+ view = "view",
3606
+ search = "search"
3607
+ }
3608
+ export enum AnalyticsModuleType {
3609
+ Admin = "admin",
3610
+ Chat = "chat",
3611
+ Comments = "comments",
3612
+ Events = "events",
3613
+ GlobalSearch = "globalSearch",
3614
+ News = "news",
3615
+ Pages = "pages",
3616
+ People = "people",
3617
+ Posts = "posts",
3618
+ Stream = "stream",
3619
+ User = "user"
3620
+ }
3621
+ export enum AnalyticsModuleSubtype {
3622
+ AllChats = "allChats",
3623
+ AllNews = "allNews",
3624
+ AllPosts = "allPosts",
3625
+ Bookmarks = "bookmarks",
3626
+ Channel = "channel",
3627
+ Channels = "channels",
3628
+ ChatConversation = "conversation",
3629
+ Customization = "customization",
3630
+ DetailView = "detailView",
3631
+ DirectoryConfig = "directoryConfiguration",
3632
+ Group = "group",
3633
+ Groups = "groups",
3634
+ Keywords = "keywords",
3635
+ Languages = "languages",
3636
+ MyNews = "myNews",
3637
+ Owners = "owners",
3638
+ Preview = "preview",
3639
+ RootPages = "rootPages",
3640
+ Search = "search",
3641
+ SelfRegistration = "selfRegistration",
3642
+ TargetAudience = "targetAudience",
3643
+ UpcomingEvents = "upcoming",
3644
+ Users = "users",
3645
+ WebHooks = "webHooks"
3646
+ }
3647
+ }
3648
+ declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
3649
+ import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
3650
+ export function useLinkInteraction(analyticsInstance: ReachAnalytics): void;
3651
+ }
3652
+ declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
3653
+ import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
3654
+ export function useIframeInteraction(analyticsInstance: ReachAnalytics): void;
3655
+ }
3656
+ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
3657
+ import { Dispatch, FC, SetStateAction } from 'react';
3658
+ import { Analytics } from '@livetiles/analytics';
3659
+ import { ItemResourceTypes } from "libs/reach/util/common/src/content/index";
3660
+ export interface AnalyticsSearchData {
3661
+ searchTerm: string;
3662
+ results: {
3663
+ itemId: string;
3664
+ itemType: ItemResourceTypes;
3665
+ }[];
3666
+ itemRead?: string;
3667
+ isGlobalSearch?: boolean;
3668
+ }
3669
+ export enum AnalyticsSearchEventType {
3670
+ search = "search",
3671
+ searchSession = "searchSession"
3672
+ }
3673
+ export interface SearchAnalytics {
3674
+ data: AnalyticsSearchData[];
3675
+ onSearchTermChange: (newData: AnalyticsSearchData) => Promise<unknown>;
3676
+ trackSearchSession: () => Promise<unknown>;
3677
+ onItemRead: (itemId: string) => void;
3678
+ }
3679
+ interface Module {
3680
+ type: string;
3681
+ subtype?: string;
3682
+ value?: string;
3683
+ }
3684
+ export interface AnalyticsModule {
3685
+ module: Module;
3686
+ setModule: Dispatch<SetStateAction<Module>>;
3687
+ }
3688
+ export type ReachAnalytics = Analytics & AnalyticsModule & SearchAnalytics;
3689
+ export const AnalyticsContext: import("react").Context<ReachAnalytics>;
3690
+ export function useAnalyticsContext(): ReachAnalytics;
3691
+ export const AnalyticsContextProvider: FC;
3692
+ }
3693
+ declare module "libs/reach/util/common/src/analytics/elementObserver" {
3694
+ export const elementObserver: (getWrapperElement: () => Element, selector: () => Element, timeout: number) => {
3695
+ watch: () => Promise<Element>;
3696
+ disconnect: () => void;
3697
+ };
3698
+ }
3699
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
3700
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
3701
+ export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
3702
+ }
3703
+ declare module "libs/reach/util/common/src/analytics/index" {
3704
+ export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
3705
+ export * from "libs/reach/util/common/src/analytics/elementObserver";
3706
+ export * from "libs/reach/util/common/src/analytics/analyticsUtils";
3707
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
3708
+ }
3569
3709
  declare module "libs/reach/util/common/src/index" {
3570
3710
  export { initializeIcons } from 'office-ui-fabric-react';
3571
3711
  export * from "libs/reach/util/common/src/FocusStyles";
@@ -3595,6 +3735,8 @@ declare module "libs/reach/util/common/src/index" {
3595
3735
  export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
3596
3736
  export * from "libs/reach/util/common/src/AccessDeniedIntercept";
3597
3737
  export * from "libs/reach/util/common/src/useModalRouting";
3738
+ export * from "libs/reach/util/common/src/analytics/index";
3739
+ export * from "libs/reach/util/common/src/common-utils";
3598
3740
  }
3599
3741
  declare module "libs/reach/ui/common/src/Link" {
3600
3742
  import { Link as RouterLink } from 'react-router-dom';
@@ -3783,6 +3925,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
3783
3925
  export const AudioFile: FC<{
3784
3926
  fileName: string;
3785
3927
  url: string;
3928
+ onPlay?: (url: string) => void;
3786
3929
  }>;
3787
3930
  export function isAudioFile(fileName: string): boolean;
3788
3931
  }
@@ -3806,37 +3949,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
3806
3949
  color?: string;
3807
3950
  }, never>;
3808
3951
  }
3809
- declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3810
- export const smallScreenSpacing = 10;
3811
- export const smallMaxContentWidth: number;
3812
- export const mediumMaxContentWidth: number;
3813
- export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3814
- }
3815
- declare module "libs/reach/ui/common/src/common/Utils" {
3816
- import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3817
- import { IntlShape } from 'react-intl';
3818
- import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3819
- export function isValidUrl(url: string): boolean;
3820
- export function getGoogleMapsSearchLink(name: string): string;
3821
- export function tryGetInternalLink(url: string, appUrls: string[]): string;
3822
- export function getExternalContentUrl(item: PublishableItem, language: string): string;
3823
- export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
3824
- export const DefaultSubscriptionName = "LiveTiles Reach";
3825
- export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3826
- export function getSubscriptionName(subscription: SubscriptionSummary): string;
3827
- export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
3828
- export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3829
- logoInfo: LogoInfo;
3830
- subscriptionName: string;
3831
- };
3832
- export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3833
- export function delay(delayInMs: number): Promise<unknown>;
3834
- export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3835
- defaultWidth?: number;
3836
- showPlaceholder?: boolean;
3837
- }, never>;
3838
- export function encodeChannelName(channelName: string): string;
3839
- }
3840
3952
  declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
3841
3953
  import { FC } from 'react';
3842
3954
  import { SubscriptionSummary } from "libs/reach/util/common/src/index";
@@ -4000,6 +4112,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
4000
4112
  export const VideoFile: FC<{
4001
4113
  fileName: string;
4002
4114
  url: string;
4115
+ onPlay?: (url: string) => void;
4003
4116
  }>;
4004
4117
  export function isVideoFile(fileName: string): boolean;
4005
4118
  }
@@ -4024,24 +4137,28 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
4024
4137
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
4025
4138
  export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
4026
4139
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
4027
- export function getMainScrollableContainer(): HTMLElement;
4028
4140
  }
4029
4141
  declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
4142
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
4030
4143
  export function useFileAccessTokenApi(): {
4031
4144
  exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
4032
4145
  getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
4033
- createDownloadClickHandler: (target: string, getUrl: () => Promise<string>) => () => Promise<void>;
4146
+ createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
4034
4147
  };
4035
4148
  }
4036
4149
  declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
4037
4150
  import { FC } from 'react';
4038
- import { Attachment } from "libs/reach/util/common/src/index";
4151
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
4039
4152
  export const FileAttachmentList: FC<{
4040
4153
  files: Attachment[];
4041
4154
  onDeleteClick?: (file: Attachment) => void;
4042
4155
  getFileUrl?: (attachmentId: string, token?: string) => string;
4156
+ onPlayVideo?: (url: string, videoId: string) => void;
4157
+ onPlayAudio?: (url: string, audioId: string) => void;
4043
4158
  fileAccessToken?: string;
4044
4159
  disabled?: boolean;
4160
+ parentId?: string;
4161
+ itemResourceType?: ItemResourceTypes | string;
4045
4162
  className?: string;
4046
4163
  }>;
4047
4164
  }
@@ -4341,6 +4458,28 @@ declare module "libs/reach/ui/common/src/common/UserUtility" {
4341
4458
  import { IntlShape } from 'react-intl';
4342
4459
  export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
4343
4460
  }
4461
+ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
4462
+ export const smallScreenSpacing = 10;
4463
+ export const smallMaxContentWidth: number;
4464
+ export const mediumMaxContentWidth: number;
4465
+ export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4466
+ }
4467
+ declare module "libs/reach/ui/common/src/common/Utils" {
4468
+ import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
4469
+ import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
4470
+ export function isValidUrl(url: string): boolean;
4471
+ export function getGoogleMapsSearchLink(name: string): string;
4472
+ export function tryGetInternalLink(url: string, appUrls: string[]): string;
4473
+ export function getExternalContentUrl(item: PublishableItem, language: string): string;
4474
+ export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
4475
+ export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
4476
+ export function delay(delayInMs: number): Promise<unknown>;
4477
+ export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4478
+ defaultWidth?: number;
4479
+ showPlaceholder?: boolean;
4480
+ }, never>;
4481
+ export function encodeChannelName(channelName: string): string;
4482
+ }
4344
4483
  declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
4345
4484
  import { FC, ReactNode } from 'react';
4346
4485
  import { PrimitiveType } from 'intl-messageformat';
@@ -4364,12 +4503,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
4364
4503
  }
4365
4504
  declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
4366
4505
  import { FC } from 'react';
4506
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
4367
4507
  export const AutoTranslateButton: FC<{
4368
4508
  contentLanguageCode: string;
4369
4509
  originalContent: string;
4370
4510
  content: string;
4371
4511
  onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
4372
4512
  onContentChange: (content: string) => void;
4513
+ itemType: ItemResourceTypes;
4514
+ itemId: string;
4373
4515
  tooltipResourceKey?: string;
4374
4516
  showLabel?: boolean;
4375
4517
  }>;
@@ -7308,6 +7450,43 @@ declare module "libs/reach/feature/content/src/posts/utils" {
7308
7450
  export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
7309
7451
  export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
7310
7452
  }
7453
+ declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7454
+ import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7455
+ export default interface FeedbackSummary {
7456
+ records: FeedbackItem[];
7457
+ }
7458
+ export enum FeedbackItemType {
7459
+ comment = "comment",
7460
+ like = "like",
7461
+ confirm = "confirm",
7462
+ poll = "poll",
7463
+ eventRegistration = "eventRegistration"
7464
+ }
7465
+ export interface FeedbackItem {
7466
+ type: FeedbackItemType;
7467
+ timestamp: string;
7468
+ }
7469
+ export interface PollFeedbackItem extends FeedbackItem {
7470
+ type: FeedbackItemType.poll;
7471
+ answers: PollQuestionAnswer[];
7472
+ }
7473
+ }
7474
+ declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7475
+ import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7476
+ import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7477
+ import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7478
+ export const feedbackCache: {
7479
+ [newsId: string]: Promise<FeedbackSummary>;
7480
+ };
7481
+ export function useFeedbackApi(): {
7482
+ getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7483
+ setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7484
+ unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7485
+ updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7486
+ getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7487
+ getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7488
+ };
7489
+ }
7311
7490
  declare module "libs/reach/feature/content/src/posts/usePostsApi" {
7312
7491
  import { PaginatedList } from "libs/reach/util/common/src/index";
7313
7492
  import { Attachment } from "libs/reach/util/common/src/index";
@@ -7334,7 +7513,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
7334
7513
  }
7335
7514
  declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
7336
7515
  import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
7337
- import { Attachment } from "libs/reach/util/common/src/index";
7516
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
7338
7517
  export interface ClientAttachment extends Attachment {
7339
7518
  file?: File;
7340
7519
  }
@@ -7350,6 +7529,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
7350
7529
  placeHolderStringResourceKey?: string;
7351
7530
  disableAddGif?: boolean;
7352
7531
  disableAddFiles?: boolean;
7532
+ parentId?: string;
7533
+ itemResourceType?: ItemResourceTypes | string;
7353
7534
  };
7354
7535
  export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
7355
7536
  attachments: Attachment[];
@@ -7362,6 +7543,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
7362
7543
  placeHolderStringResourceKey?: string;
7363
7544
  disableAddGif?: boolean;
7364
7545
  disableAddFiles?: boolean;
7546
+ parentId?: string;
7547
+ itemResourceType?: ItemResourceTypes | string;
7365
7548
  } & import("react").RefAttributes<HTMLInputElement>>;
7366
7549
  }
7367
7550
  declare module "libs/reach/feature/content/src/comments/utils" {
@@ -7709,27 +7892,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7709
7892
  }
7710
7893
  export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
7711
7894
  }
7712
- declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7713
- import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7714
- export default interface FeedbackSummary {
7715
- records: FeedbackItem[];
7716
- }
7717
- export enum FeedbackItemType {
7718
- comment = "comment",
7719
- like = "like",
7720
- confirm = "confirm",
7721
- poll = "poll",
7722
- eventRegistration = "eventRegistration"
7723
- }
7724
- export interface FeedbackItem {
7725
- type: FeedbackItemType;
7726
- timestamp: string;
7727
- }
7728
- export interface PollFeedbackItem extends FeedbackItem {
7729
- type: FeedbackItemType.poll;
7730
- answers: PollQuestionAnswer[];
7731
- }
7732
- }
7733
7895
  declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
7734
7896
  import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7735
7897
  import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
@@ -7748,6 +7910,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7748
7910
  import { PrimaryButton } from 'office-ui-fabric-react';
7749
7911
  export const EventRegistrationButton: FC<{
7750
7912
  isRegistered: boolean;
7913
+ eventId: string;
7751
7914
  disabled?: boolean;
7752
7915
  className?: string;
7753
7916
  onClick?: () => void;
@@ -7831,25 +7994,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7831
7994
  onDismiss: () => unknown;
7832
7995
  }>;
7833
7996
  }
7834
- declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7835
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7836
- import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7837
- import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7838
- import { PaginatedList } from "libs/reach/util/common/src/index";
7839
- import { Account } from "libs/reach/util/common/src/index";
7840
- import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7841
- export const feedbackCache: {
7842
- [newsId: string]: Promise<FeedbackSummary>;
7843
- };
7844
- export function useFeedbackApi(): {
7845
- getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7846
- setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7847
- unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7848
- updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7849
- getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7850
- getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7851
- };
7852
- }
7853
7997
  declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
7854
7998
  import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7855
7999
  import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
@@ -8395,7 +8539,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
8395
8539
  }
8396
8540
  declare module "libs/reach/feature/content/src/comments/AttachmentList" {
8397
8541
  import { FC } from 'react';
8398
- import { Attachment } from "libs/reach/util/common/src/index";
8542
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
8399
8543
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
8400
8544
  interface Props {
8401
8545
  className?: string;
@@ -8405,6 +8549,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
8405
8549
  previewTheme?: CommentInputTheme;
8406
8550
  disableVideoPreview?: boolean;
8407
8551
  disableEmbeddedObjectPreview?: boolean;
8552
+ itemResourceType?: ItemResourceTypes | string;
8553
+ parentId?: string;
8408
8554
  }
8409
8555
  export const AttachmentList: FC<Props>;
8410
8556
  }
@@ -8421,6 +8567,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
8421
8567
  placeHolderStringResourceKey?: string;
8422
8568
  disableAddGif?: boolean;
8423
8569
  disableAddFiles?: boolean;
8570
+ parentId?: string;
8571
+ itemResourceType?: string;
8424
8572
  } & {
8425
8573
  disableVideoPreview?: boolean;
8426
8574
  disableEmbeddedObjectPreview?: boolean;
@@ -8490,7 +8638,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
8490
8638
  }
8491
8639
  declare module "libs/reach/feature/content/src/comments/CreateComment" {
8492
8640
  import { FC } from 'react';
8493
- import { Account } from "libs/reach/util/common/src/index";
8641
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8494
8642
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8495
8643
  import { Keyword } from "libs/reach/util/common/src/index";
8496
8644
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
@@ -8522,6 +8670,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
8522
8670
  };
8523
8671
  disableBoxShadow?: boolean;
8524
8672
  ariaLabel?: string;
8673
+ parentId?: string;
8674
+ itemResourceType?: ItemResourceTypes | string;
8525
8675
  }
8526
8676
  interface Props extends BaseProps {
8527
8677
  allowAttachments?: boolean;
@@ -8585,14 +8735,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
8585
8735
  }
8586
8736
  export const InlineGalleryMapper: HtmlComponentMapper;
8587
8737
  }
8588
- declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
8589
- import { FC } from 'react';
8590
- import { ImageDetails } from "libs/reach/util/common/src/index";
8591
- export const LegacyPostPhotoGallery: FC<{
8592
- images: ImageDetails[];
8593
- imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
8594
- }>;
8595
- }
8596
8738
  declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8597
8739
  import { FC } from 'react';
8598
8740
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
@@ -8600,12 +8742,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8600
8742
  item: ItemWithAttachments;
8601
8743
  basePath: string;
8602
8744
  imagesGridBackgroundColor?: string;
8745
+ onPlayVideo?: (url: string, videoId: string) => void;
8746
+ onPlayAudio?: (url: string, audioId: string) => void;
8603
8747
  className?: string;
8604
8748
  }>;
8605
8749
  }
8606
8750
  declare module "libs/reach/feature/content/src/comments/EditComment" {
8607
8751
  import { FC } from 'react';
8608
- import { Account } from "libs/reach/util/common/src/index";
8752
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8609
8753
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8610
8754
  import { Attachment } from "libs/reach/util/common/src/index";
8611
8755
  import { Keyword } from "libs/reach/util/common/src/index";
@@ -8621,6 +8765,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
8621
8765
  onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
8622
8766
  onDeleteAttachment?: (attachment: ClientAttachment) => void;
8623
8767
  ariaLabel?: string;
8768
+ parentId?: string;
8769
+ itemResourceType?: ItemResourceTypes | string;
8624
8770
  }
8625
8771
  interface Props extends BaseProps {
8626
8772
  onSave?: (newContent: string, keywords?: {
@@ -9061,6 +9207,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
9061
9207
  isLastPage: boolean;
9062
9208
  unreadOnly?: boolean;
9063
9209
  filter?: NewsFilterDefinition;
9210
+ activeChannel?: string;
9064
9211
  }>;
9065
9212
  }
9066
9213
  declare module "libs/reach/feature/content/src/news/useTranslateApi" {
@@ -9813,9 +9960,10 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
9813
9960
  }
9814
9961
  declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
9815
9962
  import { FC } from 'react';
9816
- import { PublishableItem } from "libs/reach/util/common/src/index";
9963
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9817
9964
  export const ConfirmationStatisticsExport: FC<{
9818
9965
  item: PublishableItem;
9966
+ resourceType: ItemResourceTypes;
9819
9967
  }>;
9820
9968
  }
9821
9969
  declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
@@ -10096,478 +10244,36 @@ declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
10096
10244
  }
10097
10245
  export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
10098
10246
  }
10099
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
10100
- import { LocationDescriptor } from 'history';
10101
- import { FC, ReactNode } from 'react';
10102
- export const SidebarIcon: FC<{
10103
- icon?: ReactNode;
10104
- iconName?: string;
10105
- color?: string;
10106
- onClick?: () => any;
10107
- route?: LocationDescriptor;
10108
- iconTooltipResourceKey: string;
10109
- iconTooltipResourceValues?: any;
10247
+ declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10248
+ import { FC } from 'react';
10249
+ export const GroupNotificationsSettings: FC<{
10250
+ groupId: string;
10110
10251
  className?: string;
10111
10252
  }>;
10112
10253
  }
10113
- declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
10114
- import { FC, ReactNode } from 'react';
10115
- import { LocationDescriptor } from 'history';
10116
- import { PrimitiveType } from 'intl-messageformat';
10117
- export interface BaseSidebarItemProps {
10118
- children?: any;
10119
- icon?: ReactNode;
10120
- iconName?: string;
10121
- iconTooltipResourceKey?: string;
10122
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
10123
- secondaryIconName?: string;
10124
- secondaryIconTooltipResourceKey?: string;
10125
- reverse?: boolean;
10126
- onIconClick?: () => void;
10127
- iconRoute?: LocationDescriptor;
10128
- iconColor?: string;
10129
- onSecondaryIconClick?: () => void;
10130
- secondaryIconRoute?: LocationDescriptor;
10131
- onContentClick?: () => void;
10132
- contentRoute?: LocationDescriptor;
10133
- badgeInfo?: number | boolean;
10134
- title?: string;
10254
+ declare module "libs/reach/feature/content/src/posts/PostCreator" {
10255
+ import { FC } from 'react';
10256
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10257
+ import { Keyword } from "libs/reach/util/common/src/index";
10258
+ import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10259
+ export interface PostCreatorProps {
10260
+ groupId: string;
10261
+ disabled?: boolean;
10262
+ disableDragAndDrop?: boolean;
10263
+ onBeforeSave?: (post: Post) => void;
10264
+ onSaved: (post: Post) => void;
10265
+ keywordSettings?: {
10266
+ availableKeywords?: Keyword[];
10267
+ defaultKeywords?: Keyword[];
10268
+ mandatoryKeywords?: Keyword[];
10269
+ };
10270
+ disableAutoFocus?: boolean;
10271
+ attachmentPreviewTheme?: CommentInputTheme;
10135
10272
  className?: string;
10136
10273
  }
10137
- export const BaseSidebarItem: FC<BaseSidebarItemProps>;
10274
+ export const PostCreator: FC<PostCreatorProps>;
10138
10275
  }
10139
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
10140
- import { FC } from 'react';
10141
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
10142
- export const SidebarItemSection: FC<{
10143
- styleDefinition?: ColorStyleDefinition;
10144
- }>;
10145
- }
10146
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
10147
- import { FC, ReactNode } from 'react';
10148
- import { PrimitiveType } from 'intl-messageformat';
10149
- import { LocationDescriptor } from 'history';
10150
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
10151
- interface CommonSidebarItemProps {
10152
- title?: string | JSX.Element;
10153
- titleResource?: string;
10154
- icon?: ReactNode;
10155
- iconName?: string;
10156
- iconTooltipResourceKey?: string;
10157
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
10158
- secondaryIconName?: string;
10159
- secondaryIconTooltipResourceKey?: string;
10160
- iconColor?: string;
10161
- reverse?: boolean;
10162
- notHighlightable?: boolean;
10163
- onClick?: () => void;
10164
- className?: string;
10165
- isActive?: boolean;
10166
- activeClassName?: string;
10167
- readOnly?: boolean;
10168
- submenu?: JSX.Element;
10169
- submenuClassName?: string;
10170
- submenuStyleDefinition?: ColorStyleDefinition;
10171
- badgeInfo?: number | boolean;
10172
- domIdentifier?: string;
10173
- }
10174
- interface SidebarItemProps extends CommonSidebarItemProps {
10175
- contentRoute?: LocationDescriptor;
10176
- onIconClick?: () => void;
10177
- iconRoute?: LocationDescriptor;
10178
- onSecondaryIconClick?: () => void;
10179
- secondaryIconRoute?: LocationDescriptor;
10180
- isHoverable?: boolean;
10181
- }
10182
- export const SidebarItem: FC<SidebarItemProps>;
10183
- interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
10184
- route: LocationDescriptor;
10185
- exact?: boolean;
10186
- linkClassName?: string;
10187
- }
10188
- export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
10189
- }
10190
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
10191
- import { FC } from 'react';
10192
- export const SidebarGroup: FC<{
10193
- titleResource?: string;
10194
- borderColor?: string;
10195
- className?: string;
10196
- }>;
10197
- }
10198
- declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
10199
- import { FC } from 'react';
10200
- export const ContentWithShowMoreButton: FC<{
10201
- domIdentifier: string;
10202
- trimContent?: boolean;
10203
- className?: string;
10204
- }>;
10205
- }
10206
- declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
10207
- import { FC } from 'react';
10208
- import { Channel } from "libs/reach/util/common/src/index";
10209
- import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
10210
- interface Props {
10211
- selectedChannelNames?: string[];
10212
- selectedChannelIds?: string[];
10213
- mandatoryChannelIds?: string[];
10214
- availableChannels?: Channel[];
10215
- onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
10216
- className?: string;
10217
- showOnlyUserChannels?: boolean;
10218
- showSelectionToggle?: boolean;
10219
- placeholder?: string;
10220
- inlineControls?: boolean;
10221
- required?: boolean;
10222
- id?: string;
10223
- showLogicalOperatorOptions?: boolean;
10224
- selectedLogicalOperator?: LogicalOperator;
10225
- }
10226
- export const ChannelSelector: FC<Props>;
10227
- }
10228
- declare module "libs/reach/feature/content/src/common/index" {
10229
- export * from "libs/reach/feature/content/src/common/cards/CardFooter";
10230
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
10231
- export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
10232
- export * from "libs/reach/feature/content/src/common/item-tile/Title";
10233
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
10234
- export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
10235
- export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
10236
- export * from "libs/reach/feature/content/src/common/body/InlineGallery";
10237
- export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
10238
- export * from "libs/reach/feature/content/src/common/body/InlineImage";
10239
- export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
10240
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
10241
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
10242
- export * from "libs/reach/feature/content/src/common/body/InlineQuote";
10243
- export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
10244
- export * from "libs/reach/feature/content/src/common/body/InlineVideo";
10245
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
10246
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
10247
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
10248
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
10249
- export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
10250
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
10251
- export * from "libs/reach/feature/content/src/common/ContentUtils";
10252
- export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
10253
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
10254
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
10255
- export * from "libs/reach/feature/content/src/common/body/InlineCode";
10256
- export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
10257
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
10258
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
10259
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
10260
- export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
10261
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
10262
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
10263
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
10264
- export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
10265
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
10266
- export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
10267
- export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
10268
- export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
10269
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
10270
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
10271
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
10272
- export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
10273
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
10274
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
10275
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
10276
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
10277
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
10278
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
10279
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
10280
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
10281
- export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
10282
- export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
10283
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
10284
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
10285
- export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
10286
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
10287
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
10288
- export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
10289
- export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
10290
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
10291
- export * from "libs/reach/feature/content/src/common/banner/Banner";
10292
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
10293
- export * from "libs/reach/feature/content/src/common/cards/Card";
10294
- export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
10295
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
10296
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
10297
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
10298
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
10299
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
10300
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
10301
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
10302
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
10303
- export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
10304
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
10305
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
10306
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
10307
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
10308
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
10309
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
10310
- export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
10311
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
10312
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
10313
- export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
10314
- export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
10315
- export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
10316
- export * from "libs/reach/feature/content/src/common/StateIcon";
10317
- export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
10318
- export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
10319
- export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
10320
- export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
10321
- export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
10322
- export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
10323
- export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
10324
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
10325
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
10326
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
10327
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
10328
- export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
10329
- export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
10330
- export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
10331
- export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
10332
- }
10333
- declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
10334
- import { FC } from 'react';
10335
- import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
10336
- import { Account } from "libs/reach/util/common/src/index";
10337
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
10338
- interface Props {
10339
- type?: ItemResourceTypes;
10340
- baseAttachmentPath?: string;
10341
- message: Comment;
10342
- showDelete?: boolean;
10343
- showAutoTranslate?: boolean;
10344
- showEdit?: boolean;
10345
- onDelete?: (comment: Comment) => void;
10346
- onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
10347
- scope: ConversationScope;
10348
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
10349
- getHashtagFilterRoute?: (hashtag: string) => string;
10350
- highlight?: boolean;
10351
- hasUnreadReplies?: boolean;
10352
- onReplyIconClick?: () => void;
10353
- onReply?: (comment: Comment, commentSender?: Account) => void;
10354
- replyCount?: number;
10355
- readOnly?: boolean;
10356
- trimContent?: boolean;
10357
- enableModalRouting?: boolean;
10358
- className?: string;
10359
- }
10360
- export const CommentDisplay: FC<Props>;
10361
- }
10362
- declare module "libs/reach/feature/content/src/comments/index" {
10363
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
10364
- export * from "libs/reach/feature/content/src/comments/FollowComments";
10365
- export * from "libs/reach/feature/content/src/comments/CreateComment";
10366
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
10367
- export * from "libs/reach/feature/content/src/comments/CommentDisplay";
10368
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
10369
- export * from "libs/reach/feature/content/src/comments/UrlMatcher";
10370
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
10371
- export * from "libs/reach/feature/content/src/comments/RichCommentInput";
10372
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
10373
- export * from "libs/reach/feature/content/src/comments/AttachmentList";
10374
- export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
10375
- export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
10376
- export * from "libs/reach/feature/content/src/comments/CommentInput";
10377
- }
10378
- declare module "libs/reach/feature/content/src/feedback/index" {
10379
- export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
10380
- export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
10381
- export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
10382
- export * from "libs/reach/feature/content/src/feedback/utils";
10383
- }
10384
- declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
10385
- import { FC, ReactNode } from 'react';
10386
- import { Keyword } from "libs/reach/util/common/src/index";
10387
- interface Props {
10388
- isOpen: boolean;
10389
- preSelectedKeywords: Keyword[];
10390
- onSave: (keywords: Keyword[]) => void;
10391
- titleResource: string;
10392
- onDismiss: () => void;
10393
- availableKeywords?: Keyword[];
10394
- mandatoryKeywordIds?: string[];
10395
- }
10396
- export const KeywordDialog: FC<Props>;
10397
- export const StatefulKeywordPicker: FC<{
10398
- preSelectedKeywords: Keyword[];
10399
- availableKeywords?: Keyword[];
10400
- mandatoryKeywordIds?: string[];
10401
- showSelectionToggle?: boolean;
10402
- children: (selectedKeywords: Keyword[]) => ReactNode;
10403
- }>;
10404
- }
10405
- declare module "libs/reach/feature/content/src/forms/Textarea" {
10406
- import { FC, MutableRefObject } from 'react';
10407
- export interface TextareaProps {
10408
- rows?: number;
10409
- placeholder?: string;
10410
- readOnly?: boolean;
10411
- onChange: (value: string) => void;
10412
- className?: string;
10413
- defaultValue?: string;
10414
- disabled?: boolean;
10415
- noDebouncing?: boolean;
10416
- value?: string;
10417
- onIconClick?: () => void;
10418
- onEnter?: () => void;
10419
- icon?: string;
10420
- disableNewLines?: boolean;
10421
- autoFocus?: boolean;
10422
- inputRef?: MutableRefObject<HTMLTextAreaElement>;
10423
- onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
10424
- inputType?: string;
10425
- }
10426
- /**
10427
- * Textarea that expands vertically to fit content.
10428
- * If maxLength is given, also displays a count of remaining characters when focused
10429
- */
10430
- export const Textarea: FC<TextareaProps>;
10431
- }
10432
- declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
10433
- import { FC } from 'react';
10434
- interface Props {
10435
- onInsert: (files: File[]) => void;
10436
- accept?: string;
10437
- captionKey?: string;
10438
- captionIconName?: string;
10439
- descriptionKey?: string;
10440
- descriptionIconName?: string;
10441
- singleMode?: boolean;
10442
- }
10443
- export const InsertFilesButton: FC<Props>;
10444
- export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
10445
- isActive?: boolean;
10446
- }, never>;
10447
- }
10448
- declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
10449
- import { FC } from 'react';
10450
- interface Props {
10451
- onInsert: (files: File[]) => void;
10452
- accept?: string;
10453
- captionKey?: string;
10454
- descriptionKey?: string;
10455
- }
10456
- export const InsertImagesButton: FC<Props>;
10457
- }
10458
- declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
10459
- import { FC } from 'react';
10460
- interface DateTimePickerProps {
10461
- date: string;
10462
- maxDate?: string;
10463
- minDate?: string;
10464
- dateValidationResourceKey?: string;
10465
- timeValidationResourceKey?: string;
10466
- readOnly?: boolean;
10467
- onChanged: (date: string, isValid: boolean) => void;
10468
- noDateResourceKey: string;
10469
- selectDateResourceKey: string;
10470
- dateOnly?: boolean;
10471
- initialPickerDate?: string;
10472
- label?: string;
10473
- isRequired?: boolean;
10474
- className?: string;
10475
- }
10476
- export const DateTimePicker: FC<DateTimePickerProps>;
10477
- export default DateTimePicker;
10478
- }
10479
- declare module "libs/reach/feature/content/src/forms/DateRange" {
10480
- import moment, { Moment } from 'moment';
10481
- export enum DateRange {
10482
- TwoYears = 0,
10483
- OneYear = 1,
10484
- SixMonths = 2,
10485
- TwoMonths = 3,
10486
- OneMonth = 4,
10487
- SevenDays = 5,
10488
- YesterDay = 6,
10489
- Today = 7
10490
- }
10491
- export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
10492
- export function dateToDateRange(date: string | moment.Moment): number;
10493
- export function dateRangeToDate(range: DateRange): Moment;
10494
- }
10495
- declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
10496
- import { FC } from 'react';
10497
- import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
10498
- export const DateRangeSlider: FC<{
10499
- value?: DateRange;
10500
- onChange: (range: DateRange) => unknown;
10501
- }>;
10502
- }
10503
- declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
10504
- import { FC } from 'react';
10505
- import { WrappedComponentProps } from 'react-intl';
10506
- import { SelectionMode } from 'office-ui-fabric-react';
10507
- import { Account, AccountType } from "libs/reach/util/common/src/index";
10508
- interface PeoplePickerDialogProps {
10509
- defaultSelectedItems: Account[];
10510
- onChange: (items: Account[]) => void;
10511
- onDismiss: () => void;
10512
- titleResource: string;
10513
- intl?: WrappedComponentProps;
10514
- selectionMode?: SelectionMode;
10515
- allowMailItems?: boolean;
10516
- accountType: AccountType;
10517
- showDialog: boolean;
10518
- allowEmptyValue: boolean;
10519
- includePendingInvitationUsers?: boolean;
10520
- placeholderStringResourceKey?: string;
10521
- inputAriaLabelResourceKey: string;
10522
- }
10523
- export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
10524
- }
10525
- declare module "libs/reach/feature/content/src/forms/index" {
10526
- export * from "libs/reach/feature/content/src/forms/KeywordDialog";
10527
- export * from "libs/reach/feature/content/src/forms/Textarea";
10528
- export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
10529
- export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
10530
- export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
10531
- export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
10532
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
10533
- export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
10534
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
10535
- export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
10536
- export * from "libs/reach/feature/content/src/forms/DateRange";
10537
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
10538
- export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
10539
- export * from "libs/reach/feature/content/src/forms/videos/VideoView";
10540
- }
10541
- declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10542
- import { FC } from 'react';
10543
- export const GroupNotificationsSettings: FC<{
10544
- groupId: string;
10545
- className?: string;
10546
- }>;
10547
- }
10548
- declare module "libs/reach/feature/content/src/posts/PostCreator" {
10549
- import { FC } from 'react';
10550
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10551
- import { Keyword } from "libs/reach/util/common/src/index";
10552
- import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10553
- export interface PostCreatorProps {
10554
- groupId: string;
10555
- disabled?: boolean;
10556
- disableDragAndDrop?: boolean;
10557
- onBeforeSave?: (post: Post) => void;
10558
- onSaved: (post: Post) => void;
10559
- keywordSettings?: {
10560
- availableKeywords?: Keyword[];
10561
- defaultKeywords?: Keyword[];
10562
- mandatoryKeywords?: Keyword[];
10563
- };
10564
- disableAutoFocus?: boolean;
10565
- attachmentPreviewTheme?: CommentInputTheme;
10566
- className?: string;
10567
- }
10568
- export const PostCreator: FC<PostCreatorProps>;
10569
- }
10570
- declare module "libs/reach/feature/content/src/posts/PostReplies" {
10276
+ declare module "libs/reach/feature/content/src/posts/PostReplies" {
10571
10277
  import { FC } from 'react';
10572
10278
  import { Post } from "libs/reach/feature/content/src/posts/utils";
10573
10279
  import { Comment } from "libs/reach/util/common/src/index";
@@ -10669,8 +10375,75 @@ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
10669
10375
  className?: string;
10670
10376
  }>;
10671
10377
  }
10378
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10379
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10380
+ import { DocumentNode } from '@apollo/client';
10381
+ import { Channel } from "libs/reach/util/common/src/index";
10382
+ import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
10383
+ export enum StreamEventResponse {
10384
+ NotSet = "NOTSET",
10385
+ Registered = "REGISTERED",
10386
+ Declined = "DECLINED"
10387
+ }
10388
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10389
+ }
10390
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10391
+ items: StreamItem[];
10392
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10393
+ loadMore: () => Promise<void>;
10394
+ pageInfo: {
10395
+ errors?: any;
10396
+ hasNextPage: boolean;
10397
+ skip: number;
10398
+ };
10399
+ refresh: () => Promise<void>;
10400
+ isLoadingFirstPage: boolean;
10401
+ refetchItem: (itemId: string) => Promise<void>;
10402
+ };
10403
+ export function hasFilter(filter?: StreamFilterDefinition): boolean;
10404
+ export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10405
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10406
+ export function getFilterConditionsString(filterConditions?: string[]): string;
10407
+ export const GROUPS_CONDITION: (groupIds: string[]) => string;
10408
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
10409
+ export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
10410
+ export const OWNER_CONDITION: (owner: string) => string;
10411
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
10412
+ export const AUTHORS_CONDITION: (authors: string[]) => string;
10413
+ export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
10414
+ export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
10415
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
10416
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
10417
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
10418
+ export const POST_ITEM_FIELDS: DocumentNode;
10419
+ }
10420
+ declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
10421
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10422
+ import { DependencyList } from 'react';
10423
+ export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
10424
+ }
10425
+ declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
10426
+ import { UserGroup } from "libs/reach/util/common/src/index";
10427
+ export function usePostKeywordSettings(): (group: UserGroup) => {
10428
+ availableKeywords: import("@livetiles/reach/util/common").Keyword[];
10429
+ defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
10430
+ mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
10431
+ };
10432
+ }
10433
+ declare module "libs/reach/feature/content/src/posts/index" {
10434
+ export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
10435
+ export * from "libs/reach/feature/content/src/posts/PostCreator";
10436
+ export * from "libs/reach/feature/content/src/posts/PostDisplay";
10437
+ export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
10438
+ export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
10439
+ export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
10440
+ export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
10441
+ export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
10442
+ export * from "libs/reach/feature/content/src/posts/usePostsApi";
10443
+ export * from "libs/reach/feature/content/src/posts/utils";
10444
+ }
10672
10445
  declare module "libs/reach/feature/content/src/stream/streamUtils" {
10673
- import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
10446
+ import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
10674
10447
  import { Post } from "libs/reach/feature/content/src/posts/index";
10675
10448
  import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
10676
10449
  enum StreamItemTypes {
@@ -11510,73 +11283,455 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11510
11283
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11511
11284
  })[];
11512
11285
  export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11286
+ export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
11287
+ }
11288
+ declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
11289
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
11290
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11291
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
11292
+ export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, isGlobalSearch?: boolean, itemType?: ItemResourceTypes): void;
11293
+ export function useClearSearchSessionOnLeave(): void;
11294
+ }
11295
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
11296
+ import { LocationDescriptor } from 'history';
11297
+ import { FC, ReactNode } from 'react';
11298
+ export const SidebarIcon: FC<{
11299
+ icon?: ReactNode;
11300
+ iconName?: string;
11301
+ color?: string;
11302
+ onClick?: () => any;
11303
+ route?: LocationDescriptor;
11304
+ iconTooltipResourceKey: string;
11305
+ iconTooltipResourceValues?: any;
11306
+ className?: string;
11307
+ }>;
11308
+ }
11309
+ declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
11310
+ import { FC, ReactNode } from 'react';
11311
+ import { LocationDescriptor } from 'history';
11312
+ import { PrimitiveType } from 'intl-messageformat';
11313
+ export interface BaseSidebarItemProps {
11314
+ children?: any;
11315
+ icon?: ReactNode;
11316
+ iconName?: string;
11317
+ iconTooltipResourceKey?: string;
11318
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11319
+ secondaryIconName?: string;
11320
+ secondaryIconTooltipResourceKey?: string;
11321
+ reverse?: boolean;
11322
+ onIconClick?: () => void;
11323
+ iconRoute?: LocationDescriptor;
11324
+ iconColor?: string;
11325
+ onSecondaryIconClick?: () => void;
11326
+ secondaryIconRoute?: LocationDescriptor;
11327
+ onContentClick?: () => void;
11328
+ contentRoute?: LocationDescriptor;
11329
+ badgeInfo?: number | boolean;
11330
+ title?: string;
11331
+ className?: string;
11332
+ }
11333
+ export const BaseSidebarItem: FC<BaseSidebarItemProps>;
11334
+ }
11335
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
11336
+ import { FC } from 'react';
11337
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11338
+ export const SidebarItemSection: FC<{
11339
+ styleDefinition?: ColorStyleDefinition;
11340
+ }>;
11341
+ }
11342
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
11343
+ import { FC, ReactNode } from 'react';
11344
+ import { PrimitiveType } from 'intl-messageformat';
11345
+ import { LocationDescriptor } from 'history';
11346
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11347
+ interface CommonSidebarItemProps {
11348
+ title?: string | JSX.Element;
11349
+ titleResource?: string;
11350
+ icon?: ReactNode;
11351
+ iconName?: string;
11352
+ iconTooltipResourceKey?: string;
11353
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11354
+ secondaryIconName?: string;
11355
+ secondaryIconTooltipResourceKey?: string;
11356
+ iconColor?: string;
11357
+ reverse?: boolean;
11358
+ notHighlightable?: boolean;
11359
+ onClick?: () => void;
11360
+ className?: string;
11361
+ isActive?: boolean;
11362
+ activeClassName?: string;
11363
+ readOnly?: boolean;
11364
+ submenu?: JSX.Element;
11365
+ submenuClassName?: string;
11366
+ submenuStyleDefinition?: ColorStyleDefinition;
11367
+ badgeInfo?: number | boolean;
11368
+ domIdentifier?: string;
11369
+ }
11370
+ interface SidebarItemProps extends CommonSidebarItemProps {
11371
+ contentRoute?: LocationDescriptor;
11372
+ onIconClick?: () => void;
11373
+ iconRoute?: LocationDescriptor;
11374
+ onSecondaryIconClick?: () => void;
11375
+ secondaryIconRoute?: LocationDescriptor;
11376
+ isHoverable?: boolean;
11377
+ }
11378
+ export const SidebarItem: FC<SidebarItemProps>;
11379
+ interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
11380
+ route: LocationDescriptor;
11381
+ exact?: boolean;
11382
+ linkClassName?: string;
11383
+ }
11384
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
11385
+ }
11386
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
11387
+ import { FC } from 'react';
11388
+ export const SidebarGroup: FC<{
11389
+ titleResource?: string;
11390
+ borderColor?: string;
11391
+ className?: string;
11392
+ }>;
11393
+ }
11394
+ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
11395
+ import { FC } from 'react';
11396
+ export const ContentWithShowMoreButton: FC<{
11397
+ domIdentifier: string;
11398
+ trimContent?: boolean;
11399
+ className?: string;
11400
+ }>;
11401
+ }
11402
+ declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
11403
+ import { FC } from 'react';
11404
+ import { Channel } from "libs/reach/util/common/src/index";
11405
+ import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
11406
+ interface Props {
11407
+ selectedChannelNames?: string[];
11408
+ selectedChannelIds?: string[];
11409
+ mandatoryChannelIds?: string[];
11410
+ availableChannels?: Channel[];
11411
+ onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
11412
+ className?: string;
11413
+ showOnlyUserChannels?: boolean;
11414
+ showSelectionToggle?: boolean;
11415
+ placeholder?: string;
11416
+ inlineControls?: boolean;
11417
+ required?: boolean;
11418
+ id?: string;
11419
+ showLogicalOperatorOptions?: boolean;
11420
+ selectedLogicalOperator?: LogicalOperator;
11421
+ }
11422
+ export const ChannelSelector: FC<Props>;
11423
+ }
11424
+ declare module "libs/reach/feature/content/src/common/index" {
11425
+ export * from "libs/reach/feature/content/src/common/cards/CardFooter";
11426
+ export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
11427
+ export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
11428
+ export * from "libs/reach/feature/content/src/common/item-tile/Title";
11429
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
11430
+ export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
11431
+ export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
11432
+ export * from "libs/reach/feature/content/src/common/body/InlineGallery";
11433
+ export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
11434
+ export * from "libs/reach/feature/content/src/common/body/InlineImage";
11435
+ export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
11436
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
11437
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
11438
+ export * from "libs/reach/feature/content/src/common/body/InlineQuote";
11439
+ export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
11440
+ export * from "libs/reach/feature/content/src/common/body/InlineVideo";
11441
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
11442
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
11443
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
11444
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
11445
+ export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
11446
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
11447
+ export * from "libs/reach/feature/content/src/common/ContentUtils";
11448
+ export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
11449
+ export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
11450
+ export * from "libs/reach/feature/content/src/common/body/InlineContact";
11451
+ export * from "libs/reach/feature/content/src/common/body/InlineCode";
11452
+ export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
11453
+ export * from "libs/reach/feature/content/src/common/body/CodeDetails";
11454
+ export * from "libs/reach/feature/content/src/common/body/TextViewer";
11455
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
11456
+ export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
11457
+ export * from "libs/reach/feature/content/src/common/body/InlineTable";
11458
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
11459
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
11460
+ export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
11461
+ export * from "libs/reach/feature/content/src/common/body/InlineFileList";
11462
+ export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
11463
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
11464
+ export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
11465
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
11466
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
11467
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
11468
+ export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
11469
+ export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
11470
+ export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
11471
+ export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
11472
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
11473
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
11474
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
11475
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
11476
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
11477
+ export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
11478
+ export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
11479
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
11480
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
11481
+ export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
11482
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
11483
+ export * from "libs/reach/feature/content/src/common/body/InlinePageList";
11484
+ export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
11485
+ export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
11486
+ export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
11487
+ export * from "libs/reach/feature/content/src/common/banner/Banner";
11488
+ export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
11489
+ export * from "libs/reach/feature/content/src/common/cards/Card";
11490
+ export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
11491
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
11492
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
11493
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
11494
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
11495
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
11496
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
11497
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
11498
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
11499
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
11500
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
11501
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
11502
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
11503
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
11504
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
11505
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
11506
+ export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
11507
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
11508
+ export * from "libs/reach/feature/content/src/common/AppTriggerActions";
11509
+ export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
11510
+ export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
11511
+ export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
11512
+ export * from "libs/reach/feature/content/src/common/StateIcon";
11513
+ export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
11514
+ export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
11515
+ export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
11516
+ export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
11517
+ export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
11518
+ export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
11519
+ export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
11520
+ export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
11521
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
11522
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
11523
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
11524
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
11525
+ export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
11526
+ export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
11527
+ export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
11528
+ export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
11529
+ }
11530
+ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
11531
+ import { FC } from 'react';
11532
+ import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
11533
+ interface Props {
11534
+ type?: ItemResourceTypes;
11535
+ baseAttachmentPath?: string;
11536
+ message: Comment;
11537
+ showDelete?: boolean;
11538
+ showAutoTranslate?: boolean;
11539
+ showEdit?: boolean;
11540
+ onDelete?: (comment: Comment) => void;
11541
+ onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
11542
+ scope: ConversationScope;
11543
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
11544
+ getHashtagFilterRoute?: (hashtag: string) => string;
11545
+ highlight?: boolean;
11546
+ hasUnreadReplies?: boolean;
11547
+ onReplyIconClick?: () => void;
11548
+ onReply?: (comment: Comment, commentSender?: Account) => void;
11549
+ replyCount?: number;
11550
+ readOnly?: boolean;
11551
+ trimContent?: boolean;
11552
+ enableModalRouting?: boolean;
11553
+ className?: string;
11554
+ }
11555
+ export const CommentDisplay: FC<Props>;
11513
11556
  }
11514
- declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11515
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11516
- import { DocumentNode } from '@apollo/client';
11517
- import { Channel } from "libs/reach/util/common/src/index";
11518
- import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
11519
- export enum StreamEventResponse {
11520
- NotSet = "NOTSET",
11521
- Registered = "REGISTERED",
11522
- Declined = "DECLINED"
11557
+ declare module "libs/reach/feature/content/src/comments/index" {
11558
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11559
+ export * from "libs/reach/feature/content/src/comments/FollowComments";
11560
+ export * from "libs/reach/feature/content/src/comments/CreateComment";
11561
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11562
+ export * from "libs/reach/feature/content/src/comments/CommentDisplay";
11563
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11564
+ export * from "libs/reach/feature/content/src/comments/UrlMatcher";
11565
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11566
+ export * from "libs/reach/feature/content/src/comments/RichCommentInput";
11567
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11568
+ export * from "libs/reach/feature/content/src/comments/AttachmentList";
11569
+ export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
11570
+ export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
11571
+ export * from "libs/reach/feature/content/src/comments/CommentInput";
11572
+ }
11573
+ declare module "libs/reach/feature/content/src/feedback/index" {
11574
+ export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
11575
+ export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
11576
+ export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
11577
+ export * from "libs/reach/feature/content/src/feedback/utils";
11578
+ }
11579
+ declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
11580
+ import { FC, ReactNode } from 'react';
11581
+ import { Keyword } from "libs/reach/util/common/src/index";
11582
+ interface Props {
11583
+ isOpen: boolean;
11584
+ preSelectedKeywords: Keyword[];
11585
+ onSave: (keywords: Keyword[]) => void;
11586
+ titleResource: string;
11587
+ onDismiss: () => void;
11588
+ availableKeywords?: Keyword[];
11589
+ mandatoryKeywordIds?: string[];
11523
11590
  }
11524
- export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
11591
+ export const KeywordDialog: FC<Props>;
11592
+ export const StatefulKeywordPicker: FC<{
11593
+ preSelectedKeywords: Keyword[];
11594
+ availableKeywords?: Keyword[];
11595
+ mandatoryKeywordIds?: string[];
11596
+ showSelectionToggle?: boolean;
11597
+ children: (selectedKeywords: Keyword[]) => ReactNode;
11598
+ }>;
11599
+ }
11600
+ declare module "libs/reach/feature/content/src/forms/Textarea" {
11601
+ import { FC, MutableRefObject } from 'react';
11602
+ export interface TextareaProps {
11603
+ rows?: number;
11604
+ placeholder?: string;
11605
+ readOnly?: boolean;
11606
+ onChange: (value: string) => void;
11607
+ className?: string;
11608
+ defaultValue?: string;
11609
+ disabled?: boolean;
11610
+ noDebouncing?: boolean;
11611
+ value?: string;
11612
+ onIconClick?: () => void;
11613
+ onEnter?: () => void;
11614
+ icon?: string;
11615
+ disableNewLines?: boolean;
11616
+ autoFocus?: boolean;
11617
+ inputRef?: MutableRefObject<HTMLTextAreaElement>;
11618
+ onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
11619
+ inputType?: string;
11525
11620
  }
11526
- export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
11527
- items: StreamItem[];
11528
- setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
11529
- loadMore: () => Promise<void>;
11530
- pageInfo: {
11531
- errors?: any;
11532
- hasNextPage: boolean;
11533
- skip: number;
11534
- };
11535
- refresh: () => Promise<void>;
11536
- isLoadingFirstPage: boolean;
11537
- refetchItem: (itemId: string) => Promise<void>;
11538
- };
11539
- export function hasFilter(filter?: StreamFilterDefinition): boolean;
11540
- export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11541
- export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11542
- export function getFilterConditionsString(filterConditions?: string[]): string;
11543
- export const GROUPS_CONDITION: (groupIds: string[]) => string;
11544
- export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
11545
- export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
11546
- export const OWNER_CONDITION: (owner: string) => string;
11547
- export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
11548
- export const AUTHORS_CONDITION: (authors: string[]) => string;
11549
- export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
11550
- export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
11551
- export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
11552
- export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
11553
- export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
11554
- export const POST_ITEM_FIELDS: DocumentNode;
11621
+ /**
11622
+ * Textarea that expands vertically to fit content.
11623
+ * If maxLength is given, also displays a count of remaining characters when focused
11624
+ */
11625
+ export const Textarea: FC<TextareaProps>;
11555
11626
  }
11556
- declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
11557
- import { Post } from "libs/reach/feature/content/src/posts/utils";
11558
- import { DependencyList } from 'react';
11559
- export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
11627
+ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
11628
+ import { FC } from 'react';
11629
+ interface Props {
11630
+ onInsert: (files: File[]) => void;
11631
+ accept?: string;
11632
+ captionKey?: string;
11633
+ captionIconName?: string;
11634
+ descriptionKey?: string;
11635
+ descriptionIconName?: string;
11636
+ singleMode?: boolean;
11637
+ }
11638
+ export const InsertFilesButton: FC<Props>;
11639
+ export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11640
+ isActive?: boolean;
11641
+ }, never>;
11560
11642
  }
11561
- declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
11562
- import { UserGroup } from "libs/reach/util/common/src/index";
11563
- export function usePostKeywordSettings(): (group: UserGroup) => {
11564
- availableKeywords: import("@livetiles/reach/util/common").Keyword[];
11565
- defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
11566
- mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
11567
- };
11643
+ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
11644
+ import { FC } from 'react';
11645
+ interface Props {
11646
+ onInsert: (files: File[]) => void;
11647
+ accept?: string;
11648
+ captionKey?: string;
11649
+ descriptionKey?: string;
11650
+ }
11651
+ export const InsertImagesButton: FC<Props>;
11568
11652
  }
11569
- declare module "libs/reach/feature/content/src/posts/index" {
11570
- export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
11571
- export * from "libs/reach/feature/content/src/posts/PostCreator";
11572
- export * from "libs/reach/feature/content/src/posts/PostDisplay";
11573
- export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
11574
- export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
11575
- export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
11576
- export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
11577
- export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
11578
- export * from "libs/reach/feature/content/src/posts/usePostsApi";
11579
- export * from "libs/reach/feature/content/src/posts/utils";
11653
+ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
11654
+ import { FC } from 'react';
11655
+ interface DateTimePickerProps {
11656
+ date: string;
11657
+ maxDate?: string;
11658
+ minDate?: string;
11659
+ dateValidationResourceKey?: string;
11660
+ timeValidationResourceKey?: string;
11661
+ readOnly?: boolean;
11662
+ onChanged: (date: string, isValid: boolean) => void;
11663
+ noDateResourceKey: string;
11664
+ selectDateResourceKey: string;
11665
+ dateOnly?: boolean;
11666
+ initialPickerDate?: string;
11667
+ label?: string;
11668
+ isRequired?: boolean;
11669
+ className?: string;
11670
+ }
11671
+ export const DateTimePicker: FC<DateTimePickerProps>;
11672
+ export default DateTimePicker;
11673
+ }
11674
+ declare module "libs/reach/feature/content/src/forms/DateRange" {
11675
+ import moment, { Moment } from 'moment';
11676
+ export enum DateRange {
11677
+ TwoYears = 0,
11678
+ OneYear = 1,
11679
+ SixMonths = 2,
11680
+ TwoMonths = 3,
11681
+ OneMonth = 4,
11682
+ SevenDays = 5,
11683
+ YesterDay = 6,
11684
+ Today = 7
11685
+ }
11686
+ export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
11687
+ export function dateToDateRange(date: string | moment.Moment): number;
11688
+ export function dateRangeToDate(range: DateRange): Moment;
11689
+ }
11690
+ declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
11691
+ import { FC } from 'react';
11692
+ import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
11693
+ export const DateRangeSlider: FC<{
11694
+ value?: DateRange;
11695
+ onChange: (range: DateRange) => unknown;
11696
+ }>;
11697
+ }
11698
+ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
11699
+ import { FC } from 'react';
11700
+ import { WrappedComponentProps } from 'react-intl';
11701
+ import { SelectionMode } from 'office-ui-fabric-react';
11702
+ import { Account, AccountType } from "libs/reach/util/common/src/index";
11703
+ interface PeoplePickerDialogProps {
11704
+ defaultSelectedItems: Account[];
11705
+ onChange: (items: Account[]) => void;
11706
+ onDismiss: () => void;
11707
+ titleResource: string;
11708
+ intl?: WrappedComponentProps;
11709
+ selectionMode?: SelectionMode;
11710
+ allowMailItems?: boolean;
11711
+ accountType: AccountType;
11712
+ showDialog: boolean;
11713
+ allowEmptyValue: boolean;
11714
+ includePendingInvitationUsers?: boolean;
11715
+ placeholderStringResourceKey?: string;
11716
+ inputAriaLabelResourceKey: string;
11717
+ }
11718
+ export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
11719
+ }
11720
+ declare module "libs/reach/feature/content/src/forms/index" {
11721
+ export * from "libs/reach/feature/content/src/forms/KeywordDialog";
11722
+ export * from "libs/reach/feature/content/src/forms/Textarea";
11723
+ export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
11724
+ export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
11725
+ export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
11726
+ export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
11727
+ export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
11728
+ export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
11729
+ export * from "libs/reach/feature/content/src/forms/DateTimePicker";
11730
+ export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
11731
+ export * from "libs/reach/feature/content/src/forms/DateRange";
11732
+ export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
11733
+ export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
11734
+ export * from "libs/reach/feature/content/src/forms/videos/VideoView";
11580
11735
  }
11581
11736
  declare module "libs/reach/feature/content/src/editor/EditorListItem" {
11582
11737
  import { FC, ReactNode } from 'react';
@@ -11726,6 +11881,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
11726
11881
  event: EventStreamItem;
11727
11882
  }>;
11728
11883
  }
11884
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11885
+ import { FC } from 'react';
11886
+ export const GlobalSearchButton: FC<{
11887
+ className?: string;
11888
+ }>;
11889
+ }
11729
11890
  declare module "libs/reach/feature/content/src/stream/StreamList" {
11730
11891
  import { FC, ReactNode } from 'react';
11731
11892
  import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11793,12 +11954,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
11793
11954
  export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
11794
11955
  export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
11795
11956
  }
11796
- declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11797
- import { FC } from 'react';
11798
- export const GlobalSearchButton: FC<{
11799
- className?: string;
11800
- }>;
11801
- }
11802
11957
  declare module "libs/reach/feature/content/src/search/index" {
11803
11958
  export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
11804
11959
  }