@livetiles/reach-plugin-types 0.5.0-preview.35 → 0.5.0-preview.350

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 +1774 -1104
  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",
@@ -266,9 +282,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
266
282
  oneSignal?: {
267
283
  appId: string;
268
284
  };
285
+ analytics: AnalyticsConfig;
269
286
  }
270
287
  }
271
288
  declare module "libs/shared/util/environment/src/ClientConfig" {
289
+ import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
290
+ import { ConfigType } from "libs/shared/util/environment/src/AppConfiguration";
272
291
  export interface ClientConfig {
273
292
  maxFileSizeInMb: number;
274
293
  unsplash: {
@@ -286,9 +305,12 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
286
305
  giphy: {
287
306
  apiKey: string;
288
307
  };
308
+ analytics: AnalyticsConfig;
309
+ configType: ConfigType;
289
310
  }
290
311
  }
291
312
  declare module "libs/shared/util/environment/src/EnvironmentConfig" {
313
+ import { DeviceInfo } from '@capacitor/device';
292
314
  export interface EnvironmentConfig {
293
315
  isCustomerBuild: boolean;
294
316
  isProduction: boolean;
@@ -306,11 +328,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
306
328
  buildId: string;
307
329
  useAzureAdFunctionality: boolean;
308
330
  envName: string;
309
- }
310
- type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
311
- interface DeviceInfo {
312
- platform: 'ios' | 'android' | 'web';
313
- operatingSystem: OperatingSystem;
331
+ mobileTeamsHost?: string;
314
332
  }
315
333
  }
316
334
  declare module "libs/shared/util/environment/src/environment" {
@@ -1026,6 +1044,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
1026
1044
  language?: string;
1027
1045
  }>;
1028
1046
  }
1047
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
1048
+ import locale from 'date-fns/locale/ar-DZ';
1049
+ export default locale;
1050
+ }
1051
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
1052
+ import locale from 'date-fns/locale/ar-MA';
1053
+ export default locale;
1054
+ }
1055
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
1056
+ import locale from 'date-fns/locale/ar-SA';
1057
+ export default locale;
1058
+ }
1059
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
1060
+ import locale from 'date-fns/locale/bg';
1061
+ export default locale;
1062
+ }
1063
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
1064
+ import locale from 'date-fns/locale/bn';
1065
+ export default locale;
1066
+ }
1067
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
1068
+ import locale from 'date-fns/locale/ca';
1069
+ export default locale;
1070
+ }
1071
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
1072
+ import locale from 'date-fns/locale/cs';
1073
+ export default locale;
1074
+ }
1075
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
1076
+ import locale from 'date-fns/locale/da';
1077
+ export default locale;
1078
+ }
1079
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
1080
+ import locale from 'date-fns/locale/de';
1081
+ export default locale;
1082
+ }
1083
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
1084
+ import locale from 'date-fns/locale/el';
1085
+ export default locale;
1086
+ }
1087
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
1088
+ import locale from 'date-fns/locale/en-AU';
1089
+ export default locale;
1090
+ }
1091
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
1092
+ import locale from 'date-fns/locale/en-CA';
1093
+ export default locale;
1094
+ }
1095
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
1096
+ import locale from 'date-fns/locale/en-GB';
1097
+ export default locale;
1098
+ }
1099
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
1100
+ import locale from 'date-fns/locale/en-NZ';
1101
+ export default locale;
1102
+ }
1103
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
1104
+ import locale from 'date-fns/locale/es';
1105
+ export default locale;
1106
+ }
1107
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
1108
+ import locale from 'date-fns/locale/et';
1109
+ export default locale;
1110
+ }
1111
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
1112
+ import locale from 'date-fns/locale/fa-IR';
1113
+ export default locale;
1114
+ }
1115
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
1116
+ import locale from 'date-fns/locale/fi';
1117
+ export default locale;
1118
+ }
1119
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
1120
+ import locale from 'date-fns/locale/fr-CA';
1121
+ export default locale;
1122
+ }
1123
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
1124
+ import locale from 'date-fns/locale/fr-CH';
1125
+ export default locale;
1126
+ }
1127
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
1128
+ import locale from 'date-fns/locale/fr';
1129
+ export default locale;
1130
+ }
1131
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
1132
+ import locale from 'date-fns/locale/gu';
1133
+ export default locale;
1134
+ }
1135
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
1136
+ import locale from 'date-fns/locale/he';
1137
+ export default locale;
1138
+ }
1139
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
1140
+ import locale from 'date-fns/locale/hi';
1141
+ export default locale;
1142
+ }
1143
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
1144
+ import locale from 'date-fns/locale/hr';
1145
+ export default locale;
1146
+ }
1147
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
1148
+ import locale from 'date-fns/locale/hu';
1149
+ export default locale;
1150
+ }
1151
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
1152
+ import locale from 'date-fns/locale/id';
1153
+ export default locale;
1154
+ }
1155
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
1156
+ import locale from 'date-fns/locale/it';
1157
+ export default locale;
1158
+ }
1159
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
1160
+ import locale from 'date-fns/locale/ja';
1161
+ export default locale;
1162
+ }
1163
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
1164
+ import locale from 'date-fns/locale/kn';
1165
+ export default locale;
1166
+ }
1167
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
1168
+ import locale from 'date-fns/locale/ko';
1169
+ export default locale;
1170
+ }
1171
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
1172
+ import locale from 'date-fns/locale/lt';
1173
+ export default locale;
1174
+ }
1175
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
1176
+ import locale from 'date-fns/locale/lv';
1177
+ export default locale;
1178
+ }
1179
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
1180
+ import locale from 'date-fns/locale/ms';
1181
+ export default locale;
1182
+ }
1183
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
1184
+ import locale from 'date-fns/locale/nb';
1185
+ export default locale;
1186
+ }
1187
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
1188
+ import locale from 'date-fns/locale/nl-BE';
1189
+ export default locale;
1190
+ }
1191
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
1192
+ import locale from 'date-fns/locale/nl';
1193
+ export default locale;
1194
+ }
1195
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
1196
+ import locale from 'date-fns/locale/pl';
1197
+ export default locale;
1198
+ }
1199
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
1200
+ import locale from 'date-fns/locale/pt-BR';
1201
+ export default locale;
1202
+ }
1203
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
1204
+ import locale from 'date-fns/locale/pt';
1205
+ export default locale;
1206
+ }
1207
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
1208
+ import locale from 'date-fns/locale/ro';
1209
+ export default locale;
1210
+ }
1211
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
1212
+ import locale from 'date-fns/locale/ru';
1213
+ export default locale;
1214
+ }
1215
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
1216
+ import locale from 'date-fns/locale/sk';
1217
+ export default locale;
1218
+ }
1219
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
1220
+ import locale from 'date-fns/locale/sl';
1221
+ export default locale;
1222
+ }
1223
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
1224
+ import locale from 'date-fns/locale/sr-Latn';
1225
+ export default locale;
1226
+ }
1227
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
1228
+ import locale from 'date-fns/locale/sr';
1229
+ export default locale;
1230
+ }
1231
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
1232
+ import locale from 'date-fns/locale/sv';
1233
+ export default locale;
1234
+ }
1235
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
1236
+ import locale from 'date-fns/locale/ta';
1237
+ export default locale;
1238
+ }
1239
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
1240
+ import locale from 'date-fns/locale/te';
1241
+ export default locale;
1242
+ }
1243
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
1244
+ import locale from 'date-fns/locale/th';
1245
+ export default locale;
1246
+ }
1247
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
1248
+ import locale from 'date-fns/locale/tr';
1249
+ export default locale;
1250
+ }
1251
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
1252
+ import locale from 'date-fns/locale/uk';
1253
+ export default locale;
1254
+ }
1255
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
1256
+ import locale from 'date-fns/locale/vi';
1257
+ export default locale;
1258
+ }
1259
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
1260
+ import locale from 'date-fns/locale/zh-CN';
1261
+ export default locale;
1262
+ }
1263
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
1264
+ import locale from 'date-fns/locale/zh-TW';
1265
+ export default locale;
1266
+ }
1267
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
1268
+ import locale from 'date-fns/locale/en-US';
1269
+ export default locale;
1270
+ }
1271
+ declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
1272
+ export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
1273
+ }
1029
1274
  declare module "libs/reach/util/common/src/user/features/FeatureSet" {
1030
1275
  export const orderedFeatureSet: string[];
1031
1276
  export class FeatureSet {
@@ -1198,6 +1443,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1198
1443
  customDomain?: string;
1199
1444
  allowSelfRegistration?: boolean;
1200
1445
  brandFolderConfig?: BrandFolderConfig;
1446
+ hideSubscriptionName?: boolean;
1201
1447
  }
1202
1448
  export interface BrandFolderConfig {
1203
1449
  sections?: string[];
@@ -1274,9 +1520,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1274
1520
  subscriptionId: string;
1275
1521
  subscriptionName: string;
1276
1522
  }
1277
- export interface PluginExtension {
1278
- area: string;
1279
- componentName: string;
1523
+ export enum ExtensionArea {
1524
+ global = "Global",
1525
+ page = "Page",
1526
+ eventEditorFeedbackSection = "EventEditorFeedbackSection",
1527
+ eventDetailViewSection = "EventDetailViewSection",
1528
+ itemEditor = "ItemEditor"
1529
+ }
1530
+ export type InlinePlugin = {
1531
+ area: ExtensionArea.itemEditor;
1532
+ objectButton: PluginObjectButton;
1533
+ };
1534
+ export type PagePlugin = {
1535
+ area: ExtensionArea.page;
1280
1536
  route: string;
1281
1537
  navigationNode?: {
1282
1538
  componentName?: string;
@@ -1286,7 +1542,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1286
1542
  [key: string]: string;
1287
1543
  };
1288
1544
  };
1289
- }
1545
+ };
1546
+ export type PluginExtension = {
1547
+ area: ExtensionArea;
1548
+ componentName: string;
1549
+ } & (InlinePlugin | PagePlugin);
1550
+ export type PluginObjectButton = {
1551
+ buttonLabel: {
1552
+ defaultLabel: string;
1553
+ translations?: {
1554
+ [key: string]: string;
1555
+ };
1556
+ };
1557
+ iconName: string;
1558
+ };
1290
1559
  export interface PluginNotificationDefinitions {
1291
1560
  key: string;
1292
1561
  title: string;
@@ -1390,6 +1659,8 @@ declare module "libs/reach/util/common/src/user/User" {
1390
1659
  pluginNotifications: {
1391
1660
  [key: string]: NotificationType;
1392
1661
  };
1662
+ newsEditor: NotificationType;
1663
+ eventEditor: NotificationType;
1393
1664
  }
1394
1665
  export interface RequestUser extends BasicUserInformation {
1395
1666
  tenantId: string;
@@ -1425,6 +1696,7 @@ declare module "libs/reach/util/common/src/user/User" {
1425
1696
  termsAndConditionsApprovedHash: string;
1426
1697
  isPublicUser?: boolean;
1427
1698
  hasUnreadChats?: boolean;
1699
+ publicSubscriptionIds?: string[];
1428
1700
  }
1429
1701
  export interface GroupUser extends UserSummary {
1430
1702
  role: {
@@ -1490,6 +1762,7 @@ declare module "libs/reach/util/common/src/user/User" {
1490
1762
  user: UserSummary;
1491
1763
  type: SubscriptionJoinResultType;
1492
1764
  message?: string;
1765
+ isSuccess?: boolean;
1493
1766
  }
1494
1767
  export interface UserActivationResult {
1495
1768
  type: UserActivationResultType;
@@ -1716,11 +1989,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
1716
1989
  knownState: KnownNewsState;
1717
1990
  hasNewComments?: boolean;
1718
1991
  isLiked?: boolean;
1719
- shareToken?: ShareToken;
1720
- }
1721
- export interface ShareToken {
1722
- published?: string;
1723
- preview?: string;
1724
1992
  }
1725
1993
  export interface NewsItemAlertOptions {
1726
1994
  duration?: string;
@@ -1908,6 +2176,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1908
2176
  useExternalContent?: boolean;
1909
2177
  isDemoContent?: boolean;
1910
2178
  }
2179
+ export interface ShareablePublishableItem extends PublishableItem {
2180
+ shareToken: ShareToken;
2181
+ }
2182
+ export interface ShareToken {
2183
+ published?: string;
2184
+ preview?: string;
2185
+ }
1911
2186
  export interface PublishableItemVersion extends PublishableItem {
1912
2187
  itemId: string;
1913
2188
  versionModificationDate: string;
@@ -1931,6 +2206,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1931
2206
  }
1932
2207
  }
1933
2208
  declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
2209
+ import { Api } from 'restful.js';
1934
2210
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
1935
2211
  export class ClientFactoryInstance {
1936
2212
  private env;
@@ -1941,7 +2217,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
1941
2217
  constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
1942
2218
  url: string;
1943
2219
  }) => Promise<unknown>);
1944
- createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => any;
2220
+ createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
1945
2221
  private createApiInternal;
1946
2222
  private addRequestTimeLogger;
1947
2223
  createApiUrl: (url: string, query?: {
@@ -2034,6 +2310,11 @@ declare module "libs/reach/util/common/src/user/useCurrentUserApi" {
2034
2310
  deleteCurrentUserAvatar: () => Promise<unknown>;
2035
2311
  };
2036
2312
  }
2313
+ declare module "libs/reach/util/common/src/user/useCachedCurrentUserApi" {
2314
+ export function useCachedCurrentUserApi(): {
2315
+ getCurrentUser: (subscriptionId: string) => Promise<import("libs/reach/util/common/src/user").CurrentUser>;
2316
+ };
2317
+ }
2037
2318
  declare module "libs/reach/util/common/src/content/Attachment" {
2038
2319
  export enum AttachmentType {
2039
2320
  Image = 0,
@@ -2259,12 +2540,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2259
2540
  isUnlinked?: boolean;
2260
2541
  pageType?: PageType;
2261
2542
  firstChildId?: string;
2543
+ isGroupInheritanceBroken?: boolean;
2262
2544
  }
2263
2545
  export interface ContentsSummary {
2264
2546
  [lang: string]: TitleContent & {
2265
2547
  fileInfo?: DocumentFileInfo;
2266
2548
  };
2267
2549
  }
2550
+ export interface GroupInheritanceUpdateRequest {
2551
+ breakGroupInheritance: boolean;
2552
+ }
2268
2553
  export interface PageNavigationNode {
2269
2554
  id: string;
2270
2555
  contents?: ContentsSummary;
@@ -2280,6 +2565,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2280
2565
  hasAnyPageChild?: boolean;
2281
2566
  pageType?: PageType;
2282
2567
  useExternalContent?: boolean;
2568
+ isGroupInheritanceBroken?: boolean;
2283
2569
  isSearchMatch?: boolean;
2284
2570
  topLevelFolderName?: string;
2285
2571
  uploadToken?: string;
@@ -2448,6 +2734,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
2448
2734
  export function accessDeniedIntercept(error: any): Promise<boolean>;
2449
2735
  export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
2450
2736
  }
2737
+ declare module "libs/reach/util/common/src/Variables" {
2738
+ export const maxContentWidth = 985;
2739
+ export const adminMaxWidth = 600;
2740
+ export const spacingXxs = 3;
2741
+ export const spacingXs = 6;
2742
+ export const spacingS = 10;
2743
+ export const spacingM = 20;
2744
+ export const spacingL = 30;
2745
+ export const spacingX = 40;
2746
+ export const spacingXl = 60;
2747
+ export const minScreenSize: {
2748
+ small: number;
2749
+ medium: number;
2750
+ large: number;
2751
+ xLarge: number;
2752
+ xxLarge: number;
2753
+ xxxLarge: number;
2754
+ };
2755
+ export const maxScreenSize: {
2756
+ small: number;
2757
+ medium: number;
2758
+ large: number;
2759
+ xLarge: number;
2760
+ xxLarge: number;
2761
+ };
2762
+ export const sidebarWidth = 285;
2763
+ export const sidebarWidthRight = 320;
2764
+ export const sidebarItemHeight = 50;
2765
+ export const headerHeight = 50;
2766
+ export const headerSecondaryHeight = 50;
2767
+ export const notificationHeight = 50;
2768
+ export const mainContentPanelWidth = 300;
2769
+ export const mainContentPanelMinScreenSize = 1740;
2770
+ export const fontSizeLarger = 40;
2771
+ export const fontSizeLarge = 25;
2772
+ export const fontSizeMedium = 18;
2773
+ export const fontSizeNormal = 16;
2774
+ export const fontSizeSmall = 14;
2775
+ export const fontSizeSmaller = 12;
2776
+ export const socialIconSize = 26;
2777
+ export const lineHeight = 23;
2778
+ export const smallScreenLoginHeight = 40;
2779
+ export const bannerAspectRatio: number;
2780
+ export const bannerWidth = 980;
2781
+ export const bannerHeight = 420;
2782
+ export const HighlightBubbleSize = 12;
2783
+ export const StatusBubbleSize = 10;
2784
+ export const shadowColor = "rgba(0, 0, 0, 0.2)";
2785
+ export const diffPreviousVersionColour = "rgb(221, 221, 221)";
2786
+ export const diffActiveVersionColour = "rgb(206, 255, 188)";
2787
+ export const dialogSpacing = 24;
2788
+ export const detailViewSectionPadding = 20;
2789
+ export const detailViewSectionPaddingLarge = 60;
2790
+ export const postsSectionPadding = 20;
2791
+ export const attachmentRoundedCornerSize = 10;
2792
+ export const videoAttachmentRoundedCornerSize = 20;
2793
+ export const inlinePageBannerRoundedCornerSize = 5;
2794
+ export const feedbackButtonHeight = 32;
2795
+ export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
2796
+ export const mainContentContainerId = "lt-reach-main-content";
2797
+ export const mainModalContentContainerId = "lt-reach-main-modal-content";
2798
+ export const statusColors: {
2799
+ draft: string;
2800
+ ready: string;
2801
+ rejected: string;
2802
+ };
2803
+ export const cardWidthS = 260;
2804
+ export const cardWidthM = 354;
2805
+ export const cardWidthL = 314;
2806
+ export const cardWidthXL = 423;
2807
+ export const managePagesRowWidth = 300;
2808
+ export const managePagesRowHeight = 40;
2809
+ export const mobilePreviewWidth = 414;
2810
+ }
2811
+ declare module "libs/reach/util/common/src/common-utils" {
2812
+ import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
2813
+ import { IntlShape } from 'react-intl';
2814
+ export function getMainScrollableContainer(): HTMLElement;
2815
+ export enum LinkType {
2816
+ Internal = "internal",
2817
+ External = "external",
2818
+ Download = "download"
2819
+ }
2820
+ 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}";
2821
+ export const DefaultSubscriptionName = "LiveTiles Reach";
2822
+ export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
2823
+ export function getSubscriptionName(subscription: SubscriptionSummary): string;
2824
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
2825
+ logoInfo: LogoInfo;
2826
+ subscriptionName: string;
2827
+ };
2828
+ }
2829
+ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
2830
+ export enum AnalyticsInteractionEvents {
2831
+ embeddedVideo = "embedded-video",
2832
+ embeddedAudio = "embedded-audio",
2833
+ languageChange = "language-change",
2834
+ eventRegistration = "event-registration",
2835
+ eventSeriesRegistration = "event-series-registration",
2836
+ translateContent = "translate-content",
2837
+ downloadFile = "download-file",
2838
+ embeddedIframe = "embedded-iframe",
2839
+ externalLink = "external-link",
2840
+ follow = "follow",
2841
+ bookmark = "bookmark"
2842
+ }
2843
+ export enum AnalyticsActions {
2844
+ click = "click",
2845
+ navigate = "navigate",
2846
+ view = "view",
2847
+ search = "search"
2848
+ }
2849
+ export enum AnalyticsModuleType {
2850
+ Admin = "admin",
2851
+ Chat = "chat",
2852
+ Comments = "comments",
2853
+ Events = "events",
2854
+ Search = "search",
2855
+ News = "news",
2856
+ Pages = "pages",
2857
+ People = "people",
2858
+ Posts = "posts",
2859
+ Stream = "stream",
2860
+ User = "user"
2861
+ }
2862
+ export enum AnalyticsModuleSubtype {
2863
+ AllChats = "allChats",
2864
+ AllNews = "allNews",
2865
+ AllPosts = "allPosts",
2866
+ Bookmarks = "bookmarks",
2867
+ Channel = "channel",
2868
+ Channels = "channels",
2869
+ ChatConversation = "conversation",
2870
+ Customization = "customization",
2871
+ DetailView = "detailView",
2872
+ DirectoryConfig = "directoryConfiguration",
2873
+ Group = "group",
2874
+ Groups = "groups",
2875
+ Keywords = "keywords",
2876
+ Languages = "languages",
2877
+ MyNews = "myNews",
2878
+ Owners = "owners",
2879
+ Preview = "preview",
2880
+ RootPages = "rootPages",
2881
+ Search = "search",
2882
+ SelfRegistration = "selfRegistration",
2883
+ TargetAudience = "targetAudience",
2884
+ UpcomingEvents = "upcoming",
2885
+ BookedEvents = "booked",
2886
+ PastEvents = "past",
2887
+ Users = "users",
2888
+ WebHooks = "webHooks",
2889
+ Editor = "editor"
2890
+ }
2891
+ }
2892
+ declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
2893
+ export function useLinkInteraction(): void;
2894
+ }
2895
+ declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
2896
+ export function useIframeInteraction(): void;
2897
+ }
2898
+ declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
2899
+ import { FC } from 'react';
2900
+ import { EventModule } from '@livetiles/analytics';
2901
+ export const AnalyticsModuleContext: import("react").Context<EventModule>;
2902
+ export const AnalyticsModuleContextProvider: FC<{
2903
+ module: EventModule;
2904
+ }>;
2905
+ }
2906
+ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
2907
+ import { Dispatch, FC, SetStateAction } from 'react';
2908
+ import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
2909
+ export interface SearchAnalytics {
2910
+ data: EventSearch[];
2911
+ onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
2912
+ onItemRead: (itemId: string) => void;
2913
+ }
2914
+ export interface ModuleAnalytics {
2915
+ module: EventModule;
2916
+ setModule: Dispatch<SetStateAction<EventModule>>;
2917
+ }
2918
+ interface ActivityAnalytics {
2919
+ trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
2920
+ sendActivity: () => void;
2921
+ }
2922
+ export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
2923
+ export const AnalyticsContext: import("react").Context<ReachAnalytics>;
2924
+ export function useAnalyticsContext(): {
2925
+ interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
2926
+ trackActivity: (scrollContainer?: HTMLElement) => Activity;
2927
+ getUser: () => import("@segment/analytics-next").User;
2928
+ identify: (userId: string, traits?: Record<string, unknown>) => void;
2929
+ activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
2930
+ module: EventModule;
2931
+ setModule: Dispatch<SetStateAction<EventModule>>;
2932
+ data: EventSearch[];
2933
+ onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
2934
+ onItemRead: (itemId: string) => void;
2935
+ sendActivity: () => void;
2936
+ };
2937
+ export const AnalyticsLibraryContextProvider: FC<{
2938
+ appName?: string;
2939
+ }>;
2940
+ export const AnalyticsContextProvider: FC;
2941
+ }
2942
+ declare module "libs/reach/util/common/src/PagingService" {
2943
+ import { Observable } from 'rxjs';
2944
+ export const onPageScroll: Observable<number>;
2945
+ export function handlePageScroll(availableScrollSpace: number): void;
2946
+ export function setPageTitle(subscriptionName: string, title?: string): void;
2947
+ export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
2948
+ }
2949
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
2950
+ import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
2951
+ export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
2952
+ export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
2953
+ }
2954
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
2955
+ export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
2956
+ }
2957
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
2958
+ export function useAnalyticsNavigateTrack(): void;
2959
+ }
2960
+ declare module "libs/reach/util/common/src/analytics/index" {
2961
+ export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
2962
+ export * from "libs/reach/util/common/src/analytics/analyticsUtils";
2963
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
2964
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
2965
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
2966
+ export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
2967
+ }
2451
2968
  declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
2452
2969
  import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
2453
2970
  import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
@@ -2521,6 +3038,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2521
3038
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2522
3039
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2523
3040
  importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
3041
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
3042
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2524
3043
  };
2525
3044
  }
2526
3045
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -2546,6 +3065,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2546
3065
  customDomain?: string;
2547
3066
  allowSelfRegistration?: boolean;
2548
3067
  brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
3068
+ hideSubscriptionName?: boolean;
2549
3069
  id: string;
2550
3070
  subscriptionName: string;
2551
3071
  subscriptionHandle?: string;
@@ -2589,6 +3109,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2589
3109
  termsAndConditionsApprovedHash: string;
2590
3110
  isPublicUser?: boolean;
2591
3111
  hasUnreadChats?: boolean;
3112
+ publicSubscriptionIds?: string[];
2592
3113
  id?: string;
2593
3114
  type?: import("@livetiles/reach/util/common").AccountType;
2594
3115
  tenantId?: string;
@@ -2630,13 +3151,6 @@ declare module "libs/reach/util/common/src/user/useSubscriptionWebAppUrl" {
2630
3151
  export function useSubscriptionWebAppUrl(): string;
2631
3152
  export function useSubscriptionWebAppUrls(): string[];
2632
3153
  }
2633
- declare module "libs/reach/util/common/src/user/useChannelsApi" {
2634
- import { Channel } from "libs/reach/util/common/src/user/Channel";
2635
- export function useChannelsApi(): {
2636
- getChannels: () => Promise<Channel[]>;
2637
- getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
2638
- };
2639
- }
2640
3154
  declare module "libs/reach/util/common/src/user/index" {
2641
3155
  export * from "libs/reach/util/common/src/user/features/FeatureSet";
2642
3156
  export * from "libs/reach/util/common/src/user/features/WithFeatures";
@@ -2655,6 +3169,7 @@ declare module "libs/reach/util/common/src/user/index" {
2655
3169
  export * from "libs/reach/util/common/src/user/useAccountApi";
2656
3170
  export * from "libs/reach/util/common/src/user/useCurrentUser";
2657
3171
  export * from "libs/reach/util/common/src/user/useCurrentUserApi";
3172
+ export * from "libs/reach/util/common/src/user/useCachedCurrentUserApi";
2658
3173
  export * from "libs/reach/util/common/src/user/useManageCurrentUserApi";
2659
3174
  export * from "libs/reach/util/common/src/user/useUserAdminApi";
2660
3175
  export * from "libs/reach/util/common/src/user/CurrentUserDetailContextProvider";
@@ -2662,7 +3177,6 @@ declare module "libs/reach/util/common/src/user/index" {
2662
3177
  export * from "libs/reach/util/common/src/user/useSubscriptionHandlePathBuilder";
2663
3178
  export * from "libs/reach/util/common/src/user/CurrentUserContext";
2664
3179
  export * from "libs/reach/util/common/src/user/useSubscriptionWebAppUrl";
2665
- export * from "libs/reach/util/common/src/user/useChannelsApi";
2666
3180
  export * from "libs/reach/util/common/src/user/LanguageUtils";
2667
3181
  export * from "libs/reach/util/common/src/user/content-languages-util";
2668
3182
  }
@@ -2711,7 +3225,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
2711
3225
  getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
2712
3226
  saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
2713
3227
  saveFile: (pluginId: string, file: File) => Promise<Response>;
2714
- generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<any>;
3228
+ generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
2715
3229
  linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
2716
3230
  unlinkPlugin: (pluginId: string) => Promise<any>;
2717
3231
  };
@@ -2817,17 +3331,15 @@ declare module "libs/reach/util/common/src/Models" {
2817
3331
  }
2818
3332
  }
2819
3333
  declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2820
- import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
3334
+ import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
2821
3335
  import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
2822
- export enum ExtensionArea {
2823
- global = "Global",
2824
- page = "Page",
2825
- eventEditorFeedbackSection = "EventEditorFeedbackSection",
2826
- eventDetailViewSection = "EventDetailViewSection"
2827
- }
2828
3336
  export interface PluginNavigationNodeProps {
2829
3337
  navigationNodeProps?: PageNavigationNodeProps;
2830
3338
  }
3339
+ export type EmbeddedPluginProps = PluginProps & {
3340
+ isEditMode?: boolean;
3341
+ componentInstanceId: string;
3342
+ };
2831
3343
  export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2832
3344
  type DevPlugin = {
2833
3345
  pluginId: string;
@@ -2881,22 +3393,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2881
3393
  }
2882
3394
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2883
3395
  import { FC } from 'react';
2884
- import { ExtensionArea } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3396
+ import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
2885
3397
  export const Plugins: FC<{
2886
3398
  area: ExtensionArea;
2887
3399
  } & any>;
2888
3400
  }
2889
- declare module "libs/reach/util/common/src/plugins/index" {
2890
- export * from "libs/reach/util/common/src/plugins/PluginContext";
2891
- export * from "libs/reach/util/common/src/plugins/PluginWrapper";
2892
- export * from "libs/reach/util/common/src/plugins/Plugins";
2893
- export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
2894
- export * from "libs/reach/util/common/src/plugins/usePluginApi";
2895
- export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
2896
- export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
2897
- export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
2898
- export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
2899
- }
2900
3401
  declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2901
3402
  export class Color {
2902
3403
  private r;
@@ -3041,77 +3542,24 @@ declare module "libs/reach/util/common/src/theme/index" {
3041
3542
  export * from "libs/reach/util/common/src/theme/ThemeService";
3042
3543
  export * from "libs/reach/util/common/src/theme/ColorGenerator";
3043
3544
  }
3044
- declare module "libs/reach/util/common/src/Variables" {
3045
- export const maxContentWidth = 985;
3046
- export const adminMaxWidth = 600;
3047
- export const spacingXxs = 3;
3048
- export const spacingXs = 6;
3049
- export const spacingS = 10;
3050
- export const spacingM = 20;
3051
- export const spacingL = 30;
3052
- export const spacingX = 40;
3053
- export const spacingXl = 60;
3054
- export const minScreenSize: {
3055
- small: number;
3056
- medium: number;
3057
- large: number;
3058
- xLarge: number;
3059
- xxLarge: number;
3060
- xxxLarge: number;
3061
- };
3062
- export const maxScreenSize: {
3063
- small: number;
3064
- medium: number;
3065
- large: number;
3066
- xLarge: number;
3067
- xxLarge: number;
3068
- };
3069
- export const sidebarWidth = 285;
3070
- export const sidebarWidthRight = 320;
3071
- export const sidebarItemHeight = 50;
3072
- export const headerHeight = 50;
3073
- export const headerSecondaryHeight = 50;
3074
- export const notificationHeight = 50;
3075
- export const mainContentPanelWidth = 300;
3076
- export const mainContentPanelMinScreenSize = 1740;
3077
- export const fontSizeLarger = 40;
3078
- export const fontSizeLarge = 25;
3079
- export const fontSizeMedium = 18;
3080
- export const fontSizeNormal = 16;
3081
- export const fontSizeSmall = 14;
3082
- export const fontSizeSmaller = 12;
3083
- export const socialIconSize = 26;
3084
- export const lineHeight = 23;
3085
- export const smallScreenLoginHeight = 40;
3086
- export const bannerAspectRatio: number;
3087
- export const bannerWidth = 980;
3088
- export const bannerHeight = 420;
3089
- export const HighlightBubbleSize = 12;
3090
- export const StatusBubbleSize = 10;
3091
- export const shadowColor = "rgba(0, 0, 0, 0.2)";
3092
- export const diffPreviousVersionColour = "rgb(221, 221, 221)";
3093
- export const diffActiveVersionColour = "rgb(206, 255, 188)";
3094
- export const dialogSpacing = 24;
3095
- export const detailViewSectionPadding = 20;
3096
- export const detailViewSectionPaddingLarge = 60;
3097
- export const postsSectionPadding = 20;
3098
- export const attachmentRoundedCornerSize = 10;
3099
- export const videoAttachmentRoundedCornerSize = 20;
3100
- export const inlinePageBannerRoundedCornerSize = 5;
3101
- export const feedbackButtonHeight = 32;
3102
- export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
3103
- export const statusColors: {
3104
- draft: string;
3105
- ready: string;
3106
- rejected: string;
3107
- };
3108
- export const cardWidthS = 260;
3109
- export const cardWidthM = 354;
3110
- export const cardWidthL = 314;
3111
- export const cardWidthXL = 423;
3112
- export const managePagesRowWidth = 300;
3113
- export const managePagesRowHeight = 40;
3114
- export const mobilePreviewWidth = 414;
3545
+ declare module "libs/reach/util/common/src/plugins/Plugin" {
3546
+ import { FC } from 'react';
3547
+ import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3548
+ export const Plugin: FC<PluginProps & {
3549
+ showDetailedErrorMessage?: boolean;
3550
+ } & any>;
3551
+ }
3552
+ declare module "libs/reach/util/common/src/plugins/index" {
3553
+ export * from "libs/reach/util/common/src/plugins/PluginContext";
3554
+ export * from "libs/reach/util/common/src/plugins/PluginWrapper";
3555
+ export * from "libs/reach/util/common/src/plugins/Plugins";
3556
+ export * from "libs/reach/util/common/src/plugins/Plugin";
3557
+ export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
3558
+ export * from "libs/reach/util/common/src/plugins/usePluginApi";
3559
+ export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
3560
+ export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
3561
+ export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
3562
+ export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
3115
3563
  }
3116
3564
  declare module "libs/reach/util/common/src/notification/NotificationContext" {
3117
3565
  import { FC, ReactNode } from 'react';
@@ -3150,6 +3598,32 @@ declare module "libs/reach/util/common/src/notification/index" {
3150
3598
  export * from "libs/reach/util/common/src/notification/NotificationContext";
3151
3599
  export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
3152
3600
  }
3601
+ declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
3602
+ export function useCachedKeywordsApi(): {
3603
+ getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
3604
+ getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
3605
+ };
3606
+ }
3607
+ declare module "libs/reach/util/common/src/keywords/index" {
3608
+ export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
3609
+ export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
3610
+ }
3611
+ declare module "libs/reach/util/common/src/channels/useChannelsApi" {
3612
+ import { Channel } from "libs/reach/util/common/src/user/Channel";
3613
+ export function useChannelsApi(): {
3614
+ getChannels: () => Promise<Channel[]>;
3615
+ getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
3616
+ };
3617
+ }
3618
+ declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
3619
+ export function useCachedChannelsApi(): {
3620
+ getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
3621
+ };
3622
+ }
3623
+ declare module "libs/reach/util/common/src/channels/index" {
3624
+ export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
3625
+ export * from "libs/reach/util/common/src/channels/useChannelsApi";
3626
+ }
3153
3627
  declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
3154
3628
  import { FC, ReactNode } from 'react';
3155
3629
  export const EnforcedSubscriptionContextProvider: FC<{
@@ -3176,10 +3650,11 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
3176
3650
  refreshSubscription: () => void;
3177
3651
  }>;
3178
3652
  export const LazySubscriptionContextProvider: FC;
3653
+ export const LazyCachedSubscriptionContextProvider: FC;
3179
3654
  export const LazySubscriptionContextProviderBase: FC<{
3180
- getChannels: () => Promise<Channel[]>;
3181
- getAllKeywords: (force?: boolean) => Promise<Keyword[]>;
3182
- getSelectedGroups: () => Promise<KeywordGroup[]>;
3655
+ getChannels: (subscriptionId: string) => Promise<Channel[]>;
3656
+ getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
3657
+ getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
3183
3658
  }>;
3184
3659
  }
3185
3660
  declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
@@ -3189,10 +3664,14 @@ declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
3189
3664
  getTermsAndConditions: () => Promise<TermsAndConditions>;
3190
3665
  };
3191
3666
  }
3667
+ declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
3668
+ export function useLazySubscriptionContext(): import("@livetiles/reach/util/common").LazySubscriptionContextType;
3669
+ }
3192
3670
  declare module "libs/reach/util/common/src/subscription/index" {
3193
3671
  export * from "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider";
3194
3672
  export * from "libs/reach/util/common/src/subscription/SubscriptionContext";
3195
3673
  export * from "libs/reach/util/common/src/subscription/useSubscriptionApi";
3674
+ export * from "libs/reach/util/common/src/subscription/useLazySubscriptionContext";
3196
3675
  }
3197
3676
  declare module "libs/reach/util/common/src/AppTrigger" {
3198
3677
  import { DependencyList } from 'react';
@@ -3215,6 +3694,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
3215
3694
  width?: number;
3216
3695
  height?: number;
3217
3696
  }
3697
+ export interface ImageWithAlignment extends ImageDetails {
3698
+ imageAlignment?: ImageAlignment;
3699
+ }
3700
+ export enum ImageAlignment {
3701
+ Default = "default",
3702
+ Left = "left",
3703
+ Right = "right",
3704
+ Center = "center"
3705
+ }
3218
3706
  }
3219
3707
  declare module "libs/reach/util/common/src/MainContentPanelContext" {
3220
3708
  export interface MainPanelContextType {
@@ -3225,13 +3713,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
3225
3713
  }
3226
3714
  export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
3227
3715
  }
3228
- declare module "libs/reach/util/common/src/PagingService" {
3229
- import { Observable } from 'rxjs';
3230
- export const onPageScroll: Observable<number>;
3231
- export function handlePageScroll(availableScrollSpace: number): void;
3232
- export function setPageTitle(subscriptionName: string, title?: string): void;
3233
- export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
3234
- }
3235
3716
  declare module "libs/reach/util/common/src/keyword-utils" {
3236
3717
  import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
3237
3718
  import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
@@ -3294,6 +3775,10 @@ declare module "libs/reach/util/common/src/useModalRouting" {
3294
3775
  };
3295
3776
  };
3296
3777
  }
3778
+ declare module "libs/reach/util/common/src/ReachQueryClient" {
3779
+ import { QueryClient } from '@tanstack/react-query';
3780
+ export const ReachQueryClient: QueryClient;
3781
+ }
3297
3782
  declare module "libs/reach/util/common/src/index" {
3298
3783
  export { initializeIcons } from 'office-ui-fabric-react';
3299
3784
  export * from "libs/reach/util/common/src/FocusStyles";
@@ -3303,13 +3788,15 @@ declare module "libs/reach/util/common/src/index" {
3303
3788
  export * from "libs/reach/util/common/src/SortDirection";
3304
3789
  export * from "libs/reach/util/common/src/useCacheLanguageApi";
3305
3790
  export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
3791
+ export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
3306
3792
  export * from "libs/reach/util/common/src/user/index";
3307
3793
  export * from "libs/reach/util/common/src/plugins/index";
3308
3794
  export * from "libs/reach/util/common/src/theme/index";
3309
3795
  export * from "libs/reach/util/common/src/content/index";
3310
3796
  export * from "libs/reach/util/common/src/notification/index";
3311
3797
  export * from "libs/reach/util/common/src/Variables";
3312
- export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
3798
+ export * from "libs/reach/util/common/src/keywords/index";
3799
+ export * from "libs/reach/util/common/src/channels/index";
3313
3800
  export * from "libs/reach/util/common/src/subscription/index";
3314
3801
  export * from "libs/reach/util/common/src/AppTrigger";
3315
3802
  export * from "libs/reach/util/common/src/BackbuttonListenerUtil";
@@ -3322,6 +3809,9 @@ declare module "libs/reach/util/common/src/index" {
3322
3809
  export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
3323
3810
  export * from "libs/reach/util/common/src/AccessDeniedIntercept";
3324
3811
  export * from "libs/reach/util/common/src/useModalRouting";
3812
+ export * from "libs/reach/util/common/src/analytics/index";
3813
+ export * from "libs/reach/util/common/src/common-utils";
3814
+ export * from "libs/reach/util/common/src/ReachQueryClient";
3325
3815
  }
3326
3816
  declare module "libs/reach/ui/common/src/Link" {
3327
3817
  import { Link as RouterLink } from 'react-router-dom';
@@ -3378,7 +3868,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
3378
3868
  text?: string | JSX.Element;
3379
3869
  resourceKey?: string;
3380
3870
  values?: {
3381
- [key: string]: string | number | boolean | Date;
3871
+ [key: string]: string | number | boolean | Date | any;
3382
3872
  };
3383
3873
  width?: number;
3384
3874
  onClick?: () => unknown;
@@ -3458,7 +3948,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3458
3948
  export const PeoplePicker: FC<Props>;
3459
3949
  }
3460
3950
  declare module "libs/reach/ui/common/src/plugins/reach-core" {
3461
- 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";
3951
+ 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";
3462
3952
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3463
3953
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3464
3954
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3475,7 +3965,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3475
3965
  * @deprecated Please use `usePluginDeviceStore` instead
3476
3966
  */
3477
3967
  usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
3478
- export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
3968
+ export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
3479
3969
  }
3480
3970
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3481
3971
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3491,6 +3981,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3491
3981
  export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
3492
3982
  export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
3493
3983
  }
3984
+ declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
3985
+ export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
3986
+ }
3494
3987
  declare module "libs/reach/ui/common/src/NotificationBar" {
3495
3988
  import { FC } from 'react';
3496
3989
  export const NotificationBar: FC;
@@ -3507,6 +4000,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
3507
4000
  export const AudioFile: FC<{
3508
4001
  fileName: string;
3509
4002
  url: string;
4003
+ onPlay?: (url: string) => void;
3510
4004
  }>;
3511
4005
  export function isAudioFile(fileName: string): boolean;
3512
4006
  }
@@ -3530,37 +4024,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
3530
4024
  color?: string;
3531
4025
  }, never>;
3532
4026
  }
3533
- declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3534
- export const smallScreenSpacing = 10;
3535
- export const smallMaxContentWidth: number;
3536
- export const mediumMaxContentWidth: number;
3537
- export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3538
- }
3539
- declare module "libs/reach/ui/common/src/common/Utils" {
3540
- import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3541
- import { IntlShape } from 'react-intl';
3542
- import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3543
- export function isValidUrl(url: string): boolean;
3544
- export function getGoogleMapsSearchLink(name: string): string;
3545
- export function tryGetInternalLink(url: string, appUrls: string[]): string;
3546
- export function getExternalContentUrl(item: PublishableItem, language: string): string;
3547
- export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
3548
- export const DefaultSubscriptionName = "LiveTiles Reach";
3549
- export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3550
- export function getSubscriptionName(subscription: SubscriptionSummary): string;
3551
- 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}";
3552
- export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3553
- logoInfo: LogoInfo;
3554
- subscriptionName: string;
3555
- };
3556
- export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3557
- export function delay(delayInMs: number): Promise<unknown>;
3558
- export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3559
- defaultWidth?: number;
3560
- showPlaceholder?: boolean;
3561
- }, never>;
3562
- export function encodeChannelName(channelName: string): string;
3563
- }
3564
4027
  declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
3565
4028
  import { FC } from 'react';
3566
4029
  import { SubscriptionSummary } from "libs/reach/util/common/src/index";
@@ -3603,6 +4066,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDialog" {
3603
4066
  infoResourceValues?: any;
3604
4067
  onConfirm?: () => unknown;
3605
4068
  onClose?: () => unknown;
4069
+ width?: number;
3606
4070
  }>;
3607
4071
  }
3608
4072
  declare module "libs/reach/ui/common/src/common/ConfirmResetDialog" {
@@ -3638,7 +4102,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
3638
4102
  export const isSameDay: (value: moment.MomentInput) => boolean;
3639
4103
  export const DateTime: FC<Props>;
3640
4104
  export const DateTimeRange: FC<{
3641
- startDate: string;
4105
+ startDate?: string;
3642
4106
  endDate?: string;
3643
4107
  className?: string;
3644
4108
  }>;
@@ -3724,6 +4188,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
3724
4188
  export const VideoFile: FC<{
3725
4189
  fileName: string;
3726
4190
  url: string;
4191
+ onPlay?: (url: string) => void;
3727
4192
  }>;
3728
4193
  export function isVideoFile(fileName: string): boolean;
3729
4194
  }
@@ -3746,25 +4211,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3746
4211
  }[]>;
3747
4212
  export function getFileIcon(filename: string): string;
3748
4213
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
4214
+ export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
3749
4215
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
3750
- export function getMainScrollableContainer(): HTMLElement;
3751
4216
  }
3752
4217
  declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
4218
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
3753
4219
  export function useFileAccessTokenApi(): {
3754
4220
  exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
3755
4221
  getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
3756
- createDownloadClickHandler: (target: string, getUrl: () => Promise<string>) => () => Promise<void>;
4222
+ createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
3757
4223
  };
3758
4224
  }
3759
4225
  declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
3760
4226
  import { FC } from 'react';
3761
- import { Attachment } from "libs/reach/util/common/src/index";
4227
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
3762
4228
  export const FileAttachmentList: FC<{
3763
4229
  files: Attachment[];
3764
4230
  onDeleteClick?: (file: Attachment) => void;
3765
4231
  getFileUrl?: (attachmentId: string, token?: string) => string;
4232
+ onPlayVideo?: (url: string, videoId: string) => void;
4233
+ onPlayAudio?: (url: string, audioId: string) => void;
3766
4234
  fileAccessToken?: string;
3767
4235
  disabled?: boolean;
4236
+ parentId?: string;
4237
+ itemResourceType?: ItemResourceTypes | string;
3768
4238
  className?: string;
3769
4239
  }>;
3770
4240
  }
@@ -4064,6 +4534,28 @@ declare module "libs/reach/ui/common/src/common/UserUtility" {
4064
4534
  import { IntlShape } from 'react-intl';
4065
4535
  export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
4066
4536
  }
4537
+ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
4538
+ export const smallScreenSpacing = 10;
4539
+ export const smallMaxContentWidth: number;
4540
+ export const mediumMaxContentWidth: number;
4541
+ export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4542
+ }
4543
+ declare module "libs/reach/ui/common/src/common/Utils" {
4544
+ import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
4545
+ import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
4546
+ export function isValidUrl(url: string): boolean;
4547
+ export function getGoogleMapsSearchLink(name: string): string;
4548
+ export function tryGetInternalLink(url: string, appUrls: string[]): string;
4549
+ export function getExternalContentUrl(item: PublishableItem, language: string): string;
4550
+ export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
4551
+ export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
4552
+ export function delay(delayInMs: number): Promise<unknown>;
4553
+ export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4554
+ defaultWidth?: number;
4555
+ showPlaceholder?: boolean;
4556
+ }, never>;
4557
+ export function encodeChannelName(channelName: string): string;
4558
+ }
4067
4559
  declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
4068
4560
  import { FC, ReactNode } from 'react';
4069
4561
  import { PrimitiveType } from 'intl-messageformat';
@@ -4087,12 +4579,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
4087
4579
  }
4088
4580
  declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
4089
4581
  import { FC } from 'react';
4582
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
4090
4583
  export const AutoTranslateButton: FC<{
4091
4584
  contentLanguageCode: string;
4092
4585
  originalContent: string;
4093
4586
  content: string;
4094
4587
  onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
4095
4588
  onContentChange: (content: string) => void;
4589
+ itemType: ItemResourceTypes;
4590
+ itemId: string;
4096
4591
  tooltipResourceKey?: string;
4097
4592
  showLabel?: boolean;
4098
4593
  }>;
@@ -4376,6 +4871,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
4376
4871
  className?: string;
4377
4872
  }>;
4378
4873
  }
4874
+ declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
4875
+ export const useIsMounted: () => () => boolean;
4876
+ }
4379
4877
  declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
4380
4878
  import { PaginatedList } from "libs/reach/util/common/src/index";
4381
4879
  import { DependencyList, SetStateAction } from 'react';
@@ -4680,8 +5178,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
4680
5178
  export interface Props extends IPersonaProps {
4681
5179
  upn: string;
4682
5180
  tenantId?: string;
4683
- className?: string;
4684
5181
  displayName?: string;
5182
+ forceShowSecondaryText?: boolean;
5183
+ className?: string;
4685
5184
  }
4686
5185
  export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
4687
5186
  static type: string;
@@ -4856,6 +5355,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4856
5355
  export * from "libs/reach/ui/common/src/common/grid/Grid";
4857
5356
  export * from "libs/reach/ui/common/src/common/hooks/usePagination";
4858
5357
  export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
5358
+ export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
4859
5359
  export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
4860
5360
  export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
4861
5361
  export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
@@ -4888,6 +5388,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4888
5388
  export * from "libs/reach/ui/common/src/common/error-states/index";
4889
5389
  export * from "libs/reach/ui/common/src/common/MenuItemBadge";
4890
5390
  export * from "libs/reach/ui/common/src/common/editor-svg/index";
5391
+ export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
4891
5392
  }
4892
5393
  declare module "libs/reach/ui/common/src/error/PageAlert" {
4893
5394
  import { ReactNode } from 'react';
@@ -4939,16 +5440,17 @@ declare module "libs/reach/ui/common/src/index" {
4939
5440
  export * from "libs/reach/ui/common/src/ColorEditor";
4940
5441
  }
4941
5442
  declare module "apps/reach-app/src/app/chrome/CloseButton" {
4942
- import { FC } from 'react';
5443
+ import { FC, DependencyList } from 'react';
4943
5444
  export interface Props {
4944
5445
  navigateTo: string;
5446
+ onBeforeClose?: () => void;
4945
5447
  onClose?: () => void;
4946
5448
  tooltipResourceKey?: string;
4947
5449
  useGoBack?: boolean;
4948
5450
  className?: string;
4949
5451
  }
4950
5452
  export const CloseButton: FC<Props>;
4951
- export function useEscapeOnClose(onClose: () => void): void;
5453
+ export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
4952
5454
  }
4953
5455
  declare module "apps/reach-app/src/app/common/LogoStyles" {
4954
5456
  export const LogoHostStyle: (size?: {
@@ -4975,6 +5477,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
4975
5477
  closeButtonOptions?: CloseButtonOptions;
4976
5478
  }
4977
5479
  export interface CloseButtonOptions {
5480
+ onBeforeClose?: () => void;
4978
5481
  onClick?: () => void;
4979
5482
  disableGoBack?: boolean;
4980
5483
  route?: string;
@@ -5040,9 +5543,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
5040
5543
  }
5041
5544
  declare module "apps/reach-app/src/app/chrome/BasicPage" {
5042
5545
  import { FC, ReactNode } from 'react';
5546
+ import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5043
5547
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
5044
5548
  import './BasicPage.scss';
5045
- import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5046
5549
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
5047
5550
  type HeaderToolbarObjectTypeHack = {
5048
5551
  toolbarElement: JSX.Element;
@@ -5160,7 +5663,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
5160
5663
  addLanguage: (code: string) => Promise<Language>;
5161
5664
  setDefaultLanguage: (code: string) => Promise<Language>;
5162
5665
  removeLanguage: (code: string) => Promise<unknown>;
5163
- setSubscriptionName: (name: string) => Promise<string>;
5666
+ setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
5667
+ name: string | null;
5668
+ hideName: boolean | null;
5669
+ }>;
5164
5670
  setSubscriptionHandle: (handle: string) => Promise<string>;
5165
5671
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
5166
5672
  updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
@@ -5466,11 +5972,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
5466
5972
  export { PushClient };
5467
5973
  }
5468
5974
  declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5469
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5470
- export class MobileHybridStorage implements StoragePlugin {
5975
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5976
+ export class MobileHybridStorage implements PreferencesPlugin {
5471
5977
  private pluginStorage;
5472
5978
  private static memoryStorage;
5473
- constructor(pluginStorage: StoragePlugin);
5979
+ constructor(pluginStorage: PreferencesPlugin);
5474
5980
  get(options: {
5475
5981
  key: string;
5476
5982
  }): Promise<any>;
@@ -5482,7 +5988,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5482
5988
  key: string;
5483
5989
  }): Promise<void>;
5484
5990
  clear(): Promise<void>;
5485
- keys(): Promise<import("@capacitor/storage").KeysResult>;
5991
+ keys(): Promise<import("@capacitor/preferences").KeysResult>;
5486
5992
  private static updateInMemoryStorage;
5487
5993
  configure(options: ConfigureOptions): Promise<void>;
5488
5994
  migrate(): Promise<MigrateResult>;
@@ -5518,7 +6024,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
5518
6024
  export const mockStatusBarPlugin: StatusBarPlugin;
5519
6025
  }
5520
6026
  declare module "libs/shared/util/capacitor/src/WebDevice" {
5521
- import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
6027
+ import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
5522
6028
  import { PluginListenerHandle } from '@capacitor/core';
5523
6029
  export class WebDeviceFallback implements DevicePlugin {
5524
6030
  addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
@@ -5527,6 +6033,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
5527
6033
  getId(): Promise<DeviceId>;
5528
6034
  getBatteryInfo(): Promise<BatteryInfo>;
5529
6035
  getLanguageCode(): Promise<GetLanguageCodeResult>;
6036
+ getLanguageTag(): Promise<LanguageTag>;
5530
6037
  }
5531
6038
  }
5532
6039
  declare module "libs/shared/util/capacitor/src/WebNetwork" {
@@ -5543,8 +6050,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
5543
6050
  }
5544
6051
  }
5545
6052
  declare module "libs/shared/util/capacitor/src/WebStorage" {
5546
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5547
- export class WebStorage implements StoragePlugin {
6053
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
6054
+ export class WebStorage implements PreferencesPlugin {
5548
6055
  storage: Storage;
5549
6056
  get(options: {
5550
6057
  key: string;
@@ -5578,14 +6085,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
5578
6085
  import { SharePlugin } from '@capacitor/share';
5579
6086
  import { SplashScreenPlugin } from '@capacitor/splash-screen';
5580
6087
  import { StatusBarPlugin } from '@capacitor/status-bar';
5581
- import { StoragePlugin } from '@capacitor/storage';
6088
+ import { PreferencesPlugin } from '@capacitor/preferences';
5582
6089
  import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
5583
6090
  import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
5584
6091
  import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
5585
6092
  import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
5586
6093
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
5587
6094
  export interface CondensePluginRegistry {
5588
- Storage: StoragePlugin;
6095
+ Storage: PreferencesPlugin;
5589
6096
  Device: DevicePlugin;
5590
6097
  App: AppPlugin;
5591
6098
  Keyboard: KeyboardPlugin;
@@ -6114,14 +6621,18 @@ declare module "apps/reach-app/src/app/admin/web-hooks/utils" {
6114
6621
  CommentUpdated = "CommentUpdated",
6115
6622
  CommentDeleted = "CommentDeleted",
6116
6623
  LikeAdded = "LikeAdded",
6117
- LikeRemoved = "LikeRemoved"
6624
+ LikeRemoved = "LikeRemoved",
6625
+ PostCreated = "PostCreated",
6626
+ PostUpdated = "PostUpdated",
6627
+ PostDeleted = "PostDeleted"
6118
6628
  }
6119
6629
  export enum WebHookCategory {
6120
6630
  News = "News",
6121
6631
  Events = "Events",
6122
6632
  Comments = "Comments",
6123
6633
  Likes = "Likes",
6124
- UserSelfRegistration = "UserSelfRegistration"
6634
+ UserSelfRegistration = "UserSelfRegistration",
6635
+ Posts = "Posts"
6125
6636
  }
6126
6637
  }
6127
6638
  declare module "apps/reach-app/src/app/admin/web-hooks/WebHookEditor" {
@@ -6247,7 +6758,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
6247
6758
  import { UserRegistrationResult } from "libs/reach/util/common/src/index";
6248
6759
  import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
6249
6760
  export function useSelfRegistrationApi(): {
6250
- changeRegistrationStatus: (upn: string, doAccept: boolean) => any;
6761
+ changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
6251
6762
  hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
6252
6763
  register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
6253
6764
  updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
@@ -6303,6 +6814,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6303
6814
  onSaved: (newProperties: UpdatableUserProperties) => void;
6304
6815
  }>;
6305
6816
  }
6817
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6818
+ import { FC } from 'react';
6819
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6820
+ export const GenerateApiKeyDialog: FC<{
6821
+ onApiKeyAdded?: () => void;
6822
+ onDismiss: () => void;
6823
+ user?: UserItem;
6824
+ }>;
6825
+ }
6306
6826
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6307
6827
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6308
6828
  import './UserList.scss';
@@ -6326,7 +6846,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6326
6846
  isLoading?: boolean;
6327
6847
  isEmpty?: boolean;
6328
6848
  emptyPlaceholder?: ReactNode;
6849
+ onKeyChanged?: () => void;
6329
6850
  }
6851
+ export type UserItem = Account & UserSummary & GroupUser & {
6852
+ accountType: string;
6853
+ lastLogin: string | JSX.Element;
6854
+ };
6330
6855
  export const UserList: FC<Props>;
6331
6856
  }
6332
6857
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6359,12 +6884,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6359
6884
  className?: string;
6360
6885
  }>;
6361
6886
  }
6362
- declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
6363
- import { FC } from 'react';
6364
- export const GenerateApiKeyButton: FC<{
6365
- onApiKeyAdded: () => void;
6366
- }>;
6367
- }
6368
6887
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6369
6888
  import { FC } from 'react';
6370
6889
  import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
@@ -6384,19 +6903,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
6384
6903
  }
6385
6904
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
6386
6905
  import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6906
+ export enum ValidationStatus {
6907
+ Valid = 0,
6908
+ WithErrors = 1,
6909
+ WithUserErrors = 2
6910
+ }
6911
+ export type CsvValidation = {
6912
+ Status?: ValidationStatus;
6913
+ Message?: string;
6914
+ InvalidItems?: string[];
6915
+ };
6387
6916
  export function useUserCsvInviter(): {
6388
6917
  invitedUsers: UserImport[];
6389
6918
  isValidating: boolean;
6390
6919
  isCsvValid: boolean;
6391
6920
  parseCsvFile: (csvFile: File) => void;
6392
- error: string;
6393
- setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6921
+ csvValidation: CsvValidation;
6922
+ setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
6394
6923
  inviteUsers: (onSuccess?: () => void) => Promise<void>;
6395
6924
  isParserReady: boolean;
6396
6925
  isInviting: boolean;
6397
6926
  canInvite: boolean;
6927
+ csvFile: File;
6398
6928
  };
6399
6929
  }
6930
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
6931
+ export function createCsvUrl(header: string, content: string): string;
6932
+ }
6933
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
6934
+ import { FC } from 'react';
6935
+ import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
6936
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6937
+ export const CsvFileValidationResult: FC<{
6938
+ csvValidation: CsvValidation;
6939
+ invitedUsers: UserImport[];
6940
+ }>;
6941
+ }
6400
6942
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6401
6943
  import { FC } from 'react';
6402
6944
  export const ImportUserButton: FC<{
@@ -6429,9 +6971,6 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
6429
6971
  children?: (content: string, index: number) => JSX.Element;
6430
6972
  }>;
6431
6973
  }
6432
- declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6433
- export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
6434
- }
6435
6974
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6436
6975
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6437
6976
  export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
@@ -6478,6 +7017,13 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6478
7017
  likeCount: number;
6479
7018
  static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6480
7019
  }
7020
+ export class AutoFollowItemTriggerAction implements AppTriggerAction {
7021
+ static type: string;
7022
+ type: string;
7023
+ recurrenceSeriesId: string;
7024
+ isFollowed: boolean;
7025
+ static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
7026
+ }
6481
7027
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6482
7028
  static type: string;
6483
7029
  type: string;
@@ -6504,6 +7050,20 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6504
7050
  itemId: string;
6505
7051
  static create(itemId: string): RefetchItemAction;
6506
7052
  }
7053
+ export class RefetchStreamItemAction implements AppTriggerAction {
7054
+ static type: string;
7055
+ type: string;
7056
+ itemId: string;
7057
+ static create(itemId: string): RefetchStreamItemAction;
7058
+ }
7059
+ export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
7060
+ static type: string;
7061
+ type: string;
7062
+ pageId: string;
7063
+ parentId: string;
7064
+ affectedGroupIds: string[];
7065
+ static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
7066
+ }
6507
7067
  }
6508
7068
  declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6509
7069
  export interface CommentFilter {
@@ -6520,119 +7080,44 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
6520
7080
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6521
7081
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
6522
7082
  import { Attachment } from "libs/reach/util/common/src/index";
7083
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6523
7084
  import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
6524
7085
  export function useCommentApi(): {
6525
- createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => any;
6526
- createEditorComment: (itemId: string, comment: Partial<Comment>) => any;
6527
- listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => any;
6528
- getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => any;
6529
- getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => any;
6530
- getEditorConversations: (itemId: string) => any;
7086
+ createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7087
+ createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7088
+ listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7089
+ getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7090
+ getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
7091
+ getEditorConversations: (itemId: string) => Promise<Comment[]>;
6531
7092
  translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
6532
- deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => any;
6533
- deleteEditorComment: (itemId: string, commentId: string) => any;
7093
+ deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
7094
+ deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
6534
7095
  toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
6535
- updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => any;
7096
+ updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
6536
7097
  onCommentCreated$: import("rxjs").Observable<string>;
6537
7098
  };
6538
7099
  }
6539
- declare module "libs/reach/feature/content/src/comments/FollowComments" {
7100
+ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
7101
+ export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
7102
+ }
7103
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
6540
7104
  import { FC } from 'react';
6541
- import { ConversationScope } from "libs/reach/util/common/src/index";
6542
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6543
- interface Props {
6544
- type: ItemResourceTypes;
6545
- itemId: string;
6546
- className?: string;
6547
- scope: ConversationScope;
6548
- hideProfileUrl?: boolean;
6549
- }
6550
- export const FollowComments: FC<Props>;
7105
+ export const ConfirmationBox: FC<{
7106
+ disabled?: boolean;
7107
+ onChange?: (value: boolean) => void;
7108
+ checked: boolean;
7109
+ }>;
6551
7110
  }
6552
- declare module "libs/reach/feature/content/src/comments/CommentInput" {
6553
- import { ReactNode } from 'react';
6554
- import { Account } from "libs/reach/util/common/src/index";
6555
- export interface UserSuggestion {
6556
- id: string;
6557
- upn: string;
6558
- displayName: string;
6559
- display: string;
6560
- }
6561
- export interface SuggestionArgs {
6562
- searchText: string;
6563
- updateSuggestions: (suggestions: UserSuggestion[]) => any;
6564
- }
6565
- export interface CommentInputProps {
6566
- className?: string;
6567
- content: string;
6568
- disabled?: boolean;
6569
- autoFocus?: boolean;
6570
- onEnter?: () => void;
6571
- onCtrlEnter?: () => unknown;
6572
- onChange?: (value: string) => void;
6573
- onFocus?: () => void;
6574
- additionalInputControl?: ReactNode;
6575
- buttons?: {
6576
- leftSide?: ReactNode;
6577
- rightSide?: ReactNode;
6578
- };
6579
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
6580
- placeHolderStringResourceKey?: string;
6581
- placeHolderStringResourceValues?: {
6582
- [key: string]: string | number | boolean | Date;
6583
- };
6584
- disableBoxShadow?: boolean;
6585
- ariaLabel?: string;
6586
- }
6587
- export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
6588
- }
6589
- declare module "libs/reach/feature/content/src/comments/DropInfo" {
6590
- import { FC } from 'react';
6591
- export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7111
+ declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
7112
+ import { FC, ReactNode } from 'react';
7113
+ export const GutterMarkerIcon: FC<{
7114
+ iconName: string;
7115
+ children: ReactNode;
6592
7116
  isActive: boolean;
6593
- }, never>;
6594
- export const DropInfo: FC;
6595
- }
6596
- declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6597
- import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
6598
- export interface KalturaProperties {
6599
- sp?: string;
6600
- uiconfId?: string;
6601
- partnerId?: string;
6602
- entryId?: string;
6603
- }
6604
- export class VideoUrlParser {
6605
- private url;
6606
- private static ytRegex;
6607
- private static vimeoRegex;
6608
- private static microsoftStreamRegex;
6609
- private static vimeoDirectLinkRegex;
6610
- private static vimeoRedirectLinkRegex;
6611
- private static kalturaRegex;
6612
- readonly source: VideoSource | null;
6613
- readonly id: string | null;
6614
- readonly isDirectVideoUrl: boolean;
6615
- readonly videoProperties: any;
6616
- readonly thumbnailUrl: string;
6617
- constructor(url: string);
6618
- isValid(features: FeatureSet): boolean;
6619
- }
6620
- export function getVideoSources(features: FeatureSet): any[];
6621
- export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
6622
- export function getAllVideoSources(features: FeatureSet): any[];
6623
- }
6624
- declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
6625
- import { AttachmentType } from "libs/reach/util/common/src/index";
6626
- export function getAllVideosFromString(content: string): Generator<{
6627
- url: string;
6628
- type: AttachmentType;
6629
- }, void, unknown>;
6630
- export function getEmbeddedObjectsFromString(content: string): Generator<{
6631
- url: string;
6632
- subscriptionIdentifier: string;
6633
- type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
6634
- id: string;
6635
- }, void, unknown>;
7117
+ color: string;
7118
+ tooltipResourceKey?: string;
7119
+ className?: string;
7120
+ }>;
6636
7121
  }
6637
7122
  declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
6638
7123
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
@@ -6686,6 +7171,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6686
7171
  And = "AND"
6687
7172
  }
6688
7173
  }
7174
+ declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
7175
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7176
+ export interface AuthorFilterDefinition extends IndexableFilterDefinition {
7177
+ author?: string;
7178
+ }
7179
+ }
7180
+ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
7181
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7182
+ export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
7183
+ channels?: FilterWithLogicalOperator;
7184
+ }
7185
+ }
7186
+ declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
7187
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7188
+ import { WorkflowStatus } from "libs/reach/util/common/src/index";
7189
+ export interface StateFilterDefinition extends IndexableFilterDefinition {
7190
+ state?: WorkflowStatus;
7191
+ }
7192
+ }
7193
+ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
7194
+ import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
7195
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7196
+ import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
7197
+ import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
7198
+ export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
7199
+ groupId?: string;
7200
+ bookmarksOnly?: boolean;
7201
+ unreadOnly?: boolean;
7202
+ includeExpired?: boolean;
7203
+ }
7204
+ }
7205
+ declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
7206
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7207
+ export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
7208
+ afterDate?: string;
7209
+ }
7210
+ }
7211
+ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
7212
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7213
+ export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
7214
+ contacts?: string[];
7215
+ }
7216
+ }
6689
7217
  declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
6690
7218
  import { SortDirection } from "libs/reach/util/common/src/index";
6691
7219
  export class SortFieldsDefinitionBuilder<T extends string> {
@@ -6701,18 +7229,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
6701
7229
  startsBefore?: string;
6702
7230
  }
6703
7231
  }
6704
- declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
6705
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6706
- export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
6707
- contacts?: string[];
6708
- }
6709
- }
6710
- declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
6711
- import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6712
- export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
6713
- channels?: FilterWithLogicalOperator;
6714
- }
6715
- }
6716
7232
  declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6717
7233
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6718
7234
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
@@ -6729,18 +7245,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6729
7245
  }
6730
7246
  export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
6731
7247
  }
6732
- declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
6733
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6734
- export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
6735
- afterDate?: string;
6736
- }
6737
- }
6738
- declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
6739
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6740
- export interface AuthorFilterDefinition extends IndexableFilterDefinition {
6741
- author?: string;
6742
- }
6743
- }
6744
7248
  declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6745
7249
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6746
7250
  export interface FilteringProps {
@@ -6750,25 +7254,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6750
7254
  isFilterActive?: boolean;
6751
7255
  }
6752
7256
  }
6753
- declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
6754
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6755
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
6756
- export interface StateFilterDefinition extends IndexableFilterDefinition {
6757
- state?: WorkflowStatus;
6758
- }
6759
- }
6760
- declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
6761
- import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
6762
- import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6763
- import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6764
- import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
6765
- export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
6766
- groupId?: string;
6767
- bookmarksOnly?: boolean;
6768
- unreadOnly?: boolean;
6769
- includeExpired?: boolean;
6770
- }
6771
- }
6772
7257
  declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
6773
7258
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6774
7259
  export enum ItemTypeFilterFlag {
@@ -6850,16 +7335,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
6850
7335
  };
6851
7336
  export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
6852
7337
  }
6853
- declare module "libs/reach/feature/content/src/events/useEventsApi" {
6854
- import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6855
- import { PaginatedList } from "libs/reach/util/common/src/index";
6856
- import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
6857
- export function useEventsApi(): {
6858
- getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
6859
- getEvent: (id: string) => Promise<EventItem>;
6860
- getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
6861
- };
6862
- }
6863
7338
  declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
6864
7339
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6865
7340
  import { Observable } from 'rxjs';
@@ -6919,46 +7394,255 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
6919
7394
  import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
6920
7395
  export function useNewsApi(): NewsApiService;
6921
7396
  }
6922
- declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
6923
- import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6924
- import { PageType } from "libs/reach/util/common/src/index";
6925
- export interface PageFilterDefinition extends PublishableItemFilterDefinition {
6926
- pageContextId?: string;
6927
- restrictToPageContext?: boolean;
6928
- rootPagesOnly?: boolean;
6929
- parentId?: string;
6930
- pageType?: PageType;
7397
+ declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7398
+ import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7399
+ export default interface FeedbackSummary {
7400
+ records: FeedbackItem[];
7401
+ }
7402
+ export enum FeedbackItemType {
7403
+ comment = "comment",
7404
+ like = "like",
7405
+ confirm = "confirm",
7406
+ poll = "poll",
7407
+ eventRegistration = "eventRegistration"
7408
+ }
7409
+ export interface FeedbackItem {
7410
+ type: FeedbackItemType;
7411
+ timestamp: string;
7412
+ }
7413
+ export interface PollFeedbackItem extends FeedbackItem {
7414
+ type: FeedbackItemType.poll;
7415
+ answers: PollQuestionAnswer[];
6931
7416
  }
6932
7417
  }
6933
- declare module "libs/reach/feature/content/src/pages/usePagesApi" {
6934
- import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
6935
- import { PaginatedList } from "libs/reach/util/common/src/index";
6936
- import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
6937
- export function usePagesApi(): {
6938
- loadPage: (id: string) => Promise<PageItem>;
6939
- loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
6940
- getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
6941
- getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6942
- searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6943
- getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6944
- searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6945
- getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
6946
- searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
7418
+ declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7419
+ import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7420
+ import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7421
+ import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7422
+ export const feedbackCache: {
7423
+ [newsId: string]: Promise<FeedbackSummary>;
7424
+ };
7425
+ export function useFeedbackApi(): {
7426
+ getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7427
+ setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7428
+ unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7429
+ updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7430
+ getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7431
+ getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
6947
7432
  };
6948
7433
  }
6949
- declare module "libs/reach/feature/content/src/posts/utils" {
6950
- import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
6951
- import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6952
- export interface Post extends BaseItem, ItemWithAttachments {
6953
- id: string;
6954
- comments?: PaginatedList<Comment>;
6955
- groupId: string;
6956
- content: string;
6957
- permalink?: string;
6958
- author: Account;
6959
- publishingDate: string;
6960
- modified?: string;
6961
- statistics: ItemStatistics;
7434
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
7435
+ import { FC } from 'react';
7436
+ import { NewsItem } from "libs/reach/util/common/src/index";
7437
+ export const ConfirmationSection: FC<{
7438
+ item?: NewsItem;
7439
+ showDescription: boolean;
7440
+ readOnly?: boolean;
7441
+ className?: string;
7442
+ }>;
7443
+ }
7444
+ declare module "libs/reach/feature/content/src/news/NewsService" {
7445
+ import { CurrentUser } from "libs/reach/util/common/src/index";
7446
+ import { LanguageBase } from "libs/reach/util/common/src/index";
7447
+ import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7448
+ export class NewsService {
7449
+ static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7450
+ static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7451
+ static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7452
+ static getContentLanguages(contents: {
7453
+ [lang: string]: ContentDefinition;
7454
+ }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7455
+ static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7456
+ static getLanguageForContent(contents: {
7457
+ [lang: string]: ContentDefinition;
7458
+ }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7459
+ static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7460
+ }
7461
+ }
7462
+ declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7463
+ import { FC } from 'react';
7464
+ import { PublishableItemContents } from "libs/reach/util/common/src/index";
7465
+ export interface TranslationItem {
7466
+ language: string;
7467
+ id: string;
7468
+ text: string;
7469
+ }
7470
+ export const PollTranslationContext: import("react").Context<{
7471
+ getTranslation: (id: string) => string;
7472
+ getAllTranslations: (id: string) => TranslationItem[];
7473
+ }>;
7474
+ export const PollTranslationContextProvider: FC<{
7475
+ contents?: PublishableItemContents;
7476
+ language: string;
7477
+ additionalTranslations?: TranslationItem[];
7478
+ }>;
7479
+ }
7480
+ declare module "libs/reach/feature/content/src/feedback/utils" {
7481
+ import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7482
+ export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7483
+ export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7484
+ export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
7485
+ }
7486
+ declare module "libs/reach/feature/content/src/feedback/index" {
7487
+ export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
7488
+ export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
7489
+ export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
7490
+ export * from "libs/reach/feature/content/src/feedback/utils";
7491
+ }
7492
+ declare module "libs/reach/feature/content/src/comments/FollowComments" {
7493
+ import { FC } from 'react';
7494
+ import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
7495
+ export interface Props {
7496
+ type: ItemResourceTypes;
7497
+ itemId: string;
7498
+ recurrenceSeriesId?: string;
7499
+ className?: string;
7500
+ scope: ConversationScope;
7501
+ hideProfileUrl?: boolean;
7502
+ onToggleFollow?: (isFollowed: boolean) => void;
7503
+ isReadOnly?: boolean;
7504
+ }
7505
+ export const FollowComments: FC<Props>;
7506
+ export const FollowCommentsNotificationWarning: FC<{
7507
+ hideProfileUrl?: boolean;
7508
+ className?: string;
7509
+ }>;
7510
+ }
7511
+ declare module "libs/reach/feature/content/src/comments/CommentInput" {
7512
+ import { ReactNode } from 'react';
7513
+ import { Account } from "libs/reach/util/common/src/index";
7514
+ export interface UserSuggestion {
7515
+ id: string;
7516
+ upn: string;
7517
+ displayName: string;
7518
+ display: string;
7519
+ }
7520
+ export interface SuggestionArgs {
7521
+ searchText: string;
7522
+ updateSuggestions: (suggestions: UserSuggestion[]) => any;
7523
+ }
7524
+ export interface CommentInputProps {
7525
+ className?: string;
7526
+ content: string;
7527
+ disabled?: boolean;
7528
+ autoFocus?: boolean;
7529
+ onEnter?: () => void;
7530
+ onCtrlEnter?: () => unknown;
7531
+ onChange?: (value: string) => void;
7532
+ onFocus?: () => void;
7533
+ additionalInputControl?: ReactNode;
7534
+ buttons?: {
7535
+ leftSide?: ReactNode;
7536
+ rightSide?: ReactNode;
7537
+ };
7538
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7539
+ placeHolderStringResourceKey?: string;
7540
+ placeHolderStringResourceValues?: {
7541
+ [key: string]: string | number | boolean | Date;
7542
+ };
7543
+ disableBoxShadow?: boolean;
7544
+ ariaLabel?: string;
7545
+ }
7546
+ export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
7547
+ }
7548
+ declare module "libs/reach/feature/content/src/comments/DropInfo" {
7549
+ import { FC } from 'react';
7550
+ export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7551
+ isActive: boolean;
7552
+ }, never>;
7553
+ export const DropInfo: FC;
7554
+ }
7555
+ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
7556
+ import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
7557
+ export interface KalturaProperties {
7558
+ sp?: string;
7559
+ uiconfId?: string;
7560
+ partnerId?: string;
7561
+ entryId?: string;
7562
+ }
7563
+ export class VideoUrlParser {
7564
+ private url;
7565
+ private static ytRegex;
7566
+ private static vimeoRegex;
7567
+ private static microsoftStreamRegex;
7568
+ private static vimeoDirectLinkRegex;
7569
+ private static vimeoRedirectLinkRegex;
7570
+ private static kalturaRegex;
7571
+ readonly source: VideoSource | null;
7572
+ readonly id: string | null;
7573
+ readonly isDirectVideoUrl: boolean;
7574
+ readonly videoProperties: any;
7575
+ readonly thumbnailUrl: string;
7576
+ constructor(url: string);
7577
+ isValid(features: FeatureSet): boolean;
7578
+ }
7579
+ export function getVideoSources(features: FeatureSet): any[];
7580
+ export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
7581
+ export function getAllVideoSources(features: FeatureSet): any[];
7582
+ }
7583
+ declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
7584
+ import { AttachmentType } from "libs/reach/util/common/src/index";
7585
+ export function getAllVideosFromString(content: string): Generator<{
7586
+ url: string;
7587
+ type: AttachmentType;
7588
+ }, void, unknown>;
7589
+ export function getEmbeddedObjectsFromString(content: string): Generator<{
7590
+ url: string;
7591
+ subscriptionIdentifier: string;
7592
+ type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
7593
+ id: string;
7594
+ }, void, unknown>;
7595
+ }
7596
+ declare module "libs/reach/feature/content/src/events/useEventsApi" {
7597
+ import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
7598
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7599
+ import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
7600
+ export function useEventsApi(): {
7601
+ getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
7602
+ getEvent: (id: string) => Promise<EventItem>;
7603
+ getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
7604
+ };
7605
+ }
7606
+ declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
7607
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7608
+ import { PageType } from "libs/reach/util/common/src/index";
7609
+ export interface PageFilterDefinition extends PublishableItemFilterDefinition {
7610
+ pageContextId?: string;
7611
+ restrictToPageContext?: boolean;
7612
+ rootPagesOnly?: boolean;
7613
+ parentId?: string;
7614
+ pageType?: PageType;
7615
+ }
7616
+ }
7617
+ declare module "libs/reach/feature/content/src/pages/usePagesApi" {
7618
+ import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
7619
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7620
+ import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
7621
+ export function usePagesApi(): {
7622
+ loadPage: (id: string) => Promise<PageItem>;
7623
+ loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
7624
+ getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
7625
+ getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7626
+ searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7627
+ getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7628
+ searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7629
+ getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
7630
+ searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
7631
+ };
7632
+ }
7633
+ declare module "libs/reach/feature/content/src/posts/utils" {
7634
+ import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
7635
+ import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7636
+ export interface Post extends BaseItem, ItemWithAttachments {
7637
+ id: string;
7638
+ comments?: PaginatedList<Comment>;
7639
+ groupId: string;
7640
+ content: string;
7641
+ permalink?: string;
7642
+ author: Account;
7643
+ publishingDate: string;
7644
+ modified?: string;
7645
+ statistics: ItemStatistics;
6962
7646
  keywords?: {
6963
7647
  [key: string]: Keyword[];
6964
7648
  };
@@ -6994,7 +7678,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
6994
7678
  deletePost: (postId: string) => Promise<unknown>;
6995
7679
  getPost: (postId: string, commentCount?: number) => Promise<Post>;
6996
7680
  getPostThread: (postId: string, threadId: string) => Promise<Post>;
6997
- translatePost: (postId: string, language: string) => any;
7681
+ translatePost: (postId: string, language: string) => Promise<string>;
6998
7682
  searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
6999
7683
  };
7000
7684
  }
@@ -7004,7 +7688,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
7004
7688
  }
7005
7689
  declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
7006
7690
  import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
7007
- import { Attachment } from "libs/reach/util/common/src/index";
7691
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
7008
7692
  export interface ClientAttachment extends Attachment {
7009
7693
  file?: File;
7010
7694
  }
@@ -7020,6 +7704,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
7020
7704
  placeHolderStringResourceKey?: string;
7021
7705
  disableAddGif?: boolean;
7022
7706
  disableAddFiles?: boolean;
7707
+ parentId?: string;
7708
+ itemResourceType?: ItemResourceTypes | string;
7023
7709
  };
7024
7710
  export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
7025
7711
  attachments: Attachment[];
@@ -7032,6 +7718,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
7032
7718
  placeHolderStringResourceKey?: string;
7033
7719
  disableAddGif?: boolean;
7034
7720
  disableAddFiles?: boolean;
7721
+ parentId?: string;
7722
+ itemResourceType?: ItemResourceTypes | string;
7035
7723
  } & import("react").RefAttributes<HTMLInputElement>>;
7036
7724
  }
7037
7725
  declare module "libs/reach/feature/content/src/comments/utils" {
@@ -7140,24 +7828,6 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
7140
7828
  showAllKeywordsInCallout?: boolean;
7141
7829
  }>;
7142
7830
  }
7143
- declare module "libs/reach/feature/content/src/news/NewsService" {
7144
- import { CurrentUser } from "libs/reach/util/common/src/index";
7145
- import { LanguageBase } from "libs/reach/util/common/src/index";
7146
- import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7147
- export class NewsService {
7148
- static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7149
- static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7150
- static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7151
- static getContentLanguages(contents: {
7152
- [lang: string]: ContentDefinition;
7153
- }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7154
- static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7155
- static getLanguageForContent(contents: {
7156
- [lang: string]: ContentDefinition;
7157
- }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7158
- static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7159
- }
7160
- }
7161
7831
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7162
7832
  import { FC, MouseEvent } from 'react';
7163
7833
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
@@ -7233,6 +7903,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7233
7903
  className?: string;
7234
7904
  allowFilterByChannels?: boolean;
7235
7905
  channelBackgroundColor?: string;
7906
+ onChannelClick?: (channel: string) => unknown;
7236
7907
  }>;
7237
7908
  }
7238
7909
  declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
@@ -7292,6 +7963,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7292
7963
  height?: number;
7293
7964
  hidePlayerIfActive?: boolean;
7294
7965
  className?: string;
7966
+ documentIconName?: string;
7295
7967
  }
7296
7968
  export const PublishableItemBanner: FC<Props>;
7297
7969
  }
@@ -7377,27 +8049,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7377
8049
  }
7378
8050
  export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
7379
8051
  }
7380
- declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7381
- import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7382
- export default interface FeedbackSummary {
7383
- records: FeedbackItem[];
7384
- }
7385
- export enum FeedbackItemType {
7386
- comment = "comment",
7387
- like = "like",
7388
- confirm = "confirm",
7389
- poll = "poll",
7390
- eventRegistration = "eventRegistration"
7391
- }
7392
- export interface FeedbackItem {
7393
- type: FeedbackItemType;
7394
- timestamp: string;
7395
- }
7396
- export interface PollFeedbackItem extends FeedbackItem {
7397
- type: FeedbackItemType.poll;
7398
- answers: PollQuestionAnswer[];
7399
- }
7400
- }
7401
8052
  declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
7402
8053
  import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7403
8054
  import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
@@ -7416,6 +8067,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7416
8067
  import { PrimaryButton } from 'office-ui-fabric-react';
7417
8068
  export const EventRegistrationButton: FC<{
7418
8069
  isRegistered: boolean;
8070
+ eventId: string;
7419
8071
  disabled?: boolean;
7420
8072
  className?: string;
7421
8073
  onClick?: () => void;
@@ -7426,24 +8078,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7426
8078
  isRegistered?: boolean;
7427
8079
  }, never>;
7428
8080
  }
7429
- declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7430
- import { FC } from 'react';
7431
- import { PublishableItemContents } from "libs/reach/util/common/src/index";
7432
- export interface TranslationItem {
7433
- language: string;
7434
- id: string;
7435
- text: string;
7436
- }
7437
- export const PollTranslationContext: import("react").Context<{
7438
- getTranslation: (id: string) => string;
7439
- getAllTranslations: (id: string) => TranslationItem[];
7440
- }>;
7441
- export const PollTranslationContextProvider: FC<{
7442
- contents?: PublishableItemContents;
7443
- language: string;
7444
- additionalTranslations?: TranslationItem[];
7445
- }>;
7446
- }
7447
8081
  declare module "libs/reach/feature/content/src/events/eventUtils" {
7448
8082
  import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
7449
8083
  import { MessageDescriptor } from 'react-intl';
@@ -7499,25 +8133,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7499
8133
  onDismiss: () => unknown;
7500
8134
  }>;
7501
8135
  }
7502
- declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7503
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7504
- import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7505
- import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7506
- import { PaginatedList } from "libs/reach/util/common/src/index";
7507
- import { Account } from "libs/reach/util/common/src/index";
7508
- import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7509
- export const feedbackCache: {
7510
- [newsId: string]: Promise<FeedbackSummary>;
7511
- };
7512
- export function useFeedbackApi(): {
7513
- getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7514
- setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7515
- unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7516
- updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7517
- getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7518
- getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7519
- };
7520
- }
7521
8136
  declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
7522
8137
  import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7523
8138
  import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
@@ -7593,11 +8208,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
7593
8208
  className?: string;
7594
8209
  }>;
7595
8210
  }
7596
- declare module "libs/reach/feature/content/src/feedback/utils" {
7597
- import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7598
- export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7599
- export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7600
- }
7601
8211
  declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7602
8212
  import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
7603
8213
  import { FC } from 'react';
@@ -7657,6 +8267,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7657
8267
  allowFilterByChannels?: boolean;
7658
8268
  showFeedbackButtons?: boolean;
7659
8269
  readOnly?: boolean;
8270
+ enableModalRouting?: boolean;
7660
8271
  className?: string;
7661
8272
  }>;
7662
8273
  }
@@ -7707,7 +8318,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7707
8318
  Contact = "contact",
7708
8319
  InlinePageList = "inline-page-list",
7709
8320
  UrlPreview = "url-preview",
7710
- ActionButton = "action-button"
8321
+ ActionButton = "action-button",
8322
+ InlinePlugin = "inline-plugin"
7711
8323
  }
7712
8324
  export interface HtmlComponentMapper {
7713
8325
  component: FC<any>;
@@ -7734,6 +8346,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
7734
8346
  resourceType: ItemResourceTypes;
7735
8347
  item: TItem;
7736
8348
  itemId: string;
8349
+ relatedItemIds?: string[];
7737
8350
  contentLanguage: string;
7738
8351
  userPreferredLanguage: string;
7739
8352
  activeLanguages: string[];
@@ -7852,6 +8465,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
7852
8465
  enableModalRouting?: boolean;
7853
8466
  itemId?: string;
7854
8467
  isOverrideLink: boolean;
8468
+ icon?: string;
7855
8469
  }>;
7856
8470
  }
7857
8471
  declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
@@ -8001,6 +8615,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
8001
8615
  styleDefinition?: StyleDefinition;
8002
8616
  readOnly?: boolean;
8003
8617
  enableModalRouting?: boolean;
8618
+ highlight?: boolean;
8004
8619
  className?: string;
8005
8620
  }
8006
8621
  export const NewsItemTile: FC<Props>;
@@ -8060,7 +8675,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
8060
8675
  }
8061
8676
  declare module "libs/reach/feature/content/src/comments/AttachmentList" {
8062
8677
  import { FC } from 'react';
8063
- import { Attachment } from "libs/reach/util/common/src/index";
8678
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
8064
8679
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
8065
8680
  interface Props {
8066
8681
  className?: string;
@@ -8070,6 +8685,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
8070
8685
  previewTheme?: CommentInputTheme;
8071
8686
  disableVideoPreview?: boolean;
8072
8687
  disableEmbeddedObjectPreview?: boolean;
8688
+ itemResourceType?: ItemResourceTypes | string;
8689
+ parentId?: string;
8073
8690
  }
8074
8691
  export const AttachmentList: FC<Props>;
8075
8692
  }
@@ -8086,6 +8703,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
8086
8703
  placeHolderStringResourceKey?: string;
8087
8704
  disableAddGif?: boolean;
8088
8705
  disableAddFiles?: boolean;
8706
+ parentId?: string;
8707
+ itemResourceType?: string;
8089
8708
  } & {
8090
8709
  disableVideoPreview?: boolean;
8091
8710
  disableEmbeddedObjectPreview?: boolean;
@@ -8155,7 +8774,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
8155
8774
  }
8156
8775
  declare module "libs/reach/feature/content/src/comments/CreateComment" {
8157
8776
  import { FC } from 'react';
8158
- import { Account } from "libs/reach/util/common/src/index";
8777
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8159
8778
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8160
8779
  import { Keyword } from "libs/reach/util/common/src/index";
8161
8780
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
@@ -8187,6 +8806,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
8187
8806
  };
8188
8807
  disableBoxShadow?: boolean;
8189
8808
  ariaLabel?: string;
8809
+ parentId?: string;
8810
+ itemResourceType?: ItemResourceTypes | string;
8190
8811
  }
8191
8812
  interface Props extends BaseProps {
8192
8813
  allowAttachments?: boolean;
@@ -8204,6 +8825,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8204
8825
  import { FC, ReactNode } from 'react';
8205
8826
  export const InlineObjectToolbar: FC<{
8206
8827
  onDelete?: () => void;
8828
+ deleteAriaLabelResourceKey?: string;
8207
8829
  additionalButtons?: ReactNode;
8208
8830
  }>;
8209
8831
  export const InlineObjectToolbarWrapper: FC<{
@@ -8211,15 +8833,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8211
8833
  }>;
8212
8834
  }
8213
8835
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8214
- import { FC } from 'react';
8836
+ import { FC, ReactNode } from 'react';
8837
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8215
8838
  export const ImageToolbar: FC<{
8216
8839
  onDelete?: () => void;
8217
8840
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8218
8841
  onClose?: (e: React.MouseEvent<any>) => void;
8219
8842
  onCrop?: (e: React.MouseEvent<any>) => void;
8843
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8220
8844
  showFullScreenButton?: boolean;
8221
8845
  showCloseButton?: boolean;
8222
8846
  showCropButton?: boolean;
8847
+ alignmentButtons?: ReactNode;
8223
8848
  }>;
8224
8849
  }
8225
8850
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8246,14 +8871,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
8246
8871
  }
8247
8872
  export const InlineGalleryMapper: HtmlComponentMapper;
8248
8873
  }
8249
- declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
8250
- import { FC } from 'react';
8251
- import { ImageDetails } from "libs/reach/util/common/src/index";
8252
- export const LegacyPostPhotoGallery: FC<{
8253
- images: ImageDetails[];
8254
- imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
8255
- }>;
8256
- }
8257
8874
  declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8258
8875
  import { FC } from 'react';
8259
8876
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
@@ -8261,12 +8878,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8261
8878
  item: ItemWithAttachments;
8262
8879
  basePath: string;
8263
8880
  imagesGridBackgroundColor?: string;
8881
+ onPlayVideo?: (url: string, videoId: string) => void;
8882
+ onPlayAudio?: (url: string, audioId: string) => void;
8264
8883
  className?: string;
8265
8884
  }>;
8266
8885
  }
8267
8886
  declare module "libs/reach/feature/content/src/comments/EditComment" {
8268
8887
  import { FC } from 'react';
8269
- import { Account } from "libs/reach/util/common/src/index";
8888
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8270
8889
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8271
8890
  import { Attachment } from "libs/reach/util/common/src/index";
8272
8891
  import { Keyword } from "libs/reach/util/common/src/index";
@@ -8282,6 +8901,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
8282
8901
  onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
8283
8902
  onDeleteAttachment?: (attachment: ClientAttachment) => void;
8284
8903
  ariaLabel?: string;
8904
+ parentId?: string;
8905
+ itemResourceType?: ItemResourceTypes | string;
8285
8906
  }
8286
8907
  interface Props extends BaseProps {
8287
8908
  onSave?: (newContent: string, keywords?: {
@@ -8391,7 +9012,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8391
9012
  itemResourceType: ItemResourceTypes;
8392
9013
  enableModalRouting?: boolean;
8393
9014
  }>;
8394
- export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
9015
+ export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8395
9016
  }
8396
9017
  declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8397
9018
  export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -8440,7 +9061,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
8440
9061
  target?: string;
8441
9062
  language?: string;
8442
9063
  hideCurrentPageNode?: boolean;
9064
+ homeTargetUrlOverride?: string;
8443
9065
  className?: string;
9066
+ readonly?: boolean;
8444
9067
  }>;
8445
9068
  }
8446
9069
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
@@ -8500,6 +9123,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
8500
9123
  hide?: boolean;
8501
9124
  onPageSelected?: (pageId: string) => unknown;
8502
9125
  selectedPageId?: string;
9126
+ readonly?: boolean;
8503
9127
  }>;
8504
9128
  }
8505
9129
  declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
@@ -8516,6 +9140,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
8516
9140
  selectedPageId?: string;
8517
9141
  isLoading?: boolean;
8518
9142
  disableScrollableList?: boolean;
9143
+ readonly?: boolean;
8519
9144
  }>;
8520
9145
  export const PageTableOfContentsInPanel: FC<{
8521
9146
  basePath?: string;
@@ -8538,6 +9163,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
8538
9163
  onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8539
9164
  onDismiss: () => void;
8540
9165
  basePath: string;
9166
+ readonly?: boolean;
8541
9167
  }>;
8542
9168
  }
8543
9169
  declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
@@ -8561,6 +9187,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
8561
9187
  activePageId: string;
8562
9188
  navigationContext: PageNavigationContext;
8563
9189
  className?: string;
9190
+ readonly?: boolean;
8564
9191
  }
8565
9192
  export const PagesDetailViewNavigation: FC<Props>;
8566
9193
  }
@@ -8639,6 +9266,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8639
9266
  language?: string;
8640
9267
  buildChannelFilterUrl?: (channelName: string) => string;
8641
9268
  clickableAvatar?: boolean;
9269
+ onChannelClick?: (channel: string) => unknown;
8642
9270
  }>;
8643
9271
  }
8644
9272
  declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
@@ -8720,6 +9348,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
8720
9348
  isLastPage: boolean;
8721
9349
  unreadOnly?: boolean;
8722
9350
  filter?: NewsFilterDefinition;
9351
+ activeChannel?: string;
8723
9352
  }>;
8724
9353
  }
8725
9354
  declare module "libs/reach/feature/content/src/news/useTranslateApi" {
@@ -8781,6 +9410,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
8781
9410
  type?: ItemResourceTypes;
8782
9411
  loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8783
9412
  isEditorPreview?: boolean;
9413
+ relatedItemIds?: string[];
8784
9414
  }>;
8785
9415
  }
8786
9416
  declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
@@ -8794,6 +9424,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8794
9424
  }
8795
9425
  declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8796
9426
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9427
+ export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
8797
9428
  export const InlineImageMapper: HtmlComponentMapper;
8798
9429
  }
8799
9430
  declare module "libs/reach/feature/content/src/common/body/InlineContact" {
@@ -8854,6 +9485,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
8854
9485
  baseRoute: string;
8855
9486
  filterBaseUrl?: string;
8856
9487
  isInitialLoading?: boolean;
9488
+ readonly?: boolean;
8857
9489
  }>;
8858
9490
  }
8859
9491
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
@@ -8881,6 +9513,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
8881
9513
  pagingProps?: ListPagingProps;
8882
9514
  filterBaseUrl?: string;
8883
9515
  emptyListMessage: string;
9516
+ readonly?: boolean;
8884
9517
  }>;
8885
9518
  }
8886
9519
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
@@ -9012,6 +9645,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
9012
9645
  }
9013
9646
  export const InlineActionButtonMapper: HtmlComponentMapper;
9014
9647
  }
9648
+ declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
9649
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9650
+ export const InlineObjectPluginMapper: HtmlComponentMapper;
9651
+ }
9015
9652
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
9016
9653
  import { FC } from 'react';
9017
9654
  export const EventDetailViewPeopleInfo: FC;
@@ -9024,6 +9661,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9024
9661
  import { FC } from 'react';
9025
9662
  export const EventDetailViewMetaInfo: FC<{
9026
9663
  allowFilterByChannels?: boolean;
9664
+ onChannelClick?: (channel: string) => unknown;
9027
9665
  }>;
9028
9666
  }
9029
9667
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
@@ -9067,6 +9705,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9067
9705
  export const DetailViewCsvExportButton: FC<{
9068
9706
  path: string;
9069
9707
  stringResource: string;
9708
+ isReadOnly?: boolean;
9070
9709
  className?: string;
9071
9710
  }>;
9072
9711
  }
@@ -9126,6 +9765,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9126
9765
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
9127
9766
  import { FC } from 'react';
9128
9767
  export const EventDetailViewResponseExportButton: FC<{
9768
+ isReadOnly?: boolean;
9129
9769
  className?: string;
9130
9770
  }>;
9131
9771
  }
@@ -9138,8 +9778,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9138
9778
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
9139
9779
  import { FC } from 'react';
9140
9780
  export const EventDetailViewUserRegistration: FC<{
9141
- className?: string;
9142
9781
  hideInfoMessage?: boolean;
9782
+ isReadOnly?: boolean;
9783
+ className?: string;
9143
9784
  }>;
9144
9785
  }
9145
9786
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
@@ -9180,7 +9821,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9180
9821
  }
9181
9822
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
9182
9823
  import { FC } from 'react';
9183
- export const EventRegistrationParticipantsLink: FC;
9824
+ export const EventRegistrationParticipantsLink: FC<{
9825
+ isReadOnly?: boolean;
9826
+ }>;
9184
9827
  }
9185
9828
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
9186
9829
  import { FC } from 'react';
@@ -9231,6 +9874,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9231
9874
  readOnly?: boolean;
9232
9875
  trimContent?: boolean;
9233
9876
  showReplyBox?: boolean;
9877
+ enableModalRouting?: boolean;
9234
9878
  className?: string;
9235
9879
  }>;
9236
9880
  }
@@ -9253,6 +9897,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9253
9897
  onReply?: (comment: Comment, commentSender?: Account) => void;
9254
9898
  readOnly?: boolean;
9255
9899
  trimContent?: boolean;
9900
+ enableModalRouting?: boolean;
9256
9901
  className?: string;
9257
9902
  }
9258
9903
  export const CommentList: FC<CommentListProps>;
@@ -9312,6 +9957,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9312
9957
  showReplyBox?: boolean;
9313
9958
  trimContent?: boolean;
9314
9959
  title?: ReactNode;
9960
+ enableModalRouting?: boolean;
9315
9961
  className?: string;
9316
9962
  };
9317
9963
  export const PagedCommentsSection: FC<Props>;
@@ -9336,14 +9982,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
9336
9982
  }
9337
9983
  declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
9338
9984
  import { FC } from 'react';
9339
- import { PublishableItem } from "libs/reach/util/common/src/index";
9340
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9985
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9341
9986
  export const PublishableItemComments: FC<{
9342
9987
  item: PublishableItem;
9343
9988
  readOnly?: boolean;
9344
9989
  loadInReadOnlyMode?: boolean;
9345
9990
  type: ItemResourceTypes;
9346
- hideProfileUrl?: boolean;
9347
9991
  disableLoginForPublicUser?: boolean;
9348
9992
  }>;
9349
9993
  }
@@ -9353,6 +9997,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9353
9997
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9354
9998
  import { PublishableItem } from "libs/reach/util/common/src/index";
9355
9999
  import { Feedback } from "libs/reach/util/common/src/index";
10000
+ import { ReactNode } from 'hoist-non-react-statics/node_modules/@types/react';
9356
10001
  export const FeedbackButtonContext: import("react").Context<{
9357
10002
  statistics: ItemStatistics;
9358
10003
  item: PublishableItem;
@@ -9365,6 +10010,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9365
10010
  item: PublishableItem;
9366
10011
  hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
9367
10012
  language: string;
10013
+ warningMessage?: ReactNode;
9368
10014
  className?: string;
9369
10015
  }>;
9370
10016
  }
@@ -9403,19 +10049,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
9403
10049
  }>;
9404
10050
  }
9405
10051
  declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
9406
- import { FC } from 'react';
9407
- import { FeedbackSettings } from "libs/reach/util/common/src/index";
9408
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9409
- import { PublishableItem } from "libs/reach/util/common/src/index";
10052
+ import { FC, ReactNode } from 'react';
10053
+ import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9410
10054
  export const FeedbackSection: FC<{
9411
10055
  item: PublishableItem;
10056
+ buttons: ReactNode[];
9412
10057
  language: string;
9413
10058
  type: ItemResourceTypes;
9414
10059
  feedbackSettings: FeedbackSettings;
9415
10060
  hideComments?: boolean;
9416
- hideProfileUrl?: boolean;
9417
10061
  disableLoginForPublicUser?: boolean;
9418
10062
  isReadOnly?: boolean;
10063
+ warningMessage?: ReactNode;
9419
10064
  className?: string;
9420
10065
  }>;
9421
10066
  }
@@ -9438,12 +10083,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
9438
10083
  import { EventItem } from "libs/reach/util/common/src/index";
9439
10084
  export const EventDownloadCalendarFileButton: FC<{
9440
10085
  item: EventItem;
10086
+ isReadOnly: boolean;
9441
10087
  className?: string;
9442
10088
  }>;
9443
10089
  }
9444
10090
  declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
9445
10091
  import { FC } from 'react';
9446
- export const EventFeedbackButtonDownloadCalendarFile: FC;
10092
+ export const EventFeedbackButtonDownloadCalendarFile: FC<{
10093
+ isReadOnly: boolean;
10094
+ }>;
9447
10095
  }
9448
10096
  declare module "libs/reach/feature/content/src/feedback/ShareButton" {
9449
10097
  import { FC } from 'react';
@@ -9468,14 +10116,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
9468
10116
  }
9469
10117
  declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
9470
10118
  import { FC } from 'react';
9471
- import { PublishableItem } from "libs/reach/util/common/src/index";
10119
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9472
10120
  export const ConfirmationStatisticsExport: FC<{
9473
10121
  item: PublishableItem;
10122
+ resourceType: ItemResourceTypes;
10123
+ isReadOnly?: boolean;
9474
10124
  }>;
9475
10125
  }
9476
10126
  declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
9477
10127
  import { FC } from 'react';
9478
- export const FeedbackButtonConfirmations: FC;
10128
+ export const FeedbackButtonConfirmations: FC<{
10129
+ isReadOnly?: boolean;
10130
+ }>;
10131
+ }
10132
+ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
10133
+ export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
9479
10134
  }
9480
10135
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
9481
10136
  import { FC } from 'react';
@@ -9580,6 +10235,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9580
10235
  layoutMode?: ItemTileLayoutMode;
9581
10236
  bannerDefaultWidth?: number;
9582
10237
  showPlaceholderIfNoBannerInfo?: boolean;
10238
+ documentIconName?: string;
9583
10239
  }>;
9584
10240
  }
9585
10241
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9617,17 +10273,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9617
10273
  isMobilePreview?: boolean;
9618
10274
  }>;
9619
10275
  }
9620
- declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
9621
- import { FC, ReactNode } from 'react';
9622
- export const GutterMarkerIcon: FC<{
9623
- iconName: string;
9624
- children: ReactNode;
9625
- isActive: boolean;
9626
- color: string;
9627
- tooltipResourceKey?: string;
9628
- className?: string;
9629
- }>;
9630
- }
9631
10276
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
9632
10277
  import { FC } from 'react';
9633
10278
  export const DetailViewTitle: FC;
@@ -9650,24 +10295,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9650
10295
  import { FC } from 'react';
9651
10296
  export const DetailViewKeywords: FC<{
9652
10297
  filterBaseUrl: string;
9653
- }>;
9654
- }
9655
- declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
9656
- import { FC } from 'react';
9657
- export const ConfirmationBox: FC<{
9658
- disabled?: boolean;
9659
- onChange?: (value: boolean) => void;
9660
- checked: boolean;
9661
- }>;
9662
- }
9663
- declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
9664
- import { FC } from 'react';
9665
- import { NewsItem } from "libs/reach/util/common/src/index";
9666
- export const ConfirmationSection: FC<{
9667
- item?: NewsItem;
9668
- showDescription: boolean;
9669
- readOnly?: boolean;
9670
- className?: string;
10298
+ onKeywordClick?: (keyword: string) => unknown;
9671
10299
  }>;
9672
10300
  }
9673
10301
  declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
@@ -9697,9 +10325,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9697
10325
  import { FC, ReactNode } from 'react';
9698
10326
  export const DetailViewNavigation: FC<{
9699
10327
  offsetRight?: number;
9700
- children?: ReactNode;
9701
10328
  callout?: ReactNode;
10329
+ className?: string;
10330
+ children?: ReactNode;
9702
10331
  }>;
10332
+ export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
10333
+ offsetRight?: number;
10334
+ callout?: ReactNode;
10335
+ className?: string;
10336
+ children?: ReactNode;
10337
+ }>, import("styled-components").DefaultTheme, {
10338
+ offsetRightOverride?: number;
10339
+ }, never>;
9703
10340
  }
9704
10341
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
9705
10342
  import { FC } from 'react';
@@ -9741,530 +10378,99 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
9741
10378
  getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
9742
10379
  };
9743
10380
  }
9744
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
9745
- import { LocationDescriptor } from 'history';
9746
- import { FC, ReactNode } from 'react';
9747
- export const SidebarIcon: FC<{
9748
- icon?: ReactNode;
9749
- iconName?: string;
9750
- color?: string;
9751
- onClick?: () => any;
9752
- route?: LocationDescriptor;
9753
- iconTooltipResourceKey: string;
9754
- iconTooltipResourceValues?: any;
9755
- className?: string;
9756
- }>;
9757
- }
9758
- declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
9759
- import { FC, ReactNode } from 'react';
9760
- import { LocationDescriptor } from 'history';
9761
- import { PrimitiveType } from 'intl-messageformat';
9762
- export interface BaseSidebarItemProps {
9763
- children?: any;
9764
- icon?: ReactNode;
9765
- iconName?: string;
9766
- iconTooltipResourceKey?: string;
9767
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
9768
- secondaryIconName?: string;
9769
- secondaryIconTooltipResourceKey?: string;
9770
- reverse?: boolean;
9771
- onIconClick?: () => void;
9772
- iconRoute?: LocationDescriptor;
9773
- iconColor?: string;
9774
- onSecondaryIconClick?: () => void;
9775
- secondaryIconRoute?: LocationDescriptor;
9776
- onContentClick?: () => void;
9777
- contentRoute?: LocationDescriptor;
9778
- badgeInfo?: number | boolean;
9779
- title?: string;
9780
- className?: string;
9781
- }
9782
- export const BaseSidebarItem: FC<BaseSidebarItemProps>;
9783
- }
9784
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
9785
- import { FC } from 'react';
9786
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
9787
- export const SidebarItemSection: FC<{
9788
- styleDefinition?: ColorStyleDefinition;
9789
- }>;
9790
- }
9791
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
9792
- import { FC, ReactNode } from 'react';
9793
- import { PrimitiveType } from 'intl-messageformat';
9794
- import { LocationDescriptor } from 'history';
9795
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
9796
- interface CommonSidebarItemProps {
9797
- title?: string | JSX.Element;
9798
- titleResource?: string;
9799
- icon?: ReactNode;
9800
- iconName?: string;
9801
- iconTooltipResourceKey?: string;
9802
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
9803
- secondaryIconName?: string;
9804
- secondaryIconTooltipResourceKey?: string;
9805
- iconColor?: string;
9806
- reverse?: boolean;
9807
- notHighlightable?: boolean;
9808
- onClick?: () => void;
9809
- className?: string;
9810
- isActive?: boolean;
9811
- activeClassName?: string;
9812
- readOnly?: boolean;
9813
- submenu?: JSX.Element;
9814
- submenuClassName?: string;
9815
- submenuStyleDefinition?: ColorStyleDefinition;
9816
- badgeInfo?: number | boolean;
9817
- domIdentifier?: string;
9818
- }
9819
- interface SidebarItemProps extends CommonSidebarItemProps {
9820
- contentRoute?: LocationDescriptor;
9821
- onIconClick?: () => void;
9822
- iconRoute?: LocationDescriptor;
9823
- onSecondaryIconClick?: () => void;
9824
- secondaryIconRoute?: LocationDescriptor;
9825
- isHoverable?: boolean;
9826
- }
9827
- export const SidebarItem: FC<SidebarItemProps>;
9828
- interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
9829
- route: LocationDescriptor;
9830
- exact?: boolean;
9831
- linkClassName?: string;
10381
+ declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
10382
+ interface IClickHandles {
10383
+ onInsideClick: () => void;
10384
+ onOutsideClick: () => void;
9832
10385
  }
9833
- export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
10386
+ export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
9834
10387
  }
9835
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
10388
+ declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
9836
10389
  import { FC } from 'react';
9837
- export const SidebarGroup: FC<{
9838
- titleResource?: string;
9839
- borderColor?: string;
10390
+ export const GroupNotificationsSettings: FC<{
10391
+ groupId: string;
9840
10392
  className?: string;
9841
10393
  }>;
9842
10394
  }
9843
- declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
10395
+ declare module "libs/reach/feature/content/src/posts/PostCreator" {
9844
10396
  import { FC } from 'react';
9845
- export const ContentWithShowMoreButton: FC<{
9846
- domIdentifier: string;
9847
- trimContent?: boolean;
10397
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10398
+ import { Keyword } from "libs/reach/util/common/src/index";
10399
+ import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10400
+ export interface PostCreatorProps {
10401
+ groupId: string;
10402
+ disabled?: boolean;
10403
+ disableDragAndDrop?: boolean;
10404
+ onBeforeSave?: (post: Post) => void;
10405
+ onSaved: (post: Post) => void;
10406
+ keywordSettings?: {
10407
+ availableKeywords?: Keyword[];
10408
+ defaultKeywords?: Keyword[];
10409
+ mandatoryKeywords?: Keyword[];
10410
+ };
10411
+ disableAutoFocus?: boolean;
10412
+ attachmentPreviewTheme?: CommentInputTheme;
9848
10413
  className?: string;
9849
- }>;
10414
+ }
10415
+ export const PostCreator: FC<PostCreatorProps>;
9850
10416
  }
9851
- declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
10417
+ declare module "libs/reach/feature/content/src/posts/PostReplies" {
9852
10418
  import { FC } from 'react';
9853
- import { Channel } from "libs/reach/util/common/src/index";
9854
- import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
10419
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10420
+ import { Comment } from "libs/reach/util/common/src/index";
10421
+ import { PaginatedList } from "libs/reach/util/common/src/index";
9855
10422
  interface Props {
9856
- selectedChannelNames?: string[];
9857
- selectedChannelIds?: string[];
9858
- mandatoryChannelIds?: string[];
9859
- availableChannels?: Channel[];
9860
- onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
9861
10423
  className?: string;
9862
- showOnlyUserChannels?: boolean;
9863
- showSelectionToggle?: boolean;
9864
- placeholder?: string;
9865
- inlineControls?: boolean;
9866
- required?: boolean;
9867
- id?: string;
9868
- showLogicalOperatorOptions?: boolean;
9869
- selectedLogicalOperator?: LogicalOperator;
10424
+ post: Post;
10425
+ initialPageSize?: number;
10426
+ comments?: PaginatedList<Comment>;
10427
+ autoFocusReplyField?: boolean;
10428
+ showReplyBox?: boolean;
10429
+ onReplyAdded: () => void;
10430
+ onReplyDeleted: () => void;
10431
+ trimContent?: boolean;
10432
+ enableModalRouting?: boolean;
9870
10433
  }
9871
- export const ChannelSelector: FC<Props>;
9872
- }
9873
- declare module "libs/reach/feature/content/src/common/index" {
9874
- export * from "libs/reach/feature/content/src/common/cards/CardFooter";
9875
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9876
- export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
9877
- export * from "libs/reach/feature/content/src/common/item-tile/Title";
9878
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
9879
- export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
9880
- export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
9881
- export * from "libs/reach/feature/content/src/common/body/InlineGallery";
9882
- export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
9883
- export * from "libs/reach/feature/content/src/common/body/InlineImage";
9884
- export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
9885
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
9886
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
9887
- export * from "libs/reach/feature/content/src/common/body/InlineQuote";
9888
- export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
9889
- export * from "libs/reach/feature/content/src/common/body/InlineVideo";
9890
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
9891
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
9892
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
9893
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
9894
- export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
9895
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
9896
- export * from "libs/reach/feature/content/src/common/ContentUtils";
9897
- export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
9898
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
9899
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
9900
- export * from "libs/reach/feature/content/src/common/body/InlineCode";
9901
- export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
9902
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
9903
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
9904
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
9905
- export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
9906
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
9907
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
9908
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
9909
- export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
9910
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
9911
- export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
9912
- export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
9913
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
9914
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
9915
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
9916
- export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
9917
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
9918
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
9919
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
9920
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
9921
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
9922
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
9923
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
9924
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
9925
- export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
9926
- export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
9927
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
9928
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
9929
- export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
9930
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
9931
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
9932
- export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
9933
- export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
9934
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
9935
- export * from "libs/reach/feature/content/src/common/banner/Banner";
9936
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9937
- export * from "libs/reach/feature/content/src/common/cards/Card";
9938
- export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
9939
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
9940
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
9941
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
9942
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
9943
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
9944
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
9945
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
9946
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
9947
- export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
9948
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
9949
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
9950
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
9951
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
9952
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
9953
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
9954
- export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
9955
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9956
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9957
- export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
9958
- export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
9959
- export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
9960
- export * from "libs/reach/feature/content/src/common/StateIcon";
9961
- export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
9962
- export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
9963
- export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
9964
- export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
9965
- export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
9966
- export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
9967
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
9968
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
9969
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
9970
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
9971
- export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
9972
- export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
9973
- export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
9974
- export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
10434
+ export const PostReplies: FC<Props>;
9975
10435
  }
9976
- declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
10436
+ declare module "libs/reach/feature/content/src/posts/PostEditor" {
9977
10437
  import { FC } from 'react';
9978
- import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
9979
- import { Account } from "libs/reach/util/common/src/index";
9980
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9981
- interface Props {
9982
- type?: ItemResourceTypes;
9983
- baseAttachmentPath?: string;
9984
- message: Comment;
9985
- showDelete?: boolean;
9986
- showAutoTranslate?: boolean;
9987
- showEdit?: boolean;
9988
- onDelete?: (comment: Comment) => void;
9989
- onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
9990
- scope: ConversationScope;
9991
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
9992
- getHashtagFilterRoute?: (hashtag: string) => string;
9993
- highlight?: boolean;
9994
- hasUnreadReplies?: boolean;
9995
- onReplyIconClick?: () => void;
9996
- onReply?: (comment: Comment, commentSender?: Account) => void;
9997
- replyCount?: number;
9998
- readOnly?: boolean;
9999
- trimContent?: boolean;
10438
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10439
+ import { Keyword } from "libs/reach/util/common/src/index";
10440
+ export const PostEditor: FC<{
10000
10441
  className?: string;
10001
- }
10002
- export const CommentDisplay: FC<Props>;
10003
- }
10004
- declare module "libs/reach/feature/content/src/comments/index" {
10005
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
10006
- export * from "libs/reach/feature/content/src/comments/FollowComments";
10007
- export * from "libs/reach/feature/content/src/comments/CreateComment";
10008
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
10009
- export * from "libs/reach/feature/content/src/comments/CommentDisplay";
10010
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
10011
- export * from "libs/reach/feature/content/src/comments/UrlMatcher";
10012
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
10013
- export * from "libs/reach/feature/content/src/comments/RichCommentInput";
10014
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
10015
- export * from "libs/reach/feature/content/src/comments/AttachmentList";
10016
- export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
10017
- export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
10018
- export * from "libs/reach/feature/content/src/comments/CommentInput";
10019
- }
10020
- declare module "libs/reach/feature/content/src/feedback/index" {
10021
- export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
10022
- export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
10023
- export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
10024
- export * from "libs/reach/feature/content/src/feedback/utils";
10442
+ post: Post;
10443
+ onCancel: () => void;
10444
+ onBeforeSave: (post: Post) => void;
10445
+ onSaved: (post: Post) => void;
10446
+ keywordSettings?: {
10447
+ availableKeywords?: Keyword[];
10448
+ defaultKeywords?: Keyword[];
10449
+ mandatoryKeywords?: Keyword[];
10450
+ };
10451
+ }>;
10025
10452
  }
10026
- declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
10027
- import { FC, ReactNode } from 'react';
10028
- import { Keyword } from "libs/reach/util/common/src/index";
10029
- interface Props {
10030
- isOpen: boolean;
10031
- preSelectedKeywords: Keyword[];
10032
- onSave: (keywords: Keyword[]) => void;
10033
- titleResource: string;
10034
- onDismiss: () => void;
10035
- availableKeywords?: Keyword[];
10036
- mandatoryKeywordIds?: string[];
10037
- }
10038
- export const KeywordDialog: FC<Props>;
10039
- export const StatefulKeywordPicker: FC<{
10040
- preSelectedKeywords: Keyword[];
10041
- availableKeywords?: Keyword[];
10042
- mandatoryKeywordIds?: string[];
10043
- showSelectionToggle?: boolean;
10044
- children: (selectedKeywords: Keyword[]) => ReactNode;
10453
+ declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
10454
+ import { FC } from 'react';
10455
+ export const PostFollowButton: FC<{
10456
+ itemId: string;
10457
+ isFollowing: boolean;
10045
10458
  }>;
10046
10459
  }
10047
- declare module "libs/reach/feature/content/src/forms/Textarea" {
10048
- import { FC, MutableRefObject } from 'react';
10049
- export interface TextareaProps {
10050
- rows?: number;
10051
- placeholder?: string;
10052
- readOnly?: boolean;
10053
- onChange: (value: string) => void;
10460
+ declare module "libs/reach/feature/content/src/posts/PostGroup" {
10461
+ import { FC } from 'react';
10462
+ import { NavLink } from 'react-router-dom';
10463
+ export const PostGroup: FC<{
10464
+ groupId: string;
10465
+ target?: string;
10054
10466
  className?: string;
10055
- defaultValue?: string;
10056
- disabled?: boolean;
10057
- noDebouncing?: boolean;
10058
- value?: string;
10059
- onIconClick?: () => void;
10060
- onEnter?: () => void;
10061
- icon?: string;
10062
- disableNewLines?: boolean;
10063
- autoFocus?: boolean;
10064
- inputRef?: MutableRefObject<HTMLTextAreaElement>;
10065
- onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
10066
- inputType?: string;
10067
- }
10068
- /**
10069
- * Textarea that expands vertically to fit content.
10070
- * If maxLength is given, also displays a count of remaining characters when focused
10071
- */
10072
- export const Textarea: FC<TextareaProps>;
10467
+ }>;
10468
+ export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
10073
10469
  }
10074
- declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
10470
+ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10075
10471
  import { FC } from 'react';
10076
- interface Props {
10077
- onInsert: (files: File[]) => void;
10078
- accept?: string;
10079
- captionKey?: string;
10080
- captionIconName?: string;
10081
- descriptionKey?: string;
10082
- descriptionIconName?: string;
10083
- singleMode?: boolean;
10084
- }
10085
- export const InsertFilesButton: FC<Props>;
10086
- export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
10087
- isActive?: boolean;
10088
- }, never>;
10089
- }
10090
- declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
10091
- import { FC } from 'react';
10092
- interface Props {
10093
- onInsert: (files: File[]) => void;
10094
- accept?: string;
10095
- captionKey?: string;
10096
- descriptionKey?: string;
10097
- }
10098
- export const InsertImagesButton: FC<Props>;
10099
- }
10100
- declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
10101
- import { FC } from 'react';
10102
- interface DateTimePickerProps {
10103
- date: string;
10104
- maxDate?: string;
10105
- minDate?: string;
10106
- dateValidationResourceKey?: string;
10107
- timeValidationResourceKey?: string;
10108
- readOnly?: boolean;
10109
- onChanged: (date: string, isValid: boolean) => void;
10110
- noDateResourceKey: string;
10111
- selectDateResourceKey: string;
10112
- dateOnly?: boolean;
10113
- initialPickerDate?: string;
10114
- label?: string;
10115
- isRequired?: boolean;
10116
- className?: string;
10117
- }
10118
- export const DateTimePicker: FC<DateTimePickerProps>;
10119
- export default DateTimePicker;
10120
- }
10121
- declare module "libs/reach/feature/content/src/forms/DateRange" {
10122
- import moment, { Moment } from 'moment';
10123
- export enum DateRange {
10124
- TwoYears = 0,
10125
- OneYear = 1,
10126
- SixMonths = 2,
10127
- TwoMonths = 3,
10128
- OneMonth = 4,
10129
- SevenDays = 5,
10130
- YesterDay = 6,
10131
- Today = 7
10132
- }
10133
- export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
10134
- export function dateToDateRange(date: string | moment.Moment): number;
10135
- export function dateRangeToDate(range: DateRange): Moment;
10136
- }
10137
- declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
10138
- import { FC } from 'react';
10139
- import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
10140
- export const DateRangeSlider: FC<{
10141
- value?: DateRange;
10142
- onChange: (range: DateRange) => unknown;
10143
- }>;
10144
- }
10145
- declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
10146
- import { FC } from 'react';
10147
- import { WrappedComponentProps } from 'react-intl';
10148
- import { SelectionMode } from 'office-ui-fabric-react';
10149
- import { Account, AccountType } from "libs/reach/util/common/src/index";
10150
- interface PeoplePickerDialogProps {
10151
- defaultSelectedItems: Account[];
10152
- onChange: (items: Account[]) => void;
10153
- onDismiss: () => void;
10154
- titleResource: string;
10155
- intl?: WrappedComponentProps;
10156
- selectionMode?: SelectionMode;
10157
- allowMailItems?: boolean;
10158
- accountType: AccountType;
10159
- showDialog: boolean;
10160
- allowEmptyValue: boolean;
10161
- includePendingInvitationUsers?: boolean;
10162
- placeholderStringResourceKey?: string;
10163
- inputAriaLabelResourceKey: string;
10164
- }
10165
- export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
10166
- }
10167
- declare module "libs/reach/feature/content/src/forms/index" {
10168
- export * from "libs/reach/feature/content/src/forms/KeywordDialog";
10169
- export * from "libs/reach/feature/content/src/forms/Textarea";
10170
- export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
10171
- export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
10172
- export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
10173
- export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
10174
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
10175
- export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
10176
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
10177
- export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
10178
- export * from "libs/reach/feature/content/src/forms/DateRange";
10179
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
10180
- export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
10181
- export * from "libs/reach/feature/content/src/forms/videos/VideoView";
10182
- }
10183
- declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10184
- import { FC } from 'react';
10185
- export const GroupNotificationsSettings: FC<{
10186
- groupId: string;
10187
- className?: string;
10188
- }>;
10189
- }
10190
- declare module "libs/reach/feature/content/src/posts/PostCreator" {
10191
- import { FC } from 'react';
10192
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10193
- import { Keyword } from "libs/reach/util/common/src/index";
10194
- import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10195
- export interface PostCreatorProps {
10196
- groupId: string;
10197
- disabled?: boolean;
10198
- disableDragAndDrop?: boolean;
10199
- onBeforeSave?: (post: Post) => void;
10200
- onSaved: (post: Post) => void;
10201
- keywordSettings?: {
10202
- availableKeywords?: Keyword[];
10203
- defaultKeywords?: Keyword[];
10204
- mandatoryKeywords?: Keyword[];
10205
- };
10206
- disableAutoFocus?: boolean;
10207
- attachmentPreviewTheme?: CommentInputTheme;
10208
- className?: string;
10209
- }
10210
- export const PostCreator: FC<PostCreatorProps>;
10211
- }
10212
- declare module "libs/reach/feature/content/src/posts/PostReplies" {
10213
- import { FC } from 'react';
10214
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10215
- import { Comment } from "libs/reach/util/common/src/index";
10216
- import { PaginatedList } from "libs/reach/util/common/src/index";
10217
- interface Props {
10218
- className?: string;
10219
- post: Post;
10220
- initialPageSize?: number;
10221
- comments?: PaginatedList<Comment>;
10222
- autoFocusReplyField?: boolean;
10223
- showReplyBox?: boolean;
10224
- onReplyAdded: () => void;
10225
- onReplyDeleted: () => void;
10226
- trimContent?: boolean;
10227
- }
10228
- export const PostReplies: FC<Props>;
10229
- }
10230
- declare module "libs/reach/feature/content/src/posts/PostEditor" {
10231
- import { FC } from 'react';
10232
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10233
- import { Keyword } from "libs/reach/util/common/src/index";
10234
- export const PostEditor: FC<{
10235
- className?: string;
10236
- post: Post;
10237
- onCancel: () => void;
10238
- onBeforeSave: (post: Post) => void;
10239
- onSaved: (post: Post) => void;
10240
- keywordSettings?: {
10241
- availableKeywords?: Keyword[];
10242
- defaultKeywords?: Keyword[];
10243
- mandatoryKeywords?: Keyword[];
10244
- };
10245
- }>;
10246
- }
10247
- declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
10248
- import { FC } from 'react';
10249
- export const PostFollowButton: FC<{
10250
- itemId: string;
10251
- isFollowing: boolean;
10252
- }>;
10253
- }
10254
- declare module "libs/reach/feature/content/src/posts/PostGroup" {
10255
- import { FC } from 'react';
10256
- import { NavLink } from 'react-router-dom';
10257
- export const PostGroup: FC<{
10258
- groupId: string;
10259
- target?: string;
10260
- className?: string;
10261
- }>;
10262
- export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
10263
- }
10264
- declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10265
- import { FC } from 'react';
10266
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10267
- import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
10472
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10473
+ import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
10268
10474
  interface Props {
10269
10475
  post: Post;
10270
10476
  targetUrl?: string;
@@ -10310,8 +10516,75 @@ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
10310
10516
  className?: string;
10311
10517
  }>;
10312
10518
  }
10519
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10520
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10521
+ import { DocumentNode } from '@apollo/client';
10522
+ import { Channel } from "libs/reach/util/common/src/index";
10523
+ import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
10524
+ export enum StreamEventResponse {
10525
+ NotSet = "NOTSET",
10526
+ Registered = "REGISTERED",
10527
+ Declined = "DECLINED"
10528
+ }
10529
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10530
+ }
10531
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10532
+ items: StreamItem[];
10533
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10534
+ loadMore: () => Promise<void>;
10535
+ pageInfo: {
10536
+ errors?: any;
10537
+ hasNextPage: boolean;
10538
+ skip: number;
10539
+ };
10540
+ refresh: () => Promise<void>;
10541
+ isLoadingFirstPage: boolean;
10542
+ refetchItem: (itemId: string) => Promise<void>;
10543
+ };
10544
+ export function hasFilter(filter?: StreamFilterDefinition): boolean;
10545
+ export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10546
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10547
+ export function getFilterConditionsString(filterConditions?: string[]): string;
10548
+ export const GROUPS_CONDITION: (groupIds: string[]) => string;
10549
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
10550
+ export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
10551
+ export const OWNER_CONDITION: (owner: string) => string;
10552
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
10553
+ export const AUTHORS_CONDITION: (authors: string[]) => string;
10554
+ export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
10555
+ export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
10556
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
10557
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
10558
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
10559
+ export const POST_ITEM_FIELDS: DocumentNode;
10560
+ }
10561
+ declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
10562
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10563
+ import { DependencyList } from 'react';
10564
+ export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
10565
+ }
10566
+ declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
10567
+ import { UserGroup } from "libs/reach/util/common/src/index";
10568
+ export function usePostKeywordSettings(): (group: UserGroup) => {
10569
+ availableKeywords: import("@livetiles/reach/util/common").Keyword[];
10570
+ defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
10571
+ mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
10572
+ };
10573
+ }
10574
+ declare module "libs/reach/feature/content/src/posts/index" {
10575
+ export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
10576
+ export * from "libs/reach/feature/content/src/posts/PostCreator";
10577
+ export * from "libs/reach/feature/content/src/posts/PostDisplay";
10578
+ export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
10579
+ export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
10580
+ export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
10581
+ export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
10582
+ export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
10583
+ export * from "libs/reach/feature/content/src/posts/usePostsApi";
10584
+ export * from "libs/reach/feature/content/src/posts/utils";
10585
+ }
10313
10586
  declare module "libs/reach/feature/content/src/stream/streamUtils" {
10314
- 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";
10587
+ 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";
10315
10588
  import { Post } from "libs/reach/feature/content/src/posts/index";
10316
10589
  import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
10317
10590
  enum StreamItemTypes {
@@ -10528,7 +10801,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10528
10801
  knownState: KnownNewsState;
10529
10802
  hasNewComments?: boolean;
10530
10803
  isLiked?: boolean;
10531
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10532
10804
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10533
10805
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10534
10806
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -10738,6 +11010,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10738
11010
  isUnlinked?: boolean;
10739
11011
  pageType?: PageType;
10740
11012
  firstChildId?: string;
11013
+ isGroupInheritanceBroken?: boolean;
10741
11014
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10742
11015
  id?: string;
10743
11016
  versionId?: string;
@@ -10817,7 +11090,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10817
11090
  knownState: KnownNewsState;
10818
11091
  hasNewComments?: boolean;
10819
11092
  isLiked?: boolean;
10820
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10821
11093
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10822
11094
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10823
11095
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -10925,6 +11197,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10925
11197
  isUnlinked?: boolean;
10926
11198
  pageType?: PageType;
10927
11199
  firstChildId?: string;
11200
+ isGroupInheritanceBroken?: boolean;
10928
11201
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10929
11202
  id?: string;
10930
11203
  versionId?: string;
@@ -11048,7 +11321,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11048
11321
  knownState: KnownNewsState;
11049
11322
  hasNewComments?: boolean;
11050
11323
  isLiked?: boolean;
11051
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
11052
11324
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
11053
11325
  lease: import("@livetiles/reach/util/common").LeaseInfo;
11054
11326
  id?: string;
@@ -11123,6 +11395,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11123
11395
  isUnlinked?: boolean;
11124
11396
  pageType?: PageType;
11125
11397
  firstChildId?: string;
11398
+ isGroupInheritanceBroken?: boolean;
11126
11399
  lease: import("@livetiles/reach/util/common").LeaseInfo;
11127
11400
  id?: string;
11128
11401
  versionId?: string;
@@ -11150,73 +11423,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11150
11423
  poll?: import("@livetiles/reach/util/common").Poll;
11151
11424
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11152
11425
  })[];
11426
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11427
+ export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
11428
+ }
11429
+ declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
11430
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
11431
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11432
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
11433
+ export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
11434
+ export function useClearSearchSessionOnLeave(): void;
11435
+ }
11436
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
11437
+ import { LocationDescriptor } from 'history';
11438
+ import { FC, ReactNode } from 'react';
11439
+ export const SidebarIcon: FC<{
11440
+ icon?: ReactNode;
11441
+ iconName?: string;
11442
+ color?: string;
11443
+ onClick?: () => any;
11444
+ route?: LocationDescriptor;
11445
+ iconTooltipResourceKey: string;
11446
+ iconTooltipResourceValues?: any;
11447
+ className?: string;
11448
+ }>;
11449
+ }
11450
+ declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
11451
+ import { FC, ReactNode } from 'react';
11452
+ import { LocationDescriptor } from 'history';
11453
+ import { PrimitiveType } from 'intl-messageformat';
11454
+ export interface BaseSidebarItemProps {
11455
+ children?: any;
11456
+ icon?: ReactNode;
11457
+ iconName?: string;
11458
+ iconTooltipResourceKey?: string;
11459
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11460
+ secondaryIconName?: string;
11461
+ secondaryIconTooltipResourceKey?: string;
11462
+ reverse?: boolean;
11463
+ onIconClick?: () => void;
11464
+ iconRoute?: LocationDescriptor;
11465
+ iconColor?: string;
11466
+ onSecondaryIconClick?: () => void;
11467
+ secondaryIconRoute?: LocationDescriptor;
11468
+ onContentClick?: () => void;
11469
+ contentRoute?: LocationDescriptor;
11470
+ badgeInfo?: number | boolean;
11471
+ title?: string;
11472
+ className?: string;
11473
+ }
11474
+ export const BaseSidebarItem: FC<BaseSidebarItemProps>;
11475
+ }
11476
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
11477
+ import { FC } from 'react';
11478
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11479
+ export const SidebarItemSection: FC<{
11480
+ styleDefinition?: ColorStyleDefinition;
11481
+ }>;
11482
+ }
11483
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
11484
+ import { FC, ReactNode } from 'react';
11485
+ import { PrimitiveType } from 'intl-messageformat';
11486
+ import { LocationDescriptor } from 'history';
11487
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11488
+ interface CommonSidebarItemProps {
11489
+ title?: string | JSX.Element;
11490
+ titleResource?: string;
11491
+ icon?: ReactNode;
11492
+ iconName?: string;
11493
+ iconTooltipResourceKey?: string;
11494
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11495
+ secondaryIconName?: string;
11496
+ secondaryIconTooltipResourceKey?: string;
11497
+ iconColor?: string;
11498
+ reverse?: boolean;
11499
+ notHighlightable?: boolean;
11500
+ onClick?: () => void;
11501
+ className?: string;
11502
+ isActive?: boolean;
11503
+ activeClassName?: string;
11504
+ readOnly?: boolean;
11505
+ submenu?: JSX.Element;
11506
+ submenuClassName?: string;
11507
+ submenuStyleDefinition?: ColorStyleDefinition;
11508
+ badgeInfo?: number | boolean;
11509
+ domIdentifier?: string;
11510
+ }
11511
+ interface SidebarItemProps extends CommonSidebarItemProps {
11512
+ contentRoute?: LocationDescriptor;
11513
+ onIconClick?: () => void;
11514
+ iconRoute?: LocationDescriptor;
11515
+ onSecondaryIconClick?: () => void;
11516
+ secondaryIconRoute?: LocationDescriptor;
11517
+ isHoverable?: boolean;
11518
+ }
11519
+ export const SidebarItem: FC<SidebarItemProps>;
11520
+ interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
11521
+ route: LocationDescriptor;
11522
+ exact?: boolean;
11523
+ linkClassName?: string;
11524
+ }
11525
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
11526
+ }
11527
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
11528
+ import { FC } from 'react';
11529
+ export const SidebarGroup: FC<{
11530
+ titleResource?: string;
11531
+ borderColor?: string;
11532
+ className?: string;
11533
+ }>;
11534
+ }
11535
+ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
11536
+ import { FC } from 'react';
11537
+ export const ContentWithShowMoreButton: FC<{
11538
+ domIdentifier: string;
11539
+ trimContent?: boolean;
11540
+ className?: string;
11541
+ }>;
11542
+ }
11543
+ declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
11544
+ import { FC } from 'react';
11545
+ import { Channel } from "libs/reach/util/common/src/index";
11546
+ import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
11547
+ interface Props {
11548
+ selectedChannelNames?: string[];
11549
+ selectedChannelIds?: string[];
11550
+ mandatoryChannelIds?: string[];
11551
+ availableChannels?: Channel[];
11552
+ onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
11553
+ className?: string;
11554
+ showOnlyUserChannels?: boolean;
11555
+ showSelectionToggle?: boolean;
11556
+ placeholder?: string;
11557
+ inlineControls?: boolean;
11558
+ required?: boolean;
11559
+ id?: string;
11560
+ showLogicalOperatorOptions?: boolean;
11561
+ selectedLogicalOperator?: LogicalOperator;
11562
+ }
11563
+ export const ChannelSelector: FC<Props>;
11564
+ }
11565
+ declare module "libs/reach/feature/content/src/common/index" {
11566
+ export * from "libs/reach/feature/content/src/common/cards/CardFooter";
11567
+ export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
11568
+ export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
11569
+ export * from "libs/reach/feature/content/src/common/item-tile/Title";
11570
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
11571
+ export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
11572
+ export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
11573
+ export * from "libs/reach/feature/content/src/common/body/InlineGallery";
11574
+ export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
11575
+ export * from "libs/reach/feature/content/src/common/body/InlineImage";
11576
+ export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
11577
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
11578
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
11579
+ export * from "libs/reach/feature/content/src/common/body/InlineQuote";
11580
+ export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
11581
+ export * from "libs/reach/feature/content/src/common/body/InlineVideo";
11582
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
11583
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
11584
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
11585
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
11586
+ export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
11587
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
11588
+ export * from "libs/reach/feature/content/src/common/ContentUtils";
11589
+ export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
11590
+ export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
11591
+ export * from "libs/reach/feature/content/src/common/body/InlineContact";
11592
+ export * from "libs/reach/feature/content/src/common/body/InlineCode";
11593
+ export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
11594
+ export * from "libs/reach/feature/content/src/common/body/CodeDetails";
11595
+ export * from "libs/reach/feature/content/src/common/body/TextViewer";
11596
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
11597
+ export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
11598
+ export * from "libs/reach/feature/content/src/common/body/InlineTable";
11599
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
11600
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
11601
+ export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
11602
+ export * from "libs/reach/feature/content/src/common/body/InlineFileList";
11603
+ export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
11604
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
11605
+ export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
11606
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
11607
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
11608
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
11609
+ export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
11610
+ export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
11611
+ export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
11612
+ export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
11613
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
11614
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
11615
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
11616
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
11617
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
11618
+ export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
11619
+ export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
11620
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
11621
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
11622
+ export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
11623
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
11624
+ export * from "libs/reach/feature/content/src/common/body/InlinePageList";
11625
+ export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
11626
+ export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
11627
+ export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
11628
+ export * from "libs/reach/feature/content/src/common/banner/Banner";
11629
+ export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
11630
+ export * from "libs/reach/feature/content/src/common/cards/Card";
11631
+ export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
11632
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
11633
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
11634
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
11635
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
11636
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
11637
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
11638
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
11639
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
11640
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
11641
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
11642
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
11643
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
11644
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
11645
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
11646
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
11647
+ export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
11648
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
11649
+ export * from "libs/reach/feature/content/src/common/AppTriggerActions";
11650
+ export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
11651
+ export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
11652
+ export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
11653
+ export * from "libs/reach/feature/content/src/common/StateIcon";
11654
+ export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
11655
+ export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
11656
+ export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
11657
+ export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
11658
+ export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
11659
+ export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
11660
+ export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
11661
+ export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
11662
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
11663
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
11664
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
11665
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
11666
+ export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
11667
+ export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
11668
+ export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
11669
+ export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
11670
+ }
11671
+ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
11672
+ import { FC } from 'react';
11673
+ import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
11674
+ interface Props {
11675
+ type?: ItemResourceTypes;
11676
+ baseAttachmentPath?: string;
11677
+ message: Comment;
11678
+ showDelete?: boolean;
11679
+ showAutoTranslate?: boolean;
11680
+ showEdit?: boolean;
11681
+ onDelete?: (comment: Comment) => void;
11682
+ onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
11683
+ scope: ConversationScope;
11684
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
11685
+ getHashtagFilterRoute?: (hashtag: string) => string;
11686
+ highlight?: boolean;
11687
+ hasUnreadReplies?: boolean;
11688
+ onReplyIconClick?: () => void;
11689
+ onReply?: (comment: Comment, commentSender?: Account) => void;
11690
+ replyCount?: number;
11691
+ readOnly?: boolean;
11692
+ trimContent?: boolean;
11693
+ enableModalRouting?: boolean;
11694
+ className?: string;
11695
+ }
11696
+ export const CommentDisplay: FC<Props>;
11153
11697
  }
11154
- declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11155
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11156
- import { DocumentNode } from '@apollo/client';
11157
- import { Channel } from "libs/reach/util/common/src/index";
11158
- import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
11159
- export enum StreamEventResponse {
11160
- NotSet = "NOTSET",
11161
- Registered = "REGISTERED",
11162
- Declined = "DECLINED"
11698
+ declare module "libs/reach/feature/content/src/comments/index" {
11699
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11700
+ export * from "libs/reach/feature/content/src/comments/FollowComments";
11701
+ export * from "libs/reach/feature/content/src/comments/CreateComment";
11702
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11703
+ export * from "libs/reach/feature/content/src/comments/CommentDisplay";
11704
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11705
+ export * from "libs/reach/feature/content/src/comments/UrlMatcher";
11706
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11707
+ export * from "libs/reach/feature/content/src/comments/RichCommentInput";
11708
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11709
+ export * from "libs/reach/feature/content/src/comments/AttachmentList";
11710
+ export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
11711
+ export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
11712
+ export * from "libs/reach/feature/content/src/comments/CommentInput";
11713
+ }
11714
+ declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
11715
+ import { FC, ReactNode } from 'react';
11716
+ import { Keyword } from "libs/reach/util/common/src/index";
11717
+ interface Props {
11718
+ isOpen: boolean;
11719
+ preSelectedKeywords: Keyword[];
11720
+ onSave: (keywords: Keyword[]) => void;
11721
+ titleResource: string;
11722
+ onDismiss: () => void;
11723
+ availableKeywords?: Keyword[];
11724
+ mandatoryKeywordIds?: string[];
11163
11725
  }
11164
- export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
11726
+ export const KeywordDialog: FC<Props>;
11727
+ export const StatefulKeywordPicker: FC<{
11728
+ preSelectedKeywords: Keyword[];
11729
+ availableKeywords?: Keyword[];
11730
+ mandatoryKeywordIds?: string[];
11731
+ showSelectionToggle?: boolean;
11732
+ children: (selectedKeywords: Keyword[]) => ReactNode;
11733
+ }>;
11734
+ }
11735
+ declare module "libs/reach/feature/content/src/forms/Textarea" {
11736
+ import { FC, MutableRefObject } from 'react';
11737
+ export interface TextareaProps {
11738
+ rows?: number;
11739
+ placeholder?: string;
11740
+ readOnly?: boolean;
11741
+ onChange: (value: string) => void;
11742
+ className?: string;
11743
+ defaultValue?: string;
11744
+ disabled?: boolean;
11745
+ noDebouncing?: boolean;
11746
+ value?: string;
11747
+ onIconClick?: () => void;
11748
+ onEnter?: () => void;
11749
+ icon?: string;
11750
+ disableNewLines?: boolean;
11751
+ autoFocus?: boolean;
11752
+ inputRef?: MutableRefObject<HTMLTextAreaElement>;
11753
+ onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
11754
+ inputType?: string;
11165
11755
  }
11166
- export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
11167
- items: StreamItem[];
11168
- setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
11169
- loadMore: () => Promise<void>;
11170
- pageInfo: {
11171
- errors?: any;
11172
- hasNextPage: boolean;
11173
- skip: number;
11174
- };
11175
- refresh: () => Promise<void>;
11176
- isLoadingFirstPage: boolean;
11177
- refetchItem: (itemId: string) => Promise<void>;
11178
- };
11179
- export function hasFilter(filter?: StreamFilterDefinition): boolean;
11180
- export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11181
- export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11182
- export function getFilterConditionsString(filterConditions?: string[]): string;
11183
- export const GROUPS_CONDITION: (groupIds: string[]) => string;
11184
- export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
11185
- export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
11186
- export const OWNER_CONDITION: (owner: string) => string;
11187
- export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
11188
- export const AUTHORS_CONDITION: (authors: string[]) => string;
11189
- export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
11190
- export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
11191
- export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
11192
- export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
11193
- export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
11194
- export const POST_ITEM_FIELDS: DocumentNode;
11756
+ /**
11757
+ * Textarea that expands vertically to fit content.
11758
+ * If maxLength is given, also displays a count of remaining characters when focused
11759
+ */
11760
+ export const Textarea: FC<TextareaProps>;
11195
11761
  }
11196
- declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
11197
- import { Post } from "libs/reach/feature/content/src/posts/utils";
11198
- import { DependencyList } from 'react';
11199
- export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
11762
+ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
11763
+ import { FC } from 'react';
11764
+ interface Props {
11765
+ onInsert: (files: File[]) => void;
11766
+ accept?: string;
11767
+ captionKey?: string;
11768
+ captionIconName?: string;
11769
+ descriptionKey?: string;
11770
+ descriptionIconName?: string;
11771
+ singleMode?: boolean;
11772
+ }
11773
+ export const InsertFilesButton: FC<Props>;
11774
+ export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11775
+ isActive?: boolean;
11776
+ }, never>;
11200
11777
  }
11201
- declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
11202
- import { UserGroup } from "libs/reach/util/common/src/index";
11203
- export function usePostKeywordSettings(): (group: UserGroup) => {
11204
- availableKeywords: import("@livetiles/reach/util/common").Keyword[];
11205
- defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
11206
- mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
11207
- };
11778
+ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
11779
+ import { FC } from 'react';
11780
+ interface Props {
11781
+ onInsert: (files: File[]) => void;
11782
+ accept?: string;
11783
+ captionKey?: string;
11784
+ descriptionKey?: string;
11785
+ }
11786
+ export const InsertImagesButton: FC<Props>;
11208
11787
  }
11209
- declare module "libs/reach/feature/content/src/posts/index" {
11210
- export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
11211
- export * from "libs/reach/feature/content/src/posts/PostCreator";
11212
- export * from "libs/reach/feature/content/src/posts/PostDisplay";
11213
- export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
11214
- export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
11215
- export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
11216
- export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
11217
- export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
11218
- export * from "libs/reach/feature/content/src/posts/usePostsApi";
11219
- export * from "libs/reach/feature/content/src/posts/utils";
11788
+ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
11789
+ import { FC } from 'react';
11790
+ interface DateTimePickerProps {
11791
+ date: string;
11792
+ maxDate?: string;
11793
+ minDate?: string;
11794
+ dateValidationResourceKey?: string;
11795
+ timeValidationResourceKey?: string;
11796
+ readOnly?: boolean;
11797
+ onChanged: (date: string, isValid: boolean) => void;
11798
+ noDateResourceKey: string;
11799
+ selectDateResourceKey: string;
11800
+ dateOnly?: boolean;
11801
+ initialPickerDate?: string;
11802
+ label?: string;
11803
+ isRequired?: boolean;
11804
+ className?: string;
11805
+ }
11806
+ export const DateTimePicker: FC<DateTimePickerProps>;
11807
+ export default DateTimePicker;
11808
+ }
11809
+ declare module "libs/reach/feature/content/src/forms/DateRange" {
11810
+ import moment, { Moment } from 'moment';
11811
+ export enum DateRange {
11812
+ TwoYears = 0,
11813
+ OneYear = 1,
11814
+ SixMonths = 2,
11815
+ TwoMonths = 3,
11816
+ OneMonth = 4,
11817
+ SevenDays = 5,
11818
+ YesterDay = 6,
11819
+ Today = 7
11820
+ }
11821
+ export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
11822
+ export function dateToDateRange(date: string | moment.Moment): number;
11823
+ export function dateRangeToDate(range: DateRange): Moment;
11824
+ }
11825
+ declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
11826
+ import { FC } from 'react';
11827
+ import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
11828
+ export const DateRangeSlider: FC<{
11829
+ value?: DateRange;
11830
+ onChange: (range: DateRange) => unknown;
11831
+ }>;
11832
+ }
11833
+ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
11834
+ import { FC } from 'react';
11835
+ import { WrappedComponentProps } from 'react-intl';
11836
+ import { SelectionMode } from 'office-ui-fabric-react';
11837
+ import { Account, AccountType } from "libs/reach/util/common/src/index";
11838
+ interface PeoplePickerDialogProps {
11839
+ defaultSelectedItems: Account[];
11840
+ onChange: (items: Account[]) => void;
11841
+ onDismiss: () => void;
11842
+ titleResource: string;
11843
+ intl?: WrappedComponentProps;
11844
+ selectionMode?: SelectionMode;
11845
+ allowMailItems?: boolean;
11846
+ accountType: AccountType;
11847
+ showDialog: boolean;
11848
+ allowEmptyValue: boolean;
11849
+ includePendingInvitationUsers?: boolean;
11850
+ placeholderStringResourceKey?: string;
11851
+ inputAriaLabelResourceKey: string;
11852
+ }
11853
+ export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
11854
+ }
11855
+ declare module "libs/reach/feature/content/src/forms/index" {
11856
+ export * from "libs/reach/feature/content/src/forms/KeywordDialog";
11857
+ export * from "libs/reach/feature/content/src/forms/Textarea";
11858
+ export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
11859
+ export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
11860
+ export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
11861
+ export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
11862
+ export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
11863
+ export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
11864
+ export * from "libs/reach/feature/content/src/forms/DateTimePicker";
11865
+ export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
11866
+ export * from "libs/reach/feature/content/src/forms/DateRange";
11867
+ export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
11868
+ export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
11869
+ export * from "libs/reach/feature/content/src/forms/videos/VideoView";
11220
11870
  }
11221
11871
  declare module "libs/reach/feature/content/src/editor/EditorListItem" {
11222
11872
  import { FC, ReactNode } from 'react';
@@ -11313,8 +11963,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
11313
11963
  declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11314
11964
  export type ShareTokenType = 'preview' | 'published';
11315
11965
  export function useShareTokenEditorApi(): {
11316
- activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11317
- deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11966
+ activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
11967
+ deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
11318
11968
  };
11319
11969
  }
11320
11970
  declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
@@ -11325,9 +11975,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11325
11975
  cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11326
11976
  uncancelEvent: (id: string) => Promise<unknown>;
11327
11977
  unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11328
- deleteEventPermanently: (eventId: string) => any;
11978
+ deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11329
11979
  saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11330
- deleteModifiedRecurrence: (eventId: string) => any;
11980
+ deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11331
11981
  };
11332
11982
  }
11333
11983
  declare module "libs/reach/feature/content/src/editor/index" {
@@ -11366,12 +12016,14 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
11366
12016
  event: EventStreamItem;
11367
12017
  }>;
11368
12018
  }
12019
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
12020
+ import { FC } from 'react';
12021
+ export const GlobalSearchButton: FC<{
12022
+ className?: string;
12023
+ }>;
12024
+ }
11369
12025
  declare module "libs/reach/feature/content/src/stream/StreamList" {
11370
12026
  import { FC, ReactNode } from 'react';
11371
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11372
- export type StreamQueryResult = {
11373
- items: StreamItem[];
11374
- };
11375
12027
  export const StreamList: FC<{
11376
12028
  emptySearchResultButton?: ReactNode;
11377
12029
  }>;
@@ -11433,12 +12085,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
11433
12085
  export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
11434
12086
  export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
11435
12087
  }
11436
- declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11437
- import { FC } from 'react';
11438
- export const GlobalSearchButton: FC<{
11439
- className?: string;
11440
- }>;
11441
- }
11442
12088
  declare module "libs/reach/feature/content/src/search/index" {
11443
12089
  export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
11444
12090
  }
@@ -11880,6 +12526,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
11880
12526
  }) => string;
11881
12527
  };
11882
12528
  }
12529
+ declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
12530
+ import { Dispatch } from 'react';
12531
+ export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
12532
+ }
12533
+ declare module "apps/reach-app/src/app/analytics/DashboardPage" {
12534
+ import { FC } from 'react';
12535
+ export interface Dashboard {
12536
+ name: string;
12537
+ title: string;
12538
+ url: string;
12539
+ }
12540
+ export const DashboardPage: FC<{
12541
+ dashboard: Dashboard;
12542
+ }>;
12543
+ }
12544
+ declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
12545
+ import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
12546
+ export function useDashboards(): Dashboard[];
12547
+ export function hasDashboards(): boolean;
12548
+ }
12549
+ declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
12550
+ import { FC } from 'react';
12551
+ export const AnalyticsSidebarMenu: FC;
12552
+ }
11883
12553
  declare module "apps/reach-app/src/app/chrome/PageMenu" {
11884
12554
  import { FC } from 'react';
11885
12555
  interface Props {