@livetiles/reach-plugin-types 0.4.0-preview.42 → 0.4.0-preview.420

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 (3) hide show
  1. package/index.d.ts +2 -2
  2. package/lib/index.d.ts +2433 -1030
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -207,7 +207,7 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
207
207
  clientId: string;
208
208
  basePolicyUrl: string;
209
209
  signInPolicy: string;
210
- forgotPasswordPolicy: string;
210
+ forgotPasswordPolicy?: string;
211
211
  apiScope: string;
212
212
  scopes: string[];
213
213
  extraScopes: string[];
@@ -233,12 +233,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
233
233
  export interface AppConfiguration {
234
234
  configType: ConfigType;
235
235
  authentication: {
236
- useSingleAuthType: AuthenticationType;
236
+ useSingleAuthType?: AuthenticationType;
237
237
  azuread: MsalConfiguration;
238
- b2c: MsalConfiguration;
239
- keycloak: KeycloakConfiguration;
240
- teams: MsalConfiguration;
241
- teamsAustralia: MsalConfiguration;
238
+ b2c?: MsalConfiguration;
239
+ keycloak?: KeycloakConfiguration;
240
+ teams?: MsalConfiguration;
241
+ teamsAustralia?: MsalConfiguration;
242
242
  };
243
243
  apiEndpoint: string;
244
244
  api2Endpoint: string;
@@ -247,6 +247,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
247
247
  webAppUrl: string;
248
248
  productWebsite: string;
249
249
  supportUrl: string;
250
+ releaseNotesUrl: string;
250
251
  privacyUrl: string;
251
252
  eulaUrl: string;
252
253
  appInsightsKey: string;
@@ -415,6 +416,7 @@ declare module "libs/reach/util/common/src/PaginatedList" {
415
416
  paginationToken?: any;
416
417
  nextItem?: TItem;
417
418
  hasMoreUnreadComments?: boolean;
419
+ hasNextPage?: boolean;
418
420
  }
419
421
  }
420
422
  declare module "libs/reach/util/common/src/SortDirection" {
@@ -520,6 +522,12 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
520
522
  getLocaleFromLocalStorage: () => Promise<string>;
521
523
  };
522
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
+ }
523
531
  declare module "libs/reach/util/common/src/resources/languages/de.async" {
524
532
  import '@formatjs/intl-pluralrules/dist/locale-data/de';
525
533
  import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
@@ -575,7 +583,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
575
583
  export default en;
576
584
  }
577
585
  declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
578
- 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")>;
579
587
  }
580
588
  declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
581
589
  import '@formatjs/intl-pluralrules/dist/locale-data/ar';
@@ -1068,6 +1076,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
1068
1076
  [key: string]: string;
1069
1077
  };
1070
1078
  mode: AudienceMatchMode;
1079
+ includeDirectoryUsers?: boolean;
1080
+ includeNonDirectoryUsers?: boolean;
1071
1081
  }
1072
1082
  }
1073
1083
  declare module "libs/reach/util/common/src/content/Language" {
@@ -1093,7 +1103,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1093
1103
  import { Account } from "libs/reach/util/common/src/user/Account";
1094
1104
  import { Audience } from "libs/reach/util/common/src/user/Audience";
1095
1105
  import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
1096
- 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";
1097
1107
  import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
1098
1108
  export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
1099
1109
  domains?: string[];
@@ -1126,11 +1136,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1126
1136
  useInAppBrowser?: boolean;
1127
1137
  tenantId?: string;
1128
1138
  signInSettings?: SignInSettings;
1129
- logoUrl?: string;
1130
1139
  faviconUrl?: string;
1131
1140
  theme?: Theme;
1132
1141
  allowPublicAccess?: boolean;
1133
1142
  redirectToContent?: boolean;
1143
+ allowZendesk?: boolean;
1144
+ logoInfo: LogoInfo;
1134
1145
  }
1135
1146
  export interface SignInSettings {
1136
1147
  customIdentityProviders: IdentityProviderSettings[];
@@ -1144,7 +1155,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1144
1155
  contact: Account;
1145
1156
  theme: Theme;
1146
1157
  defaultLanguage: string;
1147
- logoUrl: string;
1148
1158
  faviconUrl?: string;
1149
1159
  navigation: NavigationNode[];
1150
1160
  regionSettings?: RegionSettings;
@@ -1153,6 +1163,16 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1153
1163
  hasUnreadItems: boolean;
1154
1164
  pageTrackingInfo: PageTrackingInfo;
1155
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;
1156
1176
  }
1157
1177
  export interface TermsAndConditions {
1158
1178
  value?: string;
@@ -1252,6 +1272,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1252
1272
  componentName: string;
1253
1273
  route: string;
1254
1274
  navigationNode?: {
1275
+ componentName?: string;
1255
1276
  iconName?: string;
1256
1277
  label?: string;
1257
1278
  translations?: {
@@ -1475,7 +1496,7 @@ declare module "libs/reach/util/common/src/user/User" {
1475
1496
  export interface UserInvitationResult {
1476
1497
  type: UserInvitationResultType;
1477
1498
  message?: string;
1478
- user?: HashUser;
1499
+ user?: Account;
1479
1500
  isSuccess: boolean;
1480
1501
  }
1481
1502
  export enum UserRegistrationResultType {
@@ -1705,6 +1726,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
1705
1726
  GenericUrl = 3,
1706
1727
  Kaltura = 4
1707
1728
  }
1729
+ export function convertStringToVideoSource(videoSource: string): VideoSource;
1708
1730
  }
1709
1731
  declare module "libs/reach/util/common/src/content/BaseItem" {
1710
1732
  import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
@@ -1712,6 +1734,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
1712
1734
  id?: string;
1713
1735
  statistics?: ItemStatistics;
1714
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;
1715
1750
  }
1716
1751
  export interface Poll {
1717
1752
  questions: PollQuestion[];
@@ -1779,7 +1814,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1779
1814
  headline?: string;
1780
1815
  intro?: string;
1781
1816
  body?: string;
1782
- bodyRaw?: string;
1783
1817
  customProperties?: {
1784
1818
  [key: string]: any;
1785
1819
  };
@@ -2049,7 +2083,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
2049
2083
  hasUnreadReplies?: boolean;
2050
2084
  isDemoContent?: boolean;
2051
2085
  }
2052
- interface CommentStatistics {
2086
+ export interface CommentStatistics {
2053
2087
  likeCount?: number;
2054
2088
  replyCount?: number;
2055
2089
  }
@@ -2135,14 +2169,82 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2135
2169
  }
2136
2170
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2137
2171
  import { CurrentUser } from "libs/reach/util/common/src/user/User";
2172
+ import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
2138
2173
  export function useCurrentUserCache(): {
2139
2174
  clear: () => Promise<void>;
2140
2175
  setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
2141
2176
  setUser: (user: CurrentUser) => Promise<CurrentUser>;
2142
- get: () => Promise<CurrentUser>;
2177
+ get: () => Promise<{
2178
+ subscription: {
2179
+ logoInfo: {
2180
+ smallUrl: any;
2181
+ largeUrl: string;
2182
+ isLegacyLogo: boolean;
2183
+ };
2184
+ languages: import("@livetiles/reach/util/common").LanguageBase[];
2185
+ featureMask: string;
2186
+ company: string;
2187
+ directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
2188
+ webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
2189
+ userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
2190
+ userFlowSettings?: import("libs/reach/util/common/src/user/Subscription").UserFlowSettings;
2191
+ customDomain?: string;
2192
+ allowSelfRegistration?: boolean;
2193
+ id: string;
2194
+ subscriptionName: string;
2195
+ subscriptionHandle?: string;
2196
+ contact: import("@livetiles/reach/util/common").Account;
2197
+ theme: import("libs/reach/util/common/src/user/Subscription").Theme;
2198
+ defaultLanguage: string;
2199
+ faviconUrl?: string;
2200
+ navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
2201
+ regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
2202
+ signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
2203
+ useInAppBrowser?: boolean;
2204
+ hasUnreadItems: boolean;
2205
+ pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
2206
+ termsAndConditionsHash?: string;
2207
+ };
2208
+ isEmailVerificationPending?: boolean;
2209
+ isSubscriptionOwner: boolean;
2210
+ givenName: string;
2211
+ surname: string;
2212
+ preferredUiLanguage: string;
2213
+ preferredContentLanguage?: string;
2214
+ preferredLocale?: string;
2215
+ bookmarks: string[];
2216
+ groups: import("libs/reach/util/common/src/user/User").UserGroup[];
2217
+ availableSubscriptions: SubscriptionSummary[];
2218
+ channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
2219
+ userHash: string;
2220
+ unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
2221
+ unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
2222
+ unreadPosts: {
2223
+ groupId: string;
2224
+ itemId: string;
2225
+ }[];
2226
+ unreadFeedItemsCount?: number;
2227
+ notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
2228
+ hasPendingRegistration?: boolean;
2229
+ minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
2230
+ hasDirectory: boolean;
2231
+ contacts: import("libs/reach/util/common/src/user/User").UserContact[];
2232
+ termsAndConditionsApprovedHash: string;
2233
+ isPublicUser?: boolean;
2234
+ hasUnreadChats?: boolean;
2235
+ id?: string;
2236
+ type?: import("@livetiles/reach/util/common").AccountType;
2237
+ tenantId?: string;
2238
+ displayName?: string;
2239
+ userPrincipalName?: string;
2240
+ mail?: string;
2241
+ tokenUniqueId?: string;
2242
+ authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
2243
+ created?: string;
2244
+ }>;
2143
2245
  };
2144
2246
  export function getUserDetailFields(user: Partial<CurrentUser>): {
2145
- availableSubscriptions: import("@livetiles/reach/util/common").SubscriptionSummary[];
2247
+ availableSubscriptions: SubscriptionSummary[];
2146
2248
  bookmarks: string[];
2147
2249
  unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
2148
2250
  unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
@@ -2222,9 +2324,9 @@ declare module "libs/reach/util/common/src/user/index" {
2222
2324
  export * from "libs/reach/util/common/src/user/LanguageUtils";
2223
2325
  export * from "libs/reach/util/common/src/user/content-languages-util";
2224
2326
  }
2225
- declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
2327
+ declare module "libs/reach/util/common/src/plugins/usePluginDeviceStore" {
2226
2328
  import { Storage } from "libs/reach/util/context/src/index";
2227
- export function usePluginStorage(): PluginStorage;
2329
+ export function usePluginDeviceStore(): PluginStorage;
2228
2330
  export function getStorageWrapper(pluginId: string, storage: Storage): PluginStorage;
2229
2331
  export interface PluginStorage {
2230
2332
  getAllKeys(): Promise<string[]>;
@@ -2234,12 +2336,36 @@ declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
2234
2336
  clearAll(): Promise<void>;
2235
2337
  }
2236
2338
  }
2339
+ declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
2340
+ import { Api } from 'restful.js';
2341
+ export function usePluginUserStore(): PluginUserStore;
2342
+ export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginUserStore;
2343
+ export interface PluginUserStore {
2344
+ getPluginUserValue(key: string): Promise<string>;
2345
+ setPluginUserValue(key: string, value: string | object): Promise<unknown>;
2346
+ deletePluginUserValue(key: string): Promise<unknown>;
2347
+ }
2348
+ }
2349
+ declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
2350
+ import { Api } from 'restful.js';
2351
+ export function usePluginSubscriptionStore(): PluginSubscriptionStore;
2352
+ export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginSubscriptionStore;
2353
+ export interface PluginSubscriptionStore {
2354
+ getPluginSubscriptionValue(key: string): Promise<string>;
2355
+ setPluginSubscriptionValue(key: string, value: string | object): Promise<unknown>;
2356
+ deletePluginSubscriptionValue(key: string): Promise<unknown>;
2357
+ }
2358
+ }
2237
2359
  declare module "libs/reach/util/common/src/plugins/PluginContext" {
2238
2360
  import { PluginSettings } from "libs/reach/util/common/src/user/Subscription";
2239
- import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginStorage";
2361
+ import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
2362
+ import { PluginUserStore } from "libs/reach/util/common/src/plugins/usePluginUserStore";
2363
+ import { PluginSubscriptionStore } from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
2240
2364
  export const PluginContext: import("react").Context<{
2241
2365
  settings: PluginSettings;
2242
2366
  storage: PluginStorage;
2367
+ userStore: PluginUserStore;
2368
+ subscriptionStore: PluginSubscriptionStore;
2243
2369
  }>;
2244
2370
  export function usePluginSettings<T>(): T;
2245
2371
  export function useReachApiEndPoints(): {
@@ -2265,15 +2391,133 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
2265
2391
  unlinkPlugin: (pluginId: string) => Promise<any>;
2266
2392
  };
2267
2393
  }
2394
+ declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
2395
+ export enum GraphQLAttachmentType {
2396
+ Image = "IMAGE",
2397
+ File = "FILE",
2398
+ YouTubeVideo = "YOU_TUBE_VIDEO",
2399
+ VimeoVideo = "VIMEO_VIDEO",
2400
+ News = "NEWS",
2401
+ Event = "EVENT",
2402
+ Page = "PAGE",
2403
+ Post = "POST",
2404
+ Giphy = "GIPHY"
2405
+ }
2406
+ }
2407
+ declare module "libs/reach/util/common/src/Models" {
2408
+ import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
2409
+ import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
2410
+ import { Account } from "libs/reach/util/common/src/user/Account";
2411
+ export interface ColorStyleDefinition {
2412
+ backgroundColor: string;
2413
+ color: string;
2414
+ }
2415
+ export interface PageNavigationNodeProps {
2416
+ title?: string;
2417
+ iconName?: string;
2418
+ to?: string;
2419
+ onClick?: () => void;
2420
+ isActive?: boolean;
2421
+ exact?: boolean;
2422
+ cannotBeActive?: boolean;
2423
+ submenuContents?: JSX.Element;
2424
+ submenuStyleDefinition?: ColorStyleDefinition;
2425
+ badgeInfo?: number | boolean;
2426
+ domIdentifier?: string;
2427
+ secondaryIconName?: string;
2428
+ secondaryIconTooltipResourceKey?: string;
2429
+ onSecondaryIconClick?: () => void;
2430
+ iconColor?: string;
2431
+ className?: string;
2432
+ }
2433
+ export interface Chat {
2434
+ id: string;
2435
+ members: (Account & ChatMember)[];
2436
+ memberIds: string[];
2437
+ groupName?: string;
2438
+ lastMessageInfo?: {
2439
+ received: string;
2440
+ senderId: string;
2441
+ content?: string;
2442
+ attachments: ChatAttachment[];
2443
+ deleteDate?: string;
2444
+ deleteState?: DeleteState;
2445
+ messageType?: ChatMessageType;
2446
+ messageValues?: {
2447
+ groupName?: string;
2448
+ userId?: string;
2449
+ };
2450
+ };
2451
+ messages: ChatMessage[];
2452
+ hasNewMessages: boolean;
2453
+ fileAccessToken: string;
2454
+ }
2455
+ export enum DeleteState {
2456
+ NotDeleted = "NOT_DELETED",
2457
+ RecycleBin = "RECYCLE_BIN",
2458
+ Deleted = "DELETED"
2459
+ }
2460
+ export enum ChatMessageType {
2461
+ Default = "DEFAULT",
2462
+ GroupNameChange = "GROUP_NAME_CHANGE",
2463
+ UserLeftGroup = "USER_LEFT_GROUP"
2464
+ }
2465
+ export enum MemberStatus {
2466
+ Normal = "NORMAL",
2467
+ LeftGroupChat = "LEFT_GROUP_CHAT",
2468
+ LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
2469
+ }
2470
+ export interface ChatMember {
2471
+ id?: string;
2472
+ status?: MemberStatus;
2473
+ joinDate?: string;
2474
+ leftDate?: string;
2475
+ }
2476
+ export interface ChatMessage {
2477
+ itemId: string;
2478
+ content: string;
2479
+ senderId?: string;
2480
+ chatId?: string;
2481
+ received?: string;
2482
+ attachments?: ChatAttachment[];
2483
+ attachmentContainerId?: string;
2484
+ fileAccessToken?: string;
2485
+ deleteDate?: string;
2486
+ deleteState?: DeleteState;
2487
+ modifiedDate?: string;
2488
+ chat?: Chat;
2489
+ messageType?: ChatMessageType;
2490
+ messageValues?: {
2491
+ groupName?: string;
2492
+ };
2493
+ }
2494
+ export interface ChatIsTypingInfo {
2495
+ sender: Account;
2496
+ chatId: string;
2497
+ sentOn: string;
2498
+ }
2499
+ export interface ChatView {
2500
+ chatId: string;
2501
+ timestamp: Date;
2502
+ isActive: boolean;
2503
+ }
2504
+ export interface ChatAttachment extends BaseAttachment {
2505
+ type: GraphQLAttachmentType;
2506
+ }
2507
+ }
2268
2508
  declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2269
2509
  import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
2510
+ import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
2270
2511
  export enum ExtensionArea {
2271
2512
  global = "Global",
2272
2513
  page = "Page",
2273
2514
  eventEditorFeedbackSection = "EventEditorFeedbackSection",
2274
2515
  eventDetailViewSection = "EventDetailViewSection"
2275
2516
  }
2276
- export type PluginAndExtension = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2517
+ export interface PluginNavigationNodeProps {
2518
+ navigationNodeProps?: PageNavigationNodeProps;
2519
+ }
2520
+ export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2277
2521
  type DevPlugin = {
2278
2522
  pluginId: string;
2279
2523
  port: number;
@@ -2281,15 +2525,15 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2281
2525
  linkPlugin?: boolean;
2282
2526
  };
2283
2527
  export function usePlugins(): WebPluginDefinition[];
2284
- export function usePluginExtensions(area?: ExtensionArea): PluginAndExtension[];
2528
+ export function usePluginExtensions(area?: ExtensionArea): PluginProps[];
2285
2529
  export function removeInjectedRemotePlugin(pluginId: string): void;
2286
2530
  export function useInjectedRemotePlugins(): DevPlugin[];
2287
2531
  export function useRemotePlugins(): WebPluginDefinition[];
2288
2532
  }
2289
2533
  declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2290
2534
  import { FC } from 'react';
2291
- import { PluginAndExtension } from "libs/reach/util/common/src/plugins/usePluginExtensions";
2292
- export const PluginWrapper: FC<PluginAndExtension>;
2535
+ import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
2536
+ export const PluginWrapper: FC<PluginProps & any>;
2293
2537
  }
2294
2538
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2295
2539
  import { FC } from 'react';
@@ -2305,7 +2549,9 @@ declare module "libs/reach/util/common/src/plugins/index" {
2305
2549
  export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
2306
2550
  export * from "libs/reach/util/common/src/plugins/usePluginApi";
2307
2551
  export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
2308
- export * from "libs/reach/util/common/src/plugins/usePluginStorage";
2552
+ export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
2553
+ export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
2554
+ export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
2309
2555
  }
2310
2556
  declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2311
2557
  export class Color {
@@ -2324,6 +2570,7 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2324
2570
  declare module "libs/reach/util/common/src/theme/ThemeService" {
2325
2571
  import { IPartialTheme } from 'office-ui-fabric-react';
2326
2572
  import { Theme } from "libs/reach/util/common/src/user/Subscription";
2573
+ import * as wcag from 'wcag-contrast';
2327
2574
  export const defaultThemeColors: Theme;
2328
2575
  export const defaultPageBackgroundColor: string;
2329
2576
  export const defaultLightColor = "#ffffff";
@@ -2420,6 +2667,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
2420
2667
  }
2421
2668
  export function getDarkAltColor(color: string): string;
2422
2669
  export function getTextColor(bgColor: string): "#333333" | "#ffffff";
2670
+ export function shouldUseDarkForegroundColor(bgColor: string): boolean;
2671
+ export function getContrastInfo(backgroundColor: string, foregroundColor: string): {
2672
+ contrast: string;
2673
+ score: wcag.Score;
2674
+ isGood: boolean;
2675
+ };
2423
2676
  }
2424
2677
  declare module "libs/reach/util/common/src/theme/ThemeContext" {
2425
2678
  import { FC, ReactNode } from 'react';
@@ -2440,19 +2693,6 @@ declare module "libs/reach/util/common/src/theme/index" {
2440
2693
  export * from "libs/reach/util/common/src/theme/ThemeService";
2441
2694
  export * from "libs/reach/util/common/src/theme/ColorGenerator";
2442
2695
  }
2443
- declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
2444
- export enum GraphQLAttachmentType {
2445
- Image = "IMAGE",
2446
- File = "FILE",
2447
- YouTubeVideo = "YOU_TUBE_VIDEO",
2448
- VimeoVideo = "VIMEO_VIDEO",
2449
- News = "NEWS",
2450
- Event = "EVENT",
2451
- Page = "PAGE",
2452
- Post = "POST",
2453
- Giphy = "GIPHY"
2454
- }
2455
- }
2456
2696
  declare module "libs/reach/util/common/src/content/EventItem" {
2457
2697
  import { Account } from "libs/reach/util/common/src/user/Account";
2458
2698
  import { PollResult } from "libs/reach/util/common/src/content/BaseItem";
@@ -2610,10 +2850,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2610
2850
  useExternalContent?: boolean;
2611
2851
  isSearchMatch?: boolean;
2612
2852
  topLevelFolderName?: string;
2853
+ uploadToken?: string;
2613
2854
  }
2614
2855
  export interface PageNavigationContext {
2615
2856
  parent?: PageNavigationNode;
2616
- siblings: PageNavigationNode[];
2857
+ siblings?: PageNavigationNode[];
2617
2858
  children?: PageNavigationNode[];
2618
2859
  }
2619
2860
  export enum PageType {
@@ -2715,7 +2956,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
2715
2956
  onStarted?: () => unknown;
2716
2957
  onFinished?: () => unknown;
2717
2958
  }
2718
- export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
2959
+ export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
2960
+ }
2961
+ declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
2962
+ export function useClearUnreadOnlyFilter(): {
2963
+ clearUnreadOnlyFilter: () => void;
2964
+ };
2965
+ }
2966
+ declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
2967
+ export function useUnreadItemsTogglerHandler(): {
2968
+ toggleUnreadItems: () => void;
2969
+ };
2719
2970
  }
2720
2971
  declare module "libs/reach/util/common/src/content/index" {
2721
2972
  export * from "libs/reach/util/common/src/content/Attachment";
@@ -2740,6 +2991,8 @@ declare module "libs/reach/util/common/src/content/index" {
2740
2991
  export * from "libs/reach/util/common/src/content/useFileApi";
2741
2992
  export * from "libs/reach/util/common/src/content/content-keyword-utils";
2742
2993
  export * from "libs/reach/util/common/src/content/useClearUnreadItems";
2994
+ export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
2995
+ export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
2743
2996
  }
2744
2997
  declare module "libs/reach/util/common/src/Variables" {
2745
2998
  export const maxContentWidth = 985;
@@ -2840,6 +3093,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
2840
3093
  }
2841
3094
  declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
2842
3095
  import { FC } from 'react';
3096
+ import 'react-toastify/dist/ReactToastify.min.css';
2843
3097
  export const ToastNotificationHost: FC;
2844
3098
  }
2845
3099
  declare module "libs/reach/util/common/src/notification/index" {
@@ -2858,6 +3112,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
2858
3112
  selectedKeywordGroups?: KeywordGroup[];
2859
3113
  }
2860
3114
  export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
3115
+ getChannels: () => Promise<Channel[]>;
2861
3116
  refreshSubscription: () => void;
2862
3117
  }>;
2863
3118
  export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
@@ -2903,69 +3158,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
2903
3158
  }
2904
3159
  export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
2905
3160
  }
2906
- declare module "libs/reach/util/common/src/Models" {
2907
- import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
2908
- import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
2909
- import { Account } from "libs/reach/util/common/src/user/Account";
2910
- export interface Chat {
2911
- id: string;
2912
- members: Account[];
2913
- memberIds: string[];
2914
- groupName?: string;
2915
- lastMessageInfo?: {
2916
- received: string;
2917
- senderId: string;
2918
- content?: string;
2919
- attachments: ChatAttachment[];
2920
- deleteDate?: string;
2921
- deleteState?: DeleteState;
2922
- messageType?: ChatMessageType;
2923
- };
2924
- messages: ChatMessage[];
2925
- hasNewMessages: boolean;
2926
- fileAccessToken: string;
2927
- }
2928
- export enum DeleteState {
2929
- NotDeleted = "NOT_DELETED",
2930
- RecycleBin = "RECYCLE_BIN",
2931
- Deleted = "DELETED"
2932
- }
2933
- export enum ChatMessageType {
2934
- Default = "DEFAULT",
2935
- GroupNameChange = "GROUP_NAME_CHANGE"
2936
- }
2937
- export interface ChatMessage {
2938
- itemId: string;
2939
- content: string;
2940
- senderId?: string;
2941
- chatId?: string;
2942
- received?: string;
2943
- attachments?: ChatAttachment[];
2944
- attachmentContainerId?: string;
2945
- fileAccessToken?: string;
2946
- deleteDate?: string;
2947
- deleteState?: DeleteState;
2948
- modifiedDate?: string;
2949
- chat?: Chat;
2950
- messageType?: ChatMessageType;
2951
- messageValues?: {
2952
- groupName?: string;
2953
- };
2954
- }
2955
- export interface ChatIsTypingInfo {
2956
- sender: Account;
2957
- chatId: string;
2958
- sentOn: string;
2959
- }
2960
- export interface ChatView {
2961
- chatId: string;
2962
- timestamp: Date;
2963
- isActive: boolean;
2964
- }
2965
- export interface ChatAttachment extends BaseAttachment {
2966
- type: GraphQLAttachmentType;
2967
- }
2968
- }
2969
3161
  declare module "libs/reach/util/common/src/PagingService" {
2970
3162
  import { Observable } from 'rxjs';
2971
3163
  export const onPageScroll: Observable<number>;
@@ -3069,13 +3261,13 @@ declare module "libs/reach/ui/common/src/EditorSettingsDialog" {
3069
3261
  }>, import("styled-components").DefaultTheme, {}, never>;
3070
3262
  }
3071
3263
  declare module "libs/reach/ui/common/src/Tooltip" {
3072
- export interface TooltipProps {
3264
+ import { ITooltipHostProps } from 'office-ui-fabric-react';
3265
+ export interface TooltipProps extends ITooltipHostProps {
3073
3266
  text?: string;
3074
3267
  resourceKey?: string;
3075
3268
  values?: {
3076
3269
  [key: string]: string | number | boolean | Date;
3077
3270
  };
3078
- className?: string;
3079
3271
  width?: number;
3080
3272
  onClick?: () => unknown;
3081
3273
  role?: string;
@@ -3146,12 +3338,14 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3146
3338
  placeholderStringResourceKey?: string;
3147
3339
  autoFocus?: boolean;
3148
3340
  inputId?: string;
3341
+ inputAriaLabelResourceKey?: string;
3342
+ required?: boolean;
3149
3343
  className?: string;
3150
3344
  }
3151
3345
  export const PeoplePicker: FC<Props>;
3152
3346
  }
3153
3347
  declare module "libs/reach/ui/common/src/plugins/reach-core" {
3154
- import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme } from "libs/reach/util/common/src/index";
3348
+ import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginDeviceStore, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme, usePluginSubscriptionStore, usePluginUserStore } from "libs/reach/util/common/src/index";
3155
3349
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3156
3350
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3157
3351
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3164,8 +3358,12 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3164
3358
  import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
3165
3359
  import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
3166
3360
  import { useAccountApi } from "libs/reach/util/common/src/index";
3167
- 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, };
3168
- export type { Account };
3361
+ export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
3362
+ /**
3363
+ * @deprecated Please use `usePluginDeviceStore` instead
3364
+ */
3365
+ usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginUserStore, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
3366
+ export type { Account, PluginNavigationNodeProps, PluginProps };
3169
3367
  }
3170
3368
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3171
3369
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3183,7 +3381,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3183
3381
  }
3184
3382
  declare module "libs/reach/ui/common/src/NotificationBar" {
3185
3383
  import { FC } from 'react';
3186
- import 'react-toastify/dist/ReactToastify.min.css';
3187
3384
  export const NotificationBar: FC;
3188
3385
  }
3189
3386
  declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
@@ -3228,7 +3425,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3228
3425
  export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3229
3426
  }
3230
3427
  declare module "libs/reach/ui/common/src/common/Utils" {
3231
- import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3428
+ import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3232
3429
  import { IntlShape } from 'react-intl';
3233
3430
  import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3234
3431
  export function isValidUrl(url: string): boolean;
@@ -3240,9 +3437,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
3240
3437
  export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3241
3438
  export function getSubscriptionName(subscription: SubscriptionSummary): string;
3242
3439
  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}";
3243
- export function getSubscriptionLogoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3244
- logo: any;
3245
- subscriptionName: any;
3440
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3441
+ logoInfo: LogoInfo;
3442
+ subscriptionName: string;
3246
3443
  };
3247
3444
  export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3248
3445
  export function delay(delayInMs: number): Promise<unknown>;
@@ -3262,8 +3459,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
3262
3459
  }
3263
3460
  declare module "libs/reach/ui/common/src/common/Callout" {
3264
3461
  import { FC } from 'react';
3265
- import { ICalloutProps } from 'office-ui-fabric-react';
3266
- export const Callout: FC<ICalloutProps>;
3462
+ import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
3463
+ export const Callout: FC<IFocusTrapCalloutProps>;
3267
3464
  }
3268
3465
  declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
3269
3466
  export type CommentInputTheme = 'light' | 'dark';
@@ -3275,6 +3472,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDeleteDialog" {
3275
3472
  titleResourceValues?: any;
3276
3473
  infoResourceKey: string;
3277
3474
  infoResourceValues?: any;
3475
+ inputAriaLabelResourceKey: string;
3278
3476
  compareValue: string;
3279
3477
  onConfirm: () => any;
3280
3478
  onCancel: () => any;
@@ -3340,12 +3538,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
3340
3538
  export const Dropdown: FC<IDropdownProps>;
3341
3539
  }
3342
3540
  declare module "libs/reach/ui/common/src/common/EmptyList" {
3541
+ import { FC } from 'react';
3343
3542
  interface EmptyListProps {
3344
3543
  icon?: string;
3345
3544
  emptyMessageResources?: string[];
3346
3545
  className?: string;
3347
3546
  }
3348
- export const EmptyList: React.FC<EmptyListProps>;
3547
+ export const EmptyList: FC<EmptyListProps>;
3349
3548
  }
3350
3549
  declare module "libs/reach/ui/common/src/common/EnumHelpers" {
3351
3550
  export const hasFlag: (baseValue: any, flag: any) => boolean;
@@ -3445,6 +3644,11 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
3445
3644
  className?: string;
3446
3645
  }>;
3447
3646
  }
3647
+ declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
3648
+ import { FC } from 'react';
3649
+ import { IDialogProps } from 'office-ui-fabric-react';
3650
+ export const MobileFullHeightDialog: FC<IDialogProps>;
3651
+ }
3448
3652
  declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
3449
3653
  import { FC } from 'react';
3450
3654
  export enum FabNavigationPosition {
@@ -3475,9 +3679,11 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
3475
3679
  export const FabButtonWithCallout: FC<{
3476
3680
  iconName: string;
3477
3681
  tooltipResourceKey: string;
3682
+ titleResourceKey?: string;
3478
3683
  showCloseButton?: boolean;
3479
3684
  useSecondaryBgColor?: boolean;
3480
3685
  domIdentifier?: string;
3686
+ useMobileFullHeight?: boolean;
3481
3687
  }>;
3482
3688
  export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
3483
3689
  }
@@ -3496,18 +3702,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
3496
3702
  date: string;
3497
3703
  }>;
3498
3704
  }
3499
- declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
3500
- import { FC } from 'react';
3501
- export const IconHeaderButton: FC<{
3502
- icon: string;
3503
- isActive?: boolean;
3504
- disabled?: boolean;
3505
- tooltipResourceKey?: string;
3506
- onClick?: (ref: React.RefObject<Element>) => unknown;
3507
- link?: string;
3508
- className?: string;
3509
- }>;
3510
- }
3511
3705
  declare module "libs/reach/ui/common/src/common/IconLabel" {
3512
3706
  import { FC, ReactNode } from 'react';
3513
3707
  export const IconLabel: FC<{
@@ -3546,8 +3740,11 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
3546
3740
  groupName?: string;
3547
3741
  groupId?: string;
3548
3742
  keywordName?: string;
3743
+ keywordId?: string;
3549
3744
  language?: string;
3550
3745
  underlined?: boolean;
3746
+ onClick?: (keyword: string) => unknown;
3747
+ tabIndex?: number;
3551
3748
  }
3552
3749
  export const KeywordTitle: FC<Props>;
3553
3750
  export const GridKeywordTitle: FC<{
@@ -3562,12 +3759,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
3562
3759
  export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
3563
3760
  export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
3564
3761
  export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
3565
- export { ReactComponent as LogoWithName } from './logos/logo-with-name.svg';
3566
- }
3567
- declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
3568
- import { FC } from 'react';
3569
- import { IDialogProps } from 'office-ui-fabric-react';
3570
- export const MobileFullHeightDialog: FC<IDialogProps>;
3762
+ export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
3571
3763
  }
3572
3764
  declare module "libs/reach/ui/common/src/common/Modified" {
3573
3765
  import { FC } from 'react';
@@ -3622,6 +3814,18 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
3622
3814
  }
3623
3815
  export const Prompt: FC<Props>;
3624
3816
  }
3817
+ declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
3818
+ import { FC } from 'react';
3819
+ export const IconHeaderButton: FC<{
3820
+ icon: string;
3821
+ isActive?: boolean;
3822
+ disabled?: boolean;
3823
+ tooltipResourceKey?: string;
3824
+ onClick?: (ref: React.RefObject<Element>) => unknown;
3825
+ link?: string;
3826
+ className?: string;
3827
+ }>;
3828
+ }
3625
3829
  declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
3626
3830
  import { FC } from 'react';
3627
3831
  export interface ToolbarIconButtonProps {
@@ -3656,6 +3860,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
3656
3860
  onSearchTextChange?: (text: string) => void;
3657
3861
  onExecuteSearch?: (text: string) => void;
3658
3862
  searchText?: string;
3863
+ showSearchBoxInput?: boolean;
3659
3864
  }
3660
3865
  export const SearchBox: FC<SearchBoxProps & {
3661
3866
  onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
@@ -3734,8 +3939,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
3734
3939
  }
3735
3940
  declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
3736
3941
  import { FC } from 'react';
3737
- import { Comment } from "libs/reach/util/common/src/index";
3738
- import { Account } from "libs/reach/util/common/src/index";
3942
+ import { Account, Comment } from "libs/reach/util/common/src/index";
3739
3943
  export const CommentActionMenu: FC<{
3740
3944
  comment: Comment;
3741
3945
  showEdit: boolean;
@@ -3781,6 +3985,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
3781
3985
  }
3782
3986
  export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
3783
3987
  }
3988
+ declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
3989
+ import { FC } from 'react';
3990
+ export const UnreadItemsToggler: FC<{
3991
+ disabled: boolean;
3992
+ className?: string;
3993
+ }>;
3994
+ }
3995
+ declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
3996
+ import { FC } from 'react';
3997
+ import { IContextualMenuItem } from 'office-ui-fabric-react';
3998
+ export const HeaderMenuButton: FC<{
3999
+ items: IContextualMenuItem[];
4000
+ className?: string;
4001
+ }>;
4002
+ }
3784
4003
  declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
3785
4004
  import { FC } from 'react';
3786
4005
  import { Channel } from "libs/reach/util/common/src/index";
@@ -3831,6 +4050,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
3831
4050
  language: string;
3832
4051
  channelStyleDefinition?: ChannelStyleDefinition;
3833
4052
  visibleChannelsCount?: number;
4053
+ onChannelClick?: (channel: string) => unknown;
3834
4054
  className?: string;
3835
4055
  }>;
3836
4056
  }
@@ -3849,6 +4069,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
3849
4069
  showSelectionToggle?: boolean;
3850
4070
  placeholder?: string;
3851
4071
  inlineControls?: boolean;
4072
+ required?: boolean;
4073
+ id?: string;
3852
4074
  }
3853
4075
  export const ChannelSelector: FC<Props>;
3854
4076
  }
@@ -3860,6 +4082,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
3860
4082
  buildChannelFilterUrl?: (channelName: string) => string;
3861
4083
  language?: string;
3862
4084
  channelBackgroundColor?: string;
4085
+ onClick?: (channel: string) => unknown;
3863
4086
  className?: string;
3864
4087
  }>;
3865
4088
  }
@@ -4105,7 +4328,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
4105
4328
  declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
4106
4329
  import { DependencyList } from 'react';
4107
4330
  import { PaginatedList } from "libs/reach/util/common/src/index";
4108
- export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number, paginationToken?: string) => Promise<PaginatedList<unknown>>, deps?: DependencyList): {
4331
+ export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
4109
4332
  items: any[];
4110
4333
  isInitialLoading: boolean;
4111
4334
  isLoadingNextPage: boolean;
@@ -4118,10 +4341,25 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
4118
4341
  isEmpty: boolean;
4119
4342
  };
4120
4343
  }
4121
- declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
4122
- import { FC, ReactNode } from 'react';
4123
- export const PullToRefreshContext: import("react").Context<{
4124
- refreshToken: string;
4344
+ declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
4345
+ import { FC } from 'react';
4346
+ export const PaginationStatus: FC<{
4347
+ allLoadedResourceId: string;
4348
+ showAllLoaded: boolean;
4349
+ showSpinner?: boolean;
4350
+ showPlaceholder?: boolean;
4351
+ }>;
4352
+ }
4353
+ declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
4354
+ import { DependencyList } from 'react';
4355
+ export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
4356
+ isLoadingMore: boolean;
4357
+ };
4358
+ }
4359
+ declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
4360
+ import { FC, ReactNode } from 'react';
4361
+ export const PullToRefreshContext: import("react").Context<{
4362
+ refreshToken: string;
4125
4363
  setEnabled: (enabled: boolean) => unknown;
4126
4364
  }>;
4127
4365
  interface Props {
@@ -4169,6 +4407,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
4169
4407
  onMarkAsReadStarted?: () => unknown;
4170
4408
  onMarkAsReadFinished?: () => unknown;
4171
4409
  disabled?: boolean;
4410
+ unreadCount?: number;
4172
4411
  }
4173
4412
  export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
4174
4413
  export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
@@ -4352,7 +4591,6 @@ declare module "libs/reach/ui/common/src/common/index" {
4352
4591
  export * from "libs/reach/ui/common/src/common/FloatingActionButton";
4353
4592
  export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
4354
4593
  export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
4355
- export * from "libs/reach/ui/common/src/common/IconHeaderButton";
4356
4594
  export * from "libs/reach/ui/common/src/common/IconLabel";
4357
4595
  export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
4358
4596
  export * from "libs/reach/ui/common/src/common/KeywordTitle";
@@ -4383,6 +4621,9 @@ declare module "libs/reach/ui/common/src/common/index" {
4383
4621
  export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
4384
4622
  export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
4385
4623
  export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
4624
+ export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
4625
+ export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
4626
+ export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
4386
4627
  export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
4387
4628
  export * from "libs/reach/ui/common/src/common/channels/ChannelList";
4388
4629
  export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
@@ -4411,6 +4652,8 @@ declare module "libs/reach/ui/common/src/common/index" {
4411
4652
  export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
4412
4653
  export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
4413
4654
  export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
4655
+ export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
4656
+ export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
4414
4657
  export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
4415
4658
  export * from "libs/reach/ui/common/src/common/refreshScripts";
4416
4659
  export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
@@ -4491,10 +4734,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
4491
4734
  export function useEscapeOnClose(onClose: Function): void;
4492
4735
  }
4493
4736
  declare module "apps/reach-app/src/app/chrome/Header" {
4494
- import { FC, ReactNode } from 'react';
4737
+ import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
4495
4738
  import './Header.scss';
4496
4739
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
4497
- interface Props extends React.HTMLProps<HTMLElement>, SearchBoxProps {
4740
+ interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
4498
4741
  iconLeft?: string;
4499
4742
  onToggleLeft?: () => void;
4500
4743
  onToggleRight?: () => void;
@@ -4510,6 +4753,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
4510
4753
  disableGoBack?: boolean;
4511
4754
  route?: string;
4512
4755
  }
4756
+ export interface HeaderContextType {
4757
+ setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
4758
+ isSearchInputFieldVisible: boolean;
4759
+ }
4760
+ export const HeaderContext: import("react").Context<HeaderContextType>;
4761
+ export const HeaderContextProvider: FC<{
4762
+ children: ReactNode;
4763
+ }>;
4513
4764
  export const Header: FC<Props>;
4514
4765
  }
4515
4766
  declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
@@ -4624,17 +4875,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
4624
4875
  icon?: string;
4625
4876
  tooltipResourceKey?: string;
4626
4877
  labelResourceKey?: string;
4878
+ domIdentifier?: string;
4627
4879
  className?: string;
4628
4880
  }
4629
4881
  export const AddButton: FC<AddButtonProps>;
4630
4882
  }
4631
4883
  declare module "apps/reach-app/src/app/admin/common" {
4632
- export const AdminPage: React.FC<{
4633
- children: React.ReactNode;
4884
+ import { FC, ReactNode } from 'react';
4885
+ export const AdminPage: FC<{
4886
+ children: ReactNode;
4634
4887
  className?: string;
4635
4888
  domIdentifier?: string;
4636
4889
  }>;
4637
- export const Title: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
4890
+ export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
4638
4891
  }
4639
4892
  declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
4640
4893
  import { KeywordGroup } from "libs/reach/util/common/src/index";
@@ -4666,7 +4919,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
4666
4919
  }
4667
4920
  declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4668
4921
  import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
4669
- import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
4922
+ import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
4670
4923
  import { Account } from "libs/reach/util/common/src/index";
4671
4924
  import { Language } from "libs/reach/util/common/src/index";
4672
4925
  import { Audience } from "libs/reach/util/common/src/index";
@@ -4681,7 +4934,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4681
4934
  setSubscriptionName: (name: string) => Promise<string>;
4682
4935
  setSubscriptionHandle: (handle: string) => Promise<string>;
4683
4936
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
4684
- updateLogo: (file?: File) => Promise<void>;
4937
+ updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
4685
4938
  updateFavicon: (file?: File) => Promise<void>;
4686
4939
  updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
4687
4940
  linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
@@ -4721,6 +4974,34 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
4721
4974
  className?: string;
4722
4975
  }>;
4723
4976
  }
4977
+ declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
4978
+ import { FC } from 'react';
4979
+ export const ContrastInfo: FC<{
4980
+ foregroundColor: string;
4981
+ backgroundColor: string;
4982
+ className?: string;
4983
+ }>;
4984
+ }
4985
+ declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
4986
+ import { FC } from 'react';
4987
+ export const ColorButton: FC<{
4988
+ onClick: () => void;
4989
+ text: string;
4990
+ backgroundColor: string;
4991
+ color: string;
4992
+ }>;
4993
+ }
4994
+ declare module "apps/reach-app/src/app/admin/themes/ColorOnWhitePreview" {
4995
+ import { FC } from 'react';
4996
+ export const ColorOnWhitePreview: FC;
4997
+ }
4998
+ declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
4999
+ import { FC } from 'react';
5000
+ export const ThemeContrastPreview: FC<{
5001
+ backgroundColor: string;
5002
+ foregroundColor: string;
5003
+ }>;
5004
+ }
4724
5005
  declare module "apps/reach-app/src/app/admin/themes/Themes" {
4725
5006
  import { FC } from 'react';
4726
5007
  export const Themes: FC;
@@ -4730,6 +5011,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
4730
5011
  import './ApplicationName.scss';
4731
5012
  export const ApplicationName: FC;
4732
5013
  }
5014
+ declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
5015
+ import { FC } from 'react';
5016
+ export const AppBarLogoPreview: FC<{
5017
+ src: string;
5018
+ subscriptionName: string;
5019
+ }>;
5020
+ export const SidePanelLogoPreview: FC<{
5021
+ src: string;
5022
+ subscriptionName: string;
5023
+ }>;
5024
+ export const EmailLogoPreview: FC<{
5025
+ src: string;
5026
+ subscriptionName: string;
5027
+ }>;
5028
+ export const SignInLogoPreview: FC<{
5029
+ src: string;
5030
+ }>;
5031
+ }
5032
+ declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
5033
+ import { FC } from 'react';
5034
+ import { LogoSize } from "libs/reach/util/common/src/index";
5035
+ export const LogoPreviewDialog: FC<{
5036
+ canSave: boolean;
5037
+ onDismiss: () => unknown;
5038
+ onSave: (logoSize: LogoSize) => unknown;
5039
+ source: string;
5040
+ logoType: LogoSize;
5041
+ }>;
5042
+ }
5043
+ declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
5044
+ import { FC } from 'react';
5045
+ import { LogoSize } from "libs/reach/util/common/src/index";
5046
+ export const LogoEditor: FC<{
5047
+ logoType: LogoSize;
5048
+ }>;
5049
+ }
4733
5050
  declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
4734
5051
  import { FC } from 'react';
4735
5052
  export const ApplicationLogo: FC;
@@ -5491,6 +5808,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
5491
5808
  }
5492
5809
  export const GoToAdminConsentButton: React.FC<Props>;
5493
5810
  }
5811
+ declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
5812
+ import { IntlShape } from 'react-intl';
5813
+ import { Account } from "libs/reach/util/common/src/index";
5814
+ import { GroupUser } from "libs/reach/util/common/src/index";
5815
+ import { Group, GroupRule } from "libs/reach/util/common/src/index";
5816
+ export const systemAccountGroupIds: {
5817
+ everyone: string;
5818
+ directoryUsers: string;
5819
+ nonDirectoryUsers: string;
5820
+ allGroups: string[];
5821
+ };
5822
+ export function getDirectoryUsersGroup(intl: IntlShape): Account;
5823
+ export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
5824
+ export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
5825
+ export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
5826
+ export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
5827
+ export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
5828
+ export const isAdGroup: (account: Account) => boolean;
5829
+ export const isUser: (account: Account) => boolean;
5830
+ }
5494
5831
  declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
5495
5832
  import { FC } from 'react';
5496
5833
  import { Audience } from "libs/reach/util/common/src/index";
@@ -5856,23 +6193,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
5856
6193
  }
5857
6194
  declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
5858
6195
  import { FC } from 'react';
5859
- export interface StyleDefinition {
5860
- backgroundColor: string;
5861
- color: string;
5862
- }
6196
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
5863
6197
  export const SidebarItemSection: FC<{
5864
- styleDefinition?: StyleDefinition;
6198
+ styleDefinition?: ColorStyleDefinition;
5865
6199
  }>;
5866
6200
  }
5867
6201
  declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5868
- import * as H from 'history';
6202
+ import { FC, ReactNode } from 'react';
6203
+ import { PrimitiveType } from 'intl-messageformat';
5869
6204
  import './SidebarItem.scss';
5870
- import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
5871
6205
  import { LocationDescriptor } from 'history';
5872
- import { PrimitiveType } from 'intl-messageformat';
5873
- import { ReactNode } from 'react';
6206
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
5874
6207
  interface CommonSidebarItemProps {
5875
- title?: any;
6208
+ title?: string | JSX.Element;
5876
6209
  titleResource?: string;
5877
6210
  icon?: ReactNode;
5878
6211
  iconName?: string;
@@ -5884,14 +6217,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5884
6217
  reverse?: boolean;
5885
6218
  notHighlightable?: boolean;
5886
6219
  onClick?: () => void;
5887
- children?: any;
5888
6220
  className?: string;
5889
6221
  isActive?: boolean;
5890
6222
  activeClassName?: string;
5891
6223
  readOnly?: boolean;
5892
6224
  submenu?: JSX.Element;
5893
6225
  submenuClassName?: string;
5894
- submenuStyleDefinition?: StyleDefinition;
6226
+ submenuStyleDefinition?: ColorStyleDefinition;
5895
6227
  badgeInfo?: number | boolean;
5896
6228
  domIdentifier?: string;
5897
6229
  }
@@ -5903,13 +6235,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5903
6235
  secondaryIconRoute?: LocationDescriptor;
5904
6236
  isHoverable?: boolean;
5905
6237
  }
5906
- export const SidebarItem: React.FC<SidebarItemProps>;
6238
+ export const SidebarItem: FC<SidebarItemProps>;
5907
6239
  interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
5908
- route: H.LocationDescriptor;
6240
+ route: LocationDescriptor;
5909
6241
  exact?: boolean;
5910
6242
  linkClassName?: string;
5911
6243
  }
5912
- export const NavLinkSidebarItem: React.FC<NavLinkSidebarItemProps>;
6244
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
5913
6245
  }
5914
6246
  declare module "apps/reach-app/src/error/NotFoundPage" {
5915
6247
  import { WrappedComponentProps } from 'react-intl';
@@ -6002,24 +6334,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
6002
6334
  import { FC } from 'react';
6003
6335
  export const GroupListPage: FC;
6004
6336
  }
6005
- declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
6006
- import { IntlShape } from 'react-intl';
6007
- import { Account } from "libs/reach/util/common/src/index";
6008
- import { GroupUser } from "libs/reach/util/common/src/index";
6009
- import { Group, GroupRule } from "libs/reach/util/common/src/index";
6010
- export const systemAccountGroupIds: {
6011
- everyone: string;
6012
- directoryUsers: string;
6013
- nonDirectoryUsers: string;
6014
- allGroups: string[];
6015
- };
6016
- export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
6017
- export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
6018
- export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
6019
- export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
6020
- export const isAdGroup: (account: Account) => boolean;
6021
- export const isUser: (account: Account) => boolean;
6022
- }
6023
6337
  declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
6024
6338
  import { FC } from 'react';
6025
6339
  import { Account } from "libs/reach/util/common/src/index";
@@ -6198,7 +6512,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
6198
6512
  declare module "libs/reach/feature/content/src/comments/CommentInput" {
6199
6513
  import { ReactNode } from 'react';
6200
6514
  import { Account } from "libs/reach/util/common/src/index";
6201
- import { CommentInputTheme } from "libs/reach/ui/common/src/index";
6202
6515
  export interface UserSuggestion {
6203
6516
  id: string;
6204
6517
  upn: string;
@@ -6218,13 +6531,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
6218
6531
  onCtrlEnter?: () => unknown;
6219
6532
  onChange?: (value: string) => void;
6220
6533
  onFocus?: () => void;
6221
- buttons?: ReactNode;
6534
+ additionalInputControl?: ReactNode;
6535
+ buttons?: {
6536
+ leftSide?: ReactNode;
6537
+ rightSide?: ReactNode;
6538
+ };
6222
6539
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
6223
- inputTheme?: CommentInputTheme;
6224
6540
  placeHolderStringResourceKey?: string;
6225
6541
  placeHolderStringResourceValues?: {
6226
6542
  [key: string]: string | number | boolean | Date;
6227
6543
  };
6544
+ disableBoxShadow?: boolean;
6545
+ ariaLabel?: string;
6228
6546
  }
6229
6547
  export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
6230
6548
  }
@@ -6238,18 +6556,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
6238
6556
  isLarge: boolean;
6239
6557
  }>;
6240
6558
  }
6241
- declare module "libs/reach/feature/content/src/comments/KeywordsPicker" {
6242
- import { FC } from 'react';
6243
- import { Keyword } from "libs/reach/util/common/src/index";
6244
- export const KeywordsPicker: FC<{
6245
- defaultKeywords?: {
6246
- [key: string]: Keyword[];
6247
- };
6248
- availableKeywords?: Keyword[];
6249
- mandatoryKeywords?: Keyword[];
6250
- onChangeKeywords: (keywords: Keyword[]) => void;
6251
- }>;
6252
- }
6253
6559
  declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6254
6560
  import { VideoSource } from "libs/reach/util/common/src/index";
6255
6561
  export interface KalturaProperties {
@@ -6264,6 +6570,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6264
6570
  private static vimeoRegex;
6265
6571
  private static microsoftStreamRegex;
6266
6572
  private static vimeoDirectLinkRegex;
6573
+ private static vimeoRedirectLinkRegex;
6267
6574
  private static kalturaRegex;
6268
6575
  readonly source: VideoSource | null;
6269
6576
  readonly id: string | null;
@@ -6271,9 +6578,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6271
6578
  readonly videoProperties: any;
6272
6579
  readonly thumbnailUrl: string;
6273
6580
  constructor(url: string);
6274
- isValid(): boolean;
6581
+ isValid(features?: any): boolean;
6275
6582
  }
6583
+ export function getVideoSources(features: any): any[];
6276
6584
  export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
6585
+ export function getAllVideoSources(features: any): any[];
6277
6586
  }
6278
6587
  declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
6279
6588
  import { AttachmentType } from "libs/reach/util/common/src/index";
@@ -6301,9 +6610,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
6301
6610
  }
6302
6611
  }
6303
6612
  declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
6304
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6613
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6305
6614
  export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
6306
- keywords?: string;
6615
+ keywords?: FilterWithLogicalOperator;
6307
6616
  }
6308
6617
  }
6309
6618
  declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
@@ -6328,6 +6637,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6328
6637
  export interface IndexableFilterDefinition {
6329
6638
  [key: string]: any;
6330
6639
  }
6640
+ export interface FilterWithLogicalOperator {
6641
+ items?: string[];
6642
+ operator?: LogicalOperator;
6643
+ }
6644
+ export enum LogicalOperator {
6645
+ Or = "or",
6646
+ And = "and"
6647
+ }
6331
6648
  }
6332
6649
  declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
6333
6650
  import { SortDirection } from "libs/reach/util/common/src/index";
@@ -6350,12 +6667,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
6350
6667
  contacts?: string[];
6351
6668
  }
6352
6669
  }
6670
+ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
6671
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6672
+ export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
6673
+ channels?: FilterWithLogicalOperator;
6674
+ }
6675
+ }
6353
6676
  declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6354
6677
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6355
6678
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
6356
6679
  import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
6357
6680
  import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
6358
- export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition {
6681
+ import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6682
+ export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
6359
6683
  excludePastEvents?: boolean;
6360
6684
  pastEventsOnly?: boolean;
6361
6685
  }
@@ -6366,26 +6690,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6366
6690
  export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
6367
6691
  export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
6368
6692
  }
6369
- declare module "libs/reach/feature/content/src/events/useEventsApi" {
6370
- import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6371
- import { PaginatedList } from "libs/reach/util/common/src/index";
6372
- import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
6373
- export function useEventsApi(): {
6374
- getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
6375
- getEvent: (id: string) => Promise<EventItem>;
6376
- getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
6377
- };
6378
- }
6379
6693
  declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
6380
6694
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6381
6695
  export interface AuthorFilterDefinition extends IndexableFilterDefinition {
6382
6696
  author?: string;
6383
6697
  }
6384
6698
  }
6385
- declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
6699
+ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6386
6700
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6387
- export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
6388
- channels?: string;
6701
+ export interface FilteringProps {
6702
+ onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
6703
+ onShowFilterPanel?: () => unknown;
6704
+ onToggleFilterSidebar?: () => unknown;
6705
+ isFilterActive?: boolean;
6389
6706
  }
6390
6707
  }
6391
6708
  declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
@@ -6406,6 +6723,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
6406
6723
  unreadOnly?: boolean;
6407
6724
  }
6408
6725
  }
6726
+ declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
6727
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6728
+ export enum ItemType {
6729
+ None = 0,
6730
+ News = 1,
6731
+ Post = 2,
6732
+ Page = 4,
6733
+ Event = 8
6734
+ }
6735
+ export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
6736
+ itemType?: ItemType;
6737
+ }
6738
+ }
6739
+ declare module "libs/reach/feature/content/src/filter/useFilter" {
6740
+ import { FC } from 'react';
6741
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6742
+ import { CurrentUser } from "libs/reach/util/common/src/index";
6743
+ export interface InjectedFilterProps {
6744
+ filter: IndexableFilterDefinition;
6745
+ hasFilter: boolean;
6746
+ isSearchActive: boolean;
6747
+ onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
6748
+ onSearchChange: (text: string) => void;
6749
+ onClearFilter: () => void;
6750
+ }
6751
+ export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
6752
+ filter: Partial<IndexableFilterDefinition>;
6753
+ hasFilter: boolean;
6754
+ isSearchActive: boolean;
6755
+ onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
6756
+ onSearchChange: (search: string) => void;
6757
+ onClearFilter: () => void;
6758
+ };
6759
+ export const FilterContext: import("react").Context<InjectedFilterProps>;
6760
+ export const FilterContextProvider: FC<{
6761
+ addFilters?: (locationParams: {
6762
+ [paramName: string]: any;
6763
+ }, user: CurrentUser) => IndexableFilterDefinition;
6764
+ additionalExcludedFilterProperties?: string[];
6765
+ onClearQueryString?: (prev: any, next: any) => any;
6766
+ }>;
6767
+ export interface FilterVisibilityState {
6768
+ showFilterAsPanel?: boolean;
6769
+ showFilterSidebar?: boolean;
6770
+ }
6771
+ }
6772
+ declare module "libs/reach/feature/content/src/filter/index" {
6773
+ export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
6774
+ export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6775
+ export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6776
+ export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6777
+ export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
6778
+ export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6779
+ export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
6780
+ export * from "libs/reach/feature/content/src/filter/FilteringProps";
6781
+ export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6782
+ export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6783
+ export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
6784
+ export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
6785
+ export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6786
+ export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
6787
+ export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
6788
+ export * from "libs/reach/feature/content/src/filter/useFilter";
6789
+ export * from "libs/reach/feature/content/src/filter/utils";
6790
+ }
6791
+ declare module "libs/reach/feature/content/src/filter/utils" {
6792
+ import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
6793
+ export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
6794
+ channels?: undefined;
6795
+ } | {
6796
+ channels: string;
6797
+ };
6798
+ export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
6799
+ keywords?: undefined;
6800
+ } | {
6801
+ keywords: string;
6802
+ };
6803
+ export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
6804
+ }
6805
+ declare module "libs/reach/feature/content/src/events/useEventsApi" {
6806
+ import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6807
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6808
+ import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
6809
+ export function useEventsApi(): {
6810
+ getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
6811
+ getEvent: (id: string) => Promise<EventItem>;
6812
+ getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
6813
+ };
6814
+ }
6409
6815
  declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
6410
6816
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6411
6817
  import { Observable } from 'rxjs';
@@ -6495,6 +6901,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
6495
6901
  import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
6496
6902
  import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
6497
6903
  import { ItemStatistics } from "libs/reach/util/common/src/index";
6904
+ import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6498
6905
  export interface Post extends BaseItem, ItemWithAttachments {
6499
6906
  id: string;
6500
6907
  comments?: PaginatedList<Comment>;
@@ -6517,6 +6924,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
6517
6924
  token?: string;
6518
6925
  pageSize?: string;
6519
6926
  search?: string;
6927
+ keywords?: FilterWithLogicalOperator;
6520
6928
  }
6521
6929
  export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
6522
6930
  export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
@@ -6549,7 +6957,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
6549
6957
  declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6550
6958
  import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
6551
6959
  import { Attachment } from "libs/reach/util/common/src/index";
6552
- import { Keyword } from "libs/reach/util/common/src/index";
6553
6960
  export interface ClientAttachment extends Attachment {
6554
6961
  file?: File;
6555
6962
  }
@@ -6563,14 +6970,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6563
6970
  onAttachmentsChange: (attachments: Attachments) => void;
6564
6971
  onDeleteAttachment?: (attachment: Attachment) => void;
6565
6972
  placeHolderStringResourceKey?: string;
6566
- allowKeywords?: boolean;
6567
- defaultKeywords?: {
6568
- [key: string]: Keyword[];
6569
- };
6570
- availableKeywords?: Keyword[];
6571
- mandatoryKeywords?: Keyword[];
6572
- showKeywordsPicker?: boolean;
6573
- onKeywordsChange?: (keywords: Keyword[]) => void;
6574
6973
  disableAddGif?: boolean;
6575
6974
  disableAddFiles?: boolean;
6576
6975
  };
@@ -6583,14 +6982,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6583
6982
  onAttachmentsChange: (attachments: Attachments) => void;
6584
6983
  onDeleteAttachment?: (attachment: Attachment) => void;
6585
6984
  placeHolderStringResourceKey?: string;
6586
- allowKeywords?: boolean;
6587
- defaultKeywords?: {
6588
- [key: string]: Keyword[];
6589
- };
6590
- availableKeywords?: Keyword[];
6591
- mandatoryKeywords?: Keyword[];
6592
- showKeywordsPicker?: boolean;
6593
- onKeywordsChange?: (keywords: Keyword[]) => void;
6594
6985
  disableAddGif?: boolean;
6595
6986
  disableAddFiles?: boolean;
6596
6987
  } & import("react").RefAttributes<HTMLInputElement>>;
@@ -6619,7 +7010,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
6619
7010
  private getVideoElement;
6620
7011
  private getNotSupportedElement;
6621
7012
  static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
6622
- static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Generic" | "Kaltura";
7013
+ static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
6623
7014
  }
6624
7015
  }
6625
7016
  declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
@@ -6668,8 +7059,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
6668
7059
  }
6669
7060
  declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
6670
7061
  import { FC } from 'react';
6671
- import { Keyword } from "libs/reach/util/common/src/index";
6672
- import { PublishableItem } from "libs/reach/util/common/src/index";
7062
+ import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
6673
7063
  export interface KeywordsInfoProps {
6674
7064
  keywords: {
6675
7065
  [key: string]: Keyword[];
@@ -6689,18 +7079,21 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
6689
7079
  className?: string;
6690
7080
  filterBaseUrl?: string;
6691
7081
  }>;
6692
- export const FlatKeywords: import("styled-components").StyledComponent<FC<{
7082
+ export const FlatKeywords: FC<{
6693
7083
  item: PublishableItem;
6694
7084
  filterBaseUrl?: string;
6695
7085
  className?: string;
6696
7086
  useGridKeywordTitle?: boolean;
6697
- }>, import("styled-components").DefaultTheme, {}, never>;
7087
+ onClick?: (keyword: string) => unknown;
7088
+ showAllKeywordsInCallout?: boolean;
7089
+ }>;
6698
7090
  }
6699
7091
  declare module "libs/reach/feature/content/src/news/NewsService" {
6700
7092
  import { CurrentUser } from "libs/reach/util/common/src/index";
6701
7093
  import { LanguageBase } from "libs/reach/util/common/src/index";
6702
7094
  import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
6703
7095
  export class NewsService {
7096
+ static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
6704
7097
  static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
6705
7098
  static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
6706
7099
  static getContentLanguages(contents: {
@@ -6808,12 +7201,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
6808
7201
  }
6809
7202
  declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
6810
7203
  import { FC } from 'react';
6811
- import { BannerInfo } from "libs/reach/util/common/src/index";
6812
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7204
+ import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
6813
7205
  interface Props {
6814
7206
  itemId: string;
6815
7207
  bannerInfo: BannerInfo;
6816
- mode: 'edit' | 'read';
7208
+ useEditorRoutes?: boolean;
6817
7209
  width: number;
6818
7210
  resourceType: ItemResourceTypes;
6819
7211
  token?: string;
@@ -7244,7 +7636,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
7244
7636
  updateSelectedLanguage: (lang: string) => unknown;
7245
7637
  handleRefresh: (onFinished?: () => void) => unknown;
7246
7638
  handleLanguageChange: (language: string) => unknown;
7247
- isReadOnly?: boolean;
7639
+ isEditorPreview?: boolean;
7248
7640
  }
7249
7641
  export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
7250
7642
  }
@@ -7440,6 +7832,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7440
7832
  buttons?: ReactNode;
7441
7833
  openTargetInNewWindow?: boolean;
7442
7834
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7835
+ onChannelClick?: (channel: string) => unknown;
7836
+ onKeywordClick?: (keyword: string) => unknown;
7443
7837
  styleDefinition?: StyleDefinition;
7444
7838
  readOnly?: boolean;
7445
7839
  className?: string;
@@ -7526,14 +7920,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
7526
7920
  onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
7527
7921
  onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
7528
7922
  placeHolderStringResourceKey?: string;
7529
- allowKeywords?: boolean;
7530
- defaultKeywords?: {
7531
- [key: string]: import("@livetiles/reach/util/common").Keyword[];
7532
- };
7533
- availableKeywords?: import("@livetiles/reach/util/common").Keyword[];
7534
- mandatoryKeywords?: import("@livetiles/reach/util/common").Keyword[];
7535
- showKeywordsPicker?: boolean;
7536
- onKeywordsChange?: (keywords: import("@livetiles/reach/util/common").Keyword[]) => void;
7537
7923
  disableAddGif?: boolean;
7538
7924
  disableAddFiles?: boolean;
7539
7925
  } & {
@@ -7542,18 +7928,65 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
7542
7928
  attachmentPreviewTheme?: CommentInputTheme;
7543
7929
  } & import("react").RefAttributes<HTMLInputElement>>;
7544
7930
  }
7545
- declare module "libs/reach/feature/content/src/comments/CreateComment" {
7931
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
7932
+ import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
7933
+ import { FC } from 'react';
7934
+ interface Props {
7935
+ group: KeywordGroup;
7936
+ keywords?: Keyword[];
7937
+ expanded?: boolean;
7938
+ selectedKeywords: Keyword[];
7939
+ onChange?: (keywords: Keyword[]) => void;
7940
+ mandatoryKeywordIds?: string[];
7941
+ }
7942
+ export const KeywordPickerGroup: FC<Props>;
7943
+ }
7944
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
7546
7945
  import { FC } from 'react';
7547
- import { Account } from "libs/reach/util/common/src/index";
7548
- import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
7549
7946
  import { Keyword } from "libs/reach/util/common/src/index";
7550
- export interface BaseProps {
7551
- readOnly?: boolean;
7552
- disableSaving?: boolean;
7947
+ interface Props {
7948
+ value?: Keyword[] | string[];
7949
+ onChange: (keywords: Keyword[]) => void;
7950
+ showSelectionToggle?: boolean;
7951
+ availableKeywords?: Keyword[];
7952
+ mandatoryKeywordIds?: string[];
7553
7953
  className?: string;
7554
- autoFocus?: boolean;
7555
- content?: string;
7556
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7954
+ }
7955
+ export const KeywordPicker: FC<Props>;
7956
+ }
7957
+ declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
7958
+ import { Keyword } from "libs/reach/util/common/src/index";
7959
+ import { FC } from 'react';
7960
+ export const AddKeywordsButton: FC<{
7961
+ availableKeywords?: Keyword[];
7962
+ mandatoryKeywords?: Keyword[];
7963
+ preselectedKeywords?: Keyword[];
7964
+ onKeywordsChange?: (keywords: Keyword[]) => void;
7965
+ disabled?: boolean;
7966
+ keywordPickerTitleResourceKey?: string;
7967
+ }>;
7968
+ }
7969
+ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
7970
+ import { Keyword } from "libs/reach/util/common/src/index";
7971
+ import { FC } from 'react';
7972
+ export const EditableKeywordsList: FC<{
7973
+ keywords?: Keyword[];
7974
+ mandatoryKeywordIds?: string[];
7975
+ onRemoveKeyword?: (id: string) => void;
7976
+ }>;
7977
+ }
7978
+ declare module "libs/reach/feature/content/src/comments/CreateComment" {
7979
+ import { FC } from 'react';
7980
+ import { Account } from "libs/reach/util/common/src/index";
7981
+ import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
7982
+ import { Keyword } from "libs/reach/util/common/src/index";
7983
+ export interface BaseProps {
7984
+ readOnly?: boolean;
7985
+ disableSaving?: boolean;
7986
+ className?: string;
7987
+ autoFocus?: boolean;
7988
+ content?: string;
7989
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7557
7990
  attachments?: ClientAttachment[];
7558
7991
  deletedAttachmentUrls?: string[];
7559
7992
  useLargeDropTarget?: boolean;
@@ -7573,6 +8006,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
7573
8006
  defaultKeywords?: Keyword[];
7574
8007
  mandatoryKeywords?: Keyword[];
7575
8008
  };
8009
+ disableBoxShadow?: boolean;
8010
+ ariaLabel?: string;
7576
8011
  }
7577
8012
  interface Props extends BaseProps {
7578
8013
  allowAttachments?: boolean;
@@ -7663,9 +8098,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
7663
8098
  deletedFileUrls?: string[];
7664
8099
  onCancel?: () => void;
7665
8100
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7666
- inputTheme?: CommentInputTheme;
7667
8101
  onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
7668
8102
  onDeleteAttachment?: (attachment: ClientAttachment) => void;
8103
+ ariaLabel?: string;
7669
8104
  }
7670
8105
  interface Props extends BaseProps {
7671
8106
  onSave?: (newContent: string, keywords?: {
@@ -7673,14 +8108,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
7673
8108
  }) => void;
7674
8109
  allowAttachments?: boolean;
7675
8110
  allowKeywords?: boolean;
7676
- availableKeywords?: Keyword[];
7677
- mandatoryKeywords?: Keyword[];
8111
+ keywordSettings?: {
8112
+ availableKeywords?: Keyword[];
8113
+ defaultKeywords?: Keyword[];
8114
+ mandatoryKeywords?: Keyword[];
8115
+ };
7678
8116
  keywords?: {
7679
8117
  [key: string]: Keyword[];
7680
8118
  };
7681
8119
  allowSaveWithoutContent?: boolean;
7682
8120
  saveOnEnter?: boolean;
7683
8121
  saveOnCtrlEnter?: boolean;
8122
+ attachmentPreviewTheme?: CommentInputTheme;
7684
8123
  }
7685
8124
  export const EditComment: FC<Props>;
7686
8125
  }
@@ -7702,6 +8141,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
7702
8141
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
7703
8142
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
7704
8143
  import { Keyword } from "libs/reach/util/common/src/index";
8144
+ import { CommentInputTheme } from "libs/reach/ui/common/src/index";
7705
8145
  interface Props extends CreateCommentProps {
7706
8146
  onSave: (newContent: string, attachments?: Attachment[], keywords?: {
7707
8147
  [key: string]: Keyword[];
@@ -7709,14 +8149,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
7709
8149
  item: ItemWithAttachments;
7710
8150
  basePath: string;
7711
8151
  allowKeywords?: boolean;
7712
- availableKeywords?: Keyword[];
7713
- mandatoryKeywords?: Keyword[];
8152
+ keywordSettings?: {
8153
+ availableKeywords?: Keyword[];
8154
+ defaultKeywords?: Keyword[];
8155
+ mandatoryKeywords?: Keyword[];
8156
+ };
7714
8157
  keywords?: {
7715
8158
  [key: string]: Keyword[];
7716
8159
  };
7717
8160
  allowSaveWithoutContent?: boolean;
7718
8161
  saveOnEnter?: boolean;
7719
8162
  saveOnCtrlEnter?: boolean;
8163
+ attachmentPreviewTheme?: CommentInputTheme;
7720
8164
  }
7721
8165
  export const EditCommentWithAttachments: FC<Props>;
7722
8166
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
@@ -7796,34 +8240,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
7796
8240
  }>;
7797
8241
  export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
7798
8242
  }
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;
8243
+ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
8244
+ import { FC } from 'react';
8245
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
8246
+ export const DetailViewContextProvider: FC<{
8247
+ itemId: string;
8248
+ type?: ItemResourceTypes;
8249
+ loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8250
+ isEditorPreview?: boolean;
7808
8251
  }>;
7809
8252
  }
7810
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
7811
- import { FC } from 'react';
7812
- export const DetailViewTitle: FC;
8253
+ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8254
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8255
+ export interface EmbeddedObjectPreviewData {
8256
+ itemId: string;
8257
+ type: string;
8258
+ subscriptionIdentifier: string;
8259
+ }
8260
+ export const InlineUrlPreviewMapper: HtmlComponentMapper;
7813
8261
  }
7814
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
7815
- import { FC } from 'react';
7816
- export const DetailViewBanner: FC;
8262
+ declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8263
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8264
+ export const InlineImageMapper: HtmlComponentMapper;
7817
8265
  }
7818
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
7819
- import { FC } from 'react';
7820
- export const DetailMainSection: FC;
8266
+ declare module "libs/reach/feature/content/src/common/body/InlineContact" {
8267
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8268
+ export interface ContactDetails {
8269
+ id: string;
8270
+ upn?: string;
8271
+ tenantId?: string;
8272
+ properties?: {
8273
+ [key: string]: {
8274
+ value: string;
8275
+ shouldAutoLoad?: boolean;
8276
+ };
8277
+ };
8278
+ }
8279
+ export const InlineContactMapper: HtmlComponentMapper;
7821
8280
  }
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;
8281
+ declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
8282
+ import { FC } from 'react';
8283
+ import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
8284
+ export const InlineContactViewer: FC<{
8285
+ contact: ContactDetails;
7827
8286
  }>;
7828
8287
  }
7829
8288
  declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
@@ -7849,6 +8308,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
7849
8308
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7850
8309
  export const InlineQuoteMapper: HtmlComponentMapper;
7851
8310
  }
8311
+ declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
8312
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8313
+ export const InlineVideoMapper: HtmlComponentMapper;
8314
+ }
8315
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
8316
+ import { FC } from 'react';
8317
+ import { PageItem } from "libs/reach/util/common/src/index";
8318
+ export const InlinePageListViewer: FC<{
8319
+ items: PageItem[];
8320
+ baseRoute: string;
8321
+ filterBaseUrl?: string;
8322
+ isInitialLoading?: boolean;
8323
+ }>;
8324
+ }
8325
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
8326
+ import { FC } from 'react';
8327
+ import { PageItem } from "libs/reach/util/common/src/index";
8328
+ export interface ListPagingProps {
8329
+ getNextPage: () => unknown;
8330
+ getPrevPage: () => unknown;
8331
+ getFirstPage: () => unknown;
8332
+ isLoadingNextPage: boolean;
8333
+ isInitialLoading: boolean;
8334
+ isFirstPage: boolean;
8335
+ hideNextButton: boolean;
8336
+ }
8337
+ export const InlinePageListWithPaging: FC<{
8338
+ pages: PageItem[];
8339
+ baseRoute: string;
8340
+ pagingProps?: ListPagingProps;
8341
+ filterBaseUrl?: string;
8342
+ }>;
8343
+ }
8344
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
8345
+ import { DependencyList } from 'react';
8346
+ import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
8347
+ export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
8348
+ showPages: boolean;
8349
+ showDocuments: boolean;
8350
+ }, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
8351
+ pageItems: any[];
8352
+ pagingProps: {
8353
+ hideNextButton: boolean;
8354
+ isInitialLoading: boolean;
8355
+ isLoadingNextPage: boolean;
8356
+ error: any;
8357
+ getFirstPage: () => void;
8358
+ getPrevPage: () => void;
8359
+ getNextPage: () => Promise<void>;
8360
+ isFirstPage: boolean;
8361
+ isLastPage: boolean;
8362
+ isEmpty: boolean;
8363
+ };
8364
+ };
8365
+ }
8366
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
8367
+ import { FC } from 'react';
8368
+ export const InlinePageListSkeleton: FC<{
8369
+ isDataLoaded: boolean;
8370
+ pageSize?: number;
8371
+ }>;
8372
+ }
7852
8373
  declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
7853
8374
  export interface CodeDetails {
7854
8375
  id: string;
@@ -7870,20 +8391,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
7870
8391
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7871
8392
  export const InlineCodeMapper: HtmlComponentMapper;
7872
8393
  }
7873
- declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
7874
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7875
- export const InlineVideoMapper: HtmlComponentMapper;
7876
- }
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
8394
  declare module "libs/reach/feature/content/src/common/body/InlineTable" {
7888
8395
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7889
8396
  import { CSSProperties } from 'react';
@@ -7924,182 +8431,39 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
7924
8431
  export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
7925
8432
  export const InlineTable: HtmlComponentMapper;
7926
8433
  }
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;
8434
+ declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
8435
+ import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
8436
+ export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
8437
+ format: TableFormat;
8438
+ }, never>;
8439
+ }
8440
+ declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
8441
+ import { FC, ReactNode } from 'react';
8442
+ export const ItemBodyWrapper: FC<{
8443
+ className?: string;
8444
+ children?: ReactNode;
7932
8445
  }>;
7933
8446
  }
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;
8447
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8448
+ import { FC } from 'react';
8449
+ export const EventDetailViewPeopleInfo: FC;
7948
8450
  }
7949
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
8451
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
7950
8452
  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
- }>;
8453
+ export const EventDetailViewLocationInfo: FC;
7958
8454
  }
7959
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
8455
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
7960
8456
  import { FC } from 'react';
7961
- import { PageItem } from "libs/reach/util/common/src/index";
7962
- export interface ListPagingProps {
7963
- getNextPage: () => unknown;
7964
- getPrevPage: () => unknown;
7965
- getFirstPage: () => unknown;
7966
- isLoadingNextPage: boolean;
7967
- isInitialLoading: boolean;
7968
- isFirstPage: boolean;
7969
- hideNextButton: boolean;
7970
- }
7971
- export const InlinePageListWithPaging: FC<{
7972
- pages: PageItem[];
7973
- baseRoute: string;
7974
- pagingProps?: ListPagingProps;
7975
- filterBaseUrl?: string;
8457
+ export const EventDetailViewMetaInfo: FC<{
8458
+ allowFilterByChannels?: boolean;
7976
8459
  }>;
7977
8460
  }
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" {
8461
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
7983
8462
  import { FC } from 'react';
7984
- export const InlinePageListSkeleton: FC<{
7985
- isDataLoaded: boolean;
7986
- pageSize?: number;
8463
+ export const EventDetailViewDatesInfo: FC<{
8464
+ className?: string;
7987
8465
  }>;
7988
8466
  }
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
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
8010
- import { DependencyList } from 'react';
8011
- import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
8012
- export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
8013
- showPages: boolean;
8014
- showDocuments: boolean;
8015
- }, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
8016
- pageItems: any[];
8017
- pagingProps: {
8018
- hideNextButton: boolean;
8019
- isInitialLoading: boolean;
8020
- isLoadingNextPage: boolean;
8021
- error: any;
8022
- getFirstPage: () => void;
8023
- getPrevPage: () => void;
8024
- getNextPage: () => Promise<void>;
8025
- isFirstPage: boolean;
8026
- isLastPage: boolean;
8027
- isEmpty: boolean;
8028
- };
8029
- };
8030
- }
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" {
8039
- 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;
8051
- }>;
8052
- export const InlinePageListMapper: HtmlComponentMapper;
8053
- }
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;
8060
- }
8061
- export const InlineUrlPreviewMapper: HtmlComponentMapper;
8062
- }
8063
- declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
8064
- import { FC } from 'react';
8065
- export const RichTextViewer: FC<{
8066
- html: string;
8067
- }>;
8068
- }
8069
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
8070
- import { FC } from 'react';
8071
- export const DetailViewBody: FC;
8072
- }
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
- }>;
8078
- }
8079
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
8080
- import { FC } from 'react';
8081
- export const EventDetailViewDatesInfo: FC<{
8082
- className?: string;
8083
- }>;
8084
- }
8085
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8086
- import { FC } from 'react';
8087
- export const EventDetailViewPeopleInfo: FC;
8088
- }
8089
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
8090
- import { FC } from 'react';
8091
- export const EventDetailViewLocationInfo: FC;
8092
- }
8093
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
8094
- import { FC } from 'react';
8095
- export const EventDetailViewMetaInfo: FC<{
8096
- allowFilterByChannels?: boolean;
8097
- }>;
8098
- }
8099
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
8100
- import { FC } from 'react';
8101
- export const EventDetailViewCancelInformation: FC;
8102
- }
8103
8467
  declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
8104
8468
  import { PublishableItem } from "libs/reach/util/common/src/index";
8105
8469
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
@@ -8210,8 +8574,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8210
8574
  }
8211
8575
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
8212
8576
  import { FC } from 'react';
8213
- import { EventParticipant } from "libs/reach/util/common/src/index";
8214
- import { EventResponse } from "libs/reach/util/common/src/index";
8577
+ import { EventParticipant, EventResponse } from "libs/reach/util/common/src/index";
8215
8578
  export const EventRegistrationRegisterSomeoneElseDialog: FC<{
8216
8579
  show: boolean;
8217
8580
  onDismiss: () => unknown;
@@ -8257,6 +8620,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8257
8620
  import { FC } from 'react';
8258
8621
  export const EventDetailViewRegistration: FC;
8259
8622
  }
8623
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
8624
+ import { FC } from 'react';
8625
+ export const EventDetailViewCancelInformation: FC;
8626
+ }
8260
8627
  declare module "libs/reach/feature/content/src/comments/CommentList" {
8261
8628
  import { FC } from 'react';
8262
8629
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
@@ -8512,92 +8879,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
8512
8879
  eventItem: EventItem;
8513
8880
  }>;
8514
8881
  }
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;
8538
- 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
8882
  declare module "libs/reach/feature/content/src/news/DateInfo" {
8602
8883
  import { PublishableItem } from "libs/reach/util/common/src/index";
8603
8884
  interface DateInfoProps {
@@ -8637,51 +8918,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
8637
8918
  import { FC } from 'react';
8638
8919
  export const PageDetailViewMetaInfo: FC;
8639
8920
  }
8640
- declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
8921
+ declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
8641
8922
  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;
8923
+ export const PageDetailViewFeedbackSection: FC<{
8924
+ hideLikes?: boolean;
8925
+ hideComments?: boolean;
8926
+ hideProfileUrl?: boolean;
8927
+ disableLoginForPublicUser?: boolean;
8685
8928
  }>;
8686
8929
  }
8687
8930
  declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
@@ -8790,8 +9033,106 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
8790
9033
  import { FC } from 'react';
8791
9034
  export const PageDetailViewTableOfContentsButton: FC;
8792
9035
  }
8793
- declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
8794
- import { FC } from 'react';
9036
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
9037
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9038
+ export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
9039
+ }
9040
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
9041
+ import { FC } from 'react';
9042
+ export const InlinePageListByKeywords: FC<{
9043
+ keywords: string[];
9044
+ showDocuments?: boolean;
9045
+ showPages?: boolean;
9046
+ }>;
9047
+ }
9048
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
9049
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9050
+ export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
9051
+ }
9052
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
9053
+ import { FC } from 'react';
9054
+ export const InlinePageListByPageId: FC<{
9055
+ pageId: string;
9056
+ showDocuments: boolean;
9057
+ showPages: boolean;
9058
+ }>;
9059
+ }
9060
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
9061
+ import { FC } from 'react';
9062
+ import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
9063
+ export const InlinePageListByCurrentPage: FC<{
9064
+ blockProps?: PageListDetails;
9065
+ }>;
9066
+ }
9067
+ declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
9068
+ import { FC } from 'react';
9069
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9070
+ export interface PageListDetails {
9071
+ id?: string;
9072
+ showChildren?: boolean;
9073
+ showDocuments?: boolean;
9074
+ showPages?: boolean;
9075
+ pageId?: string;
9076
+ keywords?: string;
9077
+ }
9078
+ export const InlinePageList: FC<{
9079
+ blockProps?: PageListDetails;
9080
+ }>;
9081
+ export const InlinePageListMapper: HtmlComponentMapper;
9082
+ }
9083
+ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
9084
+ import { FC } from 'react';
9085
+ import { PageItem } from "libs/reach/util/common/src/index";
9086
+ export const PageBreadcrumb: FC<{
9087
+ page: PageItem;
9088
+ target?: string;
9089
+ language?: string;
9090
+ hideCurrentPageNode?: boolean;
9091
+ className?: string;
9092
+ }>;
9093
+ }
9094
+ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
9095
+ import { FC } from 'react';
9096
+ import { PageItem } from "libs/reach/util/common/src/index";
9097
+ import { PublishableItemContent } from "libs/reach/util/common/src/index";
9098
+ export const DetailViewPageDocumentDownload: FC;
9099
+ export const PageDocumentDownloadButton: FC<{
9100
+ item: PageItem;
9101
+ content: PublishableItemContent;
9102
+ basePath?: string;
9103
+ }>;
9104
+ }
9105
+ declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
9106
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9107
+ import { PublishableItem } from "libs/reach/util/common/src/index";
9108
+ interface Props {
9109
+ id: string;
9110
+ item: PublishableItem;
9111
+ itemResourceType: ItemResourceTypes;
9112
+ }
9113
+ export const CardBanner: React.FC<Props>;
9114
+ }
9115
+ declare module "libs/reach/feature/content/src/common/cards/Card" {
9116
+ import { FC, ReactNode } from 'react';
9117
+ import { PublishableItem } from "libs/reach/util/common/src/index";
9118
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9119
+ import { CurrentUser } from "libs/reach/util/common/src/index";
9120
+ interface CardProps {
9121
+ item: PublishableItem;
9122
+ itemResourceType: ItemResourceTypes;
9123
+ additionalMetadata?: ReactNode;
9124
+ highlight?: boolean;
9125
+ className?: string;
9126
+ }
9127
+ export const Card: FC<CardProps>;
9128
+ export interface CardItem<TItem = PublishableItem> {
9129
+ item: TItem;
9130
+ language: string;
9131
+ }
9132
+ export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
9133
+ }
9134
+ declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
9135
+ import { FC } from 'react';
8795
9136
  interface LanguageSelectorProps {
8796
9137
  languages: string[];
8797
9138
  selectedLanguage: string;
@@ -8811,10 +9152,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
8811
9152
  className?: string;
8812
9153
  }>;
8813
9154
  }
9155
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
9156
+ import { FC } from 'react';
9157
+ export const DetailViewBanner: FC;
9158
+ }
9159
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
9160
+ import { FC } from 'react';
9161
+ export const DetailViewIntro: FC;
9162
+ }
9163
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
9164
+ import { FC } from 'react';
9165
+ export const DetailMainSection: FC;
9166
+ }
9167
+ declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
9168
+ import { FC, ReactNode } from 'react';
9169
+ export const GutterMarkerIcon: FC<{
9170
+ iconName: string;
9171
+ children: ReactNode;
9172
+ isActive: boolean;
9173
+ color: string;
9174
+ tooltipResourceKey?: string;
9175
+ className?: string;
9176
+ }>;
9177
+ }
9178
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
9179
+ import { FC } from 'react';
9180
+ export const DetailViewTitle: FC;
9181
+ }
8814
9182
  declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
8815
9183
  import { FC } from 'react';
8816
9184
  export const NewsDetailViewMetaInfo: FC;
8817
9185
  }
9186
+ declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
9187
+ import { FC } from 'react';
9188
+ export const RichTextViewer: FC<{
9189
+ html: string;
9190
+ }>;
9191
+ }
9192
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
9193
+ import { FC } from 'react';
9194
+ export const DetailViewBody: FC;
9195
+ }
9196
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
9197
+ import { FC } from 'react';
9198
+ export const DetailViewKeywords: FC<{
9199
+ filterBaseUrl: string;
9200
+ }>;
9201
+ }
9202
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
9203
+ import { FC } from 'react';
9204
+ export const ConfirmationBox: FC<{
9205
+ disabled?: boolean;
9206
+ onChange?: (value: boolean) => void;
9207
+ checked: boolean;
9208
+ }>;
9209
+ }
9210
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
9211
+ import { FC } from 'react';
9212
+ import { NewsItem } from "libs/reach/util/common/src/index";
9213
+ export const ConfirmationSection: FC<{
9214
+ item?: NewsItem;
9215
+ showDescription: boolean;
9216
+ readOnly?: boolean;
9217
+ className?: string;
9218
+ }>;
9219
+ }
9220
+ declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
9221
+ import { FC } from 'react';
9222
+ export const DetailViewConfirmations: FC;
9223
+ }
9224
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
9225
+ import { FC } from 'react';
9226
+ export const DetailViewPageViewTracker: FC;
9227
+ }
9228
+ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
9229
+ import { FC } from 'react';
9230
+ export const FeedbackButtonBookmark: FC<{
9231
+ isReadOnly?: boolean;
9232
+ }>;
9233
+ }
9234
+ declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
9235
+ import { FC } from 'react';
9236
+ export const NewsDetailViewFeedbackSection: FC<{
9237
+ hideLikes?: boolean;
9238
+ hideComments?: boolean;
9239
+ hideProfileUrl?: boolean;
9240
+ disableLoginForPublicUser?: boolean;
9241
+ }>;
9242
+ }
9243
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
9244
+ import { FC, ReactNode } from 'react';
9245
+ export const DetailViewNavigation: FC<{
9246
+ children?: ReactNode;
9247
+ callout?: ReactNode;
9248
+ }>;
9249
+ }
9250
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
9251
+ import { FC } from 'react';
9252
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9253
+ export const DetailViewBodyExternalContent: FC<{
9254
+ itemType: ItemResourceTypes;
9255
+ }>;
9256
+ }
9257
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
9258
+ import { FC } from 'react';
9259
+ export const DetailViewHeadline: FC;
9260
+ }
8818
9261
  declare module "libs/reach/feature/content/src/common/StateIcon" {
8819
9262
  import { WorkflowStatus } from "libs/reach/util/common/src/index";
8820
9263
  export const StateIcon: React.FC<{
@@ -8835,205 +9278,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
8835
9278
  }
8836
9279
  declare module "libs/reach/feature/content/src/common/index" {
8837
9280
  export * from "libs/reach/feature/content/src/common/cards/CardFooter";
8838
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
8839
9281
  export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
8840
9282
  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
9283
  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
9284
  export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
8896
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8897
9285
  export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
8898
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8899
9286
  export * from "libs/reach/feature/content/src/common/body/InlineGallery";
8900
9287
  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
9288
  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
9289
  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
9290
  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
9291
  export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
8921
9292
  export * from "libs/reach/feature/content/src/common/body/InlineQuote";
8922
9293
  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
9294
  export * from "libs/reach/feature/content/src/common/body/InlineVideo";
8927
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
8928
9295
  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
9296
  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
9297
  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
- 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
9298
  export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
8938
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8939
9299
  export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
8940
9300
  export * from "libs/reach/feature/content/src/common/ContentUtils";
8941
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
8942
9301
  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
9302
  export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
8951
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8952
9303
  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
9304
  export * from "libs/reach/feature/content/src/common/body/InlineCode";
8956
9305
  export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
8957
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8958
9306
  export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8959
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
8960
9307
  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
9308
  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
9309
  export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
8967
9310
  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
9311
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
8972
9312
  export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
8973
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8974
9313
  export * from "libs/reach/feature/content/src/common/body/InlineFileList";
8975
9314
  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
9315
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
8980
9316
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
8981
9317
  export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
8982
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
8983
9318
  export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
8984
9319
  export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8985
9320
  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
9321
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
8992
9322
  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
9323
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
8997
9324
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
8998
9325
  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
9326
  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
9327
  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
9328
  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
9329
  export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
9013
9330
  export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
9014
9331
  export * from "libs/reach/feature/content/src/common/body/InlinePageList";
9015
9332
  export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
9016
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
9017
9333
  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
9334
  export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
9026
9335
  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
9336
  export * from "libs/reach/feature/content/src/common/cards/Card";
9032
9337
  export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
9033
9338
  export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
9034
9339
  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
9340
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
9038
9341
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
9039
9342
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
@@ -9050,7 +9353,6 @@ declare module "libs/reach/feature/content/src/common/index" {
9050
9353
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
9051
9354
  export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9052
9355
  export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9053
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9054
9356
  export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
9055
9357
  export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
9056
9358
  export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
@@ -9072,91 +9374,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
9072
9374
  export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
9073
9375
  export * from "libs/reach/feature/content/src/feedback/utils";
9074
9376
  }
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;
9082
- }
9083
- }
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" {
9148
- import { FC } from 'react';
9149
- import { Keyword } from "libs/reach/util/common/src/index";
9150
- interface Props {
9151
- value?: Keyword[] | string[];
9152
- onChange: (keywords: Keyword[]) => void;
9153
- showSelectionToggle?: boolean;
9154
- availableKeywords?: Keyword[];
9155
- mandatoryKeywordIds?: string[];
9156
- className?: string;
9157
- }
9158
- export const KeywordPicker: FC<Props>;
9159
- }
9160
9377
  declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
9161
9378
  import { FC, ReactNode } from 'react';
9162
9379
  import { Keyword } from "libs/reach/util/common/src/index";
@@ -9205,33 +9422,15 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
9205
9422
  */
9206
9423
  export const Textarea: FC<TextareaProps>;
9207
9424
  }
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
9425
  declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
9229
9426
  import { FC } from 'react';
9230
9427
  interface Props {
9231
9428
  onInsert: (files: File[]) => void;
9232
9429
  accept?: string;
9233
9430
  captionKey?: string;
9431
+ captionIconName?: string;
9234
9432
  descriptionKey?: string;
9433
+ descriptionIconName?: string;
9235
9434
  singleMode?: boolean;
9236
9435
  }
9237
9436
  export const InsertFilesButton: FC<Props>;
@@ -9249,6 +9448,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
9249
9448
  }
9250
9449
  export const InsertImagesButton: FC<Props>;
9251
9450
  }
9451
+ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
9452
+ import { FC } from 'react';
9453
+ interface DateTimePickerProps {
9454
+ date: string;
9455
+ maxDate?: string;
9456
+ minDate?: string;
9457
+ dateValidationResourceKey?: string;
9458
+ timeValidationResourceKey?: string;
9459
+ readOnly?: boolean;
9460
+ onChanged: (date: string, isValid: boolean) => void;
9461
+ noDateResourceKey: string;
9462
+ selectDateResourceKey: string;
9463
+ dateOnly?: boolean;
9464
+ initialPickerDate?: string;
9465
+ label?: string;
9466
+ isRequired?: boolean;
9467
+ className?: string;
9468
+ }
9469
+ export const DateTimePicker: FC<DateTimePickerProps>;
9470
+ export default DateTimePicker;
9471
+ }
9252
9472
  declare module "libs/reach/feature/content/src/forms/DateRange" {
9253
9473
  import moment, { Moment } from 'moment';
9254
9474
  export enum DateRange {
@@ -9291,37 +9511,22 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
9291
9511
  allowEmptyValue: boolean;
9292
9512
  includePendingInvitationUsers?: boolean;
9293
9513
  placeholderStringResourceKey?: string;
9514
+ inputAriaLabelResourceKey: string;
9294
9515
  }
9295
9516
  export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
9296
9517
  }
9297
9518
  declare module "libs/reach/feature/content/src/forms/index" {
9298
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9299
9519
  export * from "libs/reach/feature/content/src/forms/KeywordDialog";
9300
9520
  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
9521
  export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
9310
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9311
9522
  export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
9312
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9313
9523
  export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
9314
9524
  export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
9315
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9316
9525
  export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9317
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
9318
9526
  export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
9319
9527
  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
9528
  export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
9323
9529
  export * from "libs/reach/feature/content/src/forms/DateRange";
9324
- export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
9325
9530
  export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
9326
9531
  export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
9327
9532
  export * from "libs/reach/feature/content/src/forms/videos/VideoView";
@@ -9401,6 +9606,15 @@ declare module "libs/reach/feature/content/src/news/index" {
9401
9606
  export * from "libs/reach/feature/content/src/news/useNewsApi";
9402
9607
  export * from "libs/reach/feature/content/src/news/useTranslateApi";
9403
9608
  }
9609
+ declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
9610
+ import { FC } from 'react';
9611
+ import { SearchHighlight } from "libs/reach/util/common/src/index";
9612
+ export const SearchHighlighter: FC<{
9613
+ highlight: SearchHighlight;
9614
+ }>;
9615
+ export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
9616
+ export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
9617
+ }
9404
9618
  declare module "libs/reach/feature/content/src/pages/PageTitle" {
9405
9619
  import { FC } from 'react';
9406
9620
  import { PageItem } from "libs/reach/util/common/src/index";
@@ -9429,11 +9643,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
9429
9643
  }
9430
9644
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
9431
9645
  import { FC } from 'react';
9432
- import { PublishableItemContent } from "libs/reach/util/common/src/index";
9646
+ import { PageItem } from "libs/reach/util/common/src/index";
9433
9647
  export const PageListItemBody: FC<{
9434
- contents: {
9435
- [key: string]: PublishableItemContent;
9436
- };
9648
+ page: PageItem;
9437
9649
  search?: string;
9438
9650
  }>;
9439
9651
  }
@@ -9499,7 +9711,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
9499
9711
  import { FC } from 'react';
9500
9712
  import { Post } from "libs/reach/feature/content/src/posts/utils";
9501
9713
  import { Keyword } from "libs/reach/util/common/src/index";
9502
- export const PostCreator: FC<{
9714
+ export interface PostCreatorProps {
9503
9715
  groupId: string;
9504
9716
  disabled: boolean;
9505
9717
  disableDragAndDrop?: boolean;
@@ -9510,129 +9722,1294 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
9510
9722
  defaultKeywords?: Keyword[];
9511
9723
  mandatoryKeywords?: Keyword[];
9512
9724
  };
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
- initialPageSize?: number;
9524
- comments?: PaginatedList<Comment>;
9525
- autoFocusReplyField?: boolean;
9526
- onReplyAdded: () => void;
9527
- onReplyDeleted: () => void;
9528
- onThreadReply?: (threadId: string) => void;
9529
- }
9530
- export const PostReplies: FC<Props>;
9531
- }
9532
- declare module "libs/reach/feature/content/src/posts/PostEditor" {
9533
- import { FC } from 'react';
9534
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9535
- import { Keyword } from "libs/reach/util/common/src/index";
9536
- export const PostEditor: FC<{
9537
- className?: string;
9538
- post: Post;
9539
- onCancel: () => void;
9540
- onBeforeSave: (post: Post) => void;
9541
- onSaved: (post: Post) => void;
9542
- keywordSettings?: {
9543
- availableKeywords?: Keyword[];
9544
- defaultKeywords?: Keyword[];
9545
- mandatoryKeywords?: Keyword[];
9725
+ disableAutoFocus?: boolean;
9726
+ }
9727
+ export const PostCreator: FC<PostCreatorProps>;
9728
+ }
9729
+ declare module "libs/reach/feature/content/src/posts/PostReplies" {
9730
+ import { FC } from 'react';
9731
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9732
+ import { Comment } from "libs/reach/util/common/src/index";
9733
+ import { PaginatedList } from "libs/reach/util/common/src/index";
9734
+ interface Props {
9735
+ className?: string;
9736
+ post: Post;
9737
+ initialPageSize?: number;
9738
+ comments?: PaginatedList<Comment>;
9739
+ autoFocusReplyField?: boolean;
9740
+ onReplyAdded: () => void;
9741
+ onReplyDeleted: () => void;
9742
+ onThreadReply?: (threadId: string) => void;
9743
+ }
9744
+ export const PostReplies: FC<Props>;
9745
+ }
9746
+ declare module "libs/reach/feature/content/src/posts/PostEditor" {
9747
+ import { FC } from 'react';
9748
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9749
+ import { Keyword } from "libs/reach/util/common/src/index";
9750
+ export const PostEditor: FC<{
9751
+ className?: string;
9752
+ post: Post;
9753
+ onCancel: () => void;
9754
+ onBeforeSave: (post: Post) => void;
9755
+ onSaved: (post: Post) => void;
9756
+ keywordSettings?: {
9757
+ availableKeywords?: Keyword[];
9758
+ defaultKeywords?: Keyword[];
9759
+ mandatoryKeywords?: Keyword[];
9760
+ };
9761
+ }>;
9762
+ }
9763
+ declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
9764
+ import { FC } from 'react';
9765
+ export const PostFollowButton: FC<{
9766
+ itemId: string;
9767
+ }>;
9768
+ }
9769
+ declare module "libs/reach/feature/content/src/posts/PostGroup" {
9770
+ import { FC } from 'react';
9771
+ import { NavLink } from 'react-router-dom';
9772
+ export const PostGroup: FC<{
9773
+ groupId: string;
9774
+ to: string;
9775
+ className?: string;
9776
+ }>;
9777
+ export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
9778
+ }
9779
+ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
9780
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9781
+ import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
9782
+ interface Props {
9783
+ post: Post;
9784
+ className?: string;
9785
+ threadId?: string;
9786
+ onCustomPostDelete?: () => void;
9787
+ comments?: PaginatedList<Comment>;
9788
+ initialCommentsPageSize?: number;
9789
+ onEditActiveChange?: (isEditMode: boolean) => void;
9790
+ onShowCommentsChange?: (showComments: boolean) => void;
9791
+ onThreadCommentDelete?: () => void;
9792
+ onThreadReply?: (threadId: string) => void;
9793
+ keywordSettings?: {
9794
+ availableKeywords?: Keyword[];
9795
+ defaultKeywords?: Keyword[];
9796
+ mandatoryKeywords?: Keyword[];
9797
+ };
9798
+ showGroup?: boolean;
9799
+ onBeforeDelete?: (id: string) => unknown;
9800
+ onAfterDelete?: (id: string) => unknown;
9801
+ }
9802
+ export const PostDisplay: React.FC<Props>;
9803
+ }
9804
+ declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
9805
+ import { FC } from 'react';
9806
+ import { UserGroup } from "libs/reach/util/common/src/index";
9807
+ export const PostGroupsSelector: FC<{
9808
+ groups: UserGroup[];
9809
+ }>;
9810
+ }
9811
+ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
9812
+ import { FC } from 'react';
9813
+ export const PostGroupSelector: FC;
9814
+ }
9815
+ declare module "libs/reach/feature/content/src/posts/PostListItem" {
9816
+ import { FC } from 'react';
9817
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9818
+ import { Keyword } from "libs/reach/util/common/src/index";
9819
+ interface Props {
9820
+ post: Post;
9821
+ onEditActiveChange?: (isEditMode: boolean) => void;
9822
+ onShowCommentsChange?: (showComments: boolean) => void;
9823
+ keywordSettings?: {
9824
+ availableKeywords?: Keyword[];
9825
+ defaultKeywords?: Keyword[];
9826
+ mandatoryKeywords?: Keyword[];
9827
+ };
9828
+ showGroup: boolean;
9829
+ onBeforeDelete?: (id: string) => unknown;
9830
+ onAfterDelete?: (id: string) => unknown;
9831
+ }
9832
+ export const PostListItem: FC<Props>;
9833
+ }
9834
+ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
9835
+ import { FC } from 'react';
9836
+ import { Post } from "libs/reach/feature/content/src/index";
9837
+ import { Keyword } from "libs/reach/util/common/src/index";
9838
+ export const PostWithSelfThreadHandling: FC<{
9839
+ post: Post;
9840
+ onEditActiveChange?: (isEditMode: boolean) => void;
9841
+ onShowCommentsChange?: (showComments: boolean) => void;
9842
+ keywordSettings?: {
9843
+ availableKeywords?: Keyword[];
9844
+ defaultKeywords?: Keyword[];
9845
+ mandatoryKeywords?: Keyword[];
9846
+ };
9847
+ showGroup: boolean;
9848
+ onBeforeDelete?: (id: string) => unknown;
9849
+ onAfterDelete?: (id: string) => unknown;
9850
+ }>;
9851
+ }
9852
+ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9853
+ 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";
9854
+ import { Post } from "libs/reach/feature/content/src/posts/index";
9855
+ import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
9856
+ enum StreamItemTypes {
9857
+ Post = "POST",
9858
+ News = "NEWS",
9859
+ Event = "EVENT",
9860
+ Page = "PAGE"
9861
+ }
9862
+ export enum StreamConversationScope {
9863
+ Public = "PUBLIC",
9864
+ Editor = "EDITOR",
9865
+ Posts = "POSTS"
9866
+ }
9867
+ export interface PostStreamItem extends Post {
9868
+ type: StreamItemTypes.Post;
9869
+ isUnread: boolean;
9870
+ keywordsList?: Keyword[];
9871
+ groupIds?: string[];
9872
+ postAttachments?: StreamAttachment[];
9873
+ postComments?: PaginatedList<StreamPostComment>;
9874
+ hasMoreUnreadComments: boolean;
9875
+ }
9876
+ export interface StreamPostComment extends Comment {
9877
+ postCommentAttachments?: StreamAttachment[];
9878
+ streamConversationScope?: StreamConversationScope;
9879
+ }
9880
+ export interface StreamAttachment extends BaseAttachment {
9881
+ type: GraphQLAttachmentType;
9882
+ }
9883
+ export interface NewsStreamItem extends NewsItem {
9884
+ type: StreamItemTypes.News;
9885
+ contentsList: StreamPublishableItemContents[];
9886
+ channelsList: string[];
9887
+ isUnread: boolean;
9888
+ keywordsList?: Keyword[];
9889
+ knownNewsState?: StreamKnownNewsState[];
9890
+ }
9891
+ export enum StreamKnownNewsState {
9892
+ Unconfirmed = "UNCONFIRMED",
9893
+ Alert = "ALERT"
9894
+ }
9895
+ export interface EventStreamItem extends EventItem {
9896
+ type: StreamItemTypes.Event;
9897
+ contentsList: StreamPublishableItemContents[];
9898
+ channelsList: string[];
9899
+ isUnread: boolean;
9900
+ keywordsList?: Keyword[];
9901
+ userResponseType?: StreamEventResponse;
9902
+ }
9903
+ export interface PageStreamItem extends PageItem {
9904
+ type: StreamItemTypes.Page;
9905
+ contentsList: StreamPublishableItemContents[];
9906
+ channelsList: string[];
9907
+ isUnread: boolean;
9908
+ keywordsList?: Keyword[];
9909
+ streamPageType?: string;
9910
+ path?: (PageNavigationNode & {
9911
+ parentId?: string;
9912
+ })[];
9913
+ }
9914
+ interface StreamPublishableItemContents {
9915
+ language: string;
9916
+ title: string;
9917
+ intro?: string;
9918
+ headline?: string;
9919
+ }
9920
+ export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
9921
+ export function isPost(item: StreamItem): item is PostStreamItem;
9922
+ export function isNews(item: StreamItem): item is NewsStreamItem;
9923
+ export function isEvent(item: StreamItem): item is EventStreamItem;
9924
+ export function isPage(item: StreamItem): item is PageStreamItem;
9925
+ export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
9926
+ groupId: string;
9927
+ attachments: {
9928
+ type: AttachmentType;
9929
+ id: string;
9930
+ filename?: string;
9931
+ previewUrl?: string;
9932
+ url?: string;
9933
+ isUploadInProgress?: boolean;
9934
+ hasError?: boolean;
9935
+ width?: number;
9936
+ height?: number;
9937
+ }[];
9938
+ comments: {
9939
+ items: {
9940
+ conversationScope: ConversationScope;
9941
+ fileAccessToken: string;
9942
+ attachments: {
9943
+ type: AttachmentType;
9944
+ id: string;
9945
+ filename?: string;
9946
+ previewUrl?: string;
9947
+ url?: string;
9948
+ isUploadInProgress?: boolean;
9949
+ hasError?: boolean;
9950
+ width?: number;
9951
+ height?: number;
9952
+ }[];
9953
+ postCommentAttachments?: StreamAttachment[];
9954
+ streamConversationScope?: StreamConversationScope;
9955
+ id: string;
9956
+ parentItemId: string;
9957
+ content: string;
9958
+ contentLanguageCode?: string;
9959
+ receivedDateTime: string;
9960
+ sender: import("@livetiles/reach/util/common").Account;
9961
+ modified?: string;
9962
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9963
+ isLiked?: boolean;
9964
+ threadId?: string;
9965
+ isUnread?: boolean;
9966
+ hasUnreadReplies?: boolean;
9967
+ isDemoContent?: boolean;
9968
+ attachmentContainerId?: string;
9969
+ }[];
9970
+ paginationToken?: any;
9971
+ nextItem?: StreamPostComment;
9972
+ hasMoreUnreadComments?: boolean;
9973
+ hasNextPage?: boolean;
9974
+ };
9975
+ keywords: {
9976
+ [key: string]: Keyword[];
9977
+ };
9978
+ type: StreamItemTypes.Post;
9979
+ isUnread: boolean;
9980
+ keywordsList?: Keyword[];
9981
+ groupIds?: string[];
9982
+ postAttachments?: StreamAttachment[];
9983
+ postComments?: PaginatedList<StreamPostComment>;
9984
+ hasMoreUnreadComments: boolean;
9985
+ id: string;
9986
+ content: string;
9987
+ permalink?: string;
9988
+ author: import("@livetiles/reach/util/common").Account;
9989
+ publishingDate: string;
9990
+ modified?: string;
9991
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
9992
+ contentLanguageCode?: string;
9993
+ isLiked?: boolean;
9994
+ isDemoContent?: boolean;
9995
+ poll?: import("@livetiles/reach/util/common").Poll;
9996
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9997
+ fileAccessToken?: string;
9998
+ attachmentContainerId?: string;
9999
+ } | {
10000
+ groupId: string;
10001
+ attachments: {
10002
+ type: AttachmentType;
10003
+ id: string;
10004
+ filename?: string;
10005
+ previewUrl?: string;
10006
+ url?: string;
10007
+ isUploadInProgress?: boolean;
10008
+ hasError?: boolean;
10009
+ width?: number;
10010
+ height?: number;
10011
+ }[];
10012
+ comments: {
10013
+ items: {
10014
+ conversationScope: ConversationScope;
10015
+ fileAccessToken: string;
10016
+ attachments: {
10017
+ type: AttachmentType;
10018
+ id: string;
10019
+ filename?: string;
10020
+ previewUrl?: string;
10021
+ url?: string;
10022
+ isUploadInProgress?: boolean;
10023
+ hasError?: boolean;
10024
+ width?: number;
10025
+ height?: number;
10026
+ }[];
10027
+ postCommentAttachments?: StreamAttachment[];
10028
+ streamConversationScope?: StreamConversationScope;
10029
+ id: string;
10030
+ parentItemId: string;
10031
+ content: string;
10032
+ contentLanguageCode?: string;
10033
+ receivedDateTime: string;
10034
+ sender: import("@livetiles/reach/util/common").Account;
10035
+ modified?: string;
10036
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
10037
+ isLiked?: boolean;
10038
+ threadId?: string;
10039
+ isUnread?: boolean;
10040
+ hasUnreadReplies?: boolean;
10041
+ isDemoContent?: boolean;
10042
+ attachmentContainerId?: string;
10043
+ }[];
10044
+ paginationToken?: any;
10045
+ nextItem?: StreamPostComment;
10046
+ hasMoreUnreadComments?: boolean;
10047
+ hasNextPage?: boolean;
10048
+ };
10049
+ keywords: {
10050
+ [key: string]: Keyword[];
10051
+ };
10052
+ type: StreamItemTypes.News;
10053
+ contentsList: StreamPublishableItemContents[];
10054
+ channelsList: string[];
10055
+ isUnread: boolean;
10056
+ keywordsList?: Keyword[];
10057
+ knownNewsState?: StreamKnownNewsState[];
10058
+ source?: string;
10059
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
10060
+ expiryDate?: string;
10061
+ knownState: KnownNewsState;
10062
+ hasNewComments?: boolean;
10063
+ isLiked?: boolean;
10064
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10065
+ channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10066
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10067
+ id?: string;
10068
+ versionId?: string;
10069
+ publishingDate?: string;
10070
+ deleted?: string;
10071
+ author?: import("@livetiles/reach/util/common").Account;
10072
+ owner?: import("@livetiles/reach/util/common").Account;
10073
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10074
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
10075
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10076
+ fileAccessToken?: string;
10077
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
10078
+ customProperties?: {
10079
+ [key: string]: any;
10080
+ };
10081
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10082
+ modified: string;
10083
+ created: string;
10084
+ publishedVersionId?: string;
10085
+ isCurrentPublishedVersion?: boolean;
10086
+ isLatestVersion?: boolean;
10087
+ permalink?: string;
10088
+ groupIds: string[];
10089
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10090
+ useExternalContent?: boolean;
10091
+ isDemoContent?: boolean;
10092
+ poll?: import("@livetiles/reach/util/common").Poll;
10093
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10094
+ } | {
10095
+ groupId: string;
10096
+ attachments: {
10097
+ type: AttachmentType;
10098
+ id: string;
10099
+ filename?: string;
10100
+ previewUrl?: string;
10101
+ url?: string;
10102
+ isUploadInProgress?: boolean;
10103
+ hasError?: boolean;
10104
+ width?: number;
10105
+ height?: number;
10106
+ }[];
10107
+ comments: {
10108
+ items: {
10109
+ conversationScope: ConversationScope;
10110
+ fileAccessToken: string;
10111
+ attachments: {
10112
+ type: AttachmentType;
10113
+ id: string;
10114
+ filename?: string;
10115
+ previewUrl?: string;
10116
+ url?: string;
10117
+ isUploadInProgress?: boolean;
10118
+ hasError?: boolean;
10119
+ width?: number;
10120
+ height?: number;
10121
+ }[];
10122
+ postCommentAttachments?: StreamAttachment[];
10123
+ streamConversationScope?: StreamConversationScope;
10124
+ id: string;
10125
+ parentItemId: string;
10126
+ content: string;
10127
+ contentLanguageCode?: string;
10128
+ receivedDateTime: string;
10129
+ sender: import("@livetiles/reach/util/common").Account;
10130
+ modified?: string;
10131
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
10132
+ isLiked?: boolean;
10133
+ threadId?: string;
10134
+ isUnread?: boolean;
10135
+ hasUnreadReplies?: boolean;
10136
+ isDemoContent?: boolean;
10137
+ attachmentContainerId?: string;
10138
+ }[];
10139
+ paginationToken?: any;
10140
+ nextItem?: StreamPostComment;
10141
+ hasMoreUnreadComments?: boolean;
10142
+ hasNextPage?: boolean;
10143
+ };
10144
+ keywords: {
10145
+ [key: string]: Keyword[];
10146
+ };
10147
+ type: StreamItemTypes.Event;
10148
+ contentsList: StreamPublishableItemContents[];
10149
+ channelsList: string[];
10150
+ isUnread: boolean;
10151
+ keywordsList?: Keyword[];
10152
+ userResponseType?: StreamEventResponse;
10153
+ startDate?: string;
10154
+ endDate?: string;
10155
+ timeZone?: string;
10156
+ contacts?: import("@livetiles/reach/util/common").Account[];
10157
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10158
+ userResponse?: EventResponse;
10159
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10160
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10161
+ hasNewComments?: boolean;
10162
+ isLiked?: boolean;
10163
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10164
+ recurrenceSeriesId?: string;
10165
+ isSeriesMaster?: string;
10166
+ isVirtual?: boolean;
10167
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10168
+ channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10169
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10170
+ id?: string;
10171
+ versionId?: string;
10172
+ publishingDate?: string;
10173
+ deleted?: string;
10174
+ author?: import("@livetiles/reach/util/common").Account;
10175
+ owner?: import("@livetiles/reach/util/common").Account;
10176
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10177
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
10178
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10179
+ fileAccessToken?: string;
10180
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
10181
+ customProperties?: {
10182
+ [key: string]: any;
10183
+ };
10184
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10185
+ modified: string;
10186
+ created: string;
10187
+ publishedVersionId?: string;
10188
+ isCurrentPublishedVersion?: boolean;
10189
+ isLatestVersion?: boolean;
10190
+ permalink?: string;
10191
+ groupIds: string[];
10192
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10193
+ useExternalContent?: boolean;
10194
+ isDemoContent?: boolean;
10195
+ poll?: import("@livetiles/reach/util/common").Poll;
10196
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10197
+ } | {
10198
+ groupId: string;
10199
+ attachments: {
10200
+ type: AttachmentType;
10201
+ id: string;
10202
+ filename?: string;
10203
+ previewUrl?: string;
10204
+ url?: string;
10205
+ isUploadInProgress?: boolean;
10206
+ hasError?: boolean;
10207
+ width?: number;
10208
+ height?: number;
10209
+ }[];
10210
+ comments: {
10211
+ items: {
10212
+ conversationScope: ConversationScope;
10213
+ fileAccessToken: string;
10214
+ attachments: {
10215
+ type: AttachmentType;
10216
+ id: string;
10217
+ filename?: string;
10218
+ previewUrl?: string;
10219
+ url?: string;
10220
+ isUploadInProgress?: boolean;
10221
+ hasError?: boolean;
10222
+ width?: number;
10223
+ height?: number;
10224
+ }[];
10225
+ postCommentAttachments?: StreamAttachment[];
10226
+ streamConversationScope?: StreamConversationScope;
10227
+ id: string;
10228
+ parentItemId: string;
10229
+ content: string;
10230
+ contentLanguageCode?: string;
10231
+ receivedDateTime: string;
10232
+ sender: import("@livetiles/reach/util/common").Account;
10233
+ modified?: string;
10234
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
10235
+ isLiked?: boolean;
10236
+ threadId?: string;
10237
+ isUnread?: boolean;
10238
+ hasUnreadReplies?: boolean;
10239
+ isDemoContent?: boolean;
10240
+ attachmentContainerId?: string;
10241
+ }[];
10242
+ paginationToken?: any;
10243
+ nextItem?: StreamPostComment;
10244
+ hasMoreUnreadComments?: boolean;
10245
+ hasNextPage?: boolean;
10246
+ };
10247
+ keywords: {
10248
+ [key: string]: Keyword[];
10249
+ };
10250
+ type: StreamItemTypes.Page;
10251
+ contentsList: StreamPublishableItemContents[];
10252
+ channelsList: string[];
10253
+ isUnread: boolean;
10254
+ keywordsList?: Keyword[];
10255
+ streamPageType?: string;
10256
+ path?: (PageNavigationNode & {
10257
+ parentId?: string;
10258
+ })[];
10259
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10260
+ parentId?: string;
10261
+ pathIds?: string[];
10262
+ position?: number;
10263
+ navigationContext?: PageNavigationContext;
10264
+ hasHiddenAncestor?: boolean;
10265
+ isUnlinked?: boolean;
10266
+ pageType?: PageType;
10267
+ firstChildId?: string;
10268
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10269
+ id?: string;
10270
+ versionId?: string;
10271
+ publishingDate?: string;
10272
+ deleted?: string;
10273
+ author?: import("@livetiles/reach/util/common").Account;
10274
+ owner?: import("@livetiles/reach/util/common").Account;
10275
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10276
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
10277
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10278
+ fileAccessToken?: string;
10279
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
10280
+ customProperties?: {
10281
+ [key: string]: any;
10282
+ };
10283
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10284
+ modified: string;
10285
+ created: string;
10286
+ publishedVersionId?: string;
10287
+ isCurrentPublishedVersion?: boolean;
10288
+ isLatestVersion?: boolean;
10289
+ permalink?: string;
10290
+ groupIds: string[];
10291
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10292
+ useExternalContent?: boolean;
10293
+ isDemoContent?: boolean;
10294
+ poll?: import("@livetiles/reach/util/common").Poll;
10295
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10296
+ } | {
10297
+ knownState?: undefined;
10298
+ pageType?: undefined;
10299
+ navigationContext?: undefined;
10300
+ userResponse: EventResponse;
10301
+ channels: {
10302
+ name: string;
10303
+ }[];
10304
+ contents: {};
10305
+ bannerInfo: {
10306
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10307
+ type: "video" | "image";
10308
+ videoId?: string;
10309
+ videoUrl?: string;
10310
+ isDirectVideoUrl?: boolean;
10311
+ imageId?: string;
10312
+ };
10313
+ keywords: {
10314
+ [key: string]: Keyword[];
10315
+ };
10316
+ type: StreamItemTypes.Post;
10317
+ isUnread: boolean;
10318
+ keywordsList?: Keyword[];
10319
+ groupIds?: string[];
10320
+ postAttachments?: StreamAttachment[];
10321
+ postComments?: PaginatedList<StreamPostComment>;
10322
+ hasMoreUnreadComments: boolean;
10323
+ id: string;
10324
+ comments?: PaginatedList<Comment>;
10325
+ groupId: string;
10326
+ content: string;
10327
+ permalink?: string;
10328
+ author: import("@livetiles/reach/util/common").Account;
10329
+ publishingDate: string;
10330
+ modified?: string;
10331
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10332
+ contentLanguageCode?: string;
10333
+ isLiked?: boolean;
10334
+ isDemoContent?: boolean;
10335
+ poll?: import("@livetiles/reach/util/common").Poll;
10336
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10337
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10338
+ fileAccessToken?: string;
10339
+ attachmentContainerId?: string;
10340
+ } | {
10341
+ knownState: KnownNewsState;
10342
+ pageType?: undefined;
10343
+ navigationContext?: undefined;
10344
+ userResponse: EventResponse;
10345
+ channels: {
10346
+ name: string;
10347
+ }[];
10348
+ contents: {};
10349
+ bannerInfo: {
10350
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10351
+ type: "video" | "image";
10352
+ videoId?: string;
10353
+ videoUrl?: string;
10354
+ isDirectVideoUrl?: boolean;
10355
+ imageId?: string;
10356
+ };
10357
+ keywords: {
10358
+ [key: string]: Keyword[];
10359
+ };
10360
+ type: StreamItemTypes.Post;
10361
+ isUnread: boolean;
10362
+ keywordsList?: Keyword[];
10363
+ groupIds?: string[];
10364
+ postAttachments?: StreamAttachment[];
10365
+ postComments?: PaginatedList<StreamPostComment>;
10366
+ hasMoreUnreadComments: boolean;
10367
+ id: string;
10368
+ comments?: PaginatedList<Comment>;
10369
+ groupId: string;
10370
+ content: string;
10371
+ permalink?: string;
10372
+ author: import("@livetiles/reach/util/common").Account;
10373
+ publishingDate: string;
10374
+ modified?: string;
10375
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10376
+ contentLanguageCode?: string;
10377
+ isLiked?: boolean;
10378
+ isDemoContent?: boolean;
10379
+ poll?: import("@livetiles/reach/util/common").Poll;
10380
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10381
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10382
+ fileAccessToken?: string;
10383
+ attachmentContainerId?: string;
10384
+ } | {
10385
+ knownState?: undefined;
10386
+ pageType: PageType;
10387
+ navigationContext: PageNavigationContext;
10388
+ userResponse: EventResponse;
10389
+ channels: {
10390
+ name: string;
10391
+ }[];
10392
+ contents: {};
10393
+ bannerInfo: {
10394
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10395
+ type: "video" | "image";
10396
+ videoId?: string;
10397
+ videoUrl?: string;
10398
+ isDirectVideoUrl?: boolean;
10399
+ imageId?: string;
10400
+ };
10401
+ keywords: {
10402
+ [key: string]: Keyword[];
10403
+ };
10404
+ type: StreamItemTypes.Post;
10405
+ isUnread: boolean;
10406
+ keywordsList?: Keyword[];
10407
+ groupIds?: string[];
10408
+ postAttachments?: StreamAttachment[];
10409
+ postComments?: PaginatedList<StreamPostComment>;
10410
+ hasMoreUnreadComments: boolean;
10411
+ id: string;
10412
+ comments?: PaginatedList<Comment>;
10413
+ groupId: string;
10414
+ content: string;
10415
+ permalink?: string;
10416
+ author: import("@livetiles/reach/util/common").Account;
10417
+ publishingDate: string;
10418
+ modified?: string;
10419
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10420
+ contentLanguageCode?: string;
10421
+ isLiked?: boolean;
10422
+ isDemoContent?: boolean;
10423
+ poll?: import("@livetiles/reach/util/common").Poll;
10424
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10425
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10426
+ fileAccessToken?: string;
10427
+ attachmentContainerId?: string;
10428
+ } | {
10429
+ knownState: KnownNewsState;
10430
+ pageType: PageType;
10431
+ navigationContext: PageNavigationContext;
10432
+ userResponse: EventResponse;
10433
+ channels: {
10434
+ name: string;
10435
+ }[];
10436
+ contents: {};
10437
+ bannerInfo: {
10438
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10439
+ type: "video" | "image";
10440
+ videoId?: string;
10441
+ videoUrl?: string;
10442
+ isDirectVideoUrl?: boolean;
10443
+ imageId?: string;
10444
+ };
10445
+ keywords: {
10446
+ [key: string]: Keyword[];
10447
+ };
10448
+ type: StreamItemTypes.Post;
10449
+ isUnread: boolean;
10450
+ keywordsList?: Keyword[];
10451
+ groupIds?: string[];
10452
+ postAttachments?: StreamAttachment[];
10453
+ postComments?: PaginatedList<StreamPostComment>;
10454
+ hasMoreUnreadComments: boolean;
10455
+ id: string;
10456
+ comments?: PaginatedList<Comment>;
10457
+ groupId: string;
10458
+ content: string;
10459
+ permalink?: string;
10460
+ author: import("@livetiles/reach/util/common").Account;
10461
+ publishingDate: string;
10462
+ modified?: string;
10463
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10464
+ contentLanguageCode?: string;
10465
+ isLiked?: boolean;
10466
+ isDemoContent?: boolean;
10467
+ poll?: import("@livetiles/reach/util/common").Poll;
10468
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10469
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10470
+ fileAccessToken?: string;
10471
+ attachmentContainerId?: string;
10472
+ } | {
10473
+ knownState: KnownNewsState;
10474
+ pageType?: undefined;
10475
+ navigationContext?: undefined;
10476
+ userResponse: EventResponse;
10477
+ channels: {
10478
+ name: string;
10479
+ }[];
10480
+ contents: {};
10481
+ bannerInfo: {
10482
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10483
+ type: "video" | "image";
10484
+ videoId?: string;
10485
+ videoUrl?: string;
10486
+ isDirectVideoUrl?: boolean;
10487
+ imageId?: string;
10488
+ };
10489
+ keywords: {
10490
+ [key: string]: Keyword[];
10491
+ };
10492
+ type: StreamItemTypes.News;
10493
+ contentsList: StreamPublishableItemContents[];
10494
+ channelsList: string[];
10495
+ isUnread: boolean;
10496
+ keywordsList?: Keyword[];
10497
+ knownNewsState?: StreamKnownNewsState[];
10498
+ source?: string;
10499
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
10500
+ expiryDate?: string;
10501
+ hasNewComments?: boolean;
10502
+ isLiked?: boolean;
10503
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10504
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10505
+ id?: string;
10506
+ versionId?: string;
10507
+ publishingDate?: string;
10508
+ deleted?: string;
10509
+ author?: import("@livetiles/reach/util/common").Account;
10510
+ owner?: import("@livetiles/reach/util/common").Account;
10511
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10512
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10513
+ fileAccessToken?: string;
10514
+ customProperties?: {
10515
+ [key: string]: any;
10516
+ };
10517
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10518
+ modified: string;
10519
+ created: string;
10520
+ publishedVersionId?: string;
10521
+ isCurrentPublishedVersion?: boolean;
10522
+ isLatestVersion?: boolean;
10523
+ permalink?: string;
10524
+ groupIds: string[];
10525
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10526
+ useExternalContent?: boolean;
10527
+ isDemoContent?: boolean;
10528
+ poll?: import("@livetiles/reach/util/common").Poll;
10529
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10530
+ } | {
10531
+ knownState: KnownNewsState;
10532
+ pageType: PageType;
10533
+ navigationContext: PageNavigationContext;
10534
+ userResponse: EventResponse;
10535
+ channels: {
10536
+ name: string;
10537
+ }[];
10538
+ contents: {};
10539
+ bannerInfo: {
10540
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10541
+ type: "video" | "image";
10542
+ videoId?: string;
10543
+ videoUrl?: string;
10544
+ isDirectVideoUrl?: boolean;
10545
+ imageId?: string;
10546
+ };
10547
+ keywords: {
10548
+ [key: string]: Keyword[];
10549
+ };
10550
+ type: StreamItemTypes.News;
10551
+ contentsList: StreamPublishableItemContents[];
10552
+ channelsList: string[];
10553
+ isUnread: boolean;
10554
+ keywordsList?: Keyword[];
10555
+ knownNewsState?: StreamKnownNewsState[];
10556
+ source?: string;
10557
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
10558
+ expiryDate?: string;
10559
+ hasNewComments?: boolean;
10560
+ isLiked?: boolean;
10561
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10562
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10563
+ id?: string;
10564
+ versionId?: string;
10565
+ publishingDate?: string;
10566
+ deleted?: string;
10567
+ author?: import("@livetiles/reach/util/common").Account;
10568
+ owner?: import("@livetiles/reach/util/common").Account;
10569
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10570
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10571
+ fileAccessToken?: string;
10572
+ customProperties?: {
10573
+ [key: string]: any;
10574
+ };
10575
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10576
+ modified: string;
10577
+ created: string;
10578
+ publishedVersionId?: string;
10579
+ isCurrentPublishedVersion?: boolean;
10580
+ isLatestVersion?: boolean;
10581
+ permalink?: string;
10582
+ groupIds: string[];
10583
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10584
+ useExternalContent?: boolean;
10585
+ isDemoContent?: boolean;
10586
+ poll?: import("@livetiles/reach/util/common").Poll;
10587
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10588
+ } | {
10589
+ knownState?: undefined;
10590
+ pageType?: undefined;
10591
+ navigationContext?: undefined;
10592
+ userResponse: EventResponse;
10593
+ channels: {
10594
+ name: string;
10595
+ }[];
10596
+ contents: {};
10597
+ bannerInfo: {
10598
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10599
+ type: "video" | "image";
10600
+ videoId?: string;
10601
+ videoUrl?: string;
10602
+ isDirectVideoUrl?: boolean;
10603
+ imageId?: string;
10604
+ };
10605
+ keywords: {
10606
+ [key: string]: Keyword[];
10607
+ };
10608
+ type: StreamItemTypes.Event;
10609
+ contentsList: StreamPublishableItemContents[];
10610
+ channelsList: string[];
10611
+ isUnread: boolean;
10612
+ keywordsList?: Keyword[];
10613
+ userResponseType?: StreamEventResponse;
10614
+ startDate?: string;
10615
+ endDate?: string;
10616
+ timeZone?: string;
10617
+ contacts?: import("@livetiles/reach/util/common").Account[];
10618
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10619
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10620
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10621
+ hasNewComments?: boolean;
10622
+ isLiked?: boolean;
10623
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10624
+ recurrenceSeriesId?: string;
10625
+ isSeriesMaster?: string;
10626
+ isVirtual?: boolean;
10627
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10628
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10629
+ id?: string;
10630
+ versionId?: string;
10631
+ publishingDate?: string;
10632
+ deleted?: string;
10633
+ author?: import("@livetiles/reach/util/common").Account;
10634
+ owner?: import("@livetiles/reach/util/common").Account;
10635
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10636
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10637
+ fileAccessToken?: string;
10638
+ customProperties?: {
10639
+ [key: string]: any;
10640
+ };
10641
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10642
+ modified: string;
10643
+ created: string;
10644
+ publishedVersionId?: string;
10645
+ isCurrentPublishedVersion?: boolean;
10646
+ isLatestVersion?: boolean;
10647
+ permalink?: string;
10648
+ groupIds: string[];
10649
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10650
+ useExternalContent?: boolean;
10651
+ isDemoContent?: boolean;
10652
+ poll?: import("@livetiles/reach/util/common").Poll;
10653
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10654
+ } | {
10655
+ knownState: KnownNewsState;
10656
+ pageType?: undefined;
10657
+ navigationContext?: undefined;
10658
+ userResponse: EventResponse;
10659
+ channels: {
10660
+ name: string;
10661
+ }[];
10662
+ contents: {};
10663
+ bannerInfo: {
10664
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10665
+ type: "video" | "image";
10666
+ videoId?: string;
10667
+ videoUrl?: string;
10668
+ isDirectVideoUrl?: boolean;
10669
+ imageId?: string;
10670
+ };
10671
+ keywords: {
10672
+ [key: string]: Keyword[];
10673
+ };
10674
+ type: StreamItemTypes.Event;
10675
+ contentsList: StreamPublishableItemContents[];
10676
+ channelsList: string[];
10677
+ isUnread: boolean;
10678
+ keywordsList?: Keyword[];
10679
+ userResponseType?: StreamEventResponse;
10680
+ startDate?: string;
10681
+ endDate?: string;
10682
+ timeZone?: string;
10683
+ contacts?: import("@livetiles/reach/util/common").Account[];
10684
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10685
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10686
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10687
+ hasNewComments?: boolean;
10688
+ isLiked?: boolean;
10689
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10690
+ recurrenceSeriesId?: string;
10691
+ isSeriesMaster?: string;
10692
+ isVirtual?: boolean;
10693
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10694
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10695
+ id?: string;
10696
+ versionId?: string;
10697
+ publishingDate?: string;
10698
+ deleted?: string;
10699
+ author?: import("@livetiles/reach/util/common").Account;
10700
+ owner?: import("@livetiles/reach/util/common").Account;
10701
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10702
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10703
+ fileAccessToken?: string;
10704
+ customProperties?: {
10705
+ [key: string]: any;
10706
+ };
10707
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10708
+ modified: string;
10709
+ created: string;
10710
+ publishedVersionId?: string;
10711
+ isCurrentPublishedVersion?: boolean;
10712
+ isLatestVersion?: boolean;
10713
+ permalink?: string;
10714
+ groupIds: string[];
10715
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10716
+ useExternalContent?: boolean;
10717
+ isDemoContent?: boolean;
10718
+ poll?: import("@livetiles/reach/util/common").Poll;
10719
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10720
+ } | {
10721
+ knownState?: undefined;
10722
+ pageType: PageType;
10723
+ navigationContext: PageNavigationContext;
10724
+ userResponse: EventResponse;
10725
+ channels: {
10726
+ name: string;
10727
+ }[];
10728
+ contents: {};
10729
+ bannerInfo: {
10730
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10731
+ type: "video" | "image";
10732
+ videoId?: string;
10733
+ videoUrl?: string;
10734
+ isDirectVideoUrl?: boolean;
10735
+ imageId?: string;
10736
+ };
10737
+ keywords: {
10738
+ [key: string]: Keyword[];
10739
+ };
10740
+ type: StreamItemTypes.Event;
10741
+ contentsList: StreamPublishableItemContents[];
10742
+ channelsList: string[];
10743
+ isUnread: boolean;
10744
+ keywordsList?: Keyword[];
10745
+ userResponseType?: StreamEventResponse;
10746
+ startDate?: string;
10747
+ endDate?: string;
10748
+ timeZone?: string;
10749
+ contacts?: import("@livetiles/reach/util/common").Account[];
10750
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10751
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10752
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10753
+ hasNewComments?: boolean;
10754
+ isLiked?: boolean;
10755
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10756
+ recurrenceSeriesId?: string;
10757
+ isSeriesMaster?: string;
10758
+ isVirtual?: boolean;
10759
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10760
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10761
+ id?: string;
10762
+ versionId?: string;
10763
+ publishingDate?: string;
10764
+ deleted?: string;
10765
+ author?: import("@livetiles/reach/util/common").Account;
10766
+ owner?: import("@livetiles/reach/util/common").Account;
10767
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10768
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10769
+ fileAccessToken?: string;
10770
+ customProperties?: {
10771
+ [key: string]: any;
10772
+ };
10773
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10774
+ modified: string;
10775
+ created: string;
10776
+ publishedVersionId?: string;
10777
+ isCurrentPublishedVersion?: boolean;
10778
+ isLatestVersion?: boolean;
10779
+ permalink?: string;
10780
+ groupIds: string[];
10781
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10782
+ useExternalContent?: boolean;
10783
+ isDemoContent?: boolean;
10784
+ poll?: import("@livetiles/reach/util/common").Poll;
10785
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10786
+ } | {
10787
+ knownState: KnownNewsState;
10788
+ pageType: PageType;
10789
+ navigationContext: PageNavigationContext;
10790
+ userResponse: EventResponse;
10791
+ channels: {
10792
+ name: string;
10793
+ }[];
10794
+ contents: {};
10795
+ bannerInfo: {
10796
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10797
+ type: "video" | "image";
10798
+ videoId?: string;
10799
+ videoUrl?: string;
10800
+ isDirectVideoUrl?: boolean;
10801
+ imageId?: string;
10802
+ };
10803
+ keywords: {
10804
+ [key: string]: Keyword[];
9546
10805
  };
9547
- }>;
9548
- }
9549
- declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
9550
- import { FC } from 'react';
9551
- export const PostFollowButton: FC<{
9552
- itemId: string;
9553
- }>;
9554
- }
9555
- declare module "libs/reach/feature/content/src/posts/PostGroup" {
9556
- import { FC } from 'react';
9557
- import { NavLink } from 'react-router-dom';
9558
- export const PostGroup: FC<{
9559
- groupId: string;
9560
- to: string;
9561
- className?: string;
9562
- }>;
9563
- export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
9564
- }
9565
- declare module "libs/reach/feature/content/src/posts/PostDisplay" {
9566
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9567
- import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
9568
- interface Props {
9569
- post: Post;
9570
- className?: string;
9571
- threadId?: string;
9572
- onCustomPostDelete?: () => void;
9573
- comments?: PaginatedList<Comment>;
9574
- initialCommentsPageSize?: number;
9575
- onEditActiveChange?: (isEditMode: boolean) => void;
9576
- onShowCommentsChange?: (showComments: boolean) => void;
9577
- onThreadCommentDelete?: () => void;
9578
- onThreadReply?: (threadId: string) => void;
9579
- keywordSettings?: {
9580
- availableKeywords?: Keyword[];
9581
- defaultKeywords?: Keyword[];
9582
- mandatoryKeywords?: Keyword[];
10806
+ type: StreamItemTypes.Event;
10807
+ contentsList: StreamPublishableItemContents[];
10808
+ channelsList: string[];
10809
+ isUnread: boolean;
10810
+ keywordsList?: Keyword[];
10811
+ userResponseType?: StreamEventResponse;
10812
+ startDate?: string;
10813
+ endDate?: string;
10814
+ timeZone?: string;
10815
+ contacts?: import("@livetiles/reach/util/common").Account[];
10816
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10817
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10818
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10819
+ hasNewComments?: boolean;
10820
+ isLiked?: boolean;
10821
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10822
+ recurrenceSeriesId?: string;
10823
+ isSeriesMaster?: string;
10824
+ isVirtual?: boolean;
10825
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10826
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10827
+ id?: string;
10828
+ versionId?: string;
10829
+ publishingDate?: string;
10830
+ deleted?: string;
10831
+ author?: import("@livetiles/reach/util/common").Account;
10832
+ owner?: import("@livetiles/reach/util/common").Account;
10833
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10834
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10835
+ fileAccessToken?: string;
10836
+ customProperties?: {
10837
+ [key: string]: any;
9583
10838
  };
9584
- showGroup?: boolean;
9585
- onBeforeDelete?: (id: string) => unknown;
9586
- onAfterDelete?: (id: string) => unknown;
9587
- }
9588
- export const PostDisplay: React.FC<Props>;
9589
- }
9590
- declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
9591
- import { FC } from 'react';
9592
- import { UserGroup } from "libs/reach/util/common/src/index";
9593
- export const PostGroupsSelector: FC<{
9594
- groups: UserGroup[];
9595
- }>;
9596
- }
9597
- declare module "libs/reach/feature/content/src/posts/PostListItem" {
9598
- import { FC } from 'react';
9599
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9600
- import { Keyword } from "libs/reach/util/common/src/index";
9601
- interface Props {
9602
- post: Post;
9603
- onEditActiveChange?: (isEditMode: boolean) => void;
9604
- onShowCommentsChange?: (showComments: boolean) => void;
9605
- keywordSettings?: {
9606
- availableKeywords?: Keyword[];
9607
- defaultKeywords?: Keyword[];
9608
- mandatoryKeywords?: Keyword[];
10839
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10840
+ modified: string;
10841
+ created: string;
10842
+ publishedVersionId?: string;
10843
+ isCurrentPublishedVersion?: boolean;
10844
+ isLatestVersion?: boolean;
10845
+ permalink?: string;
10846
+ groupIds: string[];
10847
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10848
+ useExternalContent?: boolean;
10849
+ isDemoContent?: boolean;
10850
+ poll?: import("@livetiles/reach/util/common").Poll;
10851
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10852
+ } | {
10853
+ knownState?: undefined;
10854
+ pageType?: PageType;
10855
+ navigationContext?: PageNavigationContext;
10856
+ userResponse: EventResponse;
10857
+ channels: {
10858
+ name: string;
10859
+ }[];
10860
+ contents: {};
10861
+ bannerInfo: {
10862
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10863
+ type: "video" | "image";
10864
+ videoId?: string;
10865
+ videoUrl?: string;
10866
+ isDirectVideoUrl?: boolean;
10867
+ imageId?: string;
9609
10868
  };
9610
- showGroup: boolean;
9611
- onBeforeDelete?: (id: string) => unknown;
9612
- onAfterDelete?: (id: string) => unknown;
9613
- }
9614
- export const PostListItem: FC<Props>;
9615
- }
9616
- declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
9617
- import { FC } from 'react';
9618
- import { Post } from "libs/reach/feature/content/src/index";
9619
- import { Keyword } from "libs/reach/util/common/src/index";
9620
- export const PostWithSelfThreadHandling: FC<{
9621
- post: Post;
9622
- onEditActiveChange?: (isEditMode: boolean) => void;
9623
- onShowCommentsChange?: (showComments: boolean) => void;
9624
- keywordSettings?: {
9625
- availableKeywords?: Keyword[];
9626
- defaultKeywords?: Keyword[];
9627
- mandatoryKeywords?: Keyword[];
10869
+ keywords: {
10870
+ [key: string]: Keyword[];
9628
10871
  };
9629
- showGroup: boolean;
9630
- onBeforeDelete?: (id: string) => unknown;
9631
- onAfterDelete?: (id: string) => unknown;
9632
- }>;
10872
+ type: StreamItemTypes.Page;
10873
+ contentsList: StreamPublishableItemContents[];
10874
+ channelsList: string[];
10875
+ isUnread: boolean;
10876
+ keywordsList?: Keyword[];
10877
+ streamPageType?: string;
10878
+ path?: (PageNavigationNode & {
10879
+ parentId?: string;
10880
+ })[];
10881
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10882
+ parentId?: string;
10883
+ pathIds?: string[];
10884
+ position?: number;
10885
+ hasHiddenAncestor?: boolean;
10886
+ isUnlinked?: boolean;
10887
+ firstChildId?: string;
10888
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10889
+ id?: string;
10890
+ versionId?: string;
10891
+ publishingDate?: string;
10892
+ deleted?: string;
10893
+ author?: import("@livetiles/reach/util/common").Account;
10894
+ owner?: import("@livetiles/reach/util/common").Account;
10895
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10896
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10897
+ fileAccessToken?: string;
10898
+ customProperties?: {
10899
+ [key: string]: any;
10900
+ };
10901
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10902
+ modified: string;
10903
+ created: string;
10904
+ publishedVersionId?: string;
10905
+ isCurrentPublishedVersion?: boolean;
10906
+ isLatestVersion?: boolean;
10907
+ permalink?: string;
10908
+ groupIds: string[];
10909
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10910
+ useExternalContent?: boolean;
10911
+ isDemoContent?: boolean;
10912
+ poll?: import("@livetiles/reach/util/common").Poll;
10913
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10914
+ } | {
10915
+ knownState: KnownNewsState;
10916
+ pageType?: PageType;
10917
+ navigationContext?: PageNavigationContext;
10918
+ userResponse: EventResponse;
10919
+ channels: {
10920
+ name: string;
10921
+ }[];
10922
+ contents: {};
10923
+ bannerInfo: {
10924
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10925
+ type: "video" | "image";
10926
+ videoId?: string;
10927
+ videoUrl?: string;
10928
+ isDirectVideoUrl?: boolean;
10929
+ imageId?: string;
10930
+ };
10931
+ keywords: {
10932
+ [key: string]: Keyword[];
10933
+ };
10934
+ type: StreamItemTypes.Page;
10935
+ contentsList: StreamPublishableItemContents[];
10936
+ channelsList: string[];
10937
+ isUnread: boolean;
10938
+ keywordsList?: Keyword[];
10939
+ streamPageType?: string;
10940
+ path?: (PageNavigationNode & {
10941
+ parentId?: string;
10942
+ })[];
10943
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10944
+ parentId?: string;
10945
+ pathIds?: string[];
10946
+ position?: number;
10947
+ hasHiddenAncestor?: boolean;
10948
+ isUnlinked?: boolean;
10949
+ firstChildId?: string;
10950
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10951
+ id?: string;
10952
+ versionId?: string;
10953
+ publishingDate?: string;
10954
+ deleted?: string;
10955
+ author?: import("@livetiles/reach/util/common").Account;
10956
+ owner?: import("@livetiles/reach/util/common").Account;
10957
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10958
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10959
+ fileAccessToken?: string;
10960
+ customProperties?: {
10961
+ [key: string]: any;
10962
+ };
10963
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10964
+ modified: string;
10965
+ created: string;
10966
+ publishedVersionId?: string;
10967
+ isCurrentPublishedVersion?: boolean;
10968
+ isLatestVersion?: boolean;
10969
+ permalink?: string;
10970
+ groupIds: string[];
10971
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10972
+ useExternalContent?: boolean;
10973
+ isDemoContent?: boolean;
10974
+ poll?: import("@livetiles/reach/util/common").Poll;
10975
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10976
+ })[];
9633
10977
  }
9634
- declare module "libs/reach/feature/content/src/stream/stream-utils" {
9635
- export const MARK_ITEMS_AS_READ_MUTATION: import("@apollo/client").DocumentNode;
10978
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10979
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10980
+ import { DocumentNode } from '@apollo/client';
10981
+ import { Channel } from "libs/reach/util/common/src/index";
10982
+ import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
10983
+ export enum StreamEventResponse {
10984
+ NotSet = "NOTSET",
10985
+ Registered = "REGISTERED",
10986
+ Declined = "DECLINED"
10987
+ }
10988
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10989
+ }
10990
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10991
+ items: StreamItem[];
10992
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10993
+ loadMore: () => Promise<void>;
10994
+ pageInfo: {
10995
+ errors?: any;
10996
+ hasNextPage: boolean;
10997
+ skip: number;
10998
+ };
10999
+ refresh: () => Promise<void>;
11000
+ isLoadingFirstPage: boolean;
11001
+ };
11002
+ export const getStreamQuery: () => DocumentNode;
11003
+ export function hasFilter(filter?: StreamFilterDefinition): boolean;
11004
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11005
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
11006
+ export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
11007
+ export const OWNER_CONDITION: (owner: string) => string;
11008
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
11009
+ export const AUTHORS_CONDITION: (authors: string[]) => string;
11010
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
11011
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
11012
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
9636
11013
  }
9637
11014
  declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
9638
11015
  import { Post } from "libs/reach/feature/content/src/posts/utils";
@@ -9652,6 +11029,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
9652
11029
  export * from "libs/reach/feature/content/src/posts/PostCreator";
9653
11030
  export * from "libs/reach/feature/content/src/posts/PostDisplay";
9654
11031
  export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
11032
+ export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
9655
11033
  export * from "libs/reach/feature/content/src/posts/PostListItem";
9656
11034
  export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
9657
11035
  export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
@@ -9675,7 +11053,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
9675
11053
  onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
9676
11054
  onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
9677
11055
  className?: string;
9678
- useLargeAvatar?: boolean;
9679
11056
  useExternalLink?: boolean;
9680
11057
  }
9681
11058
  export const EditorListItem: FC<Props>;
@@ -9720,12 +11097,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
9720
11097
  }
9721
11098
  }
9722
11099
  declare module "libs/reach/feature/content/src/editor/useEditorApi" {
9723
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
11100
+ import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
9724
11101
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
9725
- import { PaginatedList } from "libs/reach/util/common/src/index";
9726
- import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
9727
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
9728
- import { ResponseItem } from "libs/reach/util/common/src/index";
9729
11102
  import { Observable } from 'rxjs';
9730
11103
  import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
9731
11104
  export function useEditorApi(): {
@@ -9745,6 +11118,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
9745
11118
  keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
9746
11119
  saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
9747
11120
  updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
11121
+ translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
9748
11122
  };
9749
11123
  }
9750
11124
  declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
@@ -9768,6 +11142,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
9768
11142
  declare module "libs/reach/feature/content/src/public-user/index" {
9769
11143
  export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
9770
11144
  }
11145
+ declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
11146
+ import { FC } from 'react';
11147
+ import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11148
+ export const StreamPostItemCard: FC<{
11149
+ post: PostStreamItem;
11150
+ onPostDelete: (id: string) => unknown;
11151
+ }>;
11152
+ }
11153
+ declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
11154
+ import { FC } from 'react';
11155
+ import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11156
+ export const StreamNewsItemCard: FC<{
11157
+ news: NewsStreamItem;
11158
+ }>;
11159
+ }
11160
+ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
11161
+ import { FC } from 'react';
11162
+ import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11163
+ export const StreamEventItemCard: FC<{
11164
+ event: EventStreamItem;
11165
+ }>;
11166
+ }
11167
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11168
+ import { FC } from 'react';
11169
+ export const GlobalSearchButton: FC;
11170
+ }
11171
+ declare module "libs/reach/feature/content/src/stream/StreamList" {
11172
+ import { FC } from 'react';
11173
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11174
+ export type StreamQueryResult = {
11175
+ items: StreamItem[];
11176
+ };
11177
+ export const StreamList: FC;
11178
+ }
11179
+ declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
11180
+ import { PaginatedList } from "libs/reach/util/common/src/index";
11181
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
11182
+ import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11183
+ export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
11184
+ export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
11185
+ }
11186
+ declare module "libs/reach/feature/content/src/stream/index" {
11187
+ export * from "libs/reach/feature/content/src/stream/StreamList";
11188
+ export * from "libs/reach/feature/content/src/stream/streamUtils";
11189
+ export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
11190
+ export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
11191
+ export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
11192
+ export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
11193
+ export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
11194
+ }
11195
+ declare module "libs/reach/feature/content/src/search/index" {
11196
+ export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
11197
+ }
9771
11198
  declare module "libs/reach/feature/content/src/index" {
9772
11199
  export * from "libs/reach/feature/content/src/comments/index";
9773
11200
  export * from "libs/reach/feature/content/src/common/index";
@@ -9780,6 +11207,8 @@ declare module "libs/reach/feature/content/src/index" {
9780
11207
  export * from "libs/reach/feature/content/src/posts/index";
9781
11208
  export * from "libs/reach/feature/content/src/editor/index";
9782
11209
  export * from "libs/reach/feature/content/src/public-user/index";
11210
+ export * from "libs/reach/feature/content/src/stream/index";
11211
+ export * from "libs/reach/feature/content/src/search/index";
9783
11212
  }
9784
11213
  declare module "apps/reach-app/src/app/PublicAccessContext" {
9785
11214
  import { FC } from 'react';
@@ -9850,20 +11279,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
9850
11279
  }
9851
11280
  declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
9852
11281
  import './ContainerWithLogo.scss';
11282
+ import { LogoInfo } from "libs/reach/util/common/src/index";
11283
+ import { FC, ReactNode } from 'react';
9853
11284
  export enum DefaultLogoColor {
9854
11285
  Default = 0,
9855
11286
  White = 1
9856
11287
  }
9857
- type RenderChildren = React.ReactNode | (() => React.ReactNode);
9858
- export const ContainerWithLogo: React.FC<{
9859
- logo?: string;
9860
- logoColor?: DefaultLogoColor;
11288
+ type RenderChildren = ReactNode | (() => ReactNode);
11289
+ export const ContainerWithLogo: FC<{
11290
+ logoInfo?: LogoInfo;
9861
11291
  text?: string;
9862
11292
  headerClassName?: string;
9863
11293
  additionalClasses?: string;
9864
11294
  children: RenderChildren;
9865
11295
  className?: string;
9866
11296
  additionalContent?: RenderChildren;
11297
+ isBrandedContainer?: boolean;
9867
11298
  }>;
9868
11299
  }
9869
11300
  declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
@@ -9895,7 +11326,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
9895
11326
  MobileHidden = 1
9896
11327
  }
9897
11328
  export function shutdownZendesk(): void;
9898
- export function useZendesk(initialState?: ZendeskInitialState): {
11329
+ export function useZendeskWithSubscription(): {
11330
+ showZendeskChat: () => void;
11331
+ toggleIcon: (show: boolean) => void;
11332
+ };
11333
+ export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
9899
11334
  showZendeskChat: () => void;
9900
11335
  toggleIcon: (show: boolean) => void;
9901
11336
  };
@@ -9910,27 +11345,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
9910
11345
  }
9911
11346
  declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
9912
11347
  import { FC } from 'react';
9913
- import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
9914
- export interface PageAction {
9915
- key?: string | number;
9916
- title?: string;
9917
- iconName?: string;
9918
- to?: string;
9919
- onClick?: () => void;
9920
- isActive?: boolean;
9921
- exact?: boolean;
9922
- cannotBeActive?: boolean;
9923
- submenuContents?: JSX.Element;
9924
- submenuStyleDefinition?: StyleDefinition;
9925
- badgeInfo?: number | boolean;
9926
- domIdentifier?: string;
9927
- secondaryIconName?: string;
9928
- secondaryIconTooltipResourceKey?: string;
9929
- onSecondaryIconClick?: () => void;
9930
- iconColor?: string;
9931
- className?: string;
9932
- }
9933
- export const PageMenuActionItem: FC<PageAction>;
11348
+ import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
11349
+ export const PageMenuActionItem: FC<PageNavigationNodeProps>;
9934
11350
  }
9935
11351
  declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
9936
11352
  import { FC } from 'react';
@@ -9940,7 +11356,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
9940
11356
  import { FC } from 'react';
9941
11357
  export const AdminActionItem: FC<{
9942
11358
  submenuContents: JSX.Element;
9943
- onClick: () => unknown;
11359
+ onClick?: () => unknown;
9944
11360
  title?: string;
9945
11361
  }>;
9946
11362
  const AdminRoutes: FC;
@@ -9954,7 +11370,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
9954
11370
  import { FC } from 'react';
9955
11371
  export const ChatMenuNode: FC<{
9956
11372
  title: string;
9957
- onClick: () => void;
11373
+ onClick?: () => void;
9958
11374
  }>;
9959
11375
  }
9960
11376
  declare module "apps/reach-app/src/app/chrome/Sidebar" {
@@ -9981,20 +11397,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
9981
11397
  className?: string;
9982
11398
  }>;
9983
11399
  }
9984
- declare module "apps/reach-app/src/app/about/ApplicationVersion" {
9985
- export default interface ApplicationVersion {
9986
- description: string;
9987
- version: string;
9988
- commitId: string;
9989
- }
9990
- }
9991
- declare module "apps/reach-app/src/app/chrome/VersionInfo" {
9992
- import { FC } from 'react';
9993
- export const VersionInfo: FC<{
9994
- className?: string;
9995
- renderCommitId?: boolean;
9996
- }>;
9997
- }
9998
11400
  declare module "apps/reach-app/src/AppLoaderContextProvider" {
9999
11401
  import { FC, ReactNode } from 'react';
10000
11402
  export const AppLoaderContext: import("react").Context<{
@@ -10140,6 +11542,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
10140
11542
  }
10141
11543
  declare module "apps/reach-app/src/plugins/reach-chrome" {
10142
11544
  import { Page } from "apps/reach-app/src/app/chrome/Page";
11545
+ import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
10143
11546
  import { NavLinkSidebarItem } from "apps/reach-app/src/app/chrome/SidebarItem";
10144
- export { Page, NavLinkSidebarItem };
11547
+ export { Page, NavLinkSidebarItem, PageMenuActionItem };
10145
11548
  }