@livetiles/reach-plugin-types 0.5.0-preview.31 → 0.5.0-preview.310

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 +1818 -1095
  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;
@@ -1490,6 +1761,7 @@ declare module "libs/reach/util/common/src/user/User" {
1490
1761
  user: UserSummary;
1491
1762
  type: SubscriptionJoinResultType;
1492
1763
  message?: string;
1764
+ isSuccess?: boolean;
1493
1765
  }
1494
1766
  export interface UserActivationResult {
1495
1767
  type: UserActivationResultType;
@@ -1716,11 +1988,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
1716
1988
  knownState: KnownNewsState;
1717
1989
  hasNewComments?: boolean;
1718
1990
  isLiked?: boolean;
1719
- shareToken?: ShareToken;
1720
- }
1721
- export interface ShareToken {
1722
- published?: string;
1723
- preview?: string;
1724
1991
  }
1725
1992
  export interface NewsItemAlertOptions {
1726
1993
  duration?: string;
@@ -1908,6 +2175,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1908
2175
  useExternalContent?: boolean;
1909
2176
  isDemoContent?: boolean;
1910
2177
  }
2178
+ export interface ShareablePublishableItem extends PublishableItem {
2179
+ shareToken: ShareToken;
2180
+ }
2181
+ export interface ShareToken {
2182
+ published?: string;
2183
+ preview?: string;
2184
+ }
1911
2185
  export interface PublishableItemVersion extends PublishableItem {
1912
2186
  itemId: string;
1913
2187
  versionModificationDate: string;
@@ -1931,6 +2205,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1931
2205
  }
1932
2206
  }
1933
2207
  declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
2208
+ import { Api } from 'restful.js';
1934
2209
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
1935
2210
  export class ClientFactoryInstance {
1936
2211
  private env;
@@ -1941,7 +2216,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
1941
2216
  constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
1942
2217
  url: string;
1943
2218
  }) => Promise<unknown>);
1944
- createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => any;
2219
+ createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
1945
2220
  private createApiInternal;
1946
2221
  private addRequestTimeLogger;
1947
2222
  createApiUrl: (url: string, query?: {
@@ -2259,12 +2534,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2259
2534
  isUnlinked?: boolean;
2260
2535
  pageType?: PageType;
2261
2536
  firstChildId?: string;
2537
+ isGroupInheritanceBroken?: boolean;
2262
2538
  }
2263
2539
  export interface ContentsSummary {
2264
2540
  [lang: string]: TitleContent & {
2265
2541
  fileInfo?: DocumentFileInfo;
2266
2542
  };
2267
2543
  }
2544
+ export interface GroupInheritanceUpdateRequest {
2545
+ breakGroupInheritance: boolean;
2546
+ }
2268
2547
  export interface PageNavigationNode {
2269
2548
  id: string;
2270
2549
  contents?: ContentsSummary;
@@ -2448,6 +2727,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
2448
2727
  export function accessDeniedIntercept(error: any): Promise<boolean>;
2449
2728
  export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
2450
2729
  }
2730
+ declare module "libs/reach/util/common/src/Variables" {
2731
+ export const maxContentWidth = 985;
2732
+ export const adminMaxWidth = 600;
2733
+ export const spacingXxs = 3;
2734
+ export const spacingXs = 6;
2735
+ export const spacingS = 10;
2736
+ export const spacingM = 20;
2737
+ export const spacingL = 30;
2738
+ export const spacingX = 40;
2739
+ export const spacingXl = 60;
2740
+ export const minScreenSize: {
2741
+ small: number;
2742
+ medium: number;
2743
+ large: number;
2744
+ xLarge: number;
2745
+ xxLarge: number;
2746
+ xxxLarge: number;
2747
+ };
2748
+ export const maxScreenSize: {
2749
+ small: number;
2750
+ medium: number;
2751
+ large: number;
2752
+ xLarge: number;
2753
+ xxLarge: number;
2754
+ };
2755
+ export const sidebarWidth = 285;
2756
+ export const sidebarWidthRight = 320;
2757
+ export const sidebarItemHeight = 50;
2758
+ export const headerHeight = 50;
2759
+ export const headerSecondaryHeight = 50;
2760
+ export const notificationHeight = 50;
2761
+ export const mainContentPanelWidth = 300;
2762
+ export const mainContentPanelMinScreenSize = 1740;
2763
+ export const fontSizeLarger = 40;
2764
+ export const fontSizeLarge = 25;
2765
+ export const fontSizeMedium = 18;
2766
+ export const fontSizeNormal = 16;
2767
+ export const fontSizeSmall = 14;
2768
+ export const fontSizeSmaller = 12;
2769
+ export const socialIconSize = 26;
2770
+ export const lineHeight = 23;
2771
+ export const smallScreenLoginHeight = 40;
2772
+ export const bannerAspectRatio: number;
2773
+ export const bannerWidth = 980;
2774
+ export const bannerHeight = 420;
2775
+ export const HighlightBubbleSize = 12;
2776
+ export const StatusBubbleSize = 10;
2777
+ export const shadowColor = "rgba(0, 0, 0, 0.2)";
2778
+ export const diffPreviousVersionColour = "rgb(221, 221, 221)";
2779
+ export const diffActiveVersionColour = "rgb(206, 255, 188)";
2780
+ export const dialogSpacing = 24;
2781
+ export const detailViewSectionPadding = 20;
2782
+ export const detailViewSectionPaddingLarge = 60;
2783
+ export const postsSectionPadding = 20;
2784
+ export const attachmentRoundedCornerSize = 10;
2785
+ export const videoAttachmentRoundedCornerSize = 20;
2786
+ export const inlinePageBannerRoundedCornerSize = 5;
2787
+ export const feedbackButtonHeight = 32;
2788
+ export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
2789
+ export const mainContentContainerId = "lt-reach-main-content";
2790
+ export const mainModalContentContainerId = "lt-reach-main-modal-content";
2791
+ export const statusColors: {
2792
+ draft: string;
2793
+ ready: string;
2794
+ rejected: string;
2795
+ };
2796
+ export const cardWidthS = 260;
2797
+ export const cardWidthM = 354;
2798
+ export const cardWidthL = 314;
2799
+ export const cardWidthXL = 423;
2800
+ export const managePagesRowWidth = 300;
2801
+ export const managePagesRowHeight = 40;
2802
+ export const mobilePreviewWidth = 414;
2803
+ }
2804
+ declare module "libs/reach/util/common/src/common-utils" {
2805
+ import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
2806
+ import { IntlShape } from 'react-intl';
2807
+ export function getMainScrollableContainer(): HTMLElement;
2808
+ export enum LinkType {
2809
+ Internal = "internal",
2810
+ External = "external",
2811
+ Download = "download"
2812
+ }
2813
+ 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}";
2814
+ export const DefaultSubscriptionName = "LiveTiles Reach";
2815
+ export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
2816
+ export function getSubscriptionName(subscription: SubscriptionSummary): string;
2817
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
2818
+ logoInfo: LogoInfo;
2819
+ subscriptionName: string;
2820
+ };
2821
+ }
2822
+ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
2823
+ export enum AnalyticsInteractionEvents {
2824
+ embeddedVideo = "embedded-video",
2825
+ embeddedAudio = "embedded-audio",
2826
+ languageChange = "language-change",
2827
+ eventRegistration = "event-registration",
2828
+ eventSeriesRegistration = "event-series-registration",
2829
+ translateContent = "translate-content",
2830
+ downloadFile = "download-file",
2831
+ embeddedIframe = "embedded-iframe",
2832
+ externalLink = "external-link",
2833
+ follow = "follow",
2834
+ bookmark = "bookmark"
2835
+ }
2836
+ export enum AnalyticsActions {
2837
+ click = "click",
2838
+ navigate = "navigate",
2839
+ view = "view",
2840
+ search = "search"
2841
+ }
2842
+ export enum AnalyticsModuleType {
2843
+ Admin = "admin",
2844
+ Chat = "chat",
2845
+ Comments = "comments",
2846
+ Events = "events",
2847
+ Search = "search",
2848
+ News = "news",
2849
+ Pages = "pages",
2850
+ People = "people",
2851
+ Posts = "posts",
2852
+ Stream = "stream",
2853
+ User = "user"
2854
+ }
2855
+ export enum AnalyticsModuleSubtype {
2856
+ AllChats = "allChats",
2857
+ AllNews = "allNews",
2858
+ AllPosts = "allPosts",
2859
+ Bookmarks = "bookmarks",
2860
+ Channel = "channel",
2861
+ Channels = "channels",
2862
+ ChatConversation = "conversation",
2863
+ Customization = "customization",
2864
+ DetailView = "detailView",
2865
+ DirectoryConfig = "directoryConfiguration",
2866
+ Group = "group",
2867
+ Groups = "groups",
2868
+ Keywords = "keywords",
2869
+ Languages = "languages",
2870
+ MyNews = "myNews",
2871
+ Owners = "owners",
2872
+ Preview = "preview",
2873
+ RootPages = "rootPages",
2874
+ Search = "search",
2875
+ SelfRegistration = "selfRegistration",
2876
+ TargetAudience = "targetAudience",
2877
+ UpcomingEvents = "upcoming",
2878
+ BookedEvents = "booked",
2879
+ PastEvents = "past",
2880
+ Users = "users",
2881
+ WebHooks = "webHooks",
2882
+ Editor = "editor"
2883
+ }
2884
+ }
2885
+ declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
2886
+ export function useLinkInteraction(): void;
2887
+ }
2888
+ declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
2889
+ export function useIframeInteraction(): void;
2890
+ }
2891
+ declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
2892
+ import { FC } from 'react';
2893
+ import { EventModule } from '@livetiles/analytics';
2894
+ export const AnalyticsModuleContext: import("react").Context<EventModule>;
2895
+ export const AnalyticsModuleContextProvider: FC<{
2896
+ module: EventModule;
2897
+ }>;
2898
+ }
2899
+ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
2900
+ import { Dispatch, FC, SetStateAction } from 'react';
2901
+ import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
2902
+ export interface SearchAnalytics {
2903
+ data: EventSearch[];
2904
+ onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
2905
+ onItemRead: (itemId: string) => void;
2906
+ }
2907
+ export interface ModuleAnalytics {
2908
+ module: EventModule;
2909
+ setModule: Dispatch<SetStateAction<EventModule>>;
2910
+ }
2911
+ interface ActivityAnalytics {
2912
+ trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
2913
+ sendActivity: () => void;
2914
+ }
2915
+ export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
2916
+ export const AnalyticsContext: import("react").Context<ReachAnalytics>;
2917
+ export function useAnalyticsContext(): {
2918
+ interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
2919
+ trackActivity: (scrollContainer?: HTMLElement) => Activity;
2920
+ getUser: () => import("@segment/analytics-next").User;
2921
+ identify: (userId: string, traits?: Record<string, unknown>) => void;
2922
+ activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
2923
+ module: EventModule;
2924
+ setModule: Dispatch<SetStateAction<EventModule>>;
2925
+ data: EventSearch[];
2926
+ onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
2927
+ onItemRead: (itemId: string) => void;
2928
+ sendActivity: () => void;
2929
+ };
2930
+ export const AnalyticsLibraryContextProvider: FC<{
2931
+ appName?: string;
2932
+ }>;
2933
+ export const AnalyticsContextProvider: FC;
2934
+ }
2935
+ declare module "libs/reach/util/common/src/PagingService" {
2936
+ import { Observable } from 'rxjs';
2937
+ export const onPageScroll: Observable<number>;
2938
+ export function handlePageScroll(availableScrollSpace: number): void;
2939
+ export function setPageTitle(subscriptionName: string, title?: string): void;
2940
+ export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
2941
+ }
2942
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
2943
+ import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
2944
+ export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
2945
+ export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
2946
+ }
2947
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
2948
+ export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
2949
+ }
2950
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
2951
+ export function useAnalyticsNavigateTrack(): void;
2952
+ }
2953
+ declare module "libs/reach/util/common/src/analytics/index" {
2954
+ export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
2955
+ export * from "libs/reach/util/common/src/analytics/analyticsUtils";
2956
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
2957
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
2958
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
2959
+ export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
2960
+ }
2451
2961
  declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
2452
2962
  import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
2453
2963
  import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
@@ -2521,6 +3031,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2521
3031
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2522
3032
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2523
3033
  importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
3034
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
3035
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2524
3036
  };
2525
3037
  }
2526
3038
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -2546,6 +3058,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2546
3058
  customDomain?: string;
2547
3059
  allowSelfRegistration?: boolean;
2548
3060
  brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
3061
+ hideSubscriptionName?: boolean;
2549
3062
  id: string;
2550
3063
  subscriptionName: string;
2551
3064
  subscriptionHandle?: string;
@@ -2711,7 +3224,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
2711
3224
  getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
2712
3225
  saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
2713
3226
  saveFile: (pluginId: string, file: File) => Promise<Response>;
2714
- generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<any>;
3227
+ generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
2715
3228
  linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
2716
3229
  unlinkPlugin: (pluginId: string) => Promise<any>;
2717
3230
  };
@@ -2817,17 +3330,15 @@ declare module "libs/reach/util/common/src/Models" {
2817
3330
  }
2818
3331
  }
2819
3332
  declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2820
- import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
3333
+ import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
2821
3334
  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
3335
  export interface PluginNavigationNodeProps {
2829
3336
  navigationNodeProps?: PageNavigationNodeProps;
2830
3337
  }
3338
+ export type EmbeddedPluginProps = PluginProps & {
3339
+ isEditMode?: boolean;
3340
+ componentInstanceId: string;
3341
+ };
2831
3342
  export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2832
3343
  type DevPlugin = {
2833
3344
  pluginId: string;
@@ -2881,22 +3392,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2881
3392
  }
2882
3393
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2883
3394
  import { FC } from 'react';
2884
- import { ExtensionArea } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3395
+ import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
2885
3396
  export const Plugins: FC<{
2886
3397
  area: ExtensionArea;
2887
3398
  } & any>;
2888
3399
  }
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
3400
  declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2901
3401
  export class Color {
2902
3402
  private r;
@@ -3041,77 +3541,24 @@ declare module "libs/reach/util/common/src/theme/index" {
3041
3541
  export * from "libs/reach/util/common/src/theme/ThemeService";
3042
3542
  export * from "libs/reach/util/common/src/theme/ColorGenerator";
3043
3543
  }
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 = "lt-reach-main-content";
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;
3544
+ declare module "libs/reach/util/common/src/plugins/Plugin" {
3545
+ import { FC } from 'react';
3546
+ import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3547
+ export const Plugin: FC<PluginProps & {
3548
+ showDetailedErrorMessage?: boolean;
3549
+ } & any>;
3550
+ }
3551
+ declare module "libs/reach/util/common/src/plugins/index" {
3552
+ export * from "libs/reach/util/common/src/plugins/PluginContext";
3553
+ export * from "libs/reach/util/common/src/plugins/PluginWrapper";
3554
+ export * from "libs/reach/util/common/src/plugins/Plugins";
3555
+ export * from "libs/reach/util/common/src/plugins/Plugin";
3556
+ export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
3557
+ export * from "libs/reach/util/common/src/plugins/usePluginApi";
3558
+ export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
3559
+ export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
3560
+ export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
3561
+ export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
3115
3562
  }
3116
3563
  declare module "libs/reach/util/common/src/notification/NotificationContext" {
3117
3564
  import { FC, ReactNode } from 'react';
@@ -3215,6 +3662,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
3215
3662
  width?: number;
3216
3663
  height?: number;
3217
3664
  }
3665
+ export interface ImageWithAlignment extends ImageDetails {
3666
+ imageAlignment?: ImageAlignment;
3667
+ }
3668
+ export enum ImageAlignment {
3669
+ Default = "default",
3670
+ Left = "left",
3671
+ Right = "right",
3672
+ Center = "center"
3673
+ }
3218
3674
  }
3219
3675
  declare module "libs/reach/util/common/src/MainContentPanelContext" {
3220
3676
  export interface MainPanelContextType {
@@ -3225,13 +3681,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
3225
3681
  }
3226
3682
  export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
3227
3683
  }
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
3684
  declare module "libs/reach/util/common/src/keyword-utils" {
3236
3685
  import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
3237
3686
  import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
@@ -3265,6 +3714,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
3265
3714
  static create(): GenericAccessDeniedTriggerAction;
3266
3715
  }
3267
3716
  }
3717
+ declare module "libs/reach/util/common/src/useModalRouting" {
3718
+ export interface ModalRouting {
3719
+ isActive: boolean;
3720
+ itemId: string;
3721
+ backgroundLocation: any;
3722
+ }
3723
+ export function useModalRouting(): {
3724
+ isModalRoutingActive: boolean;
3725
+ modalItemId: string;
3726
+ backgroundLocation: any;
3727
+ };
3728
+ export function useModalRoutingSettings(): (itemId: string) => {
3729
+ modalRouting: {
3730
+ isActive: boolean;
3731
+ itemId: string;
3732
+ backgroundLocation: {
3733
+ state: {
3734
+ modalRouting: {
3735
+ isActive: boolean;
3736
+ };
3737
+ };
3738
+ pathname: string;
3739
+ search: string;
3740
+ hash: string;
3741
+ key?: string;
3742
+ };
3743
+ };
3744
+ };
3745
+ }
3268
3746
  declare module "libs/reach/util/common/src/index" {
3269
3747
  export { initializeIcons } from 'office-ui-fabric-react';
3270
3748
  export * from "libs/reach/util/common/src/FocusStyles";
@@ -3274,6 +3752,7 @@ declare module "libs/reach/util/common/src/index" {
3274
3752
  export * from "libs/reach/util/common/src/SortDirection";
3275
3753
  export * from "libs/reach/util/common/src/useCacheLanguageApi";
3276
3754
  export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
3755
+ export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
3277
3756
  export * from "libs/reach/util/common/src/user/index";
3278
3757
  export * from "libs/reach/util/common/src/plugins/index";
3279
3758
  export * from "libs/reach/util/common/src/theme/index";
@@ -3292,6 +3771,9 @@ declare module "libs/reach/util/common/src/index" {
3292
3771
  export * from "libs/reach/util/common/src/useBaseRoute";
3293
3772
  export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
3294
3773
  export * from "libs/reach/util/common/src/AccessDeniedIntercept";
3774
+ export * from "libs/reach/util/common/src/useModalRouting";
3775
+ export * from "libs/reach/util/common/src/analytics/index";
3776
+ export * from "libs/reach/util/common/src/common-utils";
3295
3777
  }
3296
3778
  declare module "libs/reach/ui/common/src/Link" {
3297
3779
  import { Link as RouterLink } from 'react-router-dom';
@@ -3348,7 +3830,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
3348
3830
  text?: string | JSX.Element;
3349
3831
  resourceKey?: string;
3350
3832
  values?: {
3351
- [key: string]: string | number | boolean | Date;
3833
+ [key: string]: string | number | boolean | Date | any;
3352
3834
  };
3353
3835
  width?: number;
3354
3836
  onClick?: () => unknown;
@@ -3428,7 +3910,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3428
3910
  export const PeoplePicker: FC<Props>;
3429
3911
  }
3430
3912
  declare module "libs/reach/ui/common/src/plugins/reach-core" {
3431
- 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";
3913
+ 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";
3432
3914
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3433
3915
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3434
3916
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3445,7 +3927,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3445
3927
  * @deprecated Please use `usePluginDeviceStore` instead
3446
3928
  */
3447
3929
  usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
3448
- export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
3930
+ export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
3449
3931
  }
3450
3932
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3451
3933
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3461,6 +3943,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3461
3943
  export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
3462
3944
  export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
3463
3945
  }
3946
+ declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
3947
+ export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
3948
+ }
3464
3949
  declare module "libs/reach/ui/common/src/NotificationBar" {
3465
3950
  import { FC } from 'react';
3466
3951
  export const NotificationBar: FC;
@@ -3477,6 +3962,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
3477
3962
  export const AudioFile: FC<{
3478
3963
  fileName: string;
3479
3964
  url: string;
3965
+ onPlay?: (url: string) => void;
3480
3966
  }>;
3481
3967
  export function isAudioFile(fileName: string): boolean;
3482
3968
  }
@@ -3500,37 +3986,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
3500
3986
  color?: string;
3501
3987
  }, never>;
3502
3988
  }
3503
- declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3504
- export const smallScreenSpacing = 10;
3505
- export const smallMaxContentWidth: number;
3506
- export const mediumMaxContentWidth: number;
3507
- export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3508
- }
3509
- declare module "libs/reach/ui/common/src/common/Utils" {
3510
- import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3511
- import { IntlShape } from 'react-intl';
3512
- import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3513
- export function isValidUrl(url: string): boolean;
3514
- export function getGoogleMapsSearchLink(name: string): string;
3515
- export function tryGetInternalLink(url: string, appUrls: string[]): string;
3516
- export function getExternalContentUrl(item: PublishableItem, language: string): string;
3517
- export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
3518
- export const DefaultSubscriptionName = "LiveTiles Reach";
3519
- export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3520
- export function getSubscriptionName(subscription: SubscriptionSummary): string;
3521
- 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}";
3522
- export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3523
- logoInfo: LogoInfo;
3524
- subscriptionName: string;
3525
- };
3526
- export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3527
- export function delay(delayInMs: number): Promise<unknown>;
3528
- export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3529
- defaultWidth?: number;
3530
- showPlaceholder?: boolean;
3531
- }, never>;
3532
- export function encodeChannelName(channelName: string): string;
3533
- }
3534
3989
  declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
3535
3990
  import { FC } from 'react';
3536
3991
  import { SubscriptionSummary } from "libs/reach/util/common/src/index";
@@ -3608,7 +4063,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
3608
4063
  export const isSameDay: (value: moment.MomentInput) => boolean;
3609
4064
  export const DateTime: FC<Props>;
3610
4065
  export const DateTimeRange: FC<{
3611
- startDate: string;
4066
+ startDate?: string;
3612
4067
  endDate?: string;
3613
4068
  className?: string;
3614
4069
  }>;
@@ -3694,6 +4149,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
3694
4149
  export const VideoFile: FC<{
3695
4150
  fileName: string;
3696
4151
  url: string;
4152
+ onPlay?: (url: string) => void;
3697
4153
  }>;
3698
4154
  export function isVideoFile(fileName: string): boolean;
3699
4155
  }
@@ -3716,24 +4172,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3716
4172
  }[]>;
3717
4173
  export function getFileIcon(filename: string): string;
3718
4174
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
4175
+ export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
3719
4176
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
3720
4177
  }
3721
4178
  declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
4179
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
3722
4180
  export function useFileAccessTokenApi(): {
3723
4181
  exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
3724
4182
  getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
3725
- createDownloadClickHandler: (target: string, getUrl: () => Promise<string>) => () => Promise<void>;
4183
+ createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
3726
4184
  };
3727
4185
  }
3728
4186
  declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
3729
4187
  import { FC } from 'react';
3730
- import { Attachment } from "libs/reach/util/common/src/index";
4188
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
3731
4189
  export const FileAttachmentList: FC<{
3732
4190
  files: Attachment[];
3733
4191
  onDeleteClick?: (file: Attachment) => void;
3734
4192
  getFileUrl?: (attachmentId: string, token?: string) => string;
4193
+ onPlayVideo?: (url: string, videoId: string) => void;
4194
+ onPlayAudio?: (url: string, audioId: string) => void;
3735
4195
  fileAccessToken?: string;
3736
4196
  disabled?: boolean;
4197
+ parentId?: string;
4198
+ itemResourceType?: ItemResourceTypes | string;
3737
4199
  className?: string;
3738
4200
  }>;
3739
4201
  }
@@ -4026,13 +4488,35 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
4026
4488
  export const ToggleWithLabel: FC<IToggleProps>;
4027
4489
  }
4028
4490
  declare module "libs/reach/ui/common/src/common/UnreadCommentHighlight" {
4029
- export const unreadCommentHighlight: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4491
+ export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4030
4492
  }
4031
4493
  declare module "libs/reach/ui/common/src/common/UserUtility" {
4032
4494
  import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
4033
4495
  import { IntlShape } from 'react-intl';
4034
4496
  export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
4035
4497
  }
4498
+ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
4499
+ export const smallScreenSpacing = 10;
4500
+ export const smallMaxContentWidth: number;
4501
+ export const mediumMaxContentWidth: number;
4502
+ export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4503
+ }
4504
+ declare module "libs/reach/ui/common/src/common/Utils" {
4505
+ import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
4506
+ import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
4507
+ export function isValidUrl(url: string): boolean;
4508
+ export function getGoogleMapsSearchLink(name: string): string;
4509
+ export function tryGetInternalLink(url: string, appUrls: string[]): string;
4510
+ export function getExternalContentUrl(item: PublishableItem, language: string): string;
4511
+ export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
4512
+ export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
4513
+ export function delay(delayInMs: number): Promise<unknown>;
4514
+ export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4515
+ defaultWidth?: number;
4516
+ showPlaceholder?: boolean;
4517
+ }, never>;
4518
+ export function encodeChannelName(channelName: string): string;
4519
+ }
4036
4520
  declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
4037
4521
  import { FC, ReactNode } from 'react';
4038
4522
  import { PrimitiveType } from 'intl-messageformat';
@@ -4056,12 +4540,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
4056
4540
  }
4057
4541
  declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
4058
4542
  import { FC } from 'react';
4543
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
4059
4544
  export const AutoTranslateButton: FC<{
4060
4545
  contentLanguageCode: string;
4061
4546
  originalContent: string;
4062
4547
  content: string;
4063
4548
  onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
4064
4549
  onContentChange: (content: string) => void;
4550
+ itemType: ItemResourceTypes;
4551
+ itemId: string;
4065
4552
  tooltipResourceKey?: string;
4066
4553
  showLabel?: boolean;
4067
4554
  }>;
@@ -4345,6 +4832,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
4345
4832
  className?: string;
4346
4833
  }>;
4347
4834
  }
4835
+ declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
4836
+ export const useIsMounted: () => () => boolean;
4837
+ }
4348
4838
  declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
4349
4839
  import { PaginatedList } from "libs/reach/util/common/src/index";
4350
4840
  import { DependencyList, SetStateAction } from 'react';
@@ -4649,8 +5139,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
4649
5139
  export interface Props extends IPersonaProps {
4650
5140
  upn: string;
4651
5141
  tenantId?: string;
4652
- className?: string;
4653
5142
  displayName?: string;
5143
+ forceShowSecondaryText?: boolean;
5144
+ className?: string;
4654
5145
  }
4655
5146
  export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
4656
5147
  static type: string;
@@ -4825,6 +5316,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4825
5316
  export * from "libs/reach/ui/common/src/common/grid/Grid";
4826
5317
  export * from "libs/reach/ui/common/src/common/hooks/usePagination";
4827
5318
  export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
5319
+ export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
4828
5320
  export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
4829
5321
  export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
4830
5322
  export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
@@ -4857,6 +5349,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4857
5349
  export * from "libs/reach/ui/common/src/common/error-states/index";
4858
5350
  export * from "libs/reach/ui/common/src/common/MenuItemBadge";
4859
5351
  export * from "libs/reach/ui/common/src/common/editor-svg/index";
5352
+ export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
4860
5353
  }
4861
5354
  declare module "libs/reach/ui/common/src/error/PageAlert" {
4862
5355
  import { ReactNode } from 'react';
@@ -4908,7 +5401,7 @@ declare module "libs/reach/ui/common/src/index" {
4908
5401
  export * from "libs/reach/ui/common/src/ColorEditor";
4909
5402
  }
4910
5403
  declare module "apps/reach-app/src/app/chrome/CloseButton" {
4911
- import { FC } from 'react';
5404
+ import { FC, DependencyList } from 'react';
4912
5405
  export interface Props {
4913
5406
  navigateTo: string;
4914
5407
  onClose?: () => void;
@@ -4917,7 +5410,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
4917
5410
  className?: string;
4918
5411
  }
4919
5412
  export const CloseButton: FC<Props>;
4920
- export function useEscapeOnClose(onClose: () => void): void;
5413
+ export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
4921
5414
  }
4922
5415
  declare module "apps/reach-app/src/app/common/LogoStyles" {
4923
5416
  export const LogoHostStyle: (size?: {
@@ -4981,8 +5474,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
4981
5474
  export const SkipLinksContextProvider: FC;
4982
5475
  }
4983
5476
  declare module "apps/reach-app/src/app/useAddSkipLinks" {
5477
+ import { DependencyList } from 'react';
4984
5478
  import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
4985
- export function useAddSkipLinks(...skipLinks: SkipLink[]): void;
5479
+ export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
4986
5480
  }
4987
5481
  declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
4988
5482
  import { FC } from 'react';
@@ -5008,9 +5502,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
5008
5502
  }
5009
5503
  declare module "apps/reach-app/src/app/chrome/BasicPage" {
5010
5504
  import { FC, ReactNode } from 'react';
5505
+ import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5011
5506
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
5012
5507
  import './BasicPage.scss';
5013
- import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5014
5508
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
5015
5509
  type HeaderToolbarObjectTypeHack = {
5016
5510
  toolbarElement: JSX.Element;
@@ -5033,6 +5527,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
5033
5527
  closeButtonOptions?: CloseButtonOptions;
5034
5528
  showSearchBox?: boolean;
5035
5529
  disableScrollableContainerFocus?: boolean;
5530
+ asModal?: boolean;
5531
+ domIdentifier?: string;
5036
5532
  }
5037
5533
  export const BasicPage: FC<Props>;
5038
5534
  }
@@ -5126,7 +5622,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
5126
5622
  addLanguage: (code: string) => Promise<Language>;
5127
5623
  setDefaultLanguage: (code: string) => Promise<Language>;
5128
5624
  removeLanguage: (code: string) => Promise<unknown>;
5129
- setSubscriptionName: (name: string) => Promise<string>;
5625
+ setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
5626
+ name: string | null;
5627
+ hideName: boolean | null;
5628
+ }>;
5130
5629
  setSubscriptionHandle: (handle: string) => Promise<string>;
5131
5630
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
5132
5631
  updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
@@ -5432,11 +5931,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
5432
5931
  export { PushClient };
5433
5932
  }
5434
5933
  declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5435
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5436
- export class MobileHybridStorage implements StoragePlugin {
5934
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5935
+ export class MobileHybridStorage implements PreferencesPlugin {
5437
5936
  private pluginStorage;
5438
5937
  private static memoryStorage;
5439
- constructor(pluginStorage: StoragePlugin);
5938
+ constructor(pluginStorage: PreferencesPlugin);
5440
5939
  get(options: {
5441
5940
  key: string;
5442
5941
  }): Promise<any>;
@@ -5448,7 +5947,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5448
5947
  key: string;
5449
5948
  }): Promise<void>;
5450
5949
  clear(): Promise<void>;
5451
- keys(): Promise<import("@capacitor/storage").KeysResult>;
5950
+ keys(): Promise<import("@capacitor/preferences").KeysResult>;
5452
5951
  private static updateInMemoryStorage;
5453
5952
  configure(options: ConfigureOptions): Promise<void>;
5454
5953
  migrate(): Promise<MigrateResult>;
@@ -5484,7 +5983,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
5484
5983
  export const mockStatusBarPlugin: StatusBarPlugin;
5485
5984
  }
5486
5985
  declare module "libs/shared/util/capacitor/src/WebDevice" {
5487
- import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
5986
+ import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
5488
5987
  import { PluginListenerHandle } from '@capacitor/core';
5489
5988
  export class WebDeviceFallback implements DevicePlugin {
5490
5989
  addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
@@ -5493,6 +5992,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
5493
5992
  getId(): Promise<DeviceId>;
5494
5993
  getBatteryInfo(): Promise<BatteryInfo>;
5495
5994
  getLanguageCode(): Promise<GetLanguageCodeResult>;
5995
+ getLanguageTag(): Promise<LanguageTag>;
5496
5996
  }
5497
5997
  }
5498
5998
  declare module "libs/shared/util/capacitor/src/WebNetwork" {
@@ -5509,8 +6009,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
5509
6009
  }
5510
6010
  }
5511
6011
  declare module "libs/shared/util/capacitor/src/WebStorage" {
5512
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5513
- export class WebStorage implements StoragePlugin {
6012
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
6013
+ export class WebStorage implements PreferencesPlugin {
5514
6014
  storage: Storage;
5515
6015
  get(options: {
5516
6016
  key: string;
@@ -5544,14 +6044,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
5544
6044
  import { SharePlugin } from '@capacitor/share';
5545
6045
  import { SplashScreenPlugin } from '@capacitor/splash-screen';
5546
6046
  import { StatusBarPlugin } from '@capacitor/status-bar';
5547
- import { StoragePlugin } from '@capacitor/storage';
6047
+ import { PreferencesPlugin } from '@capacitor/preferences';
5548
6048
  import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
5549
6049
  import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
5550
6050
  import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
5551
6051
  import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
5552
6052
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
5553
6053
  export interface CondensePluginRegistry {
5554
- Storage: StoragePlugin;
6054
+ Storage: PreferencesPlugin;
5555
6055
  Device: DevicePlugin;
5556
6056
  App: AppPlugin;
5557
6057
  Keyboard: KeyboardPlugin;
@@ -6213,7 +6713,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
6213
6713
  import { UserRegistrationResult } from "libs/reach/util/common/src/index";
6214
6714
  import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
6215
6715
  export function useSelfRegistrationApi(): {
6216
- changeRegistrationStatus: (upn: string, doAccept: boolean) => any;
6716
+ changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
6217
6717
  hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
6218
6718
  register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
6219
6719
  updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
@@ -6269,6 +6769,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6269
6769
  onSaved: (newProperties: UpdatableUserProperties) => void;
6270
6770
  }>;
6271
6771
  }
6772
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6773
+ import { FC } from 'react';
6774
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6775
+ export const GenerateApiKeyDialog: FC<{
6776
+ onApiKeyAdded?: () => void;
6777
+ onDismiss: () => void;
6778
+ user?: UserItem;
6779
+ }>;
6780
+ }
6272
6781
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6273
6782
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6274
6783
  import './UserList.scss';
@@ -6292,7 +6801,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6292
6801
  isLoading?: boolean;
6293
6802
  isEmpty?: boolean;
6294
6803
  emptyPlaceholder?: ReactNode;
6804
+ onKeyChanged?: () => void;
6295
6805
  }
6806
+ export type UserItem = Account & UserSummary & GroupUser & {
6807
+ accountType: string;
6808
+ lastLogin: string | JSX.Element;
6809
+ };
6296
6810
  export const UserList: FC<Props>;
6297
6811
  }
6298
6812
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6325,12 +6839,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6325
6839
  className?: string;
6326
6840
  }>;
6327
6841
  }
6328
- declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
6329
- import { FC } from 'react';
6330
- export const GenerateApiKeyButton: FC<{
6331
- onApiKeyAdded: () => void;
6332
- }>;
6333
- }
6334
6842
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6335
6843
  import { FC } from 'react';
6336
6844
  import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
@@ -6350,19 +6858,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
6350
6858
  }
6351
6859
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
6352
6860
  import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6861
+ export enum ValidationStatus {
6862
+ Valid = 0,
6863
+ WithErrors = 1,
6864
+ WithUserErrors = 2
6865
+ }
6866
+ export type CsvValidation = {
6867
+ Status?: ValidationStatus;
6868
+ Message?: string;
6869
+ InvalidItems?: string[];
6870
+ };
6353
6871
  export function useUserCsvInviter(): {
6354
6872
  invitedUsers: UserImport[];
6355
6873
  isValidating: boolean;
6356
6874
  isCsvValid: boolean;
6357
6875
  parseCsvFile: (csvFile: File) => void;
6358
- error: string;
6359
- setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6876
+ csvValidation: CsvValidation;
6877
+ setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
6360
6878
  inviteUsers: (onSuccess?: () => void) => Promise<void>;
6361
6879
  isParserReady: boolean;
6362
6880
  isInviting: boolean;
6363
6881
  canInvite: boolean;
6882
+ csvFile: File;
6364
6883
  };
6365
6884
  }
6885
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
6886
+ export function createCsvUrl(header: string, content: string): string;
6887
+ }
6888
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
6889
+ import { FC } from 'react';
6890
+ import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
6891
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6892
+ export const CsvFileValidationResult: FC<{
6893
+ csvValidation: CsvValidation;
6894
+ invitedUsers: UserImport[];
6895
+ }>;
6896
+ }
6366
6897
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6367
6898
  import { FC } from 'react';
6368
6899
  export const ImportUserButton: FC<{
@@ -6395,34 +6926,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
6395
6926
  children?: (content: string, index: number) => JSX.Element;
6396
6927
  }>;
6397
6928
  }
6398
- declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6399
- export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
6400
- }
6401
6929
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6402
6930
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6403
- export class EventResponseTriggerAction implements AppTriggerAction {
6931
+ export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
6404
6932
  static type: string;
6405
6933
  type: string;
6406
6934
  itemId: string;
6407
6935
  response: EventResponse;
6408
6936
  locationId: string;
6409
6937
  onBehalfOfUpn: string;
6410
- static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventResponseTriggerAction;
6938
+ static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
6411
6939
  }
6412
- export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6940
+ export class EventResponseTriggerAction implements AppTriggerAction {
6413
6941
  static type: string;
6414
6942
  type: string;
6415
- recurrenceSeriesId: string;
6943
+ itemId: string;
6416
6944
  response: EventResponse;
6417
- static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6945
+ static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
6418
6946
  }
6419
- export class LikeFullSeriesTriggerAction implements AppTriggerAction {
6947
+ export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6420
6948
  static type: string;
6421
6949
  type: string;
6422
6950
  recurrenceSeriesId: string;
6423
- itemId: string;
6424
- isLiked: boolean;
6425
- static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
6951
+ response: EventResponse;
6952
+ static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6426
6953
  }
6427
6954
  export class FollowCommentsTriggerAction implements AppTriggerAction {
6428
6955
  static type: string;
@@ -6437,6 +6964,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6437
6964
  followByDefault: boolean;
6438
6965
  static create(followState: boolean): AutoFollowPostsTriggerAction;
6439
6966
  }
6967
+ export class AutoLikeItemTriggerAction implements AppTriggerAction {
6968
+ static type: string;
6969
+ type: string;
6970
+ recurrenceSeriesId: string;
6971
+ isLiked: boolean;
6972
+ likeCount: number;
6973
+ static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6974
+ }
6975
+ export class AutoFollowItemTriggerAction implements AppTriggerAction {
6976
+ static type: string;
6977
+ type: string;
6978
+ recurrenceSeriesId: string;
6979
+ isFollowed: boolean;
6980
+ static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
6981
+ }
6440
6982
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6441
6983
  static type: string;
6442
6984
  type: string;
@@ -6457,6 +6999,26 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6457
6999
  type: string;
6458
7000
  static create(): StreamMarkAllAsReadAction;
6459
7001
  }
7002
+ export class RefetchItemAction implements AppTriggerAction {
7003
+ static type: string;
7004
+ type: string;
7005
+ itemId: string;
7006
+ static create(itemId: string): RefetchItemAction;
7007
+ }
7008
+ export class RefetchStreamItemAction implements AppTriggerAction {
7009
+ static type: string;
7010
+ type: string;
7011
+ itemId: string;
7012
+ static create(itemId: string): RefetchStreamItemAction;
7013
+ }
7014
+ export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
7015
+ static type: string;
7016
+ type: string;
7017
+ pageId: string;
7018
+ parentId: string;
7019
+ affectedGroupIds: string[];
7020
+ static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
7021
+ }
6460
7022
  }
6461
7023
  declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6462
7024
  export interface CommentFilter {
@@ -6473,119 +7035,44 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
6473
7035
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6474
7036
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
6475
7037
  import { Attachment } from "libs/reach/util/common/src/index";
7038
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6476
7039
  import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
6477
7040
  export function useCommentApi(): {
6478
- createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => any;
6479
- createEditorComment: (itemId: string, comment: Partial<Comment>) => any;
6480
- listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => any;
6481
- getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => any;
6482
- getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => any;
6483
- getEditorConversations: (itemId: string) => any;
7041
+ createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7042
+ createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7043
+ listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7044
+ getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7045
+ getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
7046
+ getEditorConversations: (itemId: string) => Promise<Comment[]>;
6484
7047
  translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
6485
- deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => any;
6486
- deleteEditorComment: (itemId: string, commentId: string) => any;
7048
+ deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
7049
+ deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
6487
7050
  toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
6488
- updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => any;
7051
+ updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
6489
7052
  onCommentCreated$: import("rxjs").Observable<string>;
6490
7053
  };
6491
7054
  }
6492
- declare module "libs/reach/feature/content/src/comments/FollowComments" {
7055
+ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
7056
+ export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
7057
+ }
7058
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
6493
7059
  import { FC } from 'react';
6494
- import { ConversationScope } from "libs/reach/util/common/src/index";
6495
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6496
- interface Props {
6497
- type: ItemResourceTypes;
6498
- itemId: string;
6499
- className?: string;
6500
- scope: ConversationScope;
6501
- hideProfileUrl?: boolean;
6502
- }
6503
- export const FollowComments: FC<Props>;
7060
+ export const ConfirmationBox: FC<{
7061
+ disabled?: boolean;
7062
+ onChange?: (value: boolean) => void;
7063
+ checked: boolean;
7064
+ }>;
6504
7065
  }
6505
- declare module "libs/reach/feature/content/src/comments/CommentInput" {
6506
- import { ReactNode } from 'react';
6507
- import { Account } from "libs/reach/util/common/src/index";
6508
- export interface UserSuggestion {
6509
- id: string;
6510
- upn: string;
6511
- displayName: string;
6512
- display: string;
6513
- }
6514
- export interface SuggestionArgs {
6515
- searchText: string;
6516
- updateSuggestions: (suggestions: UserSuggestion[]) => any;
6517
- }
6518
- export interface CommentInputProps {
6519
- className?: string;
6520
- content: string;
6521
- disabled?: boolean;
6522
- autoFocus?: boolean;
6523
- onEnter?: () => void;
6524
- onCtrlEnter?: () => unknown;
6525
- onChange?: (value: string) => void;
6526
- onFocus?: () => void;
6527
- additionalInputControl?: ReactNode;
6528
- buttons?: {
6529
- leftSide?: ReactNode;
6530
- rightSide?: ReactNode;
6531
- };
6532
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
6533
- placeHolderStringResourceKey?: string;
6534
- placeHolderStringResourceValues?: {
6535
- [key: string]: string | number | boolean | Date;
6536
- };
6537
- disableBoxShadow?: boolean;
6538
- ariaLabel?: string;
6539
- }
6540
- export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
6541
- }
6542
- declare module "libs/reach/feature/content/src/comments/DropInfo" {
6543
- import { FC } from 'react';
6544
- export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7066
+ declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
7067
+ import { FC, ReactNode } from 'react';
7068
+ export const GutterMarkerIcon: FC<{
7069
+ iconName: string;
7070
+ children: ReactNode;
6545
7071
  isActive: boolean;
6546
- }, never>;
6547
- export const DropInfo: FC;
6548
- }
6549
- declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6550
- import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
6551
- export interface KalturaProperties {
6552
- sp?: string;
6553
- uiconfId?: string;
6554
- partnerId?: string;
6555
- entryId?: string;
6556
- }
6557
- export class VideoUrlParser {
6558
- private url;
6559
- private static ytRegex;
6560
- private static vimeoRegex;
6561
- private static microsoftStreamRegex;
6562
- private static vimeoDirectLinkRegex;
6563
- private static vimeoRedirectLinkRegex;
6564
- private static kalturaRegex;
6565
- readonly source: VideoSource | null;
6566
- readonly id: string | null;
6567
- readonly isDirectVideoUrl: boolean;
6568
- readonly videoProperties: any;
6569
- readonly thumbnailUrl: string;
6570
- constructor(url: string);
6571
- isValid(features: FeatureSet): boolean;
6572
- }
6573
- export function getVideoSources(features: FeatureSet): any[];
6574
- export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
6575
- export function getAllVideoSources(features: FeatureSet): any[];
6576
- }
6577
- declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
6578
- import { AttachmentType } from "libs/reach/util/common/src/index";
6579
- export function getAllVideosFromString(content: string): Generator<{
6580
- url: string;
6581
- type: AttachmentType;
6582
- }, void, unknown>;
6583
- export function getEmbeddedObjectsFromString(content: string): Generator<{
6584
- url: string;
6585
- subscriptionIdentifier: string;
6586
- type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
6587
- id: string;
6588
- }, void, unknown>;
7072
+ color: string;
7073
+ tooltipResourceKey?: string;
7074
+ className?: string;
7075
+ }>;
6589
7076
  }
6590
7077
  declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
6591
7078
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
@@ -6616,7 +7103,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6616
7103
  import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6617
7104
  import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6618
7105
  import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6619
- export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
7106
+ export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
6620
7107
  }
6621
7108
  export interface BaseFilterDefinition {
6622
7109
  search?: string;
@@ -6624,6 +7111,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6624
7111
  pageSize?: string | number;
6625
7112
  groupId?: string;
6626
7113
  }
7114
+ export interface ItemIdsFilterDefinition {
7115
+ itemIds?: string;
7116
+ }
6627
7117
  export interface IndexableFilterDefinition {
6628
7118
  [key: string]: any;
6629
7119
  }
@@ -6636,6 +7126,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6636
7126
  And = "AND"
6637
7127
  }
6638
7128
  }
7129
+ declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
7130
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7131
+ export interface AuthorFilterDefinition extends IndexableFilterDefinition {
7132
+ author?: string;
7133
+ }
7134
+ }
7135
+ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
7136
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7137
+ export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
7138
+ channels?: FilterWithLogicalOperator;
7139
+ }
7140
+ }
7141
+ declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
7142
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7143
+ import { WorkflowStatus } from "libs/reach/util/common/src/index";
7144
+ export interface StateFilterDefinition extends IndexableFilterDefinition {
7145
+ state?: WorkflowStatus;
7146
+ }
7147
+ }
7148
+ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
7149
+ import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
7150
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7151
+ import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
7152
+ import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
7153
+ export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
7154
+ groupId?: string;
7155
+ bookmarksOnly?: boolean;
7156
+ unreadOnly?: boolean;
7157
+ includeExpired?: boolean;
7158
+ }
7159
+ }
7160
+ declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
7161
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7162
+ export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
7163
+ afterDate?: string;
7164
+ }
7165
+ }
7166
+ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
7167
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7168
+ export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
7169
+ contacts?: string[];
7170
+ }
7171
+ }
6639
7172
  declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
6640
7173
  import { SortDirection } from "libs/reach/util/common/src/index";
6641
7174
  export class SortFieldsDefinitionBuilder<T extends string> {
@@ -6651,18 +7184,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
6651
7184
  startsBefore?: string;
6652
7185
  }
6653
7186
  }
6654
- declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
6655
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6656
- export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
6657
- contacts?: string[];
6658
- }
6659
- }
6660
- declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
6661
- import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6662
- export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
6663
- channels?: FilterWithLogicalOperator;
6664
- }
6665
- }
6666
7187
  declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6667
7188
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6668
7189
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
@@ -6679,18 +7200,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6679
7200
  }
6680
7201
  export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
6681
7202
  }
6682
- declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
6683
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6684
- export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
6685
- afterDate?: string;
6686
- }
6687
- }
6688
- declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
6689
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6690
- export interface AuthorFilterDefinition extends IndexableFilterDefinition {
6691
- author?: string;
6692
- }
6693
- }
6694
7203
  declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6695
7204
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6696
7205
  export interface FilteringProps {
@@ -6700,25 +7209,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6700
7209
  isFilterActive?: boolean;
6701
7210
  }
6702
7211
  }
6703
- declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
6704
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6705
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
6706
- export interface StateFilterDefinition extends IndexableFilterDefinition {
6707
- state?: WorkflowStatus;
6708
- }
6709
- }
6710
- declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
6711
- import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
6712
- import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6713
- import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6714
- import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
6715
- export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
6716
- groupId?: string;
6717
- bookmarksOnly?: boolean;
6718
- unreadOnly?: boolean;
6719
- includeExpired?: boolean;
6720
- }
6721
- }
6722
7212
  declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
6723
7213
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6724
7214
  export enum ItemTypeFilterFlag {
@@ -6800,16 +7290,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
6800
7290
  };
6801
7291
  export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
6802
7292
  }
6803
- declare module "libs/reach/feature/content/src/events/useEventsApi" {
6804
- import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6805
- import { PaginatedList } from "libs/reach/util/common/src/index";
6806
- import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
6807
- export function useEventsApi(): {
6808
- getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
6809
- getEvent: (id: string) => Promise<EventItem>;
6810
- getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
6811
- };
6812
- }
6813
7293
  declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
6814
7294
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6815
7295
  import { Observable } from 'rxjs';
@@ -6869,46 +7349,255 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
6869
7349
  import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
6870
7350
  export function useNewsApi(): NewsApiService;
6871
7351
  }
6872
- declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
6873
- import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6874
- import { PageType } from "libs/reach/util/common/src/index";
6875
- export interface PageFilterDefinition extends PublishableItemFilterDefinition {
6876
- pageContextId?: string;
6877
- restrictToPageContext?: boolean;
6878
- rootPagesOnly?: boolean;
6879
- parentId?: string;
6880
- pageType?: PageType;
7352
+ declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7353
+ import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7354
+ export default interface FeedbackSummary {
7355
+ records: FeedbackItem[];
7356
+ }
7357
+ export enum FeedbackItemType {
7358
+ comment = "comment",
7359
+ like = "like",
7360
+ confirm = "confirm",
7361
+ poll = "poll",
7362
+ eventRegistration = "eventRegistration"
7363
+ }
7364
+ export interface FeedbackItem {
7365
+ type: FeedbackItemType;
7366
+ timestamp: string;
7367
+ }
7368
+ export interface PollFeedbackItem extends FeedbackItem {
7369
+ type: FeedbackItemType.poll;
7370
+ answers: PollQuestionAnswer[];
6881
7371
  }
6882
7372
  }
6883
- declare module "libs/reach/feature/content/src/pages/usePagesApi" {
6884
- import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
6885
- import { PaginatedList } from "libs/reach/util/common/src/index";
6886
- import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
6887
- export function usePagesApi(): {
6888
- loadPage: (id: string) => Promise<PageItem>;
6889
- loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
6890
- getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
6891
- getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6892
- searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6893
- getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6894
- searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
6895
- getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
6896
- searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
7373
+ declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7374
+ import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7375
+ import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7376
+ import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7377
+ export const feedbackCache: {
7378
+ [newsId: string]: Promise<FeedbackSummary>;
7379
+ };
7380
+ export function useFeedbackApi(): {
7381
+ getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7382
+ setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7383
+ unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7384
+ updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7385
+ getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7386
+ getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
6897
7387
  };
6898
7388
  }
6899
- declare module "libs/reach/feature/content/src/posts/utils" {
6900
- import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
6901
- import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6902
- export interface Post extends BaseItem, ItemWithAttachments {
6903
- id: string;
6904
- comments?: PaginatedList<Comment>;
6905
- groupId: string;
6906
- content: string;
6907
- permalink?: string;
6908
- author: Account;
6909
- publishingDate: string;
6910
- modified?: string;
6911
- statistics: ItemStatistics;
7389
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
7390
+ import { FC } from 'react';
7391
+ import { NewsItem } from "libs/reach/util/common/src/index";
7392
+ export const ConfirmationSection: FC<{
7393
+ item?: NewsItem;
7394
+ showDescription: boolean;
7395
+ readOnly?: boolean;
7396
+ className?: string;
7397
+ }>;
7398
+ }
7399
+ declare module "libs/reach/feature/content/src/news/NewsService" {
7400
+ import { CurrentUser } from "libs/reach/util/common/src/index";
7401
+ import { LanguageBase } from "libs/reach/util/common/src/index";
7402
+ import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7403
+ export class NewsService {
7404
+ static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7405
+ static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7406
+ static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7407
+ static getContentLanguages(contents: {
7408
+ [lang: string]: ContentDefinition;
7409
+ }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7410
+ static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7411
+ static getLanguageForContent(contents: {
7412
+ [lang: string]: ContentDefinition;
7413
+ }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7414
+ static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7415
+ }
7416
+ }
7417
+ declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7418
+ import { FC } from 'react';
7419
+ import { PublishableItemContents } from "libs/reach/util/common/src/index";
7420
+ export interface TranslationItem {
7421
+ language: string;
7422
+ id: string;
7423
+ text: string;
7424
+ }
7425
+ export const PollTranslationContext: import("react").Context<{
7426
+ getTranslation: (id: string) => string;
7427
+ getAllTranslations: (id: string) => TranslationItem[];
7428
+ }>;
7429
+ export const PollTranslationContextProvider: FC<{
7430
+ contents?: PublishableItemContents;
7431
+ language: string;
7432
+ additionalTranslations?: TranslationItem[];
7433
+ }>;
7434
+ }
7435
+ declare module "libs/reach/feature/content/src/feedback/utils" {
7436
+ import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7437
+ export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7438
+ export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7439
+ export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
7440
+ }
7441
+ declare module "libs/reach/feature/content/src/feedback/index" {
7442
+ export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
7443
+ export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
7444
+ export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
7445
+ export * from "libs/reach/feature/content/src/feedback/utils";
7446
+ }
7447
+ declare module "libs/reach/feature/content/src/comments/FollowComments" {
7448
+ import { FC } from 'react';
7449
+ import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
7450
+ export interface Props {
7451
+ type: ItemResourceTypes;
7452
+ itemId: string;
7453
+ recurrenceSeriesId?: string;
7454
+ className?: string;
7455
+ scope: ConversationScope;
7456
+ hideProfileUrl?: boolean;
7457
+ onToggleFollow?: (isFollowed: boolean) => void;
7458
+ isReadOnly?: boolean;
7459
+ }
7460
+ export const FollowComments: FC<Props>;
7461
+ export const FollowCommentsNotificationWarning: FC<{
7462
+ hideProfileUrl?: boolean;
7463
+ className?: string;
7464
+ }>;
7465
+ }
7466
+ declare module "libs/reach/feature/content/src/comments/CommentInput" {
7467
+ import { ReactNode } from 'react';
7468
+ import { Account } from "libs/reach/util/common/src/index";
7469
+ export interface UserSuggestion {
7470
+ id: string;
7471
+ upn: string;
7472
+ displayName: string;
7473
+ display: string;
7474
+ }
7475
+ export interface SuggestionArgs {
7476
+ searchText: string;
7477
+ updateSuggestions: (suggestions: UserSuggestion[]) => any;
7478
+ }
7479
+ export interface CommentInputProps {
7480
+ className?: string;
7481
+ content: string;
7482
+ disabled?: boolean;
7483
+ autoFocus?: boolean;
7484
+ onEnter?: () => void;
7485
+ onCtrlEnter?: () => unknown;
7486
+ onChange?: (value: string) => void;
7487
+ onFocus?: () => void;
7488
+ additionalInputControl?: ReactNode;
7489
+ buttons?: {
7490
+ leftSide?: ReactNode;
7491
+ rightSide?: ReactNode;
7492
+ };
7493
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7494
+ placeHolderStringResourceKey?: string;
7495
+ placeHolderStringResourceValues?: {
7496
+ [key: string]: string | number | boolean | Date;
7497
+ };
7498
+ disableBoxShadow?: boolean;
7499
+ ariaLabel?: string;
7500
+ }
7501
+ export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
7502
+ }
7503
+ declare module "libs/reach/feature/content/src/comments/DropInfo" {
7504
+ import { FC } from 'react';
7505
+ export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7506
+ isActive: boolean;
7507
+ }, never>;
7508
+ export const DropInfo: FC;
7509
+ }
7510
+ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
7511
+ import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
7512
+ export interface KalturaProperties {
7513
+ sp?: string;
7514
+ uiconfId?: string;
7515
+ partnerId?: string;
7516
+ entryId?: string;
7517
+ }
7518
+ export class VideoUrlParser {
7519
+ private url;
7520
+ private static ytRegex;
7521
+ private static vimeoRegex;
7522
+ private static microsoftStreamRegex;
7523
+ private static vimeoDirectLinkRegex;
7524
+ private static vimeoRedirectLinkRegex;
7525
+ private static kalturaRegex;
7526
+ readonly source: VideoSource | null;
7527
+ readonly id: string | null;
7528
+ readonly isDirectVideoUrl: boolean;
7529
+ readonly videoProperties: any;
7530
+ readonly thumbnailUrl: string;
7531
+ constructor(url: string);
7532
+ isValid(features: FeatureSet): boolean;
7533
+ }
7534
+ export function getVideoSources(features: FeatureSet): any[];
7535
+ export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
7536
+ export function getAllVideoSources(features: FeatureSet): any[];
7537
+ }
7538
+ declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
7539
+ import { AttachmentType } from "libs/reach/util/common/src/index";
7540
+ export function getAllVideosFromString(content: string): Generator<{
7541
+ url: string;
7542
+ type: AttachmentType;
7543
+ }, void, unknown>;
7544
+ export function getEmbeddedObjectsFromString(content: string): Generator<{
7545
+ url: string;
7546
+ subscriptionIdentifier: string;
7547
+ type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
7548
+ id: string;
7549
+ }, void, unknown>;
7550
+ }
7551
+ declare module "libs/reach/feature/content/src/events/useEventsApi" {
7552
+ import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
7553
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7554
+ import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
7555
+ export function useEventsApi(): {
7556
+ getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
7557
+ getEvent: (id: string) => Promise<EventItem>;
7558
+ getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
7559
+ };
7560
+ }
7561
+ declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
7562
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7563
+ import { PageType } from "libs/reach/util/common/src/index";
7564
+ export interface PageFilterDefinition extends PublishableItemFilterDefinition {
7565
+ pageContextId?: string;
7566
+ restrictToPageContext?: boolean;
7567
+ rootPagesOnly?: boolean;
7568
+ parentId?: string;
7569
+ pageType?: PageType;
7570
+ }
7571
+ }
7572
+ declare module "libs/reach/feature/content/src/pages/usePagesApi" {
7573
+ import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
7574
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7575
+ import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
7576
+ export function usePagesApi(): {
7577
+ loadPage: (id: string) => Promise<PageItem>;
7578
+ loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
7579
+ getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
7580
+ getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7581
+ searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7582
+ getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7583
+ searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7584
+ getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
7585
+ searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
7586
+ };
7587
+ }
7588
+ declare module "libs/reach/feature/content/src/posts/utils" {
7589
+ import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
7590
+ import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7591
+ export interface Post extends BaseItem, ItemWithAttachments {
7592
+ id: string;
7593
+ comments?: PaginatedList<Comment>;
7594
+ groupId: string;
7595
+ content: string;
7596
+ permalink?: string;
7597
+ author: Account;
7598
+ publishingDate: string;
7599
+ modified?: string;
7600
+ statistics: ItemStatistics;
6912
7601
  keywords?: {
6913
7602
  [key: string]: Keyword[];
6914
7603
  };
@@ -6944,7 +7633,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
6944
7633
  deletePost: (postId: string) => Promise<unknown>;
6945
7634
  getPost: (postId: string, commentCount?: number) => Promise<Post>;
6946
7635
  getPostThread: (postId: string, threadId: string) => Promise<Post>;
6947
- translatePost: (postId: string, language: string) => any;
7636
+ translatePost: (postId: string, language: string) => Promise<string>;
6948
7637
  searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
6949
7638
  };
6950
7639
  }
@@ -6954,7 +7643,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
6954
7643
  }
6955
7644
  declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6956
7645
  import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
6957
- import { Attachment } from "libs/reach/util/common/src/index";
7646
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
6958
7647
  export interface ClientAttachment extends Attachment {
6959
7648
  file?: File;
6960
7649
  }
@@ -6970,6 +7659,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6970
7659
  placeHolderStringResourceKey?: string;
6971
7660
  disableAddGif?: boolean;
6972
7661
  disableAddFiles?: boolean;
7662
+ parentId?: string;
7663
+ itemResourceType?: ItemResourceTypes | string;
6973
7664
  };
6974
7665
  export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
6975
7666
  attachments: Attachment[];
@@ -6982,6 +7673,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6982
7673
  placeHolderStringResourceKey?: string;
6983
7674
  disableAddGif?: boolean;
6984
7675
  disableAddFiles?: boolean;
7676
+ parentId?: string;
7677
+ itemResourceType?: ItemResourceTypes | string;
6985
7678
  } & import("react").RefAttributes<HTMLInputElement>>;
6986
7679
  }
6987
7680
  declare module "libs/reach/feature/content/src/comments/utils" {
@@ -7090,27 +7783,10 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
7090
7783
  showAllKeywordsInCallout?: boolean;
7091
7784
  }>;
7092
7785
  }
7093
- declare module "libs/reach/feature/content/src/news/NewsService" {
7094
- import { CurrentUser } from "libs/reach/util/common/src/index";
7095
- import { LanguageBase } from "libs/reach/util/common/src/index";
7096
- import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7097
- export class NewsService {
7098
- static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7099
- static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7100
- static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7101
- static getContentLanguages(contents: {
7102
- [lang: string]: ContentDefinition;
7103
- }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7104
- static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7105
- static getLanguageForContent(contents: {
7106
- [lang: string]: ContentDefinition;
7107
- }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7108
- static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7109
- }
7110
- }
7111
7786
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7112
7787
  import { FC, MouseEvent } from 'react';
7113
7788
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7789
+ import { LocationState } from 'history';
7114
7790
  export const ClickableOverlay: FC<{
7115
7791
  itemId: string;
7116
7792
  itemType: ItemResourceTypes;
@@ -7121,6 +7797,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7121
7797
  onClick?: (event: MouseEvent<unknown>) => unknown;
7122
7798
  openTargetInNewWindow?: boolean;
7123
7799
  isExternalContent?: boolean;
7800
+ locationState?: LocationState;
7801
+ }>;
7802
+ }
7803
+ declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
7804
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7805
+ import { FC } from 'react';
7806
+ export const ClickableOverlayWithModalRouting: FC<{
7807
+ itemId: string;
7808
+ itemType: ItemResourceTypes;
7809
+ baseRoute: string;
7810
+ title?: string;
7811
+ isExternalContent?: boolean;
7812
+ targetUrl?: string;
7124
7813
  }>;
7125
7814
  }
7126
7815
  declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
@@ -7131,6 +7820,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
7131
7820
  targetUrl?: string;
7132
7821
  readOnly?: boolean;
7133
7822
  backgroundColor?: string;
7823
+ enableModalRouting?: boolean;
7134
7824
  className?: string;
7135
7825
  }>;
7136
7826
  }
@@ -7168,6 +7858,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7168
7858
  className?: string;
7169
7859
  allowFilterByChannels?: boolean;
7170
7860
  channelBackgroundColor?: string;
7861
+ onChannelClick?: (channel: string) => unknown;
7171
7862
  }>;
7172
7863
  }
7173
7864
  declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
@@ -7227,6 +7918,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7227
7918
  height?: number;
7228
7919
  hidePlayerIfActive?: boolean;
7229
7920
  className?: string;
7921
+ documentIconName?: string;
7230
7922
  }
7231
7923
  export const PublishableItemBanner: FC<Props>;
7232
7924
  }
@@ -7312,34 +8004,13 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7312
8004
  }
7313
8005
  export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
7314
8006
  }
7315
- declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7316
- import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7317
- export default interface FeedbackSummary {
7318
- records: FeedbackItem[];
7319
- }
7320
- export enum FeedbackItemType {
7321
- comment = "comment",
7322
- like = "like",
7323
- confirm = "confirm",
7324
- poll = "poll",
7325
- eventRegistration = "eventRegistration"
7326
- }
7327
- export interface FeedbackItem {
7328
- type: FeedbackItemType;
7329
- timestamp: string;
7330
- }
7331
- export interface PollFeedbackItem extends FeedbackItem {
7332
- type: FeedbackItemType.poll;
7333
- answers: PollQuestionAnswer[];
7334
- }
7335
- }
7336
- declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
7337
- import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7338
- import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
7339
- export interface EventFeedbackItem extends FeedbackItem {
7340
- type: FeedbackItemType.eventRegistration;
7341
- eventResponse: EventResponse;
7342
- locationId?: string;
8007
+ declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
8008
+ import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
8009
+ import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
8010
+ export interface EventFeedbackItem extends FeedbackItem {
8011
+ type: FeedbackItemType.eventRegistration;
8012
+ eventResponse: EventResponse;
8013
+ locationId?: string;
7343
8014
  }
7344
8015
  export function getDeadlineInfos(item: EventItem): {
7345
8016
  hasDeadline: boolean;
@@ -7351,6 +8022,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7351
8022
  import { PrimaryButton } from 'office-ui-fabric-react';
7352
8023
  export const EventRegistrationButton: FC<{
7353
8024
  isRegistered: boolean;
8025
+ eventId: string;
7354
8026
  disabled?: boolean;
7355
8027
  className?: string;
7356
8028
  onClick?: () => void;
@@ -7361,24 +8033,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7361
8033
  isRegistered?: boolean;
7362
8034
  }, never>;
7363
8035
  }
7364
- declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7365
- import { FC } from 'react';
7366
- import { PublishableItemContents } from "libs/reach/util/common/src/index";
7367
- export interface TranslationItem {
7368
- language: string;
7369
- id: string;
7370
- text: string;
7371
- }
7372
- export const PollTranslationContext: import("react").Context<{
7373
- getTranslation: (id: string) => string;
7374
- getAllTranslations: (id: string) => TranslationItem[];
7375
- }>;
7376
- export const PollTranslationContextProvider: FC<{
7377
- contents?: PublishableItemContents;
7378
- language: string;
7379
- additionalTranslations?: TranslationItem[];
7380
- }>;
7381
- }
7382
8036
  declare module "libs/reach/feature/content/src/events/eventUtils" {
7383
8037
  import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
7384
8038
  import { MessageDescriptor } from 'react-intl';
@@ -7434,25 +8088,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7434
8088
  onDismiss: () => unknown;
7435
8089
  }>;
7436
8090
  }
7437
- declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7438
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7439
- import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7440
- import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7441
- import { PaginatedList } from "libs/reach/util/common/src/index";
7442
- import { Account } from "libs/reach/util/common/src/index";
7443
- import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7444
- export const feedbackCache: {
7445
- [newsId: string]: Promise<FeedbackSummary>;
7446
- };
7447
- export function useFeedbackApi(): {
7448
- getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7449
- setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7450
- unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7451
- updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7452
- getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7453
- getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7454
- };
7455
- }
7456
8091
  declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
7457
8092
  import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7458
8093
  import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
@@ -7465,10 +8100,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
7465
8100
  }
7466
8101
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
7467
8102
  import { FC } from 'react';
8103
+ import { EventResponse } from "libs/reach/util/common/src/index";
7468
8104
  export const EventUserRegistration: FC<{
7469
8105
  disabled?: boolean;
7470
8106
  hideInfoMessage?: boolean;
7471
8107
  showNoRegistrationRequired?: boolean;
8108
+ onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7472
8109
  className?: string;
7473
8110
  }>;
7474
8111
  }
@@ -7526,11 +8163,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
7526
8163
  className?: string;
7527
8164
  }>;
7528
8165
  }
7529
- declare module "libs/reach/feature/content/src/feedback/utils" {
7530
- import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7531
- export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7532
- export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7533
- }
7534
8166
  declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7535
8167
  import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
7536
8168
  import { FC } from 'react';
@@ -7538,8 +8170,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7538
8170
  export const CardLikeButton: FC<{
7539
8171
  item: NewsItem | EventItem;
7540
8172
  itemResourceType: ItemResourceTypes;
7541
- isAutoLiked?: boolean;
7542
- onLiked?: (isLiked: boolean) => unknown;
8173
+ onToggleLike?: (isLiked: boolean, likeCount: number) => void;
7543
8174
  className?: string;
7544
8175
  }>;
7545
8176
  }
@@ -7561,6 +8192,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
7561
8192
  className?: string;
7562
8193
  }>;
7563
8194
  }
8195
+ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
8196
+ import { FC } from 'react';
8197
+ export const LinkWithModalRouting: FC<{
8198
+ url: string;
8199
+ itemId: string;
8200
+ hash?: string;
8201
+ onClick?: (e: React.MouseEvent) => unknown;
8202
+ ariaHidden?: boolean;
8203
+ ariaLabel?: string;
8204
+ className?: string;
8205
+ }>;
8206
+ }
7564
8207
  declare module "libs/reach/feature/content/src/events/list/EventCard" {
7565
8208
  import { FC } from 'react';
7566
8209
  import { EventItem } from "libs/reach/util/common/src/index";
@@ -7579,6 +8222,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7579
8222
  allowFilterByChannels?: boolean;
7580
8223
  showFeedbackButtons?: boolean;
7581
8224
  readOnly?: boolean;
8225
+ enableModalRouting?: boolean;
7582
8226
  className?: string;
7583
8227
  }>;
7584
8228
  }
@@ -7629,7 +8273,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7629
8273
  Contact = "contact",
7630
8274
  InlinePageList = "inline-page-list",
7631
8275
  UrlPreview = "url-preview",
7632
- ActionButton = "action-button"
8276
+ ActionButton = "action-button",
8277
+ InlinePlugin = "inline-plugin"
7633
8278
  }
7634
8279
  export interface HtmlComponentMapper {
7635
8280
  component: FC<any>;
@@ -7656,6 +8301,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
7656
8301
  resourceType: ItemResourceTypes;
7657
8302
  item: TItem;
7658
8303
  itemId: string;
8304
+ relatedItemIds?: string[];
7659
8305
  contentLanguage: string;
7660
8306
  userPreferredLanguage: string;
7661
8307
  activeLanguages: string[];
@@ -7711,7 +8357,7 @@ declare module "libs/reach/feature/content/src/pages/utils" {
7711
8357
  import { PrimitiveType } from 'intl-messageformat';
7712
8358
  import { MessageDescriptor } from 'react-intl';
7713
8359
  import { FileData } from "libs/reach/feature/content/src/common/body/InlineFileList";
7714
- export function getTitle(node: PageNavigationNode | PublishableItem, user: CurrentUser, formatMessage: (messageDescriptor: MessageDescriptor, values?: Record<string, PrimitiveType>) => string, languageOverride?: string): string;
8360
+ export function getTitle(node: PageNavigationNode | PublishableItem, user: CurrentUser, formatMessage: (messageDescriptor: MessageDescriptor, values?: Record<string, PrimitiveType>) => string, languageOverride?: string, fallbackId?: string): string;
7715
8361
  export function getHeadline(item: PublishableItem, user: CurrentUser, languageOverride?: string): string;
7716
8362
  export function sortPageNodesByGroupAndPosition(groups: UserGroup[], nodes: PageNavigationNode[] | PageItem[]): PageNavigationNode[] | PageItem[];
7717
8363
  export const queryParamNames: {
@@ -7771,7 +8417,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
7771
8417
  resourceKey?: string;
7772
8418
  resourceValues?: string;
7773
8419
  className?: string;
8420
+ enableModalRouting?: boolean;
8421
+ itemId?: string;
7774
8422
  isOverrideLink: boolean;
8423
+ icon?: string;
7775
8424
  }>;
7776
8425
  }
7777
8426
  declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
@@ -7830,6 +8479,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7830
8479
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7831
8480
  onKeywordClick?: (keyword: string) => unknown;
7832
8481
  openTargetInNewWindow?: boolean;
8482
+ enableModalRouting?: boolean;
7833
8483
  className?: string;
7834
8484
  }
7835
8485
  export const PageItemTile: FC<Props>;
@@ -7875,6 +8525,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
7875
8525
  onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7876
8526
  styleDefinition?: StyleDefinition;
7877
8527
  readOnly?: boolean;
8528
+ enableModalRouting?: boolean;
7878
8529
  className?: string;
7879
8530
  }
7880
8531
  export const PublishableItemTileWrapper: FC<Props>;
@@ -7918,6 +8569,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7918
8569
  onKeywordClick?: (keyword: string) => unknown;
7919
8570
  styleDefinition?: StyleDefinition;
7920
8571
  readOnly?: boolean;
8572
+ enableModalRouting?: boolean;
7921
8573
  className?: string;
7922
8574
  }
7923
8575
  export const NewsItemTile: FC<Props>;
@@ -7943,6 +8595,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
7943
8595
  previewTheme?: CommentInputTheme;
7944
8596
  buttons?: ReactNode;
7945
8597
  groupIds?: string[];
8598
+ enableModalRouting?: boolean;
7946
8599
  className?: string;
7947
8600
  }>;
7948
8601
  export const EmbeddedObjectAccessDeniedTile: FC<{
@@ -7959,6 +8612,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
7959
8612
  attachments: Attachment[];
7960
8613
  onDeleteClick?: (attachment: Attachment) => void;
7961
8614
  previewTheme?: CommentInputTheme;
8615
+ enableModalRouting?: boolean;
7962
8616
  className?: string;
7963
8617
  }>;
7964
8618
  }
@@ -7975,7 +8629,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
7975
8629
  }
7976
8630
  declare module "libs/reach/feature/content/src/comments/AttachmentList" {
7977
8631
  import { FC } from 'react';
7978
- import { Attachment } from "libs/reach/util/common/src/index";
8632
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
7979
8633
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
7980
8634
  interface Props {
7981
8635
  className?: string;
@@ -7985,6 +8639,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
7985
8639
  previewTheme?: CommentInputTheme;
7986
8640
  disableVideoPreview?: boolean;
7987
8641
  disableEmbeddedObjectPreview?: boolean;
8642
+ itemResourceType?: ItemResourceTypes | string;
8643
+ parentId?: string;
7988
8644
  }
7989
8645
  export const AttachmentList: FC<Props>;
7990
8646
  }
@@ -8001,6 +8657,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
8001
8657
  placeHolderStringResourceKey?: string;
8002
8658
  disableAddGif?: boolean;
8003
8659
  disableAddFiles?: boolean;
8660
+ parentId?: string;
8661
+ itemResourceType?: string;
8004
8662
  } & {
8005
8663
  disableVideoPreview?: boolean;
8006
8664
  disableEmbeddedObjectPreview?: boolean;
@@ -8070,7 +8728,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
8070
8728
  }
8071
8729
  declare module "libs/reach/feature/content/src/comments/CreateComment" {
8072
8730
  import { FC } from 'react';
8073
- import { Account } from "libs/reach/util/common/src/index";
8731
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8074
8732
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8075
8733
  import { Keyword } from "libs/reach/util/common/src/index";
8076
8734
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
@@ -8102,6 +8760,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
8102
8760
  };
8103
8761
  disableBoxShadow?: boolean;
8104
8762
  ariaLabel?: string;
8763
+ parentId?: string;
8764
+ itemResourceType?: ItemResourceTypes | string;
8105
8765
  }
8106
8766
  interface Props extends BaseProps {
8107
8767
  allowAttachments?: boolean;
@@ -8119,6 +8779,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8119
8779
  import { FC, ReactNode } from 'react';
8120
8780
  export const InlineObjectToolbar: FC<{
8121
8781
  onDelete?: () => void;
8782
+ deleteAriaLabelResourceKey?: string;
8122
8783
  additionalButtons?: ReactNode;
8123
8784
  }>;
8124
8785
  export const InlineObjectToolbarWrapper: FC<{
@@ -8126,15 +8787,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8126
8787
  }>;
8127
8788
  }
8128
8789
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8129
- import { FC } from 'react';
8790
+ import { FC, ReactNode } from 'react';
8791
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8130
8792
  export const ImageToolbar: FC<{
8131
8793
  onDelete?: () => void;
8132
8794
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8133
8795
  onClose?: (e: React.MouseEvent<any>) => void;
8134
8796
  onCrop?: (e: React.MouseEvent<any>) => void;
8797
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8135
8798
  showFullScreenButton?: boolean;
8136
8799
  showCloseButton?: boolean;
8137
8800
  showCropButton?: boolean;
8801
+ alignmentButtons?: ReactNode;
8138
8802
  }>;
8139
8803
  }
8140
8804
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8161,14 +8825,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
8161
8825
  }
8162
8826
  export const InlineGalleryMapper: HtmlComponentMapper;
8163
8827
  }
8164
- declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
8165
- import { FC } from 'react';
8166
- import { ImageDetails } from "libs/reach/util/common/src/index";
8167
- export const LegacyPostPhotoGallery: FC<{
8168
- images: ImageDetails[];
8169
- imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
8170
- }>;
8171
- }
8172
8828
  declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8173
8829
  import { FC } from 'react';
8174
8830
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
@@ -8176,12 +8832,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8176
8832
  item: ItemWithAttachments;
8177
8833
  basePath: string;
8178
8834
  imagesGridBackgroundColor?: string;
8835
+ onPlayVideo?: (url: string, videoId: string) => void;
8836
+ onPlayAudio?: (url: string, audioId: string) => void;
8179
8837
  className?: string;
8180
8838
  }>;
8181
8839
  }
8182
8840
  declare module "libs/reach/feature/content/src/comments/EditComment" {
8183
8841
  import { FC } from 'react';
8184
- import { Account } from "libs/reach/util/common/src/index";
8842
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8185
8843
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8186
8844
  import { Attachment } from "libs/reach/util/common/src/index";
8187
8845
  import { Keyword } from "libs/reach/util/common/src/index";
@@ -8197,6 +8855,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
8197
8855
  onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
8198
8856
  onDeleteAttachment?: (attachment: ClientAttachment) => void;
8199
8857
  ariaLabel?: string;
8858
+ parentId?: string;
8859
+ itemResourceType?: ItemResourceTypes | string;
8200
8860
  }
8201
8861
  interface Props extends BaseProps {
8202
8862
  onSave?: (newContent: string, keywords?: {
@@ -8261,6 +8921,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8261
8921
  export const EditCommentWithAttachments: FC<Props>;
8262
8922
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
8263
8923
  }
8924
+ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8925
+ import { FC } from 'react';
8926
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8927
+ export const BookmarkButton: FC<{
8928
+ item: PublishableItem;
8929
+ isReadOnly?: boolean;
8930
+ className?: string;
8931
+ }>;
8932
+ }
8264
8933
  declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8265
8934
  import { FC } from 'react';
8266
8935
  export const CardStatisticItem: FC<{
@@ -8278,13 +8947,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8278
8947
  };
8279
8948
  }>;
8280
8949
  }
8281
- declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8950
+ declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
8951
+ import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8282
8952
  import { FC } from 'react';
8283
- import { PublishableItem } from "libs/reach/util/common/src/index";
8284
- export const BookmarkButton: FC<{
8285
- item: PublishableItem;
8286
- isReadOnly?: boolean;
8287
- className?: string;
8953
+ export const CardCommentButton: FC<{
8954
+ item: NewsItem | EventItem;
8955
+ itemResourceType: ItemResourceTypes;
8956
+ targetRoute: string;
8957
+ enableModalRouting?: boolean;
8288
8958
  }>;
8289
8959
  }
8290
8960
  declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
@@ -8292,13 +8962,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8292
8962
  import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8293
8963
  export const CardFooter: FC<{
8294
8964
  item: NewsItem | EventItem;
8295
- showComments: boolean;
8296
8965
  targetRoute: string;
8297
8966
  itemResourceType: ItemResourceTypes;
8298
- isAutoLiked?: boolean;
8299
- onLiked?: (isLiked: boolean) => unknown;
8967
+ enableModalRouting?: boolean;
8300
8968
  }>;
8301
- export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8969
+ export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8302
8970
  }
8303
8971
  declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8304
8972
  export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -8347,7 +9015,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
8347
9015
  target?: string;
8348
9016
  language?: string;
8349
9017
  hideCurrentPageNode?: boolean;
9018
+ homeTargetUrlOverride?: string;
8350
9019
  className?: string;
9020
+ readonly?: boolean;
8351
9021
  }>;
8352
9022
  }
8353
9023
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
@@ -8407,6 +9077,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
8407
9077
  hide?: boolean;
8408
9078
  onPageSelected?: (pageId: string) => unknown;
8409
9079
  selectedPageId?: string;
9080
+ readonly?: boolean;
8410
9081
  }>;
8411
9082
  }
8412
9083
  declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
@@ -8423,6 +9094,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
8423
9094
  selectedPageId?: string;
8424
9095
  isLoading?: boolean;
8425
9096
  disableScrollableList?: boolean;
9097
+ readonly?: boolean;
8426
9098
  }>;
8427
9099
  export const PageTableOfContentsInPanel: FC<{
8428
9100
  basePath?: string;
@@ -8445,6 +9117,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
8445
9117
  onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8446
9118
  onDismiss: () => void;
8447
9119
  basePath: string;
9120
+ readonly?: boolean;
8448
9121
  }>;
8449
9122
  }
8450
9123
  declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
@@ -8468,6 +9141,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
8468
9141
  activePageId: string;
8469
9142
  navigationContext: PageNavigationContext;
8470
9143
  className?: string;
9144
+ readonly?: boolean;
8471
9145
  }
8472
9146
  export const PagesDetailViewNavigation: FC<Props>;
8473
9147
  }
@@ -8546,6 +9220,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8546
9220
  language?: string;
8547
9221
  buildChannelFilterUrl?: (channelName: string) => string;
8548
9222
  clickableAvatar?: boolean;
9223
+ onChannelClick?: (channel: string) => unknown;
8549
9224
  }>;
8550
9225
  }
8551
9226
  declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
@@ -8595,7 +9270,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8595
9270
  item: NewsItem;
8596
9271
  baseRoute: string;
8597
9272
  language: string;
8598
- showComments: boolean;
8599
9273
  highlight: boolean;
8600
9274
  className?: string;
8601
9275
  }
@@ -8628,6 +9302,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
8628
9302
  isLastPage: boolean;
8629
9303
  unreadOnly?: boolean;
8630
9304
  filter?: NewsFilterDefinition;
9305
+ activeChannel?: string;
8631
9306
  }>;
8632
9307
  }
8633
9308
  declare module "libs/reach/feature/content/src/news/useTranslateApi" {
@@ -8689,6 +9364,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
8689
9364
  type?: ItemResourceTypes;
8690
9365
  loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8691
9366
  isEditorPreview?: boolean;
9367
+ relatedItemIds?: string[];
8692
9368
  }>;
8693
9369
  }
8694
9370
  declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
@@ -8702,6 +9378,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8702
9378
  }
8703
9379
  declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8704
9380
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9381
+ export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
8705
9382
  export const InlineImageMapper: HtmlComponentMapper;
8706
9383
  }
8707
9384
  declare module "libs/reach/feature/content/src/common/body/InlineContact" {
@@ -8762,6 +9439,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
8762
9439
  baseRoute: string;
8763
9440
  filterBaseUrl?: string;
8764
9441
  isInitialLoading?: boolean;
9442
+ readonly?: boolean;
8765
9443
  }>;
8766
9444
  }
8767
9445
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
@@ -8789,6 +9467,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
8789
9467
  pagingProps?: ListPagingProps;
8790
9468
  filterBaseUrl?: string;
8791
9469
  emptyListMessage: string;
9470
+ readonly?: boolean;
8792
9471
  }>;
8793
9472
  }
8794
9473
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
@@ -8920,6 +9599,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
8920
9599
  }
8921
9600
  export const InlineActionButtonMapper: HtmlComponentMapper;
8922
9601
  }
9602
+ declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
9603
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9604
+ export const InlineObjectPluginMapper: HtmlComponentMapper;
9605
+ }
8923
9606
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8924
9607
  import { FC } from 'react';
8925
9608
  export const EventDetailViewPeopleInfo: FC;
@@ -8932,6 +9615,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8932
9615
  import { FC } from 'react';
8933
9616
  export const EventDetailViewMetaInfo: FC<{
8934
9617
  allowFilterByChannels?: boolean;
9618
+ onChannelClick?: (channel: string) => unknown;
8935
9619
  }>;
8936
9620
  }
8937
9621
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
@@ -8975,6 +9659,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
8975
9659
  export const DetailViewCsvExportButton: FC<{
8976
9660
  path: string;
8977
9661
  stringResource: string;
9662
+ isReadOnly?: boolean;
8978
9663
  className?: string;
8979
9664
  }>;
8980
9665
  }
@@ -9034,6 +9719,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9034
9719
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
9035
9720
  import { FC } from 'react';
9036
9721
  export const EventDetailViewResponseExportButton: FC<{
9722
+ isReadOnly?: boolean;
9037
9723
  className?: string;
9038
9724
  }>;
9039
9725
  }
@@ -9046,8 +9732,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9046
9732
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
9047
9733
  import { FC } from 'react';
9048
9734
  export const EventDetailViewUserRegistration: FC<{
9049
- className?: string;
9050
9735
  hideInfoMessage?: boolean;
9736
+ isReadOnly?: boolean;
9737
+ className?: string;
9051
9738
  }>;
9052
9739
  }
9053
9740
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
@@ -9088,7 +9775,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
9088
9775
  }
9089
9776
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
9090
9777
  import { FC } from 'react';
9091
- export const EventRegistrationParticipantsLink: FC;
9778
+ export const EventRegistrationParticipantsLink: FC<{
9779
+ isReadOnly?: boolean;
9780
+ }>;
9092
9781
  }
9093
9782
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
9094
9783
  import { FC } from 'react';
@@ -9139,6 +9828,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9139
9828
  readOnly?: boolean;
9140
9829
  trimContent?: boolean;
9141
9830
  showReplyBox?: boolean;
9831
+ enableModalRouting?: boolean;
9142
9832
  className?: string;
9143
9833
  }>;
9144
9834
  }
@@ -9161,6 +9851,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9161
9851
  onReply?: (comment: Comment, commentSender?: Account) => void;
9162
9852
  readOnly?: boolean;
9163
9853
  trimContent?: boolean;
9854
+ enableModalRouting?: boolean;
9164
9855
  className?: string;
9165
9856
  }
9166
9857
  export const CommentList: FC<CommentListProps>;
@@ -9220,6 +9911,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9220
9911
  showReplyBox?: boolean;
9221
9912
  trimContent?: boolean;
9222
9913
  title?: ReactNode;
9914
+ enableModalRouting?: boolean;
9223
9915
  className?: string;
9224
9916
  };
9225
9917
  export const PagedCommentsSection: FC<Props>;
@@ -9244,14 +9936,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
9244
9936
  }
9245
9937
  declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
9246
9938
  import { FC } from 'react';
9247
- import { PublishableItem } from "libs/reach/util/common/src/index";
9248
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9939
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9249
9940
  export const PublishableItemComments: FC<{
9250
9941
  item: PublishableItem;
9251
9942
  readOnly?: boolean;
9252
9943
  loadInReadOnlyMode?: boolean;
9253
9944
  type: ItemResourceTypes;
9254
- hideProfileUrl?: boolean;
9255
9945
  disableLoginForPublicUser?: boolean;
9256
9946
  }>;
9257
9947
  }
@@ -9261,6 +9951,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9261
9951
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9262
9952
  import { PublishableItem } from "libs/reach/util/common/src/index";
9263
9953
  import { Feedback } from "libs/reach/util/common/src/index";
9954
+ import { ReactNode } from 'hoist-non-react-statics/node_modules/@types/react';
9264
9955
  export const FeedbackButtonContext: import("react").Context<{
9265
9956
  statistics: ItemStatistics;
9266
9957
  item: PublishableItem;
@@ -9273,6 +9964,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9273
9964
  item: PublishableItem;
9274
9965
  hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
9275
9966
  language: string;
9967
+ warningMessage?: ReactNode;
9276
9968
  className?: string;
9277
9969
  }>;
9278
9970
  }
@@ -9311,19 +10003,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
9311
10003
  }>;
9312
10004
  }
9313
10005
  declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
9314
- import { FC } from 'react';
9315
- import { FeedbackSettings } from "libs/reach/util/common/src/index";
9316
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9317
- import { PublishableItem } from "libs/reach/util/common/src/index";
10006
+ import { FC, ReactNode } from 'react';
10007
+ import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9318
10008
  export const FeedbackSection: FC<{
9319
10009
  item: PublishableItem;
10010
+ buttons: ReactNode[];
9320
10011
  language: string;
9321
10012
  type: ItemResourceTypes;
9322
10013
  feedbackSettings: FeedbackSettings;
9323
10014
  hideComments?: boolean;
9324
- hideProfileUrl?: boolean;
9325
10015
  disableLoginForPublicUser?: boolean;
9326
10016
  isReadOnly?: boolean;
10017
+ warningMessage?: ReactNode;
9327
10018
  className?: string;
9328
10019
  }>;
9329
10020
  }
@@ -9346,12 +10037,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
9346
10037
  import { EventItem } from "libs/reach/util/common/src/index";
9347
10038
  export const EventDownloadCalendarFileButton: FC<{
9348
10039
  item: EventItem;
10040
+ isReadOnly: boolean;
9349
10041
  className?: string;
9350
10042
  }>;
9351
10043
  }
9352
10044
  declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
9353
10045
  import { FC } from 'react';
9354
- export const EventFeedbackButtonDownloadCalendarFile: FC;
10046
+ export const EventFeedbackButtonDownloadCalendarFile: FC<{
10047
+ isReadOnly: boolean;
10048
+ }>;
9355
10049
  }
9356
10050
  declare module "libs/reach/feature/content/src/feedback/ShareButton" {
9357
10051
  import { FC } from 'react';
@@ -9376,14 +10070,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
9376
10070
  }
9377
10071
  declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
9378
10072
  import { FC } from 'react';
9379
- import { PublishableItem } from "libs/reach/util/common/src/index";
10073
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9380
10074
  export const ConfirmationStatisticsExport: FC<{
9381
10075
  item: PublishableItem;
10076
+ resourceType: ItemResourceTypes;
10077
+ isReadOnly?: boolean;
9382
10078
  }>;
9383
10079
  }
9384
10080
  declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
9385
10081
  import { FC } from 'react';
9386
- export const FeedbackButtonConfirmations: FC;
10082
+ export const FeedbackButtonConfirmations: FC<{
10083
+ isReadOnly?: boolean;
10084
+ }>;
10085
+ }
10086
+ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
10087
+ export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
9387
10088
  }
9388
10089
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
9389
10090
  import { FC } from 'react';
@@ -9488,6 +10189,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9488
10189
  layoutMode?: ItemTileLayoutMode;
9489
10190
  bannerDefaultWidth?: number;
9490
10191
  showPlaceholderIfNoBannerInfo?: boolean;
10192
+ documentIconName?: string;
9491
10193
  }>;
9492
10194
  }
9493
10195
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9525,17 +10227,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9525
10227
  isMobilePreview?: boolean;
9526
10228
  }>;
9527
10229
  }
9528
- declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
9529
- import { FC, ReactNode } from 'react';
9530
- export const GutterMarkerIcon: FC<{
9531
- iconName: string;
9532
- children: ReactNode;
9533
- isActive: boolean;
9534
- color: string;
9535
- tooltipResourceKey?: string;
9536
- className?: string;
9537
- }>;
9538
- }
9539
10230
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
9540
10231
  import { FC } from 'react';
9541
10232
  export const DetailViewTitle: FC;
@@ -9558,24 +10249,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9558
10249
  import { FC } from 'react';
9559
10250
  export const DetailViewKeywords: FC<{
9560
10251
  filterBaseUrl: string;
9561
- }>;
9562
- }
9563
- declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
9564
- import { FC } from 'react';
9565
- export const ConfirmationBox: FC<{
9566
- disabled?: boolean;
9567
- onChange?: (value: boolean) => void;
9568
- checked: boolean;
9569
- }>;
9570
- }
9571
- declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
9572
- import { FC } from 'react';
9573
- import { NewsItem } from "libs/reach/util/common/src/index";
9574
- export const ConfirmationSection: FC<{
9575
- item?: NewsItem;
9576
- showDescription: boolean;
9577
- readOnly?: boolean;
9578
- className?: string;
10252
+ onKeywordClick?: (keyword: string) => unknown;
9579
10253
  }>;
9580
10254
  }
9581
10255
  declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
@@ -9605,9 +10279,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9605
10279
  import { FC, ReactNode } from 'react';
9606
10280
  export const DetailViewNavigation: FC<{
9607
10281
  offsetRight?: number;
9608
- children?: ReactNode;
9609
10282
  callout?: ReactNode;
10283
+ className?: string;
10284
+ children?: ReactNode;
9610
10285
  }>;
10286
+ export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
10287
+ offsetRight?: number;
10288
+ callout?: ReactNode;
10289
+ className?: string;
10290
+ children?: ReactNode;
10291
+ }>, import("styled-components").DefaultTheme, {
10292
+ offsetRightOverride?: number;
10293
+ }, never>;
9611
10294
  }
9612
10295
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
9613
10296
  import { FC } from 'react';
@@ -9649,492 +10332,60 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
9649
10332
  getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
9650
10333
  };
9651
10334
  }
9652
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
9653
- import { LocationDescriptor } from 'history';
9654
- import { FC, ReactNode } from 'react';
9655
- export const SidebarIcon: FC<{
9656
- icon?: ReactNode;
9657
- iconName?: string;
9658
- color?: string;
9659
- onClick?: () => any;
9660
- route?: LocationDescriptor;
9661
- iconTooltipResourceKey: string;
9662
- iconTooltipResourceValues?: any;
10335
+ declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
10336
+ interface IClickHandles {
10337
+ onInsideClick: () => void;
10338
+ onOutsideClick: () => void;
10339
+ }
10340
+ export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
10341
+ }
10342
+ declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10343
+ import { FC } from 'react';
10344
+ export const GroupNotificationsSettings: FC<{
10345
+ groupId: string;
9663
10346
  className?: string;
9664
10347
  }>;
9665
10348
  }
9666
- declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
9667
- import { FC, ReactNode } from 'react';
9668
- import { LocationDescriptor } from 'history';
9669
- import { PrimitiveType } from 'intl-messageformat';
9670
- export interface BaseSidebarItemProps {
9671
- children?: any;
9672
- icon?: ReactNode;
9673
- iconName?: string;
9674
- iconTooltipResourceKey?: string;
9675
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
9676
- secondaryIconName?: string;
9677
- secondaryIconTooltipResourceKey?: string;
9678
- reverse?: boolean;
9679
- onIconClick?: () => void;
9680
- iconRoute?: LocationDescriptor;
9681
- iconColor?: string;
9682
- onSecondaryIconClick?: () => void;
9683
- secondaryIconRoute?: LocationDescriptor;
9684
- onContentClick?: () => void;
9685
- contentRoute?: LocationDescriptor;
9686
- badgeInfo?: number | boolean;
9687
- title?: string;
10349
+ declare module "libs/reach/feature/content/src/posts/PostCreator" {
10350
+ import { FC } from 'react';
10351
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10352
+ import { Keyword } from "libs/reach/util/common/src/index";
10353
+ import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10354
+ export interface PostCreatorProps {
10355
+ groupId: string;
10356
+ disabled?: boolean;
10357
+ disableDragAndDrop?: boolean;
10358
+ onBeforeSave?: (post: Post) => void;
10359
+ onSaved: (post: Post) => void;
10360
+ keywordSettings?: {
10361
+ availableKeywords?: Keyword[];
10362
+ defaultKeywords?: Keyword[];
10363
+ mandatoryKeywords?: Keyword[];
10364
+ };
10365
+ disableAutoFocus?: boolean;
10366
+ attachmentPreviewTheme?: CommentInputTheme;
9688
10367
  className?: string;
9689
10368
  }
9690
- export const BaseSidebarItem: FC<BaseSidebarItemProps>;
10369
+ export const PostCreator: FC<PostCreatorProps>;
9691
10370
  }
9692
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
10371
+ declare module "libs/reach/feature/content/src/posts/PostReplies" {
9693
10372
  import { FC } from 'react';
9694
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
9695
- export const SidebarItemSection: FC<{
9696
- styleDefinition?: ColorStyleDefinition;
9697
- }>;
9698
- }
9699
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
9700
- import { FC, ReactNode } from 'react';
9701
- import { PrimitiveType } from 'intl-messageformat';
9702
- import { LocationDescriptor } from 'history';
9703
- import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
9704
- interface CommonSidebarItemProps {
9705
- title?: string | JSX.Element;
9706
- titleResource?: string;
9707
- icon?: ReactNode;
9708
- iconName?: string;
9709
- iconTooltipResourceKey?: string;
9710
- iconTooltipResourceValues?: Record<string, PrimitiveType>;
9711
- secondaryIconName?: string;
9712
- secondaryIconTooltipResourceKey?: string;
9713
- iconColor?: string;
9714
- reverse?: boolean;
9715
- notHighlightable?: boolean;
9716
- onClick?: () => void;
9717
- className?: string;
9718
- isActive?: boolean;
9719
- activeClassName?: string;
9720
- readOnly?: boolean;
9721
- submenu?: JSX.Element;
9722
- submenuClassName?: string;
9723
- submenuStyleDefinition?: ColorStyleDefinition;
9724
- badgeInfo?: number | boolean;
9725
- domIdentifier?: string;
9726
- }
9727
- interface SidebarItemProps extends CommonSidebarItemProps {
9728
- contentRoute?: LocationDescriptor;
9729
- onIconClick?: () => void;
9730
- iconRoute?: LocationDescriptor;
9731
- onSecondaryIconClick?: () => void;
9732
- secondaryIconRoute?: LocationDescriptor;
9733
- isHoverable?: boolean;
9734
- }
9735
- export const SidebarItem: FC<SidebarItemProps>;
9736
- interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
9737
- route: LocationDescriptor;
9738
- exact?: boolean;
9739
- linkClassName?: string;
9740
- }
9741
- export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
9742
- }
9743
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
9744
- import { FC } from 'react';
9745
- export const SidebarGroup: FC<{
9746
- titleResource?: string;
9747
- borderColor?: string;
9748
- className?: string;
9749
- }>;
9750
- }
9751
- declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
9752
- import { FC } from 'react';
9753
- export const ContentWithShowMoreButton: FC<{
9754
- domIdentifier: string;
9755
- trimContent: boolean;
9756
- className?: string;
9757
- }>;
9758
- }
9759
- declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
9760
- import { FC } from 'react';
9761
- import { Channel } from "libs/reach/util/common/src/index";
9762
- import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
9763
- interface Props {
9764
- selectedChannelNames?: string[];
9765
- selectedChannelIds?: string[];
9766
- mandatoryChannelIds?: string[];
9767
- availableChannels?: Channel[];
9768
- onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
9769
- className?: string;
9770
- showOnlyUserChannels?: boolean;
9771
- showSelectionToggle?: boolean;
9772
- placeholder?: string;
9773
- inlineControls?: boolean;
9774
- required?: boolean;
9775
- id?: string;
9776
- showLogicalOperatorOptions?: boolean;
9777
- selectedLogicalOperator?: LogicalOperator;
9778
- }
9779
- export const ChannelSelector: FC<Props>;
9780
- }
9781
- declare module "libs/reach/feature/content/src/common/index" {
9782
- export * from "libs/reach/feature/content/src/common/cards/CardFooter";
9783
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9784
- export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
9785
- export * from "libs/reach/feature/content/src/common/item-tile/Title";
9786
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
9787
- export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
9788
- export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
9789
- export * from "libs/reach/feature/content/src/common/body/InlineGallery";
9790
- export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
9791
- export * from "libs/reach/feature/content/src/common/body/InlineImage";
9792
- export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
9793
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
9794
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
9795
- export * from "libs/reach/feature/content/src/common/body/InlineQuote";
9796
- export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
9797
- export * from "libs/reach/feature/content/src/common/body/InlineVideo";
9798
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
9799
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
9800
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
9801
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
9802
- export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
9803
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
9804
- export * from "libs/reach/feature/content/src/common/ContentUtils";
9805
- export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
9806
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
9807
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
9808
- export * from "libs/reach/feature/content/src/common/body/InlineCode";
9809
- export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
9810
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
9811
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
9812
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
9813
- export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
9814
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
9815
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
9816
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
9817
- export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
9818
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
9819
- export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
9820
- export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
9821
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
9822
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
9823
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
9824
- export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
9825
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
9826
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
9827
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
9828
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
9829
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
9830
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
9831
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
9832
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
9833
- export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
9834
- export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
9835
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
9836
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
9837
- export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
9838
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
9839
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
9840
- export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
9841
- export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
9842
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
9843
- export * from "libs/reach/feature/content/src/common/banner/Banner";
9844
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9845
- export * from "libs/reach/feature/content/src/common/cards/Card";
9846
- export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
9847
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
9848
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
9849
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
9850
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
9851
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
9852
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
9853
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
9854
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
9855
- export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
9856
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
9857
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
9858
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
9859
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
9860
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
9861
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
9862
- export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
9863
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9864
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9865
- export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
9866
- export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
9867
- export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
9868
- export * from "libs/reach/feature/content/src/common/StateIcon";
9869
- export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
9870
- export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
9871
- export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
9872
- export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
9873
- export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
9874
- export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
9875
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
9876
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
9877
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
9878
- export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
9879
- export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
9880
- export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
9881
- export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
9882
- export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
9883
- }
9884
- declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
9885
- import { FC } from 'react';
9886
- import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
9887
- import { Account } from "libs/reach/util/common/src/index";
9888
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9889
- interface Props {
9890
- type?: ItemResourceTypes;
9891
- baseAttachmentPath?: string;
9892
- message: Comment;
9893
- showDelete?: boolean;
9894
- showAutoTranslate?: boolean;
9895
- showEdit?: boolean;
9896
- onDelete?: (comment: Comment) => void;
9897
- onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
9898
- scope: ConversationScope;
9899
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
9900
- getHashtagFilterRoute?: (hashtag: string) => string;
9901
- highlight?: boolean;
9902
- isInitialLiked?: boolean;
9903
- hasUnreadReplies?: boolean;
9904
- onReplyIconClick?: () => void;
9905
- onReply?: (comment: Comment, commentSender?: Account) => void;
9906
- replyCount?: number;
9907
- readOnly?: boolean;
9908
- trimContent?: boolean;
9909
- className?: string;
9910
- }
9911
- export const CommentDisplay: FC<Props>;
9912
- }
9913
- declare module "libs/reach/feature/content/src/comments/index" {
9914
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
9915
- export * from "libs/reach/feature/content/src/comments/FollowComments";
9916
- export * from "libs/reach/feature/content/src/comments/CreateComment";
9917
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
9918
- export * from "libs/reach/feature/content/src/comments/CommentDisplay";
9919
- export * from "libs/reach/feature/content/src/comments/useCommentApi";
9920
- export * from "libs/reach/feature/content/src/comments/UrlMatcher";
9921
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
9922
- export * from "libs/reach/feature/content/src/comments/RichCommentInput";
9923
- export * from "libs/reach/feature/content/src/comments/ContentDisplay";
9924
- export * from "libs/reach/feature/content/src/comments/AttachmentList";
9925
- export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
9926
- export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
9927
- export * from "libs/reach/feature/content/src/comments/CommentInput";
9928
- }
9929
- declare module "libs/reach/feature/content/src/feedback/index" {
9930
- export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
9931
- export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
9932
- export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
9933
- export * from "libs/reach/feature/content/src/feedback/utils";
9934
- }
9935
- declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
9936
- import { FC, ReactNode } from 'react';
9937
- import { Keyword } from "libs/reach/util/common/src/index";
9938
- interface Props {
9939
- isOpen: boolean;
9940
- preSelectedKeywords: Keyword[];
9941
- onSave: (keywords: Keyword[]) => void;
9942
- titleResource: string;
9943
- onDismiss: () => void;
9944
- availableKeywords?: Keyword[];
9945
- mandatoryKeywordIds?: string[];
9946
- }
9947
- export const KeywordDialog: FC<Props>;
9948
- export const StatefulKeywordPicker: FC<{
9949
- preSelectedKeywords: Keyword[];
9950
- availableKeywords?: Keyword[];
9951
- mandatoryKeywordIds?: string[];
9952
- showSelectionToggle?: boolean;
9953
- children: (selectedKeywords: Keyword[]) => ReactNode;
9954
- }>;
9955
- }
9956
- declare module "libs/reach/feature/content/src/forms/Textarea" {
9957
- import { FC, MutableRefObject } from 'react';
9958
- export interface TextareaProps {
9959
- rows?: number;
9960
- placeholder?: string;
9961
- readOnly?: boolean;
9962
- onChange: (value: string) => void;
9963
- className?: string;
9964
- defaultValue?: string;
9965
- disabled?: boolean;
9966
- noDebouncing?: boolean;
9967
- value?: string;
9968
- onIconClick?: () => void;
9969
- onEnter?: () => void;
9970
- icon?: string;
9971
- disableNewLines?: boolean;
9972
- autoFocus?: boolean;
9973
- inputRef?: MutableRefObject<HTMLTextAreaElement>;
9974
- onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
9975
- inputType?: string;
9976
- }
9977
- /**
9978
- * Textarea that expands vertically to fit content.
9979
- * If maxLength is given, also displays a count of remaining characters when focused
9980
- */
9981
- export const Textarea: FC<TextareaProps>;
9982
- }
9983
- declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
9984
- import { FC } from 'react';
9985
- interface Props {
9986
- onInsert: (files: File[]) => void;
9987
- accept?: string;
9988
- captionKey?: string;
9989
- captionIconName?: string;
9990
- descriptionKey?: string;
9991
- descriptionIconName?: string;
9992
- singleMode?: boolean;
9993
- }
9994
- export const InsertFilesButton: FC<Props>;
9995
- export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
9996
- isActive?: boolean;
9997
- }, never>;
9998
- }
9999
- declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
10000
- import { FC } from 'react';
10001
- interface Props {
10002
- onInsert: (files: File[]) => void;
10003
- accept?: string;
10004
- captionKey?: string;
10005
- descriptionKey?: string;
10006
- }
10007
- export const InsertImagesButton: FC<Props>;
10008
- }
10009
- declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
10010
- import { FC } from 'react';
10011
- interface DateTimePickerProps {
10012
- date: string;
10013
- maxDate?: string;
10014
- minDate?: string;
10015
- dateValidationResourceKey?: string;
10016
- timeValidationResourceKey?: string;
10017
- readOnly?: boolean;
10018
- onChanged: (date: string, isValid: boolean) => void;
10019
- noDateResourceKey: string;
10020
- selectDateResourceKey: string;
10021
- dateOnly?: boolean;
10022
- initialPickerDate?: string;
10023
- label?: string;
10024
- isRequired?: boolean;
10025
- className?: string;
10026
- }
10027
- export const DateTimePicker: FC<DateTimePickerProps>;
10028
- export default DateTimePicker;
10029
- }
10030
- declare module "libs/reach/feature/content/src/forms/DateRange" {
10031
- import moment, { Moment } from 'moment';
10032
- export enum DateRange {
10033
- TwoYears = 0,
10034
- OneYear = 1,
10035
- SixMonths = 2,
10036
- TwoMonths = 3,
10037
- OneMonth = 4,
10038
- SevenDays = 5,
10039
- YesterDay = 6,
10040
- Today = 7
10041
- }
10042
- export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
10043
- export function dateToDateRange(date: string | moment.Moment): number;
10044
- export function dateRangeToDate(range: DateRange): Moment;
10045
- }
10046
- declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
10047
- import { FC } from 'react';
10048
- import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
10049
- export const DateRangeSlider: FC<{
10050
- value?: DateRange;
10051
- onChange: (range: DateRange) => unknown;
10052
- }>;
10053
- }
10054
- declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
10055
- import { FC } from 'react';
10056
- import { WrappedComponentProps } from 'react-intl';
10057
- import { SelectionMode } from 'office-ui-fabric-react';
10058
- import { Account, AccountType } from "libs/reach/util/common/src/index";
10059
- interface PeoplePickerDialogProps {
10060
- defaultSelectedItems: Account[];
10061
- onChange: (items: Account[]) => void;
10062
- onDismiss: () => void;
10063
- titleResource: string;
10064
- intl?: WrappedComponentProps;
10065
- selectionMode?: SelectionMode;
10066
- allowMailItems?: boolean;
10067
- accountType: AccountType;
10068
- showDialog: boolean;
10069
- allowEmptyValue: boolean;
10070
- includePendingInvitationUsers?: boolean;
10071
- placeholderStringResourceKey?: string;
10072
- inputAriaLabelResourceKey: string;
10073
- }
10074
- export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
10075
- }
10076
- declare module "libs/reach/feature/content/src/forms/index" {
10077
- export * from "libs/reach/feature/content/src/forms/KeywordDialog";
10078
- export * from "libs/reach/feature/content/src/forms/Textarea";
10079
- export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
10080
- export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
10081
- export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
10082
- export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
10083
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
10084
- export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
10085
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
10086
- export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
10087
- export * from "libs/reach/feature/content/src/forms/DateRange";
10088
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
10089
- export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
10090
- export * from "libs/reach/feature/content/src/forms/videos/VideoView";
10091
- }
10092
- declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10093
- import { FC } from 'react';
10094
- export const GroupNotificationsSettings: FC<{
10095
- groupId: string;
10096
- className?: string;
10097
- }>;
10098
- }
10099
- declare module "libs/reach/feature/content/src/posts/PostCreator" {
10100
- import { FC } from 'react';
10101
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10102
- import { Keyword } from "libs/reach/util/common/src/index";
10103
- import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10104
- export interface PostCreatorProps {
10105
- groupId: string;
10106
- disabled?: boolean;
10107
- disableDragAndDrop?: boolean;
10108
- onBeforeSave?: (post: Post) => void;
10109
- onSaved: (post: Post) => void;
10110
- keywordSettings?: {
10111
- availableKeywords?: Keyword[];
10112
- defaultKeywords?: Keyword[];
10113
- mandatoryKeywords?: Keyword[];
10114
- };
10115
- disableAutoFocus?: boolean;
10116
- attachmentPreviewTheme?: CommentInputTheme;
10117
- className?: string;
10118
- }
10119
- export const PostCreator: FC<PostCreatorProps>;
10120
- }
10121
- declare module "libs/reach/feature/content/src/posts/PostReplies" {
10122
- import { FC } from 'react';
10123
- import { Post } from "libs/reach/feature/content/src/posts/utils";
10124
- import { Comment } from "libs/reach/util/common/src/index";
10125
- import { PaginatedList } from "libs/reach/util/common/src/index";
10126
- interface Props {
10127
- className?: string;
10128
- post: Post;
10129
- initialPageSize?: number;
10130
- comments?: PaginatedList<Comment>;
10131
- autoFocusReplyField?: boolean;
10132
- showReplyBox?: boolean;
10133
- onReplyAdded: () => void;
10134
- onReplyDeleted: () => void;
10135
- trimContent?: boolean;
10136
- }
10137
- export const PostReplies: FC<Props>;
10373
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10374
+ import { Comment } from "libs/reach/util/common/src/index";
10375
+ import { PaginatedList } from "libs/reach/util/common/src/index";
10376
+ interface Props {
10377
+ className?: string;
10378
+ post: Post;
10379
+ initialPageSize?: number;
10380
+ comments?: PaginatedList<Comment>;
10381
+ autoFocusReplyField?: boolean;
10382
+ showReplyBox?: boolean;
10383
+ onReplyAdded: () => void;
10384
+ onReplyDeleted: () => void;
10385
+ trimContent?: boolean;
10386
+ enableModalRouting?: boolean;
10387
+ }
10388
+ export const PostReplies: FC<Props>;
10138
10389
  }
10139
10390
  declare module "libs/reach/feature/content/src/posts/PostEditor" {
10140
10391
  import { FC } from 'react';
@@ -10200,6 +10451,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10200
10451
  baseTargetUrl?: string;
10201
10452
  }
10202
10453
  export const PostDisplay: FC<Props>;
10454
+ export const PostDisplayWithModalRouting: FC<Props>;
10203
10455
  }
10204
10456
  declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10205
10457
  import { FC } from 'react';
@@ -10218,8 +10470,75 @@ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
10218
10470
  className?: string;
10219
10471
  }>;
10220
10472
  }
10473
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10474
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10475
+ import { DocumentNode } from '@apollo/client';
10476
+ import { Channel } from "libs/reach/util/common/src/index";
10477
+ import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
10478
+ export enum StreamEventResponse {
10479
+ NotSet = "NOTSET",
10480
+ Registered = "REGISTERED",
10481
+ Declined = "DECLINED"
10482
+ }
10483
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10484
+ }
10485
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10486
+ items: StreamItem[];
10487
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10488
+ loadMore: () => Promise<void>;
10489
+ pageInfo: {
10490
+ errors?: any;
10491
+ hasNextPage: boolean;
10492
+ skip: number;
10493
+ };
10494
+ refresh: () => Promise<void>;
10495
+ isLoadingFirstPage: boolean;
10496
+ refetchItem: (itemId: string) => Promise<void>;
10497
+ };
10498
+ export function hasFilter(filter?: StreamFilterDefinition): boolean;
10499
+ export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10500
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10501
+ export function getFilterConditionsString(filterConditions?: string[]): string;
10502
+ export const GROUPS_CONDITION: (groupIds: string[]) => string;
10503
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
10504
+ export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
10505
+ export const OWNER_CONDITION: (owner: string) => string;
10506
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
10507
+ export const AUTHORS_CONDITION: (authors: string[]) => string;
10508
+ export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
10509
+ export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
10510
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
10511
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
10512
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
10513
+ export const POST_ITEM_FIELDS: DocumentNode;
10514
+ }
10515
+ declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
10516
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10517
+ import { DependencyList } from 'react';
10518
+ export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
10519
+ }
10520
+ declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
10521
+ import { UserGroup } from "libs/reach/util/common/src/index";
10522
+ export function usePostKeywordSettings(): (group: UserGroup) => {
10523
+ availableKeywords: import("@livetiles/reach/util/common").Keyword[];
10524
+ defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
10525
+ mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
10526
+ };
10527
+ }
10528
+ declare module "libs/reach/feature/content/src/posts/index" {
10529
+ export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
10530
+ export * from "libs/reach/feature/content/src/posts/PostCreator";
10531
+ export * from "libs/reach/feature/content/src/posts/PostDisplay";
10532
+ export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
10533
+ export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
10534
+ export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
10535
+ export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
10536
+ export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
10537
+ export * from "libs/reach/feature/content/src/posts/usePostsApi";
10538
+ export * from "libs/reach/feature/content/src/posts/utils";
10539
+ }
10221
10540
  declare module "libs/reach/feature/content/src/stream/streamUtils" {
10222
- 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";
10541
+ 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";
10223
10542
  import { Post } from "libs/reach/feature/content/src/posts/index";
10224
10543
  import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
10225
10544
  enum StreamItemTypes {
@@ -10436,7 +10755,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10436
10755
  knownState: KnownNewsState;
10437
10756
  hasNewComments?: boolean;
10438
10757
  isLiked?: boolean;
10439
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10440
10758
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10441
10759
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10442
10760
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -10646,6 +10964,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10646
10964
  isUnlinked?: boolean;
10647
10965
  pageType?: PageType;
10648
10966
  firstChildId?: string;
10967
+ isGroupInheritanceBroken?: boolean;
10649
10968
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10650
10969
  id?: string;
10651
10970
  versionId?: string;
@@ -10725,7 +11044,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10725
11044
  knownState: KnownNewsState;
10726
11045
  hasNewComments?: boolean;
10727
11046
  isLiked?: boolean;
10728
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10729
11047
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10730
11048
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10731
11049
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -10833,6 +11151,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10833
11151
  isUnlinked?: boolean;
10834
11152
  pageType?: PageType;
10835
11153
  firstChildId?: string;
11154
+ isGroupInheritanceBroken?: boolean;
10836
11155
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10837
11156
  id?: string;
10838
11157
  versionId?: string;
@@ -10956,7 +11275,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10956
11275
  knownState: KnownNewsState;
10957
11276
  hasNewComments?: boolean;
10958
11277
  isLiked?: boolean;
10959
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10960
11278
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10961
11279
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10962
11280
  id?: string;
@@ -11031,6 +11349,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11031
11349
  isUnlinked?: boolean;
11032
11350
  pageType?: PageType;
11033
11351
  firstChildId?: string;
11352
+ isGroupInheritanceBroken?: boolean;
11034
11353
  lease: import("@livetiles/reach/util/common").LeaseInfo;
11035
11354
  id?: string;
11036
11355
  versionId?: string;
@@ -11058,72 +11377,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11058
11377
  poll?: import("@livetiles/reach/util/common").Poll;
11059
11378
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11060
11379
  })[];
11380
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11381
+ export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
11382
+ }
11383
+ declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
11384
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
11385
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11386
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
11387
+ export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
11388
+ export function useClearSearchSessionOnLeave(): void;
11389
+ }
11390
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
11391
+ import { LocationDescriptor } from 'history';
11392
+ import { FC, ReactNode } from 'react';
11393
+ export const SidebarIcon: FC<{
11394
+ icon?: ReactNode;
11395
+ iconName?: string;
11396
+ color?: string;
11397
+ onClick?: () => any;
11398
+ route?: LocationDescriptor;
11399
+ iconTooltipResourceKey: string;
11400
+ iconTooltipResourceValues?: any;
11401
+ className?: string;
11402
+ }>;
11403
+ }
11404
+ declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
11405
+ import { FC, ReactNode } from 'react';
11406
+ import { LocationDescriptor } from 'history';
11407
+ import { PrimitiveType } from 'intl-messageformat';
11408
+ export interface BaseSidebarItemProps {
11409
+ children?: any;
11410
+ icon?: ReactNode;
11411
+ iconName?: string;
11412
+ iconTooltipResourceKey?: string;
11413
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11414
+ secondaryIconName?: string;
11415
+ secondaryIconTooltipResourceKey?: string;
11416
+ reverse?: boolean;
11417
+ onIconClick?: () => void;
11418
+ iconRoute?: LocationDescriptor;
11419
+ iconColor?: string;
11420
+ onSecondaryIconClick?: () => void;
11421
+ secondaryIconRoute?: LocationDescriptor;
11422
+ onContentClick?: () => void;
11423
+ contentRoute?: LocationDescriptor;
11424
+ badgeInfo?: number | boolean;
11425
+ title?: string;
11426
+ className?: string;
11427
+ }
11428
+ export const BaseSidebarItem: FC<BaseSidebarItemProps>;
11429
+ }
11430
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
11431
+ import { FC } from 'react';
11432
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11433
+ export const SidebarItemSection: FC<{
11434
+ styleDefinition?: ColorStyleDefinition;
11435
+ }>;
11436
+ }
11437
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
11438
+ import { FC, ReactNode } from 'react';
11439
+ import { PrimitiveType } from 'intl-messageformat';
11440
+ import { LocationDescriptor } from 'history';
11441
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11442
+ interface CommonSidebarItemProps {
11443
+ title?: string | JSX.Element;
11444
+ titleResource?: string;
11445
+ icon?: ReactNode;
11446
+ iconName?: string;
11447
+ iconTooltipResourceKey?: string;
11448
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11449
+ secondaryIconName?: string;
11450
+ secondaryIconTooltipResourceKey?: string;
11451
+ iconColor?: string;
11452
+ reverse?: boolean;
11453
+ notHighlightable?: boolean;
11454
+ onClick?: () => void;
11455
+ className?: string;
11456
+ isActive?: boolean;
11457
+ activeClassName?: string;
11458
+ readOnly?: boolean;
11459
+ submenu?: JSX.Element;
11460
+ submenuClassName?: string;
11461
+ submenuStyleDefinition?: ColorStyleDefinition;
11462
+ badgeInfo?: number | boolean;
11463
+ domIdentifier?: string;
11464
+ }
11465
+ interface SidebarItemProps extends CommonSidebarItemProps {
11466
+ contentRoute?: LocationDescriptor;
11467
+ onIconClick?: () => void;
11468
+ iconRoute?: LocationDescriptor;
11469
+ onSecondaryIconClick?: () => void;
11470
+ secondaryIconRoute?: LocationDescriptor;
11471
+ isHoverable?: boolean;
11472
+ }
11473
+ export const SidebarItem: FC<SidebarItemProps>;
11474
+ interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
11475
+ route: LocationDescriptor;
11476
+ exact?: boolean;
11477
+ linkClassName?: string;
11478
+ }
11479
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
11480
+ }
11481
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
11482
+ import { FC } from 'react';
11483
+ export const SidebarGroup: FC<{
11484
+ titleResource?: string;
11485
+ borderColor?: string;
11486
+ className?: string;
11487
+ }>;
11488
+ }
11489
+ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
11490
+ import { FC } from 'react';
11491
+ export const ContentWithShowMoreButton: FC<{
11492
+ domIdentifier: string;
11493
+ trimContent?: boolean;
11494
+ className?: string;
11495
+ }>;
11496
+ }
11497
+ declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
11498
+ import { FC } from 'react';
11499
+ import { Channel } from "libs/reach/util/common/src/index";
11500
+ import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
11501
+ interface Props {
11502
+ selectedChannelNames?: string[];
11503
+ selectedChannelIds?: string[];
11504
+ mandatoryChannelIds?: string[];
11505
+ availableChannels?: Channel[];
11506
+ onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
11507
+ className?: string;
11508
+ showOnlyUserChannels?: boolean;
11509
+ showSelectionToggle?: boolean;
11510
+ placeholder?: string;
11511
+ inlineControls?: boolean;
11512
+ required?: boolean;
11513
+ id?: string;
11514
+ showLogicalOperatorOptions?: boolean;
11515
+ selectedLogicalOperator?: LogicalOperator;
11516
+ }
11517
+ export const ChannelSelector: FC<Props>;
11518
+ }
11519
+ declare module "libs/reach/feature/content/src/common/index" {
11520
+ export * from "libs/reach/feature/content/src/common/cards/CardFooter";
11521
+ export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
11522
+ export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
11523
+ export * from "libs/reach/feature/content/src/common/item-tile/Title";
11524
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
11525
+ export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
11526
+ export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
11527
+ export * from "libs/reach/feature/content/src/common/body/InlineGallery";
11528
+ export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
11529
+ export * from "libs/reach/feature/content/src/common/body/InlineImage";
11530
+ export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
11531
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
11532
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
11533
+ export * from "libs/reach/feature/content/src/common/body/InlineQuote";
11534
+ export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
11535
+ export * from "libs/reach/feature/content/src/common/body/InlineVideo";
11536
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
11537
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
11538
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
11539
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
11540
+ export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
11541
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
11542
+ export * from "libs/reach/feature/content/src/common/ContentUtils";
11543
+ export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
11544
+ export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
11545
+ export * from "libs/reach/feature/content/src/common/body/InlineContact";
11546
+ export * from "libs/reach/feature/content/src/common/body/InlineCode";
11547
+ export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
11548
+ export * from "libs/reach/feature/content/src/common/body/CodeDetails";
11549
+ export * from "libs/reach/feature/content/src/common/body/TextViewer";
11550
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
11551
+ export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
11552
+ export * from "libs/reach/feature/content/src/common/body/InlineTable";
11553
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
11554
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
11555
+ export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
11556
+ export * from "libs/reach/feature/content/src/common/body/InlineFileList";
11557
+ export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
11558
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
11559
+ export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
11560
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
11561
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
11562
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
11563
+ export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
11564
+ export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
11565
+ export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
11566
+ export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
11567
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
11568
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
11569
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
11570
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
11571
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
11572
+ export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
11573
+ export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
11574
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
11575
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
11576
+ export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
11577
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
11578
+ export * from "libs/reach/feature/content/src/common/body/InlinePageList";
11579
+ export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
11580
+ export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
11581
+ export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
11582
+ export * from "libs/reach/feature/content/src/common/banner/Banner";
11583
+ export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
11584
+ export * from "libs/reach/feature/content/src/common/cards/Card";
11585
+ export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
11586
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
11587
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
11588
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
11589
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
11590
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
11591
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
11592
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
11593
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
11594
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
11595
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
11596
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
11597
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
11598
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
11599
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
11600
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
11601
+ export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
11602
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
11603
+ export * from "libs/reach/feature/content/src/common/AppTriggerActions";
11604
+ export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
11605
+ export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
11606
+ export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
11607
+ export * from "libs/reach/feature/content/src/common/StateIcon";
11608
+ export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
11609
+ export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
11610
+ export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
11611
+ export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
11612
+ export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
11613
+ export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
11614
+ export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
11615
+ export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
11616
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
11617
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
11618
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
11619
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
11620
+ export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
11621
+ export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
11622
+ export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
11623
+ export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
11624
+ }
11625
+ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
11626
+ import { FC } from 'react';
11627
+ import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
11628
+ interface Props {
11629
+ type?: ItemResourceTypes;
11630
+ baseAttachmentPath?: string;
11631
+ message: Comment;
11632
+ showDelete?: boolean;
11633
+ showAutoTranslate?: boolean;
11634
+ showEdit?: boolean;
11635
+ onDelete?: (comment: Comment) => void;
11636
+ onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
11637
+ scope: ConversationScope;
11638
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
11639
+ getHashtagFilterRoute?: (hashtag: string) => string;
11640
+ highlight?: boolean;
11641
+ hasUnreadReplies?: boolean;
11642
+ onReplyIconClick?: () => void;
11643
+ onReply?: (comment: Comment, commentSender?: Account) => void;
11644
+ replyCount?: number;
11645
+ readOnly?: boolean;
11646
+ trimContent?: boolean;
11647
+ enableModalRouting?: boolean;
11648
+ className?: string;
11649
+ }
11650
+ export const CommentDisplay: FC<Props>;
11061
11651
  }
11062
- declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11063
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11064
- import { DocumentNode } from '@apollo/client';
11065
- import { Channel } from "libs/reach/util/common/src/index";
11066
- import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
11067
- export enum StreamEventResponse {
11068
- NotSet = "NOTSET",
11069
- Registered = "REGISTERED",
11070
- Declined = "DECLINED"
11652
+ declare module "libs/reach/feature/content/src/comments/index" {
11653
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11654
+ export * from "libs/reach/feature/content/src/comments/FollowComments";
11655
+ export * from "libs/reach/feature/content/src/comments/CreateComment";
11656
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11657
+ export * from "libs/reach/feature/content/src/comments/CommentDisplay";
11658
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11659
+ export * from "libs/reach/feature/content/src/comments/UrlMatcher";
11660
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11661
+ export * from "libs/reach/feature/content/src/comments/RichCommentInput";
11662
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11663
+ export * from "libs/reach/feature/content/src/comments/AttachmentList";
11664
+ export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
11665
+ export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
11666
+ export * from "libs/reach/feature/content/src/comments/CommentInput";
11667
+ }
11668
+ declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
11669
+ import { FC, ReactNode } from 'react';
11670
+ import { Keyword } from "libs/reach/util/common/src/index";
11671
+ interface Props {
11672
+ isOpen: boolean;
11673
+ preSelectedKeywords: Keyword[];
11674
+ onSave: (keywords: Keyword[]) => void;
11675
+ titleResource: string;
11676
+ onDismiss: () => void;
11677
+ availableKeywords?: Keyword[];
11678
+ mandatoryKeywordIds?: string[];
11071
11679
  }
11072
- export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
11680
+ export const KeywordDialog: FC<Props>;
11681
+ export const StatefulKeywordPicker: FC<{
11682
+ preSelectedKeywords: Keyword[];
11683
+ availableKeywords?: Keyword[];
11684
+ mandatoryKeywordIds?: string[];
11685
+ showSelectionToggle?: boolean;
11686
+ children: (selectedKeywords: Keyword[]) => ReactNode;
11687
+ }>;
11688
+ }
11689
+ declare module "libs/reach/feature/content/src/forms/Textarea" {
11690
+ import { FC, MutableRefObject } from 'react';
11691
+ export interface TextareaProps {
11692
+ rows?: number;
11693
+ placeholder?: string;
11694
+ readOnly?: boolean;
11695
+ onChange: (value: string) => void;
11696
+ className?: string;
11697
+ defaultValue?: string;
11698
+ disabled?: boolean;
11699
+ noDebouncing?: boolean;
11700
+ value?: string;
11701
+ onIconClick?: () => void;
11702
+ onEnter?: () => void;
11703
+ icon?: string;
11704
+ disableNewLines?: boolean;
11705
+ autoFocus?: boolean;
11706
+ inputRef?: MutableRefObject<HTMLTextAreaElement>;
11707
+ onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
11708
+ inputType?: string;
11073
11709
  }
11074
- export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
11075
- items: StreamItem[];
11076
- setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
11077
- loadMore: () => Promise<void>;
11078
- pageInfo: {
11079
- errors?: any;
11080
- hasNextPage: boolean;
11081
- skip: number;
11082
- };
11083
- refresh: () => Promise<void>;
11084
- isLoadingFirstPage: boolean;
11085
- };
11086
- export function hasFilter(filter?: StreamFilterDefinition): boolean;
11087
- export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11088
- export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
11089
- export function getFilterConditionsString(filterConditions?: string[]): string;
11090
- export const GROUPS_CONDITION: (groupIds: string[]) => string;
11091
- export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
11092
- export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
11093
- export const OWNER_CONDITION: (owner: string) => string;
11094
- export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
11095
- export const AUTHORS_CONDITION: (authors: string[]) => string;
11096
- export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
11097
- export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
11098
- export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
11099
- export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
11100
- export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
11101
- export const POST_ITEM_FIELDS: DocumentNode;
11710
+ /**
11711
+ * Textarea that expands vertically to fit content.
11712
+ * If maxLength is given, also displays a count of remaining characters when focused
11713
+ */
11714
+ export const Textarea: FC<TextareaProps>;
11102
11715
  }
11103
- declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
11104
- import { Post } from "libs/reach/feature/content/src/posts/utils";
11105
- import { DependencyList } from 'react';
11106
- export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
11716
+ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
11717
+ import { FC } from 'react';
11718
+ interface Props {
11719
+ onInsert: (files: File[]) => void;
11720
+ accept?: string;
11721
+ captionKey?: string;
11722
+ captionIconName?: string;
11723
+ descriptionKey?: string;
11724
+ descriptionIconName?: string;
11725
+ singleMode?: boolean;
11726
+ }
11727
+ export const InsertFilesButton: FC<Props>;
11728
+ export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11729
+ isActive?: boolean;
11730
+ }, never>;
11107
11731
  }
11108
- declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
11109
- import { UserGroup } from "libs/reach/util/common/src/index";
11110
- export function usePostKeywordSettings(): (group: UserGroup) => {
11111
- availableKeywords: import("@livetiles/reach/util/common").Keyword[];
11112
- defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
11113
- mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
11114
- };
11732
+ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
11733
+ import { FC } from 'react';
11734
+ interface Props {
11735
+ onInsert: (files: File[]) => void;
11736
+ accept?: string;
11737
+ captionKey?: string;
11738
+ descriptionKey?: string;
11739
+ }
11740
+ export const InsertImagesButton: FC<Props>;
11115
11741
  }
11116
- declare module "libs/reach/feature/content/src/posts/index" {
11117
- export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
11118
- export * from "libs/reach/feature/content/src/posts/PostCreator";
11119
- export * from "libs/reach/feature/content/src/posts/PostDisplay";
11120
- export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
11121
- export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
11122
- export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
11123
- export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
11124
- export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
11125
- export * from "libs/reach/feature/content/src/posts/usePostsApi";
11126
- export * from "libs/reach/feature/content/src/posts/utils";
11742
+ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
11743
+ import { FC } from 'react';
11744
+ interface DateTimePickerProps {
11745
+ date: string;
11746
+ maxDate?: string;
11747
+ minDate?: string;
11748
+ dateValidationResourceKey?: string;
11749
+ timeValidationResourceKey?: string;
11750
+ readOnly?: boolean;
11751
+ onChanged: (date: string, isValid: boolean) => void;
11752
+ noDateResourceKey: string;
11753
+ selectDateResourceKey: string;
11754
+ dateOnly?: boolean;
11755
+ initialPickerDate?: string;
11756
+ label?: string;
11757
+ isRequired?: boolean;
11758
+ className?: string;
11759
+ }
11760
+ export const DateTimePicker: FC<DateTimePickerProps>;
11761
+ export default DateTimePicker;
11762
+ }
11763
+ declare module "libs/reach/feature/content/src/forms/DateRange" {
11764
+ import moment, { Moment } from 'moment';
11765
+ export enum DateRange {
11766
+ TwoYears = 0,
11767
+ OneYear = 1,
11768
+ SixMonths = 2,
11769
+ TwoMonths = 3,
11770
+ OneMonth = 4,
11771
+ SevenDays = 5,
11772
+ YesterDay = 6,
11773
+ Today = 7
11774
+ }
11775
+ export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
11776
+ export function dateToDateRange(date: string | moment.Moment): number;
11777
+ export function dateRangeToDate(range: DateRange): Moment;
11778
+ }
11779
+ declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
11780
+ import { FC } from 'react';
11781
+ import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
11782
+ export const DateRangeSlider: FC<{
11783
+ value?: DateRange;
11784
+ onChange: (range: DateRange) => unknown;
11785
+ }>;
11786
+ }
11787
+ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
11788
+ import { FC } from 'react';
11789
+ import { WrappedComponentProps } from 'react-intl';
11790
+ import { SelectionMode } from 'office-ui-fabric-react';
11791
+ import { Account, AccountType } from "libs/reach/util/common/src/index";
11792
+ interface PeoplePickerDialogProps {
11793
+ defaultSelectedItems: Account[];
11794
+ onChange: (items: Account[]) => void;
11795
+ onDismiss: () => void;
11796
+ titleResource: string;
11797
+ intl?: WrappedComponentProps;
11798
+ selectionMode?: SelectionMode;
11799
+ allowMailItems?: boolean;
11800
+ accountType: AccountType;
11801
+ showDialog: boolean;
11802
+ allowEmptyValue: boolean;
11803
+ includePendingInvitationUsers?: boolean;
11804
+ placeholderStringResourceKey?: string;
11805
+ inputAriaLabelResourceKey: string;
11806
+ }
11807
+ export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
11808
+ }
11809
+ declare module "libs/reach/feature/content/src/forms/index" {
11810
+ export * from "libs/reach/feature/content/src/forms/KeywordDialog";
11811
+ export * from "libs/reach/feature/content/src/forms/Textarea";
11812
+ export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
11813
+ export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
11814
+ export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
11815
+ export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
11816
+ export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
11817
+ export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
11818
+ export * from "libs/reach/feature/content/src/forms/DateTimePicker";
11819
+ export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
11820
+ export * from "libs/reach/feature/content/src/forms/DateRange";
11821
+ export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
11822
+ export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
11823
+ export * from "libs/reach/feature/content/src/forms/videos/VideoView";
11127
11824
  }
11128
11825
  declare module "libs/reach/feature/content/src/editor/EditorListItem" {
11129
11826
  import { FC, ReactNode } from 'react';
@@ -11220,8 +11917,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
11220
11917
  declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11221
11918
  export type ShareTokenType = 'preview' | 'published';
11222
11919
  export function useShareTokenEditorApi(): {
11223
- activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11224
- deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11920
+ activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
11921
+ deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
11225
11922
  };
11226
11923
  }
11227
11924
  declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
@@ -11232,9 +11929,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11232
11929
  cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11233
11930
  uncancelEvent: (id: string) => Promise<unknown>;
11234
11931
  unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11235
- deleteEventPermanently: (eventId: string) => any;
11932
+ deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11236
11933
  saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11237
- deleteModifiedRecurrence: (eventId: string) => any;
11934
+ deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11238
11935
  };
11239
11936
  }
11240
11937
  declare module "libs/reach/feature/content/src/editor/index" {
@@ -11273,6 +11970,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
11273
11970
  event: EventStreamItem;
11274
11971
  }>;
11275
11972
  }
11973
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11974
+ import { FC } from 'react';
11975
+ export const GlobalSearchButton: FC<{
11976
+ className?: string;
11977
+ }>;
11978
+ }
11276
11979
  declare module "libs/reach/feature/content/src/stream/StreamList" {
11277
11980
  import { FC, ReactNode } from 'react';
11278
11981
  import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11340,12 +12043,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
11340
12043
  export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
11341
12044
  export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
11342
12045
  }
11343
- declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11344
- import { FC } from 'react';
11345
- export const GlobalSearchButton: FC<{
11346
- className?: string;
11347
- }>;
11348
- }
11349
12046
  declare module "libs/reach/feature/content/src/search/index" {
11350
12047
  export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
11351
12048
  }
@@ -11787,6 +12484,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
11787
12484
  }) => string;
11788
12485
  };
11789
12486
  }
12487
+ declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
12488
+ import { Dispatch } from 'react';
12489
+ export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
12490
+ }
12491
+ declare module "apps/reach-app/src/app/analytics/DashboardPage" {
12492
+ import { FC } from 'react';
12493
+ export interface Dashboard {
12494
+ name: string;
12495
+ title: string;
12496
+ url: string;
12497
+ }
12498
+ export const DashboardPage: FC<{
12499
+ dashboard: Dashboard;
12500
+ }>;
12501
+ }
12502
+ declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
12503
+ import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
12504
+ export function useDashboards(): Dashboard[];
12505
+ export function hasDashboards(): boolean;
12506
+ }
12507
+ declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
12508
+ import { FC } from 'react';
12509
+ export const AnalyticsSidebarMenu: FC;
12510
+ }
11790
12511
  declare module "apps/reach-app/src/app/chrome/PageMenu" {
11791
12512
  import { FC } from 'react';
11792
12513
  interface Props {
@@ -11802,7 +12523,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11802
12523
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
11803
12524
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
11804
12525
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
11805
- export interface Props extends SearchBoxProps {
12526
+ export interface PageProps extends SearchBoxProps {
11806
12527
  className?: string;
11807
12528
  headerContents?: JSX.Element;
11808
12529
  headerToolbar?: HeaderToolbarTypeHack;
@@ -11820,12 +12541,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11820
12541
  submenuContents?: JSX.Element;
11821
12542
  submenuClassName?: string;
11822
12543
  disableScrollableContainerFocus?: boolean;
12544
+ asModal?: boolean;
12545
+ domIdentifier?: string;
11823
12546
  }
11824
12547
  export enum MenuNavigationMode {
11825
12548
  Collapse = 0,
11826
12549
  KeepOpen = 1
11827
12550
  }
11828
- export const Page: FC<Props>;
12551
+ export const Page: FC<PageProps>;
11829
12552
  }
11830
12553
  declare module "apps/reach-app/src/plugins/reach-chrome" {
11831
12554
  import { Page } from "apps/reach-app/src/app/chrome/Page";