@livetiles/reach-plugin-types 0.4.0-preview.35 → 0.4.0-preview.353

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 +2226 -988
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -38,12 +38,10 @@ declare module "libs/shared/util/common/src/JwtHelper" {
38
38
  declare module "libs/shared/util/common/src/redirect" {
39
39
  export function redirectWithReload(redirectUrl: string): void;
40
40
  }
41
- declare module "libs/shared/util/environment/src/IntercomConfig" {
42
- export interface IntercomConfig {
43
- appId: string;
41
+ declare module "libs/shared/util/environment/src/ZendeskConfig" {
42
+ export interface ZendeskConfig {
43
+ apiKey: string;
44
44
  enable: boolean;
45
- productId: string;
46
- unauthenticatedProductId: string;
47
45
  }
48
46
  }
49
47
  declare module "libs/shared/util/authentication/src/AuthenticationType" {
@@ -209,14 +207,14 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
209
207
  clientId: string;
210
208
  basePolicyUrl: string;
211
209
  signInPolicy: string;
212
- forgotPasswordPolicy: string;
210
+ forgotPasswordPolicy?: string;
213
211
  apiScope: string;
214
212
  scopes: string[];
215
213
  extraScopes: string[];
216
214
  }
217
215
  }
218
216
  declare module "libs/shared/util/environment/src/AppConfiguration" {
219
- import { IntercomConfig } from "libs/shared/util/environment/src/IntercomConfig";
217
+ import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
220
218
  import { AuthenticationType } from "libs/shared/util/authentication/src/index";
221
219
  import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
222
220
  import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
@@ -235,12 +233,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
235
233
  export interface AppConfiguration {
236
234
  configType: ConfigType;
237
235
  authentication: {
238
- useSingleAuthType: AuthenticationType;
236
+ useSingleAuthType?: AuthenticationType;
239
237
  azuread: MsalConfiguration;
240
- b2c: MsalConfiguration;
241
- keycloak: KeycloakConfiguration;
242
- teams: MsalConfiguration;
243
- teamsAustralia: MsalConfiguration;
238
+ b2c?: MsalConfiguration;
239
+ keycloak?: KeycloakConfiguration;
240
+ teams?: MsalConfiguration;
241
+ teamsAustralia?: MsalConfiguration;
244
242
  };
245
243
  apiEndpoint: string;
246
244
  api2Endpoint: string;
@@ -249,6 +247,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
249
247
  webAppUrl: string;
250
248
  productWebsite: string;
251
249
  supportUrl: string;
250
+ releaseNotesUrl: string;
252
251
  privacyUrl: string;
253
252
  eulaUrl: string;
254
253
  appInsightsKey: string;
@@ -260,7 +259,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
260
259
  resource: string;
261
260
  };
262
261
  };
263
- intercom: IntercomConfig;
262
+ zendeskMessaging: ZendeskConfig;
264
263
  singleSubscriptionMode: boolean;
265
264
  oneSignal?: {
266
265
  appId: string;
@@ -417,6 +416,7 @@ declare module "libs/reach/util/common/src/PaginatedList" {
417
416
  paginationToken?: any;
418
417
  nextItem?: TItem;
419
418
  hasMoreUnreadComments?: boolean;
419
+ hasNextPage?: boolean;
420
420
  }
421
421
  }
422
422
  declare module "libs/reach/util/common/src/SortDirection" {
@@ -522,6 +522,12 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
522
522
  getLocaleFromLocalStorage: () => Promise<string>;
523
523
  };
524
524
  }
525
+ declare module "libs/reach/util/common/src/resources/languages/da.async" {
526
+ import '@formatjs/intl-pluralrules/dist/locale-data/da';
527
+ import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
528
+ import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
529
+ export default da;
530
+ }
525
531
  declare module "libs/reach/util/common/src/resources/languages/de.async" {
526
532
  import '@formatjs/intl-pluralrules/dist/locale-data/de';
527
533
  import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
@@ -577,7 +583,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
577
583
  export default en;
578
584
  }
579
585
  declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
580
- export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/de.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
586
+ export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
581
587
  }
582
588
  declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
583
589
  import '@formatjs/intl-pluralrules/dist/locale-data/ar';
@@ -1070,6 +1076,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
1070
1076
  [key: string]: string;
1071
1077
  };
1072
1078
  mode: AudienceMatchMode;
1079
+ includeDirectoryUsers?: boolean;
1080
+ includeNonDirectoryUsers?: boolean;
1073
1081
  }
1074
1082
  }
1075
1083
  declare module "libs/reach/util/common/src/content/Language" {
@@ -1095,7 +1103,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1095
1103
  import { Account } from "libs/reach/util/common/src/user/Account";
1096
1104
  import { Audience } from "libs/reach/util/common/src/user/Audience";
1097
1105
  import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
1098
- import { SubscriptionInfo as BaseSubscriptionInfo, IdentityProviderSettings, IdentityProviderNames } from "libs/shared/util/authentication/src/index";
1106
+ import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
1099
1107
  import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
1100
1108
  export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
1101
1109
  domains?: string[];
@@ -1128,11 +1136,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1128
1136
  useInAppBrowser?: boolean;
1129
1137
  tenantId?: string;
1130
1138
  signInSettings?: SignInSettings;
1131
- logoUrl?: string;
1132
1139
  faviconUrl?: string;
1133
1140
  theme?: Theme;
1134
1141
  allowPublicAccess?: boolean;
1135
1142
  redirectToContent?: boolean;
1143
+ allowZendesk?: boolean;
1144
+ logoInfo: LogoInfo;
1136
1145
  }
1137
1146
  export interface SignInSettings {
1138
1147
  customIdentityProviders: IdentityProviderSettings[];
@@ -1146,7 +1155,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1146
1155
  contact: Account;
1147
1156
  theme: Theme;
1148
1157
  defaultLanguage: string;
1149
- logoUrl: string;
1150
1158
  faviconUrl?: string;
1151
1159
  navigation: NavigationNode[];
1152
1160
  regionSettings?: RegionSettings;
@@ -1155,6 +1163,16 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1155
1163
  hasUnreadItems: boolean;
1156
1164
  pageTrackingInfo: PageTrackingInfo;
1157
1165
  termsAndConditionsHash?: string;
1166
+ logoInfo: LogoInfo;
1167
+ }
1168
+ export enum LogoSize {
1169
+ large = "large",
1170
+ small = "small"
1171
+ }
1172
+ export interface LogoInfo {
1173
+ smallUrl: string;
1174
+ largeUrl: string;
1175
+ isLegacyLogo: boolean;
1158
1176
  }
1159
1177
  export interface TermsAndConditions {
1160
1178
  value?: string;
@@ -1254,6 +1272,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1254
1272
  componentName: string;
1255
1273
  route: string;
1256
1274
  navigationNode?: {
1275
+ componentName?: string;
1257
1276
  iconName?: string;
1258
1277
  label?: string;
1259
1278
  translations?: {
@@ -1477,7 +1496,7 @@ declare module "libs/reach/util/common/src/user/User" {
1477
1496
  export interface UserInvitationResult {
1478
1497
  type: UserInvitationResultType;
1479
1498
  message?: string;
1480
- user?: HashUser;
1499
+ user?: Account;
1481
1500
  isSuccess: boolean;
1482
1501
  }
1483
1502
  export enum UserRegistrationResultType {
@@ -1707,6 +1726,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
1707
1726
  GenericUrl = 3,
1708
1727
  Kaltura = 4
1709
1728
  }
1729
+ export function convertStringToVideoSource(videoSource: string): VideoSource;
1710
1730
  }
1711
1731
  declare module "libs/reach/util/common/src/content/BaseItem" {
1712
1732
  import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
@@ -1714,6 +1734,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
1714
1734
  id?: string;
1715
1735
  statistics?: ItemStatistics;
1716
1736
  poll?: Poll;
1737
+ searchHighlights?: SearchHighlightSummary;
1738
+ }
1739
+ export interface SearchHighlightSummary {
1740
+ title: SearchHighlight[];
1741
+ content: SearchHighlight[];
1742
+ }
1743
+ export interface SearchHighlight {
1744
+ language: string;
1745
+ texts: {
1746
+ value: string;
1747
+ type: 'text' | 'hit';
1748
+ }[];
1749
+ score: number;
1717
1750
  }
1718
1751
  export interface Poll {
1719
1752
  questions: PollQuestion[];
@@ -1781,7 +1814,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1781
1814
  headline?: string;
1782
1815
  intro?: string;
1783
1816
  body?: string;
1784
- bodyRaw?: string;
1785
1817
  customProperties?: {
1786
1818
  [key: string]: any;
1787
1819
  };
@@ -2051,7 +2083,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
2051
2083
  hasUnreadReplies?: boolean;
2052
2084
  isDemoContent?: boolean;
2053
2085
  }
2054
- interface CommentStatistics {
2086
+ export interface CommentStatistics {
2055
2087
  likeCount?: number;
2056
2088
  replyCount?: number;
2057
2089
  }
@@ -2267,15 +2299,134 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
2267
2299
  unlinkPlugin: (pluginId: string) => Promise<any>;
2268
2300
  };
2269
2301
  }
2302
+ declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
2303
+ export enum GraphQLAttachmentType {
2304
+ Image = "IMAGE",
2305
+ File = "FILE",
2306
+ YouTubeVideo = "YOU_TUBE_VIDEO",
2307
+ VimeoVideo = "VIMEO_VIDEO",
2308
+ News = "NEWS",
2309
+ Event = "EVENT",
2310
+ Page = "PAGE",
2311
+ Post = "POST",
2312
+ Giphy = "GIPHY"
2313
+ }
2314
+ }
2315
+ declare module "libs/reach/util/common/src/Models" {
2316
+ import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
2317
+ import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
2318
+ import { Account } from "libs/reach/util/common/src/user/Account";
2319
+ export interface ColorStyleDefinition {
2320
+ backgroundColor: string;
2321
+ color: string;
2322
+ }
2323
+ export interface PageNavigationNodeProps {
2324
+ title?: string;
2325
+ iconName?: string;
2326
+ to?: string;
2327
+ onClick?: () => void;
2328
+ isActive?: boolean;
2329
+ exact?: boolean;
2330
+ cannotBeActive?: boolean;
2331
+ submenuContents?: JSX.Element;
2332
+ submenuStyleDefinition?: ColorStyleDefinition;
2333
+ badgeInfo?: number | boolean;
2334
+ domIdentifier?: string;
2335
+ secondaryIconName?: string;
2336
+ secondaryIconTooltipResourceKey?: string;
2337
+ onSecondaryIconClick?: () => void;
2338
+ iconColor?: string;
2339
+ className?: string;
2340
+ }
2341
+ export interface Chat {
2342
+ id: string;
2343
+ members: (Account & ChatMember)[];
2344
+ memberIds: string[];
2345
+ groupName?: string;
2346
+ lastMessageInfo?: {
2347
+ received: string;
2348
+ senderId: string;
2349
+ content?: string;
2350
+ attachments: ChatAttachment[];
2351
+ deleteDate?: string;
2352
+ deleteState?: DeleteState;
2353
+ messageType?: ChatMessageType;
2354
+ messageValues?: {
2355
+ groupName?: string;
2356
+ userId?: string;
2357
+ };
2358
+ };
2359
+ messages: ChatMessage[];
2360
+ hasNewMessages: boolean;
2361
+ fileAccessToken: string;
2362
+ }
2363
+ export enum DeleteState {
2364
+ NotDeleted = "NOT_DELETED",
2365
+ RecycleBin = "RECYCLE_BIN",
2366
+ Deleted = "DELETED"
2367
+ }
2368
+ export enum ChatMessageType {
2369
+ Default = "DEFAULT",
2370
+ GroupNameChange = "GROUP_NAME_CHANGE",
2371
+ UserLeftGroup = "USER_LEFT_GROUP"
2372
+ }
2373
+ export enum MemberStatus {
2374
+ Normal = "NORMAL",
2375
+ LeftGroupChat = "LEFT_GROUP_CHAT",
2376
+ LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
2377
+ }
2378
+ export interface ChatMember {
2379
+ id?: string;
2380
+ status?: MemberStatus;
2381
+ joinDate?: string;
2382
+ leftDate?: string;
2383
+ }
2384
+ export interface ChatMessage {
2385
+ itemId: string;
2386
+ content: string;
2387
+ senderId?: string;
2388
+ chatId?: string;
2389
+ received?: string;
2390
+ attachments?: ChatAttachment[];
2391
+ attachmentContainerId?: string;
2392
+ fileAccessToken?: string;
2393
+ deleteDate?: string;
2394
+ deleteState?: DeleteState;
2395
+ modifiedDate?: string;
2396
+ chat?: Chat;
2397
+ messageType?: ChatMessageType;
2398
+ messageValues?: {
2399
+ groupName?: string;
2400
+ };
2401
+ }
2402
+ export interface ChatIsTypingInfo {
2403
+ sender: Account;
2404
+ chatId: string;
2405
+ sentOn: string;
2406
+ }
2407
+ export interface ChatView {
2408
+ chatId: string;
2409
+ timestamp: Date;
2410
+ isActive: boolean;
2411
+ }
2412
+ export interface ChatAttachment extends BaseAttachment {
2413
+ type: GraphQLAttachmentType;
2414
+ }
2415
+ }
2270
2416
  declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2271
2417
  import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
2418
+ import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
2272
2419
  export enum ExtensionArea {
2273
2420
  global = "Global",
2274
2421
  page = "Page",
2275
2422
  eventEditorFeedbackSection = "EventEditorFeedbackSection",
2276
2423
  eventDetailViewSection = "EventDetailViewSection"
2277
2424
  }
2278
- export type PluginAndExtension = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2425
+ export interface PluginNavigationNodeProps {
2426
+ navigationNodeProps?: PageNavigationNodeProps;
2427
+ renderNavigationNode?: (navigationNodeProps: PageNavigationNodeProps) => JSX.Element;
2428
+ }
2429
+ export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2279
2430
  type DevPlugin = {
2280
2431
  pluginId: string;
2281
2432
  port: number;
@@ -2283,15 +2434,15 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2283
2434
  linkPlugin?: boolean;
2284
2435
  };
2285
2436
  export function usePlugins(): WebPluginDefinition[];
2286
- export function usePluginExtensions(area?: ExtensionArea): PluginAndExtension[];
2437
+ export function usePluginExtensions(area?: ExtensionArea): PluginProps[];
2287
2438
  export function removeInjectedRemotePlugin(pluginId: string): void;
2288
2439
  export function useInjectedRemotePlugins(): DevPlugin[];
2289
2440
  export function useRemotePlugins(): WebPluginDefinition[];
2290
2441
  }
2291
2442
  declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2292
2443
  import { FC } from 'react';
2293
- import { PluginAndExtension } from "libs/reach/util/common/src/plugins/usePluginExtensions";
2294
- export const PluginWrapper: FC<PluginAndExtension>;
2444
+ import { PluginNavigationNodeProps, PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
2445
+ export const PluginWrapper: FC<PluginProps & PluginNavigationNodeProps>;
2295
2446
  }
2296
2447
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2297
2448
  import { FC } from 'react';
@@ -2422,6 +2573,7 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
2422
2573
  }
2423
2574
  export function getDarkAltColor(color: string): string;
2424
2575
  export function getTextColor(bgColor: string): "#333333" | "#ffffff";
2576
+ export function shouldUseDarkForegroundColor(bgColor: string): boolean;
2425
2577
  }
2426
2578
  declare module "libs/reach/util/common/src/theme/ThemeContext" {
2427
2579
  import { FC, ReactNode } from 'react';
@@ -2442,19 +2594,6 @@ declare module "libs/reach/util/common/src/theme/index" {
2442
2594
  export * from "libs/reach/util/common/src/theme/ThemeService";
2443
2595
  export * from "libs/reach/util/common/src/theme/ColorGenerator";
2444
2596
  }
2445
- declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
2446
- export enum GraphQLAttachmentType {
2447
- Image = "IMAGE",
2448
- File = "FILE",
2449
- YouTubeVideo = "YOU_TUBE_VIDEO",
2450
- VimeoVideo = "VIMEO_VIDEO",
2451
- News = "NEWS",
2452
- Event = "EVENT",
2453
- Page = "PAGE",
2454
- Post = "POST",
2455
- Giphy = "GIPHY"
2456
- }
2457
- }
2458
2597
  declare module "libs/reach/util/common/src/content/EventItem" {
2459
2598
  import { Account } from "libs/reach/util/common/src/user/Account";
2460
2599
  import { PollResult } from "libs/reach/util/common/src/content/BaseItem";
@@ -2612,10 +2751,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2612
2751
  useExternalContent?: boolean;
2613
2752
  isSearchMatch?: boolean;
2614
2753
  topLevelFolderName?: string;
2754
+ uploadToken?: string;
2615
2755
  }
2616
2756
  export interface PageNavigationContext {
2617
2757
  parent?: PageNavigationNode;
2618
- siblings: PageNavigationNode[];
2758
+ siblings?: PageNavigationNode[];
2619
2759
  children?: PageNavigationNode[];
2620
2760
  }
2621
2761
  export enum PageType {
@@ -2717,7 +2857,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
2717
2857
  onStarted?: () => unknown;
2718
2858
  onFinished?: () => unknown;
2719
2859
  }
2720
- export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
2860
+ export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
2861
+ }
2862
+ declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
2863
+ export function useClearUnreadOnlyFilter(): {
2864
+ clearUnreadOnlyFilter: () => void;
2865
+ };
2866
+ }
2867
+ declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
2868
+ export function useUnreadItemsTogglerHandler(): {
2869
+ toggleUnreadItems: () => void;
2870
+ };
2721
2871
  }
2722
2872
  declare module "libs/reach/util/common/src/content/index" {
2723
2873
  export * from "libs/reach/util/common/src/content/Attachment";
@@ -2742,6 +2892,8 @@ declare module "libs/reach/util/common/src/content/index" {
2742
2892
  export * from "libs/reach/util/common/src/content/useFileApi";
2743
2893
  export * from "libs/reach/util/common/src/content/content-keyword-utils";
2744
2894
  export * from "libs/reach/util/common/src/content/useClearUnreadItems";
2895
+ export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
2896
+ export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
2745
2897
  }
2746
2898
  declare module "libs/reach/util/common/src/Variables" {
2747
2899
  export const maxContentWidth = 985;
@@ -2842,6 +2994,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
2842
2994
  }
2843
2995
  declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
2844
2996
  import { FC } from 'react';
2997
+ import 'react-toastify/dist/ReactToastify.min.css';
2845
2998
  export const ToastNotificationHost: FC;
2846
2999
  }
2847
3000
  declare module "libs/reach/util/common/src/notification/index" {
@@ -2860,6 +3013,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
2860
3013
  selectedKeywordGroups?: KeywordGroup[];
2861
3014
  }
2862
3015
  export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
3016
+ getChannels: () => Promise<Channel[]>;
2863
3017
  refreshSubscription: () => void;
2864
3018
  }>;
2865
3019
  export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
@@ -2905,69 +3059,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
2905
3059
  }
2906
3060
  export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
2907
3061
  }
2908
- declare module "libs/reach/util/common/src/Models" {
2909
- import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
2910
- import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
2911
- import { Account } from "libs/reach/util/common/src/user/Account";
2912
- export interface Chat {
2913
- id: string;
2914
- members: Account[];
2915
- memberIds: string[];
2916
- groupName?: string;
2917
- lastMessageInfo?: {
2918
- received: string;
2919
- senderId: string;
2920
- content?: string;
2921
- attachments: ChatAttachment[];
2922
- deleteDate?: string;
2923
- deleteState?: DeleteState;
2924
- messageType?: ChatMessageType;
2925
- };
2926
- messages: ChatMessage[];
2927
- hasNewMessages: boolean;
2928
- fileAccessToken: string;
2929
- }
2930
- export enum DeleteState {
2931
- NotDeleted = "NOT_DELETED",
2932
- RecycleBin = "RECYCLE_BIN",
2933
- Deleted = "DELETED"
2934
- }
2935
- export enum ChatMessageType {
2936
- Default = "DEFAULT",
2937
- GroupNameChange = "GROUP_NAME_CHANGE"
2938
- }
2939
- export interface ChatMessage {
2940
- itemId: string;
2941
- content: string;
2942
- senderId?: string;
2943
- chatId?: string;
2944
- received?: string;
2945
- attachments?: ChatAttachment[];
2946
- attachmentContainerId?: string;
2947
- fileAccessToken?: string;
2948
- deleteDate?: string;
2949
- deleteState?: DeleteState;
2950
- modifiedDate?: string;
2951
- chat?: Chat;
2952
- messageType?: ChatMessageType;
2953
- messageValues?: {
2954
- groupName?: string;
2955
- };
2956
- }
2957
- export interface ChatIsTypingInfo {
2958
- sender: Account;
2959
- chatId: string;
2960
- sentOn: string;
2961
- }
2962
- export interface ChatView {
2963
- chatId: string;
2964
- timestamp: Date;
2965
- isActive: boolean;
2966
- }
2967
- export interface ChatAttachment extends BaseAttachment {
2968
- type: GraphQLAttachmentType;
2969
- }
2970
- }
2971
3062
  declare module "libs/reach/util/common/src/PagingService" {
2972
3063
  import { Observable } from 'rxjs';
2973
3064
  export const onPageScroll: Observable<number>;
@@ -3148,12 +3239,13 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3148
3239
  placeholderStringResourceKey?: string;
3149
3240
  autoFocus?: boolean;
3150
3241
  inputId?: string;
3242
+ required?: boolean;
3151
3243
  className?: string;
3152
3244
  }
3153
3245
  export const PeoplePicker: FC<Props>;
3154
3246
  }
3155
3247
  declare module "libs/reach/ui/common/src/plugins/reach-core" {
3156
- import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme } from "libs/reach/util/common/src/index";
3248
+ import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme } from "libs/reach/util/common/src/index";
3157
3249
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3158
3250
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3159
3251
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3167,7 +3259,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3167
3259
  import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
3168
3260
  import { useAccountApi } from "libs/reach/util/common/src/index";
3169
3261
  export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
3170
- export type { Account };
3262
+ export type { Account, PluginNavigationNodeProps, PluginProps };
3171
3263
  }
3172
3264
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3173
3265
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3185,7 +3277,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3185
3277
  }
3186
3278
  declare module "libs/reach/ui/common/src/NotificationBar" {
3187
3279
  import { FC } from 'react';
3188
- import 'react-toastify/dist/ReactToastify.min.css';
3189
3280
  export const NotificationBar: FC;
3190
3281
  }
3191
3282
  declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
@@ -3230,7 +3321,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3230
3321
  export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3231
3322
  }
3232
3323
  declare module "libs/reach/ui/common/src/common/Utils" {
3233
- import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3324
+ import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3234
3325
  import { IntlShape } from 'react-intl';
3235
3326
  import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3236
3327
  export function isValidUrl(url: string): boolean;
@@ -3242,9 +3333,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
3242
3333
  export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3243
3334
  export function getSubscriptionName(subscription: SubscriptionSummary): string;
3244
3335
  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}";
3245
- export function getSubscriptionLogoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3246
- logo: any;
3247
- subscriptionName: any;
3336
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3337
+ logoInfo: LogoInfo;
3338
+ subscriptionName: string;
3248
3339
  };
3249
3340
  export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3250
3341
  export function delay(delayInMs: number): Promise<unknown>;
@@ -3264,8 +3355,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
3264
3355
  }
3265
3356
  declare module "libs/reach/ui/common/src/common/Callout" {
3266
3357
  import { FC } from 'react';
3267
- import { ICalloutProps } from 'office-ui-fabric-react';
3268
- export const Callout: FC<ICalloutProps>;
3358
+ import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
3359
+ export const Callout: FC<IFocusTrapCalloutProps>;
3269
3360
  }
3270
3361
  declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
3271
3362
  export type CommentInputTheme = 'light' | 'dark';
@@ -3342,12 +3433,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
3342
3433
  export const Dropdown: FC<IDropdownProps>;
3343
3434
  }
3344
3435
  declare module "libs/reach/ui/common/src/common/EmptyList" {
3436
+ import { FC } from 'react';
3345
3437
  interface EmptyListProps {
3346
3438
  icon?: string;
3347
3439
  emptyMessageResources?: string[];
3348
3440
  className?: string;
3349
3441
  }
3350
- export const EmptyList: React.FC<EmptyListProps>;
3442
+ export const EmptyList: FC<EmptyListProps>;
3351
3443
  }
3352
3444
  declare module "libs/reach/ui/common/src/common/EnumHelpers" {
3353
3445
  export const hasFlag: (baseValue: any, flag: any) => boolean;
@@ -3498,18 +3590,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
3498
3590
  date: string;
3499
3591
  }>;
3500
3592
  }
3501
- declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
3502
- import { FC } from 'react';
3503
- export const IconHeaderButton: FC<{
3504
- icon: string;
3505
- isActive?: boolean;
3506
- disabled?: boolean;
3507
- tooltipResourceKey?: string;
3508
- onClick?: (ref: React.RefObject<Element>) => unknown;
3509
- link?: string;
3510
- className?: string;
3511
- }>;
3512
- }
3513
3593
  declare module "libs/reach/ui/common/src/common/IconLabel" {
3514
3594
  import { FC, ReactNode } from 'react';
3515
3595
  export const IconLabel: FC<{
@@ -3564,7 +3644,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
3564
3644
  export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
3565
3645
  export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
3566
3646
  export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
3567
- export { ReactComponent as LogoWithName } from './logos/logo-with-name.svg';
3647
+ export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
3568
3648
  }
3569
3649
  declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
3570
3650
  import { FC } from 'react';
@@ -3624,11 +3704,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
3624
3704
  }
3625
3705
  export const Prompt: FC<Props>;
3626
3706
  }
3707
+ declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
3708
+ import { FC } from 'react';
3709
+ export const IconHeaderButton: FC<{
3710
+ icon: string;
3711
+ isActive?: boolean;
3712
+ disabled?: boolean;
3713
+ tooltipResourceKey?: string;
3714
+ onClick?: (ref: React.RefObject<Element>) => unknown;
3715
+ link?: string;
3716
+ className?: string;
3717
+ }>;
3718
+ }
3627
3719
  declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
3628
3720
  import { FC } from 'react';
3629
3721
  export interface ToolbarIconButtonProps {
3630
3722
  iconName: string;
3631
- ariaLabelResourceKey: string;
3723
+ ariaLabel?: string;
3724
+ ariaLabelResourceKey?: string;
3632
3725
  onClick?: () => unknown;
3633
3726
  to?: string;
3634
3727
  target?: string;
@@ -3657,6 +3750,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
3657
3750
  onSearchTextChange?: (text: string) => void;
3658
3751
  onExecuteSearch?: (text: string) => void;
3659
3752
  searchText?: string;
3753
+ showSearchBoxInput?: boolean;
3660
3754
  }
3661
3755
  export const SearchBox: FC<SearchBoxProps & {
3662
3756
  onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
@@ -3735,8 +3829,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
3735
3829
  }
3736
3830
  declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
3737
3831
  import { FC } from 'react';
3738
- import { Comment } from "libs/reach/util/common/src/index";
3739
- import { Account } from "libs/reach/util/common/src/index";
3832
+ import { Account, Comment } from "libs/reach/util/common/src/index";
3740
3833
  export const CommentActionMenu: FC<{
3741
3834
  comment: Comment;
3742
3835
  showEdit: boolean;
@@ -3782,6 +3875,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
3782
3875
  }
3783
3876
  export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
3784
3877
  }
3878
+ declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
3879
+ import { FC } from 'react';
3880
+ export const UnreadItemsToggler: FC<{
3881
+ disabled: boolean;
3882
+ className?: string;
3883
+ }>;
3884
+ }
3885
+ declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
3886
+ import { FC } from 'react';
3887
+ import { IContextualMenuItem } from 'office-ui-fabric-react';
3888
+ export const HeaderMenuButton: FC<{
3889
+ items: IContextualMenuItem[];
3890
+ className?: string;
3891
+ }>;
3892
+ }
3785
3893
  declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
3786
3894
  import { FC } from 'react';
3787
3895
  import { Channel } from "libs/reach/util/common/src/index";
@@ -3850,6 +3958,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
3850
3958
  showSelectionToggle?: boolean;
3851
3959
  placeholder?: string;
3852
3960
  inlineControls?: boolean;
3961
+ required?: boolean;
3962
+ id?: string;
3853
3963
  }
3854
3964
  export const ChannelSelector: FC<Props>;
3855
3965
  }
@@ -4106,7 +4216,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
4106
4216
  declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
4107
4217
  import { DependencyList } from 'react';
4108
4218
  import { PaginatedList } from "libs/reach/util/common/src/index";
4109
- export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number, paginationToken?: string) => Promise<PaginatedList<unknown>>, deps?: DependencyList): {
4219
+ export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
4110
4220
  items: any[];
4111
4221
  isInitialLoading: boolean;
4112
4222
  isLoadingNextPage: boolean;
@@ -4119,6 +4229,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
4119
4229
  isEmpty: boolean;
4120
4230
  };
4121
4231
  }
4232
+ declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
4233
+ import { FC } from 'react';
4234
+ export const PaginationStatus: FC<{
4235
+ allLoadedResourceId: string;
4236
+ showAllLoaded: boolean;
4237
+ showSpinner?: boolean;
4238
+ showPlaceholder?: boolean;
4239
+ }>;
4240
+ }
4241
+ declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
4242
+ import { DependencyList } from 'react';
4243
+ export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
4244
+ isLoadingMore: boolean;
4245
+ };
4246
+ }
4122
4247
  declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
4123
4248
  import { FC, ReactNode } from 'react';
4124
4249
  export const PullToRefreshContext: import("react").Context<{
@@ -4170,6 +4295,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
4170
4295
  onMarkAsReadStarted?: () => unknown;
4171
4296
  onMarkAsReadFinished?: () => unknown;
4172
4297
  disabled?: boolean;
4298
+ unreadCount?: number;
4173
4299
  }
4174
4300
  export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
4175
4301
  export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
@@ -4353,7 +4479,6 @@ declare module "libs/reach/ui/common/src/common/index" {
4353
4479
  export * from "libs/reach/ui/common/src/common/FloatingActionButton";
4354
4480
  export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
4355
4481
  export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
4356
- export * from "libs/reach/ui/common/src/common/IconHeaderButton";
4357
4482
  export * from "libs/reach/ui/common/src/common/IconLabel";
4358
4483
  export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
4359
4484
  export * from "libs/reach/ui/common/src/common/KeywordTitle";
@@ -4384,6 +4509,9 @@ declare module "libs/reach/ui/common/src/common/index" {
4384
4509
  export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
4385
4510
  export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
4386
4511
  export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
4512
+ export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
4513
+ export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
4514
+ export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
4387
4515
  export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
4388
4516
  export * from "libs/reach/ui/common/src/common/channels/ChannelList";
4389
4517
  export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
@@ -4412,6 +4540,8 @@ declare module "libs/reach/ui/common/src/common/index" {
4412
4540
  export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
4413
4541
  export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
4414
4542
  export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
4543
+ export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
4544
+ export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
4415
4545
  export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
4416
4546
  export * from "libs/reach/ui/common/src/common/refreshScripts";
4417
4547
  export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
@@ -4492,10 +4622,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
4492
4622
  export function useEscapeOnClose(onClose: Function): void;
4493
4623
  }
4494
4624
  declare module "apps/reach-app/src/app/chrome/Header" {
4495
- import { FC, ReactNode } from 'react';
4625
+ import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
4496
4626
  import './Header.scss';
4497
4627
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
4498
- interface Props extends React.HTMLProps<HTMLElement>, SearchBoxProps {
4628
+ interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
4499
4629
  iconLeft?: string;
4500
4630
  onToggleLeft?: () => void;
4501
4631
  onToggleRight?: () => void;
@@ -4511,6 +4641,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
4511
4641
  disableGoBack?: boolean;
4512
4642
  route?: string;
4513
4643
  }
4644
+ export interface HeaderContextType {
4645
+ setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
4646
+ isSearchInputFieldVisible: boolean;
4647
+ }
4648
+ export const HeaderContext: import("react").Context<HeaderContextType>;
4649
+ export const HeaderContextProvider: FC<{
4650
+ children: ReactNode;
4651
+ }>;
4514
4652
  export const Header: FC<Props>;
4515
4653
  }
4516
4654
  declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
@@ -4625,17 +4763,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
4625
4763
  icon?: string;
4626
4764
  tooltipResourceKey?: string;
4627
4765
  labelResourceKey?: string;
4766
+ domIdentifier?: string;
4628
4767
  className?: string;
4629
4768
  }
4630
4769
  export const AddButton: FC<AddButtonProps>;
4631
4770
  }
4632
4771
  declare module "apps/reach-app/src/app/admin/common" {
4633
- export const AdminPage: React.FC<{
4634
- children: React.ReactNode;
4772
+ import { FC, ReactNode } from 'react';
4773
+ export const AdminPage: FC<{
4774
+ children: ReactNode;
4635
4775
  className?: string;
4636
4776
  domIdentifier?: string;
4637
4777
  }>;
4638
- export const Title: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
4778
+ export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
4639
4779
  }
4640
4780
  declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
4641
4781
  import { KeywordGroup } from "libs/reach/util/common/src/index";
@@ -4667,7 +4807,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
4667
4807
  }
4668
4808
  declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4669
4809
  import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
4670
- import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
4810
+ import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
4671
4811
  import { Account } from "libs/reach/util/common/src/index";
4672
4812
  import { Language } from "libs/reach/util/common/src/index";
4673
4813
  import { Audience } from "libs/reach/util/common/src/index";
@@ -4682,7 +4822,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4682
4822
  setSubscriptionName: (name: string) => Promise<string>;
4683
4823
  setSubscriptionHandle: (handle: string) => Promise<string>;
4684
4824
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
4685
- updateLogo: (file?: File) => Promise<void>;
4825
+ updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
4686
4826
  updateFavicon: (file?: File) => Promise<void>;
4687
4827
  updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
4688
4828
  linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
@@ -4731,13 +4871,49 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
4731
4871
  import './ApplicationName.scss';
4732
4872
  export const ApplicationName: FC;
4733
4873
  }
4734
- declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
4874
+ declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
4735
4875
  import { FC } from 'react';
4736
- export const ApplicationLogo: FC;
4876
+ export const AppBarLogoPreview: FC<{
4877
+ src: string;
4878
+ subscriptionName: string;
4879
+ }>;
4880
+ export const SidePanelLogoPreview: FC<{
4881
+ src: string;
4882
+ subscriptionName: string;
4883
+ }>;
4884
+ export const EmailLogoPreview: FC<{
4885
+ src: string;
4886
+ subscriptionName: string;
4887
+ }>;
4888
+ export const SignInLogoPreview: FC<{
4889
+ src: string;
4890
+ }>;
4737
4891
  }
4738
- declare module "apps/reach-app/src/app/admin/customization/SubscriptionHandle" {
4892
+ declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
4739
4893
  import { FC } from 'react';
4740
- export const SubscriptionHandle: FC;
4894
+ import { LogoSize } from "libs/reach/util/common/src/index";
4895
+ export const LogoPreviewDialog: FC<{
4896
+ canSave: boolean;
4897
+ onDismiss: () => unknown;
4898
+ onSave: (logoSize: LogoSize) => unknown;
4899
+ source: string;
4900
+ logoType: LogoSize;
4901
+ }>;
4902
+ }
4903
+ declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
4904
+ import { FC } from 'react';
4905
+ import { LogoSize } from "libs/reach/util/common/src/index";
4906
+ export const LogoEditor: FC<{
4907
+ logoType: LogoSize;
4908
+ }>;
4909
+ }
4910
+ declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
4911
+ import { FC } from 'react';
4912
+ export const ApplicationLogo: FC;
4913
+ }
4914
+ declare module "apps/reach-app/src/app/admin/customization/SubscriptionHandle" {
4915
+ import { FC } from 'react';
4916
+ export const SubscriptionHandle: FC;
4741
4917
  }
4742
4918
  declare module "apps/reach-app/src/app/admin/customization/Favicon" {
4743
4919
  import { FC } from 'react';
@@ -5492,6 +5668,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
5492
5668
  }
5493
5669
  export const GoToAdminConsentButton: React.FC<Props>;
5494
5670
  }
5671
+ declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
5672
+ import { IntlShape } from 'react-intl';
5673
+ import { Account } from "libs/reach/util/common/src/index";
5674
+ import { GroupUser } from "libs/reach/util/common/src/index";
5675
+ import { Group, GroupRule } from "libs/reach/util/common/src/index";
5676
+ export const systemAccountGroupIds: {
5677
+ everyone: string;
5678
+ directoryUsers: string;
5679
+ nonDirectoryUsers: string;
5680
+ allGroups: string[];
5681
+ };
5682
+ export function getDirectoryUsersGroup(intl: IntlShape): Account;
5683
+ export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
5684
+ export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
5685
+ export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
5686
+ export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
5687
+ export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
5688
+ export const isAdGroup: (account: Account) => boolean;
5689
+ export const isUser: (account: Account) => boolean;
5690
+ }
5495
5691
  declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
5496
5692
  import { FC } from 'react';
5497
5693
  import { Audience } from "libs/reach/util/common/src/index";
@@ -5857,23 +6053,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
5857
6053
  }
5858
6054
  declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
5859
6055
  import { FC } from 'react';
5860
- export interface StyleDefinition {
5861
- backgroundColor: string;
5862
- color: string;
5863
- }
6056
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
5864
6057
  export const SidebarItemSection: FC<{
5865
- styleDefinition?: StyleDefinition;
6058
+ styleDefinition?: ColorStyleDefinition;
5866
6059
  }>;
5867
6060
  }
5868
6061
  declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5869
- import * as H from 'history';
6062
+ import { FC, ReactNode } from 'react';
6063
+ import { PrimitiveType } from 'intl-messageformat';
5870
6064
  import './SidebarItem.scss';
5871
- import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
5872
6065
  import { LocationDescriptor } from 'history';
5873
- import { PrimitiveType } from 'intl-messageformat';
5874
- import { ReactNode } from 'react';
6066
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
5875
6067
  interface CommonSidebarItemProps {
5876
- title?: any;
6068
+ title?: string | JSX.Element;
5877
6069
  titleResource?: string;
5878
6070
  icon?: ReactNode;
5879
6071
  iconName?: string;
@@ -5885,14 +6077,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5885
6077
  reverse?: boolean;
5886
6078
  notHighlightable?: boolean;
5887
6079
  onClick?: () => void;
5888
- children?: any;
5889
6080
  className?: string;
5890
6081
  isActive?: boolean;
5891
6082
  activeClassName?: string;
5892
6083
  readOnly?: boolean;
5893
6084
  submenu?: JSX.Element;
5894
6085
  submenuClassName?: string;
5895
- submenuStyleDefinition?: StyleDefinition;
6086
+ submenuStyleDefinition?: ColorStyleDefinition;
5896
6087
  badgeInfo?: number | boolean;
5897
6088
  domIdentifier?: string;
5898
6089
  }
@@ -5904,13 +6095,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5904
6095
  secondaryIconRoute?: LocationDescriptor;
5905
6096
  isHoverable?: boolean;
5906
6097
  }
5907
- export const SidebarItem: React.FC<SidebarItemProps>;
6098
+ export const SidebarItem: FC<SidebarItemProps>;
5908
6099
  interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
5909
- route: H.LocationDescriptor;
6100
+ route: LocationDescriptor;
5910
6101
  exact?: boolean;
5911
6102
  linkClassName?: string;
5912
6103
  }
5913
- export const NavLinkSidebarItem: React.FC<NavLinkSidebarItemProps>;
6104
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
5914
6105
  }
5915
6106
  declare module "apps/reach-app/src/error/NotFoundPage" {
5916
6107
  import { WrappedComponentProps } from 'react-intl';
@@ -6003,24 +6194,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
6003
6194
  import { FC } from 'react';
6004
6195
  export const GroupListPage: FC;
6005
6196
  }
6006
- declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
6007
- import { IntlShape } from 'react-intl';
6008
- import { Account } from "libs/reach/util/common/src/index";
6009
- import { GroupUser } from "libs/reach/util/common/src/index";
6010
- import { Group, GroupRule } from "libs/reach/util/common/src/index";
6011
- export const systemAccountGroupIds: {
6012
- everyone: string;
6013
- directoryUsers: string;
6014
- nonDirectoryUsers: string;
6015
- allGroups: string[];
6016
- };
6017
- export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
6018
- export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
6019
- export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
6020
- export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
6021
- export const isAdGroup: (account: Account) => boolean;
6022
- export const isUser: (account: Account) => boolean;
6023
- }
6024
6197
  declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
6025
6198
  import { FC } from 'react';
6026
6199
  import { Account } from "libs/reach/util/common/src/index";
@@ -6265,6 +6438,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6265
6438
  private static vimeoRegex;
6266
6439
  private static microsoftStreamRegex;
6267
6440
  private static vimeoDirectLinkRegex;
6441
+ private static vimeoRedirectLinkRegex;
6268
6442
  private static kalturaRegex;
6269
6443
  readonly source: VideoSource | null;
6270
6444
  readonly id: string | null;
@@ -6272,9 +6446,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6272
6446
  readonly videoProperties: any;
6273
6447
  readonly thumbnailUrl: string;
6274
6448
  constructor(url: string);
6275
- isValid(): boolean;
6449
+ isValid(features?: any): boolean;
6276
6450
  }
6451
+ export function getVideoSources(features: any): any[];
6277
6452
  export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
6453
+ export function getAllVideoSources(features: any): any[];
6278
6454
  }
6279
6455
  declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
6280
6456
  import { AttachmentType } from "libs/reach/util/common/src/index";
@@ -6302,9 +6478,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
6302
6478
  }
6303
6479
  }
6304
6480
  declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
6305
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6481
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6306
6482
  export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
6307
- keywords?: string;
6483
+ keywords?: FilterWithLogicalOperator;
6308
6484
  }
6309
6485
  }
6310
6486
  declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
@@ -6329,6 +6505,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6329
6505
  export interface IndexableFilterDefinition {
6330
6506
  [key: string]: any;
6331
6507
  }
6508
+ export interface FilterWithLogicalOperator {
6509
+ items?: string[];
6510
+ operator?: LogicalOperator;
6511
+ }
6512
+ export enum LogicalOperator {
6513
+ Or = "or",
6514
+ And = "and"
6515
+ }
6332
6516
  }
6333
6517
  declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
6334
6518
  import { SortDirection } from "libs/reach/util/common/src/index";
@@ -6351,12 +6535,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
6351
6535
  contacts?: string[];
6352
6536
  }
6353
6537
  }
6538
+ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
6539
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6540
+ export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
6541
+ channels?: FilterWithLogicalOperator;
6542
+ }
6543
+ }
6354
6544
  declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6355
6545
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6356
6546
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
6357
6547
  import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
6358
6548
  import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
6359
- export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition {
6549
+ import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6550
+ export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
6360
6551
  excludePastEvents?: boolean;
6361
6552
  pastEventsOnly?: boolean;
6362
6553
  }
@@ -6367,26 +6558,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6367
6558
  export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
6368
6559
  export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
6369
6560
  }
6370
- declare module "libs/reach/feature/content/src/events/useEventsApi" {
6371
- import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6372
- import { PaginatedList } from "libs/reach/util/common/src/index";
6373
- import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
6374
- export function useEventsApi(): {
6375
- getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
6376
- getEvent: (id: string) => Promise<EventItem>;
6377
- getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
6378
- };
6379
- }
6380
6561
  declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
6381
6562
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6382
6563
  export interface AuthorFilterDefinition extends IndexableFilterDefinition {
6383
6564
  author?: string;
6384
6565
  }
6385
6566
  }
6386
- declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
6567
+ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6387
6568
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6388
- export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
6389
- channels?: string;
6569
+ export interface FilteringProps {
6570
+ onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
6571
+ onShowFilterPanel?: () => unknown;
6572
+ onToggleFilterSidebar?: () => unknown;
6573
+ isFilterActive?: boolean;
6390
6574
  }
6391
6575
  }
6392
6576
  declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
@@ -6404,8 +6588,98 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
6404
6588
  export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
6405
6589
  groupId?: string;
6406
6590
  bookmarksOnly?: boolean;
6591
+ unreadOnly?: boolean;
6592
+ }
6593
+ }
6594
+ declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
6595
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6596
+ export enum ItemType {
6597
+ None = 0,
6598
+ News = 1,
6599
+ Post = 2,
6600
+ Page = 4,
6601
+ Event = 8
6602
+ }
6603
+ export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
6604
+ itemType?: ItemType;
6605
+ }
6606
+ }
6607
+ declare module "libs/reach/feature/content/src/filter/useFilter" {
6608
+ import { FC } from 'react';
6609
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6610
+ import { CurrentUser } from "libs/reach/util/common/src/index";
6611
+ export interface InjectedFilterProps {
6612
+ filter: IndexableFilterDefinition;
6613
+ hasFilter: boolean;
6614
+ isSearchActive: boolean;
6615
+ onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
6616
+ onSearchChange: (text: string) => void;
6617
+ onClearFilter: () => void;
6618
+ }
6619
+ export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
6620
+ filter: Partial<IndexableFilterDefinition>;
6621
+ hasFilter: boolean;
6622
+ isSearchActive: boolean;
6623
+ onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
6624
+ onSearchChange: (search: string) => void;
6625
+ onClearFilter: () => void;
6626
+ };
6627
+ export const FilterContext: import("react").Context<InjectedFilterProps>;
6628
+ export const FilterContextProvider: FC<{
6629
+ addFilters?: (locationParams: {
6630
+ [paramName: string]: any;
6631
+ }, user: CurrentUser) => IndexableFilterDefinition;
6632
+ additionalExcludedFilterProperties?: string[];
6633
+ onClearQueryString?: (prev: any, next: any) => any;
6634
+ }>;
6635
+ export interface FilterVisibilityState {
6636
+ showFilterAsPanel?: boolean;
6637
+ showFilterSidebar?: boolean;
6407
6638
  }
6408
6639
  }
6640
+ declare module "libs/reach/feature/content/src/filter/index" {
6641
+ export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
6642
+ export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6643
+ export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6644
+ export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6645
+ export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
6646
+ export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6647
+ export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
6648
+ export * from "libs/reach/feature/content/src/filter/FilteringProps";
6649
+ export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6650
+ export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6651
+ export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
6652
+ export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
6653
+ export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6654
+ export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
6655
+ export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
6656
+ export * from "libs/reach/feature/content/src/filter/useFilter";
6657
+ export * from "libs/reach/feature/content/src/filter/utils";
6658
+ }
6659
+ declare module "libs/reach/feature/content/src/filter/utils" {
6660
+ import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
6661
+ export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
6662
+ channels?: undefined;
6663
+ } | {
6664
+ channels: string;
6665
+ };
6666
+ export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
6667
+ keywords?: undefined;
6668
+ } | {
6669
+ keywords: string;
6670
+ };
6671
+ export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
6672
+ }
6673
+ declare module "libs/reach/feature/content/src/events/useEventsApi" {
6674
+ import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6675
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6676
+ import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
6677
+ export function useEventsApi(): {
6678
+ getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
6679
+ getEvent: (id: string) => Promise<EventItem>;
6680
+ getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
6681
+ };
6682
+ }
6409
6683
  declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
6410
6684
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6411
6685
  import { Observable } from 'rxjs';
@@ -6495,6 +6769,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
6495
6769
  import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
6496
6770
  import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
6497
6771
  import { ItemStatistics } from "libs/reach/util/common/src/index";
6772
+ import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6498
6773
  export interface Post extends BaseItem, ItemWithAttachments {
6499
6774
  id: string;
6500
6775
  comments?: PaginatedList<Comment>;
@@ -6517,6 +6792,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
6517
6792
  token?: string;
6518
6793
  pageSize?: string;
6519
6794
  search?: string;
6795
+ keywords?: FilterWithLogicalOperator;
6520
6796
  }
6521
6797
  export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
6522
6798
  export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
@@ -6619,7 +6895,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
6619
6895
  private getVideoElement;
6620
6896
  private getNotSupportedElement;
6621
6897
  static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
6622
- static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Generic" | "Kaltura";
6898
+ static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
6623
6899
  }
6624
6900
  }
6625
6901
  declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
@@ -6701,6 +6977,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
6701
6977
  import { LanguageBase } from "libs/reach/util/common/src/index";
6702
6978
  import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
6703
6979
  export class NewsService {
6980
+ static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
6704
6981
  static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
6705
6982
  static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
6706
6983
  static getContentLanguages(contents: {
@@ -6808,12 +7085,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
6808
7085
  }
6809
7086
  declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
6810
7087
  import { FC } from 'react';
6811
- import { BannerInfo } from "libs/reach/util/common/src/index";
6812
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7088
+ import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
6813
7089
  interface Props {
6814
7090
  itemId: string;
6815
7091
  bannerInfo: BannerInfo;
6816
- mode: 'edit' | 'read';
7092
+ useEditorRoutes?: boolean;
6817
7093
  width: number;
6818
7094
  resourceType: ItemResourceTypes;
6819
7095
  token?: string;
@@ -7244,7 +7520,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
7244
7520
  updateSelectedLanguage: (lang: string) => unknown;
7245
7521
  handleRefresh: (onFinished?: () => void) => unknown;
7246
7522
  handleLanguageChange: (language: string) => unknown;
7247
- isReadOnly?: boolean;
7523
+ isEditorPreview?: boolean;
7248
7524
  }
7249
7525
  export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
7250
7526
  }
@@ -7796,34 +8072,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
7796
8072
  }>;
7797
8073
  export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
7798
8074
  }
7799
- declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
7800
- import { FC, ReactNode } from 'react';
7801
- export const GutterMarkerIcon: FC<{
7802
- iconName: string;
7803
- children: ReactNode;
7804
- isActive: boolean;
7805
- color: string;
7806
- tooltipResourceKey?: string;
7807
- className?: string;
8075
+ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
8076
+ import { FC } from 'react';
8077
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
8078
+ export const DetailViewContextProvider: FC<{
8079
+ itemId: string;
8080
+ type?: ItemResourceTypes;
8081
+ loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8082
+ isEditorPreview?: boolean;
7808
8083
  }>;
7809
8084
  }
7810
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
7811
- import { FC } from 'react';
7812
- export const DetailViewTitle: FC;
8085
+ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8086
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8087
+ export interface EmbeddedObjectPreviewData {
8088
+ itemId: string;
8089
+ type: string;
8090
+ subscriptionIdentifier: string;
8091
+ }
8092
+ export const InlineUrlPreviewMapper: HtmlComponentMapper;
7813
8093
  }
7814
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
7815
- import { FC } from 'react';
7816
- export const DetailViewBanner: FC;
8094
+ declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8095
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8096
+ export const InlineImageMapper: HtmlComponentMapper;
7817
8097
  }
7818
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
7819
- import { FC } from 'react';
7820
- export const DetailMainSection: FC;
8098
+ declare module "libs/reach/feature/content/src/common/body/InlineContact" {
8099
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8100
+ export interface ContactDetails {
8101
+ id: string;
8102
+ upn?: string;
8103
+ tenantId?: string;
8104
+ properties?: {
8105
+ [key: string]: {
8106
+ value: string;
8107
+ shouldAutoLoad?: boolean;
8108
+ };
8109
+ };
8110
+ }
8111
+ export const InlineContactMapper: HtmlComponentMapper;
7821
8112
  }
7822
- declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
7823
- import { FC, ReactNode } from 'react';
7824
- export const ItemBodyWrapper: FC<{
7825
- className?: string;
7826
- children?: ReactNode;
8113
+ declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
8114
+ import { FC } from 'react';
8115
+ import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
8116
+ export const InlineContactViewer: FC<{
8117
+ contact: ContactDetails;
7827
8118
  }>;
7828
8119
  }
7829
8120
  declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
@@ -7849,112 +8140,19 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
7849
8140
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7850
8141
  export const InlineQuoteMapper: HtmlComponentMapper;
7851
8142
  }
7852
- declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
7853
- export interface CodeDetails {
7854
- id: string;
7855
- html: string;
7856
- javascript: string;
7857
- index?: number;
7858
- }
7859
- }
7860
- declare module "libs/reach/feature/content/src/common/body/InlineCodeViewer" {
7861
- import { FC } from 'react';
7862
- import { CodeDetails } from "libs/reach/feature/content/src/common/body/CodeDetails";
7863
- export const InlineCodeViewer: FC<{
7864
- codeDetails: CodeDetails;
7865
- showJsPlaceholder?: boolean;
7866
- readOnly?: boolean;
7867
- }>;
7868
- }
7869
- declare module "libs/reach/feature/content/src/common/body/InlineCode" {
7870
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7871
- export const InlineCodeMapper: HtmlComponentMapper;
7872
- }
7873
8143
  declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
7874
8144
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7875
8145
  export const InlineVideoMapper: HtmlComponentMapper;
7876
8146
  }
7877
- declare module "libs/reach/feature/content/src/common/body/InlineImage" {
7878
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7879
- export const InlineImageMapper: HtmlComponentMapper;
7880
- }
7881
- declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
7882
- import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
7883
- export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
7884
- format: TableFormat;
7885
- }, never>;
7886
- }
7887
- declare module "libs/reach/feature/content/src/common/body/InlineTable" {
7888
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7889
- import { CSSProperties } from 'react';
7890
- export interface CellStyle {
7891
- isBold?: boolean;
7892
- isItalic?: boolean;
7893
- textAlign?: 'left' | 'center' | 'right';
7894
- fontColor?: string;
7895
- backgroundColor?: string;
7896
- }
7897
- export interface TableCell {
7898
- value: string;
7899
- style?: CellStyle;
7900
- cellId: string;
7901
- isMultiline?: boolean;
7902
- url?: string;
7903
- }
7904
- export interface TableRow {
7905
- rowId: string;
7906
- cells: TableCell[];
7907
- }
7908
- export type TableFormat = {
7909
- showGrid?: boolean;
7910
- hasHeaderRow?: boolean;
7911
- alternateLines?: boolean;
7912
- hasFooterRow?: boolean;
7913
- };
7914
- interface ColumnDefinition {
7915
- width: string;
7916
- }
7917
- export interface TableDefinition {
7918
- columns: ColumnDefinition[];
7919
- rows: TableRow[];
7920
- format?: TableFormat;
7921
- }
7922
- export function cssPropsToCellStyle(style: CSSStyleDeclaration, alternateLines: boolean, isHeaderRow: boolean): CellStyle;
7923
- export function cellStyleToCssProps(cellStyle: CellStyle, disableCustomColors?: boolean): CSSProperties;
7924
- export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
7925
- export const InlineTable: HtmlComponentMapper;
7926
- }
7927
- declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
7928
- import { FC } from 'react';
7929
- import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
7930
- export const InlineContactViewer: FC<{
7931
- contact: ContactDetails;
7932
- }>;
7933
- }
7934
- declare module "libs/reach/feature/content/src/common/body/InlineContact" {
7935
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7936
- export interface ContactDetails {
7937
- id: string;
7938
- upn?: string;
7939
- tenantId?: string;
7940
- properties?: {
7941
- [key: string]: {
7942
- value: string;
7943
- shouldAutoLoad?: boolean;
7944
- };
7945
- };
7946
- }
7947
- export const InlineContactMapper: HtmlComponentMapper;
7948
- }
7949
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
7950
- import { FC } from 'react';
7951
- import { PageItem } from "libs/reach/util/common/src/index";
7952
- export const InlinePageListViewer: FC<{
7953
- items: PageItem[];
7954
- baseRoute: string;
7955
- filterBaseUrl?: string;
7956
- isInitialLoading?: boolean;
7957
- }>;
8147
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
8148
+ import { FC } from 'react';
8149
+ import { PageItem } from "libs/reach/util/common/src/index";
8150
+ export const InlinePageListViewer: FC<{
8151
+ items: PageItem[];
8152
+ baseRoute: string;
8153
+ filterBaseUrl?: string;
8154
+ isInitialLoading?: boolean;
8155
+ }>;
7958
8156
  }
7959
8157
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
7960
8158
  import { FC } from 'react';
@@ -7975,37 +8173,6 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
7975
8173
  filterBaseUrl?: string;
7976
8174
  }>;
7977
8175
  }
7978
- declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
7979
- import { PageType } from "libs/reach/util/common/src/index";
7980
- export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
7981
- }
7982
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
7983
- import { FC } from 'react';
7984
- export const InlinePageListSkeleton: FC<{
7985
- isDataLoaded: boolean;
7986
- pageSize?: number;
7987
- }>;
7988
- }
7989
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
7990
- import { FC } from 'react';
7991
- export const InlinePageListByKeywords: FC<{
7992
- keywords: string;
7993
- showDocuments?: boolean;
7994
- showPages?: boolean;
7995
- }>;
7996
- }
7997
- declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
7998
- import { PageType } from "libs/reach/util/common/src/index";
7999
- export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
8000
- }
8001
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
8002
- import { FC } from 'react';
8003
- export const InlinePageListByPageId: FC<{
8004
- pageId: string;
8005
- showDocuments: boolean;
8006
- showPages: boolean;
8007
- }>;
8008
- }
8009
8176
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
8010
8177
  import { DependencyList } from 'react';
8011
8178
  import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
@@ -8028,58 +8195,85 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/useI
8028
8195
  };
8029
8196
  };
8030
8197
  }
8031
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
8032
- import { FC } from 'react';
8033
- import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
8034
- export const InlinePageListByCurrentPage: FC<{
8035
- blockProps?: PageListDetails;
8036
- }>;
8037
- }
8038
- declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
8198
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
8039
8199
  import { FC } from 'react';
8040
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8041
- export interface PageListDetails {
8042
- id?: string;
8043
- showChildren?: boolean;
8044
- showDocuments?: boolean;
8045
- showPages?: boolean;
8046
- pageId?: string;
8047
- keywords?: string;
8048
- }
8049
- export const InlinePageList: FC<{
8050
- blockProps?: PageListDetails;
8200
+ export const InlinePageListSkeleton: FC<{
8201
+ isDataLoaded: boolean;
8202
+ pageSize?: number;
8051
8203
  }>;
8052
- export const InlinePageListMapper: HtmlComponentMapper;
8053
8204
  }
8054
- declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8055
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8056
- export interface EmbeddedObjectPreviewData {
8057
- itemId: string;
8058
- type: string;
8059
- subscriptionIdentifier: string;
8205
+ declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
8206
+ export interface CodeDetails {
8207
+ id: string;
8208
+ html: string;
8209
+ javascript: string;
8210
+ index?: number;
8060
8211
  }
8061
- export const InlineUrlPreviewMapper: HtmlComponentMapper;
8062
8212
  }
8063
- declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
8213
+ declare module "libs/reach/feature/content/src/common/body/InlineCodeViewer" {
8064
8214
  import { FC } from 'react';
8065
- export const RichTextViewer: FC<{
8066
- html: string;
8215
+ import { CodeDetails } from "libs/reach/feature/content/src/common/body/CodeDetails";
8216
+ export const InlineCodeViewer: FC<{
8217
+ codeDetails: CodeDetails;
8218
+ showJsPlaceholder?: boolean;
8219
+ readOnly?: boolean;
8067
8220
  }>;
8068
8221
  }
8069
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
8070
- import { FC } from 'react';
8071
- export const DetailViewBody: FC;
8222
+ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
8223
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8224
+ export const InlineCodeMapper: HtmlComponentMapper;
8072
8225
  }
8073
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
8074
- import { FC } from 'react';
8075
- export const DetailViewKeywords: FC<{
8076
- filterBaseUrl: string;
8077
- }>;
8226
+ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
8227
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8228
+ import { CSSProperties } from 'react';
8229
+ export interface CellStyle {
8230
+ isBold?: boolean;
8231
+ isItalic?: boolean;
8232
+ textAlign?: 'left' | 'center' | 'right';
8233
+ fontColor?: string;
8234
+ backgroundColor?: string;
8235
+ }
8236
+ export interface TableCell {
8237
+ value: string;
8238
+ style?: CellStyle;
8239
+ cellId: string;
8240
+ isMultiline?: boolean;
8241
+ url?: string;
8242
+ }
8243
+ export interface TableRow {
8244
+ rowId: string;
8245
+ cells: TableCell[];
8246
+ }
8247
+ export type TableFormat = {
8248
+ showGrid?: boolean;
8249
+ hasHeaderRow?: boolean;
8250
+ alternateLines?: boolean;
8251
+ hasFooterRow?: boolean;
8252
+ };
8253
+ interface ColumnDefinition {
8254
+ width: string;
8255
+ }
8256
+ export interface TableDefinition {
8257
+ columns: ColumnDefinition[];
8258
+ rows: TableRow[];
8259
+ format?: TableFormat;
8260
+ }
8261
+ export function cssPropsToCellStyle(style: CSSStyleDeclaration, alternateLines: boolean, isHeaderRow: boolean): CellStyle;
8262
+ export function cellStyleToCssProps(cellStyle: CellStyle, disableCustomColors?: boolean): CSSProperties;
8263
+ export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
8264
+ export const InlineTable: HtmlComponentMapper;
8078
8265
  }
8079
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
8080
- import { FC } from 'react';
8081
- export const EventDetailViewDatesInfo: FC<{
8266
+ declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
8267
+ import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
8268
+ export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
8269
+ format: TableFormat;
8270
+ }, never>;
8271
+ }
8272
+ declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
8273
+ import { FC, ReactNode } from 'react';
8274
+ export const ItemBodyWrapper: FC<{
8082
8275
  className?: string;
8276
+ children?: ReactNode;
8083
8277
  }>;
8084
8278
  }
8085
8279
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
@@ -8096,9 +8290,11 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8096
8290
  allowFilterByChannels?: boolean;
8097
8291
  }>;
8098
8292
  }
8099
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
8293
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
8100
8294
  import { FC } from 'react';
8101
- export const EventDetailViewCancelInformation: FC;
8295
+ export const EventDetailViewDatesInfo: FC<{
8296
+ className?: string;
8297
+ }>;
8102
8298
  }
8103
8299
  declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
8104
8300
  import { PublishableItem } from "libs/reach/util/common/src/index";
@@ -8257,6 +8453,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8257
8453
  import { FC } from 'react';
8258
8454
  export const EventDetailViewRegistration: FC;
8259
8455
  }
8456
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
8457
+ import { FC } from 'react';
8458
+ export const EventDetailViewCancelInformation: FC;
8459
+ }
8260
8460
  declare module "libs/reach/feature/content/src/comments/CommentList" {
8261
8461
  import { FC } from 'react';
8262
8462
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
@@ -8512,105 +8712,19 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
8512
8712
  eventItem: EventItem;
8513
8713
  }>;
8514
8714
  }
8515
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
8516
- import { FC } from 'react';
8517
- export const DetailViewPageViewTracker: FC;
8518
- }
8519
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
8520
- import { FC } from 'react';
8521
- export const DetailViewIntro: FC;
8522
- }
8523
- declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
8524
- import { FC } from 'react';
8525
- export const ConfirmationBox: FC<{
8526
- disabled?: boolean;
8527
- onChange?: (value: boolean) => void;
8528
- checked: boolean;
8529
- }>;
8530
- }
8531
- declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
8532
- import { FC } from 'react';
8533
- import { NewsItem } from "libs/reach/util/common/src/index";
8534
- export const ConfirmationSection: FC<{
8535
- item?: NewsItem;
8536
- showDescription: boolean;
8537
- readOnly?: boolean;
8715
+ declare module "libs/reach/feature/content/src/news/DateInfo" {
8716
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8717
+ interface DateInfoProps {
8718
+ item: Partial<PublishableItem>;
8719
+ dateMode: DateMode;
8720
+ expiryDate?: string;
8538
8721
  className?: string;
8539
- }>;
8540
- }
8541
- declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
8542
- import { FC } from 'react';
8543
- export const DetailViewConfirmations: FC;
8544
- }
8545
- declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
8546
- import { FC } from 'react';
8547
- export const FeedbackButtonBookmark: FC<{
8548
- isReadOnly?: boolean;
8549
- }>;
8550
- }
8551
- declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
8552
- import { FC } from 'react';
8553
- export const NewsDetailViewFeedbackSection: FC<{
8554
- hideLikes?: boolean;
8555
- hideComments?: boolean;
8556
- hideProfileUrl?: boolean;
8557
- disableLoginForPublicUser?: boolean;
8558
- }>;
8559
- }
8560
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
8561
- import { FC } from 'react';
8562
- export const DetailViewHeadline: FC;
8563
- }
8564
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
8565
- import { FC } from 'react';
8566
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8567
- export const DetailViewBodyExternalContent: FC<{
8568
- itemType: ItemResourceTypes;
8569
- }>;
8570
- }
8571
- declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
8572
- import { FC } from 'react';
8573
- import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
8574
- export const DetailViewContextProvider: FC<{
8575
- itemId: string;
8576
- type?: ItemResourceTypes;
8577
- loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8578
- isReadOnly?: boolean;
8579
- }>;
8580
- }
8581
- declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
8582
- import { FC } from 'react';
8583
- export const PageDetailViewFeedbackSection: FC<{
8584
- hideLikes?: boolean;
8585
- hideComments?: boolean;
8586
- hideProfileUrl?: boolean;
8587
- disableLoginForPublicUser?: boolean;
8588
- }>;
8589
- }
8590
- declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
8591
- import { FC } from 'react';
8592
- import { PageItem } from "libs/reach/util/common/src/index";
8593
- export const PageBreadcrumb: FC<{
8594
- page: PageItem;
8595
- target?: string;
8596
- language?: string;
8597
- hideCurrentPageNode?: boolean;
8598
- className?: string;
8599
- }>;
8600
- }
8601
- declare module "libs/reach/feature/content/src/news/DateInfo" {
8602
- import { PublishableItem } from "libs/reach/util/common/src/index";
8603
- interface DateInfoProps {
8604
- item: Partial<PublishableItem>;
8605
- dateMode: DateMode;
8606
- expiryDate?: string;
8607
- className?: string;
8608
- }
8609
- export enum DateMode {
8610
- Published = 0,
8611
- Modified = 1
8612
- }
8613
- export const DateInfo: React.FC<DateInfoProps>;
8722
+ }
8723
+ export enum DateMode {
8724
+ Published = 0,
8725
+ Modified = 1
8726
+ }
8727
+ export const DateInfo: React.FC<DateInfoProps>;
8614
8728
  }
8615
8729
  declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8616
8730
  import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
@@ -8637,51 +8751,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
8637
8751
  import { FC } from 'react';
8638
8752
  export const PageDetailViewMetaInfo: FC;
8639
8753
  }
8640
- declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
8754
+ declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
8641
8755
  import { FC } from 'react';
8642
- import { PageItem } from "libs/reach/util/common/src/index";
8643
- import { PublishableItemContent } from "libs/reach/util/common/src/index";
8644
- export const DetailViewPageDocumentDownload: FC;
8645
- export const PageDocumentDownloadButton: FC<{
8646
- item: PageItem;
8647
- content: PublishableItemContent;
8648
- basePath?: string;
8649
- }>;
8650
- }
8651
- declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
8652
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8653
- import { PublishableItem } from "libs/reach/util/common/src/index";
8654
- interface Props {
8655
- id: string;
8656
- item: PublishableItem;
8657
- itemResourceType: ItemResourceTypes;
8658
- }
8659
- export const CardBanner: React.FC<Props>;
8660
- }
8661
- declare module "libs/reach/feature/content/src/common/cards/Card" {
8662
- import { FC, ReactNode } from 'react';
8663
- import { PublishableItem } from "libs/reach/util/common/src/index";
8664
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8665
- import { CurrentUser } from "libs/reach/util/common/src/index";
8666
- interface CardProps {
8667
- item: PublishableItem;
8668
- itemResourceType: ItemResourceTypes;
8669
- additionalMetadata?: ReactNode;
8670
- highlight?: boolean;
8671
- className?: string;
8672
- }
8673
- export const Card: FC<CardProps>;
8674
- export interface CardItem<TItem = PublishableItem> {
8675
- item: TItem;
8676
- language: string;
8677
- }
8678
- export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
8679
- }
8680
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
8681
- import { FC, ReactNode } from 'react';
8682
- export const DetailViewNavigation: FC<{
8683
- children?: ReactNode;
8684
- callout?: ReactNode;
8756
+ export const PageDetailViewFeedbackSection: FC<{
8757
+ hideLikes?: boolean;
8758
+ hideComments?: boolean;
8759
+ hideProfileUrl?: boolean;
8760
+ disableLoginForPublicUser?: boolean;
8685
8761
  }>;
8686
8762
  }
8687
8763
  declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
@@ -8790,6 +8866,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
8790
8866
  import { FC } from 'react';
8791
8867
  export const PageDetailViewTableOfContentsButton: FC;
8792
8868
  }
8869
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
8870
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8871
+ export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8872
+ }
8873
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
8874
+ import { FC } from 'react';
8875
+ export const InlinePageListByKeywords: FC<{
8876
+ keywords: string[];
8877
+ showDocuments?: boolean;
8878
+ showPages?: boolean;
8879
+ }>;
8880
+ }
8881
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
8882
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8883
+ export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8884
+ }
8885
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
8886
+ import { FC } from 'react';
8887
+ export const InlinePageListByPageId: FC<{
8888
+ pageId: string;
8889
+ showDocuments: boolean;
8890
+ showPages: boolean;
8891
+ }>;
8892
+ }
8893
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
8894
+ import { FC } from 'react';
8895
+ import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
8896
+ export const InlinePageListByCurrentPage: FC<{
8897
+ blockProps?: PageListDetails;
8898
+ }>;
8899
+ }
8900
+ declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
8901
+ import { FC } from 'react';
8902
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8903
+ export interface PageListDetails {
8904
+ id?: string;
8905
+ showChildren?: boolean;
8906
+ showDocuments?: boolean;
8907
+ showPages?: boolean;
8908
+ pageId?: string;
8909
+ keywords?: string;
8910
+ }
8911
+ export const InlinePageList: FC<{
8912
+ blockProps?: PageListDetails;
8913
+ }>;
8914
+ export const InlinePageListMapper: HtmlComponentMapper;
8915
+ }
8916
+ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
8917
+ import { FC } from 'react';
8918
+ import { PageItem } from "libs/reach/util/common/src/index";
8919
+ export const PageBreadcrumb: FC<{
8920
+ page: PageItem;
8921
+ target?: string;
8922
+ language?: string;
8923
+ hideCurrentPageNode?: boolean;
8924
+ className?: string;
8925
+ }>;
8926
+ }
8927
+ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
8928
+ import { FC } from 'react';
8929
+ import { PageItem } from "libs/reach/util/common/src/index";
8930
+ import { PublishableItemContent } from "libs/reach/util/common/src/index";
8931
+ export const DetailViewPageDocumentDownload: FC;
8932
+ export const PageDocumentDownloadButton: FC<{
8933
+ item: PageItem;
8934
+ content: PublishableItemContent;
8935
+ basePath?: string;
8936
+ }>;
8937
+ }
8938
+ declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
8939
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8940
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8941
+ interface Props {
8942
+ id: string;
8943
+ item: PublishableItem;
8944
+ itemResourceType: ItemResourceTypes;
8945
+ }
8946
+ export const CardBanner: React.FC<Props>;
8947
+ }
8948
+ declare module "libs/reach/feature/content/src/common/cards/Card" {
8949
+ import { FC, ReactNode } from 'react';
8950
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8951
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8952
+ import { CurrentUser } from "libs/reach/util/common/src/index";
8953
+ interface CardProps {
8954
+ item: PublishableItem;
8955
+ itemResourceType: ItemResourceTypes;
8956
+ additionalMetadata?: ReactNode;
8957
+ highlight?: boolean;
8958
+ className?: string;
8959
+ }
8960
+ export const Card: FC<CardProps>;
8961
+ export interface CardItem<TItem = PublishableItem> {
8962
+ item: TItem;
8963
+ language: string;
8964
+ }
8965
+ export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
8966
+ }
8793
8967
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
8794
8968
  import { FC } from 'react';
8795
8969
  interface LanguageSelectorProps {
@@ -8811,20 +8985,122 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
8811
8985
  className?: string;
8812
8986
  }>;
8813
8987
  }
8988
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
8989
+ import { FC } from 'react';
8990
+ export const DetailViewBanner: FC;
8991
+ }
8992
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
8993
+ import { FC } from 'react';
8994
+ export const DetailViewIntro: FC;
8995
+ }
8996
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
8997
+ import { FC } from 'react';
8998
+ export const DetailMainSection: FC;
8999
+ }
9000
+ declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
9001
+ import { FC, ReactNode } from 'react';
9002
+ export const GutterMarkerIcon: FC<{
9003
+ iconName: string;
9004
+ children: ReactNode;
9005
+ isActive: boolean;
9006
+ color: string;
9007
+ tooltipResourceKey?: string;
9008
+ className?: string;
9009
+ }>;
9010
+ }
9011
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
9012
+ import { FC } from 'react';
9013
+ export const DetailViewTitle: FC;
9014
+ }
8814
9015
  declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
8815
9016
  import { FC } from 'react';
8816
9017
  export const NewsDetailViewMetaInfo: FC;
8817
9018
  }
8818
- declare module "libs/reach/feature/content/src/common/StateIcon" {
8819
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
8820
- export const StateIcon: React.FC<{
8821
- status: WorkflowStatus;
8822
- isActive?: boolean;
8823
- width?: number;
8824
- activeColor?: string;
9019
+ declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
9020
+ import { FC } from 'react';
9021
+ export const RichTextViewer: FC<{
9022
+ html: string;
8825
9023
  }>;
8826
9024
  }
8827
- declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
9025
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
9026
+ import { FC } from 'react';
9027
+ export const DetailViewBody: FC;
9028
+ }
9029
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
9030
+ import { FC } from 'react';
9031
+ export const DetailViewKeywords: FC<{
9032
+ filterBaseUrl: string;
9033
+ }>;
9034
+ }
9035
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
9036
+ import { FC } from 'react';
9037
+ export const ConfirmationBox: FC<{
9038
+ disabled?: boolean;
9039
+ onChange?: (value: boolean) => void;
9040
+ checked: boolean;
9041
+ }>;
9042
+ }
9043
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
9044
+ import { FC } from 'react';
9045
+ import { NewsItem } from "libs/reach/util/common/src/index";
9046
+ export const ConfirmationSection: FC<{
9047
+ item?: NewsItem;
9048
+ showDescription: boolean;
9049
+ readOnly?: boolean;
9050
+ className?: string;
9051
+ }>;
9052
+ }
9053
+ declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
9054
+ import { FC } from 'react';
9055
+ export const DetailViewConfirmations: FC;
9056
+ }
9057
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
9058
+ import { FC } from 'react';
9059
+ export const DetailViewPageViewTracker: FC;
9060
+ }
9061
+ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
9062
+ import { FC } from 'react';
9063
+ export const FeedbackButtonBookmark: FC<{
9064
+ isReadOnly?: boolean;
9065
+ }>;
9066
+ }
9067
+ declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
9068
+ import { FC } from 'react';
9069
+ export const NewsDetailViewFeedbackSection: FC<{
9070
+ hideLikes?: boolean;
9071
+ hideComments?: boolean;
9072
+ hideProfileUrl?: boolean;
9073
+ disableLoginForPublicUser?: boolean;
9074
+ }>;
9075
+ }
9076
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
9077
+ import { FC, ReactNode } from 'react';
9078
+ export const DetailViewNavigation: FC<{
9079
+ children?: ReactNode;
9080
+ callout?: ReactNode;
9081
+ }>;
9082
+ }
9083
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
9084
+ import { FC } from 'react';
9085
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9086
+ export const DetailViewBodyExternalContent: FC<{
9087
+ itemType: ItemResourceTypes;
9088
+ }>;
9089
+ }
9090
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
9091
+ import { FC } from 'react';
9092
+ export const DetailViewHeadline: FC;
9093
+ }
9094
+ declare module "libs/reach/feature/content/src/common/StateIcon" {
9095
+ import { WorkflowStatus } from "libs/reach/util/common/src/index";
9096
+ export const StateIcon: React.FC<{
9097
+ status: WorkflowStatus;
9098
+ isActive?: boolean;
9099
+ width?: number;
9100
+ activeColor?: string;
9101
+ }>;
9102
+ }
9103
+ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
8828
9104
  import { ItemResourceTypes, PaginatedList, TaskSummary } from "libs/reach/util/common/src/index";
8829
9105
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
8830
9106
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
@@ -8835,205 +9111,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
8835
9111
  }
8836
9112
  declare module "libs/reach/feature/content/src/common/index" {
8837
9113
  export * from "libs/reach/feature/content/src/common/cards/CardFooter";
8838
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
8839
9114
  export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
8840
9115
  export * from "libs/reach/feature/content/src/common/item-tile/Title";
8841
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
8842
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
8843
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
8844
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
8845
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
8846
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
8847
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
8848
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
8849
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
8850
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
8851
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
8852
- export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
8853
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
8854
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8855
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
8856
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
8857
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
8858
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
8859
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
8860
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
8861
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
8862
- export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
8863
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
8864
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
8865
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
8866
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
8867
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8868
9116
  export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
8869
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
8870
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8871
- export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
8872
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
8873
- export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
8874
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8875
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
8876
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
8877
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
8878
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
8879
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
8880
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
8881
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
8882
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
8883
- export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
8884
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
8885
- export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
8886
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
8887
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8888
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
8889
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
8890
- export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
8891
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8892
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
8893
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
8894
- export * from "libs/reach/feature/content/src/common/cards/Card";
8895
9117
  export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
8896
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8897
9118
  export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
8898
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8899
9119
  export * from "libs/reach/feature/content/src/common/body/InlineGallery";
8900
9120
  export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
8901
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8902
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
8903
- export * from "libs/reach/feature/content/src/common/ContentUtils";
8904
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8905
9121
  export * from "libs/reach/feature/content/src/common/body/InlineImage";
8906
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8907
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8908
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
8909
9122
  export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
8910
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
8911
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8912
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8913
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
8914
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8915
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
8916
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
8917
9123
  export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
8918
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8919
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
8920
9124
  export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
8921
9125
  export * from "libs/reach/feature/content/src/common/body/InlineQuote";
8922
9126
  export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
8923
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8924
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
8925
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8926
9127
  export * from "libs/reach/feature/content/src/common/body/InlineVideo";
8927
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
8928
9128
  export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
8929
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8930
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8931
9129
  export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
8932
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8933
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
8934
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8935
9130
  export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
8936
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
8937
9131
  export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
8938
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8939
9132
  export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
8940
9133
  export * from "libs/reach/feature/content/src/common/ContentUtils";
8941
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
8942
9134
  export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
8943
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8944
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8945
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
8946
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
8947
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8948
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8949
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
8950
9135
  export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
8951
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8952
9136
  export * from "libs/reach/feature/content/src/common/body/InlineContact";
8953
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8954
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8955
9137
  export * from "libs/reach/feature/content/src/common/body/InlineCode";
8956
9138
  export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
8957
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8958
9139
  export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8959
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
8960
9140
  export * from "libs/reach/feature/content/src/common/body/TextViewer";
8961
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
8962
- export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
8963
9141
  export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
8964
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
8965
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
8966
9142
  export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
8967
9143
  export * from "libs/reach/feature/content/src/common/body/InlineTable";
8968
- export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
8969
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
8970
- export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
8971
9144
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
8972
9145
  export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
8973
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8974
9146
  export * from "libs/reach/feature/content/src/common/body/InlineFileList";
8975
9147
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
8976
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
8977
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
8978
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8979
9148
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
8980
9149
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
8981
9150
  export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
8982
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
8983
9151
  export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
8984
9152
  export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8985
9153
  export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
8986
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
8987
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
8988
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
8989
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
8990
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
8991
9154
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
8992
9155
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
8993
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
8994
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
8995
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
8996
9156
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
8997
9157
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
8998
9158
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
8999
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
9000
9159
  export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
9001
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9002
- export * from "libs/reach/feature/content/src/common/cards/Card";
9003
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
9004
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
9005
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
9006
9160
  export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
9007
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
9008
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
9009
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
9010
9161
  export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
9011
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
9012
9162
  export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
9013
9163
  export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
9014
9164
  export * from "libs/reach/feature/content/src/common/body/InlinePageList";
9015
9165
  export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
9016
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
9017
9166
  export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
9018
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
9019
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9020
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9021
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9022
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9023
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9024
- export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
9025
9167
  export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
9026
9168
  export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9027
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9028
- export * from "libs/reach/feature/content/src/common/cards/Card";
9029
- export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
9030
- export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
9031
9169
  export * from "libs/reach/feature/content/src/common/cards/Card";
9032
9170
  export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
9033
9171
  export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
9034
9172
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
9035
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9036
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9037
9173
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
9038
9174
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
9039
9175
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
@@ -9050,7 +9186,6 @@ declare module "libs/reach/feature/content/src/common/index" {
9050
9186
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
9051
9187
  export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9052
9188
  export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9053
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9054
9189
  export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
9055
9190
  export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
9056
9191
  export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
@@ -9072,79 +9207,20 @@ declare module "libs/reach/feature/content/src/feedback/index" {
9072
9207
  export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
9073
9208
  export * from "libs/reach/feature/content/src/feedback/utils";
9074
9209
  }
9075
- declare module "libs/reach/feature/content/src/filter/FilteringProps" {
9076
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
9077
- export interface FilteringProps {
9078
- onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
9079
- onShowFilterPanel?: () => unknown;
9080
- onToggleFilterSidebar?: () => unknown;
9081
- isFilterActive?: boolean;
9210
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
9211
+ import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
9212
+ import { FC } from 'react';
9213
+ interface Props {
9214
+ group: KeywordGroup;
9215
+ keywords?: Keyword[];
9216
+ expanded?: boolean;
9217
+ selectedKeywords: Keyword[];
9218
+ onChange?: (keywords: Keyword[]) => void;
9219
+ mandatoryKeywordIds?: string[];
9082
9220
  }
9221
+ export const KeywordPickerGroup: FC<Props>;
9083
9222
  }
9084
- declare module "libs/reach/feature/content/src/filter/useFilter" {
9085
- import { FC } from 'react';
9086
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
9087
- import { CurrentUser } from "libs/reach/util/common/src/index";
9088
- export interface InjectedFilterProps {
9089
- filter: IndexableFilterDefinition;
9090
- hasFilter: boolean;
9091
- isSearchActive: boolean;
9092
- onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
9093
- onSearchChange: (text: string) => void;
9094
- onClearFilter: () => void;
9095
- }
9096
- export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
9097
- filter: Partial<IndexableFilterDefinition>;
9098
- hasFilter: boolean;
9099
- isSearchActive: boolean;
9100
- onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
9101
- onSearchChange: (search: string) => void;
9102
- onClearFilter: () => void;
9103
- };
9104
- export const FilterContext: import("react").Context<InjectedFilterProps>;
9105
- export const FilterContextProvider: FC<{
9106
- addFilters?: (locationParams: {
9107
- [paramName: string]: any;
9108
- }, user: CurrentUser) => IndexableFilterDefinition;
9109
- additionalExcludedFilterProperties?: string[];
9110
- onClearQueryString?: (prev: any, next: any) => any;
9111
- }>;
9112
- export interface FilterVisibilityState {
9113
- showFilterAsPanel?: boolean;
9114
- showFilterSidebar?: boolean;
9115
- }
9116
- }
9117
- declare module "libs/reach/feature/content/src/filter/index" {
9118
- export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
9119
- export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
9120
- export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
9121
- export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
9122
- export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
9123
- export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
9124
- export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
9125
- export * from "libs/reach/feature/content/src/filter/FilteringProps";
9126
- export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
9127
- export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
9128
- export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
9129
- export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
9130
- export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
9131
- export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
9132
- export * from "libs/reach/feature/content/src/filter/useFilter";
9133
- }
9134
- declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
9135
- import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
9136
- import { FC } from 'react';
9137
- interface Props {
9138
- group: KeywordGroup;
9139
- keywords?: Keyword[];
9140
- expanded?: boolean;
9141
- selectedKeywords: Keyword[];
9142
- onChange?: (keywords: Keyword[]) => void;
9143
- mandatoryKeywordIds?: string[];
9144
- }
9145
- export const KeywordPickerGroup: FC<Props>;
9146
- }
9147
- declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
9223
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
9148
9224
  import { FC } from 'react';
9149
9225
  import { Keyword } from "libs/reach/util/common/src/index";
9150
9226
  interface Props {
@@ -9205,26 +9281,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
9205
9281
  */
9206
9282
  export const Textarea: FC<TextareaProps>;
9207
9283
  }
9208
- declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
9209
- import { FC } from 'react';
9210
- interface DateTimePickerProps {
9211
- date: string;
9212
- maxDate?: string;
9213
- minDate?: string;
9214
- dateValidationResourceKey?: string;
9215
- timeValidationResourceKey?: string;
9216
- readOnly?: boolean;
9217
- onChanged: (date: string, isValid: boolean) => void;
9218
- noDateResourceKey: string;
9219
- selectDateResourceKey: string;
9220
- dateOnly?: boolean;
9221
- initialPickerDate?: string;
9222
- label?: string;
9223
- className?: string;
9224
- }
9225
- export const DateTimePicker: FC<DateTimePickerProps>;
9226
- export default DateTimePicker;
9227
- }
9228
9284
  declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
9229
9285
  import { FC } from 'react';
9230
9286
  interface Props {
@@ -9249,6 +9305,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
9249
9305
  }
9250
9306
  export const InsertImagesButton: FC<Props>;
9251
9307
  }
9308
+ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
9309
+ import { FC } from 'react';
9310
+ interface DateTimePickerProps {
9311
+ date: string;
9312
+ maxDate?: string;
9313
+ minDate?: string;
9314
+ dateValidationResourceKey?: string;
9315
+ timeValidationResourceKey?: string;
9316
+ readOnly?: boolean;
9317
+ onChanged: (date: string, isValid: boolean) => void;
9318
+ noDateResourceKey: string;
9319
+ selectDateResourceKey: string;
9320
+ dateOnly?: boolean;
9321
+ initialPickerDate?: string;
9322
+ label?: string;
9323
+ isRequired?: boolean;
9324
+ className?: string;
9325
+ }
9326
+ export const DateTimePicker: FC<DateTimePickerProps>;
9327
+ export default DateTimePicker;
9328
+ }
9252
9329
  declare module "libs/reach/feature/content/src/forms/DateRange" {
9253
9330
  import moment, { Moment } from 'moment';
9254
9331
  export enum DateRange {
@@ -9295,33 +9372,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
9295
9372
  export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
9296
9373
  }
9297
9374
  declare module "libs/reach/feature/content/src/forms/index" {
9298
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9299
9375
  export * from "libs/reach/feature/content/src/forms/KeywordDialog";
9300
9376
  export * from "libs/reach/feature/content/src/forms/Textarea";
9301
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9302
- export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
9303
- export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
9304
- export * from "libs/reach/feature/content/src/forms/KeywordDialog";
9305
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9306
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9307
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9308
- export * from "libs/reach/feature/content/src/forms/Textarea";
9309
9377
  export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
9310
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9311
9378
  export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
9312
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9313
9379
  export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
9314
9380
  export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
9315
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9316
9381
  export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9317
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
9318
9382
  export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
9319
9383
  export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9320
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
9321
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9322
9384
  export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
9323
9385
  export * from "libs/reach/feature/content/src/forms/DateRange";
9324
- export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
9325
9386
  export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
9326
9387
  export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
9327
9388
  export * from "libs/reach/feature/content/src/forms/videos/VideoView";
@@ -9401,6 +9462,15 @@ declare module "libs/reach/feature/content/src/news/index" {
9401
9462
  export * from "libs/reach/feature/content/src/news/useNewsApi";
9402
9463
  export * from "libs/reach/feature/content/src/news/useTranslateApi";
9403
9464
  }
9465
+ declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
9466
+ import { FC } from 'react';
9467
+ import { SearchHighlight } from "libs/reach/util/common/src/index";
9468
+ export const SearchHighlighter: FC<{
9469
+ highlight: SearchHighlight;
9470
+ }>;
9471
+ export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
9472
+ export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
9473
+ }
9404
9474
  declare module "libs/reach/feature/content/src/pages/PageTitle" {
9405
9475
  import { FC } from 'react';
9406
9476
  import { PageItem } from "libs/reach/util/common/src/index";
@@ -9429,11 +9499,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
9429
9499
  }
9430
9500
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
9431
9501
  import { FC } from 'react';
9432
- import { PublishableItemContent } from "libs/reach/util/common/src/index";
9502
+ import { PageItem } from "libs/reach/util/common/src/index";
9433
9503
  export const PageListItemBody: FC<{
9434
- contents: {
9435
- [key: string]: PublishableItemContent;
9436
- };
9504
+ page: PageItem;
9437
9505
  search?: string;
9438
9506
  }>;
9439
9507
  }
@@ -9499,7 +9567,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
9499
9567
  import { FC } from 'react';
9500
9568
  import { Post } from "libs/reach/feature/content/src/posts/utils";
9501
9569
  import { Keyword } from "libs/reach/util/common/src/index";
9502
- export const PostCreator: FC<{
9570
+ export interface PostCreatorProps {
9503
9571
  groupId: string;
9504
9572
  disabled: boolean;
9505
9573
  disableDragAndDrop?: boolean;
@@ -9510,132 +9578,1295 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
9510
9578
  defaultKeywords?: Keyword[];
9511
9579
  mandatoryKeywords?: Keyword[];
9512
9580
  };
9513
- }>;
9514
- }
9515
- declare module "libs/reach/feature/content/src/posts/PostReplies" {
9516
- import { FC } from 'react';
9517
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9518
- import { Comment } from "libs/reach/util/common/src/index";
9519
- import { PaginatedList } from "libs/reach/util/common/src/index";
9520
- interface Props {
9521
- className?: string;
9522
- post: Post;
9523
- comments?: PaginatedList<Comment>;
9524
- autoFocusReplyField?: boolean;
9525
- onReplyAdded: () => void;
9526
- onReplyDeleted: () => void;
9527
- onThreadReply?: (threadId: string) => void;
9528
- }
9529
- export const PostReplies: FC<Props>;
9530
- }
9531
- declare module "libs/reach/feature/content/src/posts/PostEditor" {
9532
- import { FC } from 'react';
9533
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9534
- import { Keyword } from "libs/reach/util/common/src/index";
9535
- export const PostEditor: FC<{
9536
- className?: string;
9537
- post: Post;
9538
- onCancel: () => void;
9539
- onBeforeSave: (post: Post) => void;
9540
- onSaved: (post: Post) => void;
9541
- keywordSettings?: {
9542
- availableKeywords?: Keyword[];
9543
- defaultKeywords?: Keyword[];
9544
- mandatoryKeywords?: Keyword[];
9581
+ disableAutoFocus?: boolean;
9582
+ }
9583
+ export const PostCreator: FC<PostCreatorProps>;
9584
+ }
9585
+ declare module "libs/reach/feature/content/src/posts/PostReplies" {
9586
+ import { FC } from 'react';
9587
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9588
+ import { Comment } from "libs/reach/util/common/src/index";
9589
+ import { PaginatedList } from "libs/reach/util/common/src/index";
9590
+ interface Props {
9591
+ className?: string;
9592
+ post: Post;
9593
+ initialPageSize?: number;
9594
+ comments?: PaginatedList<Comment>;
9595
+ autoFocusReplyField?: boolean;
9596
+ onReplyAdded: () => void;
9597
+ onReplyDeleted: () => void;
9598
+ onThreadReply?: (threadId: string) => void;
9599
+ }
9600
+ export const PostReplies: FC<Props>;
9601
+ }
9602
+ declare module "libs/reach/feature/content/src/posts/PostEditor" {
9603
+ import { FC } from 'react';
9604
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9605
+ import { Keyword } from "libs/reach/util/common/src/index";
9606
+ export const PostEditor: FC<{
9607
+ className?: string;
9608
+ post: Post;
9609
+ onCancel: () => void;
9610
+ onBeforeSave: (post: Post) => void;
9611
+ onSaved: (post: Post) => void;
9612
+ keywordSettings?: {
9613
+ availableKeywords?: Keyword[];
9614
+ defaultKeywords?: Keyword[];
9615
+ mandatoryKeywords?: Keyword[];
9616
+ };
9617
+ }>;
9618
+ }
9619
+ declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
9620
+ import { FC } from 'react';
9621
+ export const PostFollowButton: FC<{
9622
+ itemId: string;
9623
+ }>;
9624
+ }
9625
+ declare module "libs/reach/feature/content/src/posts/PostGroup" {
9626
+ import { FC } from 'react';
9627
+ import { NavLink } from 'react-router-dom';
9628
+ export const PostGroup: FC<{
9629
+ groupId: string;
9630
+ to: string;
9631
+ className?: string;
9632
+ }>;
9633
+ export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
9634
+ }
9635
+ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
9636
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9637
+ import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
9638
+ interface Props {
9639
+ post: Post;
9640
+ className?: string;
9641
+ threadId?: string;
9642
+ onCustomPostDelete?: () => void;
9643
+ comments?: PaginatedList<Comment>;
9644
+ initialCommentsPageSize?: number;
9645
+ onEditActiveChange?: (isEditMode: boolean) => void;
9646
+ onShowCommentsChange?: (showComments: boolean) => void;
9647
+ onThreadCommentDelete?: () => void;
9648
+ onThreadReply?: (threadId: string) => void;
9649
+ keywordSettings?: {
9650
+ availableKeywords?: Keyword[];
9651
+ defaultKeywords?: Keyword[];
9652
+ mandatoryKeywords?: Keyword[];
9653
+ };
9654
+ showGroup?: boolean;
9655
+ onBeforeDelete?: (id: string) => unknown;
9656
+ onAfterDelete?: (id: string) => unknown;
9657
+ }
9658
+ export const PostDisplay: React.FC<Props>;
9659
+ }
9660
+ declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
9661
+ import { FC } from 'react';
9662
+ import { UserGroup } from "libs/reach/util/common/src/index";
9663
+ export const PostGroupsSelector: FC<{
9664
+ groups: UserGroup[];
9665
+ }>;
9666
+ }
9667
+ declare module "libs/reach/feature/content/src/posts/PostListItem" {
9668
+ import { FC } from 'react';
9669
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9670
+ import { Keyword } from "libs/reach/util/common/src/index";
9671
+ interface Props {
9672
+ post: Post;
9673
+ onEditActiveChange?: (isEditMode: boolean) => void;
9674
+ onShowCommentsChange?: (showComments: boolean) => void;
9675
+ keywordSettings?: {
9676
+ availableKeywords?: Keyword[];
9677
+ defaultKeywords?: Keyword[];
9678
+ mandatoryKeywords?: Keyword[];
9679
+ };
9680
+ showGroup: boolean;
9681
+ onBeforeDelete?: (id: string) => unknown;
9682
+ onAfterDelete?: (id: string) => unknown;
9683
+ }
9684
+ export const PostListItem: FC<Props>;
9685
+ }
9686
+ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
9687
+ import { FC } from 'react';
9688
+ import { Post } from "libs/reach/feature/content/src/index";
9689
+ import { Keyword } from "libs/reach/util/common/src/index";
9690
+ export const PostWithSelfThreadHandling: FC<{
9691
+ post: Post;
9692
+ onEditActiveChange?: (isEditMode: boolean) => void;
9693
+ onShowCommentsChange?: (showComments: boolean) => void;
9694
+ keywordSettings?: {
9695
+ availableKeywords?: Keyword[];
9696
+ defaultKeywords?: Keyword[];
9697
+ mandatoryKeywords?: Keyword[];
9698
+ };
9699
+ showGroup: boolean;
9700
+ onBeforeDelete?: (id: string) => unknown;
9701
+ onAfterDelete?: (id: string) => unknown;
9702
+ }>;
9703
+ }
9704
+ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9705
+ import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9706
+ import { Post } from "libs/reach/feature/content/src/posts/index";
9707
+ import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
9708
+ enum StreamItemTypes {
9709
+ Post = "POST",
9710
+ News = "NEWS",
9711
+ Event = "EVENT",
9712
+ Page = "PAGE"
9713
+ }
9714
+ export enum StreamConversationScope {
9715
+ Public = "PUBLIC",
9716
+ Editor = "EDITOR",
9717
+ Posts = "POSTS"
9718
+ }
9719
+ export interface PostStreamItem extends Post {
9720
+ type: StreamItemTypes.Post;
9721
+ isUnread: boolean;
9722
+ keywordsList?: Keyword[];
9723
+ groupIds?: string[];
9724
+ postAttachments?: StreamAttachment[];
9725
+ postComments?: PaginatedList<StreamPostComment>;
9726
+ hasMoreUnreadComments: boolean;
9727
+ }
9728
+ export interface StreamPostComment extends Comment {
9729
+ postCommentAttachments?: StreamAttachment[];
9730
+ streamConversationScope?: StreamConversationScope;
9731
+ }
9732
+ export interface StreamAttachment extends BaseAttachment {
9733
+ type: GraphQLAttachmentType;
9734
+ }
9735
+ export interface NewsStreamItem extends NewsItem {
9736
+ type: StreamItemTypes.News;
9737
+ contentsList: StreamPublishableItemContents[];
9738
+ channelsList: string[];
9739
+ isUnread: boolean;
9740
+ keywordsList?: Keyword[];
9741
+ knownNewsState?: StreamKnownNewsState[];
9742
+ }
9743
+ export enum StreamKnownNewsState {
9744
+ Unconfirmed = "UNCONFIRMED",
9745
+ Alert = "ALERT"
9746
+ }
9747
+ export interface EventStreamItem extends EventItem {
9748
+ type: StreamItemTypes.Event;
9749
+ contentsList: StreamPublishableItemContents[];
9750
+ channelsList: string[];
9751
+ isUnread: boolean;
9752
+ keywordsList?: Keyword[];
9753
+ userResponseType?: StreamEventResponse;
9754
+ }
9755
+ export interface PageStreamItem extends PageItem {
9756
+ type: StreamItemTypes.Page;
9757
+ contentsList: StreamPublishableItemContents[];
9758
+ channelsList: string[];
9759
+ isUnread: boolean;
9760
+ keywordsList?: Keyword[];
9761
+ streamPageType?: string;
9762
+ path?: (PageNavigationNode & {
9763
+ parentId?: string;
9764
+ })[];
9765
+ }
9766
+ interface StreamPublishableItemContents {
9767
+ language: string;
9768
+ title: string;
9769
+ intro?: string;
9770
+ headline?: string;
9771
+ }
9772
+ export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
9773
+ export function isPost(item: StreamItem): item is PostStreamItem;
9774
+ export function isNews(item: StreamItem): item is NewsStreamItem;
9775
+ export function isEvent(item: StreamItem): item is EventStreamItem;
9776
+ export function isPage(item: StreamItem): item is PageStreamItem;
9777
+ export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
9778
+ groupId: string;
9779
+ attachments: {
9780
+ type: AttachmentType;
9781
+ id: string;
9782
+ filename?: string;
9783
+ previewUrl?: string;
9784
+ url?: string;
9785
+ isUploadInProgress?: boolean;
9786
+ hasError?: boolean;
9787
+ width?: number;
9788
+ height?: number;
9789
+ }[];
9790
+ comments: {
9791
+ items: {
9792
+ conversationScope: ConversationScope;
9793
+ fileAccessToken: string;
9794
+ attachments: {
9795
+ type: AttachmentType;
9796
+ id: string;
9797
+ filename?: string;
9798
+ previewUrl?: string;
9799
+ url?: string;
9800
+ isUploadInProgress?: boolean;
9801
+ hasError?: boolean;
9802
+ width?: number;
9803
+ height?: number;
9804
+ }[];
9805
+ postCommentAttachments?: StreamAttachment[];
9806
+ streamConversationScope?: StreamConversationScope;
9807
+ id: string;
9808
+ parentItemId: string;
9809
+ content: string;
9810
+ contentLanguageCode?: string;
9811
+ receivedDateTime: string;
9812
+ sender: import("@livetiles/reach/util/common").Account;
9813
+ modified?: string;
9814
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9815
+ isLiked?: boolean;
9816
+ threadId?: string;
9817
+ isUnread?: boolean;
9818
+ hasUnreadReplies?: boolean;
9819
+ isDemoContent?: boolean;
9820
+ attachmentContainerId?: string;
9821
+ }[];
9822
+ paginationToken?: any;
9823
+ nextItem?: StreamPostComment;
9824
+ hasMoreUnreadComments?: boolean;
9825
+ hasNextPage?: boolean;
9826
+ };
9827
+ keywords: {
9828
+ [key: string]: Keyword[];
9829
+ };
9830
+ type: StreamItemTypes.Post;
9831
+ isUnread: boolean;
9832
+ keywordsList?: Keyword[];
9833
+ groupIds?: string[];
9834
+ postAttachments?: StreamAttachment[];
9835
+ postComments?: PaginatedList<StreamPostComment>;
9836
+ hasMoreUnreadComments: boolean;
9837
+ id: string;
9838
+ content: string;
9839
+ permalink?: string;
9840
+ author: import("@livetiles/reach/util/common").Account;
9841
+ publishingDate: string;
9842
+ modified?: string;
9843
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
9844
+ contentLanguageCode?: string;
9845
+ isLiked?: boolean;
9846
+ isDemoContent?: boolean;
9847
+ poll?: import("@livetiles/reach/util/common").Poll;
9848
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9849
+ fileAccessToken?: string;
9850
+ attachmentContainerId?: string;
9851
+ } | {
9852
+ groupId: string;
9853
+ attachments: {
9854
+ type: AttachmentType;
9855
+ id: string;
9856
+ filename?: string;
9857
+ previewUrl?: string;
9858
+ url?: string;
9859
+ isUploadInProgress?: boolean;
9860
+ hasError?: boolean;
9861
+ width?: number;
9862
+ height?: number;
9863
+ }[];
9864
+ comments: {
9865
+ items: {
9866
+ conversationScope: ConversationScope;
9867
+ fileAccessToken: string;
9868
+ attachments: {
9869
+ type: AttachmentType;
9870
+ id: string;
9871
+ filename?: string;
9872
+ previewUrl?: string;
9873
+ url?: string;
9874
+ isUploadInProgress?: boolean;
9875
+ hasError?: boolean;
9876
+ width?: number;
9877
+ height?: number;
9878
+ }[];
9879
+ postCommentAttachments?: StreamAttachment[];
9880
+ streamConversationScope?: StreamConversationScope;
9881
+ id: string;
9882
+ parentItemId: string;
9883
+ content: string;
9884
+ contentLanguageCode?: string;
9885
+ receivedDateTime: string;
9886
+ sender: import("@livetiles/reach/util/common").Account;
9887
+ modified?: string;
9888
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9889
+ isLiked?: boolean;
9890
+ threadId?: string;
9891
+ isUnread?: boolean;
9892
+ hasUnreadReplies?: boolean;
9893
+ isDemoContent?: boolean;
9894
+ attachmentContainerId?: string;
9895
+ }[];
9896
+ paginationToken?: any;
9897
+ nextItem?: StreamPostComment;
9898
+ hasMoreUnreadComments?: boolean;
9899
+ hasNextPage?: boolean;
9900
+ };
9901
+ keywords: {
9902
+ [key: string]: Keyword[];
9903
+ };
9904
+ type: StreamItemTypes.News;
9905
+ contentsList: StreamPublishableItemContents[];
9906
+ channelsList: string[];
9907
+ isUnread: boolean;
9908
+ keywordsList?: Keyword[];
9909
+ knownNewsState?: StreamKnownNewsState[];
9910
+ source?: string;
9911
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
9912
+ expiryDate?: string;
9913
+ knownState: KnownNewsState;
9914
+ hasNewComments?: boolean;
9915
+ isLiked?: boolean;
9916
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
9917
+ channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
9918
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
9919
+ id?: string;
9920
+ versionId?: string;
9921
+ publishingDate?: string;
9922
+ deleted?: string;
9923
+ author?: import("@livetiles/reach/util/common").Account;
9924
+ owner?: import("@livetiles/reach/util/common").Account;
9925
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
9926
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
9927
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
9928
+ fileAccessToken?: string;
9929
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
9930
+ customProperties?: {
9931
+ [key: string]: any;
9932
+ };
9933
+ modifiedBy: import("@livetiles/reach/util/common").Account;
9934
+ modified: string;
9935
+ created: string;
9936
+ publishedVersionId?: string;
9937
+ isCurrentPublishedVersion?: boolean;
9938
+ isLatestVersion?: boolean;
9939
+ permalink?: string;
9940
+ groupIds: string[];
9941
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
9942
+ useExternalContent?: boolean;
9943
+ isDemoContent?: boolean;
9944
+ poll?: import("@livetiles/reach/util/common").Poll;
9945
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9946
+ } | {
9947
+ groupId: string;
9948
+ attachments: {
9949
+ type: AttachmentType;
9950
+ id: string;
9951
+ filename?: string;
9952
+ previewUrl?: string;
9953
+ url?: string;
9954
+ isUploadInProgress?: boolean;
9955
+ hasError?: boolean;
9956
+ width?: number;
9957
+ height?: number;
9958
+ }[];
9959
+ comments: {
9960
+ items: {
9961
+ conversationScope: ConversationScope;
9962
+ fileAccessToken: string;
9963
+ attachments: {
9964
+ type: AttachmentType;
9965
+ id: string;
9966
+ filename?: string;
9967
+ previewUrl?: string;
9968
+ url?: string;
9969
+ isUploadInProgress?: boolean;
9970
+ hasError?: boolean;
9971
+ width?: number;
9972
+ height?: number;
9973
+ }[];
9974
+ postCommentAttachments?: StreamAttachment[];
9975
+ streamConversationScope?: StreamConversationScope;
9976
+ id: string;
9977
+ parentItemId: string;
9978
+ content: string;
9979
+ contentLanguageCode?: string;
9980
+ receivedDateTime: string;
9981
+ sender: import("@livetiles/reach/util/common").Account;
9982
+ modified?: string;
9983
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9984
+ isLiked?: boolean;
9985
+ threadId?: string;
9986
+ isUnread?: boolean;
9987
+ hasUnreadReplies?: boolean;
9988
+ isDemoContent?: boolean;
9989
+ attachmentContainerId?: string;
9990
+ }[];
9991
+ paginationToken?: any;
9992
+ nextItem?: StreamPostComment;
9993
+ hasMoreUnreadComments?: boolean;
9994
+ hasNextPage?: boolean;
9995
+ };
9996
+ keywords: {
9997
+ [key: string]: Keyword[];
9998
+ };
9999
+ type: StreamItemTypes.Event;
10000
+ contentsList: StreamPublishableItemContents[];
10001
+ channelsList: string[];
10002
+ isUnread: boolean;
10003
+ keywordsList?: Keyword[];
10004
+ userResponseType?: StreamEventResponse;
10005
+ startDate?: string;
10006
+ endDate?: string;
10007
+ timeZone?: string;
10008
+ contacts?: import("@livetiles/reach/util/common").Account[];
10009
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10010
+ userResponse?: EventResponse;
10011
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10012
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10013
+ hasNewComments?: boolean;
10014
+ isLiked?: boolean;
10015
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10016
+ recurrenceSeriesId?: string;
10017
+ isSeriesMaster?: string;
10018
+ isVirtual?: boolean;
10019
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10020
+ channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10021
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10022
+ id?: string;
10023
+ versionId?: string;
10024
+ publishingDate?: string;
10025
+ deleted?: string;
10026
+ author?: import("@livetiles/reach/util/common").Account;
10027
+ owner?: import("@livetiles/reach/util/common").Account;
10028
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10029
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
10030
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10031
+ fileAccessToken?: string;
10032
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
10033
+ customProperties?: {
10034
+ [key: string]: any;
10035
+ };
10036
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10037
+ modified: string;
10038
+ created: string;
10039
+ publishedVersionId?: string;
10040
+ isCurrentPublishedVersion?: boolean;
10041
+ isLatestVersion?: boolean;
10042
+ permalink?: string;
10043
+ groupIds: string[];
10044
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10045
+ useExternalContent?: boolean;
10046
+ isDemoContent?: boolean;
10047
+ poll?: import("@livetiles/reach/util/common").Poll;
10048
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10049
+ } | {
10050
+ groupId: string;
10051
+ attachments: {
10052
+ type: AttachmentType;
10053
+ id: string;
10054
+ filename?: string;
10055
+ previewUrl?: string;
10056
+ url?: string;
10057
+ isUploadInProgress?: boolean;
10058
+ hasError?: boolean;
10059
+ width?: number;
10060
+ height?: number;
10061
+ }[];
10062
+ comments: {
10063
+ items: {
10064
+ conversationScope: ConversationScope;
10065
+ fileAccessToken: string;
10066
+ attachments: {
10067
+ type: AttachmentType;
10068
+ id: string;
10069
+ filename?: string;
10070
+ previewUrl?: string;
10071
+ url?: string;
10072
+ isUploadInProgress?: boolean;
10073
+ hasError?: boolean;
10074
+ width?: number;
10075
+ height?: number;
10076
+ }[];
10077
+ postCommentAttachments?: StreamAttachment[];
10078
+ streamConversationScope?: StreamConversationScope;
10079
+ id: string;
10080
+ parentItemId: string;
10081
+ content: string;
10082
+ contentLanguageCode?: string;
10083
+ receivedDateTime: string;
10084
+ sender: import("@livetiles/reach/util/common").Account;
10085
+ modified?: string;
10086
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
10087
+ isLiked?: boolean;
10088
+ threadId?: string;
10089
+ isUnread?: boolean;
10090
+ hasUnreadReplies?: boolean;
10091
+ isDemoContent?: boolean;
10092
+ attachmentContainerId?: string;
10093
+ }[];
10094
+ paginationToken?: any;
10095
+ nextItem?: StreamPostComment;
10096
+ hasMoreUnreadComments?: boolean;
10097
+ hasNextPage?: boolean;
10098
+ };
10099
+ keywords: {
10100
+ [key: string]: Keyword[];
10101
+ };
10102
+ type: StreamItemTypes.Page;
10103
+ contentsList: StreamPublishableItemContents[];
10104
+ channelsList: string[];
10105
+ isUnread: boolean;
10106
+ keywordsList?: Keyword[];
10107
+ streamPageType?: string;
10108
+ path?: (PageNavigationNode & {
10109
+ parentId?: string;
10110
+ })[];
10111
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10112
+ parentId?: string;
10113
+ pathIds?: string[];
10114
+ position?: number;
10115
+ navigationContext?: PageNavigationContext;
10116
+ hasHiddenAncestor?: boolean;
10117
+ isUnlinked?: boolean;
10118
+ pageType?: PageType;
10119
+ firstChildId?: string;
10120
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10121
+ id?: string;
10122
+ versionId?: string;
10123
+ publishingDate?: string;
10124
+ deleted?: string;
10125
+ author?: import("@livetiles/reach/util/common").Account;
10126
+ owner?: import("@livetiles/reach/util/common").Account;
10127
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10128
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
10129
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10130
+ fileAccessToken?: string;
10131
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
10132
+ customProperties?: {
10133
+ [key: string]: any;
10134
+ };
10135
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10136
+ modified: string;
10137
+ created: string;
10138
+ publishedVersionId?: string;
10139
+ isCurrentPublishedVersion?: boolean;
10140
+ isLatestVersion?: boolean;
10141
+ permalink?: string;
10142
+ groupIds: string[];
10143
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10144
+ useExternalContent?: boolean;
10145
+ isDemoContent?: boolean;
10146
+ poll?: import("@livetiles/reach/util/common").Poll;
10147
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10148
+ } | {
10149
+ knownState?: undefined;
10150
+ pageType?: undefined;
10151
+ navigationContext?: undefined;
10152
+ userResponse: EventResponse;
10153
+ channels: {
10154
+ name: string;
10155
+ }[];
10156
+ contents: {};
10157
+ bannerInfo: {
10158
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10159
+ type: "video" | "image";
10160
+ videoId?: string;
10161
+ videoUrl?: string;
10162
+ isDirectVideoUrl?: boolean;
10163
+ imageId?: string;
10164
+ };
10165
+ keywords: {
10166
+ [key: string]: Keyword[];
10167
+ };
10168
+ type: StreamItemTypes.Post;
10169
+ isUnread: boolean;
10170
+ keywordsList?: Keyword[];
10171
+ groupIds?: string[];
10172
+ postAttachments?: StreamAttachment[];
10173
+ postComments?: PaginatedList<StreamPostComment>;
10174
+ hasMoreUnreadComments: boolean;
10175
+ id: string;
10176
+ comments?: PaginatedList<Comment>;
10177
+ groupId: string;
10178
+ content: string;
10179
+ permalink?: string;
10180
+ author: import("@livetiles/reach/util/common").Account;
10181
+ publishingDate: string;
10182
+ modified?: string;
10183
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10184
+ contentLanguageCode?: string;
10185
+ isLiked?: boolean;
10186
+ isDemoContent?: boolean;
10187
+ poll?: import("@livetiles/reach/util/common").Poll;
10188
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10189
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10190
+ fileAccessToken?: string;
10191
+ attachmentContainerId?: string;
10192
+ } | {
10193
+ knownState: KnownNewsState;
10194
+ pageType?: undefined;
10195
+ navigationContext?: undefined;
10196
+ userResponse: EventResponse;
10197
+ channels: {
10198
+ name: string;
10199
+ }[];
10200
+ contents: {};
10201
+ bannerInfo: {
10202
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10203
+ type: "video" | "image";
10204
+ videoId?: string;
10205
+ videoUrl?: string;
10206
+ isDirectVideoUrl?: boolean;
10207
+ imageId?: string;
10208
+ };
10209
+ keywords: {
10210
+ [key: string]: Keyword[];
10211
+ };
10212
+ type: StreamItemTypes.Post;
10213
+ isUnread: boolean;
10214
+ keywordsList?: Keyword[];
10215
+ groupIds?: string[];
10216
+ postAttachments?: StreamAttachment[];
10217
+ postComments?: PaginatedList<StreamPostComment>;
10218
+ hasMoreUnreadComments: boolean;
10219
+ id: string;
10220
+ comments?: PaginatedList<Comment>;
10221
+ groupId: string;
10222
+ content: string;
10223
+ permalink?: string;
10224
+ author: import("@livetiles/reach/util/common").Account;
10225
+ publishingDate: string;
10226
+ modified?: string;
10227
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10228
+ contentLanguageCode?: string;
10229
+ isLiked?: boolean;
10230
+ isDemoContent?: boolean;
10231
+ poll?: import("@livetiles/reach/util/common").Poll;
10232
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10233
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10234
+ fileAccessToken?: string;
10235
+ attachmentContainerId?: string;
10236
+ } | {
10237
+ knownState?: undefined;
10238
+ pageType: PageType;
10239
+ navigationContext: PageNavigationContext;
10240
+ userResponse: EventResponse;
10241
+ channels: {
10242
+ name: string;
10243
+ }[];
10244
+ contents: {};
10245
+ bannerInfo: {
10246
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10247
+ type: "video" | "image";
10248
+ videoId?: string;
10249
+ videoUrl?: string;
10250
+ isDirectVideoUrl?: boolean;
10251
+ imageId?: string;
10252
+ };
10253
+ keywords: {
10254
+ [key: string]: Keyword[];
10255
+ };
10256
+ type: StreamItemTypes.Post;
10257
+ isUnread: boolean;
10258
+ keywordsList?: Keyword[];
10259
+ groupIds?: string[];
10260
+ postAttachments?: StreamAttachment[];
10261
+ postComments?: PaginatedList<StreamPostComment>;
10262
+ hasMoreUnreadComments: boolean;
10263
+ id: string;
10264
+ comments?: PaginatedList<Comment>;
10265
+ groupId: string;
10266
+ content: string;
10267
+ permalink?: string;
10268
+ author: import("@livetiles/reach/util/common").Account;
10269
+ publishingDate: string;
10270
+ modified?: string;
10271
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10272
+ contentLanguageCode?: string;
10273
+ isLiked?: boolean;
10274
+ isDemoContent?: boolean;
10275
+ poll?: import("@livetiles/reach/util/common").Poll;
10276
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10277
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10278
+ fileAccessToken?: string;
10279
+ attachmentContainerId?: string;
10280
+ } | {
10281
+ knownState: KnownNewsState;
10282
+ pageType: PageType;
10283
+ navigationContext: PageNavigationContext;
10284
+ userResponse: EventResponse;
10285
+ channels: {
10286
+ name: string;
10287
+ }[];
10288
+ contents: {};
10289
+ bannerInfo: {
10290
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10291
+ type: "video" | "image";
10292
+ videoId?: string;
10293
+ videoUrl?: string;
10294
+ isDirectVideoUrl?: boolean;
10295
+ imageId?: string;
10296
+ };
10297
+ keywords: {
10298
+ [key: string]: Keyword[];
10299
+ };
10300
+ type: StreamItemTypes.Post;
10301
+ isUnread: boolean;
10302
+ keywordsList?: Keyword[];
10303
+ groupIds?: string[];
10304
+ postAttachments?: StreamAttachment[];
10305
+ postComments?: PaginatedList<StreamPostComment>;
10306
+ hasMoreUnreadComments: boolean;
10307
+ id: string;
10308
+ comments?: PaginatedList<Comment>;
10309
+ groupId: string;
10310
+ content: string;
10311
+ permalink?: string;
10312
+ author: import("@livetiles/reach/util/common").Account;
10313
+ publishingDate: string;
10314
+ modified?: string;
10315
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10316
+ contentLanguageCode?: string;
10317
+ isLiked?: boolean;
10318
+ isDemoContent?: boolean;
10319
+ poll?: import("@livetiles/reach/util/common").Poll;
10320
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10321
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10322
+ fileAccessToken?: string;
10323
+ attachmentContainerId?: string;
10324
+ } | {
10325
+ knownState: KnownNewsState;
10326
+ pageType?: undefined;
10327
+ navigationContext?: undefined;
10328
+ userResponse: EventResponse;
10329
+ channels: {
10330
+ name: string;
10331
+ }[];
10332
+ contents: {};
10333
+ bannerInfo: {
10334
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10335
+ type: "video" | "image";
10336
+ videoId?: string;
10337
+ videoUrl?: string;
10338
+ isDirectVideoUrl?: boolean;
10339
+ imageId?: string;
10340
+ };
10341
+ keywords: {
10342
+ [key: string]: Keyword[];
10343
+ };
10344
+ type: StreamItemTypes.News;
10345
+ contentsList: StreamPublishableItemContents[];
10346
+ channelsList: string[];
10347
+ isUnread: boolean;
10348
+ keywordsList?: Keyword[];
10349
+ knownNewsState?: StreamKnownNewsState[];
10350
+ source?: string;
10351
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
10352
+ expiryDate?: string;
10353
+ hasNewComments?: boolean;
10354
+ isLiked?: boolean;
10355
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10356
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10357
+ id?: string;
10358
+ versionId?: string;
10359
+ publishingDate?: string;
10360
+ deleted?: string;
10361
+ author?: import("@livetiles/reach/util/common").Account;
10362
+ owner?: import("@livetiles/reach/util/common").Account;
10363
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10364
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10365
+ fileAccessToken?: string;
10366
+ customProperties?: {
10367
+ [key: string]: any;
10368
+ };
10369
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10370
+ modified: string;
10371
+ created: string;
10372
+ publishedVersionId?: string;
10373
+ isCurrentPublishedVersion?: boolean;
10374
+ isLatestVersion?: boolean;
10375
+ permalink?: string;
10376
+ groupIds: string[];
10377
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10378
+ useExternalContent?: boolean;
10379
+ isDemoContent?: boolean;
10380
+ poll?: import("@livetiles/reach/util/common").Poll;
10381
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10382
+ } | {
10383
+ knownState: KnownNewsState;
10384
+ pageType: PageType;
10385
+ navigationContext: PageNavigationContext;
10386
+ userResponse: EventResponse;
10387
+ channels: {
10388
+ name: string;
10389
+ }[];
10390
+ contents: {};
10391
+ bannerInfo: {
10392
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10393
+ type: "video" | "image";
10394
+ videoId?: string;
10395
+ videoUrl?: string;
10396
+ isDirectVideoUrl?: boolean;
10397
+ imageId?: string;
10398
+ };
10399
+ keywords: {
10400
+ [key: string]: Keyword[];
10401
+ };
10402
+ type: StreamItemTypes.News;
10403
+ contentsList: StreamPublishableItemContents[];
10404
+ channelsList: string[];
10405
+ isUnread: boolean;
10406
+ keywordsList?: Keyword[];
10407
+ knownNewsState?: StreamKnownNewsState[];
10408
+ source?: string;
10409
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
10410
+ expiryDate?: string;
10411
+ hasNewComments?: boolean;
10412
+ isLiked?: boolean;
10413
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10414
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10415
+ id?: string;
10416
+ versionId?: string;
10417
+ publishingDate?: string;
10418
+ deleted?: string;
10419
+ author?: import("@livetiles/reach/util/common").Account;
10420
+ owner?: import("@livetiles/reach/util/common").Account;
10421
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10422
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10423
+ fileAccessToken?: string;
10424
+ customProperties?: {
10425
+ [key: string]: any;
10426
+ };
10427
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10428
+ modified: string;
10429
+ created: string;
10430
+ publishedVersionId?: string;
10431
+ isCurrentPublishedVersion?: boolean;
10432
+ isLatestVersion?: boolean;
10433
+ permalink?: string;
10434
+ groupIds: string[];
10435
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10436
+ useExternalContent?: boolean;
10437
+ isDemoContent?: boolean;
10438
+ poll?: import("@livetiles/reach/util/common").Poll;
10439
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10440
+ } | {
10441
+ knownState?: undefined;
10442
+ pageType?: undefined;
10443
+ navigationContext?: undefined;
10444
+ userResponse: EventResponse;
10445
+ channels: {
10446
+ name: string;
10447
+ }[];
10448
+ contents: {};
10449
+ bannerInfo: {
10450
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10451
+ type: "video" | "image";
10452
+ videoId?: string;
10453
+ videoUrl?: string;
10454
+ isDirectVideoUrl?: boolean;
10455
+ imageId?: string;
10456
+ };
10457
+ keywords: {
10458
+ [key: string]: Keyword[];
10459
+ };
10460
+ type: StreamItemTypes.Event;
10461
+ contentsList: StreamPublishableItemContents[];
10462
+ channelsList: string[];
10463
+ isUnread: boolean;
10464
+ keywordsList?: Keyword[];
10465
+ userResponseType?: StreamEventResponse;
10466
+ startDate?: string;
10467
+ endDate?: string;
10468
+ timeZone?: string;
10469
+ contacts?: import("@livetiles/reach/util/common").Account[];
10470
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10471
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10472
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10473
+ hasNewComments?: boolean;
10474
+ isLiked?: boolean;
10475
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10476
+ recurrenceSeriesId?: string;
10477
+ isSeriesMaster?: string;
10478
+ isVirtual?: boolean;
10479
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10480
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10481
+ id?: string;
10482
+ versionId?: string;
10483
+ publishingDate?: string;
10484
+ deleted?: string;
10485
+ author?: import("@livetiles/reach/util/common").Account;
10486
+ owner?: import("@livetiles/reach/util/common").Account;
10487
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10488
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10489
+ fileAccessToken?: string;
10490
+ customProperties?: {
10491
+ [key: string]: any;
10492
+ };
10493
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10494
+ modified: string;
10495
+ created: string;
10496
+ publishedVersionId?: string;
10497
+ isCurrentPublishedVersion?: boolean;
10498
+ isLatestVersion?: boolean;
10499
+ permalink?: string;
10500
+ groupIds: string[];
10501
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10502
+ useExternalContent?: boolean;
10503
+ isDemoContent?: boolean;
10504
+ poll?: import("@livetiles/reach/util/common").Poll;
10505
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10506
+ } | {
10507
+ knownState: KnownNewsState;
10508
+ pageType?: undefined;
10509
+ navigationContext?: undefined;
10510
+ userResponse: EventResponse;
10511
+ channels: {
10512
+ name: string;
10513
+ }[];
10514
+ contents: {};
10515
+ bannerInfo: {
10516
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10517
+ type: "video" | "image";
10518
+ videoId?: string;
10519
+ videoUrl?: string;
10520
+ isDirectVideoUrl?: boolean;
10521
+ imageId?: string;
10522
+ };
10523
+ keywords: {
10524
+ [key: string]: Keyword[];
10525
+ };
10526
+ type: StreamItemTypes.Event;
10527
+ contentsList: StreamPublishableItemContents[];
10528
+ channelsList: string[];
10529
+ isUnread: boolean;
10530
+ keywordsList?: Keyword[];
10531
+ userResponseType?: StreamEventResponse;
10532
+ startDate?: string;
10533
+ endDate?: string;
10534
+ timeZone?: string;
10535
+ contacts?: import("@livetiles/reach/util/common").Account[];
10536
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10537
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10538
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10539
+ hasNewComments?: boolean;
10540
+ isLiked?: boolean;
10541
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10542
+ recurrenceSeriesId?: string;
10543
+ isSeriesMaster?: string;
10544
+ isVirtual?: boolean;
10545
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10546
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10547
+ id?: string;
10548
+ versionId?: string;
10549
+ publishingDate?: string;
10550
+ deleted?: string;
10551
+ author?: import("@livetiles/reach/util/common").Account;
10552
+ owner?: import("@livetiles/reach/util/common").Account;
10553
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10554
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10555
+ fileAccessToken?: string;
10556
+ customProperties?: {
10557
+ [key: string]: any;
10558
+ };
10559
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10560
+ modified: string;
10561
+ created: string;
10562
+ publishedVersionId?: string;
10563
+ isCurrentPublishedVersion?: boolean;
10564
+ isLatestVersion?: boolean;
10565
+ permalink?: string;
10566
+ groupIds: string[];
10567
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10568
+ useExternalContent?: boolean;
10569
+ isDemoContent?: boolean;
10570
+ poll?: import("@livetiles/reach/util/common").Poll;
10571
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10572
+ } | {
10573
+ knownState?: undefined;
10574
+ pageType: PageType;
10575
+ navigationContext: PageNavigationContext;
10576
+ userResponse: EventResponse;
10577
+ channels: {
10578
+ name: string;
10579
+ }[];
10580
+ contents: {};
10581
+ bannerInfo: {
10582
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10583
+ type: "video" | "image";
10584
+ videoId?: string;
10585
+ videoUrl?: string;
10586
+ isDirectVideoUrl?: boolean;
10587
+ imageId?: string;
10588
+ };
10589
+ keywords: {
10590
+ [key: string]: Keyword[];
10591
+ };
10592
+ type: StreamItemTypes.Event;
10593
+ contentsList: StreamPublishableItemContents[];
10594
+ channelsList: string[];
10595
+ isUnread: boolean;
10596
+ keywordsList?: Keyword[];
10597
+ userResponseType?: StreamEventResponse;
10598
+ startDate?: string;
10599
+ endDate?: string;
10600
+ timeZone?: string;
10601
+ contacts?: import("@livetiles/reach/util/common").Account[];
10602
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10603
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10604
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10605
+ hasNewComments?: boolean;
10606
+ isLiked?: boolean;
10607
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10608
+ recurrenceSeriesId?: string;
10609
+ isSeriesMaster?: string;
10610
+ isVirtual?: boolean;
10611
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10612
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10613
+ id?: string;
10614
+ versionId?: string;
10615
+ publishingDate?: string;
10616
+ deleted?: string;
10617
+ author?: import("@livetiles/reach/util/common").Account;
10618
+ owner?: import("@livetiles/reach/util/common").Account;
10619
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10620
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10621
+ fileAccessToken?: string;
10622
+ customProperties?: {
10623
+ [key: string]: any;
10624
+ };
10625
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10626
+ modified: string;
10627
+ created: string;
10628
+ publishedVersionId?: string;
10629
+ isCurrentPublishedVersion?: boolean;
10630
+ isLatestVersion?: boolean;
10631
+ permalink?: string;
10632
+ groupIds: string[];
10633
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10634
+ useExternalContent?: boolean;
10635
+ isDemoContent?: boolean;
10636
+ poll?: import("@livetiles/reach/util/common").Poll;
10637
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10638
+ } | {
10639
+ knownState: KnownNewsState;
10640
+ pageType: PageType;
10641
+ navigationContext: PageNavigationContext;
10642
+ userResponse: EventResponse;
10643
+ channels: {
10644
+ name: string;
10645
+ }[];
10646
+ contents: {};
10647
+ bannerInfo: {
10648
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10649
+ type: "video" | "image";
10650
+ videoId?: string;
10651
+ videoUrl?: string;
10652
+ isDirectVideoUrl?: boolean;
10653
+ imageId?: string;
10654
+ };
10655
+ keywords: {
10656
+ [key: string]: Keyword[];
10657
+ };
10658
+ type: StreamItemTypes.Event;
10659
+ contentsList: StreamPublishableItemContents[];
10660
+ channelsList: string[];
10661
+ isUnread: boolean;
10662
+ keywordsList?: Keyword[];
10663
+ userResponseType?: StreamEventResponse;
10664
+ startDate?: string;
10665
+ endDate?: string;
10666
+ timeZone?: string;
10667
+ contacts?: import("@livetiles/reach/util/common").Account[];
10668
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10669
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10670
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10671
+ hasNewComments?: boolean;
10672
+ isLiked?: boolean;
10673
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10674
+ recurrenceSeriesId?: string;
10675
+ isSeriesMaster?: string;
10676
+ isVirtual?: boolean;
10677
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10678
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10679
+ id?: string;
10680
+ versionId?: string;
10681
+ publishingDate?: string;
10682
+ deleted?: string;
10683
+ author?: import("@livetiles/reach/util/common").Account;
10684
+ owner?: import("@livetiles/reach/util/common").Account;
10685
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10686
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10687
+ fileAccessToken?: string;
10688
+ customProperties?: {
10689
+ [key: string]: any;
9545
10690
  };
9546
- }>;
9547
- }
9548
- declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
9549
- import { FC } from 'react';
9550
- export const PostFollowButton: FC<{
9551
- itemId: string;
9552
- }>;
9553
- }
9554
- declare module "libs/reach/feature/content/src/posts/PostGroup" {
9555
- import { FC } from 'react';
9556
- import { NavLink } from 'react-router-dom';
9557
- export const PostGroup: FC<{
9558
- groupId: string;
9559
- to: string;
9560
- className?: string;
9561
- }>;
9562
- export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
9563
- }
9564
- declare module "libs/reach/feature/content/src/posts/PostDisplay" {
9565
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9566
- import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
9567
- interface Props {
9568
- post: Post;
9569
- className?: string;
9570
- threadId?: string;
9571
- onCustomPostDelete?: () => void;
9572
- comments?: PaginatedList<Comment>;
9573
- onEditActiveChange?: (isEditMode: boolean) => void;
9574
- onShowCommentsChange?: (showComments: boolean) => void;
9575
- onThreadCommentDelete?: () => void;
9576
- onThreadReply?: (threadId: string) => void;
9577
- keywordSettings?: {
9578
- availableKeywords?: Keyword[];
9579
- defaultKeywords?: Keyword[];
9580
- mandatoryKeywords?: Keyword[];
10691
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10692
+ modified: string;
10693
+ created: string;
10694
+ publishedVersionId?: string;
10695
+ isCurrentPublishedVersion?: boolean;
10696
+ isLatestVersion?: boolean;
10697
+ permalink?: string;
10698
+ groupIds: string[];
10699
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10700
+ useExternalContent?: boolean;
10701
+ isDemoContent?: boolean;
10702
+ poll?: import("@livetiles/reach/util/common").Poll;
10703
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10704
+ } | {
10705
+ knownState?: undefined;
10706
+ pageType?: PageType;
10707
+ navigationContext?: PageNavigationContext;
10708
+ userResponse: EventResponse;
10709
+ channels: {
10710
+ name: string;
10711
+ }[];
10712
+ contents: {};
10713
+ bannerInfo: {
10714
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10715
+ type: "video" | "image";
10716
+ videoId?: string;
10717
+ videoUrl?: string;
10718
+ isDirectVideoUrl?: boolean;
10719
+ imageId?: string;
9581
10720
  };
9582
- showGroup?: boolean;
9583
- onBeforeDelete?: (id: string) => unknown;
9584
- onAfterDelete?: (id: string) => unknown;
9585
- }
9586
- export const PostDisplay: React.FC<Props>;
9587
- }
9588
- declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
9589
- import { FC } from 'react';
9590
- import { UserGroup } from "libs/reach/util/common/src/index";
9591
- export const PostGroupsSelector: FC<{
9592
- groups: UserGroup[];
9593
- }>;
9594
- }
9595
- declare module "libs/reach/feature/content/src/posts/PostListItem" {
9596
- import { FC } from 'react';
9597
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9598
- import { Keyword } from "libs/reach/util/common/src/index";
9599
- interface Props {
9600
- post: Post;
9601
- onEditActiveChange?: (isEditMode: boolean) => void;
9602
- onShowCommentsChange?: (showComments: boolean) => void;
9603
- keywordSettings?: {
9604
- availableKeywords?: Keyword[];
9605
- defaultKeywords?: Keyword[];
9606
- mandatoryKeywords?: Keyword[];
10721
+ keywords: {
10722
+ [key: string]: Keyword[];
9607
10723
  };
9608
- showGroup: boolean;
9609
- onBeforeDelete?: (id: string) => unknown;
9610
- onAfterDelete?: (id: string) => unknown;
9611
- }
9612
- export const PostListItem: FC<Props>;
9613
- }
9614
- declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
9615
- import { FC } from 'react';
9616
- import { Post } from "libs/reach/feature/content/src/index";
9617
- import { Keyword } from "libs/reach/util/common/src/index";
9618
- export const PostWithSelfThreadHandling: FC<{
9619
- post: Post;
9620
- onEditActiveChange?: (isEditMode: boolean) => void;
9621
- onShowCommentsChange?: (showComments: boolean) => void;
9622
- keywordSettings?: {
9623
- availableKeywords?: Keyword[];
9624
- defaultKeywords?: Keyword[];
9625
- mandatoryKeywords?: Keyword[];
10724
+ type: StreamItemTypes.Page;
10725
+ contentsList: StreamPublishableItemContents[];
10726
+ channelsList: string[];
10727
+ isUnread: boolean;
10728
+ keywordsList?: Keyword[];
10729
+ streamPageType?: string;
10730
+ path?: (PageNavigationNode & {
10731
+ parentId?: string;
10732
+ })[];
10733
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10734
+ parentId?: string;
10735
+ pathIds?: string[];
10736
+ position?: number;
10737
+ hasHiddenAncestor?: boolean;
10738
+ isUnlinked?: boolean;
10739
+ firstChildId?: string;
10740
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10741
+ id?: string;
10742
+ versionId?: string;
10743
+ publishingDate?: string;
10744
+ deleted?: string;
10745
+ author?: import("@livetiles/reach/util/common").Account;
10746
+ owner?: import("@livetiles/reach/util/common").Account;
10747
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10748
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10749
+ fileAccessToken?: string;
10750
+ customProperties?: {
10751
+ [key: string]: any;
9626
10752
  };
9627
- showGroup: boolean;
9628
- onBeforeDelete?: (id: string) => unknown;
9629
- onAfterDelete?: (id: string) => unknown;
9630
- }>;
9631
- }
9632
- declare module "libs/reach/feature/content/src/stream/stream-utils" {
9633
- export const MARK_ITEMS_AS_READ_MUTATION: import("@apollo/client").DocumentNode;
10753
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10754
+ modified: string;
10755
+ created: string;
10756
+ publishedVersionId?: string;
10757
+ isCurrentPublishedVersion?: boolean;
10758
+ isLatestVersion?: boolean;
10759
+ permalink?: string;
10760
+ groupIds: string[];
10761
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10762
+ useExternalContent?: boolean;
10763
+ isDemoContent?: boolean;
10764
+ poll?: import("@livetiles/reach/util/common").Poll;
10765
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10766
+ } | {
10767
+ knownState: KnownNewsState;
10768
+ pageType?: PageType;
10769
+ navigationContext?: PageNavigationContext;
10770
+ userResponse: EventResponse;
10771
+ channels: {
10772
+ name: string;
10773
+ }[];
10774
+ contents: {};
10775
+ bannerInfo: {
10776
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10777
+ type: "video" | "image";
10778
+ videoId?: string;
10779
+ videoUrl?: string;
10780
+ isDirectVideoUrl?: boolean;
10781
+ imageId?: string;
10782
+ };
10783
+ keywords: {
10784
+ [key: string]: Keyword[];
10785
+ };
10786
+ type: StreamItemTypes.Page;
10787
+ contentsList: StreamPublishableItemContents[];
10788
+ channelsList: string[];
10789
+ isUnread: boolean;
10790
+ keywordsList?: Keyword[];
10791
+ streamPageType?: string;
10792
+ path?: (PageNavigationNode & {
10793
+ parentId?: string;
10794
+ })[];
10795
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10796
+ parentId?: string;
10797
+ pathIds?: string[];
10798
+ position?: number;
10799
+ hasHiddenAncestor?: boolean;
10800
+ isUnlinked?: boolean;
10801
+ firstChildId?: string;
10802
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10803
+ id?: string;
10804
+ versionId?: string;
10805
+ publishingDate?: string;
10806
+ deleted?: string;
10807
+ author?: import("@livetiles/reach/util/common").Account;
10808
+ owner?: import("@livetiles/reach/util/common").Account;
10809
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10810
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10811
+ fileAccessToken?: string;
10812
+ customProperties?: {
10813
+ [key: string]: any;
10814
+ };
10815
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10816
+ modified: string;
10817
+ created: string;
10818
+ publishedVersionId?: string;
10819
+ isCurrentPublishedVersion?: boolean;
10820
+ isLatestVersion?: boolean;
10821
+ permalink?: string;
10822
+ groupIds: string[];
10823
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10824
+ useExternalContent?: boolean;
10825
+ isDemoContent?: boolean;
10826
+ poll?: import("@livetiles/reach/util/common").Poll;
10827
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10828
+ })[];
9634
10829
  }
9635
- declare module "libs/reach/feature/content/src/posts/useMarkPostsAsRead" {
10830
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10831
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10832
+ import { DocumentNode } from '@apollo/client';
10833
+ import { Channel } from "libs/reach/util/common/src/index";
10834
+ import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
10835
+ export enum StreamEventResponse {
10836
+ NotSet = "NOTSET",
10837
+ Registered = "REGISTERED",
10838
+ Declined = "DECLINED"
10839
+ }
10840
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10841
+ }
10842
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10843
+ items: StreamItem[];
10844
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10845
+ loadMore: () => Promise<void>;
10846
+ pageInfo: {
10847
+ errors?: any;
10848
+ hasNextPage: boolean;
10849
+ skip: number;
10850
+ };
10851
+ refresh: () => Promise<void>;
10852
+ isLoadingFirstPage: boolean;
10853
+ };
10854
+ export const getStreamQuery: () => DocumentNode;
10855
+ export function hasFilter(filter?: StreamFilterDefinition): boolean;
10856
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10857
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
10858
+ export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
10859
+ export const OWNER_CONDITION: (owner: string) => string;
10860
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
10861
+ export const AUTHORS_CONDITION: (authors: string[]) => string;
10862
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
10863
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
10864
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
10865
+ }
10866
+ declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
9636
10867
  import { Post } from "libs/reach/feature/content/src/posts/utils";
9637
10868
  import { DependencyList } from 'react';
9638
- export function useMarkPostsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
10869
+ export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
9639
10870
  }
9640
10871
  declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
9641
10872
  import { UserGroup } from "libs/reach/util/common/src/index";
@@ -9653,7 +10884,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
9653
10884
  export * from "libs/reach/feature/content/src/posts/PostListItem";
9654
10885
  export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
9655
10886
  export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
9656
- export * from "libs/reach/feature/content/src/posts/useMarkPostsAsRead";
10887
+ export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
9657
10888
  export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
9658
10889
  export * from "libs/reach/feature/content/src/posts/usePostsApi";
9659
10890
  export * from "libs/reach/feature/content/src/posts/utils";
@@ -9673,7 +10904,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
9673
10904
  onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
9674
10905
  onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
9675
10906
  className?: string;
9676
- useLargeAvatar?: boolean;
9677
10907
  useExternalLink?: boolean;
9678
10908
  }
9679
10909
  export const EditorListItem: FC<Props>;
@@ -9718,12 +10948,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
9718
10948
  }
9719
10949
  }
9720
10950
  declare module "libs/reach/feature/content/src/editor/useEditorApi" {
9721
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
10951
+ import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
9722
10952
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
9723
- import { PaginatedList } from "libs/reach/util/common/src/index";
9724
- import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
9725
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
9726
- import { ResponseItem } from "libs/reach/util/common/src/index";
9727
10953
  import { Observable } from 'rxjs';
9728
10954
  import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
9729
10955
  export function useEditorApi(): {
@@ -9743,6 +10969,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
9743
10969
  keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
9744
10970
  saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
9745
10971
  updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
10972
+ translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
9746
10973
  };
9747
10974
  }
9748
10975
  declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
@@ -9766,6 +10993,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
9766
10993
  declare module "libs/reach/feature/content/src/public-user/index" {
9767
10994
  export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
9768
10995
  }
10996
+ declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
10997
+ import { FC } from 'react';
10998
+ import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10999
+ export const StreamPostItemCard: FC<{
11000
+ post: PostStreamItem;
11001
+ onPostDelete: (id: string) => unknown;
11002
+ }>;
11003
+ }
11004
+ declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
11005
+ import { FC } from 'react';
11006
+ import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11007
+ export const StreamNewsItemCard: FC<{
11008
+ news: NewsStreamItem;
11009
+ }>;
11010
+ }
11011
+ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
11012
+ import { FC } from 'react';
11013
+ import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11014
+ export const StreamEventItemCard: FC<{
11015
+ event: EventStreamItem;
11016
+ }>;
11017
+ }
11018
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11019
+ import { FC } from 'react';
11020
+ export const GlobalSearchButton: FC;
11021
+ }
11022
+ declare module "libs/reach/feature/content/src/stream/StreamList" {
11023
+ import { FC } from 'react';
11024
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11025
+ export type StreamQueryResult = {
11026
+ items: StreamItem[];
11027
+ };
11028
+ export const StreamList: FC;
11029
+ }
11030
+ declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
11031
+ import { PaginatedList } from "libs/reach/util/common/src/index";
11032
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
11033
+ import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11034
+ export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
11035
+ export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
11036
+ }
11037
+ declare module "libs/reach/feature/content/src/stream/index" {
11038
+ export * from "libs/reach/feature/content/src/stream/StreamList";
11039
+ export * from "libs/reach/feature/content/src/stream/streamUtils";
11040
+ export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
11041
+ export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
11042
+ export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
11043
+ export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
11044
+ export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
11045
+ }
11046
+ declare module "libs/reach/feature/content/src/search/index" {
11047
+ export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
11048
+ }
9769
11049
  declare module "libs/reach/feature/content/src/index" {
9770
11050
  export * from "libs/reach/feature/content/src/comments/index";
9771
11051
  export * from "libs/reach/feature/content/src/common/index";
@@ -9778,6 +11058,8 @@ declare module "libs/reach/feature/content/src/index" {
9778
11058
  export * from "libs/reach/feature/content/src/posts/index";
9779
11059
  export * from "libs/reach/feature/content/src/editor/index";
9780
11060
  export * from "libs/reach/feature/content/src/public-user/index";
11061
+ export * from "libs/reach/feature/content/src/stream/index";
11062
+ export * from "libs/reach/feature/content/src/search/index";
9781
11063
  }
9782
11064
  declare module "apps/reach-app/src/app/PublicAccessContext" {
9783
11065
  import { FC } from 'react';
@@ -9842,38 +11124,28 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
9842
11124
  import { FC } from 'react';
9843
11125
  export const SelfRegistrationSettingsPage: FC;
9844
11126
  }
9845
- declare module "apps/reach-app/src/app/Intercom/Intercom" {
9846
- export interface Intercom {
9847
- (action: string, settings?: IntercomSettings): void;
9848
- }
9849
- export interface IntercomSettings {
9850
- app_id: string;
9851
- product_id: string;
9852
- name?: string;
9853
- email?: string;
9854
- }
9855
- export function create(settings: IntercomSettings): Intercom;
9856
- }
9857
11127
  declare module "apps/reach-app/src/app/AppLoader" {
9858
11128
  import { FC } from 'react';
9859
11129
  export const AppLoader: FC;
9860
11130
  }
9861
11131
  declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
9862
11132
  import './ContainerWithLogo.scss';
11133
+ import { LogoInfo } from "libs/reach/util/common/src/index";
11134
+ import { FC, ReactNode } from 'react';
9863
11135
  export enum DefaultLogoColor {
9864
11136
  Default = 0,
9865
11137
  White = 1
9866
11138
  }
9867
- type RenderChildren = React.ReactNode | (() => React.ReactNode);
9868
- export const ContainerWithLogo: React.FC<{
9869
- logo?: string;
9870
- logoColor?: DefaultLogoColor;
11139
+ type RenderChildren = ReactNode | (() => ReactNode);
11140
+ export const ContainerWithLogo: FC<{
11141
+ logoInfo?: LogoInfo;
9871
11142
  text?: string;
9872
11143
  headerClassName?: string;
9873
11144
  additionalClasses?: string;
9874
11145
  children: RenderChildren;
9875
11146
  className?: string;
9876
11147
  additionalContent?: RenderChildren;
11148
+ isBrandedContainer?: boolean;
9877
11149
  }>;
9878
11150
  }
9879
11151
  declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
@@ -9899,21 +11171,20 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
9899
11171
  }>;
9900
11172
  export const TeamsContextProvider: FC;
9901
11173
  }
9902
- declare module "apps/reach-app/src/app/Intercom/useIntercom" {
9903
- export enum IntercomArea {
9904
- Authenticated = 0,
9905
- UnAuthenticated = 1
9906
- }
9907
- export enum IntercomInitialState {
11174
+ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
11175
+ export enum ZendeskInitialState {
9908
11176
  Minimized = 0,
9909
11177
  MobileHidden = 1
9910
11178
  }
9911
- export function shutdownIntercom(): void;
9912
- export interface IntercomProps {
9913
- showChat: () => void;
11179
+ export function shutdownZendesk(): void;
11180
+ export function useZendeskWithSubscription(): {
11181
+ showZendeskChat: () => void;
9914
11182
  toggleIcon: (show: boolean) => void;
9915
- }
9916
- export function useIntercom(area: IntercomArea, initialState?: IntercomInitialState): IntercomProps;
11183
+ };
11184
+ export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
11185
+ showZendeskChat: () => void;
11186
+ toggleIcon: (show: boolean) => void;
11187
+ };
9917
11188
  }
9918
11189
  declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
9919
11190
  import { FC } from 'react';
@@ -9925,27 +11196,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
9925
11196
  }
9926
11197
  declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
9927
11198
  import { FC } from 'react';
9928
- import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
9929
- export interface PageAction {
9930
- key?: string | number;
9931
- title?: string;
9932
- iconName?: string;
9933
- to?: string;
9934
- onClick?: () => void;
9935
- isActive?: boolean;
9936
- exact?: boolean;
9937
- cannotBeActive?: boolean;
9938
- submenuContents?: JSX.Element;
9939
- submenuStyleDefinition?: StyleDefinition;
9940
- badgeInfo?: number | boolean;
9941
- domIdentifier?: string;
9942
- secondaryIconName?: string;
9943
- secondaryIconTooltipResourceKey?: string;
9944
- onSecondaryIconClick?: () => void;
9945
- iconColor?: string;
9946
- className?: string;
9947
- }
9948
- export const PageMenuActionItem: FC<PageAction>;
11199
+ import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
11200
+ export const PageMenuActionItem: FC<PageNavigationNodeProps>;
9949
11201
  }
9950
11202
  declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
9951
11203
  import { FC } from 'react';
@@ -9955,7 +11207,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
9955
11207
  import { FC } from 'react';
9956
11208
  export const AdminActionItem: FC<{
9957
11209
  submenuContents: JSX.Element;
9958
- onClick: () => unknown;
11210
+ onClick?: () => unknown;
9959
11211
  title?: string;
9960
11212
  }>;
9961
11213
  const AdminRoutes: FC;
@@ -9969,7 +11221,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
9969
11221
  import { FC } from 'react';
9970
11222
  export const ChatMenuNode: FC<{
9971
11223
  title: string;
9972
- onClick: () => void;
11224
+ onClick?: () => void;
9973
11225
  }>;
9974
11226
  }
9975
11227
  declare module "apps/reach-app/src/app/chrome/Sidebar" {
@@ -9996,20 +11248,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
9996
11248
  className?: string;
9997
11249
  }>;
9998
11250
  }
9999
- declare module "apps/reach-app/src/app/about/ApplicationVersion" {
10000
- export default interface ApplicationVersion {
10001
- description: string;
10002
- version: string;
10003
- commitId: string;
10004
- }
10005
- }
10006
- declare module "apps/reach-app/src/app/chrome/VersionInfo" {
10007
- import { FC } from 'react';
10008
- export const VersionInfo: FC<{
10009
- className?: string;
10010
- renderCommitId?: boolean;
10011
- }>;
10012
- }
10013
11251
  declare module "apps/reach-app/src/AppLoaderContextProvider" {
10014
11252
  import { FC, ReactNode } from 'react';
10015
11253
  export const AppLoaderContext: import("react").Context<{