@livetiles/reach-plugin-types 0.5.0-preview.39 → 0.5.0-preview.391

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 +1687 -1251
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -216,11 +216,27 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
216
216
  extraScopes: string[];
217
217
  }
218
218
  }
219
+ declare module "libs/shared/util/environment/src/AnalyticsConfig" {
220
+ export interface DashboardConfig {
221
+ name: string;
222
+ title: string;
223
+ id: number;
224
+ params?: string;
225
+ }
226
+ export interface AnalyticsConfig {
227
+ hostName: string;
228
+ regions?: {
229
+ [key: string]: string;
230
+ };
231
+ dashboards: DashboardConfig[];
232
+ }
233
+ }
219
234
  declare module "libs/shared/util/environment/src/AppConfiguration" {
220
235
  import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
221
236
  import { AuthenticationType } from "libs/shared/util/authentication/src/index";
222
237
  import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
223
238
  import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
239
+ import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
224
240
  export enum ConfigType {
225
241
  Local = "local",
226
242
  Dev = "dev",
@@ -232,6 +248,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
232
248
  export interface VideoSource {
233
249
  prefix: string;
234
250
  name: string;
251
+ alwaysShowPlayer?: boolean;
235
252
  }
236
253
  export interface AppConfiguration {
237
254
  configType: ConfigType;
@@ -266,9 +283,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
266
283
  oneSignal?: {
267
284
  appId: string;
268
285
  };
286
+ analytics: AnalyticsConfig;
269
287
  }
270
288
  }
271
289
  declare module "libs/shared/util/environment/src/ClientConfig" {
290
+ import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
291
+ import { ConfigType, VideoSource } from "libs/shared/util/environment/src/AppConfiguration";
272
292
  export interface ClientConfig {
273
293
  maxFileSizeInMb: number;
274
294
  unsplash: {
@@ -286,9 +306,13 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
286
306
  giphy: {
287
307
  apiKey: string;
288
308
  };
309
+ analytics: AnalyticsConfig;
310
+ configType: ConfigType;
311
+ additionalVideoSources: VideoSource[];
289
312
  }
290
313
  }
291
314
  declare module "libs/shared/util/environment/src/EnvironmentConfig" {
315
+ import { DeviceInfo } from '@capacitor/device';
292
316
  export interface EnvironmentConfig {
293
317
  isCustomerBuild: boolean;
294
318
  isProduction: boolean;
@@ -306,11 +330,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
306
330
  buildId: string;
307
331
  useAzureAdFunctionality: boolean;
308
332
  envName: string;
309
- }
310
- type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
311
- interface DeviceInfo {
312
- platform: 'ios' | 'android' | 'web';
313
- operatingSystem: OperatingSystem;
333
+ mobileTeamsHost?: string;
314
334
  }
315
335
  }
316
336
  declare module "libs/shared/util/environment/src/environment" {
@@ -322,6 +342,7 @@ declare module "libs/shared/util/environment/src/environment" {
322
342
  export function setAppConfig(newValue: AppConfiguration & ClientConfig): void;
323
343
  }
324
344
  declare module "libs/shared/util/environment/src/EnvironmentContext" {
345
+ import { VideoSource } from "libs/shared/util/environment/src/AppConfiguration";
325
346
  import { EnvironmentConfig } from "libs/shared/util/environment/src/EnvironmentConfig";
326
347
  interface AppConfig {
327
348
  apiEndpoint: string;
@@ -329,6 +350,7 @@ declare module "libs/shared/util/environment/src/EnvironmentContext" {
329
350
  webSocketsEndpoint: string;
330
351
  webAppUrl: string;
331
352
  additionalWebAppUrls?: string[];
353
+ additionalVideoSources?: VideoSource[];
332
354
  }
333
355
  export type EnvironmentContextType = {
334
356
  env: EnvironmentConfig;
@@ -1425,6 +1447,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1425
1447
  customDomain?: string;
1426
1448
  allowSelfRegistration?: boolean;
1427
1449
  brandFolderConfig?: BrandFolderConfig;
1450
+ hideSubscriptionName?: boolean;
1428
1451
  }
1429
1452
  export interface BrandFolderConfig {
1430
1453
  sections?: string[];
@@ -1501,9 +1524,21 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1501
1524
  subscriptionId: string;
1502
1525
  subscriptionName: string;
1503
1526
  }
1504
- export interface PluginExtension {
1505
- area: string;
1506
- componentName: string;
1527
+ export enum ExtensionArea {
1528
+ global = "Global",
1529
+ page = "Page",
1530
+ eventEditorFeedbackSection = "EventEditorFeedbackSection",
1531
+ eventDetailViewSection = "EventDetailViewSection",
1532
+ itemEditor = "ItemEditor",
1533
+ newsEditorFeedbackSection = "NewsEditorFeedbackSection",
1534
+ newsOverviewCardSection = "NewsOverviewCardSection"
1535
+ }
1536
+ export type InlinePlugin = {
1537
+ area: ExtensionArea.itemEditor;
1538
+ objectButton: PluginObjectButton;
1539
+ };
1540
+ export type PagePlugin = {
1541
+ area: ExtensionArea.page;
1507
1542
  route: string;
1508
1543
  navigationNode?: {
1509
1544
  componentName?: string;
@@ -1513,7 +1548,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1513
1548
  [key: string]: string;
1514
1549
  };
1515
1550
  };
1516
- }
1551
+ };
1552
+ export type PluginExtension = {
1553
+ area: ExtensionArea;
1554
+ componentName: string;
1555
+ } & (InlinePlugin | PagePlugin);
1556
+ export type PluginObjectButton = {
1557
+ buttonLabel: {
1558
+ defaultLabel: string;
1559
+ translations?: {
1560
+ [key: string]: string;
1561
+ };
1562
+ };
1563
+ iconName: string;
1564
+ };
1517
1565
  export interface PluginNotificationDefinitions {
1518
1566
  key: string;
1519
1567
  title: string;
@@ -1617,6 +1665,8 @@ declare module "libs/reach/util/common/src/user/User" {
1617
1665
  pluginNotifications: {
1618
1666
  [key: string]: NotificationType;
1619
1667
  };
1668
+ newsEditor: NotificationType;
1669
+ eventEditor: NotificationType;
1620
1670
  }
1621
1671
  export interface RequestUser extends BasicUserInformation {
1622
1672
  tenantId: string;
@@ -1652,6 +1702,7 @@ declare module "libs/reach/util/common/src/user/User" {
1652
1702
  termsAndConditionsApprovedHash: string;
1653
1703
  isPublicUser?: boolean;
1654
1704
  hasUnreadChats?: boolean;
1705
+ publicSubscriptionIds?: string[];
1655
1706
  }
1656
1707
  export interface GroupUser extends UserSummary {
1657
1708
  role: {
@@ -1717,6 +1768,7 @@ declare module "libs/reach/util/common/src/user/User" {
1717
1768
  user: UserSummary;
1718
1769
  type: SubscriptionJoinResultType;
1719
1770
  message?: string;
1771
+ isSuccess?: boolean;
1720
1772
  }
1721
1773
  export interface UserActivationResult {
1722
1774
  type: UserActivationResultType;
@@ -1943,11 +1995,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
1943
1995
  knownState: KnownNewsState;
1944
1996
  hasNewComments?: boolean;
1945
1997
  isLiked?: boolean;
1946
- shareToken?: ShareToken;
1947
- }
1948
- export interface ShareToken {
1949
- published?: string;
1950
- preview?: string;
1951
1998
  }
1952
1999
  export interface NewsItemAlertOptions {
1953
2000
  duration?: string;
@@ -2135,6 +2182,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
2135
2182
  useExternalContent?: boolean;
2136
2183
  isDemoContent?: boolean;
2137
2184
  }
2185
+ export interface ShareablePublishableItem extends PublishableItem {
2186
+ shareToken: ShareToken;
2187
+ }
2188
+ export interface ShareToken {
2189
+ published?: string;
2190
+ preview?: string;
2191
+ }
2138
2192
  export interface PublishableItemVersion extends PublishableItem {
2139
2193
  itemId: string;
2140
2194
  versionModificationDate: string;
@@ -2158,6 +2212,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
2158
2212
  }
2159
2213
  }
2160
2214
  declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
2215
+ import { Api } from 'restful.js';
2161
2216
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
2162
2217
  export class ClientFactoryInstance {
2163
2218
  private env;
@@ -2168,7 +2223,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
2168
2223
  constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
2169
2224
  url: string;
2170
2225
  }) => Promise<unknown>);
2171
- createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => any;
2226
+ createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
2172
2227
  private createApiInternal;
2173
2228
  private addRequestTimeLogger;
2174
2229
  createApiUrl: (url: string, query?: {
@@ -2261,6 +2316,11 @@ declare module "libs/reach/util/common/src/user/useCurrentUserApi" {
2261
2316
  deleteCurrentUserAvatar: () => Promise<unknown>;
2262
2317
  };
2263
2318
  }
2319
+ declare module "libs/reach/util/common/src/user/useCachedCurrentUserApi" {
2320
+ export function useCachedCurrentUserApi(): {
2321
+ getCurrentUser: (subscriptionId: string) => Promise<import("libs/reach/util/common/src/user").CurrentUser>;
2322
+ };
2323
+ }
2264
2324
  declare module "libs/reach/util/common/src/content/Attachment" {
2265
2325
  export enum AttachmentType {
2266
2326
  Image = 0,
@@ -2486,12 +2546,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2486
2546
  isUnlinked?: boolean;
2487
2547
  pageType?: PageType;
2488
2548
  firstChildId?: string;
2549
+ isGroupInheritanceBroken?: boolean;
2489
2550
  }
2490
2551
  export interface ContentsSummary {
2491
2552
  [lang: string]: TitleContent & {
2492
2553
  fileInfo?: DocumentFileInfo;
2493
2554
  };
2494
2555
  }
2556
+ export interface GroupInheritanceUpdateRequest {
2557
+ breakGroupInheritance: boolean;
2558
+ }
2495
2559
  export interface PageNavigationNode {
2496
2560
  id: string;
2497
2561
  contents?: ContentsSummary;
@@ -2507,6 +2571,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2507
2571
  hasAnyPageChild?: boolean;
2508
2572
  pageType?: PageType;
2509
2573
  useExternalContent?: boolean;
2574
+ isGroupInheritanceBroken?: boolean;
2510
2575
  isSearchMatch?: boolean;
2511
2576
  topLevelFolderName?: string;
2512
2577
  uploadToken?: string;
@@ -2675,6 +2740,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
2675
2740
  export function accessDeniedIntercept(error: any): Promise<boolean>;
2676
2741
  export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
2677
2742
  }
2743
+ declare module "libs/reach/util/common/src/Variables" {
2744
+ export const maxContentWidth = 985;
2745
+ export const adminMaxWidth = 600;
2746
+ export const spacingXxs = 3;
2747
+ export const spacingXs = 6;
2748
+ export const spacingS = 10;
2749
+ export const spacingM = 20;
2750
+ export const spacingL = 30;
2751
+ export const spacingX = 40;
2752
+ export const spacingXl = 60;
2753
+ export const minScreenSize: {
2754
+ small: number;
2755
+ medium: number;
2756
+ large: number;
2757
+ xLarge: number;
2758
+ xxLarge: number;
2759
+ xxxLarge: number;
2760
+ };
2761
+ export const maxScreenSize: {
2762
+ small: number;
2763
+ medium: number;
2764
+ large: number;
2765
+ xLarge: number;
2766
+ xxLarge: number;
2767
+ };
2768
+ export const sidebarWidth = 285;
2769
+ export const sidebarWidthRight = 320;
2770
+ export const sidebarItemHeight = 50;
2771
+ export const headerHeight = 50;
2772
+ export const headerSecondaryHeight = 50;
2773
+ export const notificationHeight = 50;
2774
+ export const mainContentPanelWidth = 300;
2775
+ export const mainContentPanelMinScreenSize = 1740;
2776
+ export const fontSizeLarger = 40;
2777
+ export const fontSizeLarge = 25;
2778
+ export const fontSizeMedium = 18;
2779
+ export const fontSizeNormal = 16;
2780
+ export const fontSizeSmall = 14;
2781
+ export const fontSizeSmaller = 12;
2782
+ export const socialIconSize = 26;
2783
+ export const lineHeight = 23;
2784
+ export const smallScreenLoginHeight = 40;
2785
+ export const bannerAspectRatio: number;
2786
+ export const bannerWidth = 980;
2787
+ export const bannerHeight = 420;
2788
+ export const HighlightBubbleSize = 12;
2789
+ export const StatusBubbleSize = 10;
2790
+ export const shadowColor = "rgba(0, 0, 0, 0.2)";
2791
+ export const diffPreviousVersionColour = "rgb(221, 221, 221)";
2792
+ export const diffActiveVersionColour = "rgb(206, 255, 188)";
2793
+ export const dialogSpacing = 24;
2794
+ export const detailViewSectionPadding = 20;
2795
+ export const detailViewSectionPaddingLarge = 60;
2796
+ export const postsSectionPadding = 20;
2797
+ export const attachmentRoundedCornerSize = 10;
2798
+ export const videoAttachmentRoundedCornerSize = 20;
2799
+ export const inlinePageBannerRoundedCornerSize = 5;
2800
+ export const feedbackButtonHeight = 32;
2801
+ export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
2802
+ export const mainContentContainerId = "lt-reach-main-content";
2803
+ export const mainModalContentContainerId = "lt-reach-main-modal-content";
2804
+ export const statusColors: {
2805
+ draft: string;
2806
+ ready: string;
2807
+ rejected: string;
2808
+ };
2809
+ export const cardWidthS = 260;
2810
+ export const cardWidthM = 354;
2811
+ export const cardWidthL = 314;
2812
+ export const cardWidthXL = 423;
2813
+ export const managePagesRowWidth = 300;
2814
+ export const managePagesRowHeight = 40;
2815
+ export const mobilePreviewWidth = 414;
2816
+ }
2817
+ declare module "libs/reach/util/common/src/common-utils" {
2818
+ import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
2819
+ import { IntlShape } from 'react-intl';
2820
+ export function getMainScrollableContainer(): HTMLElement;
2821
+ export enum LinkType {
2822
+ Internal = "internal",
2823
+ External = "external",
2824
+ Download = "download"
2825
+ }
2826
+ 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}";
2827
+ export const DefaultSubscriptionName = "LiveTiles Reach";
2828
+ export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
2829
+ export function getSubscriptionName(subscription: SubscriptionSummary): string;
2830
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
2831
+ logoInfo: LogoInfo;
2832
+ subscriptionName: string;
2833
+ };
2834
+ }
2835
+ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
2836
+ export enum AnalyticsInteractionEvents {
2837
+ embeddedVideo = "embedded-video",
2838
+ embeddedAudio = "embedded-audio",
2839
+ languageChange = "language-change",
2840
+ eventRegistration = "event-registration",
2841
+ eventSeriesRegistration = "event-series-registration",
2842
+ translateContent = "translate-content",
2843
+ downloadFile = "download-file",
2844
+ embeddedIframe = "embedded-iframe",
2845
+ externalLink = "external-link",
2846
+ follow = "follow",
2847
+ bookmark = "bookmark"
2848
+ }
2849
+ export enum AnalyticsActions {
2850
+ click = "click",
2851
+ navigate = "navigate",
2852
+ view = "view",
2853
+ search = "search"
2854
+ }
2855
+ export enum AnalyticsModuleType {
2856
+ Admin = "admin",
2857
+ Chat = "chat",
2858
+ Comments = "comments",
2859
+ Events = "events",
2860
+ Search = "search",
2861
+ News = "news",
2862
+ Pages = "pages",
2863
+ People = "people",
2864
+ Posts = "posts",
2865
+ Stream = "stream",
2866
+ User = "user"
2867
+ }
2868
+ export enum AnalyticsModuleSubtype {
2869
+ AllChats = "allChats",
2870
+ AllNews = "allNews",
2871
+ AllPosts = "allPosts",
2872
+ Bookmarks = "bookmarks",
2873
+ Channel = "channel",
2874
+ Channels = "channels",
2875
+ ChatConversation = "conversation",
2876
+ Customization = "customization",
2877
+ DetailView = "detailView",
2878
+ DirectoryConfig = "directoryConfiguration",
2879
+ Group = "group",
2880
+ Groups = "groups",
2881
+ Keywords = "keywords",
2882
+ Languages = "languages",
2883
+ MyNews = "myNews",
2884
+ Owners = "owners",
2885
+ Preview = "preview",
2886
+ RootPages = "rootPages",
2887
+ Search = "search",
2888
+ SelfRegistration = "selfRegistration",
2889
+ TargetAudience = "targetAudience",
2890
+ UpcomingEvents = "upcoming",
2891
+ BookedEvents = "booked",
2892
+ PastEvents = "past",
2893
+ Users = "users",
2894
+ WebHooks = "webHooks",
2895
+ Editor = "editor"
2896
+ }
2897
+ }
2898
+ declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
2899
+ export function useLinkInteraction(): void;
2900
+ }
2901
+ declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
2902
+ export function useIframeInteraction(): void;
2903
+ }
2904
+ declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
2905
+ import { FC } from 'react';
2906
+ import { EventModule } from '@livetiles/analytics';
2907
+ export const AnalyticsModuleContext: import("react").Context<EventModule>;
2908
+ export const AnalyticsModuleContextProvider: FC<{
2909
+ module: EventModule;
2910
+ }>;
2911
+ }
2912
+ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
2913
+ import { Dispatch, FC, SetStateAction } from 'react';
2914
+ import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
2915
+ export interface SearchAnalytics {
2916
+ data: EventSearch[];
2917
+ onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
2918
+ onItemRead: (itemId: string) => void;
2919
+ }
2920
+ export interface ModuleAnalytics {
2921
+ module: EventModule;
2922
+ setModule: Dispatch<SetStateAction<EventModule>>;
2923
+ }
2924
+ interface ActivityAnalytics {
2925
+ trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
2926
+ sendActivity: () => void;
2927
+ }
2928
+ export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
2929
+ export const AnalyticsContext: import("react").Context<ReachAnalytics>;
2930
+ export function useAnalyticsContext(): {
2931
+ interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
2932
+ trackActivity: (scrollContainer?: HTMLElement) => Activity;
2933
+ getUser: () => import("@segment/analytics-next").User;
2934
+ identify: (userId: string, traits?: Record<string, unknown>) => void;
2935
+ activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
2936
+ module: EventModule;
2937
+ setModule: Dispatch<SetStateAction<EventModule>>;
2938
+ data: EventSearch[];
2939
+ onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
2940
+ onItemRead: (itemId: string) => void;
2941
+ sendActivity: () => void;
2942
+ };
2943
+ export const AnalyticsLibraryContextProvider: FC<{
2944
+ appName?: string;
2945
+ }>;
2946
+ export const AnalyticsContextProvider: FC;
2947
+ }
2948
+ declare module "libs/reach/util/common/src/PagingService" {
2949
+ import { Observable } from 'rxjs';
2950
+ export const onPageScroll: Observable<number>;
2951
+ export function handlePageScroll(availableScrollSpace: number): void;
2952
+ export function setPageTitle(subscriptionName: string, title?: string): void;
2953
+ export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
2954
+ }
2955
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
2956
+ import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
2957
+ export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
2958
+ export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
2959
+ }
2960
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
2961
+ export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
2962
+ }
2963
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
2964
+ export function useAnalyticsNavigateTrack(): void;
2965
+ }
2966
+ declare module "libs/reach/util/common/src/analytics/index" {
2967
+ export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
2968
+ export * from "libs/reach/util/common/src/analytics/analyticsUtils";
2969
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
2970
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
2971
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
2972
+ export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
2973
+ }
2678
2974
  declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
2679
2975
  import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
2680
2976
  import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
@@ -2748,6 +3044,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2748
3044
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2749
3045
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2750
3046
  importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
3047
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
3048
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2751
3049
  };
2752
3050
  }
2753
3051
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -2773,6 +3071,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2773
3071
  customDomain?: string;
2774
3072
  allowSelfRegistration?: boolean;
2775
3073
  brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
3074
+ hideSubscriptionName?: boolean;
2776
3075
  id: string;
2777
3076
  subscriptionName: string;
2778
3077
  subscriptionHandle?: string;
@@ -2816,6 +3115,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2816
3115
  termsAndConditionsApprovedHash: string;
2817
3116
  isPublicUser?: boolean;
2818
3117
  hasUnreadChats?: boolean;
3118
+ publicSubscriptionIds?: string[];
2819
3119
  id?: string;
2820
3120
  type?: import("@livetiles/reach/util/common").AccountType;
2821
3121
  tenantId?: string;
@@ -2857,13 +3157,6 @@ declare module "libs/reach/util/common/src/user/useSubscriptionWebAppUrl" {
2857
3157
  export function useSubscriptionWebAppUrl(): string;
2858
3158
  export function useSubscriptionWebAppUrls(): string[];
2859
3159
  }
2860
- declare module "libs/reach/util/common/src/user/useChannelsApi" {
2861
- import { Channel } from "libs/reach/util/common/src/user/Channel";
2862
- export function useChannelsApi(): {
2863
- getChannels: () => Promise<Channel[]>;
2864
- getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
2865
- };
2866
- }
2867
3160
  declare module "libs/reach/util/common/src/user/index" {
2868
3161
  export * from "libs/reach/util/common/src/user/features/FeatureSet";
2869
3162
  export * from "libs/reach/util/common/src/user/features/WithFeatures";
@@ -2882,6 +3175,7 @@ declare module "libs/reach/util/common/src/user/index" {
2882
3175
  export * from "libs/reach/util/common/src/user/useAccountApi";
2883
3176
  export * from "libs/reach/util/common/src/user/useCurrentUser";
2884
3177
  export * from "libs/reach/util/common/src/user/useCurrentUserApi";
3178
+ export * from "libs/reach/util/common/src/user/useCachedCurrentUserApi";
2885
3179
  export * from "libs/reach/util/common/src/user/useManageCurrentUserApi";
2886
3180
  export * from "libs/reach/util/common/src/user/useUserAdminApi";
2887
3181
  export * from "libs/reach/util/common/src/user/CurrentUserDetailContextProvider";
@@ -2889,7 +3183,6 @@ declare module "libs/reach/util/common/src/user/index" {
2889
3183
  export * from "libs/reach/util/common/src/user/useSubscriptionHandlePathBuilder";
2890
3184
  export * from "libs/reach/util/common/src/user/CurrentUserContext";
2891
3185
  export * from "libs/reach/util/common/src/user/useSubscriptionWebAppUrl";
2892
- export * from "libs/reach/util/common/src/user/useChannelsApi";
2893
3186
  export * from "libs/reach/util/common/src/user/LanguageUtils";
2894
3187
  export * from "libs/reach/util/common/src/user/content-languages-util";
2895
3188
  }
@@ -2938,7 +3231,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
2938
3231
  getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
2939
3232
  saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
2940
3233
  saveFile: (pluginId: string, file: File) => Promise<Response>;
2941
- generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<any>;
3234
+ generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
2942
3235
  linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
2943
3236
  unlinkPlugin: (pluginId: string) => Promise<any>;
2944
3237
  };
@@ -3044,17 +3337,15 @@ declare module "libs/reach/util/common/src/Models" {
3044
3337
  }
3045
3338
  }
3046
3339
  declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
3047
- import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
3340
+ import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
3048
3341
  import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
3049
- export enum ExtensionArea {
3050
- global = "Global",
3051
- page = "Page",
3052
- eventEditorFeedbackSection = "EventEditorFeedbackSection",
3053
- eventDetailViewSection = "EventDetailViewSection"
3054
- }
3055
3342
  export interface PluginNavigationNodeProps {
3056
3343
  navigationNodeProps?: PageNavigationNodeProps;
3057
3344
  }
3345
+ export type EmbeddedPluginProps = PluginProps & {
3346
+ isEditMode?: boolean;
3347
+ componentInstanceId: string;
3348
+ };
3058
3349
  export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
3059
3350
  type DevPlugin = {
3060
3351
  pluginId: string;
@@ -3108,22 +3399,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
3108
3399
  }
3109
3400
  declare module "libs/reach/util/common/src/plugins/Plugins" {
3110
3401
  import { FC } from 'react';
3111
- import { ExtensionArea } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3402
+ import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
3112
3403
  export const Plugins: FC<{
3113
3404
  area: ExtensionArea;
3114
3405
  } & any>;
3115
3406
  }
3116
- declare module "libs/reach/util/common/src/plugins/index" {
3117
- export * from "libs/reach/util/common/src/plugins/PluginContext";
3118
- export * from "libs/reach/util/common/src/plugins/PluginWrapper";
3119
- export * from "libs/reach/util/common/src/plugins/Plugins";
3120
- export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
3121
- export * from "libs/reach/util/common/src/plugins/usePluginApi";
3122
- export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
3123
- export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
3124
- export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
3125
- export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
3126
- }
3127
3407
  declare module "libs/reach/util/common/src/theme/ColorGenerator" {
3128
3408
  export class Color {
3129
3409
  private r;
@@ -3268,77 +3548,24 @@ declare module "libs/reach/util/common/src/theme/index" {
3268
3548
  export * from "libs/reach/util/common/src/theme/ThemeService";
3269
3549
  export * from "libs/reach/util/common/src/theme/ColorGenerator";
3270
3550
  }
3271
- declare module "libs/reach/util/common/src/Variables" {
3272
- export const maxContentWidth = 985;
3273
- export const adminMaxWidth = 600;
3274
- export const spacingXxs = 3;
3275
- export const spacingXs = 6;
3276
- export const spacingS = 10;
3277
- export const spacingM = 20;
3278
- export const spacingL = 30;
3279
- export const spacingX = 40;
3280
- export const spacingXl = 60;
3281
- export const minScreenSize: {
3282
- small: number;
3283
- medium: number;
3284
- large: number;
3285
- xLarge: number;
3286
- xxLarge: number;
3287
- xxxLarge: number;
3288
- };
3289
- export const maxScreenSize: {
3290
- small: number;
3291
- medium: number;
3292
- large: number;
3293
- xLarge: number;
3294
- xxLarge: number;
3295
- };
3296
- export const sidebarWidth = 285;
3297
- export const sidebarWidthRight = 320;
3298
- export const sidebarItemHeight = 50;
3299
- export const headerHeight = 50;
3300
- export const headerSecondaryHeight = 50;
3301
- export const notificationHeight = 50;
3302
- export const mainContentPanelWidth = 300;
3303
- export const mainContentPanelMinScreenSize = 1740;
3304
- export const fontSizeLarger = 40;
3305
- export const fontSizeLarge = 25;
3306
- export const fontSizeMedium = 18;
3307
- export const fontSizeNormal = 16;
3308
- export const fontSizeSmall = 14;
3309
- export const fontSizeSmaller = 12;
3310
- export const socialIconSize = 26;
3311
- export const lineHeight = 23;
3312
- export const smallScreenLoginHeight = 40;
3313
- export const bannerAspectRatio: number;
3314
- export const bannerWidth = 980;
3315
- export const bannerHeight = 420;
3316
- export const HighlightBubbleSize = 12;
3317
- export const StatusBubbleSize = 10;
3318
- export const shadowColor = "rgba(0, 0, 0, 0.2)";
3319
- export const diffPreviousVersionColour = "rgb(221, 221, 221)";
3320
- export const diffActiveVersionColour = "rgb(206, 255, 188)";
3321
- export const dialogSpacing = 24;
3322
- export const detailViewSectionPadding = 20;
3323
- export const detailViewSectionPaddingLarge = 60;
3324
- export const postsSectionPadding = 20;
3325
- export const attachmentRoundedCornerSize = 10;
3326
- export const videoAttachmentRoundedCornerSize = 20;
3327
- export const inlinePageBannerRoundedCornerSize = 5;
3328
- export const feedbackButtonHeight = 32;
3329
- export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
3330
- export const statusColors: {
3331
- draft: string;
3332
- ready: string;
3333
- rejected: string;
3334
- };
3335
- export const cardWidthS = 260;
3336
- export const cardWidthM = 354;
3337
- export const cardWidthL = 314;
3338
- export const cardWidthXL = 423;
3339
- export const managePagesRowWidth = 300;
3340
- export const managePagesRowHeight = 40;
3341
- export const mobilePreviewWidth = 414;
3551
+ declare module "libs/reach/util/common/src/plugins/Plugin" {
3552
+ import { FC } from 'react';
3553
+ import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3554
+ export const Plugin: FC<PluginProps & {
3555
+ showDetailedErrorMessage?: boolean;
3556
+ } & any>;
3557
+ }
3558
+ declare module "libs/reach/util/common/src/plugins/index" {
3559
+ export * from "libs/reach/util/common/src/plugins/PluginContext";
3560
+ export * from "libs/reach/util/common/src/plugins/PluginWrapper";
3561
+ export * from "libs/reach/util/common/src/plugins/Plugins";
3562
+ export * from "libs/reach/util/common/src/plugins/Plugin";
3563
+ export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
3564
+ export * from "libs/reach/util/common/src/plugins/usePluginApi";
3565
+ export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
3566
+ export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
3567
+ export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
3568
+ export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
3342
3569
  }
3343
3570
  declare module "libs/reach/util/common/src/notification/NotificationContext" {
3344
3571
  import { FC, ReactNode } from 'react';
@@ -3377,11 +3604,37 @@ declare module "libs/reach/util/common/src/notification/index" {
3377
3604
  export * from "libs/reach/util/common/src/notification/NotificationContext";
3378
3605
  export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
3379
3606
  }
3380
- declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
3381
- import { FC, ReactNode } from 'react';
3382
- export const EnforcedSubscriptionContextProvider: FC<{
3383
- loadingIndicator?: ReactNode;
3384
- }>;
3607
+ declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
3608
+ export function useCachedKeywordsApi(): {
3609
+ getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
3610
+ getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
3611
+ };
3612
+ }
3613
+ declare module "libs/reach/util/common/src/keywords/index" {
3614
+ export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
3615
+ export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
3616
+ }
3617
+ declare module "libs/reach/util/common/src/channels/useChannelsApi" {
3618
+ import { Channel } from "libs/reach/util/common/src/user/Channel";
3619
+ export function useChannelsApi(): {
3620
+ getChannels: () => Promise<Channel[]>;
3621
+ getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
3622
+ };
3623
+ }
3624
+ declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
3625
+ export function useCachedChannelsApi(): {
3626
+ getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
3627
+ };
3628
+ }
3629
+ declare module "libs/reach/util/common/src/channels/index" {
3630
+ export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
3631
+ export * from "libs/reach/util/common/src/channels/useChannelsApi";
3632
+ }
3633
+ declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
3634
+ import { FC, ReactNode } from 'react';
3635
+ export const EnforcedSubscriptionContextProvider: FC<{
3636
+ loadingIndicator?: ReactNode;
3637
+ }>;
3385
3638
  }
3386
3639
  declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
3387
3640
  import { FC } from 'react';
@@ -3403,10 +3656,11 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
3403
3656
  refreshSubscription: () => void;
3404
3657
  }>;
3405
3658
  export const LazySubscriptionContextProvider: FC;
3659
+ export const LazyCachedSubscriptionContextProvider: FC;
3406
3660
  export const LazySubscriptionContextProviderBase: FC<{
3407
- getChannels: () => Promise<Channel[]>;
3408
- getAllKeywords: (force?: boolean) => Promise<Keyword[]>;
3409
- getSelectedGroups: () => Promise<KeywordGroup[]>;
3661
+ getChannels: (subscriptionId: string) => Promise<Channel[]>;
3662
+ getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
3663
+ getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
3410
3664
  }>;
3411
3665
  }
3412
3666
  declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
@@ -3416,10 +3670,14 @@ declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
3416
3670
  getTermsAndConditions: () => Promise<TermsAndConditions>;
3417
3671
  };
3418
3672
  }
3673
+ declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
3674
+ export function useLazySubscriptionContext(): import("libs/reach/util/common/src/subscription/SubscriptionContext").LazySubscriptionContextType;
3675
+ }
3419
3676
  declare module "libs/reach/util/common/src/subscription/index" {
3420
3677
  export * from "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider";
3421
3678
  export * from "libs/reach/util/common/src/subscription/SubscriptionContext";
3422
3679
  export * from "libs/reach/util/common/src/subscription/useSubscriptionApi";
3680
+ export * from "libs/reach/util/common/src/subscription/useLazySubscriptionContext";
3423
3681
  }
3424
3682
  declare module "libs/reach/util/common/src/AppTrigger" {
3425
3683
  import { DependencyList } from 'react';
@@ -3442,6 +3700,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
3442
3700
  width?: number;
3443
3701
  height?: number;
3444
3702
  }
3703
+ export interface ImageWithAlignment extends ImageDetails {
3704
+ imageAlignment?: ImageAlignment;
3705
+ }
3706
+ export enum ImageAlignment {
3707
+ Default = "default",
3708
+ Left = "left",
3709
+ Right = "right",
3710
+ Center = "center"
3711
+ }
3445
3712
  }
3446
3713
  declare module "libs/reach/util/common/src/MainContentPanelContext" {
3447
3714
  export interface MainPanelContextType {
@@ -3452,13 +3719,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
3452
3719
  }
3453
3720
  export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
3454
3721
  }
3455
- declare module "libs/reach/util/common/src/PagingService" {
3456
- import { Observable } from 'rxjs';
3457
- export const onPageScroll: Observable<number>;
3458
- export function handlePageScroll(availableScrollSpace: number): void;
3459
- export function setPageTitle(subscriptionName: string, title?: string): void;
3460
- export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
3461
- }
3462
3722
  declare module "libs/reach/util/common/src/keyword-utils" {
3463
3723
  import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
3464
3724
  import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
@@ -3521,6 +3781,10 @@ declare module "libs/reach/util/common/src/useModalRouting" {
3521
3781
  };
3522
3782
  };
3523
3783
  }
3784
+ declare module "libs/reach/util/common/src/ReachQueryClient" {
3785
+ import { QueryClient } from '@tanstack/react-query';
3786
+ export const ReachQueryClient: QueryClient;
3787
+ }
3524
3788
  declare module "libs/reach/util/common/src/index" {
3525
3789
  export { initializeIcons } from 'office-ui-fabric-react';
3526
3790
  export * from "libs/reach/util/common/src/FocusStyles";
@@ -3537,7 +3801,8 @@ declare module "libs/reach/util/common/src/index" {
3537
3801
  export * from "libs/reach/util/common/src/content/index";
3538
3802
  export * from "libs/reach/util/common/src/notification/index";
3539
3803
  export * from "libs/reach/util/common/src/Variables";
3540
- export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
3804
+ export * from "libs/reach/util/common/src/keywords/index";
3805
+ export * from "libs/reach/util/common/src/channels/index";
3541
3806
  export * from "libs/reach/util/common/src/subscription/index";
3542
3807
  export * from "libs/reach/util/common/src/AppTrigger";
3543
3808
  export * from "libs/reach/util/common/src/BackbuttonListenerUtil";
@@ -3550,6 +3815,9 @@ declare module "libs/reach/util/common/src/index" {
3550
3815
  export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
3551
3816
  export * from "libs/reach/util/common/src/AccessDeniedIntercept";
3552
3817
  export * from "libs/reach/util/common/src/useModalRouting";
3818
+ export * from "libs/reach/util/common/src/analytics/index";
3819
+ export * from "libs/reach/util/common/src/common-utils";
3820
+ export * from "libs/reach/util/common/src/ReachQueryClient";
3553
3821
  }
3554
3822
  declare module "libs/reach/ui/common/src/Link" {
3555
3823
  import { Link as RouterLink } from 'react-router-dom';
@@ -3606,7 +3874,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
3606
3874
  text?: string | JSX.Element;
3607
3875
  resourceKey?: string;
3608
3876
  values?: {
3609
- [key: string]: string | number | boolean | Date;
3877
+ [key: string]: string | number | boolean | Date | any;
3610
3878
  };
3611
3879
  width?: number;
3612
3880
  onClick?: () => unknown;
@@ -3686,7 +3954,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3686
3954
  export const PeoplePicker: FC<Props>;
3687
3955
  }
3688
3956
  declare module "libs/reach/ui/common/src/plugins/reach-core" {
3689
- import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme } from "libs/reach/util/common/src/index";
3957
+ import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme, EmbeddedPluginProps } from "libs/reach/util/common/src/index";
3690
3958
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3691
3959
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3692
3960
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3703,7 +3971,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3703
3971
  * @deprecated Please use `usePluginDeviceStore` instead
3704
3972
  */
3705
3973
  usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
3706
- export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
3974
+ export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
3707
3975
  }
3708
3976
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3709
3977
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3719,6 +3987,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3719
3987
  export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
3720
3988
  export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
3721
3989
  }
3990
+ declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
3991
+ export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
3992
+ }
3722
3993
  declare module "libs/reach/ui/common/src/NotificationBar" {
3723
3994
  import { FC } from 'react';
3724
3995
  export const NotificationBar: FC;
@@ -3735,6 +4006,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
3735
4006
  export const AudioFile: FC<{
3736
4007
  fileName: string;
3737
4008
  url: string;
4009
+ onPlay?: (url: string) => void;
3738
4010
  }>;
3739
4011
  export function isAudioFile(fileName: string): boolean;
3740
4012
  }
@@ -3758,37 +4030,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
3758
4030
  color?: string;
3759
4031
  }, never>;
3760
4032
  }
3761
- declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3762
- export const smallScreenSpacing = 10;
3763
- export const smallMaxContentWidth: number;
3764
- export const mediumMaxContentWidth: number;
3765
- export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3766
- }
3767
- declare module "libs/reach/ui/common/src/common/Utils" {
3768
- import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3769
- import { IntlShape } from 'react-intl';
3770
- import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3771
- export function isValidUrl(url: string): boolean;
3772
- export function getGoogleMapsSearchLink(name: string): string;
3773
- export function tryGetInternalLink(url: string, appUrls: string[]): string;
3774
- export function getExternalContentUrl(item: PublishableItem, language: string): string;
3775
- export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
3776
- export const DefaultSubscriptionName = "LiveTiles Reach";
3777
- export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3778
- export function getSubscriptionName(subscription: SubscriptionSummary): string;
3779
- 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}";
3780
- export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3781
- logoInfo: LogoInfo;
3782
- subscriptionName: string;
3783
- };
3784
- export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3785
- export function delay(delayInMs: number): Promise<unknown>;
3786
- export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3787
- defaultWidth?: number;
3788
- showPlaceholder?: boolean;
3789
- }, never>;
3790
- export function encodeChannelName(channelName: string): string;
3791
- }
3792
4033
  declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
3793
4034
  import { FC } from 'react';
3794
4035
  import { SubscriptionSummary } from "libs/reach/util/common/src/index";
@@ -3831,6 +4072,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDialog" {
3831
4072
  infoResourceValues?: any;
3832
4073
  onConfirm?: () => unknown;
3833
4074
  onClose?: () => unknown;
4075
+ width?: number;
3834
4076
  }>;
3835
4077
  }
3836
4078
  declare module "libs/reach/ui/common/src/common/ConfirmResetDialog" {
@@ -3866,7 +4108,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
3866
4108
  export const isSameDay: (value: moment.MomentInput) => boolean;
3867
4109
  export const DateTime: FC<Props>;
3868
4110
  export const DateTimeRange: FC<{
3869
- startDate: string;
4111
+ startDate?: string;
3870
4112
  endDate?: string;
3871
4113
  className?: string;
3872
4114
  }>;
@@ -3952,6 +4194,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
3952
4194
  export const VideoFile: FC<{
3953
4195
  fileName: string;
3954
4196
  url: string;
4197
+ onPlay?: (url: string) => void;
3955
4198
  }>;
3956
4199
  export function isVideoFile(fileName: string): boolean;
3957
4200
  }
@@ -3974,25 +4217,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3974
4217
  }[]>;
3975
4218
  export function getFileIcon(filename: string): string;
3976
4219
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
4220
+ export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
3977
4221
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
3978
- export function getMainScrollableContainer(): HTMLElement;
3979
4222
  }
3980
4223
  declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
4224
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
3981
4225
  export function useFileAccessTokenApi(): {
3982
4226
  exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
3983
4227
  getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
3984
- createDownloadClickHandler: (target: string, getUrl: () => Promise<string>) => () => Promise<void>;
4228
+ createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
3985
4229
  };
3986
4230
  }
3987
4231
  declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
3988
4232
  import { FC } from 'react';
3989
- import { Attachment } from "libs/reach/util/common/src/index";
4233
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
3990
4234
  export const FileAttachmentList: FC<{
3991
4235
  files: Attachment[];
3992
4236
  onDeleteClick?: (file: Attachment) => void;
3993
4237
  getFileUrl?: (attachmentId: string, token?: string) => string;
4238
+ onPlayVideo?: (url: string, videoId: string) => void;
4239
+ onPlayAudio?: (url: string, audioId: string) => void;
3994
4240
  fileAccessToken?: string;
3995
4241
  disabled?: boolean;
4242
+ parentId?: string;
4243
+ itemResourceType?: ItemResourceTypes | string;
3996
4244
  className?: string;
3997
4245
  }>;
3998
4246
  }
@@ -4292,6 +4540,28 @@ declare module "libs/reach/ui/common/src/common/UserUtility" {
4292
4540
  import { IntlShape } from 'react-intl';
4293
4541
  export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
4294
4542
  }
4543
+ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
4544
+ export const smallScreenSpacing = 10;
4545
+ export const smallMaxContentWidth: number;
4546
+ export const mediumMaxContentWidth: number;
4547
+ export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4548
+ }
4549
+ declare module "libs/reach/ui/common/src/common/Utils" {
4550
+ import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
4551
+ import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
4552
+ export function isValidUrl(url: string): boolean;
4553
+ export function getGoogleMapsSearchLink(name: string): string;
4554
+ export function tryGetInternalLink(url: string, appUrls: string[]): string;
4555
+ export function getExternalContentUrl(item: PublishableItem, language: string): string;
4556
+ export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
4557
+ export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
4558
+ export function delay(delayInMs: number): Promise<unknown>;
4559
+ export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4560
+ defaultWidth?: number;
4561
+ showPlaceholder?: boolean;
4562
+ }, never>;
4563
+ export function encodeChannelName(channelName: string): string;
4564
+ }
4295
4565
  declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
4296
4566
  import { FC, ReactNode } from 'react';
4297
4567
  import { PrimitiveType } from 'intl-messageformat';
@@ -4315,12 +4585,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
4315
4585
  }
4316
4586
  declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
4317
4587
  import { FC } from 'react';
4588
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
4318
4589
  export const AutoTranslateButton: FC<{
4319
4590
  contentLanguageCode: string;
4320
4591
  originalContent: string;
4321
4592
  content: string;
4322
4593
  onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
4323
4594
  onContentChange: (content: string) => void;
4595
+ itemType: ItemResourceTypes;
4596
+ itemId: string;
4324
4597
  tooltipResourceKey?: string;
4325
4598
  showLabel?: boolean;
4326
4599
  }>;
@@ -4604,6 +4877,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
4604
4877
  className?: string;
4605
4878
  }>;
4606
4879
  }
4880
+ declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
4881
+ export const useIsMounted: () => () => boolean;
4882
+ }
4607
4883
  declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
4608
4884
  import { PaginatedList } from "libs/reach/util/common/src/index";
4609
4885
  import { DependencyList, SetStateAction } from 'react';
@@ -4908,8 +5184,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
4908
5184
  export interface Props extends IPersonaProps {
4909
5185
  upn: string;
4910
5186
  tenantId?: string;
4911
- className?: string;
4912
5187
  displayName?: string;
5188
+ forceShowSecondaryText?: boolean;
5189
+ className?: string;
4913
5190
  }
4914
5191
  export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
4915
5192
  static type: string;
@@ -5084,6 +5361,7 @@ declare module "libs/reach/ui/common/src/common/index" {
5084
5361
  export * from "libs/reach/ui/common/src/common/grid/Grid";
5085
5362
  export * from "libs/reach/ui/common/src/common/hooks/usePagination";
5086
5363
  export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
5364
+ export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
5087
5365
  export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
5088
5366
  export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
5089
5367
  export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
@@ -5116,6 +5394,7 @@ declare module "libs/reach/ui/common/src/common/index" {
5116
5394
  export * from "libs/reach/ui/common/src/common/error-states/index";
5117
5395
  export * from "libs/reach/ui/common/src/common/MenuItemBadge";
5118
5396
  export * from "libs/reach/ui/common/src/common/editor-svg/index";
5397
+ export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
5119
5398
  }
5120
5399
  declare module "libs/reach/ui/common/src/error/PageAlert" {
5121
5400
  import { ReactNode } from 'react';
@@ -5167,16 +5446,17 @@ declare module "libs/reach/ui/common/src/index" {
5167
5446
  export * from "libs/reach/ui/common/src/ColorEditor";
5168
5447
  }
5169
5448
  declare module "apps/reach-app/src/app/chrome/CloseButton" {
5170
- import { FC } from 'react';
5449
+ import { FC, DependencyList } from 'react';
5171
5450
  export interface Props {
5172
5451
  navigateTo: string;
5452
+ onBeforeClose?: () => void;
5173
5453
  onClose?: () => void;
5174
5454
  tooltipResourceKey?: string;
5175
5455
  useGoBack?: boolean;
5176
5456
  className?: string;
5177
5457
  }
5178
5458
  export const CloseButton: FC<Props>;
5179
- export function useEscapeOnClose(onClose: () => void): void;
5459
+ export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
5180
5460
  }
5181
5461
  declare module "apps/reach-app/src/app/common/LogoStyles" {
5182
5462
  export const LogoHostStyle: (size?: {
@@ -5203,6 +5483,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
5203
5483
  closeButtonOptions?: CloseButtonOptions;
5204
5484
  }
5205
5485
  export interface CloseButtonOptions {
5486
+ onBeforeClose?: () => void;
5206
5487
  onClick?: () => void;
5207
5488
  disableGoBack?: boolean;
5208
5489
  route?: string;
@@ -5268,9 +5549,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
5268
5549
  }
5269
5550
  declare module "apps/reach-app/src/app/chrome/BasicPage" {
5270
5551
  import { FC, ReactNode } from 'react';
5552
+ import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5271
5553
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
5272
5554
  import './BasicPage.scss';
5273
- import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5274
5555
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
5275
5556
  type HeaderToolbarObjectTypeHack = {
5276
5557
  toolbarElement: JSX.Element;
@@ -5388,7 +5669,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
5388
5669
  addLanguage: (code: string) => Promise<Language>;
5389
5670
  setDefaultLanguage: (code: string) => Promise<Language>;
5390
5671
  removeLanguage: (code: string) => Promise<unknown>;
5391
- setSubscriptionName: (name: string) => Promise<string>;
5672
+ setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
5673
+ name: string | null;
5674
+ hideName: boolean | null;
5675
+ }>;
5392
5676
  setSubscriptionHandle: (handle: string) => Promise<string>;
5393
5677
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
5394
5678
  updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
@@ -5694,11 +5978,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
5694
5978
  export { PushClient };
5695
5979
  }
5696
5980
  declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5697
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5698
- export class MobileHybridStorage implements StoragePlugin {
5981
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5982
+ export class MobileHybridStorage implements PreferencesPlugin {
5699
5983
  private pluginStorage;
5700
5984
  private static memoryStorage;
5701
- constructor(pluginStorage: StoragePlugin);
5985
+ constructor(pluginStorage: PreferencesPlugin);
5702
5986
  get(options: {
5703
5987
  key: string;
5704
5988
  }): Promise<any>;
@@ -5710,7 +5994,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5710
5994
  key: string;
5711
5995
  }): Promise<void>;
5712
5996
  clear(): Promise<void>;
5713
- keys(): Promise<import("@capacitor/storage").KeysResult>;
5997
+ keys(): Promise<import("@capacitor/preferences").KeysResult>;
5714
5998
  private static updateInMemoryStorage;
5715
5999
  configure(options: ConfigureOptions): Promise<void>;
5716
6000
  migrate(): Promise<MigrateResult>;
@@ -5746,7 +6030,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
5746
6030
  export const mockStatusBarPlugin: StatusBarPlugin;
5747
6031
  }
5748
6032
  declare module "libs/shared/util/capacitor/src/WebDevice" {
5749
- import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
6033
+ import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
5750
6034
  import { PluginListenerHandle } from '@capacitor/core';
5751
6035
  export class WebDeviceFallback implements DevicePlugin {
5752
6036
  addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
@@ -5755,6 +6039,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
5755
6039
  getId(): Promise<DeviceId>;
5756
6040
  getBatteryInfo(): Promise<BatteryInfo>;
5757
6041
  getLanguageCode(): Promise<GetLanguageCodeResult>;
6042
+ getLanguageTag(): Promise<LanguageTag>;
5758
6043
  }
5759
6044
  }
5760
6045
  declare module "libs/shared/util/capacitor/src/WebNetwork" {
@@ -5771,8 +6056,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
5771
6056
  }
5772
6057
  }
5773
6058
  declare module "libs/shared/util/capacitor/src/WebStorage" {
5774
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5775
- export class WebStorage implements StoragePlugin {
6059
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
6060
+ export class WebStorage implements PreferencesPlugin {
5776
6061
  storage: Storage;
5777
6062
  get(options: {
5778
6063
  key: string;
@@ -5806,14 +6091,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
5806
6091
  import { SharePlugin } from '@capacitor/share';
5807
6092
  import { SplashScreenPlugin } from '@capacitor/splash-screen';
5808
6093
  import { StatusBarPlugin } from '@capacitor/status-bar';
5809
- import { StoragePlugin } from '@capacitor/storage';
6094
+ import { PreferencesPlugin } from '@capacitor/preferences';
5810
6095
  import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
5811
6096
  import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
5812
6097
  import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
5813
6098
  import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
5814
6099
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
5815
6100
  export interface CondensePluginRegistry {
5816
- Storage: StoragePlugin;
6101
+ Storage: PreferencesPlugin;
5817
6102
  Device: DevicePlugin;
5818
6103
  App: AppPlugin;
5819
6104
  Keyboard: KeyboardPlugin;
@@ -6342,14 +6627,18 @@ declare module "apps/reach-app/src/app/admin/web-hooks/utils" {
6342
6627
  CommentUpdated = "CommentUpdated",
6343
6628
  CommentDeleted = "CommentDeleted",
6344
6629
  LikeAdded = "LikeAdded",
6345
- LikeRemoved = "LikeRemoved"
6630
+ LikeRemoved = "LikeRemoved",
6631
+ PostCreated = "PostCreated",
6632
+ PostUpdated = "PostUpdated",
6633
+ PostDeleted = "PostDeleted"
6346
6634
  }
6347
6635
  export enum WebHookCategory {
6348
6636
  News = "News",
6349
6637
  Events = "Events",
6350
6638
  Comments = "Comments",
6351
6639
  Likes = "Likes",
6352
- UserSelfRegistration = "UserSelfRegistration"
6640
+ UserSelfRegistration = "UserSelfRegistration",
6641
+ Posts = "Posts"
6353
6642
  }
6354
6643
  }
6355
6644
  declare module "apps/reach-app/src/app/admin/web-hooks/WebHookEditor" {
@@ -6475,7 +6764,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
6475
6764
  import { UserRegistrationResult } from "libs/reach/util/common/src/index";
6476
6765
  import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
6477
6766
  export function useSelfRegistrationApi(): {
6478
- changeRegistrationStatus: (upn: string, doAccept: boolean) => any;
6767
+ changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
6479
6768
  hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
6480
6769
  register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
6481
6770
  updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
@@ -6531,6 +6820,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6531
6820
  onSaved: (newProperties: UpdatableUserProperties) => void;
6532
6821
  }>;
6533
6822
  }
6823
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6824
+ import { FC } from 'react';
6825
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6826
+ export const GenerateApiKeyDialog: FC<{
6827
+ onApiKeyAdded?: () => void;
6828
+ onDismiss: () => void;
6829
+ user?: UserItem;
6830
+ }>;
6831
+ }
6534
6832
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6535
6833
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6536
6834
  import './UserList.scss';
@@ -6554,7 +6852,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6554
6852
  isLoading?: boolean;
6555
6853
  isEmpty?: boolean;
6556
6854
  emptyPlaceholder?: ReactNode;
6855
+ onKeyChanged?: () => void;
6557
6856
  }
6857
+ export type UserItem = Account & UserSummary & GroupUser & {
6858
+ accountType: string;
6859
+ lastLogin: string | JSX.Element;
6860
+ };
6558
6861
  export const UserList: FC<Props>;
6559
6862
  }
6560
6863
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6587,12 +6890,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6587
6890
  className?: string;
6588
6891
  }>;
6589
6892
  }
6590
- declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
6591
- import { FC } from 'react';
6592
- export const GenerateApiKeyButton: FC<{
6593
- onApiKeyAdded: () => void;
6594
- }>;
6595
- }
6596
6893
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6597
6894
  import { FC } from 'react';
6598
6895
  import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
@@ -6612,19 +6909,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
6612
6909
  }
6613
6910
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
6614
6911
  import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6912
+ export enum ValidationStatus {
6913
+ Valid = 0,
6914
+ WithErrors = 1,
6915
+ WithUserErrors = 2
6916
+ }
6917
+ export type CsvValidation = {
6918
+ Status?: ValidationStatus;
6919
+ Message?: string;
6920
+ InvalidItems?: string[];
6921
+ };
6615
6922
  export function useUserCsvInviter(): {
6616
6923
  invitedUsers: UserImport[];
6617
6924
  isValidating: boolean;
6618
6925
  isCsvValid: boolean;
6619
6926
  parseCsvFile: (csvFile: File) => void;
6620
- error: string;
6621
- setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6927
+ csvValidation: CsvValidation;
6928
+ setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
6622
6929
  inviteUsers: (onSuccess?: () => void) => Promise<void>;
6623
6930
  isParserReady: boolean;
6624
6931
  isInviting: boolean;
6625
6932
  canInvite: boolean;
6933
+ csvFile: File;
6626
6934
  };
6627
6935
  }
6936
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
6937
+ export function createCsvUrl(header: string, content: string): string;
6938
+ }
6939
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
6940
+ import { FC } from 'react';
6941
+ import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
6942
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6943
+ export const CsvFileValidationResult: FC<{
6944
+ csvValidation: CsvValidation;
6945
+ invitedUsers: UserImport[];
6946
+ }>;
6947
+ }
6628
6948
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6629
6949
  import { FC } from 'react';
6630
6950
  export const ImportUserButton: FC<{
@@ -6657,9 +6977,6 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
6657
6977
  children?: (content: string, index: number) => JSX.Element;
6658
6978
  }>;
6659
6979
  }
6660
- declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6661
- export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
6662
- }
6663
6980
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6664
6981
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6665
6982
  export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
@@ -6706,6 +7023,13 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6706
7023
  likeCount: number;
6707
7024
  static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6708
7025
  }
7026
+ export class AutoFollowItemTriggerAction implements AppTriggerAction {
7027
+ static type: string;
7028
+ type: string;
7029
+ recurrenceSeriesId: string;
7030
+ isFollowed: boolean;
7031
+ static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
7032
+ }
6709
7033
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6710
7034
  static type: string;
6711
7035
  type: string;
@@ -6732,6 +7056,20 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6732
7056
  itemId: string;
6733
7057
  static create(itemId: string): RefetchItemAction;
6734
7058
  }
7059
+ export class RefetchStreamItemAction implements AppTriggerAction {
7060
+ static type: string;
7061
+ type: string;
7062
+ itemId: string;
7063
+ static create(itemId: string): RefetchStreamItemAction;
7064
+ }
7065
+ export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
7066
+ static type: string;
7067
+ type: string;
7068
+ pageId: string;
7069
+ parentId: string;
7070
+ affectedGroupIds: string[];
7071
+ static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
7072
+ }
6735
7073
  }
6736
7074
  declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6737
7075
  export interface CommentFilter {
@@ -6748,119 +7086,44 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
6748
7086
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6749
7087
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
6750
7088
  import { Attachment } from "libs/reach/util/common/src/index";
7089
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6751
7090
  import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
6752
7091
  export function useCommentApi(): {
6753
- createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => any;
6754
- createEditorComment: (itemId: string, comment: Partial<Comment>) => any;
6755
- listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => any;
6756
- getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => any;
6757
- getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => any;
6758
- getEditorConversations: (itemId: string) => any;
7092
+ createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7093
+ createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7094
+ listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7095
+ getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7096
+ getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
7097
+ getEditorConversations: (itemId: string) => Promise<Comment[]>;
6759
7098
  translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
6760
- deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => any;
6761
- deleteEditorComment: (itemId: string, commentId: string) => any;
7099
+ deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
7100
+ deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
6762
7101
  toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
6763
- updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => any;
7102
+ updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
6764
7103
  onCommentCreated$: import("rxjs").Observable<string>;
6765
7104
  };
6766
7105
  }
6767
- declare module "libs/reach/feature/content/src/comments/FollowComments" {
6768
- import { FC } from 'react';
6769
- import { ConversationScope } from "libs/reach/util/common/src/index";
6770
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6771
- interface Props {
6772
- type: ItemResourceTypes;
6773
- itemId: string;
6774
- className?: string;
6775
- scope: ConversationScope;
6776
- hideProfileUrl?: boolean;
6777
- }
6778
- export const FollowComments: FC<Props>;
7106
+ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
7107
+ export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
6779
7108
  }
6780
- declare module "libs/reach/feature/content/src/comments/CommentInput" {
6781
- import { ReactNode } from 'react';
6782
- import { Account } from "libs/reach/util/common/src/index";
6783
- export interface UserSuggestion {
6784
- id: string;
6785
- upn: string;
6786
- displayName: string;
6787
- display: string;
6788
- }
6789
- export interface SuggestionArgs {
6790
- searchText: string;
6791
- updateSuggestions: (suggestions: UserSuggestion[]) => any;
6792
- }
6793
- export interface CommentInputProps {
6794
- className?: string;
6795
- content: string;
7109
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
7110
+ import { FC } from 'react';
7111
+ export const ConfirmationBox: FC<{
6796
7112
  disabled?: boolean;
6797
- autoFocus?: boolean;
6798
- onEnter?: () => void;
6799
- onCtrlEnter?: () => unknown;
6800
- onChange?: (value: string) => void;
6801
- onFocus?: () => void;
6802
- additionalInputControl?: ReactNode;
6803
- buttons?: {
6804
- leftSide?: ReactNode;
6805
- rightSide?: ReactNode;
6806
- };
6807
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
6808
- placeHolderStringResourceKey?: string;
6809
- placeHolderStringResourceValues?: {
6810
- [key: string]: string | number | boolean | Date;
6811
- };
6812
- disableBoxShadow?: boolean;
6813
- ariaLabel?: string;
6814
- }
6815
- export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
7113
+ onChange?: (value: boolean) => void;
7114
+ checked: boolean;
7115
+ }>;
6816
7116
  }
6817
- declare module "libs/reach/feature/content/src/comments/DropInfo" {
6818
- import { FC } from 'react';
6819
- export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7117
+ declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
7118
+ import { FC, ReactNode } from 'react';
7119
+ export const GutterMarkerIcon: FC<{
7120
+ iconName: string;
7121
+ children: ReactNode;
6820
7122
  isActive: boolean;
6821
- }, never>;
6822
- export const DropInfo: FC;
6823
- }
6824
- declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6825
- import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
6826
- export interface KalturaProperties {
6827
- sp?: string;
6828
- uiconfId?: string;
6829
- partnerId?: string;
6830
- entryId?: string;
6831
- }
6832
- export class VideoUrlParser {
6833
- private url;
6834
- private static ytRegex;
6835
- private static vimeoRegex;
6836
- private static microsoftStreamRegex;
6837
- private static vimeoDirectLinkRegex;
6838
- private static vimeoRedirectLinkRegex;
6839
- private static kalturaRegex;
6840
- readonly source: VideoSource | null;
6841
- readonly id: string | null;
6842
- readonly isDirectVideoUrl: boolean;
6843
- readonly videoProperties: any;
6844
- readonly thumbnailUrl: string;
6845
- constructor(url: string);
6846
- isValid(features: FeatureSet): boolean;
6847
- }
6848
- export function getVideoSources(features: FeatureSet): any[];
6849
- export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
6850
- export function getAllVideoSources(features: FeatureSet): any[];
6851
- }
6852
- declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
6853
- import { AttachmentType } from "libs/reach/util/common/src/index";
6854
- export function getAllVideosFromString(content: string): Generator<{
6855
- url: string;
6856
- type: AttachmentType;
6857
- }, void, unknown>;
6858
- export function getEmbeddedObjectsFromString(content: string): Generator<{
6859
- url: string;
6860
- subscriptionIdentifier: string;
6861
- type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
6862
- id: string;
6863
- }, void, unknown>;
7123
+ color: string;
7124
+ tooltipResourceKey?: string;
7125
+ className?: string;
7126
+ }>;
6864
7127
  }
6865
7128
  declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
6866
7129
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
@@ -6914,25 +7177,10 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6914
7177
  And = "AND"
6915
7178
  }
6916
7179
  }
6917
- declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
6918
- import { SortDirection } from "libs/reach/util/common/src/index";
6919
- export class SortFieldsDefinitionBuilder<T extends string> {
6920
- sort: string[];
6921
- addSortField(field: T, direction?: SortDirection): this;
6922
- private static getSortDirectionAsString;
6923
- }
6924
- }
6925
- declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition" {
7180
+ declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
6926
7181
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6927
- export interface EventsStartDateFilterDefinition extends IndexableFilterDefinition {
6928
- startsAfter?: string;
6929
- startsBefore?: string;
6930
- }
6931
- }
6932
- declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
6933
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6934
- export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
6935
- contacts?: string[];
7182
+ export interface AuthorFilterDefinition extends IndexableFilterDefinition {
7183
+ author?: string;
6936
7184
  }
6937
7185
  }
6938
7186
  declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
@@ -6941,6 +7189,52 @@ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition"
6941
7189
  channels?: FilterWithLogicalOperator;
6942
7190
  }
6943
7191
  }
7192
+ declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
7193
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7194
+ import { WorkflowStatus } from "libs/reach/util/common/src/index";
7195
+ export interface StateFilterDefinition extends IndexableFilterDefinition {
7196
+ state?: WorkflowStatus;
7197
+ }
7198
+ }
7199
+ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
7200
+ import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
7201
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7202
+ import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
7203
+ import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
7204
+ export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
7205
+ groupId?: string;
7206
+ bookmarksOnly?: boolean;
7207
+ unreadOnly?: boolean;
7208
+ includeExpired?: boolean;
7209
+ }
7210
+ }
7211
+ declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
7212
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7213
+ export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
7214
+ afterDate?: string;
7215
+ }
7216
+ }
7217
+ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
7218
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7219
+ export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
7220
+ contacts?: string[];
7221
+ }
7222
+ }
7223
+ declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
7224
+ import { SortDirection } from "libs/reach/util/common/src/index";
7225
+ export class SortFieldsDefinitionBuilder<T extends string> {
7226
+ sort: string[];
7227
+ addSortField(field: T, direction?: SortDirection): this;
7228
+ private static getSortDirectionAsString;
7229
+ }
7230
+ }
7231
+ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition" {
7232
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7233
+ export interface EventsStartDateFilterDefinition extends IndexableFilterDefinition {
7234
+ startsAfter?: string;
7235
+ startsBefore?: string;
7236
+ }
7237
+ }
6944
7238
  declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6945
7239
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6946
7240
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
@@ -6957,18 +7251,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6957
7251
  }
6958
7252
  export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
6959
7253
  }
6960
- declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
6961
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6962
- export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
6963
- afterDate?: string;
6964
- }
6965
- }
6966
- declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
6967
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6968
- export interface AuthorFilterDefinition extends IndexableFilterDefinition {
6969
- author?: string;
6970
- }
6971
- }
6972
7254
  declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6973
7255
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6974
7256
  export interface FilteringProps {
@@ -6978,25 +7260,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6978
7260
  isFilterActive?: boolean;
6979
7261
  }
6980
7262
  }
6981
- declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
6982
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6983
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
6984
- export interface StateFilterDefinition extends IndexableFilterDefinition {
6985
- state?: WorkflowStatus;
6986
- }
6987
- }
6988
- declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
6989
- import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
6990
- import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6991
- import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6992
- import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
6993
- export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
6994
- groupId?: string;
6995
- bookmarksOnly?: boolean;
6996
- unreadOnly?: boolean;
6997
- includeExpired?: boolean;
6998
- }
6999
- }
7000
7263
  declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
7001
7264
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7002
7265
  export enum ItemTypeFilterFlag {
@@ -7078,16 +7341,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
7078
7341
  };
7079
7342
  export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
7080
7343
  }
7081
- declare module "libs/reach/feature/content/src/events/useEventsApi" {
7082
- import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
7083
- import { PaginatedList } from "libs/reach/util/common/src/index";
7084
- import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
7085
- export function useEventsApi(): {
7086
- getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
7087
- getEvent: (id: string) => Promise<EventItem>;
7088
- getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
7089
- };
7090
- }
7091
7344
  declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
7092
7345
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
7093
7346
  import { Observable } from 'rxjs';
@@ -7147,126 +7400,342 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
7147
7400
  import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
7148
7401
  export function useNewsApi(): NewsApiService;
7149
7402
  }
7150
- declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
7151
- import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7152
- import { PageType } from "libs/reach/util/common/src/index";
7153
- export interface PageFilterDefinition extends PublishableItemFilterDefinition {
7154
- pageContextId?: string;
7155
- restrictToPageContext?: boolean;
7156
- rootPagesOnly?: boolean;
7157
- parentId?: string;
7158
- pageType?: PageType;
7403
+ declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7404
+ import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7405
+ export default interface FeedbackSummary {
7406
+ records: FeedbackItem[];
7159
7407
  }
7160
- }
7161
- declare module "libs/reach/feature/content/src/pages/usePagesApi" {
7162
- import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
7163
- import { PaginatedList } from "libs/reach/util/common/src/index";
7164
- import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
7165
- export function usePagesApi(): {
7166
- loadPage: (id: string) => Promise<PageItem>;
7167
- loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
7168
- getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
7169
- getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7170
- searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7171
- getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7172
- searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7173
- getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
7174
- searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
7175
- };
7176
- }
7177
- declare module "libs/reach/feature/content/src/posts/utils" {
7178
- import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
7179
- import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7180
- export interface Post extends BaseItem, ItemWithAttachments {
7181
- id: string;
7182
- comments?: PaginatedList<Comment>;
7183
- groupId: string;
7184
- content: string;
7185
- permalink?: string;
7186
- author: Account;
7187
- publishingDate: string;
7188
- modified?: string;
7189
- statistics: ItemStatistics;
7190
- keywords?: {
7191
- [key: string]: Keyword[];
7192
- };
7193
- contentLanguageCode?: string;
7194
- isLiked?: boolean;
7195
- isUnread?: boolean;
7196
- isDemoContent?: boolean;
7197
- isFollowing?: boolean;
7408
+ export enum FeedbackItemType {
7409
+ comment = "comment",
7410
+ like = "like",
7411
+ confirm = "confirm",
7412
+ poll = "poll",
7413
+ eventRegistration = "eventRegistration"
7198
7414
  }
7199
- export interface PostFilterDefinition {
7200
- token?: string;
7201
- pageSize?: string;
7202
- search?: string;
7203
- keywords?: FilterWithLogicalOperator;
7415
+ export interface FeedbackItem {
7416
+ type: FeedbackItemType;
7417
+ timestamp: string;
7418
+ }
7419
+ export interface PollFeedbackItem extends FeedbackItem {
7420
+ type: FeedbackItemType.poll;
7421
+ answers: PollQuestionAnswer[];
7204
7422
  }
7205
- export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
7206
- export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
7207
- export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
7208
7423
  }
7209
- declare module "libs/reach/feature/content/src/posts/usePostsApi" {
7210
- import { PaginatedList } from "libs/reach/util/common/src/index";
7211
- import { Attachment } from "libs/reach/util/common/src/index";
7212
- import { Keyword } from "libs/reach/util/common/src/index";
7213
- import { Account } from "libs/reach/util/common/src/index";
7214
- import { Post, PostFilterDefinition } from "libs/reach/feature/content/src/posts/utils";
7215
- export function usePostsApi(): {
7216
- createPost: (post: Partial<Post>) => Promise<Post>;
7217
- togglePostLike: (postId: string, isLiked: boolean) => Promise<unknown>;
7218
- getPosts: (filter?: Partial<PostFilterDefinition>, ...groupIds: string[]) => Promise<PaginatedList<Post>>;
7219
- updatePost: (postId: string, content: string, attachments: Attachment[], keywords?: {
7220
- [key: string]: Keyword[];
7221
- }) => Promise<Post>;
7222
- deletePost: (postId: string) => Promise<unknown>;
7223
- getPost: (postId: string, commentCount?: number) => Promise<Post>;
7224
- getPostThread: (postId: string, threadId: string) => Promise<Post>;
7225
- translatePost: (postId: string, language: string) => any;
7226
- searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
7424
+ declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7425
+ import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7426
+ import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7427
+ import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7428
+ export const feedbackCache: {
7429
+ [newsId: string]: Promise<FeedbackSummary>;
7430
+ };
7431
+ export function useFeedbackApi(): {
7432
+ getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7433
+ setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7434
+ unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7435
+ updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7436
+ getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7437
+ getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7227
7438
  };
7228
7439
  }
7229
- declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectValidator" {
7230
- import { EmbeddedObject } from "libs/reach/util/common/src/index";
7231
- export function useEmbeddedObjectValidator(): (embeddedObject: EmbeddedObject) => Promise<boolean>;
7440
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
7441
+ import { FC } from 'react';
7442
+ import { NewsItem } from "libs/reach/util/common/src/index";
7443
+ export const ConfirmationSection: FC<{
7444
+ item?: NewsItem;
7445
+ showDescription: boolean;
7446
+ readOnly?: boolean;
7447
+ className?: string;
7448
+ }>;
7232
7449
  }
7233
- declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
7234
- import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
7235
- import { Attachment } from "libs/reach/util/common/src/index";
7236
- export interface ClientAttachment extends Attachment {
7237
- file?: File;
7450
+ declare module "libs/reach/feature/content/src/news/NewsService" {
7451
+ import { CurrentUser } from "libs/reach/util/common/src/index";
7452
+ import { LanguageBase } from "libs/reach/util/common/src/index";
7453
+ import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7454
+ export class NewsService {
7455
+ static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7456
+ static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7457
+ static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7458
+ static getContentLanguages(contents: {
7459
+ [lang: string]: ContentDefinition;
7460
+ }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7461
+ static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7462
+ static getLanguageForContent(contents: {
7463
+ [lang: string]: ContentDefinition;
7464
+ }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7465
+ static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7238
7466
  }
7239
- export type Attachments = (Attachment | ClientAttachment)[];
7240
- export type RichCommentInputProps = CommentInputProps & {
7241
- attachments: Attachment[];
7242
- deletedAttachmentUrls: string[];
7243
- allowAttachments?: boolean;
7244
- useLargeDropTarget?: boolean;
7245
- disableDragAndDrop?: boolean;
7246
- onAttachmentsChange: (attachments: Attachments) => void;
7247
- onDeleteAttachment?: (attachment: Attachment) => void;
7248
- placeHolderStringResourceKey?: string;
7249
- disableAddGif?: boolean;
7250
- disableAddFiles?: boolean;
7251
- };
7252
- export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
7253
- attachments: Attachment[];
7254
- deletedAttachmentUrls: string[];
7255
- allowAttachments?: boolean;
7256
- useLargeDropTarget?: boolean;
7257
- disableDragAndDrop?: boolean;
7258
- onAttachmentsChange: (attachments: Attachments) => void;
7259
- onDeleteAttachment?: (attachment: Attachment) => void;
7260
- placeHolderStringResourceKey?: string;
7261
- disableAddGif?: boolean;
7262
- disableAddFiles?: boolean;
7263
- } & import("react").RefAttributes<HTMLInputElement>>;
7264
7467
  }
7265
- declare module "libs/reach/feature/content/src/comments/utils" {
7266
- import { Comment, Attachment, CurrentUser } from "libs/reach/util/common/src/index";
7267
- export function canSaveInput(allowSaveWithoutContent: boolean, attachments: Attachment[], content: string): boolean;
7268
- export function canDelete(comment: Comment, user: CurrentUser, groupIds: string[]): boolean;
7269
- export function canEdit(comment: Comment, user: CurrentUser): boolean;
7468
+ declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7469
+ import { FC } from 'react';
7470
+ import { PublishableItemContents } from "libs/reach/util/common/src/index";
7471
+ export interface TranslationItem {
7472
+ language: string;
7473
+ id: string;
7474
+ text: string;
7475
+ }
7476
+ export const PollTranslationContext: import("react").Context<{
7477
+ getTranslation: (id: string) => string;
7478
+ getAllTranslations: (id: string) => TranslationItem[];
7479
+ }>;
7480
+ export const PollTranslationContextProvider: FC<{
7481
+ contents?: PublishableItemContents;
7482
+ language: string;
7483
+ additionalTranslations?: TranslationItem[];
7484
+ }>;
7485
+ }
7486
+ declare module "libs/reach/feature/content/src/feedback/utils" {
7487
+ import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7488
+ export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7489
+ export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7490
+ export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
7491
+ }
7492
+ declare module "libs/reach/feature/content/src/feedback/index" {
7493
+ export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
7494
+ export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
7495
+ export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
7496
+ export * from "libs/reach/feature/content/src/feedback/utils";
7497
+ }
7498
+ declare module "libs/reach/feature/content/src/comments/FollowComments" {
7499
+ import { FC } from 'react';
7500
+ import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
7501
+ export interface Props {
7502
+ type: ItemResourceTypes;
7503
+ itemId: string;
7504
+ recurrenceSeriesId?: string;
7505
+ className?: string;
7506
+ scope: ConversationScope;
7507
+ hideProfileUrl?: boolean;
7508
+ onToggleFollow?: (isFollowed: boolean) => void;
7509
+ isReadOnly?: boolean;
7510
+ }
7511
+ export const FollowComments: FC<Props>;
7512
+ export const FollowCommentsNotificationWarning: FC<{
7513
+ hideProfileUrl?: boolean;
7514
+ className?: string;
7515
+ }>;
7516
+ }
7517
+ declare module "libs/reach/feature/content/src/comments/CommentInput" {
7518
+ import { ReactNode } from 'react';
7519
+ import { Account } from "libs/reach/util/common/src/index";
7520
+ export interface UserSuggestion {
7521
+ id: string;
7522
+ upn: string;
7523
+ displayName: string;
7524
+ display: string;
7525
+ }
7526
+ export interface SuggestionArgs {
7527
+ searchText: string;
7528
+ updateSuggestions: (suggestions: UserSuggestion[]) => any;
7529
+ }
7530
+ export interface CommentInputProps {
7531
+ className?: string;
7532
+ content: string;
7533
+ disabled?: boolean;
7534
+ autoFocus?: boolean;
7535
+ onEnter?: () => void;
7536
+ onCtrlEnter?: () => unknown;
7537
+ onChange?: (value: string) => void;
7538
+ onFocus?: () => void;
7539
+ additionalInputControl?: ReactNode;
7540
+ buttons?: {
7541
+ leftSide?: ReactNode;
7542
+ rightSide?: ReactNode;
7543
+ };
7544
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7545
+ placeHolderStringResourceKey?: string;
7546
+ placeHolderStringResourceValues?: {
7547
+ [key: string]: string | number | boolean | Date;
7548
+ };
7549
+ disableBoxShadow?: boolean;
7550
+ ariaLabel?: string;
7551
+ }
7552
+ export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
7553
+ }
7554
+ declare module "libs/reach/feature/content/src/comments/DropInfo" {
7555
+ import { FC } from 'react';
7556
+ export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7557
+ isActive: boolean;
7558
+ }, never>;
7559
+ export const DropInfo: FC;
7560
+ }
7561
+ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
7562
+ import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
7563
+ import { VideoSource as VideoSourceEnvironment } from "libs/shared/util/environment/src/index";
7564
+ export interface KalturaProperties {
7565
+ sp?: string;
7566
+ uiconfId?: string;
7567
+ partnerId?: string;
7568
+ entryId?: string;
7569
+ }
7570
+ export const showPlayerForGenericVideoSource: (url: string, additionalVideoSources?: VideoSourceEnvironment[]) => boolean;
7571
+ export class VideoUrlParser {
7572
+ private url;
7573
+ private additionalVideoSources?;
7574
+ private static ytRegex;
7575
+ private static vimeoRegex;
7576
+ private static microsoftStreamRegex;
7577
+ private static vimeoDirectLinkRegex;
7578
+ private static vimeoRedirectLinkRegex;
7579
+ private static kalturaRegex;
7580
+ readonly source: VideoSource | null;
7581
+ readonly id: string | null;
7582
+ readonly isDirectVideoUrl: boolean;
7583
+ readonly videoProperties: any;
7584
+ readonly thumbnailUrl: string;
7585
+ constructor(url: string, additionalVideoSources?: VideoSourceEnvironment[]);
7586
+ hasValidGenericUrlVideoSourcePrefix(url: string): boolean;
7587
+ isValid(features: FeatureSet): boolean;
7588
+ }
7589
+ export function getVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
7590
+ export function getAllVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
7591
+ }
7592
+ declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
7593
+ import { AttachmentType } from "libs/reach/util/common/src/index";
7594
+ export function getAllVideosFromString(content: string): Generator<{
7595
+ url: string;
7596
+ type: AttachmentType;
7597
+ }, void, unknown>;
7598
+ export function getEmbeddedObjectsFromString(content: string): Generator<{
7599
+ url: string;
7600
+ subscriptionIdentifier: string;
7601
+ type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
7602
+ id: string;
7603
+ }, void, unknown>;
7604
+ }
7605
+ declare module "libs/reach/feature/content/src/events/useEventsApi" {
7606
+ import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
7607
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7608
+ import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
7609
+ export function useEventsApi(): {
7610
+ getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
7611
+ getEvent: (id: string) => Promise<EventItem>;
7612
+ getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
7613
+ };
7614
+ }
7615
+ declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
7616
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7617
+ import { PageType } from "libs/reach/util/common/src/index";
7618
+ export interface PageFilterDefinition extends PublishableItemFilterDefinition {
7619
+ pageContextId?: string;
7620
+ restrictToPageContext?: boolean;
7621
+ rootPagesOnly?: boolean;
7622
+ parentId?: string;
7623
+ pageType?: PageType;
7624
+ }
7625
+ }
7626
+ declare module "libs/reach/feature/content/src/pages/usePagesApi" {
7627
+ import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
7628
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7629
+ import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
7630
+ export function usePagesApi(): {
7631
+ loadPage: (id: string) => Promise<PageItem>;
7632
+ loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
7633
+ getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
7634
+ getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7635
+ searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7636
+ getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7637
+ searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7638
+ getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
7639
+ searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
7640
+ };
7641
+ }
7642
+ declare module "libs/reach/feature/content/src/posts/utils" {
7643
+ import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
7644
+ import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7645
+ export interface Post extends BaseItem, ItemWithAttachments {
7646
+ id: string;
7647
+ comments?: PaginatedList<Comment>;
7648
+ groupId: string;
7649
+ content: string;
7650
+ permalink?: string;
7651
+ author: Account;
7652
+ publishingDate: string;
7653
+ modified?: string;
7654
+ statistics: ItemStatistics;
7655
+ keywords?: {
7656
+ [key: string]: Keyword[];
7657
+ };
7658
+ contentLanguageCode?: string;
7659
+ isLiked?: boolean;
7660
+ isUnread?: boolean;
7661
+ isDemoContent?: boolean;
7662
+ isFollowing?: boolean;
7663
+ }
7664
+ export interface PostFilterDefinition {
7665
+ token?: string;
7666
+ pageSize?: string;
7667
+ search?: string;
7668
+ keywords?: FilterWithLogicalOperator;
7669
+ }
7670
+ export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
7671
+ export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
7672
+ export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
7673
+ }
7674
+ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
7675
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7676
+ import { Attachment } from "libs/reach/util/common/src/index";
7677
+ import { Keyword } from "libs/reach/util/common/src/index";
7678
+ import { Account } from "libs/reach/util/common/src/index";
7679
+ import { Post, PostFilterDefinition } from "libs/reach/feature/content/src/posts/utils";
7680
+ export function usePostsApi(): {
7681
+ createPost: (post: Partial<Post>) => Promise<Post>;
7682
+ togglePostLike: (postId: string, isLiked: boolean) => Promise<unknown>;
7683
+ getPosts: (filter?: Partial<PostFilterDefinition>, ...groupIds: string[]) => Promise<PaginatedList<Post>>;
7684
+ updatePost: (postId: string, content: string, attachments: Attachment[], keywords?: {
7685
+ [key: string]: Keyword[];
7686
+ }) => Promise<Post>;
7687
+ deletePost: (postId: string) => Promise<unknown>;
7688
+ getPost: (postId: string, commentCount?: number) => Promise<Post>;
7689
+ getPostThread: (postId: string, threadId: string) => Promise<Post>;
7690
+ translatePost: (postId: string, language: string) => Promise<string>;
7691
+ searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
7692
+ };
7693
+ }
7694
+ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectValidator" {
7695
+ import { EmbeddedObject } from "libs/reach/util/common/src/index";
7696
+ export function useEmbeddedObjectValidator(): (embeddedObject: EmbeddedObject) => Promise<boolean>;
7697
+ }
7698
+ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
7699
+ import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
7700
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
7701
+ export interface ClientAttachment extends Attachment {
7702
+ file?: File;
7703
+ }
7704
+ export type Attachments = (Attachment | ClientAttachment)[];
7705
+ export type RichCommentInputProps = CommentInputProps & {
7706
+ attachments: Attachment[];
7707
+ deletedAttachmentUrls: string[];
7708
+ allowAttachments?: boolean;
7709
+ useLargeDropTarget?: boolean;
7710
+ disableDragAndDrop?: boolean;
7711
+ onAttachmentsChange: (attachments: Attachments) => void;
7712
+ onDeleteAttachment?: (attachment: Attachment) => void;
7713
+ placeHolderStringResourceKey?: string;
7714
+ disableAddGif?: boolean;
7715
+ disableAddFiles?: boolean;
7716
+ parentId?: string;
7717
+ itemResourceType?: ItemResourceTypes | string;
7718
+ };
7719
+ export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
7720
+ attachments: Attachment[];
7721
+ deletedAttachmentUrls: string[];
7722
+ allowAttachments?: boolean;
7723
+ useLargeDropTarget?: boolean;
7724
+ disableDragAndDrop?: boolean;
7725
+ onAttachmentsChange: (attachments: Attachments) => void;
7726
+ onDeleteAttachment?: (attachment: Attachment) => void;
7727
+ placeHolderStringResourceKey?: string;
7728
+ disableAddGif?: boolean;
7729
+ disableAddFiles?: boolean;
7730
+ parentId?: string;
7731
+ itemResourceType?: ItemResourceTypes | string;
7732
+ } & import("react").RefAttributes<HTMLInputElement>>;
7733
+ }
7734
+ declare module "libs/reach/feature/content/src/comments/utils" {
7735
+ import { Comment, Attachment, CurrentUser } from "libs/reach/util/common/src/index";
7736
+ export function canSaveInput(allowSaveWithoutContent: boolean, attachments: Attachment[], content: string): boolean;
7737
+ export function canDelete(comment: Comment, user: CurrentUser, groupIds: string[]): boolean;
7738
+ export function canEdit(comment: Comment, user: CurrentUser): boolean;
7270
7739
  }
7271
7740
  declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerator" {
7272
7741
  import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
@@ -7368,24 +7837,6 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
7368
7837
  showAllKeywordsInCallout?: boolean;
7369
7838
  }>;
7370
7839
  }
7371
- declare module "libs/reach/feature/content/src/news/NewsService" {
7372
- import { CurrentUser } from "libs/reach/util/common/src/index";
7373
- import { LanguageBase } from "libs/reach/util/common/src/index";
7374
- import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7375
- export class NewsService {
7376
- static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7377
- static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7378
- static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7379
- static getContentLanguages(contents: {
7380
- [lang: string]: ContentDefinition;
7381
- }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7382
- static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7383
- static getLanguageForContent(contents: {
7384
- [lang: string]: ContentDefinition;
7385
- }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7386
- static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7387
- }
7388
- }
7389
7840
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7390
7841
  import { FC, MouseEvent } from 'react';
7391
7842
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
@@ -7461,6 +7912,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7461
7912
  className?: string;
7462
7913
  allowFilterByChannels?: boolean;
7463
7914
  channelBackgroundColor?: string;
7915
+ onChannelClick?: (channel: string) => unknown;
7464
7916
  }>;
7465
7917
  }
7466
7918
  declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
@@ -7520,6 +7972,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7520
7972
  height?: number;
7521
7973
  hidePlayerIfActive?: boolean;
7522
7974
  className?: string;
7975
+ documentIconName?: string;
7523
7976
  }
7524
7977
  export const PublishableItemBanner: FC<Props>;
7525
7978
  }
@@ -7605,27 +8058,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7605
8058
  }
7606
8059
  export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
7607
8060
  }
7608
- declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7609
- import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7610
- export default interface FeedbackSummary {
7611
- records: FeedbackItem[];
7612
- }
7613
- export enum FeedbackItemType {
7614
- comment = "comment",
7615
- like = "like",
7616
- confirm = "confirm",
7617
- poll = "poll",
7618
- eventRegistration = "eventRegistration"
7619
- }
7620
- export interface FeedbackItem {
7621
- type: FeedbackItemType;
7622
- timestamp: string;
7623
- }
7624
- export interface PollFeedbackItem extends FeedbackItem {
7625
- type: FeedbackItemType.poll;
7626
- answers: PollQuestionAnswer[];
7627
- }
7628
- }
7629
8061
  declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
7630
8062
  import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7631
8063
  import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
@@ -7644,6 +8076,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7644
8076
  import { PrimaryButton } from 'office-ui-fabric-react';
7645
8077
  export const EventRegistrationButton: FC<{
7646
8078
  isRegistered: boolean;
8079
+ eventId: string;
7647
8080
  disabled?: boolean;
7648
8081
  className?: string;
7649
8082
  onClick?: () => void;
@@ -7654,24 +8087,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7654
8087
  isRegistered?: boolean;
7655
8088
  }, never>;
7656
8089
  }
7657
- declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7658
- import { FC } from 'react';
7659
- import { PublishableItemContents } from "libs/reach/util/common/src/index";
7660
- export interface TranslationItem {
7661
- language: string;
7662
- id: string;
7663
- text: string;
7664
- }
7665
- export const PollTranslationContext: import("react").Context<{
7666
- getTranslation: (id: string) => string;
7667
- getAllTranslations: (id: string) => TranslationItem[];
7668
- }>;
7669
- export const PollTranslationContextProvider: FC<{
7670
- contents?: PublishableItemContents;
7671
- language: string;
7672
- additionalTranslations?: TranslationItem[];
7673
- }>;
7674
- }
7675
8090
  declare module "libs/reach/feature/content/src/events/eventUtils" {
7676
8091
  import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
7677
8092
  import { MessageDescriptor } from 'react-intl';
@@ -7727,25 +8142,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7727
8142
  onDismiss: () => unknown;
7728
8143
  }>;
7729
8144
  }
7730
- declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7731
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7732
- import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7733
- import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7734
- import { PaginatedList } from "libs/reach/util/common/src/index";
7735
- import { Account } from "libs/reach/util/common/src/index";
7736
- import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7737
- export const feedbackCache: {
7738
- [newsId: string]: Promise<FeedbackSummary>;
7739
- };
7740
- export function useFeedbackApi(): {
7741
- getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7742
- setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7743
- unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7744
- updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7745
- getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7746
- getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7747
- };
7748
- }
7749
8145
  declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
7750
8146
  import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7751
8147
  import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
@@ -7821,11 +8217,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
7821
8217
  className?: string;
7822
8218
  }>;
7823
8219
  }
7824
- declare module "libs/reach/feature/content/src/feedback/utils" {
7825
- import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7826
- export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7827
- export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7828
- }
7829
8220
  declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7830
8221
  import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
7831
8222
  import { FC } from 'react';
@@ -7885,6 +8276,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7885
8276
  allowFilterByChannels?: boolean;
7886
8277
  showFeedbackButtons?: boolean;
7887
8278
  readOnly?: boolean;
8279
+ enableModalRouting?: boolean;
7888
8280
  className?: string;
7889
8281
  }>;
7890
8282
  }
@@ -7935,7 +8327,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7935
8327
  Contact = "contact",
7936
8328
  InlinePageList = "inline-page-list",
7937
8329
  UrlPreview = "url-preview",
7938
- ActionButton = "action-button"
8330
+ ActionButton = "action-button",
8331
+ InlinePlugin = "inline-plugin"
7939
8332
  }
7940
8333
  export interface HtmlComponentMapper {
7941
8334
  component: FC<any>;
@@ -7962,6 +8355,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
7962
8355
  resourceType: ItemResourceTypes;
7963
8356
  item: TItem;
7964
8357
  itemId: string;
8358
+ relatedItemIds?: string[];
7965
8359
  contentLanguage: string;
7966
8360
  userPreferredLanguage: string;
7967
8361
  activeLanguages: string[];
@@ -8080,6 +8474,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
8080
8474
  enableModalRouting?: boolean;
8081
8475
  itemId?: string;
8082
8476
  isOverrideLink: boolean;
8477
+ icon?: string;
8083
8478
  }>;
8084
8479
  }
8085
8480
  declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
@@ -8229,6 +8624,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
8229
8624
  styleDefinition?: StyleDefinition;
8230
8625
  readOnly?: boolean;
8231
8626
  enableModalRouting?: boolean;
8627
+ highlight?: boolean;
8232
8628
  className?: string;
8233
8629
  }
8234
8630
  export const NewsItemTile: FC<Props>;
@@ -8288,7 +8684,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
8288
8684
  }
8289
8685
  declare module "libs/reach/feature/content/src/comments/AttachmentList" {
8290
8686
  import { FC } from 'react';
8291
- import { Attachment } from "libs/reach/util/common/src/index";
8687
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
8292
8688
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
8293
8689
  interface Props {
8294
8690
  className?: string;
@@ -8298,6 +8694,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
8298
8694
  previewTheme?: CommentInputTheme;
8299
8695
  disableVideoPreview?: boolean;
8300
8696
  disableEmbeddedObjectPreview?: boolean;
8697
+ itemResourceType?: ItemResourceTypes | string;
8698
+ parentId?: string;
8301
8699
  }
8302
8700
  export const AttachmentList: FC<Props>;
8303
8701
  }
@@ -8314,6 +8712,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
8314
8712
  placeHolderStringResourceKey?: string;
8315
8713
  disableAddGif?: boolean;
8316
8714
  disableAddFiles?: boolean;
8715
+ parentId?: string;
8716
+ itemResourceType?: string;
8317
8717
  } & {
8318
8718
  disableVideoPreview?: boolean;
8319
8719
  disableEmbeddedObjectPreview?: boolean;
@@ -8383,7 +8783,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
8383
8783
  }
8384
8784
  declare module "libs/reach/feature/content/src/comments/CreateComment" {
8385
8785
  import { FC } from 'react';
8386
- import { Account } from "libs/reach/util/common/src/index";
8786
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8387
8787
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8388
8788
  import { Keyword } from "libs/reach/util/common/src/index";
8389
8789
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
@@ -8415,6 +8815,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
8415
8815
  };
8416
8816
  disableBoxShadow?: boolean;
8417
8817
  ariaLabel?: string;
8818
+ parentId?: string;
8819
+ itemResourceType?: ItemResourceTypes | string;
8418
8820
  }
8419
8821
  interface Props extends BaseProps {
8420
8822
  allowAttachments?: boolean;
@@ -8432,6 +8834,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8432
8834
  import { FC, ReactNode } from 'react';
8433
8835
  export const InlineObjectToolbar: FC<{
8434
8836
  onDelete?: () => void;
8837
+ deleteAriaLabelResourceKey?: string;
8435
8838
  additionalButtons?: ReactNode;
8436
8839
  }>;
8437
8840
  export const InlineObjectToolbarWrapper: FC<{
@@ -8439,15 +8842,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8439
8842
  }>;
8440
8843
  }
8441
8844
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8442
- import { FC } from 'react';
8845
+ import { FC, ReactNode } from 'react';
8846
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8443
8847
  export const ImageToolbar: FC<{
8444
8848
  onDelete?: () => void;
8445
8849
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8446
8850
  onClose?: (e: React.MouseEvent<any>) => void;
8447
8851
  onCrop?: (e: React.MouseEvent<any>) => void;
8852
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8448
8853
  showFullScreenButton?: boolean;
8449
8854
  showCloseButton?: boolean;
8450
8855
  showCropButton?: boolean;
8856
+ alignmentButtons?: ReactNode;
8451
8857
  }>;
8452
8858
  }
8453
8859
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8474,14 +8880,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
8474
8880
  }
8475
8881
  export const InlineGalleryMapper: HtmlComponentMapper;
8476
8882
  }
8477
- declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
8478
- import { FC } from 'react';
8479
- import { ImageDetails } from "libs/reach/util/common/src/index";
8480
- export const LegacyPostPhotoGallery: FC<{
8481
- images: ImageDetails[];
8482
- imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
8483
- }>;
8484
- }
8485
8883
  declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8486
8884
  import { FC } from 'react';
8487
8885
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
@@ -8489,12 +8887,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8489
8887
  item: ItemWithAttachments;
8490
8888
  basePath: string;
8491
8889
  imagesGridBackgroundColor?: string;
8890
+ onPlayVideo?: (url: string, videoId: string) => void;
8891
+ onPlayAudio?: (url: string, audioId: string) => void;
8492
8892
  className?: string;
8493
8893
  }>;
8494
8894
  }
8495
8895
  declare module "libs/reach/feature/content/src/comments/EditComment" {
8496
8896
  import { FC } from 'react';
8497
- import { Account } from "libs/reach/util/common/src/index";
8897
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8498
8898
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8499
8899
  import { Attachment } from "libs/reach/util/common/src/index";
8500
8900
  import { Keyword } from "libs/reach/util/common/src/index";
@@ -8510,6 +8910,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
8510
8910
  onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
8511
8911
  onDeleteAttachment?: (attachment: ClientAttachment) => void;
8512
8912
  ariaLabel?: string;
8913
+ parentId?: string;
8914
+ itemResourceType?: ItemResourceTypes | string;
8513
8915
  }
8514
8916
  interface Props extends BaseProps {
8515
8917
  onSave?: (newContent: string, keywords?: {
@@ -8618,8 +9020,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8618
9020
  targetRoute: string;
8619
9021
  itemResourceType: ItemResourceTypes;
8620
9022
  enableModalRouting?: boolean;
9023
+ className?: string;
8621
9024
  }>;
8622
- export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
9025
+ export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8623
9026
  }
8624
9027
  declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8625
9028
  export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -8668,7 +9071,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
8668
9071
  target?: string;
8669
9072
  language?: string;
8670
9073
  hideCurrentPageNode?: boolean;
9074
+ homeTargetUrlOverride?: string;
8671
9075
  className?: string;
9076
+ readonly?: boolean;
8672
9077
  }>;
8673
9078
  }
8674
9079
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
@@ -8728,6 +9133,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
8728
9133
  hide?: boolean;
8729
9134
  onPageSelected?: (pageId: string) => unknown;
8730
9135
  selectedPageId?: string;
9136
+ readonly?: boolean;
8731
9137
  }>;
8732
9138
  }
8733
9139
  declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
@@ -8744,6 +9150,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
8744
9150
  selectedPageId?: string;
8745
9151
  isLoading?: boolean;
8746
9152
  disableScrollableList?: boolean;
9153
+ readonly?: boolean;
8747
9154
  }>;
8748
9155
  export const PageTableOfContentsInPanel: FC<{
8749
9156
  basePath?: string;
@@ -8766,6 +9173,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
8766
9173
  onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8767
9174
  onDismiss: () => void;
8768
9175
  basePath: string;
9176
+ readonly?: boolean;
8769
9177
  }>;
8770
9178
  }
8771
9179
  declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
@@ -8789,6 +9197,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
8789
9197
  activePageId: string;
8790
9198
  navigationContext: PageNavigationContext;
8791
9199
  className?: string;
9200
+ readonly?: boolean;
8792
9201
  }
8793
9202
  export const PagesDetailViewNavigation: FC<Props>;
8794
9203
  }
@@ -8867,6 +9276,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8867
9276
  language?: string;
8868
9277
  buildChannelFilterUrl?: (channelName: string) => string;
8869
9278
  clickableAvatar?: boolean;
9279
+ onChannelClick?: (channel: string) => unknown;
8870
9280
  }>;
8871
9281
  }
8872
9282
  declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
@@ -8948,6 +9358,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
8948
9358
  isLastPage: boolean;
8949
9359
  unreadOnly?: boolean;
8950
9360
  filter?: NewsFilterDefinition;
9361
+ activeChannel?: string;
8951
9362
  }>;
8952
9363
  }
8953
9364
  declare module "libs/reach/feature/content/src/news/useTranslateApi" {
@@ -9009,6 +9420,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
9009
9420
  type?: ItemResourceTypes;
9010
9421
  loadItemFunc: (itemId: string) => Promise<PublishableItem>;
9011
9422
  isEditorPreview?: boolean;
9423
+ relatedItemIds?: string[];
9012
9424
  }>;
9013
9425
  }
9014
9426
  declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
@@ -9022,6 +9434,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
9022
9434
  }
9023
9435
  declare module "libs/reach/feature/content/src/common/body/InlineImage" {
9024
9436
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9437
+ export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
9025
9438
  export const InlineImageMapper: HtmlComponentMapper;
9026
9439
  }
9027
9440
  declare module "libs/reach/feature/content/src/common/body/InlineContact" {
@@ -9082,6 +9495,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
9082
9495
  baseRoute: string;
9083
9496
  filterBaseUrl?: string;
9084
9497
  isInitialLoading?: boolean;
9498
+ readonly?: boolean;
9085
9499
  }>;
9086
9500
  }
9087
9501
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
@@ -9109,6 +9523,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
9109
9523
  pagingProps?: ListPagingProps;
9110
9524
  filterBaseUrl?: string;
9111
9525
  emptyListMessage: string;
9526
+ readonly?: boolean;
9112
9527
  }>;
9113
9528
  }
9114
9529
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
@@ -9240,6 +9655,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
9240
9655
  }
9241
9656
  export const InlineActionButtonMapper: HtmlComponentMapper;
9242
9657
  }
9658
+ declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
9659
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9660
+ export const InlineObjectPluginMapper: HtmlComponentMapper;
9661
+ }
9243
9662
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
9244
9663
  import { FC } from 'react';
9245
9664
  export const EventDetailViewPeopleInfo: FC;
@@ -9252,6 +9671,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9252
9671
  import { FC } from 'react';
9253
9672
  export const EventDetailViewMetaInfo: FC<{
9254
9673
  allowFilterByChannels?: boolean;
9674
+ onChannelClick?: (channel: string) => unknown;
9255
9675
  }>;
9256
9676
  }
9257
9677
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
@@ -9295,6 +9715,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9295
9715
  export const DetailViewCsvExportButton: FC<{
9296
9716
  path: string;
9297
9717
  stringResource: string;
9718
+ isReadOnly?: boolean;
9298
9719
  className?: string;
9299
9720
  }>;
9300
9721
  }
@@ -9354,6 +9775,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9354
9775
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
9355
9776
  import { FC } from 'react';
9356
9777
  export const EventDetailViewResponseExportButton: FC<{
9778
+ isReadOnly?: boolean;
9357
9779
  className?: string;
9358
9780
  }>;
9359
9781
  }
@@ -9366,8 +9788,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9366
9788
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
9367
9789
  import { FC } from 'react';
9368
9790
  export const EventDetailViewUserRegistration: FC<{
9369
- className?: string;
9370
9791
  hideInfoMessage?: boolean;
9792
+ isReadOnly?: boolean;
9793
+ className?: string;
9371
9794
  }>;
9372
9795
  }
9373
9796
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
@@ -9408,7 +9831,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9408
9831
  }
9409
9832
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
9410
9833
  import { FC } from 'react';
9411
- export const EventRegistrationParticipantsLink: FC;
9834
+ export const EventRegistrationParticipantsLink: FC<{
9835
+ isReadOnly?: boolean;
9836
+ }>;
9412
9837
  }
9413
9838
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
9414
9839
  import { FC } from 'react';
@@ -9459,6 +9884,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9459
9884
  readOnly?: boolean;
9460
9885
  trimContent?: boolean;
9461
9886
  showReplyBox?: boolean;
9887
+ enableModalRouting?: boolean;
9462
9888
  className?: string;
9463
9889
  }>;
9464
9890
  }
@@ -9481,6 +9907,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9481
9907
  onReply?: (comment: Comment, commentSender?: Account) => void;
9482
9908
  readOnly?: boolean;
9483
9909
  trimContent?: boolean;
9910
+ enableModalRouting?: boolean;
9484
9911
  className?: string;
9485
9912
  }
9486
9913
  export const CommentList: FC<CommentListProps>;
@@ -9540,6 +9967,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9540
9967
  showReplyBox?: boolean;
9541
9968
  trimContent?: boolean;
9542
9969
  title?: ReactNode;
9970
+ enableModalRouting?: boolean;
9543
9971
  className?: string;
9544
9972
  };
9545
9973
  export const PagedCommentsSection: FC<Props>;
@@ -9564,23 +9992,18 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
9564
9992
  }
9565
9993
  declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
9566
9994
  import { FC } from 'react';
9567
- import { PublishableItem } from "libs/reach/util/common/src/index";
9568
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9995
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9569
9996
  export const PublishableItemComments: FC<{
9570
9997
  item: PublishableItem;
9571
9998
  readOnly?: boolean;
9572
9999
  loadInReadOnlyMode?: boolean;
9573
10000
  type: ItemResourceTypes;
9574
- hideProfileUrl?: boolean;
9575
10001
  disableLoginForPublicUser?: boolean;
9576
10002
  }>;
9577
10003
  }
9578
10004
  declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons" {
9579
- import { FC } from 'react';
9580
- import { ItemStatistics } from "libs/reach/util/common/src/index";
9581
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9582
- import { PublishableItem } from "libs/reach/util/common/src/index";
9583
- import { Feedback } from "libs/reach/util/common/src/index";
10005
+ import { FC, ReactNode } from 'react';
10006
+ import { Feedback, ItemResourceTypes, ItemStatistics, PublishableItem } from "libs/reach/util/common/src/index";
9584
10007
  export const FeedbackButtonContext: import("react").Context<{
9585
10008
  statistics: ItemStatistics;
9586
10009
  item: PublishableItem;
@@ -9593,6 +10016,8 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9593
10016
  item: PublishableItem;
9594
10017
  hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
9595
10018
  language: string;
10019
+ warningMessage?: ReactNode;
10020
+ buttons: ReactNode[];
9596
10021
  className?: string;
9597
10022
  }>;
9598
10023
  }
@@ -9631,19 +10056,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
9631
10056
  }>;
9632
10057
  }
9633
10058
  declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
9634
- import { FC } from 'react';
9635
- import { FeedbackSettings } from "libs/reach/util/common/src/index";
9636
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9637
- import { PublishableItem } from "libs/reach/util/common/src/index";
10059
+ import { FC, ReactNode } from 'react';
10060
+ import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9638
10061
  export const FeedbackSection: FC<{
9639
10062
  item: PublishableItem;
10063
+ buttons: ReactNode[];
9640
10064
  language: string;
9641
10065
  type: ItemResourceTypes;
9642
10066
  feedbackSettings: FeedbackSettings;
9643
10067
  hideComments?: boolean;
9644
- hideProfileUrl?: boolean;
9645
10068
  disableLoginForPublicUser?: boolean;
9646
10069
  isReadOnly?: boolean;
10070
+ warningMessage?: ReactNode;
9647
10071
  className?: string;
9648
10072
  }>;
9649
10073
  }
@@ -9666,12 +10090,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
9666
10090
  import { EventItem } from "libs/reach/util/common/src/index";
9667
10091
  export const EventDownloadCalendarFileButton: FC<{
9668
10092
  item: EventItem;
10093
+ isReadOnly: boolean;
9669
10094
  className?: string;
9670
10095
  }>;
9671
10096
  }
9672
10097
  declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
9673
10098
  import { FC } from 'react';
9674
- export const EventFeedbackButtonDownloadCalendarFile: FC;
10099
+ export const EventFeedbackButtonDownloadCalendarFile: FC<{
10100
+ isReadOnly: boolean;
10101
+ }>;
9675
10102
  }
9676
10103
  declare module "libs/reach/feature/content/src/feedback/ShareButton" {
9677
10104
  import { FC } from 'react';
@@ -9696,14 +10123,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
9696
10123
  }
9697
10124
  declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
9698
10125
  import { FC } from 'react';
9699
- import { PublishableItem } from "libs/reach/util/common/src/index";
10126
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9700
10127
  export const ConfirmationStatisticsExport: FC<{
9701
10128
  item: PublishableItem;
10129
+ resourceType: ItemResourceTypes;
10130
+ isReadOnly?: boolean;
9702
10131
  }>;
9703
10132
  }
9704
10133
  declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
9705
10134
  import { FC } from 'react';
9706
- export const FeedbackButtonConfirmations: FC;
10135
+ export const FeedbackButtonConfirmations: FC<{
10136
+ isReadOnly?: boolean;
10137
+ }>;
10138
+ }
10139
+ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
10140
+ export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
9707
10141
  }
9708
10142
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
9709
10143
  import { FC } from 'react';
@@ -9797,10 +10231,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
9797
10231
  basePath?: string;
9798
10232
  }>;
9799
10233
  }
10234
+ declare module "libs/reach/feature/content/src/common/useContainerDimensions" {
10235
+ export function useContainerDimensions(): [number, (node: any) => void];
10236
+ }
9800
10237
  declare module "libs/reach/feature/content/src/common/banner/Banner" {
9801
10238
  import { FC } from 'react';
9802
10239
  import { ItemResourceTypes, SchedulableItem } from "libs/reach/util/common/src/index";
9803
- import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
10240
+ import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9804
10241
  export const Banner: FC<{
9805
10242
  item: SchedulableItem;
9806
10243
  token: string;
@@ -9808,6 +10245,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9808
10245
  layoutMode?: ItemTileLayoutMode;
9809
10246
  bannerDefaultWidth?: number;
9810
10247
  showPlaceholderIfNoBannerInfo?: boolean;
10248
+ documentIconName?: string;
9811
10249
  }>;
9812
10250
  }
9813
10251
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9845,17 +10283,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9845
10283
  isMobilePreview?: boolean;
9846
10284
  }>;
9847
10285
  }
9848
- declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
9849
- import { FC, ReactNode } from 'react';
9850
- export const GutterMarkerIcon: FC<{
9851
- iconName: string;
9852
- children: ReactNode;
9853
- isActive: boolean;
9854
- color: string;
9855
- tooltipResourceKey?: string;
9856
- className?: string;
9857
- }>;
9858
- }
9859
10286
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
9860
10287
  import { FC } from 'react';
9861
10288
  export const DetailViewTitle: FC;
@@ -9878,24 +10305,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9878
10305
  import { FC } from 'react';
9879
10306
  export const DetailViewKeywords: FC<{
9880
10307
  filterBaseUrl: string;
9881
- }>;
9882
- }
9883
- declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
9884
- import { FC } from 'react';
9885
- export const ConfirmationBox: FC<{
9886
- disabled?: boolean;
9887
- onChange?: (value: boolean) => void;
9888
- checked: boolean;
9889
- }>;
9890
- }
9891
- declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
9892
- import { FC } from 'react';
9893
- import { NewsItem } from "libs/reach/util/common/src/index";
9894
- export const ConfirmationSection: FC<{
9895
- item?: NewsItem;
9896
- showDescription: boolean;
9897
- readOnly?: boolean;
9898
- className?: string;
10308
+ onKeywordClick?: (keyword: string) => unknown;
9899
10309
  }>;
9900
10310
  }
9901
10311
  declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
@@ -9925,9 +10335,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9925
10335
  import { FC, ReactNode } from 'react';
9926
10336
  export const DetailViewNavigation: FC<{
9927
10337
  offsetRight?: number;
9928
- children?: ReactNode;
9929
10338
  callout?: ReactNode;
10339
+ className?: string;
10340
+ children?: ReactNode;
9930
10341
  }>;
10342
+ export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
10343
+ offsetRight?: number;
10344
+ callout?: ReactNode;
10345
+ className?: string;
10346
+ children?: ReactNode;
10347
+ }>, import("styled-components").DefaultTheme, {
10348
+ offsetRightOverride?: number;
10349
+ }, never>;
9931
10350
  }
9932
10351
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
9933
10352
  import { FC } from 'react';
@@ -9969,584 +10388,220 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
9969
10388
  getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
9970
10389
  };
9971
10390
  }
9972
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
9973
- import { LocationDescriptor } from 'history';
9974
- import { FC, ReactNode } from 'react';
9975
- export const SidebarIcon: FC<{
9976
- icon?: ReactNode;
9977
- iconName?: string;
9978
- color?: string;
9979
- onClick?: () => any;
9980
- route?: LocationDescriptor;
9981
- iconTooltipResourceKey: string;
9982
- iconTooltipResourceValues?: any;
10391
+ declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
10392
+ interface IClickHandles {
10393
+ onInsideClick: () => void;
10394
+ onOutsideClick: () => void;
10395
+ }
10396
+ export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
10397
+ }
10398
+ declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10399
+ import { FC } from 'react';
10400
+ export const GroupNotificationsSettings: FC<{
10401
+ groupId: string;
9983
10402
  className?: string;
9984
10403
  }>;
9985
10404
  }
9986
- declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
9987
- import { FC, ReactNode } from 'react';
9988
- import { LocationDescriptor } from 'history';
9989
- import { PrimitiveType } from 'intl-messageformat';
9990
- export interface BaseSidebarItemProps {
9991
- children?: any;
9992
- icon?: ReactNode;
9993
- iconName?: string;
9994
- iconTooltipResourceKey?: string;
9995
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
9996
- secondaryIconName?: string;
9997
- secondaryIconTooltipResourceKey?: string;
9998
- reverse?: boolean;
9999
- onIconClick?: () => void;
10000
- iconRoute?: LocationDescriptor;
10001
- iconColor?: string;
10002
- onSecondaryIconClick?: () => void;
10003
- secondaryIconRoute?: LocationDescriptor;
10004
- onContentClick?: () => void;
10005
- contentRoute?: LocationDescriptor;
10006
- badgeInfo?: number | boolean;
10007
- title?: string;
10405
+ declare module "libs/reach/feature/content/src/posts/PostCreator" {
10406
+ import { FC } from 'react';
10407
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10408
+ import { Keyword } from "libs/reach/util/common/src/index";
10409
+ import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10410
+ export interface PostCreatorProps {
10411
+ groupId: string;
10412
+ disabled?: boolean;
10413
+ disableDragAndDrop?: boolean;
10414
+ onBeforeSave?: (post: Post) => void;
10415
+ onSaved: (post: Post) => void;
10416
+ keywordSettings?: {
10417
+ availableKeywords?: Keyword[];
10418
+ defaultKeywords?: Keyword[];
10419
+ mandatoryKeywords?: Keyword[];
10420
+ };
10421
+ disableAutoFocus?: boolean;
10422
+ attachmentPreviewTheme?: CommentInputTheme;
10008
10423
  className?: string;
10009
10424
  }
10010
- export const BaseSidebarItem: FC<BaseSidebarItemProps>;
10425
+ export const PostCreator: FC<PostCreatorProps>;
10011
10426
  }
10012
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
10427
+ declare module "libs/reach/feature/content/src/posts/PostReplies" {
10013
10428
  import { FC } from 'react';
10014
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
10015
- export const SidebarItemSection: FC<{
10016
- styleDefinition?: ColorStyleDefinition;
10017
- }>;
10018
- }
10019
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
10020
- import { FC, ReactNode } from 'react';
10021
- import { PrimitiveType } from 'intl-messageformat';
10022
- import { LocationDescriptor } from 'history';
10023
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
10024
- interface CommonSidebarItemProps {
10025
- title?: string | JSX.Element;
10026
- titleResource?: string;
10027
- icon?: ReactNode;
10028
- iconName?: string;
10029
- iconTooltipResourceKey?: string;
10030
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
10031
- secondaryIconName?: string;
10032
- secondaryIconTooltipResourceKey?: string;
10033
- iconColor?: string;
10034
- reverse?: boolean;
10035
- notHighlightable?: boolean;
10036
- onClick?: () => void;
10429
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10430
+ import { Comment } from "libs/reach/util/common/src/index";
10431
+ import { PaginatedList } from "libs/reach/util/common/src/index";
10432
+ interface Props {
10037
10433
  className?: string;
10038
- isActive?: boolean;
10039
- activeClassName?: string;
10040
- readOnly?: boolean;
10041
- submenu?: JSX.Element;
10042
- submenuClassName?: string;
10043
- submenuStyleDefinition?: ColorStyleDefinition;
10044
- badgeInfo?: number | boolean;
10045
- domIdentifier?: string;
10046
- }
10047
- interface SidebarItemProps extends CommonSidebarItemProps {
10048
- contentRoute?: LocationDescriptor;
10049
- onIconClick?: () => void;
10050
- iconRoute?: LocationDescriptor;
10051
- onSecondaryIconClick?: () => void;
10052
- secondaryIconRoute?: LocationDescriptor;
10053
- isHoverable?: boolean;
10054
- }
10055
- export const SidebarItem: FC<SidebarItemProps>;
10056
- interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
10057
- route: LocationDescriptor;
10058
- exact?: boolean;
10059
- linkClassName?: string;
10434
+ post: Post;
10435
+ initialPageSize?: number;
10436
+ comments?: PaginatedList<Comment>;
10437
+ autoFocusReplyField?: boolean;
10438
+ showReplyBox?: boolean;
10439
+ onReplyAdded: () => void;
10440
+ onReplyDeleted: () => void;
10441
+ trimContent?: boolean;
10442
+ enableModalRouting?: boolean;
10060
10443
  }
10061
- export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
10444
+ export const PostReplies: FC<Props>;
10062
10445
  }
10063
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
10446
+ declare module "libs/reach/feature/content/src/posts/PostEditor" {
10064
10447
  import { FC } from 'react';
10065
- export const SidebarGroup: FC<{
10066
- titleResource?: string;
10067
- borderColor?: string;
10448
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10449
+ import { Keyword } from "libs/reach/util/common/src/index";
10450
+ export const PostEditor: FC<{
10068
10451
  className?: string;
10452
+ post: Post;
10453
+ onCancel: () => void;
10454
+ onBeforeSave: (post: Post) => void;
10455
+ onSaved: (post: Post) => void;
10456
+ keywordSettings?: {
10457
+ availableKeywords?: Keyword[];
10458
+ defaultKeywords?: Keyword[];
10459
+ mandatoryKeywords?: Keyword[];
10460
+ };
10069
10461
  }>;
10070
10462
  }
10071
- declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
10463
+ declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
10072
10464
  import { FC } from 'react';
10073
- export const ContentWithShowMoreButton: FC<{
10074
- domIdentifier: string;
10075
- trimContent?: boolean;
10465
+ export const PostFollowButton: FC<{
10466
+ itemId: string;
10467
+ isFollowing: boolean;
10468
+ }>;
10469
+ }
10470
+ declare module "libs/reach/feature/content/src/posts/PostGroup" {
10471
+ import { FC } from 'react';
10472
+ import { NavLink } from 'react-router-dom';
10473
+ export const PostGroup: FC<{
10474
+ groupId: string;
10475
+ target?: string;
10076
10476
  className?: string;
10077
10477
  }>;
10478
+ export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
10078
10479
  }
10079
- declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
10480
+ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10080
10481
  import { FC } from 'react';
10081
- import { Channel } from "libs/reach/util/common/src/index";
10082
- import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
10482
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10483
+ import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
10083
10484
  interface Props {
10084
- selectedChannelNames?: string[];
10085
- selectedChannelIds?: string[];
10086
- mandatoryChannelIds?: string[];
10087
- availableChannels?: Channel[];
10088
- onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
10485
+ post: Post;
10486
+ targetUrl?: string;
10089
10487
  className?: string;
10090
- showOnlyUserChannels?: boolean;
10091
- showSelectionToggle?: boolean;
10092
- placeholder?: string;
10093
- inlineControls?: boolean;
10094
- required?: boolean;
10095
- id?: string;
10096
- showLogicalOperatorOptions?: boolean;
10097
- selectedLogicalOperator?: LogicalOperator;
10488
+ threadId?: string;
10489
+ onCustomPostDelete?: () => void;
10490
+ comments?: PaginatedList<Comment>;
10491
+ initialCommentsPageSize?: number;
10492
+ onThreadCommentDelete?: () => void;
10493
+ onThreadReply?: (threadId: string) => void;
10494
+ keywordSettings?: {
10495
+ availableKeywords?: Keyword[];
10496
+ defaultKeywords?: Keyword[];
10497
+ mandatoryKeywords?: Keyword[];
10498
+ };
10499
+ showGroup?: boolean;
10500
+ onBeforeDelete?: (id: string) => unknown;
10501
+ onAfterDelete?: (id: string) => unknown;
10502
+ onItemClick?: (postId: string) => unknown;
10503
+ openTargetInNewWindow?: boolean;
10504
+ trimContent?: boolean;
10505
+ postGroupTargetUrl?: string;
10506
+ onKeywordClick?: (keywordId: string) => void;
10507
+ baseTargetUrl?: string;
10098
10508
  }
10099
- export const ChannelSelector: FC<Props>;
10100
- }
10101
- declare module "libs/reach/feature/content/src/common/index" {
10102
- export * from "libs/reach/feature/content/src/common/cards/CardFooter";
10103
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
10104
- export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
10105
- export * from "libs/reach/feature/content/src/common/item-tile/Title";
10106
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
10107
- export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
10108
- export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
10109
- export * from "libs/reach/feature/content/src/common/body/InlineGallery";
10110
- export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
10111
- export * from "libs/reach/feature/content/src/common/body/InlineImage";
10112
- export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
10113
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
10114
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
10115
- export * from "libs/reach/feature/content/src/common/body/InlineQuote";
10116
- export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
10117
- export * from "libs/reach/feature/content/src/common/body/InlineVideo";
10118
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
10119
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
10120
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
10121
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
10122
- export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
10123
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
10124
- export * from "libs/reach/feature/content/src/common/ContentUtils";
10125
- export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
10126
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
10127
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
10128
- export * from "libs/reach/feature/content/src/common/body/InlineCode";
10129
- export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
10130
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
10131
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
10132
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
10133
- export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
10134
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
10135
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
10136
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
10137
- export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
10138
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
10139
- export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
10140
- export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
10141
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
10142
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
10143
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
10144
- export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
10145
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
10146
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
10147
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
10148
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
10149
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
10150
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
10151
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
10152
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
10153
- export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
10154
- export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
10155
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
10156
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
10157
- export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
10158
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
10159
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
10160
- export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
10161
- export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
10162
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
10163
- export * from "libs/reach/feature/content/src/common/banner/Banner";
10164
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
10165
- export * from "libs/reach/feature/content/src/common/cards/Card";
10166
- export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
10167
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
10168
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
10169
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
10170
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
10171
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
10172
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
10173
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
10174
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
10175
- export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
10176
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
10177
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
10178
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
10179
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
10180
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
10181
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
10182
- export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
10183
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
10184
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
10185
- export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
10186
- export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
10187
- export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
10188
- export * from "libs/reach/feature/content/src/common/StateIcon";
10189
- export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
10190
- export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
10191
- export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
10192
- export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
10193
- export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
10194
- export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
10195
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
10196
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
10197
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
10198
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
10199
- export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
10200
- export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
10201
- export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
10202
- export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
10509
+ export const PostDisplay: FC<Props>;
10510
+ export const PostDisplayWithModalRouting: FC<Props>;
10203
10511
  }
10204
- declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
10512
+ declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10205
10513
  import { FC } from 'react';
10206
- import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
10207
- import { Account } from "libs/reach/util/common/src/index";
10208
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
10209
- interface Props {
10210
- type?: ItemResourceTypes;
10211
- baseAttachmentPath?: string;
10212
- message: Comment;
10213
- showDelete?: boolean;
10214
- showAutoTranslate?: boolean;
10215
- showEdit?: boolean;
10216
- onDelete?: (comment: Comment) => void;
10217
- onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
10218
- scope: ConversationScope;
10219
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
10220
- getHashtagFilterRoute?: (hashtag: string) => string;
10221
- highlight?: boolean;
10222
- hasUnreadReplies?: boolean;
10223
- onReplyIconClick?: () => void;
10224
- onReply?: (comment: Comment, commentSender?: Account) => void;
10225
- replyCount?: number;
10226
- readOnly?: boolean;
10227
- trimContent?: boolean;
10514
+ import { UserGroup } from "libs/reach/util/common/src/index";
10515
+ export const PostGroupsPicker: FC<{
10516
+ groups: UserGroup[];
10517
+ selectedGroupId: string;
10518
+ onGroupSelected?: (groupId: string) => unknown;
10228
10519
  className?: string;
10229
- }
10230
- export const CommentDisplay: FC<Props>;
10520
+ }>;
10231
10521
  }
10232
- declare module "libs/reach/feature/content/src/comments/index" {
10233
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
10234
- export * from "libs/reach/feature/content/src/comments/FollowComments";
10235
- export * from "libs/reach/feature/content/src/comments/CreateComment";
10236
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
10237
- export * from "libs/reach/feature/content/src/comments/CommentDisplay";
10238
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
10239
- export * from "libs/reach/feature/content/src/comments/UrlMatcher";
10240
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
10241
- export * from "libs/reach/feature/content/src/comments/RichCommentInput";
10242
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
10243
- export * from "libs/reach/feature/content/src/comments/AttachmentList";
10244
- export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
10245
- export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
10246
- export * from "libs/reach/feature/content/src/comments/CommentInput";
10247
- }
10248
- declare module "libs/reach/feature/content/src/feedback/index" {
10249
- export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
10250
- export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
10251
- export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
10252
- export * from "libs/reach/feature/content/src/feedback/utils";
10253
- }
10254
- declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
10255
- import { FC, ReactNode } from 'react';
10256
- import { Keyword } from "libs/reach/util/common/src/index";
10257
- interface Props {
10258
- isOpen: boolean;
10259
- preSelectedKeywords: Keyword[];
10260
- onSave: (keywords: Keyword[]) => void;
10261
- titleResource: string;
10262
- onDismiss: () => void;
10263
- availableKeywords?: Keyword[];
10264
- mandatoryKeywordIds?: string[];
10265
- }
10266
- export const KeywordDialog: FC<Props>;
10267
- export const StatefulKeywordPicker: FC<{
10268
- preSelectedKeywords: Keyword[];
10269
- availableKeywords?: Keyword[];
10270
- mandatoryKeywordIds?: string[];
10271
- showSelectionToggle?: boolean;
10272
- children: (selectedKeywords: Keyword[]) => ReactNode;
10273
- }>;
10274
- }
10275
- declare module "libs/reach/feature/content/src/forms/Textarea" {
10276
- import { FC, MutableRefObject } from 'react';
10277
- export interface TextareaProps {
10278
- rows?: number;
10279
- placeholder?: string;
10280
- readOnly?: boolean;
10281
- onChange: (value: string) => void;
10522
+ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
10523
+ import { FC } from 'react';
10524
+ export const PostGroupSelector: FC<{
10525
+ onPostGroupClick?: (groupId: string) => void;
10282
10526
  className?: string;
10283
- defaultValue?: string;
10284
- disabled?: boolean;
10285
- noDebouncing?: boolean;
10286
- value?: string;
10287
- onIconClick?: () => void;
10288
- onEnter?: () => void;
10289
- icon?: string;
10290
- disableNewLines?: boolean;
10291
- autoFocus?: boolean;
10292
- inputRef?: MutableRefObject<HTMLTextAreaElement>;
10293
- onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
10294
- inputType?: string;
10295
- }
10296
- /**
10297
- * Textarea that expands vertically to fit content.
10298
- * If maxLength is given, also displays a count of remaining characters when focused
10299
- */
10300
- export const Textarea: FC<TextareaProps>;
10527
+ }>;
10301
10528
  }
10302
- declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
10303
- import { FC } from 'react';
10304
- interface Props {
10305
- onInsert: (files: File[]) => void;
10306
- accept?: string;
10307
- captionKey?: string;
10308
- captionIconName?: string;
10309
- descriptionKey?: string;
10310
- descriptionIconName?: string;
10311
- singleMode?: boolean;
10529
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10530
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10531
+ import { DocumentNode } from '@apollo/client';
10532
+ import { Channel } from "libs/reach/util/common/src/index";
10533
+ import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
10534
+ export enum StreamEventResponse {
10535
+ NotSet = "NOTSET",
10536
+ Registered = "REGISTERED",
10537
+ Declined = "DECLINED"
10312
10538
  }
10313
- export const InsertFilesButton: FC<Props>;
10314
- export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
10315
- isActive?: boolean;
10316
- }, never>;
10317
- }
10318
- declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
10319
- import { FC } from 'react';
10320
- interface Props {
10321
- onInsert: (files: File[]) => void;
10322
- accept?: string;
10323
- captionKey?: string;
10324
- descriptionKey?: string;
10539
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10325
10540
  }
10326
- export const InsertImagesButton: FC<Props>;
10541
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10542
+ items: StreamItem[];
10543
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10544
+ loadMore: () => Promise<void>;
10545
+ pageInfo: {
10546
+ errors?: any;
10547
+ hasNextPage: boolean;
10548
+ skip: number;
10549
+ };
10550
+ refresh: () => Promise<void>;
10551
+ isLoadingFirstPage: boolean;
10552
+ refetchItem: (itemId: string) => Promise<void>;
10553
+ };
10554
+ export function hasFilter(filter?: StreamFilterDefinition): boolean;
10555
+ export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10556
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10557
+ export function getFilterConditionsString(filterConditions?: string[]): string;
10558
+ export const GROUPS_CONDITION: (groupIds: string[]) => string;
10559
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
10560
+ export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
10561
+ export const OWNER_CONDITION: (owner: string) => string;
10562
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
10563
+ export const AUTHORS_CONDITION: (authors: string[]) => string;
10564
+ export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
10565
+ export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
10566
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
10567
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
10568
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
10569
+ export const POST_ITEM_FIELDS: DocumentNode;
10327
10570
  }
10328
- declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
10329
- import { FC } from 'react';
10330
- interface DateTimePickerProps {
10331
- date: string;
10332
- maxDate?: string;
10333
- minDate?: string;
10334
- dateValidationResourceKey?: string;
10335
- timeValidationResourceKey?: string;
10336
- readOnly?: boolean;
10337
- onChanged: (date: string, isValid: boolean) => void;
10338
- noDateResourceKey: string;
10339
- selectDateResourceKey: string;
10340
- dateOnly?: boolean;
10341
- initialPickerDate?: string;
10342
- label?: string;
10343
- isRequired?: boolean;
10344
- className?: string;
10345
- }
10346
- export const DateTimePicker: FC<DateTimePickerProps>;
10347
- export default DateTimePicker;
10571
+ declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
10572
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10573
+ import { DependencyList } from 'react';
10574
+ export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
10348
10575
  }
10349
- declare module "libs/reach/feature/content/src/forms/DateRange" {
10350
- import moment, { Moment } from 'moment';
10351
- export enum DateRange {
10352
- TwoYears = 0,
10353
- OneYear = 1,
10354
- SixMonths = 2,
10355
- TwoMonths = 3,
10356
- OneMonth = 4,
10357
- SevenDays = 5,
10358
- YesterDay = 6,
10359
- Today = 7
10360
- }
10361
- export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
10362
- export function dateToDateRange(date: string | moment.Moment): number;
10363
- export function dateRangeToDate(range: DateRange): Moment;
10576
+ declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
10577
+ import { UserGroup } from "libs/reach/util/common/src/index";
10578
+ export function usePostKeywordSettings(): (group: UserGroup) => {
10579
+ availableKeywords: import("@livetiles/reach/util/common").Keyword[];
10580
+ defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
10581
+ mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
10582
+ };
10364
10583
  }
10365
- declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
10366
- import { FC } from 'react';
10367
- import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
10368
- export const DateRangeSlider: FC<{
10369
- value?: DateRange;
10370
- onChange: (range: DateRange) => unknown;
10371
- }>;
10584
+ declare module "libs/reach/feature/content/src/posts/index" {
10585
+ export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
10586
+ export * from "libs/reach/feature/content/src/posts/PostCreator";
10587
+ export * from "libs/reach/feature/content/src/posts/PostDisplay";
10588
+ export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
10589
+ export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
10590
+ export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
10591
+ export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
10592
+ export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
10593
+ export * from "libs/reach/feature/content/src/posts/usePostsApi";
10594
+ export * from "libs/reach/feature/content/src/posts/utils";
10372
10595
  }
10373
- declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
10374
- import { FC } from 'react';
10375
- import { WrappedComponentProps } from 'react-intl';
10376
- import { SelectionMode } from 'office-ui-fabric-react';
10377
- import { Account, AccountType } from "libs/reach/util/common/src/index";
10378
- interface PeoplePickerDialogProps {
10379
- defaultSelectedItems: Account[];
10380
- onChange: (items: Account[]) => void;
10381
- onDismiss: () => void;
10382
- titleResource: string;
10383
- intl?: WrappedComponentProps;
10384
- selectionMode?: SelectionMode;
10385
- allowMailItems?: boolean;
10386
- accountType: AccountType;
10387
- showDialog: boolean;
10388
- allowEmptyValue: boolean;
10389
- includePendingInvitationUsers?: boolean;
10390
- placeholderStringResourceKey?: string;
10391
- inputAriaLabelResourceKey: string;
10392
- }
10393
- export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
10394
- }
10395
- declare module "libs/reach/feature/content/src/forms/index" {
10396
- export * from "libs/reach/feature/content/src/forms/KeywordDialog";
10397
- export * from "libs/reach/feature/content/src/forms/Textarea";
10398
- export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
10399
- export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
10400
- export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
10401
- export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
10402
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
10403
- export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
10404
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
10405
- export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
10406
- export * from "libs/reach/feature/content/src/forms/DateRange";
10407
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
10408
- export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
10409
- export * from "libs/reach/feature/content/src/forms/videos/VideoView";
10410
- }
10411
- declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10412
- import { FC } from 'react';
10413
- export const GroupNotificationsSettings: FC<{
10414
- groupId: string;
10415
- className?: string;
10416
- }>;
10417
- }
10418
- declare module "libs/reach/feature/content/src/posts/PostCreator" {
10419
- import { FC } from 'react';
10420
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10421
- import { Keyword } from "libs/reach/util/common/src/index";
10422
- import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10423
- export interface PostCreatorProps {
10424
- groupId: string;
10425
- disabled?: boolean;
10426
- disableDragAndDrop?: boolean;
10427
- onBeforeSave?: (post: Post) => void;
10428
- onSaved: (post: Post) => void;
10429
- keywordSettings?: {
10430
- availableKeywords?: Keyword[];
10431
- defaultKeywords?: Keyword[];
10432
- mandatoryKeywords?: Keyword[];
10433
- };
10434
- disableAutoFocus?: boolean;
10435
- attachmentPreviewTheme?: CommentInputTheme;
10436
- className?: string;
10437
- }
10438
- export const PostCreator: FC<PostCreatorProps>;
10439
- }
10440
- declare module "libs/reach/feature/content/src/posts/PostReplies" {
10441
- import { FC } from 'react';
10442
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10443
- import { Comment } from "libs/reach/util/common/src/index";
10444
- import { PaginatedList } from "libs/reach/util/common/src/index";
10445
- interface Props {
10446
- className?: string;
10447
- post: Post;
10448
- initialPageSize?: number;
10449
- comments?: PaginatedList<Comment>;
10450
- autoFocusReplyField?: boolean;
10451
- showReplyBox?: boolean;
10452
- onReplyAdded: () => void;
10453
- onReplyDeleted: () => void;
10454
- trimContent?: boolean;
10455
- }
10456
- export const PostReplies: FC<Props>;
10457
- }
10458
- declare module "libs/reach/feature/content/src/posts/PostEditor" {
10459
- import { FC } from 'react';
10460
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10461
- import { Keyword } from "libs/reach/util/common/src/index";
10462
- export const PostEditor: FC<{
10463
- className?: string;
10464
- post: Post;
10465
- onCancel: () => void;
10466
- onBeforeSave: (post: Post) => void;
10467
- onSaved: (post: Post) => void;
10468
- keywordSettings?: {
10469
- availableKeywords?: Keyword[];
10470
- defaultKeywords?: Keyword[];
10471
- mandatoryKeywords?: Keyword[];
10472
- };
10473
- }>;
10474
- }
10475
- declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
10476
- import { FC } from 'react';
10477
- export const PostFollowButton: FC<{
10478
- itemId: string;
10479
- isFollowing: boolean;
10480
- }>;
10481
- }
10482
- declare module "libs/reach/feature/content/src/posts/PostGroup" {
10483
- import { FC } from 'react';
10484
- import { NavLink } from 'react-router-dom';
10485
- export const PostGroup: FC<{
10486
- groupId: string;
10487
- target?: string;
10488
- className?: string;
10489
- }>;
10490
- export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
10491
- }
10492
- declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10493
- import { FC } from 'react';
10494
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10495
- import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
10496
- interface Props {
10497
- post: Post;
10498
- targetUrl?: string;
10499
- className?: string;
10500
- threadId?: string;
10501
- onCustomPostDelete?: () => void;
10502
- comments?: PaginatedList<Comment>;
10503
- initialCommentsPageSize?: number;
10504
- onThreadCommentDelete?: () => void;
10505
- onThreadReply?: (threadId: string) => void;
10506
- keywordSettings?: {
10507
- availableKeywords?: Keyword[];
10508
- defaultKeywords?: Keyword[];
10509
- mandatoryKeywords?: Keyword[];
10510
- };
10511
- showGroup?: boolean;
10512
- onBeforeDelete?: (id: string) => unknown;
10513
- onAfterDelete?: (id: string) => unknown;
10514
- onItemClick?: (postId: string) => unknown;
10515
- openTargetInNewWindow?: boolean;
10516
- trimContent?: boolean;
10517
- postGroupTargetUrl?: string;
10518
- onKeywordClick?: (keywordId: string) => void;
10519
- baseTargetUrl?: string;
10520
- }
10521
- export const PostDisplay: FC<Props>;
10522
- export const PostDisplayWithModalRouting: FC<Props>;
10523
- }
10524
- declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10525
- import { FC } from 'react';
10526
- import { UserGroup } from "libs/reach/util/common/src/index";
10527
- export const PostGroupsPicker: FC<{
10528
- groups: UserGroup[];
10529
- selectedGroupId: string;
10530
- onGroupSelected?: (groupId: string) => unknown;
10531
- className?: string;
10532
- }>;
10533
- }
10534
- declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
10535
- import { FC } from 'react';
10536
- export const PostGroupSelector: FC<{
10537
- onPostGroupClick?: (groupId: string) => void;
10538
- className?: string;
10539
- }>;
10540
- }
10541
- declare module "libs/reach/feature/content/src/stream/streamUtils" {
10542
- 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";
10543
- import { Post } from "libs/reach/feature/content/src/posts/index";
10544
- import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
10545
- enum StreamItemTypes {
10546
- Post = "POST",
10547
- News = "NEWS",
10548
- Event = "EVENT",
10549
- Page = "PAGE"
10596
+ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10597
+ 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";
10598
+ import { Post } from "libs/reach/feature/content/src/posts/index";
10599
+ import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
10600
+ enum StreamItemTypes {
10601
+ Post = "POST",
10602
+ News = "NEWS",
10603
+ Event = "EVENT",
10604
+ Page = "PAGE"
10550
10605
  }
10551
10606
  export enum StreamConversationScope {
10552
10607
  Public = "PUBLIC",
@@ -10756,7 +10811,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10756
10811
  knownState: KnownNewsState;
10757
10812
  hasNewComments?: boolean;
10758
10813
  isLiked?: boolean;
10759
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10760
10814
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10761
10815
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10762
10816
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -10966,6 +11020,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10966
11020
  isUnlinked?: boolean;
10967
11021
  pageType?: PageType;
10968
11022
  firstChildId?: string;
11023
+ isGroupInheritanceBroken?: boolean;
10969
11024
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10970
11025
  id?: string;
10971
11026
  versionId?: string;
@@ -11045,7 +11100,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11045
11100
  knownState: KnownNewsState;
11046
11101
  hasNewComments?: boolean;
11047
11102
  isLiked?: boolean;
11048
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
11049
11103
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
11050
11104
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
11051
11105
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -11153,6 +11207,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11153
11207
  isUnlinked?: boolean;
11154
11208
  pageType?: PageType;
11155
11209
  firstChildId?: string;
11210
+ isGroupInheritanceBroken?: boolean;
11156
11211
  lease: import("@livetiles/reach/util/common").LeaseInfo;
11157
11212
  id?: string;
11158
11213
  versionId?: string;
@@ -11276,7 +11331,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11276
11331
  knownState: KnownNewsState;
11277
11332
  hasNewComments?: boolean;
11278
11333
  isLiked?: boolean;
11279
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
11280
11334
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
11281
11335
  lease: import("@livetiles/reach/util/common").LeaseInfo;
11282
11336
  id?: string;
@@ -11351,6 +11405,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11351
11405
  isUnlinked?: boolean;
11352
11406
  pageType?: PageType;
11353
11407
  firstChildId?: string;
11408
+ isGroupInheritanceBroken?: boolean;
11354
11409
  lease: import("@livetiles/reach/util/common").LeaseInfo;
11355
11410
  id?: string;
11356
11411
  versionId?: string;
@@ -11378,73 +11433,451 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11378
11433
  poll?: import("@livetiles/reach/util/common").Poll;
11379
11434
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11380
11435
  })[];
11436
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11437
+ export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
11438
+ }
11439
+ declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
11440
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
11441
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11442
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
11443
+ export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
11444
+ export function useClearSearchSessionOnLeave(): void;
11445
+ }
11446
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
11447
+ import { LocationDescriptor } from 'history';
11448
+ import { FC, ReactNode } from 'react';
11449
+ export const SidebarIcon: FC<{
11450
+ icon?: ReactNode;
11451
+ iconName?: string;
11452
+ color?: string;
11453
+ onClick?: () => any;
11454
+ route?: LocationDescriptor;
11455
+ iconTooltipResourceKey: string;
11456
+ iconTooltipResourceValues?: any;
11457
+ className?: string;
11458
+ }>;
11459
+ }
11460
+ declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
11461
+ import { FC, ReactNode } from 'react';
11462
+ import { LocationDescriptor } from 'history';
11463
+ import { PrimitiveType } from 'intl-messageformat';
11464
+ export interface BaseSidebarItemProps {
11465
+ children?: any;
11466
+ icon?: ReactNode;
11467
+ iconName?: string;
11468
+ iconTooltipResourceKey?: string;
11469
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11470
+ secondaryIconName?: string;
11471
+ secondaryIconTooltipResourceKey?: string;
11472
+ reverse?: boolean;
11473
+ onIconClick?: () => void;
11474
+ iconRoute?: LocationDescriptor;
11475
+ iconColor?: string;
11476
+ onSecondaryIconClick?: () => void;
11477
+ secondaryIconRoute?: LocationDescriptor;
11478
+ onContentClick?: () => void;
11479
+ contentRoute?: LocationDescriptor;
11480
+ badgeInfo?: number | boolean;
11481
+ title?: string;
11482
+ className?: string;
11483
+ }
11484
+ export const BaseSidebarItem: FC<BaseSidebarItemProps>;
11485
+ }
11486
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
11487
+ import { FC } from 'react';
11488
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11489
+ export const SidebarItemSection: FC<{
11490
+ styleDefinition?: ColorStyleDefinition;
11491
+ }>;
11492
+ }
11493
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
11494
+ import { FC, ReactNode } from 'react';
11495
+ import { PrimitiveType } from 'intl-messageformat';
11496
+ import { LocationDescriptor } from 'history';
11497
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11498
+ interface CommonSidebarItemProps {
11499
+ title?: string | JSX.Element;
11500
+ titleResource?: string;
11501
+ icon?: ReactNode;
11502
+ iconName?: string;
11503
+ iconTooltipResourceKey?: string;
11504
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11505
+ secondaryIconName?: string;
11506
+ secondaryIconTooltipResourceKey?: string;
11507
+ iconColor?: string;
11508
+ reverse?: boolean;
11509
+ notHighlightable?: boolean;
11510
+ onClick?: () => void;
11511
+ className?: string;
11512
+ isActive?: boolean;
11513
+ activeClassName?: string;
11514
+ readOnly?: boolean;
11515
+ submenu?: JSX.Element;
11516
+ submenuClassName?: string;
11517
+ submenuStyleDefinition?: ColorStyleDefinition;
11518
+ badgeInfo?: number | boolean;
11519
+ domIdentifier?: string;
11520
+ }
11521
+ interface SidebarItemProps extends CommonSidebarItemProps {
11522
+ contentRoute?: LocationDescriptor;
11523
+ onIconClick?: () => void;
11524
+ iconRoute?: LocationDescriptor;
11525
+ onSecondaryIconClick?: () => void;
11526
+ secondaryIconRoute?: LocationDescriptor;
11527
+ isHoverable?: boolean;
11528
+ }
11529
+ export const SidebarItem: FC<SidebarItemProps>;
11530
+ interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
11531
+ route: LocationDescriptor;
11532
+ exact?: boolean;
11533
+ linkClassName?: string;
11534
+ }
11535
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
11536
+ }
11537
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
11538
+ import { FC } from 'react';
11539
+ export const SidebarGroup: FC<{
11540
+ titleResource?: string;
11541
+ borderColor?: string;
11542
+ className?: string;
11543
+ }>;
11544
+ }
11545
+ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
11546
+ import { FC } from 'react';
11547
+ export const ContentWithShowMoreButton: FC<{
11548
+ domIdentifier: string;
11549
+ trimContent?: boolean;
11550
+ className?: string;
11551
+ }>;
11552
+ }
11553
+ declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
11554
+ import { FC } from 'react';
11555
+ import { Channel } from "libs/reach/util/common/src/index";
11556
+ import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
11557
+ interface Props {
11558
+ selectedChannelNames?: string[];
11559
+ selectedChannelIds?: string[];
11560
+ mandatoryChannelIds?: string[];
11561
+ availableChannels?: Channel[];
11562
+ onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
11563
+ className?: string;
11564
+ showOnlyUserChannels?: boolean;
11565
+ showSelectionToggle?: boolean;
11566
+ placeholder?: string;
11567
+ inlineControls?: boolean;
11568
+ required?: boolean;
11569
+ id?: string;
11570
+ showLogicalOperatorOptions?: boolean;
11571
+ selectedLogicalOperator?: LogicalOperator;
11572
+ }
11573
+ export const ChannelSelector: FC<Props>;
11574
+ }
11575
+ declare module "libs/reach/feature/content/src/common/index" {
11576
+ export * from "libs/reach/feature/content/src/common/cards/CardFooter";
11577
+ export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
11578
+ export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
11579
+ export * from "libs/reach/feature/content/src/common/item-tile/Title";
11580
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
11581
+ export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
11582
+ export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
11583
+ export * from "libs/reach/feature/content/src/common/body/InlineGallery";
11584
+ export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
11585
+ export * from "libs/reach/feature/content/src/common/body/InlineImage";
11586
+ export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
11587
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
11588
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
11589
+ export * from "libs/reach/feature/content/src/common/body/InlineQuote";
11590
+ export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
11591
+ export * from "libs/reach/feature/content/src/common/body/InlineVideo";
11592
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
11593
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
11594
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
11595
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
11596
+ export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
11597
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
11598
+ export * from "libs/reach/feature/content/src/common/ContentUtils";
11599
+ export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
11600
+ export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
11601
+ export * from "libs/reach/feature/content/src/common/body/InlineContact";
11602
+ export * from "libs/reach/feature/content/src/common/body/InlineCode";
11603
+ export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
11604
+ export * from "libs/reach/feature/content/src/common/body/CodeDetails";
11605
+ export * from "libs/reach/feature/content/src/common/body/TextViewer";
11606
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
11607
+ export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
11608
+ export * from "libs/reach/feature/content/src/common/body/InlineTable";
11609
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
11610
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
11611
+ export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
11612
+ export * from "libs/reach/feature/content/src/common/body/InlineFileList";
11613
+ export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
11614
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
11615
+ export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
11616
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
11617
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
11618
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
11619
+ export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
11620
+ export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
11621
+ export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
11622
+ export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
11623
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
11624
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
11625
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
11626
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
11627
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
11628
+ export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
11629
+ export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
11630
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
11631
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
11632
+ export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
11633
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
11634
+ export * from "libs/reach/feature/content/src/common/body/InlinePageList";
11635
+ export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
11636
+ export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
11637
+ export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
11638
+ export * from "libs/reach/feature/content/src/common/banner/Banner";
11639
+ export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
11640
+ export * from "libs/reach/feature/content/src/common/cards/Card";
11641
+ export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
11642
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
11643
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
11644
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
11645
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
11646
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
11647
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
11648
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
11649
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
11650
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
11651
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
11652
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
11653
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
11654
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
11655
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
11656
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
11657
+ export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
11658
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
11659
+ export * from "libs/reach/feature/content/src/common/AppTriggerActions";
11660
+ export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
11661
+ export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
11662
+ export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
11663
+ export * from "libs/reach/feature/content/src/common/StateIcon";
11664
+ export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
11665
+ export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
11666
+ export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
11667
+ export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
11668
+ export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
11669
+ export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
11670
+ export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
11671
+ export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
11672
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
11673
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
11674
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
11675
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
11676
+ export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
11677
+ export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
11678
+ export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
11679
+ export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
11680
+ export * from "libs/reach/feature/content/src/common/useContainerDimensions";
11681
+ }
11682
+ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
11683
+ import { FC } from 'react';
11684
+ import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
11685
+ interface Props {
11686
+ type?: ItemResourceTypes;
11687
+ baseAttachmentPath?: string;
11688
+ message: Comment;
11689
+ showDelete?: boolean;
11690
+ showAutoTranslate?: boolean;
11691
+ showEdit?: boolean;
11692
+ onDelete?: (comment: Comment) => void;
11693
+ onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
11694
+ scope: ConversationScope;
11695
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
11696
+ getHashtagFilterRoute?: (hashtag: string) => string;
11697
+ highlight?: boolean;
11698
+ hasUnreadReplies?: boolean;
11699
+ onReplyIconClick?: () => void;
11700
+ onReply?: (comment: Comment, commentSender?: Account) => void;
11701
+ replyCount?: number;
11702
+ readOnly?: boolean;
11703
+ trimContent?: boolean;
11704
+ enableModalRouting?: boolean;
11705
+ className?: string;
11706
+ }
11707
+ export const CommentDisplay: FC<Props>;
11708
+ }
11709
+ declare module "libs/reach/feature/content/src/comments/index" {
11710
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11711
+ export * from "libs/reach/feature/content/src/comments/FollowComments";
11712
+ export * from "libs/reach/feature/content/src/comments/CreateComment";
11713
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11714
+ export * from "libs/reach/feature/content/src/comments/CommentDisplay";
11715
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11716
+ export * from "libs/reach/feature/content/src/comments/UrlMatcher";
11717
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11718
+ export * from "libs/reach/feature/content/src/comments/RichCommentInput";
11719
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11720
+ export * from "libs/reach/feature/content/src/comments/AttachmentList";
11721
+ export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
11722
+ export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
11723
+ export * from "libs/reach/feature/content/src/comments/CommentInput";
11381
11724
  }
11382
- declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11383
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11384
- import { DocumentNode } from '@apollo/client';
11385
- import { Channel } from "libs/reach/util/common/src/index";
11386
- import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
11387
- export enum StreamEventResponse {
11388
- NotSet = "NOTSET",
11389
- Registered = "REGISTERED",
11390
- Declined = "DECLINED"
11725
+ declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
11726
+ import { FC, ReactNode } from 'react';
11727
+ import { Keyword } from "libs/reach/util/common/src/index";
11728
+ interface Props {
11729
+ isOpen: boolean;
11730
+ preSelectedKeywords: Keyword[];
11731
+ onSave: (keywords: Keyword[]) => void;
11732
+ titleResource: string;
11733
+ onDismiss: () => void;
11734
+ availableKeywords?: Keyword[];
11735
+ mandatoryKeywordIds?: string[];
11391
11736
  }
11392
- export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
11737
+ export const KeywordDialog: FC<Props>;
11738
+ export const StatefulKeywordPicker: FC<{
11739
+ preSelectedKeywords: Keyword[];
11740
+ availableKeywords?: Keyword[];
11741
+ mandatoryKeywordIds?: string[];
11742
+ showSelectionToggle?: boolean;
11743
+ children: (selectedKeywords: Keyword[]) => ReactNode;
11744
+ }>;
11745
+ }
11746
+ declare module "libs/reach/feature/content/src/forms/Textarea" {
11747
+ import { FC, MutableRefObject } from 'react';
11748
+ export interface TextareaProps {
11749
+ rows?: number;
11750
+ placeholder?: string;
11751
+ readOnly?: boolean;
11752
+ onChange: (value: string) => void;
11753
+ className?: string;
11754
+ defaultValue?: string;
11755
+ disabled?: boolean;
11756
+ noDebouncing?: boolean;
11757
+ value?: string;
11758
+ onIconClick?: () => void;
11759
+ onEnter?: () => void;
11760
+ icon?: string;
11761
+ disableNewLines?: boolean;
11762
+ autoFocus?: boolean;
11763
+ inputRef?: MutableRefObject<HTMLTextAreaElement>;
11764
+ onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
11765
+ inputType?: string;
11393
11766
  }
11394
- export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
11395
- items: StreamItem[];
11396
- setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
11397
- loadMore: () => Promise<void>;
11398
- pageInfo: {
11399
- errors?: any;
11400
- hasNextPage: boolean;
11401
- skip: number;
11402
- };
11403
- refresh: () => Promise<void>;
11404
- isLoadingFirstPage: boolean;
11405
- refetchItem: (itemId: string) => Promise<void>;
11406
- };
11407
- export function hasFilter(filter?: StreamFilterDefinition): boolean;
11408
- export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11409
- export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11410
- export function getFilterConditionsString(filterConditions?: string[]): string;
11411
- export const GROUPS_CONDITION: (groupIds: string[]) => string;
11412
- export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
11413
- export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
11414
- export const OWNER_CONDITION: (owner: string) => string;
11415
- export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
11416
- export const AUTHORS_CONDITION: (authors: string[]) => string;
11417
- export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
11418
- export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
11419
- export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
11420
- export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
11421
- export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
11422
- export const POST_ITEM_FIELDS: DocumentNode;
11767
+ /**
11768
+ * Textarea that expands vertically to fit content.
11769
+ * If maxLength is given, also displays a count of remaining characters when focused
11770
+ */
11771
+ export const Textarea: FC<TextareaProps>;
11423
11772
  }
11424
- declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
11425
- import { Post } from "libs/reach/feature/content/src/posts/utils";
11426
- import { DependencyList } from 'react';
11427
- export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
11773
+ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
11774
+ import { FC } from 'react';
11775
+ interface Props {
11776
+ onInsert: (files: File[]) => void;
11777
+ accept?: string;
11778
+ captionKey?: string;
11779
+ captionIconName?: string;
11780
+ descriptionKey?: string;
11781
+ descriptionIconName?: string;
11782
+ singleMode?: boolean;
11783
+ }
11784
+ export const InsertFilesButton: FC<Props>;
11785
+ export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11786
+ isActive?: boolean;
11787
+ }, never>;
11428
11788
  }
11429
- declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
11430
- import { UserGroup } from "libs/reach/util/common/src/index";
11431
- export function usePostKeywordSettings(): (group: UserGroup) => {
11432
- availableKeywords: import("@livetiles/reach/util/common").Keyword[];
11433
- defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
11434
- mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
11435
- };
11789
+ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
11790
+ import { FC } from 'react';
11791
+ interface Props {
11792
+ onInsert: (files: File[]) => void;
11793
+ accept?: string;
11794
+ captionKey?: string;
11795
+ descriptionKey?: string;
11796
+ }
11797
+ export const InsertImagesButton: FC<Props>;
11436
11798
  }
11437
- declare module "libs/reach/feature/content/src/posts/index" {
11438
- export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
11439
- export * from "libs/reach/feature/content/src/posts/PostCreator";
11440
- export * from "libs/reach/feature/content/src/posts/PostDisplay";
11441
- export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
11442
- export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
11443
- export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
11444
- export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
11445
- export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
11446
- export * from "libs/reach/feature/content/src/posts/usePostsApi";
11447
- export * from "libs/reach/feature/content/src/posts/utils";
11799
+ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
11800
+ import { FC } from 'react';
11801
+ interface DateTimePickerProps {
11802
+ date: string;
11803
+ maxDate?: string;
11804
+ minDate?: string;
11805
+ dateValidationResourceKey?: string;
11806
+ timeValidationResourceKey?: string;
11807
+ readOnly?: boolean;
11808
+ onChanged: (date: string, isValid: boolean) => void;
11809
+ noDateResourceKey: string;
11810
+ selectDateResourceKey: string;
11811
+ dateOnly?: boolean;
11812
+ initialPickerDate?: string;
11813
+ label?: string;
11814
+ isRequired?: boolean;
11815
+ className?: string;
11816
+ }
11817
+ export const DateTimePicker: FC<DateTimePickerProps>;
11818
+ export default DateTimePicker;
11819
+ }
11820
+ declare module "libs/reach/feature/content/src/forms/DateRange" {
11821
+ import moment, { Moment } from 'moment';
11822
+ export enum DateRange {
11823
+ TwoYears = 0,
11824
+ OneYear = 1,
11825
+ SixMonths = 2,
11826
+ TwoMonths = 3,
11827
+ OneMonth = 4,
11828
+ SevenDays = 5,
11829
+ YesterDay = 6,
11830
+ Today = 7
11831
+ }
11832
+ export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
11833
+ export function dateToDateRange(date: string | moment.Moment): number;
11834
+ export function dateRangeToDate(range: DateRange): Moment;
11835
+ }
11836
+ declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
11837
+ import { FC } from 'react';
11838
+ import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
11839
+ export const DateRangeSlider: FC<{
11840
+ value?: DateRange;
11841
+ onChange: (range: DateRange) => unknown;
11842
+ }>;
11843
+ }
11844
+ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
11845
+ import { FC } from 'react';
11846
+ import { WrappedComponentProps } from 'react-intl';
11847
+ import { SelectionMode } from 'office-ui-fabric-react';
11848
+ import { Account, AccountType } from "libs/reach/util/common/src/index";
11849
+ interface PeoplePickerDialogProps {
11850
+ defaultSelectedItems: Account[];
11851
+ onChange: (items: Account[]) => void;
11852
+ onDismiss: () => void;
11853
+ titleResource: string;
11854
+ intl?: WrappedComponentProps;
11855
+ selectionMode?: SelectionMode;
11856
+ allowMailItems?: boolean;
11857
+ accountType: AccountType;
11858
+ showDialog: boolean;
11859
+ allowEmptyValue: boolean;
11860
+ includePendingInvitationUsers?: boolean;
11861
+ placeholderStringResourceKey?: string;
11862
+ inputAriaLabelResourceKey: string;
11863
+ }
11864
+ export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
11865
+ }
11866
+ declare module "libs/reach/feature/content/src/forms/index" {
11867
+ export * from "libs/reach/feature/content/src/forms/KeywordDialog";
11868
+ export * from "libs/reach/feature/content/src/forms/Textarea";
11869
+ export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
11870
+ export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
11871
+ export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
11872
+ export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
11873
+ export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
11874
+ export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
11875
+ export * from "libs/reach/feature/content/src/forms/DateTimePicker";
11876
+ export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
11877
+ export * from "libs/reach/feature/content/src/forms/DateRange";
11878
+ export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
11879
+ export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
11880
+ export * from "libs/reach/feature/content/src/forms/videos/VideoView";
11448
11881
  }
11449
11882
  declare module "libs/reach/feature/content/src/editor/EditorListItem" {
11450
11883
  import { FC, ReactNode } from 'react';
@@ -11541,8 +11974,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
11541
11974
  declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11542
11975
  export type ShareTokenType = 'preview' | 'published';
11543
11976
  export function useShareTokenEditorApi(): {
11544
- activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11545
- deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11977
+ activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
11978
+ deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
11546
11979
  };
11547
11980
  }
11548
11981
  declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
@@ -11553,9 +11986,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11553
11986
  cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11554
11987
  uncancelEvent: (id: string) => Promise<unknown>;
11555
11988
  unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11556
- deleteEventPermanently: (eventId: string) => any;
11989
+ deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11557
11990
  saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11558
- deleteModifiedRecurrence: (eventId: string) => any;
11991
+ deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11559
11992
  };
11560
11993
  }
11561
11994
  declare module "libs/reach/feature/content/src/editor/index" {
@@ -11594,12 +12027,14 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
11594
12027
  event: EventStreamItem;
11595
12028
  }>;
11596
12029
  }
12030
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
12031
+ import { FC } from 'react';
12032
+ export const GlobalSearchButton: FC<{
12033
+ className?: string;
12034
+ }>;
12035
+ }
11597
12036
  declare module "libs/reach/feature/content/src/stream/StreamList" {
11598
12037
  import { FC, ReactNode } from 'react';
11599
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11600
- export type StreamQueryResult = {
11601
- items: StreamItem[];
11602
- };
11603
12038
  export const StreamList: FC<{
11604
12039
  emptySearchResultButton?: ReactNode;
11605
12040
  }>;
@@ -11661,12 +12096,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
11661
12096
  export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
11662
12097
  export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
11663
12098
  }
11664
- declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11665
- import { FC } from 'react';
11666
- export const GlobalSearchButton: FC<{
11667
- className?: string;
11668
- }>;
11669
- }
11670
12099
  declare module "libs/reach/feature/content/src/search/index" {
11671
12100
  export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
11672
12101
  }
@@ -11828,23 +12257,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupChannelsPages" {
11828
12257
  import { FC } from 'react';
11829
12258
  export const GroupsChannelsPage: FC;
11830
12259
  }
11831
- declare module "apps/reach-app/src/app/PublicAccessContext" {
11832
- import { FC } from 'react';
11833
- export const PublicAccessContext: import("react").Context<{
11834
- togglePublicUserDialog: (show: boolean) => unknown;
11835
- }>;
11836
- export const PublicAccessContextProvider: FC;
11837
- }
11838
- declare module "apps/reach-app/src/error/AccessDeniedPage" {
11839
- import { FC } from 'react';
11840
- import { AuthenticationType } from "libs/shared/util/authentication/src/index";
11841
- export interface AccessDeniedPageProps {
11842
- authType?: AuthenticationType;
11843
- authException?: any;
11844
- }
11845
- export const AccessDeniedPage: FC<AccessDeniedPageProps>;
11846
- export default AccessDeniedPage;
11847
- }
11848
12260
  declare module "apps/reach-app/src/app/admin/groups/GroupKeywordsPage" {
11849
12261
  import { FC } from 'react';
11850
12262
  export const GroupKeywordsPage: FC;
@@ -12108,6 +12520,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
12108
12520
  }) => string;
12109
12521
  };
12110
12522
  }
12523
+ declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
12524
+ import { Dispatch } from 'react';
12525
+ export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
12526
+ }
12527
+ declare module "apps/reach-app/src/app/analytics/DashboardPage" {
12528
+ import { FC } from 'react';
12529
+ export interface Dashboard {
12530
+ name: string;
12531
+ title: string;
12532
+ url: string;
12533
+ }
12534
+ export const DashboardPage: FC<{
12535
+ dashboard: Dashboard;
12536
+ }>;
12537
+ }
12538
+ declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
12539
+ import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
12540
+ export function useDashboards(): Dashboard[];
12541
+ export function hasDashboards(): boolean;
12542
+ }
12543
+ declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
12544
+ import { FC } from 'react';
12545
+ export const AnalyticsSidebarMenu: FC;
12546
+ }
12111
12547
  declare module "apps/reach-app/src/app/chrome/PageMenu" {
12112
12548
  import { FC } from 'react';
12113
12549
  interface Props {