@livetiles/reach-plugin-types 0.5.0-preview.4 → 0.5.0-preview.400

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.d.ts +1978 -1202
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -216,11 +216,27 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
216
216
  extraScopes: string[];
217
217
  }
218
218
  }
219
+ declare module "libs/shared/util/environment/src/AnalyticsConfig" {
220
+ export interface DashboardConfig {
221
+ name: string;
222
+ title: string;
223
+ id: number;
224
+ params?: string;
225
+ }
226
+ export interface AnalyticsConfig {
227
+ hostName: string;
228
+ regions?: {
229
+ [key: string]: string;
230
+ };
231
+ dashboards: DashboardConfig[];
232
+ }
233
+ }
219
234
  declare module "libs/shared/util/environment/src/AppConfiguration" {
220
235
  import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
221
236
  import { AuthenticationType } from "libs/shared/util/authentication/src/index";
222
237
  import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
223
238
  import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
239
+ import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
224
240
  export enum ConfigType {
225
241
  Local = "local",
226
242
  Dev = "dev",
@@ -232,6 +248,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
232
248
  export interface VideoSource {
233
249
  prefix: string;
234
250
  name: string;
251
+ alwaysShowPlayer?: boolean;
235
252
  }
236
253
  export interface AppConfiguration {
237
254
  configType: ConfigType;
@@ -266,9 +283,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
266
283
  oneSignal?: {
267
284
  appId: string;
268
285
  };
286
+ analytics: AnalyticsConfig;
269
287
  }
270
288
  }
271
289
  declare module "libs/shared/util/environment/src/ClientConfig" {
290
+ import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
291
+ import { ConfigType, VideoSource } from "libs/shared/util/environment/src/AppConfiguration";
272
292
  export interface ClientConfig {
273
293
  maxFileSizeInMb: number;
274
294
  unsplash: {
@@ -286,9 +306,13 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
286
306
  giphy: {
287
307
  apiKey: string;
288
308
  };
309
+ analytics: AnalyticsConfig;
310
+ configType: ConfigType;
311
+ additionalVideoSources: VideoSource[];
289
312
  }
290
313
  }
291
314
  declare module "libs/shared/util/environment/src/EnvironmentConfig" {
315
+ import { DeviceInfo } from '@capacitor/device';
292
316
  export interface EnvironmentConfig {
293
317
  isCustomerBuild: boolean;
294
318
  isProduction: boolean;
@@ -306,11 +330,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
306
330
  buildId: string;
307
331
  useAzureAdFunctionality: boolean;
308
332
  envName: string;
309
- }
310
- type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
311
- interface DeviceInfo {
312
- platform: 'ios' | 'android' | 'web';
313
- operatingSystem: OperatingSystem;
333
+ mobileTeamsHost?: string;
314
334
  }
315
335
  }
316
336
  declare module "libs/shared/util/environment/src/environment" {
@@ -322,6 +342,7 @@ declare module "libs/shared/util/environment/src/environment" {
322
342
  export function setAppConfig(newValue: AppConfiguration & ClientConfig): void;
323
343
  }
324
344
  declare module "libs/shared/util/environment/src/EnvironmentContext" {
345
+ import { VideoSource } from "libs/shared/util/environment/src/AppConfiguration";
325
346
  import { EnvironmentConfig } from "libs/shared/util/environment/src/EnvironmentConfig";
326
347
  interface AppConfig {
327
348
  apiEndpoint: string;
@@ -329,6 +350,7 @@ declare module "libs/shared/util/environment/src/EnvironmentContext" {
329
350
  webSocketsEndpoint: string;
330
351
  webAppUrl: string;
331
352
  additionalWebAppUrls?: string[];
353
+ additionalVideoSources?: VideoSource[];
332
354
  }
333
355
  export type EnvironmentContextType = {
334
356
  env: EnvironmentConfig;
@@ -1026,6 +1048,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
1026
1048
  language?: string;
1027
1049
  }>;
1028
1050
  }
1051
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
1052
+ import locale from 'date-fns/locale/ar-DZ';
1053
+ export default locale;
1054
+ }
1055
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
1056
+ import locale from 'date-fns/locale/ar-MA';
1057
+ export default locale;
1058
+ }
1059
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
1060
+ import locale from 'date-fns/locale/ar-SA';
1061
+ export default locale;
1062
+ }
1063
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
1064
+ import locale from 'date-fns/locale/bg';
1065
+ export default locale;
1066
+ }
1067
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
1068
+ import locale from 'date-fns/locale/bn';
1069
+ export default locale;
1070
+ }
1071
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
1072
+ import locale from 'date-fns/locale/ca';
1073
+ export default locale;
1074
+ }
1075
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
1076
+ import locale from 'date-fns/locale/cs';
1077
+ export default locale;
1078
+ }
1079
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
1080
+ import locale from 'date-fns/locale/da';
1081
+ export default locale;
1082
+ }
1083
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
1084
+ import locale from 'date-fns/locale/de';
1085
+ export default locale;
1086
+ }
1087
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
1088
+ import locale from 'date-fns/locale/el';
1089
+ export default locale;
1090
+ }
1091
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
1092
+ import locale from 'date-fns/locale/en-AU';
1093
+ export default locale;
1094
+ }
1095
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
1096
+ import locale from 'date-fns/locale/en-CA';
1097
+ export default locale;
1098
+ }
1099
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
1100
+ import locale from 'date-fns/locale/en-GB';
1101
+ export default locale;
1102
+ }
1103
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
1104
+ import locale from 'date-fns/locale/en-NZ';
1105
+ export default locale;
1106
+ }
1107
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
1108
+ import locale from 'date-fns/locale/es';
1109
+ export default locale;
1110
+ }
1111
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
1112
+ import locale from 'date-fns/locale/et';
1113
+ export default locale;
1114
+ }
1115
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
1116
+ import locale from 'date-fns/locale/fa-IR';
1117
+ export default locale;
1118
+ }
1119
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
1120
+ import locale from 'date-fns/locale/fi';
1121
+ export default locale;
1122
+ }
1123
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
1124
+ import locale from 'date-fns/locale/fr-CA';
1125
+ export default locale;
1126
+ }
1127
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
1128
+ import locale from 'date-fns/locale/fr-CH';
1129
+ export default locale;
1130
+ }
1131
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
1132
+ import locale from 'date-fns/locale/fr';
1133
+ export default locale;
1134
+ }
1135
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
1136
+ import locale from 'date-fns/locale/gu';
1137
+ export default locale;
1138
+ }
1139
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
1140
+ import locale from 'date-fns/locale/he';
1141
+ export default locale;
1142
+ }
1143
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
1144
+ import locale from 'date-fns/locale/hi';
1145
+ export default locale;
1146
+ }
1147
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
1148
+ import locale from 'date-fns/locale/hr';
1149
+ export default locale;
1150
+ }
1151
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
1152
+ import locale from 'date-fns/locale/hu';
1153
+ export default locale;
1154
+ }
1155
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
1156
+ import locale from 'date-fns/locale/id';
1157
+ export default locale;
1158
+ }
1159
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
1160
+ import locale from 'date-fns/locale/it';
1161
+ export default locale;
1162
+ }
1163
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
1164
+ import locale from 'date-fns/locale/ja';
1165
+ export default locale;
1166
+ }
1167
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
1168
+ import locale from 'date-fns/locale/kn';
1169
+ export default locale;
1170
+ }
1171
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
1172
+ import locale from 'date-fns/locale/ko';
1173
+ export default locale;
1174
+ }
1175
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
1176
+ import locale from 'date-fns/locale/lt';
1177
+ export default locale;
1178
+ }
1179
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
1180
+ import locale from 'date-fns/locale/lv';
1181
+ export default locale;
1182
+ }
1183
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
1184
+ import locale from 'date-fns/locale/ms';
1185
+ export default locale;
1186
+ }
1187
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
1188
+ import locale from 'date-fns/locale/nb';
1189
+ export default locale;
1190
+ }
1191
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
1192
+ import locale from 'date-fns/locale/nl-BE';
1193
+ export default locale;
1194
+ }
1195
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
1196
+ import locale from 'date-fns/locale/nl';
1197
+ export default locale;
1198
+ }
1199
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
1200
+ import locale from 'date-fns/locale/pl';
1201
+ export default locale;
1202
+ }
1203
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
1204
+ import locale from 'date-fns/locale/pt-BR';
1205
+ export default locale;
1206
+ }
1207
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
1208
+ import locale from 'date-fns/locale/pt';
1209
+ export default locale;
1210
+ }
1211
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
1212
+ import locale from 'date-fns/locale/ro';
1213
+ export default locale;
1214
+ }
1215
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
1216
+ import locale from 'date-fns/locale/ru';
1217
+ export default locale;
1218
+ }
1219
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
1220
+ import locale from 'date-fns/locale/sk';
1221
+ export default locale;
1222
+ }
1223
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
1224
+ import locale from 'date-fns/locale/sl';
1225
+ export default locale;
1226
+ }
1227
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
1228
+ import locale from 'date-fns/locale/sr-Latn';
1229
+ export default locale;
1230
+ }
1231
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
1232
+ import locale from 'date-fns/locale/sr';
1233
+ export default locale;
1234
+ }
1235
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
1236
+ import locale from 'date-fns/locale/sv';
1237
+ export default locale;
1238
+ }
1239
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
1240
+ import locale from 'date-fns/locale/ta';
1241
+ export default locale;
1242
+ }
1243
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
1244
+ import locale from 'date-fns/locale/te';
1245
+ export default locale;
1246
+ }
1247
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
1248
+ import locale from 'date-fns/locale/th';
1249
+ export default locale;
1250
+ }
1251
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
1252
+ import locale from 'date-fns/locale/tr';
1253
+ export default locale;
1254
+ }
1255
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
1256
+ import locale from 'date-fns/locale/uk';
1257
+ export default locale;
1258
+ }
1259
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
1260
+ import locale from 'date-fns/locale/vi';
1261
+ export default locale;
1262
+ }
1263
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
1264
+ import locale from 'date-fns/locale/zh-CN';
1265
+ export default locale;
1266
+ }
1267
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
1268
+ import locale from 'date-fns/locale/zh-TW';
1269
+ export default locale;
1270
+ }
1271
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
1272
+ import locale from 'date-fns/locale/en-US';
1273
+ export default locale;
1274
+ }
1275
+ declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
1276
+ export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
1277
+ }
1029
1278
  declare module "libs/reach/util/common/src/user/features/FeatureSet" {
1030
1279
  export const orderedFeatureSet: string[];
1031
1280
  export class FeatureSet {
@@ -1198,6 +1447,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1198
1447
  customDomain?: string;
1199
1448
  allowSelfRegistration?: boolean;
1200
1449
  brandFolderConfig?: BrandFolderConfig;
1450
+ hideSubscriptionName?: boolean;
1201
1451
  }
1202
1452
  export interface BrandFolderConfig {
1203
1453
  sections?: string[];
@@ -1274,9 +1524,21 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1274
1524
  subscriptionId: string;
1275
1525
  subscriptionName: string;
1276
1526
  }
1277
- export interface PluginExtension {
1278
- area: string;
1279
- componentName: string;
1527
+ export enum ExtensionArea {
1528
+ global = "Global",
1529
+ page = "Page",
1530
+ eventEditorFeedbackSection = "EventEditorFeedbackSection",
1531
+ eventDetailViewSection = "EventDetailViewSection",
1532
+ itemEditor = "ItemEditor",
1533
+ newsEditorFeedbackSection = "NewsEditorFeedbackSection",
1534
+ newsOverviewCardSection = "NewsOverviewCardSection"
1535
+ }
1536
+ export type InlinePlugin = {
1537
+ area: ExtensionArea.itemEditor;
1538
+ objectButton: PluginObjectButton;
1539
+ };
1540
+ export type PagePlugin = {
1541
+ area: ExtensionArea.page;
1280
1542
  route: string;
1281
1543
  navigationNode?: {
1282
1544
  componentName?: string;
@@ -1286,7 +1548,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1286
1548
  [key: string]: string;
1287
1549
  };
1288
1550
  };
1289
- }
1551
+ };
1552
+ export type PluginExtension = {
1553
+ area: ExtensionArea;
1554
+ componentName: string;
1555
+ } & (InlinePlugin | PagePlugin);
1556
+ export type PluginObjectButton = {
1557
+ buttonLabel: {
1558
+ defaultLabel: string;
1559
+ translations?: {
1560
+ [key: string]: string;
1561
+ };
1562
+ };
1563
+ iconName: string;
1564
+ };
1290
1565
  export interface PluginNotificationDefinitions {
1291
1566
  key: string;
1292
1567
  title: string;
@@ -1390,6 +1665,8 @@ declare module "libs/reach/util/common/src/user/User" {
1390
1665
  pluginNotifications: {
1391
1666
  [key: string]: NotificationType;
1392
1667
  };
1668
+ newsEditor: NotificationType;
1669
+ eventEditor: NotificationType;
1393
1670
  }
1394
1671
  export interface RequestUser extends BasicUserInformation {
1395
1672
  tenantId: string;
@@ -1425,6 +1702,7 @@ declare module "libs/reach/util/common/src/user/User" {
1425
1702
  termsAndConditionsApprovedHash: string;
1426
1703
  isPublicUser?: boolean;
1427
1704
  hasUnreadChats?: boolean;
1705
+ publicSubscriptionIds?: string[];
1428
1706
  }
1429
1707
  export interface GroupUser extends UserSummary {
1430
1708
  role: {
@@ -1443,6 +1721,7 @@ declare module "libs/reach/util/common/src/user/User" {
1443
1721
  subscriptionId: string;
1444
1722
  tenantId: string;
1445
1723
  expires?: string;
1724
+ hasPrivateEmail?: boolean;
1446
1725
  }
1447
1726
  export interface HashUser {
1448
1727
  id: string;
@@ -1489,6 +1768,7 @@ declare module "libs/reach/util/common/src/user/User" {
1489
1768
  user: UserSummary;
1490
1769
  type: SubscriptionJoinResultType;
1491
1770
  message?: string;
1771
+ isSuccess?: boolean;
1492
1772
  }
1493
1773
  export interface UserActivationResult {
1494
1774
  type: UserActivationResultType;
@@ -1715,11 +1995,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
1715
1995
  knownState: KnownNewsState;
1716
1996
  hasNewComments?: boolean;
1717
1997
  isLiked?: boolean;
1718
- shareToken?: ShareToken;
1719
- }
1720
- export interface ShareToken {
1721
- published?: string;
1722
- preview?: string;
1723
1998
  }
1724
1999
  export interface NewsItemAlertOptions {
1725
2000
  duration?: string;
@@ -1907,6 +2182,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1907
2182
  useExternalContent?: boolean;
1908
2183
  isDemoContent?: boolean;
1909
2184
  }
2185
+ export interface ShareablePublishableItem extends PublishableItem {
2186
+ shareToken: ShareToken;
2187
+ }
2188
+ export interface ShareToken {
2189
+ published?: string;
2190
+ preview?: string;
2191
+ }
1910
2192
  export interface PublishableItemVersion extends PublishableItem {
1911
2193
  itemId: string;
1912
2194
  versionModificationDate: string;
@@ -1930,6 +2212,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1930
2212
  }
1931
2213
  }
1932
2214
  declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
2215
+ import { Api } from 'restful.js';
1933
2216
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
1934
2217
  export class ClientFactoryInstance {
1935
2218
  private env;
@@ -1940,7 +2223,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
1940
2223
  constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
1941
2224
  url: string;
1942
2225
  }) => Promise<unknown>);
1943
- createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => any;
2226
+ createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
1944
2227
  private createApiInternal;
1945
2228
  private addRequestTimeLogger;
1946
2229
  createApiUrl: (url: string, query?: {
@@ -2033,6 +2316,11 @@ declare module "libs/reach/util/common/src/user/useCurrentUserApi" {
2033
2316
  deleteCurrentUserAvatar: () => Promise<unknown>;
2034
2317
  };
2035
2318
  }
2319
+ declare module "libs/reach/util/common/src/user/useCachedCurrentUserApi" {
2320
+ export function useCachedCurrentUserApi(): {
2321
+ getCurrentUser: (subscriptionId: string) => Promise<import("libs/reach/util/common/src/user").CurrentUser>;
2322
+ };
2323
+ }
2036
2324
  declare module "libs/reach/util/common/src/content/Attachment" {
2037
2325
  export enum AttachmentType {
2038
2326
  Image = 0,
@@ -2258,12 +2546,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2258
2546
  isUnlinked?: boolean;
2259
2547
  pageType?: PageType;
2260
2548
  firstChildId?: string;
2549
+ isGroupInheritanceBroken?: boolean;
2261
2550
  }
2262
2551
  export interface ContentsSummary {
2263
2552
  [lang: string]: TitleContent & {
2264
2553
  fileInfo?: DocumentFileInfo;
2265
2554
  };
2266
2555
  }
2556
+ export interface GroupInheritanceUpdateRequest {
2557
+ breakGroupInheritance: boolean;
2558
+ }
2267
2559
  export interface PageNavigationNode {
2268
2560
  id: string;
2269
2561
  contents?: ContentsSummary;
@@ -2279,6 +2571,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2279
2571
  hasAnyPageChild?: boolean;
2280
2572
  pageType?: PageType;
2281
2573
  useExternalContent?: boolean;
2574
+ isGroupInheritanceBroken?: boolean;
2282
2575
  isSearchMatch?: boolean;
2283
2576
  topLevelFolderName?: string;
2284
2577
  uploadToken?: string;
@@ -2447,6 +2740,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
2447
2740
  export function accessDeniedIntercept(error: any): Promise<boolean>;
2448
2741
  export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
2449
2742
  }
2743
+ declare module "libs/reach/util/common/src/Variables" {
2744
+ export const maxContentWidth = 985;
2745
+ export const adminMaxWidth = 600;
2746
+ export const spacingXxs = 3;
2747
+ export const spacingXs = 6;
2748
+ export const spacingS = 10;
2749
+ export const spacingM = 20;
2750
+ export const spacingL = 30;
2751
+ export const spacingX = 40;
2752
+ export const spacingXl = 60;
2753
+ export const minScreenSize: {
2754
+ small: number;
2755
+ medium: number;
2756
+ large: number;
2757
+ xLarge: number;
2758
+ xxLarge: number;
2759
+ xxxLarge: number;
2760
+ };
2761
+ export const maxScreenSize: {
2762
+ small: number;
2763
+ medium: number;
2764
+ large: number;
2765
+ xLarge: number;
2766
+ xxLarge: number;
2767
+ };
2768
+ export const sidebarWidth = 285;
2769
+ export const sidebarWidthRight = 320;
2770
+ export const sidebarItemHeight = 50;
2771
+ export const headerHeight = 50;
2772
+ export const headerSecondaryHeight = 50;
2773
+ export const notificationHeight = 50;
2774
+ export const mainContentPanelWidth = 300;
2775
+ export const mainContentPanelMinScreenSize = 1740;
2776
+ export const fontSizeLarger = 40;
2777
+ export const fontSizeLarge = 25;
2778
+ export const fontSizeMedium = 18;
2779
+ export const fontSizeNormal = 16;
2780
+ export const fontSizeSmall = 14;
2781
+ export const fontSizeSmaller = 12;
2782
+ export const socialIconSize = 26;
2783
+ export const lineHeight = 23;
2784
+ export const smallScreenLoginHeight = 40;
2785
+ export const bannerAspectRatio: number;
2786
+ export const bannerWidth = 980;
2787
+ export const bannerHeight = 420;
2788
+ export const HighlightBubbleSize = 12;
2789
+ export const StatusBubbleSize = 10;
2790
+ export const shadowColor = "rgba(0, 0, 0, 0.2)";
2791
+ export const diffPreviousVersionColour = "rgb(221, 221, 221)";
2792
+ export const diffActiveVersionColour = "rgb(206, 255, 188)";
2793
+ export const dialogSpacing = 24;
2794
+ export const detailViewSectionPadding = 20;
2795
+ export const detailViewSectionPaddingLarge = 60;
2796
+ export const postsSectionPadding = 20;
2797
+ export const attachmentRoundedCornerSize = 10;
2798
+ export const videoAttachmentRoundedCornerSize = 20;
2799
+ export const inlinePageBannerRoundedCornerSize = 5;
2800
+ export const feedbackButtonHeight = 32;
2801
+ export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
2802
+ export const mainContentContainerId = "lt-reach-main-content";
2803
+ export const mainModalContentContainerId = "lt-reach-main-modal-content";
2804
+ export const statusColors: {
2805
+ draft: string;
2806
+ ready: string;
2807
+ rejected: string;
2808
+ };
2809
+ export const cardWidthS = 260;
2810
+ export const cardWidthM = 354;
2811
+ export const cardWidthL = 314;
2812
+ export const cardWidthXL = 423;
2813
+ export const managePagesRowWidth = 300;
2814
+ export const managePagesRowHeight = 40;
2815
+ export const mobilePreviewWidth = 414;
2816
+ }
2817
+ declare module "libs/reach/util/common/src/common-utils" {
2818
+ import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
2819
+ import { IntlShape } from 'react-intl';
2820
+ export function getMainScrollableContainer(): HTMLElement;
2821
+ export enum LinkType {
2822
+ Internal = "internal",
2823
+ External = "external",
2824
+ Download = "download"
2825
+ }
2826
+ export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
2827
+ export const DefaultSubscriptionName = "LiveTiles Reach";
2828
+ export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
2829
+ export function getSubscriptionName(subscription: SubscriptionSummary): string;
2830
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
2831
+ logoInfo: LogoInfo;
2832
+ subscriptionName: string;
2833
+ };
2834
+ }
2835
+ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
2836
+ export enum AnalyticsInteractionEvents {
2837
+ embeddedVideo = "embedded-video",
2838
+ embeddedAudio = "embedded-audio",
2839
+ languageChange = "language-change",
2840
+ eventRegistration = "event-registration",
2841
+ eventSeriesRegistration = "event-series-registration",
2842
+ translateContent = "translate-content",
2843
+ downloadFile = "download-file",
2844
+ embeddedIframe = "embedded-iframe",
2845
+ externalLink = "external-link",
2846
+ follow = "follow",
2847
+ bookmark = "bookmark"
2848
+ }
2849
+ export enum AnalyticsActions {
2850
+ click = "click",
2851
+ navigate = "navigate",
2852
+ view = "view",
2853
+ search = "search"
2854
+ }
2855
+ export enum AnalyticsModuleType {
2856
+ Admin = "admin",
2857
+ Chat = "chat",
2858
+ Comments = "comments",
2859
+ Events = "events",
2860
+ Search = "search",
2861
+ News = "news",
2862
+ Pages = "pages",
2863
+ People = "people",
2864
+ Posts = "posts",
2865
+ Stream = "stream",
2866
+ User = "user"
2867
+ }
2868
+ export enum AnalyticsModuleSubtype {
2869
+ AllChats = "allChats",
2870
+ AllNews = "allNews",
2871
+ AllPosts = "allPosts",
2872
+ Bookmarks = "bookmarks",
2873
+ Channel = "channel",
2874
+ Channels = "channels",
2875
+ ChatConversation = "conversation",
2876
+ Customization = "customization",
2877
+ DetailView = "detailView",
2878
+ DirectoryConfig = "directoryConfiguration",
2879
+ Group = "group",
2880
+ Groups = "groups",
2881
+ Keywords = "keywords",
2882
+ Languages = "languages",
2883
+ MyNews = "myNews",
2884
+ Owners = "owners",
2885
+ Preview = "preview",
2886
+ RootPages = "rootPages",
2887
+ Search = "search",
2888
+ SelfRegistration = "selfRegistration",
2889
+ TargetAudience = "targetAudience",
2890
+ UpcomingEvents = "upcoming",
2891
+ BookedEvents = "booked",
2892
+ PastEvents = "past",
2893
+ Users = "users",
2894
+ WebHooks = "webHooks",
2895
+ Editor = "editor"
2896
+ }
2897
+ }
2898
+ declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
2899
+ export function useLinkInteraction(): void;
2900
+ }
2901
+ declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
2902
+ export function useIframeInteraction(): void;
2903
+ }
2904
+ declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
2905
+ import { FC } from 'react';
2906
+ import { EventModule } from '@livetiles/analytics';
2907
+ export const AnalyticsModuleContext: import("react").Context<EventModule>;
2908
+ export const AnalyticsModuleContextProvider: FC<{
2909
+ module: EventModule;
2910
+ }>;
2911
+ }
2912
+ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
2913
+ import { Dispatch, FC, SetStateAction } from 'react';
2914
+ import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
2915
+ export interface SearchAnalytics {
2916
+ data: EventSearch[];
2917
+ onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
2918
+ onItemRead: (itemId: string) => void;
2919
+ }
2920
+ export interface ModuleAnalytics {
2921
+ module: EventModule;
2922
+ setModule: Dispatch<SetStateAction<EventModule>>;
2923
+ }
2924
+ interface ActivityAnalytics {
2925
+ trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
2926
+ sendActivity: () => void;
2927
+ }
2928
+ export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
2929
+ export const AnalyticsContext: import("react").Context<ReachAnalytics>;
2930
+ export function useAnalyticsContext(): {
2931
+ interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
2932
+ trackActivity: (scrollContainer?: HTMLElement) => Activity;
2933
+ getUser: () => import("@segment/analytics-next").User;
2934
+ identify: (userId: string, traits?: Record<string, unknown>) => void;
2935
+ activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
2936
+ module: EventModule;
2937
+ setModule: Dispatch<SetStateAction<EventModule>>;
2938
+ data: EventSearch[];
2939
+ onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
2940
+ onItemRead: (itemId: string) => void;
2941
+ sendActivity: () => void;
2942
+ };
2943
+ export const AnalyticsLibraryContextProvider: FC<{
2944
+ appName?: string;
2945
+ }>;
2946
+ export const AnalyticsContextProvider: FC;
2947
+ }
2948
+ declare module "libs/reach/util/common/src/PagingService" {
2949
+ import { Observable } from 'rxjs';
2950
+ export const onPageScroll: Observable<number>;
2951
+ export function handlePageScroll(availableScrollSpace: number): void;
2952
+ export function setPageTitle(subscriptionName: string, title?: string): void;
2953
+ export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
2954
+ }
2955
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
2956
+ import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
2957
+ export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
2958
+ export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
2959
+ }
2960
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
2961
+ export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
2962
+ }
2963
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
2964
+ export function useAnalyticsNavigateTrack(): void;
2965
+ }
2966
+ declare module "libs/reach/util/common/src/analytics/index" {
2967
+ export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
2968
+ export * from "libs/reach/util/common/src/analytics/analyticsUtils";
2969
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
2970
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
2971
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
2972
+ export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
2973
+ }
2450
2974
  declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
2451
2975
  import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
2452
2976
  import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
@@ -2520,6 +3044,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2520
3044
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2521
3045
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2522
3046
  importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
3047
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
3048
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2523
3049
  };
2524
3050
  }
2525
3051
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -2545,6 +3071,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2545
3071
  customDomain?: string;
2546
3072
  allowSelfRegistration?: boolean;
2547
3073
  brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
3074
+ hideSubscriptionName?: boolean;
2548
3075
  id: string;
2549
3076
  subscriptionName: string;
2550
3077
  subscriptionHandle?: string;
@@ -2588,6 +3115,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2588
3115
  termsAndConditionsApprovedHash: string;
2589
3116
  isPublicUser?: boolean;
2590
3117
  hasUnreadChats?: boolean;
3118
+ publicSubscriptionIds?: string[];
2591
3119
  id?: string;
2592
3120
  type?: import("@livetiles/reach/util/common").AccountType;
2593
3121
  tenantId?: string;
@@ -2629,13 +3157,6 @@ declare module "libs/reach/util/common/src/user/useSubscriptionWebAppUrl" {
2629
3157
  export function useSubscriptionWebAppUrl(): string;
2630
3158
  export function useSubscriptionWebAppUrls(): string[];
2631
3159
  }
2632
- declare module "libs/reach/util/common/src/user/useChannelsApi" {
2633
- import { Channel } from "libs/reach/util/common/src/user/Channel";
2634
- export function useChannelsApi(): {
2635
- getChannels: () => Promise<Channel[]>;
2636
- getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
2637
- };
2638
- }
2639
3160
  declare module "libs/reach/util/common/src/user/index" {
2640
3161
  export * from "libs/reach/util/common/src/user/features/FeatureSet";
2641
3162
  export * from "libs/reach/util/common/src/user/features/WithFeatures";
@@ -2654,6 +3175,7 @@ declare module "libs/reach/util/common/src/user/index" {
2654
3175
  export * from "libs/reach/util/common/src/user/useAccountApi";
2655
3176
  export * from "libs/reach/util/common/src/user/useCurrentUser";
2656
3177
  export * from "libs/reach/util/common/src/user/useCurrentUserApi";
3178
+ export * from "libs/reach/util/common/src/user/useCachedCurrentUserApi";
2657
3179
  export * from "libs/reach/util/common/src/user/useManageCurrentUserApi";
2658
3180
  export * from "libs/reach/util/common/src/user/useUserAdminApi";
2659
3181
  export * from "libs/reach/util/common/src/user/CurrentUserDetailContextProvider";
@@ -2661,7 +3183,6 @@ declare module "libs/reach/util/common/src/user/index" {
2661
3183
  export * from "libs/reach/util/common/src/user/useSubscriptionHandlePathBuilder";
2662
3184
  export * from "libs/reach/util/common/src/user/CurrentUserContext";
2663
3185
  export * from "libs/reach/util/common/src/user/useSubscriptionWebAppUrl";
2664
- export * from "libs/reach/util/common/src/user/useChannelsApi";
2665
3186
  export * from "libs/reach/util/common/src/user/LanguageUtils";
2666
3187
  export * from "libs/reach/util/common/src/user/content-languages-util";
2667
3188
  }
@@ -2710,7 +3231,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
2710
3231
  getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
2711
3232
  saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
2712
3233
  saveFile: (pluginId: string, file: File) => Promise<Response>;
2713
- generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<any>;
3234
+ generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
2714
3235
  linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
2715
3236
  unlinkPlugin: (pluginId: string) => Promise<any>;
2716
3237
  };
@@ -2816,17 +3337,15 @@ declare module "libs/reach/util/common/src/Models" {
2816
3337
  }
2817
3338
  }
2818
3339
  declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2819
- import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
3340
+ import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
2820
3341
  import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
2821
- export enum ExtensionArea {
2822
- global = "Global",
2823
- page = "Page",
2824
- eventEditorFeedbackSection = "EventEditorFeedbackSection",
2825
- eventDetailViewSection = "EventDetailViewSection"
2826
- }
2827
3342
  export interface PluginNavigationNodeProps {
2828
3343
  navigationNodeProps?: PageNavigationNodeProps;
2829
3344
  }
3345
+ export type EmbeddedPluginProps = PluginProps & {
3346
+ isEditMode?: boolean;
3347
+ componentInstanceId: string;
3348
+ };
2830
3349
  export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2831
3350
  type DevPlugin = {
2832
3351
  pluginId: string;
@@ -2880,22 +3399,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2880
3399
  }
2881
3400
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2882
3401
  import { FC } from 'react';
2883
- import { ExtensionArea } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3402
+ import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
2884
3403
  export const Plugins: FC<{
2885
3404
  area: ExtensionArea;
2886
3405
  } & any>;
2887
3406
  }
2888
- declare module "libs/reach/util/common/src/plugins/index" {
2889
- export * from "libs/reach/util/common/src/plugins/PluginContext";
2890
- export * from "libs/reach/util/common/src/plugins/PluginWrapper";
2891
- export * from "libs/reach/util/common/src/plugins/Plugins";
2892
- export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
2893
- export * from "libs/reach/util/common/src/plugins/usePluginApi";
2894
- export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
2895
- export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
2896
- export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
2897
- export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
2898
- }
2899
3407
  declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2900
3408
  export class Color {
2901
3409
  private r;
@@ -3040,77 +3548,24 @@ declare module "libs/reach/util/common/src/theme/index" {
3040
3548
  export * from "libs/reach/util/common/src/theme/ThemeService";
3041
3549
  export * from "libs/reach/util/common/src/theme/ColorGenerator";
3042
3550
  }
3043
- declare module "libs/reach/util/common/src/Variables" {
3044
- export const maxContentWidth = 985;
3045
- export const adminMaxWidth = 600;
3046
- export const spacingXxs = 3;
3047
- export const spacingXs = 6;
3048
- export const spacingS = 10;
3049
- export const spacingM = 20;
3050
- export const spacingL = 30;
3051
- export const spacingX = 40;
3052
- export const spacingXl = 60;
3053
- export const minScreenSize: {
3054
- small: number;
3055
- medium: number;
3056
- large: number;
3057
- xLarge: number;
3058
- xxLarge: number;
3059
- xxxLarge: number;
3060
- };
3061
- export const maxScreenSize: {
3062
- small: number;
3063
- medium: number;
3064
- large: number;
3065
- xLarge: number;
3066
- xxLarge: number;
3067
- };
3068
- export const sidebarWidth = 285;
3069
- export const sidebarWidthRight = 320;
3070
- export const sidebarItemHeight = 50;
3071
- export const headerHeight = 50;
3072
- export const headerSecondaryHeight = 50;
3073
- export const notificationHeight = 50;
3074
- export const mainContentPanelWidth = 300;
3075
- export const mainContentPanelMinScreenSize = 1740;
3076
- export const fontSizeLarger = 40;
3077
- export const fontSizeLarge = 25;
3078
- export const fontSizeMedium = 18;
3079
- export const fontSizeNormal = 16;
3080
- export const fontSizeSmall = 14;
3081
- export const fontSizeSmaller = 12;
3082
- export const socialIconSize = 26;
3083
- export const lineHeight = 23;
3084
- export const smallScreenLoginHeight = 40;
3085
- export const bannerAspectRatio: number;
3086
- export const bannerWidth = 980;
3087
- export const bannerHeight = 420;
3088
- export const HighlightBubbleSize = 12;
3089
- export const StatusBubbleSize = 10;
3090
- export const shadowColor = "rgba(0, 0, 0, 0.2)";
3091
- export const diffPreviousVersionColour = "rgb(221, 221, 221)";
3092
- export const diffActiveVersionColour = "rgb(206, 255, 188)";
3093
- export const dialogSpacing = 24;
3094
- export const detailViewSectionPadding = 20;
3095
- export const detailViewSectionPaddingLarge = 60;
3096
- export const postsSectionPadding = 20;
3097
- export const attachmentRoundedCornerSize = 10;
3098
- export const videoAttachmentRoundedCornerSize = 20;
3099
- export const inlinePageBannerRoundedCornerSize = 5;
3100
- export const feedbackButtonHeight = 32;
3101
- export const mainScrollableContainerSelector = "lt-reach-main-content";
3102
- export const statusColors: {
3103
- draft: string;
3104
- ready: string;
3105
- rejected: string;
3106
- };
3107
- export const cardWidthS = 260;
3108
- export const cardWidthM = 354;
3109
- export const cardWidthL = 314;
3110
- export const cardWidthXL = 423;
3111
- export const managePagesRowWidth = 300;
3112
- export const managePagesRowHeight = 40;
3113
- export const mobilePreviewWidth = 414;
3551
+ declare module "libs/reach/util/common/src/plugins/Plugin" {
3552
+ import { FC } from 'react';
3553
+ import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3554
+ export const Plugin: FC<PluginProps & {
3555
+ showDetailedErrorMessage?: boolean;
3556
+ } & any>;
3557
+ }
3558
+ declare module "libs/reach/util/common/src/plugins/index" {
3559
+ export * from "libs/reach/util/common/src/plugins/PluginContext";
3560
+ export * from "libs/reach/util/common/src/plugins/PluginWrapper";
3561
+ export * from "libs/reach/util/common/src/plugins/Plugins";
3562
+ export * from "libs/reach/util/common/src/plugins/Plugin";
3563
+ export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
3564
+ export * from "libs/reach/util/common/src/plugins/usePluginApi";
3565
+ export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
3566
+ export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
3567
+ export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
3568
+ export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
3114
3569
  }
3115
3570
  declare module "libs/reach/util/common/src/notification/NotificationContext" {
3116
3571
  import { FC, ReactNode } from 'react';
@@ -3149,6 +3604,32 @@ declare module "libs/reach/util/common/src/notification/index" {
3149
3604
  export * from "libs/reach/util/common/src/notification/NotificationContext";
3150
3605
  export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
3151
3606
  }
3607
+ declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
3608
+ export function useCachedKeywordsApi(): {
3609
+ getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
3610
+ getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
3611
+ };
3612
+ }
3613
+ declare module "libs/reach/util/common/src/keywords/index" {
3614
+ export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
3615
+ export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
3616
+ }
3617
+ declare module "libs/reach/util/common/src/channels/useChannelsApi" {
3618
+ import { Channel } from "libs/reach/util/common/src/user/Channel";
3619
+ export function useChannelsApi(): {
3620
+ getChannels: () => Promise<Channel[]>;
3621
+ getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
3622
+ };
3623
+ }
3624
+ declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
3625
+ export function useCachedChannelsApi(): {
3626
+ getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
3627
+ };
3628
+ }
3629
+ declare module "libs/reach/util/common/src/channels/index" {
3630
+ export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
3631
+ export * from "libs/reach/util/common/src/channels/useChannelsApi";
3632
+ }
3152
3633
  declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
3153
3634
  import { FC, ReactNode } from 'react';
3154
3635
  export const EnforcedSubscriptionContextProvider: FC<{
@@ -3175,10 +3656,11 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
3175
3656
  refreshSubscription: () => void;
3176
3657
  }>;
3177
3658
  export const LazySubscriptionContextProvider: FC;
3659
+ export const LazyCachedSubscriptionContextProvider: FC;
3178
3660
  export const LazySubscriptionContextProviderBase: FC<{
3179
- getChannels: () => Promise<Channel[]>;
3180
- getAllKeywords: (force?: boolean) => Promise<Keyword[]>;
3181
- getSelectedGroups: () => Promise<KeywordGroup[]>;
3661
+ getChannels: (subscriptionId: string) => Promise<Channel[]>;
3662
+ getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
3663
+ getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
3182
3664
  }>;
3183
3665
  }
3184
3666
  declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
@@ -3188,10 +3670,14 @@ declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
3188
3670
  getTermsAndConditions: () => Promise<TermsAndConditions>;
3189
3671
  };
3190
3672
  }
3673
+ declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
3674
+ export function useLazySubscriptionContext(): import("libs/reach/util/common/src/subscription/SubscriptionContext").LazySubscriptionContextType;
3675
+ }
3191
3676
  declare module "libs/reach/util/common/src/subscription/index" {
3192
3677
  export * from "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider";
3193
3678
  export * from "libs/reach/util/common/src/subscription/SubscriptionContext";
3194
3679
  export * from "libs/reach/util/common/src/subscription/useSubscriptionApi";
3680
+ export * from "libs/reach/util/common/src/subscription/useLazySubscriptionContext";
3195
3681
  }
3196
3682
  declare module "libs/reach/util/common/src/AppTrigger" {
3197
3683
  import { DependencyList } from 'react';
@@ -3214,6 +3700,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
3214
3700
  width?: number;
3215
3701
  height?: number;
3216
3702
  }
3703
+ export interface ImageWithAlignment extends ImageDetails {
3704
+ imageAlignment?: ImageAlignment;
3705
+ }
3706
+ export enum ImageAlignment {
3707
+ Default = "default",
3708
+ Left = "left",
3709
+ Right = "right",
3710
+ Center = "center"
3711
+ }
3217
3712
  }
3218
3713
  declare module "libs/reach/util/common/src/MainContentPanelContext" {
3219
3714
  export interface MainPanelContextType {
@@ -3224,13 +3719,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
3224
3719
  }
3225
3720
  export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
3226
3721
  }
3227
- declare module "libs/reach/util/common/src/PagingService" {
3228
- import { Observable } from 'rxjs';
3229
- export const onPageScroll: Observable<number>;
3230
- export function handlePageScroll(availableScrollSpace: number): void;
3231
- export function setPageTitle(subscriptionName: string, title?: string): void;
3232
- export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
3233
- }
3234
3722
  declare module "libs/reach/util/common/src/keyword-utils" {
3235
3723
  import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
3236
3724
  import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
@@ -3264,6 +3752,39 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
3264
3752
  static create(): GenericAccessDeniedTriggerAction;
3265
3753
  }
3266
3754
  }
3755
+ declare module "libs/reach/util/common/src/useModalRouting" {
3756
+ export interface ModalRouting {
3757
+ isActive: boolean;
3758
+ itemId: string;
3759
+ backgroundLocation: any;
3760
+ }
3761
+ export function useModalRouting(): {
3762
+ isModalRoutingActive: boolean;
3763
+ modalItemId: string;
3764
+ backgroundLocation: any;
3765
+ };
3766
+ export function useModalRoutingSettings(): (itemId: string) => {
3767
+ modalRouting: {
3768
+ isActive: boolean;
3769
+ itemId: string;
3770
+ backgroundLocation: {
3771
+ state: {
3772
+ modalRouting: {
3773
+ isActive: boolean;
3774
+ };
3775
+ };
3776
+ pathname: string;
3777
+ search: string;
3778
+ hash: string;
3779
+ key?: string;
3780
+ };
3781
+ };
3782
+ };
3783
+ }
3784
+ declare module "libs/reach/util/common/src/ReachQueryClient" {
3785
+ import { QueryClient } from '@tanstack/react-query';
3786
+ export const ReachQueryClient: QueryClient;
3787
+ }
3267
3788
  declare module "libs/reach/util/common/src/index" {
3268
3789
  export { initializeIcons } from 'office-ui-fabric-react';
3269
3790
  export * from "libs/reach/util/common/src/FocusStyles";
@@ -3273,13 +3794,15 @@ declare module "libs/reach/util/common/src/index" {
3273
3794
  export * from "libs/reach/util/common/src/SortDirection";
3274
3795
  export * from "libs/reach/util/common/src/useCacheLanguageApi";
3275
3796
  export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
3797
+ export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
3276
3798
  export * from "libs/reach/util/common/src/user/index";
3277
3799
  export * from "libs/reach/util/common/src/plugins/index";
3278
3800
  export * from "libs/reach/util/common/src/theme/index";
3279
3801
  export * from "libs/reach/util/common/src/content/index";
3280
3802
  export * from "libs/reach/util/common/src/notification/index";
3281
3803
  export * from "libs/reach/util/common/src/Variables";
3282
- export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
3804
+ export * from "libs/reach/util/common/src/keywords/index";
3805
+ export * from "libs/reach/util/common/src/channels/index";
3283
3806
  export * from "libs/reach/util/common/src/subscription/index";
3284
3807
  export * from "libs/reach/util/common/src/AppTrigger";
3285
3808
  export * from "libs/reach/util/common/src/BackbuttonListenerUtil";
@@ -3291,6 +3814,10 @@ declare module "libs/reach/util/common/src/index" {
3291
3814
  export * from "libs/reach/util/common/src/useBaseRoute";
3292
3815
  export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
3293
3816
  export * from "libs/reach/util/common/src/AccessDeniedIntercept";
3817
+ export * from "libs/reach/util/common/src/useModalRouting";
3818
+ export * from "libs/reach/util/common/src/analytics/index";
3819
+ export * from "libs/reach/util/common/src/common-utils";
3820
+ export * from "libs/reach/util/common/src/ReachQueryClient";
3294
3821
  }
3295
3822
  declare module "libs/reach/ui/common/src/Link" {
3296
3823
  import { Link as RouterLink } from 'react-router-dom';
@@ -3347,7 +3874,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
3347
3874
  text?: string | JSX.Element;
3348
3875
  resourceKey?: string;
3349
3876
  values?: {
3350
- [key: string]: string | number | boolean | Date;
3877
+ [key: string]: string | number | boolean | Date | any;
3351
3878
  };
3352
3879
  width?: number;
3353
3880
  onClick?: () => unknown;
@@ -3427,7 +3954,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3427
3954
  export const PeoplePicker: FC<Props>;
3428
3955
  }
3429
3956
  declare module "libs/reach/ui/common/src/plugins/reach-core" {
3430
- import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme } from "libs/reach/util/common/src/index";
3957
+ import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme, EmbeddedPluginProps } from "libs/reach/util/common/src/index";
3431
3958
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3432
3959
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3433
3960
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3444,7 +3971,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3444
3971
  * @deprecated Please use `usePluginDeviceStore` instead
3445
3972
  */
3446
3973
  usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
3447
- export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
3974
+ export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
3448
3975
  }
3449
3976
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3450
3977
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3460,6 +3987,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3460
3987
  export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
3461
3988
  export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
3462
3989
  }
3990
+ declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
3991
+ export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
3992
+ }
3463
3993
  declare module "libs/reach/ui/common/src/NotificationBar" {
3464
3994
  import { FC } from 'react';
3465
3995
  export const NotificationBar: FC;
@@ -3476,6 +4006,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
3476
4006
  export const AudioFile: FC<{
3477
4007
  fileName: string;
3478
4008
  url: string;
4009
+ onPlay?: (url: string) => void;
3479
4010
  }>;
3480
4011
  export function isAudioFile(fileName: string): boolean;
3481
4012
  }
@@ -3499,37 +4030,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
3499
4030
  color?: string;
3500
4031
  }, never>;
3501
4032
  }
3502
- declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3503
- export const smallScreenSpacing = 10;
3504
- export const smallMaxContentWidth: number;
3505
- export const mediumMaxContentWidth: number;
3506
- export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3507
- }
3508
- declare module "libs/reach/ui/common/src/common/Utils" {
3509
- import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3510
- import { IntlShape } from 'react-intl';
3511
- import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3512
- export function isValidUrl(url: string): boolean;
3513
- export function getGoogleMapsSearchLink(name: string): string;
3514
- export function tryGetInternalLink(url: string, appUrls: string[]): string;
3515
- export function getExternalContentUrl(item: PublishableItem, language: string): string;
3516
- export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
3517
- export const DefaultSubscriptionName = "LiveTiles Reach";
3518
- export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3519
- export function getSubscriptionName(subscription: SubscriptionSummary): string;
3520
- 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}";
3521
- export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3522
- logoInfo: LogoInfo;
3523
- subscriptionName: string;
3524
- };
3525
- export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3526
- export function delay(delayInMs: number): Promise<unknown>;
3527
- export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3528
- defaultWidth?: number;
3529
- showPlaceholder?: boolean;
3530
- }, never>;
3531
- export function encodeChannelName(channelName: string): string;
3532
- }
3533
4033
  declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
3534
4034
  import { FC } from 'react';
3535
4035
  import { SubscriptionSummary } from "libs/reach/util/common/src/index";
@@ -3572,6 +4072,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDialog" {
3572
4072
  infoResourceValues?: any;
3573
4073
  onConfirm?: () => unknown;
3574
4074
  onClose?: () => unknown;
4075
+ width?: number;
3575
4076
  }>;
3576
4077
  }
3577
4078
  declare module "libs/reach/ui/common/src/common/ConfirmResetDialog" {
@@ -3607,7 +4108,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
3607
4108
  export const isSameDay: (value: moment.MomentInput) => boolean;
3608
4109
  export const DateTime: FC<Props>;
3609
4110
  export const DateTimeRange: FC<{
3610
- startDate: string;
4111
+ startDate?: string;
3611
4112
  endDate?: string;
3612
4113
  className?: string;
3613
4114
  }>;
@@ -3693,6 +4194,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
3693
4194
  export const VideoFile: FC<{
3694
4195
  fileName: string;
3695
4196
  url: string;
4197
+ onPlay?: (url: string) => void;
3696
4198
  }>;
3697
4199
  export function isVideoFile(fileName: string): boolean;
3698
4200
  }
@@ -3715,24 +4217,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3715
4217
  }[]>;
3716
4218
  export function getFileIcon(filename: string): string;
3717
4219
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
4220
+ export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
3718
4221
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
3719
4222
  }
3720
4223
  declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
4224
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
3721
4225
  export function useFileAccessTokenApi(): {
3722
4226
  exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
3723
4227
  getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
3724
- createDownloadClickHandler: (target: string, getUrl: () => Promise<string>) => () => Promise<void>;
4228
+ createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
3725
4229
  };
3726
4230
  }
3727
4231
  declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
3728
4232
  import { FC } from 'react';
3729
- import { Attachment } from "libs/reach/util/common/src/index";
4233
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
3730
4234
  export const FileAttachmentList: FC<{
3731
4235
  files: Attachment[];
3732
4236
  onDeleteClick?: (file: Attachment) => void;
3733
4237
  getFileUrl?: (attachmentId: string, token?: string) => string;
4238
+ onPlayVideo?: (url: string, videoId: string) => void;
4239
+ onPlayAudio?: (url: string, audioId: string) => void;
3734
4240
  fileAccessToken?: string;
3735
4241
  disabled?: boolean;
4242
+ parentId?: string;
4243
+ itemResourceType?: ItemResourceTypes | string;
3736
4244
  className?: string;
3737
4245
  }>;
3738
4246
  }
@@ -4025,13 +4533,35 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
4025
4533
  export const ToggleWithLabel: FC<IToggleProps>;
4026
4534
  }
4027
4535
  declare module "libs/reach/ui/common/src/common/UnreadCommentHighlight" {
4028
- export const unreadCommentHighlight: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4536
+ export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4029
4537
  }
4030
4538
  declare module "libs/reach/ui/common/src/common/UserUtility" {
4031
4539
  import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
4032
4540
  import { IntlShape } from 'react-intl';
4033
4541
  export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
4034
4542
  }
4543
+ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
4544
+ export const smallScreenSpacing = 10;
4545
+ export const smallMaxContentWidth: number;
4546
+ export const mediumMaxContentWidth: number;
4547
+ export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4548
+ }
4549
+ declare module "libs/reach/ui/common/src/common/Utils" {
4550
+ import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
4551
+ import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
4552
+ export function isValidUrl(url: string): boolean;
4553
+ export function getGoogleMapsSearchLink(name: string): string;
4554
+ export function tryGetInternalLink(url: string, appUrls: string[]): string;
4555
+ export function getExternalContentUrl(item: PublishableItem, language: string): string;
4556
+ export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
4557
+ export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
4558
+ export function delay(delayInMs: number): Promise<unknown>;
4559
+ export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4560
+ defaultWidth?: number;
4561
+ showPlaceholder?: boolean;
4562
+ }, never>;
4563
+ export function encodeChannelName(channelName: string): string;
4564
+ }
4035
4565
  declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
4036
4566
  import { FC, ReactNode } from 'react';
4037
4567
  import { PrimitiveType } from 'intl-messageformat';
@@ -4055,12 +4585,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
4055
4585
  }
4056
4586
  declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
4057
4587
  import { FC } from 'react';
4588
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
4058
4589
  export const AutoTranslateButton: FC<{
4059
4590
  contentLanguageCode: string;
4060
4591
  originalContent: string;
4061
4592
  content: string;
4062
4593
  onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
4063
4594
  onContentChange: (content: string) => void;
4595
+ itemType: ItemResourceTypes;
4596
+ itemId: string;
4064
4597
  tooltipResourceKey?: string;
4065
4598
  showLabel?: boolean;
4066
4599
  }>;
@@ -4344,6 +4877,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
4344
4877
  className?: string;
4345
4878
  }>;
4346
4879
  }
4880
+ declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
4881
+ export const useIsMounted: () => () => boolean;
4882
+ }
4347
4883
  declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
4348
4884
  import { PaginatedList } from "libs/reach/util/common/src/index";
4349
4885
  import { DependencyList, SetStateAction } from 'react';
@@ -4648,8 +5184,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
4648
5184
  export interface Props extends IPersonaProps {
4649
5185
  upn: string;
4650
5186
  tenantId?: string;
4651
- className?: string;
4652
5187
  displayName?: string;
5188
+ forceShowSecondaryText?: boolean;
5189
+ className?: string;
4653
5190
  }
4654
5191
  export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
4655
5192
  static type: string;
@@ -4824,6 +5361,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4824
5361
  export * from "libs/reach/ui/common/src/common/grid/Grid";
4825
5362
  export * from "libs/reach/ui/common/src/common/hooks/usePagination";
4826
5363
  export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
5364
+ export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
4827
5365
  export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
4828
5366
  export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
4829
5367
  export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
@@ -4856,6 +5394,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4856
5394
  export * from "libs/reach/ui/common/src/common/error-states/index";
4857
5395
  export * from "libs/reach/ui/common/src/common/MenuItemBadge";
4858
5396
  export * from "libs/reach/ui/common/src/common/editor-svg/index";
5397
+ export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
4859
5398
  }
4860
5399
  declare module "libs/reach/ui/common/src/error/PageAlert" {
4861
5400
  import { ReactNode } from 'react';
@@ -4907,16 +5446,17 @@ declare module "libs/reach/ui/common/src/index" {
4907
5446
  export * from "libs/reach/ui/common/src/ColorEditor";
4908
5447
  }
4909
5448
  declare module "apps/reach-app/src/app/chrome/CloseButton" {
4910
- import { FC } from 'react';
5449
+ import { FC, DependencyList } from 'react';
4911
5450
  export interface Props {
4912
5451
  navigateTo: string;
5452
+ onBeforeClose?: () => void;
4913
5453
  onClose?: () => void;
4914
5454
  tooltipResourceKey?: string;
4915
5455
  useGoBack?: boolean;
4916
5456
  className?: string;
4917
5457
  }
4918
5458
  export const CloseButton: FC<Props>;
4919
- export function useEscapeOnClose(onClose: () => void): void;
5459
+ export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
4920
5460
  }
4921
5461
  declare module "apps/reach-app/src/app/common/LogoStyles" {
4922
5462
  export const LogoHostStyle: (size?: {
@@ -4943,6 +5483,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
4943
5483
  closeButtonOptions?: CloseButtonOptions;
4944
5484
  }
4945
5485
  export interface CloseButtonOptions {
5486
+ onBeforeClose?: () => void;
4946
5487
  onClick?: () => void;
4947
5488
  disableGoBack?: boolean;
4948
5489
  route?: string;
@@ -4980,8 +5521,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
4980
5521
  export const SkipLinksContextProvider: FC;
4981
5522
  }
4982
5523
  declare module "apps/reach-app/src/app/useAddSkipLinks" {
5524
+ import { DependencyList } from 'react';
4983
5525
  import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
4984
- export function useAddSkipLinks(...skipLinks: SkipLink[]): void;
5526
+ export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
4985
5527
  }
4986
5528
  declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
4987
5529
  import { FC } from 'react';
@@ -5007,9 +5549,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
5007
5549
  }
5008
5550
  declare module "apps/reach-app/src/app/chrome/BasicPage" {
5009
5551
  import { FC, ReactNode } from 'react';
5552
+ import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5010
5553
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
5011
5554
  import './BasicPage.scss';
5012
- import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5013
5555
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
5014
5556
  type HeaderToolbarObjectTypeHack = {
5015
5557
  toolbarElement: JSX.Element;
@@ -5032,6 +5574,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
5032
5574
  closeButtonOptions?: CloseButtonOptions;
5033
5575
  showSearchBox?: boolean;
5034
5576
  disableScrollableContainerFocus?: boolean;
5577
+ asModal?: boolean;
5578
+ domIdentifier?: string;
5035
5579
  }
5036
5580
  export const BasicPage: FC<Props>;
5037
5581
  }
@@ -5125,7 +5669,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
5125
5669
  addLanguage: (code: string) => Promise<Language>;
5126
5670
  setDefaultLanguage: (code: string) => Promise<Language>;
5127
5671
  removeLanguage: (code: string) => Promise<unknown>;
5128
- setSubscriptionName: (name: string) => Promise<string>;
5672
+ setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
5673
+ name: string | null;
5674
+ hideName: boolean | null;
5675
+ }>;
5129
5676
  setSubscriptionHandle: (handle: string) => Promise<string>;
5130
5677
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
5131
5678
  updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
@@ -5431,11 +5978,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
5431
5978
  export { PushClient };
5432
5979
  }
5433
5980
  declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5434
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5435
- export class MobileHybridStorage implements StoragePlugin {
5981
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5982
+ export class MobileHybridStorage implements PreferencesPlugin {
5436
5983
  private pluginStorage;
5437
5984
  private static memoryStorage;
5438
- constructor(pluginStorage: StoragePlugin);
5985
+ constructor(pluginStorage: PreferencesPlugin);
5439
5986
  get(options: {
5440
5987
  key: string;
5441
5988
  }): Promise<any>;
@@ -5447,7 +5994,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5447
5994
  key: string;
5448
5995
  }): Promise<void>;
5449
5996
  clear(): Promise<void>;
5450
- keys(): Promise<import("@capacitor/storage").KeysResult>;
5997
+ keys(): Promise<import("@capacitor/preferences").KeysResult>;
5451
5998
  private static updateInMemoryStorage;
5452
5999
  configure(options: ConfigureOptions): Promise<void>;
5453
6000
  migrate(): Promise<MigrateResult>;
@@ -5483,7 +6030,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
5483
6030
  export const mockStatusBarPlugin: StatusBarPlugin;
5484
6031
  }
5485
6032
  declare module "libs/shared/util/capacitor/src/WebDevice" {
5486
- import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
6033
+ import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
5487
6034
  import { PluginListenerHandle } from '@capacitor/core';
5488
6035
  export class WebDeviceFallback implements DevicePlugin {
5489
6036
  addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
@@ -5492,6 +6039,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
5492
6039
  getId(): Promise<DeviceId>;
5493
6040
  getBatteryInfo(): Promise<BatteryInfo>;
5494
6041
  getLanguageCode(): Promise<GetLanguageCodeResult>;
6042
+ getLanguageTag(): Promise<LanguageTag>;
5495
6043
  }
5496
6044
  }
5497
6045
  declare module "libs/shared/util/capacitor/src/WebNetwork" {
@@ -5508,8 +6056,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
5508
6056
  }
5509
6057
  }
5510
6058
  declare module "libs/shared/util/capacitor/src/WebStorage" {
5511
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5512
- export class WebStorage implements StoragePlugin {
6059
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
6060
+ export class WebStorage implements PreferencesPlugin {
5513
6061
  storage: Storage;
5514
6062
  get(options: {
5515
6063
  key: string;
@@ -5543,14 +6091,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
5543
6091
  import { SharePlugin } from '@capacitor/share';
5544
6092
  import { SplashScreenPlugin } from '@capacitor/splash-screen';
5545
6093
  import { StatusBarPlugin } from '@capacitor/status-bar';
5546
- import { StoragePlugin } from '@capacitor/storage';
6094
+ import { PreferencesPlugin } from '@capacitor/preferences';
5547
6095
  import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
5548
6096
  import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
5549
6097
  import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
5550
6098
  import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
5551
6099
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
5552
6100
  export interface CondensePluginRegistry {
5553
- Storage: StoragePlugin;
6101
+ Storage: PreferencesPlugin;
5554
6102
  Device: DevicePlugin;
5555
6103
  App: AppPlugin;
5556
6104
  Keyboard: KeyboardPlugin;
@@ -6079,14 +6627,18 @@ declare module "apps/reach-app/src/app/admin/web-hooks/utils" {
6079
6627
  CommentUpdated = "CommentUpdated",
6080
6628
  CommentDeleted = "CommentDeleted",
6081
6629
  LikeAdded = "LikeAdded",
6082
- LikeRemoved = "LikeRemoved"
6630
+ LikeRemoved = "LikeRemoved",
6631
+ PostCreated = "PostCreated",
6632
+ PostUpdated = "PostUpdated",
6633
+ PostDeleted = "PostDeleted"
6083
6634
  }
6084
6635
  export enum WebHookCategory {
6085
6636
  News = "News",
6086
6637
  Events = "Events",
6087
6638
  Comments = "Comments",
6088
6639
  Likes = "Likes",
6089
- UserSelfRegistration = "UserSelfRegistration"
6640
+ UserSelfRegistration = "UserSelfRegistration",
6641
+ Posts = "Posts"
6090
6642
  }
6091
6643
  }
6092
6644
  declare module "apps/reach-app/src/app/admin/web-hooks/WebHookEditor" {
@@ -6212,7 +6764,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
6212
6764
  import { UserRegistrationResult } from "libs/reach/util/common/src/index";
6213
6765
  import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
6214
6766
  export function useSelfRegistrationApi(): {
6215
- changeRegistrationStatus: (upn: string, doAccept: boolean) => any;
6767
+ changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
6216
6768
  hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
6217
6769
  register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
6218
6770
  updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
@@ -6268,6 +6820,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6268
6820
  onSaved: (newProperties: UpdatableUserProperties) => void;
6269
6821
  }>;
6270
6822
  }
6823
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6824
+ import { FC } from 'react';
6825
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6826
+ export const GenerateApiKeyDialog: FC<{
6827
+ onApiKeyAdded?: () => void;
6828
+ onDismiss: () => void;
6829
+ user?: UserItem;
6830
+ }>;
6831
+ }
6271
6832
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6272
6833
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6273
6834
  import './UserList.scss';
@@ -6291,7 +6852,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6291
6852
  isLoading?: boolean;
6292
6853
  isEmpty?: boolean;
6293
6854
  emptyPlaceholder?: ReactNode;
6855
+ onKeyChanged?: () => void;
6294
6856
  }
6857
+ export type UserItem = Account & UserSummary & GroupUser & {
6858
+ accountType: string;
6859
+ lastLogin: string | JSX.Element;
6860
+ };
6295
6861
  export const UserList: FC<Props>;
6296
6862
  }
6297
6863
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6324,13 +6890,7 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6324
6890
  className?: string;
6325
6891
  }>;
6326
6892
  }
6327
- declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
6328
- import { FC } from 'react';
6329
- export const GenerateApiKeyButton: FC<{
6330
- onApiKeyAdded: () => void;
6331
- }>;
6332
- }
6333
- declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
6893
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6334
6894
  import { FC } from 'react';
6335
6895
  import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
6336
6896
  export enum GenericErrorType {
@@ -6339,6 +6899,7 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
6339
6899
  export interface UserImport {
6340
6900
  displayName?: string;
6341
6901
  email?: string;
6902
+ hasPrivateEmail?: boolean;
6342
6903
  importResult?: SubscriptionJoinResultType | GenericErrorType;
6343
6904
  errorMessage?: string;
6344
6905
  }
@@ -6346,21 +6907,45 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
6346
6907
  previewUsers: UserImport[];
6347
6908
  }>;
6348
6909
  }
6349
- declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
6350
- import { UserImport } from "apps/reach-app/src/app/admin/users/ImportUsersPreview";
6910
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
6911
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6912
+ export enum ValidationStatus {
6913
+ Valid = 0,
6914
+ WithErrors = 1,
6915
+ WithUserErrors = 2
6916
+ }
6917
+ export type CsvValidation = {
6918
+ Status?: ValidationStatus;
6919
+ Message?: string;
6920
+ InvalidItems?: string[];
6921
+ };
6351
6922
  export function useUserCsvInviter(): {
6352
6923
  invitedUsers: UserImport[];
6353
6924
  isValidating: boolean;
6354
6925
  isCsvValid: boolean;
6355
6926
  parseCsvFile: (csvFile: File) => void;
6356
- error: string;
6357
- setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6927
+ csvValidation: CsvValidation;
6928
+ setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
6358
6929
  inviteUsers: (onSuccess?: () => void) => Promise<void>;
6359
6930
  isParserReady: boolean;
6360
- isImporting: boolean;
6931
+ isInviting: boolean;
6932
+ canInvite: boolean;
6933
+ csvFile: File;
6361
6934
  };
6362
6935
  }
6363
- declare module "apps/reach-app/src/app/admin/users/ImportUserButton" {
6936
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
6937
+ export function createCsvUrl(header: string, content: string): string;
6938
+ }
6939
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
6940
+ import { FC } from 'react';
6941
+ import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
6942
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6943
+ export const CsvFileValidationResult: FC<{
6944
+ csvValidation: CsvValidation;
6945
+ invitedUsers: UserImport[];
6946
+ }>;
6947
+ }
6948
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6364
6949
  import { FC } from 'react';
6365
6950
  export const ImportUserButton: FC<{
6366
6951
  onSuccessfulImport?: () => void;
@@ -6392,34 +6977,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
6392
6977
  children?: (content: string, index: number) => JSX.Element;
6393
6978
  }>;
6394
6979
  }
6395
- declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6396
- export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
6397
- }
6398
6980
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6399
6981
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6400
- export class EventResponseTriggerAction implements AppTriggerAction {
6982
+ export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
6401
6983
  static type: string;
6402
6984
  type: string;
6403
6985
  itemId: string;
6404
6986
  response: EventResponse;
6405
6987
  locationId: string;
6406
6988
  onBehalfOfUpn: string;
6407
- static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventResponseTriggerAction;
6989
+ static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
6408
6990
  }
6409
- export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6991
+ export class EventResponseTriggerAction implements AppTriggerAction {
6410
6992
  static type: string;
6411
6993
  type: string;
6412
- recurrenceSeriesId: string;
6994
+ itemId: string;
6413
6995
  response: EventResponse;
6414
- static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6996
+ static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
6415
6997
  }
6416
- export class LikeFullSeriesTriggerAction implements AppTriggerAction {
6998
+ export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6417
6999
  static type: string;
6418
7000
  type: string;
6419
7001
  recurrenceSeriesId: string;
6420
- itemId: string;
6421
- isLiked: boolean;
6422
- static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
7002
+ response: EventResponse;
7003
+ static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6423
7004
  }
6424
7005
  export class FollowCommentsTriggerAction implements AppTriggerAction {
6425
7006
  static type: string;
@@ -6434,6 +7015,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6434
7015
  followByDefault: boolean;
6435
7016
  static create(followState: boolean): AutoFollowPostsTriggerAction;
6436
7017
  }
7018
+ export class AutoLikeItemTriggerAction implements AppTriggerAction {
7019
+ static type: string;
7020
+ type: string;
7021
+ recurrenceSeriesId: string;
7022
+ isLiked: boolean;
7023
+ likeCount: number;
7024
+ static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
7025
+ }
7026
+ export class AutoFollowItemTriggerAction implements AppTriggerAction {
7027
+ static type: string;
7028
+ type: string;
7029
+ recurrenceSeriesId: string;
7030
+ isFollowed: boolean;
7031
+ static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
7032
+ }
6437
7033
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6438
7034
  static type: string;
6439
7035
  type: string;
@@ -6454,8 +7050,28 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6454
7050
  type: string;
6455
7051
  static create(): StreamMarkAllAsReadAction;
6456
7052
  }
6457
- }
6458
- declare module "libs/reach/feature/content/src/comments/CommentFilter" {
7053
+ export class RefetchItemAction implements AppTriggerAction {
7054
+ static type: string;
7055
+ type: string;
7056
+ itemId: string;
7057
+ static create(itemId: string): RefetchItemAction;
7058
+ }
7059
+ export class RefetchStreamItemAction implements AppTriggerAction {
7060
+ static type: string;
7061
+ type: string;
7062
+ itemId: string;
7063
+ static create(itemId: string): RefetchStreamItemAction;
7064
+ }
7065
+ export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
7066
+ static type: string;
7067
+ type: string;
7068
+ pageId: string;
7069
+ parentId: string;
7070
+ affectedGroupIds: string[];
7071
+ static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
7072
+ }
7073
+ }
7074
+ declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6459
7075
  export interface CommentFilter {
6460
7076
  token: string;
6461
7077
  sortOrder: SortOrder;
@@ -6470,119 +7086,44 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
6470
7086
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6471
7087
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
6472
7088
  import { Attachment } from "libs/reach/util/common/src/index";
7089
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6473
7090
  import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
6474
7091
  export function useCommentApi(): {
6475
- createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => any;
6476
- createEditorComment: (itemId: string, comment: Partial<Comment>) => any;
6477
- listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => any;
6478
- getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => any;
6479
- getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => any;
6480
- getEditorConversations: (itemId: string) => any;
7092
+ createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7093
+ createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7094
+ listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7095
+ getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7096
+ getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
7097
+ getEditorConversations: (itemId: string) => Promise<Comment[]>;
6481
7098
  translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
6482
- deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => any;
6483
- deleteEditorComment: (itemId: string, commentId: string) => any;
7099
+ deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
7100
+ deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
6484
7101
  toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
6485
- updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => any;
7102
+ updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
6486
7103
  onCommentCreated$: import("rxjs").Observable<string>;
6487
7104
  };
6488
7105
  }
6489
- declare module "libs/reach/feature/content/src/comments/FollowComments" {
6490
- import { FC } from 'react';
6491
- import { ConversationScope } from "libs/reach/util/common/src/index";
6492
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6493
- interface Props {
6494
- type: ItemResourceTypes;
6495
- itemId: string;
6496
- className?: string;
6497
- scope: ConversationScope;
6498
- hideProfileUrl?: boolean;
6499
- }
6500
- export const FollowComments: FC<Props>;
7106
+ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
7107
+ export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
6501
7108
  }
6502
- declare module "libs/reach/feature/content/src/comments/CommentInput" {
6503
- import { ReactNode } from 'react';
6504
- import { Account } from "libs/reach/util/common/src/index";
6505
- export interface UserSuggestion {
6506
- id: string;
6507
- upn: string;
6508
- displayName: string;
6509
- display: string;
6510
- }
6511
- export interface SuggestionArgs {
6512
- searchText: string;
6513
- updateSuggestions: (suggestions: UserSuggestion[]) => any;
6514
- }
6515
- export interface CommentInputProps {
6516
- className?: string;
6517
- content: string;
7109
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
7110
+ import { FC } from 'react';
7111
+ export const ConfirmationBox: FC<{
6518
7112
  disabled?: boolean;
6519
- autoFocus?: boolean;
6520
- onEnter?: () => void;
6521
- onCtrlEnter?: () => unknown;
6522
- onChange?: (value: string) => void;
6523
- onFocus?: () => void;
6524
- additionalInputControl?: ReactNode;
6525
- buttons?: {
6526
- leftSide?: ReactNode;
6527
- rightSide?: ReactNode;
6528
- };
6529
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
6530
- placeHolderStringResourceKey?: string;
6531
- placeHolderStringResourceValues?: {
6532
- [key: string]: string | number | boolean | Date;
6533
- };
6534
- disableBoxShadow?: boolean;
6535
- ariaLabel?: string;
6536
- }
6537
- export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
7113
+ onChange?: (value: boolean) => void;
7114
+ checked: boolean;
7115
+ }>;
6538
7116
  }
6539
- declare module "libs/reach/feature/content/src/comments/DropInfo" {
6540
- import { FC } from 'react';
6541
- export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7117
+ declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
7118
+ import { FC, ReactNode } from 'react';
7119
+ export const GutterMarkerIcon: FC<{
7120
+ iconName: string;
7121
+ children: ReactNode;
6542
7122
  isActive: boolean;
6543
- }, never>;
6544
- export const DropInfo: FC;
6545
- }
6546
- declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6547
- import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
6548
- export interface KalturaProperties {
6549
- sp?: string;
6550
- uiconfId?: string;
6551
- partnerId?: string;
6552
- entryId?: string;
6553
- }
6554
- export class VideoUrlParser {
6555
- private url;
6556
- private static ytRegex;
6557
- private static vimeoRegex;
6558
- private static microsoftStreamRegex;
6559
- private static vimeoDirectLinkRegex;
6560
- private static vimeoRedirectLinkRegex;
6561
- private static kalturaRegex;
6562
- readonly source: VideoSource | null;
6563
- readonly id: string | null;
6564
- readonly isDirectVideoUrl: boolean;
6565
- readonly videoProperties: any;
6566
- readonly thumbnailUrl: string;
6567
- constructor(url: string);
6568
- isValid(features: FeatureSet): boolean;
6569
- }
6570
- export function getVideoSources(features: FeatureSet): any[];
6571
- export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
6572
- export function getAllVideoSources(features: FeatureSet): any[];
6573
- }
6574
- declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
6575
- import { AttachmentType } from "libs/reach/util/common/src/index";
6576
- export function getAllVideosFromString(content: string): Generator<{
6577
- url: string;
6578
- type: AttachmentType;
6579
- }, void, unknown>;
6580
- export function getEmbeddedObjectsFromString(content: string): Generator<{
6581
- url: string;
6582
- subscriptionIdentifier: string;
6583
- type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
6584
- id: string;
6585
- }, void, unknown>;
7123
+ color: string;
7124
+ tooltipResourceKey?: string;
7125
+ className?: string;
7126
+ }>;
6586
7127
  }
6587
7128
  declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
6588
7129
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
@@ -6613,7 +7154,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6613
7154
  import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6614
7155
  import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6615
7156
  import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6616
- export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
7157
+ export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
6617
7158
  }
6618
7159
  export interface BaseFilterDefinition {
6619
7160
  search?: string;
@@ -6621,6 +7162,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6621
7162
  pageSize?: string | number;
6622
7163
  groupId?: string;
6623
7164
  }
7165
+ export interface ItemIdsFilterDefinition {
7166
+ itemIds?: string;
7167
+ }
6624
7168
  export interface IndexableFilterDefinition {
6625
7169
  [key: string]: any;
6626
7170
  }
@@ -6633,6 +7177,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6633
7177
  And = "AND"
6634
7178
  }
6635
7179
  }
7180
+ declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
7181
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7182
+ export interface AuthorFilterDefinition extends IndexableFilterDefinition {
7183
+ author?: string;
7184
+ }
7185
+ }
7186
+ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
7187
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7188
+ export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
7189
+ channels?: FilterWithLogicalOperator;
7190
+ }
7191
+ }
7192
+ declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
7193
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7194
+ import { WorkflowStatus } from "libs/reach/util/common/src/index";
7195
+ export interface StateFilterDefinition extends IndexableFilterDefinition {
7196
+ state?: WorkflowStatus;
7197
+ }
7198
+ }
7199
+ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
7200
+ import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
7201
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7202
+ import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
7203
+ import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
7204
+ export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
7205
+ groupId?: string;
7206
+ bookmarksOnly?: boolean;
7207
+ unreadOnly?: boolean;
7208
+ includeExpired?: boolean;
7209
+ }
7210
+ }
7211
+ declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
7212
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7213
+ export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
7214
+ afterDate?: string;
7215
+ }
7216
+ }
7217
+ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
7218
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7219
+ export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
7220
+ contacts?: string[];
7221
+ }
7222
+ }
6636
7223
  declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
6637
7224
  import { SortDirection } from "libs/reach/util/common/src/index";
6638
7225
  export class SortFieldsDefinitionBuilder<T extends string> {
@@ -6648,18 +7235,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
6648
7235
  startsBefore?: string;
6649
7236
  }
6650
7237
  }
6651
- declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
6652
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6653
- export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
6654
- contacts?: string[];
6655
- }
6656
- }
6657
- declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
6658
- import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6659
- export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
6660
- channels?: FilterWithLogicalOperator;
6661
- }
6662
- }
6663
7238
  declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6664
7239
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6665
7240
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
@@ -6676,18 +7251,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6676
7251
  }
6677
7252
  export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
6678
7253
  }
6679
- declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
6680
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6681
- export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
6682
- afterDate?: string;
6683
- }
6684
- }
6685
- declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
6686
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6687
- export interface AuthorFilterDefinition extends IndexableFilterDefinition {
6688
- author?: string;
6689
- }
6690
- }
6691
7254
  declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6692
7255
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6693
7256
  export interface FilteringProps {
@@ -6697,25 +7260,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6697
7260
  isFilterActive?: boolean;
6698
7261
  }
6699
7262
  }
6700
- declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
6701
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6702
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
6703
- export interface StateFilterDefinition extends IndexableFilterDefinition {
6704
- state?: WorkflowStatus;
6705
- }
6706
- }
6707
- declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
6708
- import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
6709
- import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6710
- import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6711
- import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
6712
- export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
6713
- groupId?: string;
6714
- bookmarksOnly?: boolean;
6715
- unreadOnly?: boolean;
6716
- includeExpired?: boolean;
6717
- }
6718
- }
6719
7263
  declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
6720
7264
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6721
7265
  export enum ItemTypeFilterFlag {
@@ -6797,16 +7341,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
6797
7341
  };
6798
7342
  export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
6799
7343
  }
6800
- declare module "libs/reach/feature/content/src/events/useEventsApi" {
6801
- import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6802
- import { PaginatedList } from "libs/reach/util/common/src/index";
6803
- import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
6804
- export function useEventsApi(): {
6805
- getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
6806
- getEvent: (id: string) => Promise<EventItem>;
6807
- getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
6808
- };
6809
- }
6810
7344
  declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
6811
7345
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6812
7346
  import { Observable } from 'rxjs';
@@ -6866,28 +7400,240 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
6866
7400
  import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
6867
7401
  export function useNewsApi(): NewsApiService;
6868
7402
  }
6869
- declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
6870
- import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6871
- import { PageType } from "libs/reach/util/common/src/index";
6872
- export interface PageFilterDefinition extends PublishableItemFilterDefinition {
6873
- pageContextId?: string;
6874
- restrictToPageContext?: boolean;
6875
- rootPagesOnly?: boolean;
6876
- parentId?: string;
6877
- pageType?: PageType;
7403
+ declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7404
+ import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7405
+ export default interface FeedbackSummary {
7406
+ records: FeedbackItem[];
7407
+ }
7408
+ export enum FeedbackItemType {
7409
+ comment = "comment",
7410
+ like = "like",
7411
+ confirm = "confirm",
7412
+ poll = "poll",
7413
+ eventRegistration = "eventRegistration"
7414
+ }
7415
+ export interface FeedbackItem {
7416
+ type: FeedbackItemType;
7417
+ timestamp: string;
7418
+ }
7419
+ export interface PollFeedbackItem extends FeedbackItem {
7420
+ type: FeedbackItemType.poll;
7421
+ answers: PollQuestionAnswer[];
6878
7422
  }
6879
7423
  }
6880
- declare module "libs/reach/feature/content/src/pages/usePagesApi" {
6881
- import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
6882
- import { PaginatedList } from "libs/reach/util/common/src/index";
6883
- import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
6884
- export function usePagesApi(): {
6885
- loadPage: (id: string) => Promise<PageItem>;
6886
- loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
6887
- getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
6888
- getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6889
- searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6890
- getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7424
+ declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7425
+ import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7426
+ import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7427
+ import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7428
+ export const feedbackCache: {
7429
+ [newsId: string]: Promise<FeedbackSummary>;
7430
+ };
7431
+ export function useFeedbackApi(): {
7432
+ getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7433
+ setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7434
+ unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7435
+ updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7436
+ getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7437
+ getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7438
+ };
7439
+ }
7440
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
7441
+ import { FC } from 'react';
7442
+ import { NewsItem } from "libs/reach/util/common/src/index";
7443
+ export const ConfirmationSection: FC<{
7444
+ item?: NewsItem;
7445
+ showDescription: boolean;
7446
+ readOnly?: boolean;
7447
+ className?: string;
7448
+ }>;
7449
+ }
7450
+ declare module "libs/reach/feature/content/src/news/NewsService" {
7451
+ import { CurrentUser } from "libs/reach/util/common/src/index";
7452
+ import { LanguageBase } from "libs/reach/util/common/src/index";
7453
+ import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7454
+ export class NewsService {
7455
+ static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7456
+ static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7457
+ static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7458
+ static getContentLanguages(contents: {
7459
+ [lang: string]: ContentDefinition;
7460
+ }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7461
+ static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7462
+ static getLanguageForContent(contents: {
7463
+ [lang: string]: ContentDefinition;
7464
+ }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7465
+ static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7466
+ }
7467
+ }
7468
+ declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7469
+ import { FC } from 'react';
7470
+ import { PublishableItemContents } from "libs/reach/util/common/src/index";
7471
+ export interface TranslationItem {
7472
+ language: string;
7473
+ id: string;
7474
+ text: string;
7475
+ }
7476
+ export const PollTranslationContext: import("react").Context<{
7477
+ getTranslation: (id: string) => string;
7478
+ getAllTranslations: (id: string) => TranslationItem[];
7479
+ }>;
7480
+ export const PollTranslationContextProvider: FC<{
7481
+ contents?: PublishableItemContents;
7482
+ language: string;
7483
+ additionalTranslations?: TranslationItem[];
7484
+ }>;
7485
+ }
7486
+ declare module "libs/reach/feature/content/src/feedback/utils" {
7487
+ import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7488
+ export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7489
+ export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7490
+ export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
7491
+ }
7492
+ declare module "libs/reach/feature/content/src/feedback/index" {
7493
+ export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
7494
+ export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
7495
+ export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
7496
+ export * from "libs/reach/feature/content/src/feedback/utils";
7497
+ }
7498
+ declare module "libs/reach/feature/content/src/comments/FollowComments" {
7499
+ import { FC } from 'react';
7500
+ import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
7501
+ export interface Props {
7502
+ type: ItemResourceTypes;
7503
+ itemId: string;
7504
+ recurrenceSeriesId?: string;
7505
+ className?: string;
7506
+ scope: ConversationScope;
7507
+ hideProfileUrl?: boolean;
7508
+ onToggleFollow?: (isFollowed: boolean) => void;
7509
+ isReadOnly?: boolean;
7510
+ }
7511
+ export const FollowComments: FC<Props>;
7512
+ export const FollowCommentsNotificationWarning: FC<{
7513
+ hideProfileUrl?: boolean;
7514
+ className?: string;
7515
+ }>;
7516
+ }
7517
+ declare module "libs/reach/feature/content/src/comments/CommentInput" {
7518
+ import { ReactNode } from 'react';
7519
+ import { Account } from "libs/reach/util/common/src/index";
7520
+ export interface UserSuggestion {
7521
+ id: string;
7522
+ upn: string;
7523
+ displayName: string;
7524
+ display: string;
7525
+ }
7526
+ export interface SuggestionArgs {
7527
+ searchText: string;
7528
+ updateSuggestions: (suggestions: UserSuggestion[]) => any;
7529
+ }
7530
+ export interface CommentInputProps {
7531
+ className?: string;
7532
+ content: string;
7533
+ disabled?: boolean;
7534
+ autoFocus?: boolean;
7535
+ onEnter?: () => void;
7536
+ onCtrlEnter?: () => unknown;
7537
+ onChange?: (value: string) => void;
7538
+ onFocus?: () => void;
7539
+ additionalInputControl?: ReactNode;
7540
+ buttons?: {
7541
+ leftSide?: ReactNode;
7542
+ rightSide?: ReactNode;
7543
+ };
7544
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7545
+ placeHolderStringResourceKey?: string;
7546
+ placeHolderStringResourceValues?: {
7547
+ [key: string]: string | number | boolean | Date;
7548
+ };
7549
+ disableBoxShadow?: boolean;
7550
+ ariaLabel?: string;
7551
+ }
7552
+ export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
7553
+ }
7554
+ declare module "libs/reach/feature/content/src/comments/DropInfo" {
7555
+ import { FC } from 'react';
7556
+ export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7557
+ isActive: boolean;
7558
+ }, never>;
7559
+ export const DropInfo: FC;
7560
+ }
7561
+ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
7562
+ import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
7563
+ import { VideoSource as VideoSourceEnvironment } from "libs/shared/util/environment/src/index";
7564
+ export interface KalturaProperties {
7565
+ sp?: string;
7566
+ uiconfId?: string;
7567
+ partnerId?: string;
7568
+ entryId?: string;
7569
+ }
7570
+ export const showPlayerForGenericVideoSource: (url: string, additionalVideoSources?: VideoSourceEnvironment[]) => boolean;
7571
+ export class VideoUrlParser {
7572
+ private url;
7573
+ private additionalVideoSources?;
7574
+ private static ytRegex;
7575
+ private static vimeoRegex;
7576
+ private static microsoftStreamRegex;
7577
+ private static vimeoDirectLinkRegex;
7578
+ private static vimeoRedirectLinkRegex;
7579
+ private static kalturaRegex;
7580
+ readonly source: VideoSource | null;
7581
+ readonly id: string | null;
7582
+ readonly isDirectVideoUrl: boolean;
7583
+ readonly videoProperties: any;
7584
+ readonly thumbnailUrl: string;
7585
+ constructor(url: string, additionalVideoSources?: VideoSourceEnvironment[]);
7586
+ hasValidGenericUrlVideoSourcePrefix(url: string): boolean;
7587
+ isValid(features: FeatureSet): boolean;
7588
+ }
7589
+ export function getVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
7590
+ export function getAllVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
7591
+ }
7592
+ declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
7593
+ import { AttachmentType } from "libs/reach/util/common/src/index";
7594
+ export function getAllVideosFromString(content: string): Generator<{
7595
+ url: string;
7596
+ type: AttachmentType;
7597
+ }, void, unknown>;
7598
+ export function getEmbeddedObjectsFromString(content: string): Generator<{
7599
+ url: string;
7600
+ subscriptionIdentifier: string;
7601
+ type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
7602
+ id: string;
7603
+ }, void, unknown>;
7604
+ }
7605
+ declare module "libs/reach/feature/content/src/events/useEventsApi" {
7606
+ import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
7607
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7608
+ import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
7609
+ export function useEventsApi(): {
7610
+ getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
7611
+ getEvent: (id: string) => Promise<EventItem>;
7612
+ getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
7613
+ };
7614
+ }
7615
+ declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
7616
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7617
+ import { PageType } from "libs/reach/util/common/src/index";
7618
+ export interface PageFilterDefinition extends PublishableItemFilterDefinition {
7619
+ pageContextId?: string;
7620
+ restrictToPageContext?: boolean;
7621
+ rootPagesOnly?: boolean;
7622
+ parentId?: string;
7623
+ pageType?: PageType;
7624
+ }
7625
+ }
7626
+ declare module "libs/reach/feature/content/src/pages/usePagesApi" {
7627
+ import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
7628
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7629
+ import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
7630
+ export function usePagesApi(): {
7631
+ loadPage: (id: string) => Promise<PageItem>;
7632
+ loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
7633
+ getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
7634
+ getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7635
+ searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7636
+ getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6891
7637
  searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6892
7638
  getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
6893
7639
  searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
@@ -6941,7 +7687,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
6941
7687
  deletePost: (postId: string) => Promise<unknown>;
6942
7688
  getPost: (postId: string, commentCount?: number) => Promise<Post>;
6943
7689
  getPostThread: (postId: string, threadId: string) => Promise<Post>;
6944
- translatePost: (postId: string, language: string) => any;
7690
+ translatePost: (postId: string, language: string) => Promise<string>;
6945
7691
  searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
6946
7692
  };
6947
7693
  }
@@ -6951,7 +7697,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
6951
7697
  }
6952
7698
  declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6953
7699
  import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
6954
- import { Attachment } from "libs/reach/util/common/src/index";
7700
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
6955
7701
  export interface ClientAttachment extends Attachment {
6956
7702
  file?: File;
6957
7703
  }
@@ -6967,6 +7713,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6967
7713
  placeHolderStringResourceKey?: string;
6968
7714
  disableAddGif?: boolean;
6969
7715
  disableAddFiles?: boolean;
7716
+ parentId?: string;
7717
+ itemResourceType?: ItemResourceTypes | string;
6970
7718
  };
6971
7719
  export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
6972
7720
  attachments: Attachment[];
@@ -6979,6 +7727,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6979
7727
  placeHolderStringResourceKey?: string;
6980
7728
  disableAddGif?: boolean;
6981
7729
  disableAddFiles?: boolean;
7730
+ parentId?: string;
7731
+ itemResourceType?: ItemResourceTypes | string;
6982
7732
  } & import("react").RefAttributes<HTMLInputElement>>;
6983
7733
  }
6984
7734
  declare module "libs/reach/feature/content/src/comments/utils" {
@@ -7087,27 +7837,10 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
7087
7837
  showAllKeywordsInCallout?: boolean;
7088
7838
  }>;
7089
7839
  }
7090
- declare module "libs/reach/feature/content/src/news/NewsService" {
7091
- import { CurrentUser } from "libs/reach/util/common/src/index";
7092
- import { LanguageBase } from "libs/reach/util/common/src/index";
7093
- import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7094
- export class NewsService {
7095
- static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7096
- static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7097
- static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7098
- static getContentLanguages(contents: {
7099
- [lang: string]: ContentDefinition;
7100
- }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7101
- static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7102
- static getLanguageForContent(contents: {
7103
- [lang: string]: ContentDefinition;
7104
- }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7105
- static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7106
- }
7107
- }
7108
7840
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7109
7841
  import { FC, MouseEvent } from 'react';
7110
7842
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7843
+ import { LocationState } from 'history';
7111
7844
  export const ClickableOverlay: FC<{
7112
7845
  itemId: string;
7113
7846
  itemType: ItemResourceTypes;
@@ -7118,6 +7851,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7118
7851
  onClick?: (event: MouseEvent<unknown>) => unknown;
7119
7852
  openTargetInNewWindow?: boolean;
7120
7853
  isExternalContent?: boolean;
7854
+ locationState?: LocationState;
7855
+ }>;
7856
+ }
7857
+ declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
7858
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7859
+ import { FC } from 'react';
7860
+ export const ClickableOverlayWithModalRouting: FC<{
7861
+ itemId: string;
7862
+ itemType: ItemResourceTypes;
7863
+ baseRoute: string;
7864
+ title?: string;
7865
+ isExternalContent?: boolean;
7866
+ targetUrl?: string;
7121
7867
  }>;
7122
7868
  }
7123
7869
  declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
@@ -7128,6 +7874,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
7128
7874
  targetUrl?: string;
7129
7875
  readOnly?: boolean;
7130
7876
  backgroundColor?: string;
7877
+ enableModalRouting?: boolean;
7131
7878
  className?: string;
7132
7879
  }>;
7133
7880
  }
@@ -7165,6 +7912,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7165
7912
  className?: string;
7166
7913
  allowFilterByChannels?: boolean;
7167
7914
  channelBackgroundColor?: string;
7915
+ onChannelClick?: (channel: string) => unknown;
7168
7916
  }>;
7169
7917
  }
7170
7918
  declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
@@ -7224,6 +7972,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7224
7972
  height?: number;
7225
7973
  hidePlayerIfActive?: boolean;
7226
7974
  className?: string;
7975
+ documentIconName?: string;
7227
7976
  }
7228
7977
  export const PublishableItemBanner: FC<Props>;
7229
7978
  }
@@ -7309,27 +8058,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7309
8058
  }
7310
8059
  export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
7311
8060
  }
7312
- declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7313
- import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7314
- export default interface FeedbackSummary {
7315
- records: FeedbackItem[];
7316
- }
7317
- export enum FeedbackItemType {
7318
- comment = "comment",
7319
- like = "like",
7320
- confirm = "confirm",
7321
- poll = "poll",
7322
- eventRegistration = "eventRegistration"
7323
- }
7324
- export interface FeedbackItem {
7325
- type: FeedbackItemType;
7326
- timestamp: string;
7327
- }
7328
- export interface PollFeedbackItem extends FeedbackItem {
7329
- type: FeedbackItemType.poll;
7330
- answers: PollQuestionAnswer[];
7331
- }
7332
- }
7333
8061
  declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
7334
8062
  import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7335
8063
  import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
@@ -7348,6 +8076,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7348
8076
  import { PrimaryButton } from 'office-ui-fabric-react';
7349
8077
  export const EventRegistrationButton: FC<{
7350
8078
  isRegistered: boolean;
8079
+ eventId: string;
7351
8080
  disabled?: boolean;
7352
8081
  className?: string;
7353
8082
  onClick?: () => void;
@@ -7358,24 +8087,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7358
8087
  isRegistered?: boolean;
7359
8088
  }, never>;
7360
8089
  }
7361
- declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7362
- import { FC } from 'react';
7363
- import { PublishableItemContents } from "libs/reach/util/common/src/index";
7364
- export interface TranslationItem {
7365
- language: string;
7366
- id: string;
7367
- text: string;
7368
- }
7369
- export const PollTranslationContext: import("react").Context<{
7370
- getTranslation: (id: string) => string;
7371
- getAllTranslations: (id: string) => TranslationItem[];
7372
- }>;
7373
- export const PollTranslationContextProvider: FC<{
7374
- contents?: PublishableItemContents;
7375
- language: string;
7376
- additionalTranslations?: TranslationItem[];
7377
- }>;
7378
- }
7379
8090
  declare module "libs/reach/feature/content/src/events/eventUtils" {
7380
8091
  import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
7381
8092
  import { MessageDescriptor } from 'react-intl';
@@ -7431,25 +8142,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7431
8142
  onDismiss: () => unknown;
7432
8143
  }>;
7433
8144
  }
7434
- declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7435
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7436
- import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7437
- import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7438
- import { PaginatedList } from "libs/reach/util/common/src/index";
7439
- import { Account } from "libs/reach/util/common/src/index";
7440
- import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7441
- export const feedbackCache: {
7442
- [newsId: string]: Promise<FeedbackSummary>;
7443
- };
7444
- export function useFeedbackApi(): {
7445
- getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7446
- setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7447
- unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7448
- updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7449
- getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7450
- getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7451
- };
7452
- }
7453
8145
  declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
7454
8146
  import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7455
8147
  import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
@@ -7462,10 +8154,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
7462
8154
  }
7463
8155
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
7464
8156
  import { FC } from 'react';
8157
+ import { EventResponse } from "libs/reach/util/common/src/index";
7465
8158
  export const EventUserRegistration: FC<{
7466
8159
  disabled?: boolean;
7467
8160
  hideInfoMessage?: boolean;
7468
8161
  showNoRegistrationRequired?: boolean;
8162
+ onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7469
8163
  className?: string;
7470
8164
  }>;
7471
8165
  }
@@ -7523,11 +8217,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
7523
8217
  className?: string;
7524
8218
  }>;
7525
8219
  }
7526
- declare module "libs/reach/feature/content/src/feedback/utils" {
7527
- import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7528
- export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7529
- export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7530
- }
7531
8220
  declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7532
8221
  import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
7533
8222
  import { FC } from 'react';
@@ -7535,8 +8224,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7535
8224
  export const CardLikeButton: FC<{
7536
8225
  item: NewsItem | EventItem;
7537
8226
  itemResourceType: ItemResourceTypes;
7538
- isAutoLiked?: boolean;
7539
- onLiked?: (isLiked: boolean) => unknown;
8227
+ onToggleLike?: (isLiked: boolean, likeCount: number) => void;
7540
8228
  className?: string;
7541
8229
  }>;
7542
8230
  }
@@ -7558,6 +8246,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
7558
8246
  className?: string;
7559
8247
  }>;
7560
8248
  }
8249
+ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
8250
+ import { FC } from 'react';
8251
+ export const LinkWithModalRouting: FC<{
8252
+ url: string;
8253
+ itemId: string;
8254
+ hash?: string;
8255
+ onClick?: (e: React.MouseEvent) => unknown;
8256
+ ariaHidden?: boolean;
8257
+ ariaLabel?: string;
8258
+ className?: string;
8259
+ }>;
8260
+ }
7561
8261
  declare module "libs/reach/feature/content/src/events/list/EventCard" {
7562
8262
  import { FC } from 'react';
7563
8263
  import { EventItem } from "libs/reach/util/common/src/index";
@@ -7576,6 +8276,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7576
8276
  allowFilterByChannels?: boolean;
7577
8277
  showFeedbackButtons?: boolean;
7578
8278
  readOnly?: boolean;
8279
+ enableModalRouting?: boolean;
7579
8280
  className?: string;
7580
8281
  }>;
7581
8282
  }
@@ -7626,7 +8327,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7626
8327
  Contact = "contact",
7627
8328
  InlinePageList = "inline-page-list",
7628
8329
  UrlPreview = "url-preview",
7629
- ActionButton = "action-button"
8330
+ ActionButton = "action-button",
8331
+ InlinePlugin = "inline-plugin"
7630
8332
  }
7631
8333
  export interface HtmlComponentMapper {
7632
8334
  component: FC<any>;
@@ -7653,6 +8355,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
7653
8355
  resourceType: ItemResourceTypes;
7654
8356
  item: TItem;
7655
8357
  itemId: string;
8358
+ relatedItemIds?: string[];
7656
8359
  contentLanguage: string;
7657
8360
  userPreferredLanguage: string;
7658
8361
  activeLanguages: string[];
@@ -7768,7 +8471,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
7768
8471
  resourceKey?: string;
7769
8472
  resourceValues?: string;
7770
8473
  className?: string;
8474
+ enableModalRouting?: boolean;
8475
+ itemId?: string;
7771
8476
  isOverrideLink: boolean;
8477
+ icon?: string;
7772
8478
  }>;
7773
8479
  }
7774
8480
  declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
@@ -7827,6 +8533,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7827
8533
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7828
8534
  onKeywordClick?: (keyword: string) => unknown;
7829
8535
  openTargetInNewWindow?: boolean;
8536
+ enableModalRouting?: boolean;
7830
8537
  className?: string;
7831
8538
  }
7832
8539
  export const PageItemTile: FC<Props>;
@@ -7872,6 +8579,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
7872
8579
  onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7873
8580
  styleDefinition?: StyleDefinition;
7874
8581
  readOnly?: boolean;
8582
+ enableModalRouting?: boolean;
7875
8583
  className?: string;
7876
8584
  }
7877
8585
  export const PublishableItemTileWrapper: FC<Props>;
@@ -7915,6 +8623,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7915
8623
  onKeywordClick?: (keyword: string) => unknown;
7916
8624
  styleDefinition?: StyleDefinition;
7917
8625
  readOnly?: boolean;
8626
+ enableModalRouting?: boolean;
8627
+ highlight?: boolean;
7918
8628
  className?: string;
7919
8629
  }
7920
8630
  export const NewsItemTile: FC<Props>;
@@ -7940,6 +8650,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
7940
8650
  previewTheme?: CommentInputTheme;
7941
8651
  buttons?: ReactNode;
7942
8652
  groupIds?: string[];
8653
+ enableModalRouting?: boolean;
7943
8654
  className?: string;
7944
8655
  }>;
7945
8656
  export const EmbeddedObjectAccessDeniedTile: FC<{
@@ -7956,6 +8667,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
7956
8667
  attachments: Attachment[];
7957
8668
  onDeleteClick?: (attachment: Attachment) => void;
7958
8669
  previewTheme?: CommentInputTheme;
8670
+ enableModalRouting?: boolean;
7959
8671
  className?: string;
7960
8672
  }>;
7961
8673
  }
@@ -7972,7 +8684,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
7972
8684
  }
7973
8685
  declare module "libs/reach/feature/content/src/comments/AttachmentList" {
7974
8686
  import { FC } from 'react';
7975
- import { Attachment } from "libs/reach/util/common/src/index";
8687
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
7976
8688
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
7977
8689
  interface Props {
7978
8690
  className?: string;
@@ -7982,6 +8694,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
7982
8694
  previewTheme?: CommentInputTheme;
7983
8695
  disableVideoPreview?: boolean;
7984
8696
  disableEmbeddedObjectPreview?: boolean;
8697
+ itemResourceType?: ItemResourceTypes | string;
8698
+ parentId?: string;
7985
8699
  }
7986
8700
  export const AttachmentList: FC<Props>;
7987
8701
  }
@@ -7998,6 +8712,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
7998
8712
  placeHolderStringResourceKey?: string;
7999
8713
  disableAddGif?: boolean;
8000
8714
  disableAddFiles?: boolean;
8715
+ parentId?: string;
8716
+ itemResourceType?: string;
8001
8717
  } & {
8002
8718
  disableVideoPreview?: boolean;
8003
8719
  disableEmbeddedObjectPreview?: boolean;
@@ -8067,7 +8783,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
8067
8783
  }
8068
8784
  declare module "libs/reach/feature/content/src/comments/CreateComment" {
8069
8785
  import { FC } from 'react';
8070
- import { Account } from "libs/reach/util/common/src/index";
8786
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8071
8787
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8072
8788
  import { Keyword } from "libs/reach/util/common/src/index";
8073
8789
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
@@ -8099,6 +8815,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
8099
8815
  };
8100
8816
  disableBoxShadow?: boolean;
8101
8817
  ariaLabel?: string;
8818
+ parentId?: string;
8819
+ itemResourceType?: ItemResourceTypes | string;
8102
8820
  }
8103
8821
  interface Props extends BaseProps {
8104
8822
  allowAttachments?: boolean;
@@ -8116,6 +8834,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8116
8834
  import { FC, ReactNode } from 'react';
8117
8835
  export const InlineObjectToolbar: FC<{
8118
8836
  onDelete?: () => void;
8837
+ deleteAriaLabelResourceKey?: string;
8119
8838
  additionalButtons?: ReactNode;
8120
8839
  }>;
8121
8840
  export const InlineObjectToolbarWrapper: FC<{
@@ -8123,15 +8842,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8123
8842
  }>;
8124
8843
  }
8125
8844
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8126
- import { FC } from 'react';
8845
+ import { FC, ReactNode } from 'react';
8846
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8127
8847
  export const ImageToolbar: FC<{
8128
8848
  onDelete?: () => void;
8129
8849
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8130
8850
  onClose?: (e: React.MouseEvent<any>) => void;
8131
8851
  onCrop?: (e: React.MouseEvent<any>) => void;
8852
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8132
8853
  showFullScreenButton?: boolean;
8133
8854
  showCloseButton?: boolean;
8134
8855
  showCropButton?: boolean;
8856
+ alignmentButtons?: ReactNode;
8135
8857
  }>;
8136
8858
  }
8137
8859
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8158,14 +8880,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
8158
8880
  }
8159
8881
  export const InlineGalleryMapper: HtmlComponentMapper;
8160
8882
  }
8161
- declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
8162
- import { FC } from 'react';
8163
- import { ImageDetails } from "libs/reach/util/common/src/index";
8164
- export const LegacyPostPhotoGallery: FC<{
8165
- images: ImageDetails[];
8166
- imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
8167
- }>;
8168
- }
8169
8883
  declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8170
8884
  import { FC } from 'react';
8171
8885
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
@@ -8173,12 +8887,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8173
8887
  item: ItemWithAttachments;
8174
8888
  basePath: string;
8175
8889
  imagesGridBackgroundColor?: string;
8890
+ onPlayVideo?: (url: string, videoId: string) => void;
8891
+ onPlayAudio?: (url: string, audioId: string) => void;
8176
8892
  className?: string;
8177
8893
  }>;
8178
8894
  }
8179
8895
  declare module "libs/reach/feature/content/src/comments/EditComment" {
8180
8896
  import { FC } from 'react';
8181
- import { Account } from "libs/reach/util/common/src/index";
8897
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8182
8898
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8183
8899
  import { Attachment } from "libs/reach/util/common/src/index";
8184
8900
  import { Keyword } from "libs/reach/util/common/src/index";
@@ -8194,6 +8910,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
8194
8910
  onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
8195
8911
  onDeleteAttachment?: (attachment: ClientAttachment) => void;
8196
8912
  ariaLabel?: string;
8913
+ parentId?: string;
8914
+ itemResourceType?: ItemResourceTypes | string;
8197
8915
  }
8198
8916
  interface Props extends BaseProps {
8199
8917
  onSave?: (newContent: string, keywords?: {
@@ -8258,6 +8976,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8258
8976
  export const EditCommentWithAttachments: FC<Props>;
8259
8977
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
8260
8978
  }
8979
+ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8980
+ import { FC } from 'react';
8981
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8982
+ export const BookmarkButton: FC<{
8983
+ item: PublishableItem;
8984
+ isReadOnly?: boolean;
8985
+ className?: string;
8986
+ }>;
8987
+ }
8261
8988
  declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8262
8989
  import { FC } from 'react';
8263
8990
  export const CardStatisticItem: FC<{
@@ -8275,13 +9002,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8275
9002
  };
8276
9003
  }>;
8277
9004
  }
8278
- declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
9005
+ declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
9006
+ import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8279
9007
  import { FC } from 'react';
8280
- import { PublishableItem } from "libs/reach/util/common/src/index";
8281
- export const BookmarkButton: FC<{
8282
- item: PublishableItem;
8283
- isReadOnly?: boolean;
8284
- className?: string;
9008
+ export const CardCommentButton: FC<{
9009
+ item: NewsItem | EventItem;
9010
+ itemResourceType: ItemResourceTypes;
9011
+ targetRoute: string;
9012
+ enableModalRouting?: boolean;
8285
9013
  }>;
8286
9014
  }
8287
9015
  declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
@@ -8289,13 +9017,12 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8289
9017
  import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8290
9018
  export const CardFooter: FC<{
8291
9019
  item: NewsItem | EventItem;
8292
- showComments: boolean;
8293
9020
  targetRoute: string;
8294
9021
  itemResourceType: ItemResourceTypes;
8295
- isAutoLiked?: boolean;
8296
- onLiked?: (isLiked: boolean) => unknown;
9022
+ enableModalRouting?: boolean;
9023
+ className?: string;
8297
9024
  }>;
8298
- export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
9025
+ export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8299
9026
  }
8300
9027
  declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8301
9028
  export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -8344,7 +9071,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
8344
9071
  target?: string;
8345
9072
  language?: string;
8346
9073
  hideCurrentPageNode?: boolean;
9074
+ homeTargetUrlOverride?: string;
8347
9075
  className?: string;
9076
+ readonly?: boolean;
8348
9077
  }>;
8349
9078
  }
8350
9079
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
@@ -8404,6 +9133,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
8404
9133
  hide?: boolean;
8405
9134
  onPageSelected?: (pageId: string) => unknown;
8406
9135
  selectedPageId?: string;
9136
+ readonly?: boolean;
8407
9137
  }>;
8408
9138
  }
8409
9139
  declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
@@ -8420,6 +9150,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
8420
9150
  selectedPageId?: string;
8421
9151
  isLoading?: boolean;
8422
9152
  disableScrollableList?: boolean;
9153
+ readonly?: boolean;
8423
9154
  }>;
8424
9155
  export const PageTableOfContentsInPanel: FC<{
8425
9156
  basePath?: string;
@@ -8442,6 +9173,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
8442
9173
  onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8443
9174
  onDismiss: () => void;
8444
9175
  basePath: string;
9176
+ readonly?: boolean;
8445
9177
  }>;
8446
9178
  }
8447
9179
  declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
@@ -8465,6 +9197,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
8465
9197
  activePageId: string;
8466
9198
  navigationContext: PageNavigationContext;
8467
9199
  className?: string;
9200
+ readonly?: boolean;
8468
9201
  }
8469
9202
  export const PagesDetailViewNavigation: FC<Props>;
8470
9203
  }
@@ -8543,6 +9276,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8543
9276
  language?: string;
8544
9277
  buildChannelFilterUrl?: (channelName: string) => string;
8545
9278
  clickableAvatar?: boolean;
9279
+ onChannelClick?: (channel: string) => unknown;
8546
9280
  }>;
8547
9281
  }
8548
9282
  declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
@@ -8592,7 +9326,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8592
9326
  item: NewsItem;
8593
9327
  baseRoute: string;
8594
9328
  language: string;
8595
- showComments: boolean;
8596
9329
  highlight: boolean;
8597
9330
  className?: string;
8598
9331
  }
@@ -8625,6 +9358,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
8625
9358
  isLastPage: boolean;
8626
9359
  unreadOnly?: boolean;
8627
9360
  filter?: NewsFilterDefinition;
9361
+ activeChannel?: string;
8628
9362
  }>;
8629
9363
  }
8630
9364
  declare module "libs/reach/feature/content/src/news/useTranslateApi" {
@@ -8686,6 +9420,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
8686
9420
  type?: ItemResourceTypes;
8687
9421
  loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8688
9422
  isEditorPreview?: boolean;
9423
+ relatedItemIds?: string[];
8689
9424
  }>;
8690
9425
  }
8691
9426
  declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
@@ -8699,6 +9434,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8699
9434
  }
8700
9435
  declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8701
9436
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9437
+ export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
8702
9438
  export const InlineImageMapper: HtmlComponentMapper;
8703
9439
  }
8704
9440
  declare module "libs/reach/feature/content/src/common/body/InlineContact" {
@@ -8759,6 +9495,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
8759
9495
  baseRoute: string;
8760
9496
  filterBaseUrl?: string;
8761
9497
  isInitialLoading?: boolean;
9498
+ readonly?: boolean;
8762
9499
  }>;
8763
9500
  }
8764
9501
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
@@ -8786,6 +9523,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
8786
9523
  pagingProps?: ListPagingProps;
8787
9524
  filterBaseUrl?: string;
8788
9525
  emptyListMessage: string;
9526
+ readonly?: boolean;
8789
9527
  }>;
8790
9528
  }
8791
9529
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
@@ -8917,6 +9655,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
8917
9655
  }
8918
9656
  export const InlineActionButtonMapper: HtmlComponentMapper;
8919
9657
  }
9658
+ declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
9659
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9660
+ export const InlineObjectPluginMapper: HtmlComponentMapper;
9661
+ }
8920
9662
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8921
9663
  import { FC } from 'react';
8922
9664
  export const EventDetailViewPeopleInfo: FC;
@@ -8929,6 +9671,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8929
9671
  import { FC } from 'react';
8930
9672
  export const EventDetailViewMetaInfo: FC<{
8931
9673
  allowFilterByChannels?: boolean;
9674
+ onChannelClick?: (channel: string) => unknown;
8932
9675
  }>;
8933
9676
  }
8934
9677
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
@@ -8972,6 +9715,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
8972
9715
  export const DetailViewCsvExportButton: FC<{
8973
9716
  path: string;
8974
9717
  stringResource: string;
9718
+ isReadOnly?: boolean;
8975
9719
  className?: string;
8976
9720
  }>;
8977
9721
  }
@@ -9031,6 +9775,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9031
9775
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
9032
9776
  import { FC } from 'react';
9033
9777
  export const EventDetailViewResponseExportButton: FC<{
9778
+ isReadOnly?: boolean;
9034
9779
  className?: string;
9035
9780
  }>;
9036
9781
  }
@@ -9043,8 +9788,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9043
9788
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
9044
9789
  import { FC } from 'react';
9045
9790
  export const EventDetailViewUserRegistration: FC<{
9046
- className?: string;
9047
9791
  hideInfoMessage?: boolean;
9792
+ isReadOnly?: boolean;
9793
+ className?: string;
9048
9794
  }>;
9049
9795
  }
9050
9796
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
@@ -9085,7 +9831,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9085
9831
  }
9086
9832
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
9087
9833
  import { FC } from 'react';
9088
- export const EventRegistrationParticipantsLink: FC;
9834
+ export const EventRegistrationParticipantsLink: FC<{
9835
+ isReadOnly?: boolean;
9836
+ }>;
9089
9837
  }
9090
9838
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
9091
9839
  import { FC } from 'react';
@@ -9136,6 +9884,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9136
9884
  readOnly?: boolean;
9137
9885
  trimContent?: boolean;
9138
9886
  showReplyBox?: boolean;
9887
+ enableModalRouting?: boolean;
9139
9888
  className?: string;
9140
9889
  }>;
9141
9890
  }
@@ -9158,6 +9907,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9158
9907
  onReply?: (comment: Comment, commentSender?: Account) => void;
9159
9908
  readOnly?: boolean;
9160
9909
  trimContent?: boolean;
9910
+ enableModalRouting?: boolean;
9161
9911
  className?: string;
9162
9912
  }
9163
9913
  export const CommentList: FC<CommentListProps>;
@@ -9217,6 +9967,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9217
9967
  showReplyBox?: boolean;
9218
9968
  trimContent?: boolean;
9219
9969
  title?: ReactNode;
9970
+ enableModalRouting?: boolean;
9220
9971
  className?: string;
9221
9972
  };
9222
9973
  export const PagedCommentsSection: FC<Props>;
@@ -9241,23 +9992,18 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
9241
9992
  }
9242
9993
  declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
9243
9994
  import { FC } from 'react';
9244
- import { PublishableItem } from "libs/reach/util/common/src/index";
9245
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9995
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9246
9996
  export const PublishableItemComments: FC<{
9247
9997
  item: PublishableItem;
9248
9998
  readOnly?: boolean;
9249
9999
  loadInReadOnlyMode?: boolean;
9250
10000
  type: ItemResourceTypes;
9251
- hideProfileUrl?: boolean;
9252
10001
  disableLoginForPublicUser?: boolean;
9253
10002
  }>;
9254
10003
  }
9255
10004
  declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons" {
9256
- import { FC } from 'react';
9257
- import { ItemStatistics } from "libs/reach/util/common/src/index";
9258
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9259
- import { PublishableItem } from "libs/reach/util/common/src/index";
9260
- import { Feedback } from "libs/reach/util/common/src/index";
10005
+ import { FC, ReactNode } from 'react';
10006
+ import { Feedback, ItemResourceTypes, ItemStatistics, PublishableItem } from "libs/reach/util/common/src/index";
9261
10007
  export const FeedbackButtonContext: import("react").Context<{
9262
10008
  statistics: ItemStatistics;
9263
10009
  item: PublishableItem;
@@ -9270,6 +10016,8 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9270
10016
  item: PublishableItem;
9271
10017
  hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
9272
10018
  language: string;
10019
+ warningMessage?: ReactNode;
10020
+ buttons: ReactNode[];
9273
10021
  className?: string;
9274
10022
  }>;
9275
10023
  }
@@ -9308,19 +10056,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
9308
10056
  }>;
9309
10057
  }
9310
10058
  declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
9311
- import { FC } from 'react';
9312
- import { FeedbackSettings } from "libs/reach/util/common/src/index";
9313
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9314
- import { PublishableItem } from "libs/reach/util/common/src/index";
10059
+ import { FC, ReactNode } from 'react';
10060
+ import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9315
10061
  export const FeedbackSection: FC<{
9316
10062
  item: PublishableItem;
10063
+ buttons: ReactNode[];
9317
10064
  language: string;
9318
10065
  type: ItemResourceTypes;
9319
10066
  feedbackSettings: FeedbackSettings;
9320
10067
  hideComments?: boolean;
9321
- hideProfileUrl?: boolean;
9322
10068
  disableLoginForPublicUser?: boolean;
9323
10069
  isReadOnly?: boolean;
10070
+ warningMessage?: ReactNode;
9324
10071
  className?: string;
9325
10072
  }>;
9326
10073
  }
@@ -9343,12 +10090,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
9343
10090
  import { EventItem } from "libs/reach/util/common/src/index";
9344
10091
  export const EventDownloadCalendarFileButton: FC<{
9345
10092
  item: EventItem;
10093
+ isReadOnly: boolean;
9346
10094
  className?: string;
9347
10095
  }>;
9348
10096
  }
9349
10097
  declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
9350
10098
  import { FC } from 'react';
9351
- export const EventFeedbackButtonDownloadCalendarFile: FC;
10099
+ export const EventFeedbackButtonDownloadCalendarFile: FC<{
10100
+ isReadOnly: boolean;
10101
+ }>;
9352
10102
  }
9353
10103
  declare module "libs/reach/feature/content/src/feedback/ShareButton" {
9354
10104
  import { FC } from 'react';
@@ -9373,14 +10123,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
9373
10123
  }
9374
10124
  declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
9375
10125
  import { FC } from 'react';
9376
- import { PublishableItem } from "libs/reach/util/common/src/index";
10126
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9377
10127
  export const ConfirmationStatisticsExport: FC<{
9378
10128
  item: PublishableItem;
10129
+ resourceType: ItemResourceTypes;
10130
+ isReadOnly?: boolean;
9379
10131
  }>;
9380
10132
  }
9381
10133
  declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
9382
10134
  import { FC } from 'react';
9383
- export const FeedbackButtonConfirmations: FC;
10135
+ export const FeedbackButtonConfirmations: FC<{
10136
+ isReadOnly?: boolean;
10137
+ }>;
10138
+ }
10139
+ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
10140
+ export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
9384
10141
  }
9385
10142
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
9386
10143
  import { FC } from 'react';
@@ -9474,10 +10231,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
9474
10231
  basePath?: string;
9475
10232
  }>;
9476
10233
  }
10234
+ declare module "libs/reach/feature/content/src/common/useContainerDimensions" {
10235
+ export function useContainerDimensions(): [number, (node: any) => void];
10236
+ }
9477
10237
  declare module "libs/reach/feature/content/src/common/banner/Banner" {
9478
10238
  import { FC } from 'react';
9479
10239
  import { ItemResourceTypes, SchedulableItem } from "libs/reach/util/common/src/index";
9480
- import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
10240
+ import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9481
10241
  export const Banner: FC<{
9482
10242
  item: SchedulableItem;
9483
10243
  token: string;
@@ -9485,6 +10245,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9485
10245
  layoutMode?: ItemTileLayoutMode;
9486
10246
  bannerDefaultWidth?: number;
9487
10247
  showPlaceholderIfNoBannerInfo?: boolean;
10248
+ documentIconName?: string;
9488
10249
  }>;
9489
10250
  }
9490
10251
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9522,17 +10283,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9522
10283
  isMobilePreview?: boolean;
9523
10284
  }>;
9524
10285
  }
9525
- declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
9526
- import { FC, ReactNode } from 'react';
9527
- export const GutterMarkerIcon: FC<{
9528
- iconName: string;
9529
- children: ReactNode;
9530
- isActive: boolean;
9531
- color: string;
9532
- tooltipResourceKey?: string;
9533
- className?: string;
9534
- }>;
9535
- }
9536
10286
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
9537
10287
  import { FC } from 'react';
9538
10288
  export const DetailViewTitle: FC;
@@ -9555,24 +10305,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9555
10305
  import { FC } from 'react';
9556
10306
  export const DetailViewKeywords: FC<{
9557
10307
  filterBaseUrl: string;
9558
- }>;
9559
- }
9560
- declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
9561
- import { FC } from 'react';
9562
- export const ConfirmationBox: FC<{
9563
- disabled?: boolean;
9564
- onChange?: (value: boolean) => void;
9565
- checked: boolean;
9566
- }>;
9567
- }
9568
- declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
9569
- import { FC } from 'react';
9570
- import { NewsItem } from "libs/reach/util/common/src/index";
9571
- export const ConfirmationSection: FC<{
9572
- item?: NewsItem;
9573
- showDescription: boolean;
9574
- readOnly?: boolean;
9575
- className?: string;
10308
+ onKeywordClick?: (keyword: string) => unknown;
9576
10309
  }>;
9577
10310
  }
9578
10311
  declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
@@ -9602,9 +10335,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9602
10335
  import { FC, ReactNode } from 'react';
9603
10336
  export const DetailViewNavigation: FC<{
9604
10337
  offsetRight?: number;
9605
- children?: ReactNode;
9606
10338
  callout?: ReactNode;
10339
+ className?: string;
10340
+ children?: ReactNode;
9607
10341
  }>;
10342
+ export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
10343
+ offsetRight?: number;
10344
+ callout?: ReactNode;
10345
+ className?: string;
10346
+ children?: ReactNode;
10347
+ }>, import("styled-components").DefaultTheme, {
10348
+ offsetRightOverride?: number;
10349
+ }, never>;
9608
10350
  }
9609
10351
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
9610
10352
  import { FC } from 'react';
@@ -9646,605 +10388,241 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
9646
10388
  getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
9647
10389
  };
9648
10390
  }
9649
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
9650
- import { LocationDescriptor } from 'history';
9651
- import { FC, ReactNode } from 'react';
9652
- export const SidebarIcon: FC<{
9653
- icon?: ReactNode;
9654
- iconName?: string;
9655
- color?: string;
9656
- onClick?: () => any;
9657
- route?: LocationDescriptor;
9658
- iconTooltipResourceKey: string;
9659
- iconTooltipResourceValues?: any;
10391
+ declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
10392
+ interface IClickHandles {
10393
+ onInsideClick: () => void;
10394
+ onOutsideClick: () => void;
10395
+ }
10396
+ export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
10397
+ }
10398
+ declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10399
+ import { FC } from 'react';
10400
+ export const GroupNotificationsSettings: FC<{
10401
+ groupId: string;
9660
10402
  className?: string;
9661
10403
  }>;
9662
10404
  }
9663
- declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
9664
- import { FC, ReactNode } from 'react';
9665
- import { LocationDescriptor } from 'history';
9666
- import { PrimitiveType } from 'intl-messageformat';
9667
- export interface BaseSidebarItemProps {
9668
- children?: any;
9669
- icon?: ReactNode;
9670
- iconName?: string;
9671
- iconTooltipResourceKey?: string;
9672
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
9673
- secondaryIconName?: string;
9674
- secondaryIconTooltipResourceKey?: string;
9675
- reverse?: boolean;
9676
- onIconClick?: () => void;
9677
- iconRoute?: LocationDescriptor;
9678
- iconColor?: string;
9679
- onSecondaryIconClick?: () => void;
9680
- secondaryIconRoute?: LocationDescriptor;
9681
- onContentClick?: () => void;
9682
- contentRoute?: LocationDescriptor;
9683
- badgeInfo?: number | boolean;
9684
- title?: string;
10405
+ declare module "libs/reach/feature/content/src/posts/PostCreator" {
10406
+ import { FC } from 'react';
10407
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10408
+ import { Keyword } from "libs/reach/util/common/src/index";
10409
+ import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10410
+ export interface PostCreatorProps {
10411
+ groupId: string;
10412
+ disabled?: boolean;
10413
+ disableDragAndDrop?: boolean;
10414
+ onBeforeSave?: (post: Post) => void;
10415
+ onSaved: (post: Post) => void;
10416
+ keywordSettings?: {
10417
+ availableKeywords?: Keyword[];
10418
+ defaultKeywords?: Keyword[];
10419
+ mandatoryKeywords?: Keyword[];
10420
+ };
10421
+ disableAutoFocus?: boolean;
10422
+ attachmentPreviewTheme?: CommentInputTheme;
9685
10423
  className?: string;
9686
10424
  }
9687
- export const BaseSidebarItem: FC<BaseSidebarItemProps>;
10425
+ export const PostCreator: FC<PostCreatorProps>;
9688
10426
  }
9689
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
10427
+ declare module "libs/reach/feature/content/src/posts/PostReplies" {
9690
10428
  import { FC } from 'react';
9691
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
9692
- export const SidebarItemSection: FC<{
9693
- styleDefinition?: ColorStyleDefinition;
10429
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10430
+ import { Comment } from "libs/reach/util/common/src/index";
10431
+ import { PaginatedList } from "libs/reach/util/common/src/index";
10432
+ interface Props {
10433
+ className?: string;
10434
+ post: Post;
10435
+ initialPageSize?: number;
10436
+ comments?: PaginatedList<Comment>;
10437
+ autoFocusReplyField?: boolean;
10438
+ showReplyBox?: boolean;
10439
+ onReplyAdded: () => void;
10440
+ onReplyDeleted: () => void;
10441
+ trimContent?: boolean;
10442
+ enableModalRouting?: boolean;
10443
+ }
10444
+ export const PostReplies: FC<Props>;
10445
+ }
10446
+ declare module "libs/reach/feature/content/src/posts/PostEditor" {
10447
+ import { FC } from 'react';
10448
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10449
+ import { Keyword } from "libs/reach/util/common/src/index";
10450
+ export const PostEditor: FC<{
10451
+ className?: string;
10452
+ post: Post;
10453
+ onCancel: () => void;
10454
+ onBeforeSave: (post: Post) => void;
10455
+ onSaved: (post: Post) => void;
10456
+ keywordSettings?: {
10457
+ availableKeywords?: Keyword[];
10458
+ defaultKeywords?: Keyword[];
10459
+ mandatoryKeywords?: Keyword[];
10460
+ };
9694
10461
  }>;
9695
10462
  }
9696
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
9697
- import { FC, ReactNode } from 'react';
9698
- import { PrimitiveType } from 'intl-messageformat';
9699
- import { LocationDescriptor } from 'history';
9700
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
9701
- interface CommonSidebarItemProps {
9702
- title?: string | JSX.Element;
9703
- titleResource?: string;
9704
- icon?: ReactNode;
9705
- iconName?: string;
9706
- iconTooltipResourceKey?: string;
9707
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
9708
- secondaryIconName?: string;
9709
- secondaryIconTooltipResourceKey?: string;
9710
- iconColor?: string;
9711
- reverse?: boolean;
9712
- notHighlightable?: boolean;
9713
- onClick?: () => void;
9714
- className?: string;
9715
- isActive?: boolean;
9716
- activeClassName?: string;
9717
- readOnly?: boolean;
9718
- submenu?: JSX.Element;
9719
- submenuClassName?: string;
9720
- submenuStyleDefinition?: ColorStyleDefinition;
9721
- badgeInfo?: number | boolean;
9722
- domIdentifier?: string;
9723
- }
9724
- interface SidebarItemProps extends CommonSidebarItemProps {
9725
- contentRoute?: LocationDescriptor;
9726
- onIconClick?: () => void;
9727
- iconRoute?: LocationDescriptor;
9728
- onSecondaryIconClick?: () => void;
9729
- secondaryIconRoute?: LocationDescriptor;
9730
- isHoverable?: boolean;
9731
- }
9732
- export const SidebarItem: FC<SidebarItemProps>;
9733
- interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
9734
- route: LocationDescriptor;
9735
- exact?: boolean;
9736
- linkClassName?: string;
9737
- }
9738
- export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
9739
- }
9740
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
10463
+ declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
9741
10464
  import { FC } from 'react';
9742
- export const SidebarGroup: FC<{
9743
- titleResource?: string;
9744
- borderColor?: string;
9745
- className?: string;
10465
+ export const PostFollowButton: FC<{
10466
+ itemId: string;
10467
+ isFollowing: boolean;
9746
10468
  }>;
9747
10469
  }
9748
- declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
10470
+ declare module "libs/reach/feature/content/src/posts/PostGroup" {
9749
10471
  import { FC } from 'react';
9750
- export const ContentWithShowMoreButton: FC<{
9751
- domIdentifier: string;
9752
- trimContent: boolean;
10472
+ import { NavLink } from 'react-router-dom';
10473
+ export const PostGroup: FC<{
10474
+ groupId: string;
10475
+ target?: string;
9753
10476
  className?: string;
9754
10477
  }>;
10478
+ export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
9755
10479
  }
9756
- declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
10480
+ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
9757
10481
  import { FC } from 'react';
9758
- import { Channel } from "libs/reach/util/common/src/index";
9759
- import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
10482
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10483
+ import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
9760
10484
  interface Props {
9761
- selectedChannelNames?: string[];
9762
- selectedChannelIds?: string[];
9763
- mandatoryChannelIds?: string[];
9764
- availableChannels?: Channel[];
9765
- onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
10485
+ post: Post;
10486
+ targetUrl?: string;
9766
10487
  className?: string;
9767
- showOnlyUserChannels?: boolean;
9768
- showSelectionToggle?: boolean;
9769
- placeholder?: string;
9770
- inlineControls?: boolean;
9771
- required?: boolean;
9772
- id?: string;
9773
- showLogicalOperatorOptions?: boolean;
9774
- selectedLogicalOperator?: LogicalOperator;
10488
+ threadId?: string;
10489
+ onCustomPostDelete?: () => void;
10490
+ comments?: PaginatedList<Comment>;
10491
+ initialCommentsPageSize?: number;
10492
+ onThreadCommentDelete?: () => void;
10493
+ onThreadReply?: (threadId: string) => void;
10494
+ keywordSettings?: {
10495
+ availableKeywords?: Keyword[];
10496
+ defaultKeywords?: Keyword[];
10497
+ mandatoryKeywords?: Keyword[];
10498
+ };
10499
+ showGroup?: boolean;
10500
+ onBeforeDelete?: (id: string) => unknown;
10501
+ onAfterDelete?: (id: string) => unknown;
10502
+ onItemClick?: (postId: string) => unknown;
10503
+ openTargetInNewWindow?: boolean;
10504
+ trimContent?: boolean;
10505
+ postGroupTargetUrl?: string;
10506
+ onKeywordClick?: (keywordId: string) => void;
10507
+ baseTargetUrl?: string;
9775
10508
  }
9776
- export const ChannelSelector: FC<Props>;
10509
+ export const PostDisplay: FC<Props>;
10510
+ export const PostDisplayWithModalRouting: FC<Props>;
9777
10511
  }
9778
- declare module "libs/reach/feature/content/src/common/index" {
9779
- export * from "libs/reach/feature/content/src/common/cards/CardFooter";
9780
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9781
- export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
9782
- export * from "libs/reach/feature/content/src/common/item-tile/Title";
9783
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
9784
- export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
9785
- export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
9786
- export * from "libs/reach/feature/content/src/common/body/InlineGallery";
9787
- export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
9788
- export * from "libs/reach/feature/content/src/common/body/InlineImage";
9789
- export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
9790
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
9791
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
9792
- export * from "libs/reach/feature/content/src/common/body/InlineQuote";
9793
- export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
9794
- export * from "libs/reach/feature/content/src/common/body/InlineVideo";
9795
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
9796
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
9797
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
9798
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
9799
- export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
9800
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
9801
- export * from "libs/reach/feature/content/src/common/ContentUtils";
9802
- export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
9803
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
9804
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
9805
- export * from "libs/reach/feature/content/src/common/body/InlineCode";
9806
- export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
9807
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
9808
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
9809
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
9810
- export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
9811
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
9812
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
9813
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
9814
- export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
9815
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
9816
- export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
9817
- export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
9818
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
9819
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
9820
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
9821
- export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
9822
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
9823
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
9824
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
9825
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
9826
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
9827
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
9828
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
9829
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
9830
- export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
9831
- export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
9832
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
9833
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
9834
- export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
9835
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
9836
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
9837
- export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
9838
- export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
9839
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
9840
- export * from "libs/reach/feature/content/src/common/banner/Banner";
9841
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9842
- export * from "libs/reach/feature/content/src/common/cards/Card";
9843
- export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
9844
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
9845
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
9846
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
9847
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
9848
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
9849
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
9850
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
9851
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
9852
- export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
9853
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
9854
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
9855
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
9856
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
9857
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
9858
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
9859
- export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
9860
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9861
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9862
- export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
9863
- export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
9864
- export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
9865
- export * from "libs/reach/feature/content/src/common/StateIcon";
9866
- export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
9867
- export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
9868
- export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
9869
- export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
9870
- export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
9871
- export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
9872
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
9873
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
9874
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
9875
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
9876
- export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
9877
- export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
9878
- export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
9879
- export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
10512
+ declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10513
+ import { FC } from 'react';
10514
+ import { UserGroup } from "libs/reach/util/common/src/index";
10515
+ export const PostGroupsPicker: FC<{
10516
+ groups: UserGroup[];
10517
+ selectedGroupId: string;
10518
+ onGroupSelected?: (groupId: string) => unknown;
10519
+ className?: string;
10520
+ }>;
9880
10521
  }
9881
- declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
10522
+ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
9882
10523
  import { FC } from 'react';
9883
- import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
9884
- import { Account } from "libs/reach/util/common/src/index";
9885
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9886
- interface Props {
9887
- type?: ItemResourceTypes;
9888
- baseAttachmentPath?: string;
9889
- message: Comment;
9890
- showDelete?: boolean;
9891
- showAutoTranslate?: boolean;
9892
- showEdit?: boolean;
9893
- onDelete?: (comment: Comment) => void;
9894
- onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
9895
- scope: ConversationScope;
9896
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
9897
- getHashtagFilterRoute?: (hashtag: string) => string;
9898
- highlight?: boolean;
9899
- isInitialLiked?: boolean;
9900
- hasUnreadReplies?: boolean;
9901
- onReplyIconClick?: () => void;
9902
- onReply?: (comment: Comment, commentSender?: Account) => void;
9903
- replyCount?: number;
9904
- readOnly?: boolean;
9905
- trimContent?: boolean;
10524
+ export const PostGroupSelector: FC<{
10525
+ onPostGroupClick?: (groupId: string) => void;
9906
10526
  className?: string;
9907
- }
9908
- export const CommentDisplay: FC<Props>;
10527
+ }>;
9909
10528
  }
9910
- declare module "libs/reach/feature/content/src/comments/index" {
9911
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
9912
- export * from "libs/reach/feature/content/src/comments/FollowComments";
9913
- export * from "libs/reach/feature/content/src/comments/CreateComment";
9914
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
9915
- export * from "libs/reach/feature/content/src/comments/CommentDisplay";
9916
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
9917
- export * from "libs/reach/feature/content/src/comments/UrlMatcher";
9918
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
9919
- export * from "libs/reach/feature/content/src/comments/RichCommentInput";
9920
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
9921
- export * from "libs/reach/feature/content/src/comments/AttachmentList";
9922
- export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
9923
- export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
9924
- export * from "libs/reach/feature/content/src/comments/CommentInput";
10529
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10530
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10531
+ import { DocumentNode } from '@apollo/client';
10532
+ import { Channel } from "libs/reach/util/common/src/index";
10533
+ import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
10534
+ export enum StreamEventResponse {
10535
+ NotSet = "NOTSET",
10536
+ Registered = "REGISTERED",
10537
+ Declined = "DECLINED"
10538
+ }
10539
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10540
+ }
10541
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10542
+ items: StreamItem[];
10543
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10544
+ loadMore: () => Promise<void>;
10545
+ pageInfo: {
10546
+ errors?: any;
10547
+ hasNextPage: boolean;
10548
+ skip: number;
10549
+ };
10550
+ refresh: () => Promise<void>;
10551
+ isLoadingFirstPage: boolean;
10552
+ refetchItem: (itemId: string) => Promise<void>;
10553
+ };
10554
+ export function hasFilter(filter?: StreamFilterDefinition): boolean;
10555
+ export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10556
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10557
+ export function getFilterConditionsString(filterConditions?: string[]): string;
10558
+ export const GROUPS_CONDITION: (groupIds: string[]) => string;
10559
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
10560
+ export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
10561
+ export const OWNER_CONDITION: (owner: string) => string;
10562
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
10563
+ export const AUTHORS_CONDITION: (authors: string[]) => string;
10564
+ export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
10565
+ export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
10566
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
10567
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
10568
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
10569
+ export const POST_ITEM_FIELDS: DocumentNode;
9925
10570
  }
9926
- declare module "libs/reach/feature/content/src/feedback/index" {
9927
- export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
9928
- export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
9929
- export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
9930
- export * from "libs/reach/feature/content/src/feedback/utils";
10571
+ declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
10572
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10573
+ import { DependencyList } from 'react';
10574
+ export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
9931
10575
  }
9932
- declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
9933
- import { FC, ReactNode } from 'react';
9934
- import { Keyword } from "libs/reach/util/common/src/index";
9935
- interface Props {
9936
- isOpen: boolean;
9937
- preSelectedKeywords: Keyword[];
9938
- onSave: (keywords: Keyword[]) => void;
9939
- titleResource: string;
9940
- onDismiss: () => void;
9941
- availableKeywords?: Keyword[];
9942
- mandatoryKeywordIds?: string[];
9943
- }
9944
- export const KeywordDialog: FC<Props>;
9945
- export const StatefulKeywordPicker: FC<{
9946
- preSelectedKeywords: Keyword[];
9947
- availableKeywords?: Keyword[];
9948
- mandatoryKeywordIds?: string[];
9949
- showSelectionToggle?: boolean;
9950
- children: (selectedKeywords: Keyword[]) => ReactNode;
9951
- }>;
10576
+ declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
10577
+ import { UserGroup } from "libs/reach/util/common/src/index";
10578
+ export function usePostKeywordSettings(): (group: UserGroup) => {
10579
+ availableKeywords: import("@livetiles/reach/util/common").Keyword[];
10580
+ defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
10581
+ mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
10582
+ };
9952
10583
  }
9953
- declare module "libs/reach/feature/content/src/forms/Textarea" {
9954
- import { FC, MutableRefObject } from 'react';
9955
- export interface TextareaProps {
9956
- rows?: number;
9957
- placeholder?: string;
9958
- readOnly?: boolean;
9959
- onChange: (value: string) => void;
9960
- className?: string;
9961
- defaultValue?: string;
9962
- disabled?: boolean;
9963
- noDebouncing?: boolean;
9964
- value?: string;
9965
- onIconClick?: () => void;
9966
- onEnter?: () => void;
9967
- icon?: string;
9968
- disableNewLines?: boolean;
9969
- autoFocus?: boolean;
9970
- inputRef?: MutableRefObject<HTMLTextAreaElement>;
9971
- onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
9972
- inputType?: string;
9973
- }
9974
- /**
9975
- * Textarea that expands vertically to fit content.
9976
- * If maxLength is given, also displays a count of remaining characters when focused
9977
- */
9978
- export const Textarea: FC<TextareaProps>;
10584
+ declare module "libs/reach/feature/content/src/posts/index" {
10585
+ export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
10586
+ export * from "libs/reach/feature/content/src/posts/PostCreator";
10587
+ export * from "libs/reach/feature/content/src/posts/PostDisplay";
10588
+ export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
10589
+ export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
10590
+ export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
10591
+ export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
10592
+ export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
10593
+ export * from "libs/reach/feature/content/src/posts/usePostsApi";
10594
+ export * from "libs/reach/feature/content/src/posts/utils";
9979
10595
  }
9980
- declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
9981
- import { FC } from 'react';
9982
- interface Props {
9983
- onInsert: (files: File[]) => void;
9984
- accept?: string;
9985
- captionKey?: string;
9986
- captionIconName?: string;
9987
- descriptionKey?: string;
9988
- descriptionIconName?: string;
9989
- singleMode?: boolean;
10596
+ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10597
+ import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
10598
+ import { Post } from "libs/reach/feature/content/src/posts/index";
10599
+ import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
10600
+ enum StreamItemTypes {
10601
+ Post = "POST",
10602
+ News = "NEWS",
10603
+ Event = "EVENT",
10604
+ Page = "PAGE"
9990
10605
  }
9991
- export const InsertFilesButton: FC<Props>;
9992
- export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
9993
- isActive?: boolean;
9994
- }, never>;
9995
- }
9996
- declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
9997
- import { FC } from 'react';
9998
- interface Props {
9999
- onInsert: (files: File[]) => void;
10000
- accept?: string;
10001
- captionKey?: string;
10002
- descriptionKey?: string;
10606
+ export enum StreamConversationScope {
10607
+ Public = "PUBLIC",
10608
+ Editor = "EDITOR",
10609
+ Posts = "POSTS"
10003
10610
  }
10004
- export const InsertImagesButton: FC<Props>;
10005
- }
10006
- declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
10007
- import { FC } from 'react';
10008
- interface DateTimePickerProps {
10009
- date: string;
10010
- maxDate?: string;
10011
- minDate?: string;
10012
- dateValidationResourceKey?: string;
10013
- timeValidationResourceKey?: string;
10014
- readOnly?: boolean;
10015
- onChanged: (date: string, isValid: boolean) => void;
10016
- noDateResourceKey: string;
10017
- selectDateResourceKey: string;
10018
- dateOnly?: boolean;
10019
- initialPickerDate?: string;
10020
- label?: string;
10021
- isRequired?: boolean;
10022
- className?: string;
10611
+ export interface PostStreamItem extends Post {
10612
+ type: StreamItemTypes.Post;
10613
+ isUnread: boolean;
10614
+ keywordsList?: Keyword[];
10615
+ groupIds?: string[];
10616
+ postAttachments?: StreamAttachment[];
10617
+ postComments?: PaginatedList<StreamPostComment>;
10618
+ hasMoreUnreadComments: boolean;
10023
10619
  }
10024
- export const DateTimePicker: FC<DateTimePickerProps>;
10025
- export default DateTimePicker;
10026
- }
10027
- declare module "libs/reach/feature/content/src/forms/DateRange" {
10028
- import moment, { Moment } from 'moment';
10029
- export enum DateRange {
10030
- TwoYears = 0,
10031
- OneYear = 1,
10032
- SixMonths = 2,
10033
- TwoMonths = 3,
10034
- OneMonth = 4,
10035
- SevenDays = 5,
10036
- YesterDay = 6,
10037
- Today = 7
10620
+ export interface StreamPostComment extends Comment {
10621
+ postCommentAttachments?: StreamAttachment[];
10622
+ streamConversationScope?: StreamConversationScope;
10038
10623
  }
10039
- export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
10040
- export function dateToDateRange(date: string | moment.Moment): number;
10041
- export function dateRangeToDate(range: DateRange): Moment;
10042
- }
10043
- declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
10044
- import { FC } from 'react';
10045
- import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
10046
- export const DateRangeSlider: FC<{
10047
- value?: DateRange;
10048
- onChange: (range: DateRange) => unknown;
10049
- }>;
10050
- }
10051
- declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
10052
- import { FC } from 'react';
10053
- import { WrappedComponentProps } from 'react-intl';
10054
- import { SelectionMode } from 'office-ui-fabric-react';
10055
- import { Account, AccountType } from "libs/reach/util/common/src/index";
10056
- interface PeoplePickerDialogProps {
10057
- defaultSelectedItems: Account[];
10058
- onChange: (items: Account[]) => void;
10059
- onDismiss: () => void;
10060
- titleResource: string;
10061
- intl?: WrappedComponentProps;
10062
- selectionMode?: SelectionMode;
10063
- allowMailItems?: boolean;
10064
- accountType: AccountType;
10065
- showDialog: boolean;
10066
- allowEmptyValue: boolean;
10067
- includePendingInvitationUsers?: boolean;
10068
- placeholderStringResourceKey?: string;
10069
- inputAriaLabelResourceKey: string;
10070
- }
10071
- export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
10072
- }
10073
- declare module "libs/reach/feature/content/src/forms/index" {
10074
- export * from "libs/reach/feature/content/src/forms/KeywordDialog";
10075
- export * from "libs/reach/feature/content/src/forms/Textarea";
10076
- export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
10077
- export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
10078
- export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
10079
- export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
10080
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
10081
- export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
10082
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
10083
- export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
10084
- export * from "libs/reach/feature/content/src/forms/DateRange";
10085
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
10086
- export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
10087
- export * from "libs/reach/feature/content/src/forms/videos/VideoView";
10088
- }
10089
- declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10090
- import { FC } from 'react';
10091
- export const GroupNotificationsSettings: FC<{
10092
- groupId: string;
10093
- className?: string;
10094
- }>;
10095
- }
10096
- declare module "libs/reach/feature/content/src/posts/PostCreator" {
10097
- import { FC } from 'react';
10098
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10099
- import { Keyword } from "libs/reach/util/common/src/index";
10100
- import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10101
- export interface PostCreatorProps {
10102
- groupId: string;
10103
- disabled?: boolean;
10104
- disableDragAndDrop?: boolean;
10105
- onBeforeSave?: (post: Post) => void;
10106
- onSaved: (post: Post) => void;
10107
- keywordSettings?: {
10108
- availableKeywords?: Keyword[];
10109
- defaultKeywords?: Keyword[];
10110
- mandatoryKeywords?: Keyword[];
10111
- };
10112
- disableAutoFocus?: boolean;
10113
- attachmentPreviewTheme?: CommentInputTheme;
10114
- className?: string;
10115
- }
10116
- export const PostCreator: FC<PostCreatorProps>;
10117
- }
10118
- declare module "libs/reach/feature/content/src/posts/PostReplies" {
10119
- import { FC } from 'react';
10120
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10121
- import { Comment } from "libs/reach/util/common/src/index";
10122
- import { PaginatedList } from "libs/reach/util/common/src/index";
10123
- interface Props {
10124
- className?: string;
10125
- post: Post;
10126
- initialPageSize?: number;
10127
- comments?: PaginatedList<Comment>;
10128
- autoFocusReplyField?: boolean;
10129
- showReplyBox?: boolean;
10130
- onReplyAdded: () => void;
10131
- onReplyDeleted: () => void;
10132
- trimContent?: boolean;
10133
- }
10134
- export const PostReplies: FC<Props>;
10135
- }
10136
- declare module "libs/reach/feature/content/src/posts/PostEditor" {
10137
- import { FC } from 'react';
10138
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10139
- import { Keyword } from "libs/reach/util/common/src/index";
10140
- export const PostEditor: FC<{
10141
- className?: string;
10142
- post: Post;
10143
- onCancel: () => void;
10144
- onBeforeSave: (post: Post) => void;
10145
- onSaved: (post: Post) => void;
10146
- keywordSettings?: {
10147
- availableKeywords?: Keyword[];
10148
- defaultKeywords?: Keyword[];
10149
- mandatoryKeywords?: Keyword[];
10150
- };
10151
- }>;
10152
- }
10153
- declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
10154
- import { FC } from 'react';
10155
- export const PostFollowButton: FC<{
10156
- itemId: string;
10157
- isFollowing: boolean;
10158
- }>;
10159
- }
10160
- declare module "libs/reach/feature/content/src/posts/PostGroup" {
10161
- import { FC } from 'react';
10162
- import { NavLink } from 'react-router-dom';
10163
- export const PostGroup: FC<{
10164
- groupId: string;
10165
- target?: string;
10166
- className?: string;
10167
- }>;
10168
- export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
10169
- }
10170
- declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10171
- import { FC } from 'react';
10172
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10173
- import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
10174
- interface Props {
10175
- post: Post;
10176
- targetUrl?: string;
10177
- className?: string;
10178
- threadId?: string;
10179
- onCustomPostDelete?: () => void;
10180
- comments?: PaginatedList<Comment>;
10181
- initialCommentsPageSize?: number;
10182
- onThreadCommentDelete?: () => void;
10183
- onThreadReply?: (threadId: string) => void;
10184
- keywordSettings?: {
10185
- availableKeywords?: Keyword[];
10186
- defaultKeywords?: Keyword[];
10187
- mandatoryKeywords?: Keyword[];
10188
- };
10189
- showGroup?: boolean;
10190
- onBeforeDelete?: (id: string) => unknown;
10191
- onAfterDelete?: (id: string) => unknown;
10192
- onItemClick?: (postId: string) => unknown;
10193
- openTargetInNewWindow?: boolean;
10194
- trimContent?: boolean;
10195
- postGroupTargetUrl?: string;
10196
- onKeywordClick?: (keywordId: string) => void;
10197
- baseTargetUrl?: string;
10198
- }
10199
- export const PostDisplay: FC<Props>;
10200
- }
10201
- declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10202
- import { FC } from 'react';
10203
- import { UserGroup } from "libs/reach/util/common/src/index";
10204
- export const PostGroupsPicker: FC<{
10205
- groups: UserGroup[];
10206
- selectedGroupId: string;
10207
- onGroupSelected?: (groupId: string) => unknown;
10208
- className?: string;
10209
- }>;
10210
- }
10211
- declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
10212
- import { FC } from 'react';
10213
- export const PostGroupSelector: FC<{
10214
- onPostGroupClick?: (groupId: string) => void;
10215
- className?: string;
10216
- }>;
10217
- }
10218
- declare module "libs/reach/feature/content/src/stream/streamUtils" {
10219
- import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
10220
- import { Post } from "libs/reach/feature/content/src/posts/index";
10221
- import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
10222
- enum StreamItemTypes {
10223
- Post = "POST",
10224
- News = "NEWS",
10225
- Event = "EVENT",
10226
- Page = "PAGE"
10227
- }
10228
- export enum StreamConversationScope {
10229
- Public = "PUBLIC",
10230
- Editor = "EDITOR",
10231
- Posts = "POSTS"
10232
- }
10233
- export interface PostStreamItem extends Post {
10234
- type: StreamItemTypes.Post;
10235
- isUnread: boolean;
10236
- keywordsList?: Keyword[];
10237
- groupIds?: string[];
10238
- postAttachments?: StreamAttachment[];
10239
- postComments?: PaginatedList<StreamPostComment>;
10240
- hasMoreUnreadComments: boolean;
10241
- }
10242
- export interface StreamPostComment extends Comment {
10243
- postCommentAttachments?: StreamAttachment[];
10244
- streamConversationScope?: StreamConversationScope;
10245
- }
10246
- export interface StreamAttachment extends BaseAttachment {
10247
- type: GraphQLAttachmentType;
10624
+ export interface StreamAttachment extends BaseAttachment {
10625
+ type: GraphQLAttachmentType;
10248
10626
  }
10249
10627
  export interface NewsStreamItem extends NewsItem {
10250
10628
  type: StreamItemTypes.News;
@@ -10433,7 +10811,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10433
10811
  knownState: KnownNewsState;
10434
10812
  hasNewComments?: boolean;
10435
10813
  isLiked?: boolean;
10436
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10437
10814
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10438
10815
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10439
10816
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -10643,6 +11020,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10643
11020
  isUnlinked?: boolean;
10644
11021
  pageType?: PageType;
10645
11022
  firstChildId?: string;
11023
+ isGroupInheritanceBroken?: boolean;
10646
11024
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10647
11025
  id?: string;
10648
11026
  versionId?: string;
@@ -10722,7 +11100,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10722
11100
  knownState: KnownNewsState;
10723
11101
  hasNewComments?: boolean;
10724
11102
  isLiked?: boolean;
10725
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10726
11103
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10727
11104
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10728
11105
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -10830,6 +11207,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10830
11207
  isUnlinked?: boolean;
10831
11208
  pageType?: PageType;
10832
11209
  firstChildId?: string;
11210
+ isGroupInheritanceBroken?: boolean;
10833
11211
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10834
11212
  id?: string;
10835
11213
  versionId?: string;
@@ -10953,7 +11331,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10953
11331
  knownState: KnownNewsState;
10954
11332
  hasNewComments?: boolean;
10955
11333
  isLiked?: boolean;
10956
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10957
11334
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10958
11335
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10959
11336
  id?: string;
@@ -11028,6 +11405,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11028
11405
  isUnlinked?: boolean;
11029
11406
  pageType?: PageType;
11030
11407
  firstChildId?: string;
11408
+ isGroupInheritanceBroken?: boolean;
11031
11409
  lease: import("@livetiles/reach/util/common").LeaseInfo;
11032
11410
  id?: string;
11033
11411
  versionId?: string;
@@ -11055,72 +11433,451 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11055
11433
  poll?: import("@livetiles/reach/util/common").Poll;
11056
11434
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11057
11435
  })[];
11436
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11437
+ export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
11438
+ }
11439
+ declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
11440
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
11441
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11442
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
11443
+ export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
11444
+ export function useClearSearchSessionOnLeave(): void;
11445
+ }
11446
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
11447
+ import { LocationDescriptor } from 'history';
11448
+ import { FC, ReactNode } from 'react';
11449
+ export const SidebarIcon: FC<{
11450
+ icon?: ReactNode;
11451
+ iconName?: string;
11452
+ color?: string;
11453
+ onClick?: () => any;
11454
+ route?: LocationDescriptor;
11455
+ iconTooltipResourceKey: string;
11456
+ iconTooltipResourceValues?: any;
11457
+ className?: string;
11458
+ }>;
11459
+ }
11460
+ declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
11461
+ import { FC, ReactNode } from 'react';
11462
+ import { LocationDescriptor } from 'history';
11463
+ import { PrimitiveType } from 'intl-messageformat';
11464
+ export interface BaseSidebarItemProps {
11465
+ children?: any;
11466
+ icon?: ReactNode;
11467
+ iconName?: string;
11468
+ iconTooltipResourceKey?: string;
11469
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11470
+ secondaryIconName?: string;
11471
+ secondaryIconTooltipResourceKey?: string;
11472
+ reverse?: boolean;
11473
+ onIconClick?: () => void;
11474
+ iconRoute?: LocationDescriptor;
11475
+ iconColor?: string;
11476
+ onSecondaryIconClick?: () => void;
11477
+ secondaryIconRoute?: LocationDescriptor;
11478
+ onContentClick?: () => void;
11479
+ contentRoute?: LocationDescriptor;
11480
+ badgeInfo?: number | boolean;
11481
+ title?: string;
11482
+ className?: string;
11483
+ }
11484
+ export const BaseSidebarItem: FC<BaseSidebarItemProps>;
11485
+ }
11486
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
11487
+ import { FC } from 'react';
11488
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11489
+ export const SidebarItemSection: FC<{
11490
+ styleDefinition?: ColorStyleDefinition;
11491
+ }>;
11492
+ }
11493
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
11494
+ import { FC, ReactNode } from 'react';
11495
+ import { PrimitiveType } from 'intl-messageformat';
11496
+ import { LocationDescriptor } from 'history';
11497
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11498
+ interface CommonSidebarItemProps {
11499
+ title?: string | JSX.Element;
11500
+ titleResource?: string;
11501
+ icon?: ReactNode;
11502
+ iconName?: string;
11503
+ iconTooltipResourceKey?: string;
11504
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11505
+ secondaryIconName?: string;
11506
+ secondaryIconTooltipResourceKey?: string;
11507
+ iconColor?: string;
11508
+ reverse?: boolean;
11509
+ notHighlightable?: boolean;
11510
+ onClick?: () => void;
11511
+ className?: string;
11512
+ isActive?: boolean;
11513
+ activeClassName?: string;
11514
+ readOnly?: boolean;
11515
+ submenu?: JSX.Element;
11516
+ submenuClassName?: string;
11517
+ submenuStyleDefinition?: ColorStyleDefinition;
11518
+ badgeInfo?: number | boolean;
11519
+ domIdentifier?: string;
11520
+ }
11521
+ interface SidebarItemProps extends CommonSidebarItemProps {
11522
+ contentRoute?: LocationDescriptor;
11523
+ onIconClick?: () => void;
11524
+ iconRoute?: LocationDescriptor;
11525
+ onSecondaryIconClick?: () => void;
11526
+ secondaryIconRoute?: LocationDescriptor;
11527
+ isHoverable?: boolean;
11528
+ }
11529
+ export const SidebarItem: FC<SidebarItemProps>;
11530
+ interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
11531
+ route: LocationDescriptor;
11532
+ exact?: boolean;
11533
+ linkClassName?: string;
11534
+ }
11535
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
11536
+ }
11537
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
11538
+ import { FC } from 'react';
11539
+ export const SidebarGroup: FC<{
11540
+ titleResource?: string;
11541
+ borderColor?: string;
11542
+ className?: string;
11543
+ }>;
11544
+ }
11545
+ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
11546
+ import { FC } from 'react';
11547
+ export const ContentWithShowMoreButton: FC<{
11548
+ domIdentifier: string;
11549
+ trimContent?: boolean;
11550
+ className?: string;
11551
+ }>;
11552
+ }
11553
+ declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
11554
+ import { FC } from 'react';
11555
+ import { Channel } from "libs/reach/util/common/src/index";
11556
+ import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
11557
+ interface Props {
11558
+ selectedChannelNames?: string[];
11559
+ selectedChannelIds?: string[];
11560
+ mandatoryChannelIds?: string[];
11561
+ availableChannels?: Channel[];
11562
+ onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
11563
+ className?: string;
11564
+ showOnlyUserChannels?: boolean;
11565
+ showSelectionToggle?: boolean;
11566
+ placeholder?: string;
11567
+ inlineControls?: boolean;
11568
+ required?: boolean;
11569
+ id?: string;
11570
+ showLogicalOperatorOptions?: boolean;
11571
+ selectedLogicalOperator?: LogicalOperator;
11572
+ }
11573
+ export const ChannelSelector: FC<Props>;
11574
+ }
11575
+ declare module "libs/reach/feature/content/src/common/index" {
11576
+ export * from "libs/reach/feature/content/src/common/cards/CardFooter";
11577
+ export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
11578
+ export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
11579
+ export * from "libs/reach/feature/content/src/common/item-tile/Title";
11580
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
11581
+ export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
11582
+ export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
11583
+ export * from "libs/reach/feature/content/src/common/body/InlineGallery";
11584
+ export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
11585
+ export * from "libs/reach/feature/content/src/common/body/InlineImage";
11586
+ export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
11587
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
11588
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
11589
+ export * from "libs/reach/feature/content/src/common/body/InlineQuote";
11590
+ export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
11591
+ export * from "libs/reach/feature/content/src/common/body/InlineVideo";
11592
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
11593
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
11594
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
11595
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
11596
+ export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
11597
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
11598
+ export * from "libs/reach/feature/content/src/common/ContentUtils";
11599
+ export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
11600
+ export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
11601
+ export * from "libs/reach/feature/content/src/common/body/InlineContact";
11602
+ export * from "libs/reach/feature/content/src/common/body/InlineCode";
11603
+ export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
11604
+ export * from "libs/reach/feature/content/src/common/body/CodeDetails";
11605
+ export * from "libs/reach/feature/content/src/common/body/TextViewer";
11606
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
11607
+ export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
11608
+ export * from "libs/reach/feature/content/src/common/body/InlineTable";
11609
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
11610
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
11611
+ export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
11612
+ export * from "libs/reach/feature/content/src/common/body/InlineFileList";
11613
+ export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
11614
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
11615
+ export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
11616
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
11617
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
11618
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
11619
+ export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
11620
+ export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
11621
+ export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
11622
+ export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
11623
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
11624
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
11625
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
11626
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
11627
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
11628
+ export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
11629
+ export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
11630
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
11631
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
11632
+ export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
11633
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
11634
+ export * from "libs/reach/feature/content/src/common/body/InlinePageList";
11635
+ export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
11636
+ export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
11637
+ export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
11638
+ export * from "libs/reach/feature/content/src/common/banner/Banner";
11639
+ export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
11640
+ export * from "libs/reach/feature/content/src/common/cards/Card";
11641
+ export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
11642
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
11643
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
11644
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
11645
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
11646
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
11647
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
11648
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
11649
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
11650
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
11651
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
11652
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
11653
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
11654
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
11655
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
11656
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
11657
+ export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
11658
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
11659
+ export * from "libs/reach/feature/content/src/common/AppTriggerActions";
11660
+ export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
11661
+ export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
11662
+ export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
11663
+ export * from "libs/reach/feature/content/src/common/StateIcon";
11664
+ export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
11665
+ export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
11666
+ export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
11667
+ export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
11668
+ export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
11669
+ export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
11670
+ export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
11671
+ export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
11672
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
11673
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
11674
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
11675
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
11676
+ export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
11677
+ export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
11678
+ export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
11679
+ export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
11680
+ export * from "libs/reach/feature/content/src/common/useContainerDimensions";
11681
+ }
11682
+ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
11683
+ import { FC } from 'react';
11684
+ import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
11685
+ interface Props {
11686
+ type?: ItemResourceTypes;
11687
+ baseAttachmentPath?: string;
11688
+ message: Comment;
11689
+ showDelete?: boolean;
11690
+ showAutoTranslate?: boolean;
11691
+ showEdit?: boolean;
11692
+ onDelete?: (comment: Comment) => void;
11693
+ onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
11694
+ scope: ConversationScope;
11695
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
11696
+ getHashtagFilterRoute?: (hashtag: string) => string;
11697
+ highlight?: boolean;
11698
+ hasUnreadReplies?: boolean;
11699
+ onReplyIconClick?: () => void;
11700
+ onReply?: (comment: Comment, commentSender?: Account) => void;
11701
+ replyCount?: number;
11702
+ readOnly?: boolean;
11703
+ trimContent?: boolean;
11704
+ enableModalRouting?: boolean;
11705
+ className?: string;
11706
+ }
11707
+ export const CommentDisplay: FC<Props>;
11708
+ }
11709
+ declare module "libs/reach/feature/content/src/comments/index" {
11710
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11711
+ export * from "libs/reach/feature/content/src/comments/FollowComments";
11712
+ export * from "libs/reach/feature/content/src/comments/CreateComment";
11713
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11714
+ export * from "libs/reach/feature/content/src/comments/CommentDisplay";
11715
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11716
+ export * from "libs/reach/feature/content/src/comments/UrlMatcher";
11717
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11718
+ export * from "libs/reach/feature/content/src/comments/RichCommentInput";
11719
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11720
+ export * from "libs/reach/feature/content/src/comments/AttachmentList";
11721
+ export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
11722
+ export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
11723
+ export * from "libs/reach/feature/content/src/comments/CommentInput";
11058
11724
  }
11059
- declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11060
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11061
- import { DocumentNode } from '@apollo/client';
11062
- import { Channel } from "libs/reach/util/common/src/index";
11063
- import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
11064
- export enum StreamEventResponse {
11065
- NotSet = "NOTSET",
11066
- Registered = "REGISTERED",
11067
- Declined = "DECLINED"
11725
+ declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
11726
+ import { FC, ReactNode } from 'react';
11727
+ import { Keyword } from "libs/reach/util/common/src/index";
11728
+ interface Props {
11729
+ isOpen: boolean;
11730
+ preSelectedKeywords: Keyword[];
11731
+ onSave: (keywords: Keyword[]) => void;
11732
+ titleResource: string;
11733
+ onDismiss: () => void;
11734
+ availableKeywords?: Keyword[];
11735
+ mandatoryKeywordIds?: string[];
11068
11736
  }
11069
- export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
11737
+ export const KeywordDialog: FC<Props>;
11738
+ export const StatefulKeywordPicker: FC<{
11739
+ preSelectedKeywords: Keyword[];
11740
+ availableKeywords?: Keyword[];
11741
+ mandatoryKeywordIds?: string[];
11742
+ showSelectionToggle?: boolean;
11743
+ children: (selectedKeywords: Keyword[]) => ReactNode;
11744
+ }>;
11745
+ }
11746
+ declare module "libs/reach/feature/content/src/forms/Textarea" {
11747
+ import { FC, MutableRefObject } from 'react';
11748
+ export interface TextareaProps {
11749
+ rows?: number;
11750
+ placeholder?: string;
11751
+ readOnly?: boolean;
11752
+ onChange: (value: string) => void;
11753
+ className?: string;
11754
+ defaultValue?: string;
11755
+ disabled?: boolean;
11756
+ noDebouncing?: boolean;
11757
+ value?: string;
11758
+ onIconClick?: () => void;
11759
+ onEnter?: () => void;
11760
+ icon?: string;
11761
+ disableNewLines?: boolean;
11762
+ autoFocus?: boolean;
11763
+ inputRef?: MutableRefObject<HTMLTextAreaElement>;
11764
+ onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
11765
+ inputType?: string;
11070
11766
  }
11071
- export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
11072
- items: StreamItem[];
11073
- setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
11074
- loadMore: () => Promise<void>;
11075
- pageInfo: {
11076
- errors?: any;
11077
- hasNextPage: boolean;
11078
- skip: number;
11079
- };
11080
- refresh: () => Promise<void>;
11081
- isLoadingFirstPage: boolean;
11082
- };
11083
- export function hasFilter(filter?: StreamFilterDefinition): boolean;
11084
- export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11085
- export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11086
- export function getFilterConditionsString(filterConditions?: string[]): string;
11087
- export const GROUPS_CONDITION: (groupIds: string[]) => string;
11088
- export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
11089
- export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
11090
- export const OWNER_CONDITION: (owner: string) => string;
11091
- export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
11092
- export const AUTHORS_CONDITION: (authors: string[]) => string;
11093
- export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
11094
- export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
11095
- export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
11096
- export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
11097
- export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
11098
- export const POST_ITEM_FIELDS: DocumentNode;
11767
+ /**
11768
+ * Textarea that expands vertically to fit content.
11769
+ * If maxLength is given, also displays a count of remaining characters when focused
11770
+ */
11771
+ export const Textarea: FC<TextareaProps>;
11099
11772
  }
11100
- declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
11101
- import { Post } from "libs/reach/feature/content/src/posts/utils";
11102
- import { DependencyList } from 'react';
11103
- export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
11773
+ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
11774
+ import { FC } from 'react';
11775
+ interface Props {
11776
+ onInsert: (files: File[]) => void;
11777
+ accept?: string;
11778
+ captionKey?: string;
11779
+ captionIconName?: string;
11780
+ descriptionKey?: string;
11781
+ descriptionIconName?: string;
11782
+ singleMode?: boolean;
11783
+ }
11784
+ export const InsertFilesButton: FC<Props>;
11785
+ export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11786
+ isActive?: boolean;
11787
+ }, never>;
11104
11788
  }
11105
- declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
11106
- import { UserGroup } from "libs/reach/util/common/src/index";
11107
- export function usePostKeywordSettings(): (group: UserGroup) => {
11108
- availableKeywords: import("@livetiles/reach/util/common").Keyword[];
11109
- defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
11110
- mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
11111
- };
11789
+ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
11790
+ import { FC } from 'react';
11791
+ interface Props {
11792
+ onInsert: (files: File[]) => void;
11793
+ accept?: string;
11794
+ captionKey?: string;
11795
+ descriptionKey?: string;
11796
+ }
11797
+ export const InsertImagesButton: FC<Props>;
11112
11798
  }
11113
- declare module "libs/reach/feature/content/src/posts/index" {
11114
- export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
11115
- export * from "libs/reach/feature/content/src/posts/PostCreator";
11116
- export * from "libs/reach/feature/content/src/posts/PostDisplay";
11117
- export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
11118
- export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
11119
- export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
11120
- export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
11121
- export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
11122
- export * from "libs/reach/feature/content/src/posts/usePostsApi";
11123
- export * from "libs/reach/feature/content/src/posts/utils";
11799
+ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
11800
+ import { FC } from 'react';
11801
+ interface DateTimePickerProps {
11802
+ date: string;
11803
+ maxDate?: string;
11804
+ minDate?: string;
11805
+ dateValidationResourceKey?: string;
11806
+ timeValidationResourceKey?: string;
11807
+ readOnly?: boolean;
11808
+ onChanged: (date: string, isValid: boolean) => void;
11809
+ noDateResourceKey: string;
11810
+ selectDateResourceKey: string;
11811
+ dateOnly?: boolean;
11812
+ initialPickerDate?: string;
11813
+ label?: string;
11814
+ isRequired?: boolean;
11815
+ className?: string;
11816
+ }
11817
+ export const DateTimePicker: FC<DateTimePickerProps>;
11818
+ export default DateTimePicker;
11819
+ }
11820
+ declare module "libs/reach/feature/content/src/forms/DateRange" {
11821
+ import moment, { Moment } from 'moment';
11822
+ export enum DateRange {
11823
+ TwoYears = 0,
11824
+ OneYear = 1,
11825
+ SixMonths = 2,
11826
+ TwoMonths = 3,
11827
+ OneMonth = 4,
11828
+ SevenDays = 5,
11829
+ YesterDay = 6,
11830
+ Today = 7
11831
+ }
11832
+ export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
11833
+ export function dateToDateRange(date: string | moment.Moment): number;
11834
+ export function dateRangeToDate(range: DateRange): Moment;
11835
+ }
11836
+ declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
11837
+ import { FC } from 'react';
11838
+ import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
11839
+ export const DateRangeSlider: FC<{
11840
+ value?: DateRange;
11841
+ onChange: (range: DateRange) => unknown;
11842
+ }>;
11843
+ }
11844
+ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
11845
+ import { FC } from 'react';
11846
+ import { WrappedComponentProps } from 'react-intl';
11847
+ import { SelectionMode } from 'office-ui-fabric-react';
11848
+ import { Account, AccountType } from "libs/reach/util/common/src/index";
11849
+ interface PeoplePickerDialogProps {
11850
+ defaultSelectedItems: Account[];
11851
+ onChange: (items: Account[]) => void;
11852
+ onDismiss: () => void;
11853
+ titleResource: string;
11854
+ intl?: WrappedComponentProps;
11855
+ selectionMode?: SelectionMode;
11856
+ allowMailItems?: boolean;
11857
+ accountType: AccountType;
11858
+ showDialog: boolean;
11859
+ allowEmptyValue: boolean;
11860
+ includePendingInvitationUsers?: boolean;
11861
+ placeholderStringResourceKey?: string;
11862
+ inputAriaLabelResourceKey: string;
11863
+ }
11864
+ export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
11865
+ }
11866
+ declare module "libs/reach/feature/content/src/forms/index" {
11867
+ export * from "libs/reach/feature/content/src/forms/KeywordDialog";
11868
+ export * from "libs/reach/feature/content/src/forms/Textarea";
11869
+ export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
11870
+ export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
11871
+ export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
11872
+ export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
11873
+ export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
11874
+ export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
11875
+ export * from "libs/reach/feature/content/src/forms/DateTimePicker";
11876
+ export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
11877
+ export * from "libs/reach/feature/content/src/forms/DateRange";
11878
+ export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
11879
+ export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
11880
+ export * from "libs/reach/feature/content/src/forms/videos/VideoView";
11124
11881
  }
11125
11882
  declare module "libs/reach/feature/content/src/editor/EditorListItem" {
11126
11883
  import { FC, ReactNode } from 'react';
@@ -11217,8 +11974,21 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
11217
11974
  declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11218
11975
  export type ShareTokenType = 'preview' | 'published';
11219
11976
  export function useShareTokenEditorApi(): {
11220
- activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11221
- deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11977
+ activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
11978
+ deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
11979
+ };
11980
+ }
11981
+ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11982
+ import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
11983
+ import { PublishableItem } from "libs/reach/util/common/src/index";
11984
+ export function useEventsEditorApi(): {
11985
+ getEvent: (eventId: string) => Promise<EventItem>;
11986
+ cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11987
+ uncancelEvent: (id: string) => Promise<unknown>;
11988
+ unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11989
+ deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11990
+ saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11991
+ deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11222
11992
  };
11223
11993
  }
11224
11994
  declare module "libs/reach/feature/content/src/editor/index" {
@@ -11230,6 +12000,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
11230
12000
  export * from "libs/reach/feature/content/src/editor/useEditorApi";
11231
12001
  export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
11232
12002
  export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
12003
+ export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
11233
12004
  }
11234
12005
  declare module "libs/reach/feature/content/src/public-user/index" {
11235
12006
  export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
@@ -11256,12 +12027,14 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
11256
12027
  event: EventStreamItem;
11257
12028
  }>;
11258
12029
  }
12030
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
12031
+ import { FC } from 'react';
12032
+ export const GlobalSearchButton: FC<{
12033
+ className?: string;
12034
+ }>;
12035
+ }
11259
12036
  declare module "libs/reach/feature/content/src/stream/StreamList" {
11260
12037
  import { FC, ReactNode } from 'react';
11261
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11262
- export type StreamQueryResult = {
11263
- items: StreamItem[];
11264
- };
11265
12038
  export const StreamList: FC<{
11266
12039
  emptySearchResultButton?: ReactNode;
11267
12040
  }>;
@@ -11323,12 +12096,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
11323
12096
  export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
11324
12097
  export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
11325
12098
  }
11326
- declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11327
- import { FC } from 'react';
11328
- export const GlobalSearchButton: FC<{
11329
- className?: string;
11330
- }>;
11331
- }
11332
12099
  declare module "libs/reach/feature/content/src/search/index" {
11333
12100
  export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
11334
12101
  }
@@ -11490,23 +12257,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupChannelsPages" {
11490
12257
  import { FC } from 'react';
11491
12258
  export const GroupsChannelsPage: FC;
11492
12259
  }
11493
- declare module "apps/reach-app/src/app/PublicAccessContext" {
11494
- import { FC } from 'react';
11495
- export const PublicAccessContext: import("react").Context<{
11496
- togglePublicUserDialog: (show: boolean) => unknown;
11497
- }>;
11498
- export const PublicAccessContextProvider: FC;
11499
- }
11500
- declare module "apps/reach-app/src/error/AccessDeniedPage" {
11501
- import { FC } from 'react';
11502
- import { AuthenticationType } from "libs/shared/util/authentication/src/index";
11503
- export interface AccessDeniedPageProps {
11504
- authType?: AuthenticationType;
11505
- authException?: any;
11506
- }
11507
- export const AccessDeniedPage: FC<AccessDeniedPageProps>;
11508
- export default AccessDeniedPage;
11509
- }
11510
12260
  declare module "apps/reach-app/src/app/admin/groups/GroupKeywordsPage" {
11511
12261
  import { FC } from 'react';
11512
12262
  export const GroupKeywordsPage: FC;
@@ -11770,6 +12520,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
11770
12520
  }) => string;
11771
12521
  };
11772
12522
  }
12523
+ declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
12524
+ import { Dispatch } from 'react';
12525
+ export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
12526
+ }
12527
+ declare module "apps/reach-app/src/app/analytics/DashboardPage" {
12528
+ import { FC } from 'react';
12529
+ export interface Dashboard {
12530
+ name: string;
12531
+ title: string;
12532
+ url: string;
12533
+ }
12534
+ export const DashboardPage: FC<{
12535
+ dashboard: Dashboard;
12536
+ }>;
12537
+ }
12538
+ declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
12539
+ import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
12540
+ export function useDashboards(): Dashboard[];
12541
+ export function hasDashboards(): boolean;
12542
+ }
12543
+ declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
12544
+ import { FC } from 'react';
12545
+ export const AnalyticsSidebarMenu: FC;
12546
+ }
11773
12547
  declare module "apps/reach-app/src/app/chrome/PageMenu" {
11774
12548
  import { FC } from 'react';
11775
12549
  interface Props {
@@ -11785,7 +12559,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11785
12559
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
11786
12560
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
11787
12561
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
11788
- export interface Props extends SearchBoxProps {
12562
+ export interface PageProps extends SearchBoxProps {
11789
12563
  className?: string;
11790
12564
  headerContents?: JSX.Element;
11791
12565
  headerToolbar?: HeaderToolbarTypeHack;
@@ -11803,12 +12577,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11803
12577
  submenuContents?: JSX.Element;
11804
12578
  submenuClassName?: string;
11805
12579
  disableScrollableContainerFocus?: boolean;
12580
+ asModal?: boolean;
12581
+ domIdentifier?: string;
11806
12582
  }
11807
12583
  export enum MenuNavigationMode {
11808
12584
  Collapse = 0,
11809
12585
  KeepOpen = 1
11810
12586
  }
11811
- export const Page: FC<Props>;
12587
+ export const Page: FC<PageProps>;
11812
12588
  }
11813
12589
  declare module "apps/reach-app/src/plugins/reach-chrome" {
11814
12590
  import { Page } from "apps/reach-app/src/app/chrome/Page";