@livetiles/reach-plugin-types 0.5.0-preview.26 → 0.5.0-preview.261

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 +1769 -1084
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -216,11 +216,24 @@ 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
+ dashboards: DashboardConfig[];
229
+ }
230
+ }
219
231
  declare module "libs/shared/util/environment/src/AppConfiguration" {
220
232
  import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
221
233
  import { AuthenticationType } from "libs/shared/util/authentication/src/index";
222
234
  import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
223
235
  import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
236
+ import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
224
237
  export enum ConfigType {
225
238
  Local = "local",
226
239
  Dev = "dev",
@@ -266,9 +279,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
266
279
  oneSignal?: {
267
280
  appId: string;
268
281
  };
282
+ analytics: AnalyticsConfig;
269
283
  }
270
284
  }
271
285
  declare module "libs/shared/util/environment/src/ClientConfig" {
286
+ import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
287
+ import { ConfigType } from "libs/shared/util/environment/src/AppConfiguration";
272
288
  export interface ClientConfig {
273
289
  maxFileSizeInMb: number;
274
290
  unsplash: {
@@ -286,9 +302,12 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
286
302
  giphy: {
287
303
  apiKey: string;
288
304
  };
305
+ analytics: AnalyticsConfig;
306
+ configType: ConfigType;
289
307
  }
290
308
  }
291
309
  declare module "libs/shared/util/environment/src/EnvironmentConfig" {
310
+ import { DeviceInfo } from '@capacitor/device';
292
311
  export interface EnvironmentConfig {
293
312
  isCustomerBuild: boolean;
294
313
  isProduction: boolean;
@@ -306,11 +325,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
306
325
  buildId: string;
307
326
  useAzureAdFunctionality: boolean;
308
327
  envName: string;
309
- }
310
- type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
311
- interface DeviceInfo {
312
- platform: 'ios' | 'android' | 'web';
313
- operatingSystem: OperatingSystem;
328
+ mobileTeamsHost?: string;
314
329
  }
315
330
  }
316
331
  declare module "libs/shared/util/environment/src/environment" {
@@ -1026,6 +1041,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
1026
1041
  language?: string;
1027
1042
  }>;
1028
1043
  }
1044
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
1045
+ import locale from 'date-fns/locale/ar-DZ';
1046
+ export default locale;
1047
+ }
1048
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
1049
+ import locale from 'date-fns/locale/ar-MA';
1050
+ export default locale;
1051
+ }
1052
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
1053
+ import locale from 'date-fns/locale/ar-SA';
1054
+ export default locale;
1055
+ }
1056
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
1057
+ import locale from 'date-fns/locale/bg';
1058
+ export default locale;
1059
+ }
1060
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
1061
+ import locale from 'date-fns/locale/bn';
1062
+ export default locale;
1063
+ }
1064
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
1065
+ import locale from 'date-fns/locale/ca';
1066
+ export default locale;
1067
+ }
1068
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
1069
+ import locale from 'date-fns/locale/cs';
1070
+ export default locale;
1071
+ }
1072
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
1073
+ import locale from 'date-fns/locale/da';
1074
+ export default locale;
1075
+ }
1076
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
1077
+ import locale from 'date-fns/locale/de';
1078
+ export default locale;
1079
+ }
1080
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
1081
+ import locale from 'date-fns/locale/el';
1082
+ export default locale;
1083
+ }
1084
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
1085
+ import locale from 'date-fns/locale/en-AU';
1086
+ export default locale;
1087
+ }
1088
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
1089
+ import locale from 'date-fns/locale/en-CA';
1090
+ export default locale;
1091
+ }
1092
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
1093
+ import locale from 'date-fns/locale/en-GB';
1094
+ export default locale;
1095
+ }
1096
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
1097
+ import locale from 'date-fns/locale/en-NZ';
1098
+ export default locale;
1099
+ }
1100
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
1101
+ import locale from 'date-fns/locale/es';
1102
+ export default locale;
1103
+ }
1104
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
1105
+ import locale from 'date-fns/locale/et';
1106
+ export default locale;
1107
+ }
1108
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
1109
+ import locale from 'date-fns/locale/fa-IR';
1110
+ export default locale;
1111
+ }
1112
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
1113
+ import locale from 'date-fns/locale/fi';
1114
+ export default locale;
1115
+ }
1116
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
1117
+ import locale from 'date-fns/locale/fr-CA';
1118
+ export default locale;
1119
+ }
1120
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
1121
+ import locale from 'date-fns/locale/fr-CH';
1122
+ export default locale;
1123
+ }
1124
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
1125
+ import locale from 'date-fns/locale/fr';
1126
+ export default locale;
1127
+ }
1128
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
1129
+ import locale from 'date-fns/locale/gu';
1130
+ export default locale;
1131
+ }
1132
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
1133
+ import locale from 'date-fns/locale/he';
1134
+ export default locale;
1135
+ }
1136
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
1137
+ import locale from 'date-fns/locale/hi';
1138
+ export default locale;
1139
+ }
1140
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
1141
+ import locale from 'date-fns/locale/hr';
1142
+ export default locale;
1143
+ }
1144
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
1145
+ import locale from 'date-fns/locale/hu';
1146
+ export default locale;
1147
+ }
1148
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
1149
+ import locale from 'date-fns/locale/id';
1150
+ export default locale;
1151
+ }
1152
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
1153
+ import locale from 'date-fns/locale/it';
1154
+ export default locale;
1155
+ }
1156
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
1157
+ import locale from 'date-fns/locale/ja';
1158
+ export default locale;
1159
+ }
1160
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
1161
+ import locale from 'date-fns/locale/kn';
1162
+ export default locale;
1163
+ }
1164
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
1165
+ import locale from 'date-fns/locale/ko';
1166
+ export default locale;
1167
+ }
1168
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
1169
+ import locale from 'date-fns/locale/lt';
1170
+ export default locale;
1171
+ }
1172
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
1173
+ import locale from 'date-fns/locale/lv';
1174
+ export default locale;
1175
+ }
1176
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
1177
+ import locale from 'date-fns/locale/ms';
1178
+ export default locale;
1179
+ }
1180
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
1181
+ import locale from 'date-fns/locale/nb';
1182
+ export default locale;
1183
+ }
1184
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
1185
+ import locale from 'date-fns/locale/nl-BE';
1186
+ export default locale;
1187
+ }
1188
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
1189
+ import locale from 'date-fns/locale/nl';
1190
+ export default locale;
1191
+ }
1192
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
1193
+ import locale from 'date-fns/locale/pl';
1194
+ export default locale;
1195
+ }
1196
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
1197
+ import locale from 'date-fns/locale/pt-BR';
1198
+ export default locale;
1199
+ }
1200
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
1201
+ import locale from 'date-fns/locale/pt';
1202
+ export default locale;
1203
+ }
1204
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
1205
+ import locale from 'date-fns/locale/ro';
1206
+ export default locale;
1207
+ }
1208
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
1209
+ import locale from 'date-fns/locale/ru';
1210
+ export default locale;
1211
+ }
1212
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
1213
+ import locale from 'date-fns/locale/sk';
1214
+ export default locale;
1215
+ }
1216
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
1217
+ import locale from 'date-fns/locale/sl';
1218
+ export default locale;
1219
+ }
1220
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
1221
+ import locale from 'date-fns/locale/sr-Latn';
1222
+ export default locale;
1223
+ }
1224
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
1225
+ import locale from 'date-fns/locale/sr';
1226
+ export default locale;
1227
+ }
1228
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
1229
+ import locale from 'date-fns/locale/sv';
1230
+ export default locale;
1231
+ }
1232
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
1233
+ import locale from 'date-fns/locale/ta';
1234
+ export default locale;
1235
+ }
1236
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
1237
+ import locale from 'date-fns/locale/te';
1238
+ export default locale;
1239
+ }
1240
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
1241
+ import locale from 'date-fns/locale/th';
1242
+ export default locale;
1243
+ }
1244
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
1245
+ import locale from 'date-fns/locale/tr';
1246
+ export default locale;
1247
+ }
1248
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
1249
+ import locale from 'date-fns/locale/uk';
1250
+ export default locale;
1251
+ }
1252
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
1253
+ import locale from 'date-fns/locale/vi';
1254
+ export default locale;
1255
+ }
1256
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
1257
+ import locale from 'date-fns/locale/zh-CN';
1258
+ export default locale;
1259
+ }
1260
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
1261
+ import locale from 'date-fns/locale/zh-TW';
1262
+ export default locale;
1263
+ }
1264
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
1265
+ import locale from 'date-fns/locale/en-US';
1266
+ export default locale;
1267
+ }
1268
+ declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
1269
+ export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
1270
+ }
1029
1271
  declare module "libs/reach/util/common/src/user/features/FeatureSet" {
1030
1272
  export const orderedFeatureSet: string[];
1031
1273
  export class FeatureSet {
@@ -1198,6 +1440,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1198
1440
  customDomain?: string;
1199
1441
  allowSelfRegistration?: boolean;
1200
1442
  brandFolderConfig?: BrandFolderConfig;
1443
+ hideSubscriptionName?: boolean;
1201
1444
  }
1202
1445
  export interface BrandFolderConfig {
1203
1446
  sections?: string[];
@@ -1274,9 +1517,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1274
1517
  subscriptionId: string;
1275
1518
  subscriptionName: string;
1276
1519
  }
1277
- export interface PluginExtension {
1278
- area: string;
1279
- componentName: string;
1520
+ export enum ExtensionArea {
1521
+ global = "Global",
1522
+ page = "Page",
1523
+ eventEditorFeedbackSection = "EventEditorFeedbackSection",
1524
+ eventDetailViewSection = "EventDetailViewSection",
1525
+ itemEditor = "ItemEditor"
1526
+ }
1527
+ export type InlinePlugin = {
1528
+ area: ExtensionArea.itemEditor;
1529
+ objectButton: PluginObjectButton;
1530
+ };
1531
+ export type PagePlugin = {
1532
+ area: ExtensionArea.page;
1280
1533
  route: string;
1281
1534
  navigationNode?: {
1282
1535
  componentName?: string;
@@ -1286,7 +1539,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1286
1539
  [key: string]: string;
1287
1540
  };
1288
1541
  };
1289
- }
1542
+ };
1543
+ export type PluginExtension = {
1544
+ area: ExtensionArea;
1545
+ componentName: string;
1546
+ } & (InlinePlugin | PagePlugin);
1547
+ export type PluginObjectButton = {
1548
+ buttonLabel: {
1549
+ defaultLabel: string;
1550
+ translations?: {
1551
+ [key: string]: string;
1552
+ };
1553
+ };
1554
+ iconName: string;
1555
+ };
1290
1556
  export interface PluginNotificationDefinitions {
1291
1557
  key: string;
1292
1558
  title: string;
@@ -1390,6 +1656,8 @@ declare module "libs/reach/util/common/src/user/User" {
1390
1656
  pluginNotifications: {
1391
1657
  [key: string]: NotificationType;
1392
1658
  };
1659
+ newsEditor: NotificationType;
1660
+ eventEditor: NotificationType;
1393
1661
  }
1394
1662
  export interface RequestUser extends BasicUserInformation {
1395
1663
  tenantId: string;
@@ -1490,6 +1758,7 @@ declare module "libs/reach/util/common/src/user/User" {
1490
1758
  user: UserSummary;
1491
1759
  type: SubscriptionJoinResultType;
1492
1760
  message?: string;
1761
+ isSuccess?: boolean;
1493
1762
  }
1494
1763
  export interface UserActivationResult {
1495
1764
  type: UserActivationResultType;
@@ -1716,11 +1985,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
1716
1985
  knownState: KnownNewsState;
1717
1986
  hasNewComments?: boolean;
1718
1987
  isLiked?: boolean;
1719
- shareToken?: ShareToken;
1720
- }
1721
- export interface ShareToken {
1722
- published?: string;
1723
- preview?: string;
1724
1988
  }
1725
1989
  export interface NewsItemAlertOptions {
1726
1990
  duration?: string;
@@ -1908,6 +2172,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1908
2172
  useExternalContent?: boolean;
1909
2173
  isDemoContent?: boolean;
1910
2174
  }
2175
+ export interface ShareablePublishableItem extends PublishableItem {
2176
+ shareToken: ShareToken;
2177
+ }
2178
+ export interface ShareToken {
2179
+ published?: string;
2180
+ preview?: string;
2181
+ }
1911
2182
  export interface PublishableItemVersion extends PublishableItem {
1912
2183
  itemId: string;
1913
2184
  versionModificationDate: string;
@@ -1931,6 +2202,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1931
2202
  }
1932
2203
  }
1933
2204
  declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
2205
+ import { Api } from 'restful.js';
1934
2206
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
1935
2207
  export class ClientFactoryInstance {
1936
2208
  private env;
@@ -1941,7 +2213,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
1941
2213
  constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
1942
2214
  url: string;
1943
2215
  }) => Promise<unknown>);
1944
- createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => any;
2216
+ createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
1945
2217
  private createApiInternal;
1946
2218
  private addRequestTimeLogger;
1947
2219
  createApiUrl: (url: string, query?: {
@@ -2448,6 +2720,226 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
2448
2720
  export function accessDeniedIntercept(error: any): Promise<boolean>;
2449
2721
  export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
2450
2722
  }
2723
+ declare module "libs/reach/util/common/src/Variables" {
2724
+ export const maxContentWidth = 985;
2725
+ export const adminMaxWidth = 600;
2726
+ export const spacingXxs = 3;
2727
+ export const spacingXs = 6;
2728
+ export const spacingS = 10;
2729
+ export const spacingM = 20;
2730
+ export const spacingL = 30;
2731
+ export const spacingX = 40;
2732
+ export const spacingXl = 60;
2733
+ export const minScreenSize: {
2734
+ small: number;
2735
+ medium: number;
2736
+ large: number;
2737
+ xLarge: number;
2738
+ xxLarge: number;
2739
+ xxxLarge: number;
2740
+ };
2741
+ export const maxScreenSize: {
2742
+ small: number;
2743
+ medium: number;
2744
+ large: number;
2745
+ xLarge: number;
2746
+ xxLarge: number;
2747
+ };
2748
+ export const sidebarWidth = 285;
2749
+ export const sidebarWidthRight = 320;
2750
+ export const sidebarItemHeight = 50;
2751
+ export const headerHeight = 50;
2752
+ export const headerSecondaryHeight = 50;
2753
+ export const notificationHeight = 50;
2754
+ export const mainContentPanelWidth = 300;
2755
+ export const mainContentPanelMinScreenSize = 1740;
2756
+ export const fontSizeLarger = 40;
2757
+ export const fontSizeLarge = 25;
2758
+ export const fontSizeMedium = 18;
2759
+ export const fontSizeNormal = 16;
2760
+ export const fontSizeSmall = 14;
2761
+ export const fontSizeSmaller = 12;
2762
+ export const socialIconSize = 26;
2763
+ export const lineHeight = 23;
2764
+ export const smallScreenLoginHeight = 40;
2765
+ export const bannerAspectRatio: number;
2766
+ export const bannerWidth = 980;
2767
+ export const bannerHeight = 420;
2768
+ export const HighlightBubbleSize = 12;
2769
+ export const StatusBubbleSize = 10;
2770
+ export const shadowColor = "rgba(0, 0, 0, 0.2)";
2771
+ export const diffPreviousVersionColour = "rgb(221, 221, 221)";
2772
+ export const diffActiveVersionColour = "rgb(206, 255, 188)";
2773
+ export const dialogSpacing = 24;
2774
+ export const detailViewSectionPadding = 20;
2775
+ export const detailViewSectionPaddingLarge = 60;
2776
+ export const postsSectionPadding = 20;
2777
+ export const attachmentRoundedCornerSize = 10;
2778
+ export const videoAttachmentRoundedCornerSize = 20;
2779
+ export const inlinePageBannerRoundedCornerSize = 5;
2780
+ export const feedbackButtonHeight = 32;
2781
+ export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
2782
+ export const mainContentContainerId = "lt-reach-main-content";
2783
+ export const mainModalContentContainerId = "lt-reach-main-modal-content";
2784
+ export const statusColors: {
2785
+ draft: string;
2786
+ ready: string;
2787
+ rejected: string;
2788
+ };
2789
+ export const cardWidthS = 260;
2790
+ export const cardWidthM = 354;
2791
+ export const cardWidthL = 314;
2792
+ export const cardWidthXL = 423;
2793
+ export const managePagesRowWidth = 300;
2794
+ export const managePagesRowHeight = 40;
2795
+ export const mobilePreviewWidth = 414;
2796
+ }
2797
+ declare module "libs/reach/util/common/src/common-utils" {
2798
+ import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
2799
+ import { IntlShape } from 'react-intl';
2800
+ export function getMainScrollableContainer(): HTMLElement;
2801
+ export enum LinkType {
2802
+ Internal = "internal",
2803
+ External = "external",
2804
+ Download = "download"
2805
+ }
2806
+ 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}";
2807
+ export const DefaultSubscriptionName = "LiveTiles Reach";
2808
+ export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
2809
+ export function getSubscriptionName(subscription: SubscriptionSummary): string;
2810
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
2811
+ logoInfo: LogoInfo;
2812
+ subscriptionName: string;
2813
+ };
2814
+ }
2815
+ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
2816
+ export enum AnalyticsInteractionEvents {
2817
+ embeddedVideo = "embedded-video",
2818
+ embeddedAudio = "embedded-audio",
2819
+ languageChange = "language-change",
2820
+ eventRegistration = "event-registration",
2821
+ eventSeriesRegistration = "event-series-registration",
2822
+ translateContent = "translate-content",
2823
+ downloadFile = "download-file",
2824
+ embeddedIframe = "embedded-iframe",
2825
+ externalLink = "external-link",
2826
+ follow = "follow",
2827
+ bookmark = "bookmark"
2828
+ }
2829
+ export enum AnalyticsActions {
2830
+ click = "click",
2831
+ navigate = "navigate",
2832
+ view = "view",
2833
+ search = "search"
2834
+ }
2835
+ export enum AnalyticsModuleType {
2836
+ Admin = "admin",
2837
+ Chat = "chat",
2838
+ Comments = "comments",
2839
+ Events = "events",
2840
+ GlobalSearch = "globalSearch",
2841
+ News = "news",
2842
+ Pages = "pages",
2843
+ People = "people",
2844
+ Posts = "posts",
2845
+ Stream = "stream",
2846
+ User = "user"
2847
+ }
2848
+ export enum AnalyticsModuleSubtype {
2849
+ AllChats = "allChats",
2850
+ AllNews = "allNews",
2851
+ AllPosts = "allPosts",
2852
+ Bookmarks = "bookmarks",
2853
+ Channel = "channel",
2854
+ Channels = "channels",
2855
+ ChatConversation = "conversation",
2856
+ Customization = "customization",
2857
+ DetailView = "detailView",
2858
+ DirectoryConfig = "directoryConfiguration",
2859
+ Group = "group",
2860
+ Groups = "groups",
2861
+ Keywords = "keywords",
2862
+ Languages = "languages",
2863
+ MyNews = "myNews",
2864
+ Owners = "owners",
2865
+ Preview = "preview",
2866
+ RootPages = "rootPages",
2867
+ Search = "search",
2868
+ SelfRegistration = "selfRegistration",
2869
+ TargetAudience = "targetAudience",
2870
+ UpcomingEvents = "upcoming",
2871
+ Users = "users",
2872
+ WebHooks = "webHooks"
2873
+ }
2874
+ }
2875
+ declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
2876
+ import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
2877
+ export function useLinkInteraction(analyticsInstance: ReachAnalytics): void;
2878
+ }
2879
+ declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
2880
+ import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
2881
+ export function useIframeInteraction(analyticsInstance: ReachAnalytics): void;
2882
+ }
2883
+ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
2884
+ import { Dispatch, FC, SetStateAction } from 'react';
2885
+ import { Analytics } from '@livetiles/analytics';
2886
+ import { ItemResourceTypes } from "libs/reach/util/common/src/content/index";
2887
+ export interface AnalyticsSearchData {
2888
+ searchTerm: string;
2889
+ results: {
2890
+ itemId: string;
2891
+ itemType: ItemResourceTypes;
2892
+ }[];
2893
+ itemRead?: string;
2894
+ isGlobalSearch?: boolean;
2895
+ }
2896
+ export enum AnalyticsSearchEventType {
2897
+ search = "search",
2898
+ searchSession = "searchSession"
2899
+ }
2900
+ export interface SearchAnalytics {
2901
+ data: AnalyticsSearchData[];
2902
+ onSearchTermChange: (newData: AnalyticsSearchData) => Promise<unknown>;
2903
+ trackSearchSession: () => Promise<unknown>;
2904
+ onItemRead: (itemId: string) => void;
2905
+ }
2906
+ interface Module {
2907
+ type: string;
2908
+ subtype?: string;
2909
+ value?: string;
2910
+ }
2911
+ export interface AnalyticsModule {
2912
+ module: Module;
2913
+ setModule: Dispatch<SetStateAction<Module>>;
2914
+ }
2915
+ interface ActivityAnalytics {
2916
+ trackActivity: (scrollContainer?: HTMLElement) => void;
2917
+ }
2918
+ export type ReachAnalytics = Analytics & AnalyticsModule & SearchAnalytics & ActivityAnalytics;
2919
+ export const AnalyticsContext: import("react").Context<ReachAnalytics>;
2920
+ export function useAnalyticsContext(): ReachAnalytics;
2921
+ export const AnalyticsLibraryContextProvider: FC<{
2922
+ appName?: string;
2923
+ }>;
2924
+ export const AnalyticsContextProvider: FC;
2925
+ }
2926
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
2927
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
2928
+ export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
2929
+ }
2930
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
2931
+ export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
2932
+ }
2933
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
2934
+ export function useAnalyticsNavigateTrack(): void;
2935
+ }
2936
+ declare module "libs/reach/util/common/src/analytics/index" {
2937
+ export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
2938
+ export * from "libs/reach/util/common/src/analytics/analyticsUtils";
2939
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
2940
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
2941
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
2942
+ }
2451
2943
  declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
2452
2944
  import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
2453
2945
  import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
@@ -2521,6 +3013,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2521
3013
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2522
3014
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2523
3015
  importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
3016
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
3017
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2524
3018
  };
2525
3019
  }
2526
3020
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -2546,6 +3040,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2546
3040
  customDomain?: string;
2547
3041
  allowSelfRegistration?: boolean;
2548
3042
  brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
3043
+ hideSubscriptionName?: boolean;
2549
3044
  id: string;
2550
3045
  subscriptionName: string;
2551
3046
  subscriptionHandle?: string;
@@ -2711,7 +3206,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
2711
3206
  getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
2712
3207
  saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
2713
3208
  saveFile: (pluginId: string, file: File) => Promise<Response>;
2714
- generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<any>;
3209
+ generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
2715
3210
  linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
2716
3211
  unlinkPlugin: (pluginId: string) => Promise<any>;
2717
3212
  };
@@ -2817,17 +3312,15 @@ declare module "libs/reach/util/common/src/Models" {
2817
3312
  }
2818
3313
  }
2819
3314
  declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2820
- import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
3315
+ import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
2821
3316
  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
3317
  export interface PluginNavigationNodeProps {
2829
3318
  navigationNodeProps?: PageNavigationNodeProps;
2830
3319
  }
3320
+ export type EmbeddedPluginProps = PluginProps & {
3321
+ isEditMode?: boolean;
3322
+ componentInstanceId: string;
3323
+ };
2831
3324
  export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2832
3325
  type DevPlugin = {
2833
3326
  pluginId: string;
@@ -2881,22 +3374,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2881
3374
  }
2882
3375
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2883
3376
  import { FC } from 'react';
2884
- import { ExtensionArea } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3377
+ import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
2885
3378
  export const Plugins: FC<{
2886
3379
  area: ExtensionArea;
2887
3380
  } & any>;
2888
3381
  }
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
3382
  declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2901
3383
  export class Color {
2902
3384
  private r;
@@ -3041,77 +3523,24 @@ declare module "libs/reach/util/common/src/theme/index" {
3041
3523
  export * from "libs/reach/util/common/src/theme/ThemeService";
3042
3524
  export * from "libs/reach/util/common/src/theme/ColorGenerator";
3043
3525
  }
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;
3526
+ declare module "libs/reach/util/common/src/plugins/Plugin" {
3527
+ import { FC } from 'react';
3528
+ import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3529
+ export const Plugin: FC<PluginProps & {
3530
+ showDetailedErrorMessage?: boolean;
3531
+ } & any>;
3532
+ }
3533
+ declare module "libs/reach/util/common/src/plugins/index" {
3534
+ export * from "libs/reach/util/common/src/plugins/PluginContext";
3535
+ export * from "libs/reach/util/common/src/plugins/PluginWrapper";
3536
+ export * from "libs/reach/util/common/src/plugins/Plugins";
3537
+ export * from "libs/reach/util/common/src/plugins/Plugin";
3538
+ export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
3539
+ export * from "libs/reach/util/common/src/plugins/usePluginApi";
3540
+ export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
3541
+ export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
3542
+ export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
3543
+ export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
3115
3544
  }
3116
3545
  declare module "libs/reach/util/common/src/notification/NotificationContext" {
3117
3546
  import { FC, ReactNode } from 'react';
@@ -3215,6 +3644,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
3215
3644
  width?: number;
3216
3645
  height?: number;
3217
3646
  }
3647
+ export interface ImageWithAlignment extends ImageDetails {
3648
+ imageAlignment?: ImageAlignment;
3649
+ }
3650
+ export enum ImageAlignment {
3651
+ Default = "default",
3652
+ Left = "left",
3653
+ Right = "right",
3654
+ Center = "center"
3655
+ }
3218
3656
  }
3219
3657
  declare module "libs/reach/util/common/src/MainContentPanelContext" {
3220
3658
  export interface MainPanelContextType {
@@ -3265,6 +3703,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
3265
3703
  static create(): GenericAccessDeniedTriggerAction;
3266
3704
  }
3267
3705
  }
3706
+ declare module "libs/reach/util/common/src/useModalRouting" {
3707
+ export interface ModalRouting {
3708
+ isActive: boolean;
3709
+ itemId: string;
3710
+ backgroundLocation: any;
3711
+ }
3712
+ export function useModalRouting(): {
3713
+ isModalRoutingActive: boolean;
3714
+ modalItemId: string;
3715
+ backgroundLocation: any;
3716
+ };
3717
+ export function useModalRoutingSettings(): (itemId: string) => {
3718
+ modalRouting: {
3719
+ isActive: boolean;
3720
+ itemId: string;
3721
+ backgroundLocation: {
3722
+ state: {
3723
+ modalRouting: {
3724
+ isActive: boolean;
3725
+ };
3726
+ };
3727
+ pathname: string;
3728
+ search: string;
3729
+ hash: string;
3730
+ key?: string;
3731
+ };
3732
+ };
3733
+ };
3734
+ }
3268
3735
  declare module "libs/reach/util/common/src/index" {
3269
3736
  export { initializeIcons } from 'office-ui-fabric-react';
3270
3737
  export * from "libs/reach/util/common/src/FocusStyles";
@@ -3274,6 +3741,7 @@ declare module "libs/reach/util/common/src/index" {
3274
3741
  export * from "libs/reach/util/common/src/SortDirection";
3275
3742
  export * from "libs/reach/util/common/src/useCacheLanguageApi";
3276
3743
  export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
3744
+ export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
3277
3745
  export * from "libs/reach/util/common/src/user/index";
3278
3746
  export * from "libs/reach/util/common/src/plugins/index";
3279
3747
  export * from "libs/reach/util/common/src/theme/index";
@@ -3292,6 +3760,9 @@ declare module "libs/reach/util/common/src/index" {
3292
3760
  export * from "libs/reach/util/common/src/useBaseRoute";
3293
3761
  export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
3294
3762
  export * from "libs/reach/util/common/src/AccessDeniedIntercept";
3763
+ export * from "libs/reach/util/common/src/useModalRouting";
3764
+ export * from "libs/reach/util/common/src/analytics/index";
3765
+ export * from "libs/reach/util/common/src/common-utils";
3295
3766
  }
3296
3767
  declare module "libs/reach/ui/common/src/Link" {
3297
3768
  import { Link as RouterLink } from 'react-router-dom';
@@ -3348,7 +3819,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
3348
3819
  text?: string | JSX.Element;
3349
3820
  resourceKey?: string;
3350
3821
  values?: {
3351
- [key: string]: string | number | boolean | Date;
3822
+ [key: string]: string | number | boolean | Date | any;
3352
3823
  };
3353
3824
  width?: number;
3354
3825
  onClick?: () => unknown;
@@ -3428,7 +3899,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3428
3899
  export const PeoplePicker: FC<Props>;
3429
3900
  }
3430
3901
  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";
3902
+ 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
3903
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3433
3904
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3434
3905
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3445,7 +3916,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3445
3916
  * @deprecated Please use `usePluginDeviceStore` instead
3446
3917
  */
3447
3918
  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, };
3919
+ export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
3449
3920
  }
3450
3921
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3451
3922
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3461,6 +3932,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3461
3932
  export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
3462
3933
  export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
3463
3934
  }
3935
+ declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
3936
+ export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
3937
+ }
3464
3938
  declare module "libs/reach/ui/common/src/NotificationBar" {
3465
3939
  import { FC } from 'react';
3466
3940
  export const NotificationBar: FC;
@@ -3477,6 +3951,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
3477
3951
  export const AudioFile: FC<{
3478
3952
  fileName: string;
3479
3953
  url: string;
3954
+ onPlay?: (url: string) => void;
3480
3955
  }>;
3481
3956
  export function isAudioFile(fileName: string): boolean;
3482
3957
  }
@@ -3500,37 +3975,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
3500
3975
  color?: string;
3501
3976
  }, never>;
3502
3977
  }
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
3978
  declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
3535
3979
  import { FC } from 'react';
3536
3980
  import { SubscriptionSummary } from "libs/reach/util/common/src/index";
@@ -3694,6 +4138,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
3694
4138
  export const VideoFile: FC<{
3695
4139
  fileName: string;
3696
4140
  url: string;
4141
+ onPlay?: (url: string) => void;
3697
4142
  }>;
3698
4143
  export function isVideoFile(fileName: string): boolean;
3699
4144
  }
@@ -3716,24 +4161,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3716
4161
  }[]>;
3717
4162
  export function getFileIcon(filename: string): string;
3718
4163
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
4164
+ export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
3719
4165
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
3720
4166
  }
3721
4167
  declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
4168
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
3722
4169
  export function useFileAccessTokenApi(): {
3723
4170
  exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
3724
4171
  getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
3725
- createDownloadClickHandler: (target: string, getUrl: () => Promise<string>) => () => Promise<void>;
4172
+ createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
3726
4173
  };
3727
4174
  }
3728
4175
  declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
3729
4176
  import { FC } from 'react';
3730
- import { Attachment } from "libs/reach/util/common/src/index";
4177
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
3731
4178
  export const FileAttachmentList: FC<{
3732
4179
  files: Attachment[];
3733
4180
  onDeleteClick?: (file: Attachment) => void;
3734
4181
  getFileUrl?: (attachmentId: string, token?: string) => string;
4182
+ onPlayVideo?: (url: string, videoId: string) => void;
4183
+ onPlayAudio?: (url: string, audioId: string) => void;
3735
4184
  fileAccessToken?: string;
3736
4185
  disabled?: boolean;
4186
+ parentId?: string;
4187
+ itemResourceType?: ItemResourceTypes | string;
3737
4188
  className?: string;
3738
4189
  }>;
3739
4190
  }
@@ -4026,13 +4477,35 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
4026
4477
  export const ToggleWithLabel: FC<IToggleProps>;
4027
4478
  }
4028
4479
  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>>;
4480
+ export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4030
4481
  }
4031
4482
  declare module "libs/reach/ui/common/src/common/UserUtility" {
4032
4483
  import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
4033
4484
  import { IntlShape } from 'react-intl';
4034
4485
  export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
4035
4486
  }
4487
+ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
4488
+ export const smallScreenSpacing = 10;
4489
+ export const smallMaxContentWidth: number;
4490
+ export const mediumMaxContentWidth: number;
4491
+ export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4492
+ }
4493
+ declare module "libs/reach/ui/common/src/common/Utils" {
4494
+ import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
4495
+ import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
4496
+ export function isValidUrl(url: string): boolean;
4497
+ export function getGoogleMapsSearchLink(name: string): string;
4498
+ export function tryGetInternalLink(url: string, appUrls: string[]): string;
4499
+ export function getExternalContentUrl(item: PublishableItem, language: string): string;
4500
+ export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
4501
+ export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
4502
+ export function delay(delayInMs: number): Promise<unknown>;
4503
+ export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4504
+ defaultWidth?: number;
4505
+ showPlaceholder?: boolean;
4506
+ }, never>;
4507
+ export function encodeChannelName(channelName: string): string;
4508
+ }
4036
4509
  declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
4037
4510
  import { FC, ReactNode } from 'react';
4038
4511
  import { PrimitiveType } from 'intl-messageformat';
@@ -4056,12 +4529,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
4056
4529
  }
4057
4530
  declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
4058
4531
  import { FC } from 'react';
4532
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
4059
4533
  export const AutoTranslateButton: FC<{
4060
4534
  contentLanguageCode: string;
4061
4535
  originalContent: string;
4062
4536
  content: string;
4063
4537
  onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
4064
4538
  onContentChange: (content: string) => void;
4539
+ itemType: ItemResourceTypes;
4540
+ itemId: string;
4065
4541
  tooltipResourceKey?: string;
4066
4542
  showLabel?: boolean;
4067
4543
  }>;
@@ -4345,6 +4821,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
4345
4821
  className?: string;
4346
4822
  }>;
4347
4823
  }
4824
+ declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
4825
+ export const useIsMounted: () => () => boolean;
4826
+ }
4348
4827
  declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
4349
4828
  import { PaginatedList } from "libs/reach/util/common/src/index";
4350
4829
  import { DependencyList, SetStateAction } from 'react';
@@ -4825,6 +5304,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4825
5304
  export * from "libs/reach/ui/common/src/common/grid/Grid";
4826
5305
  export * from "libs/reach/ui/common/src/common/hooks/usePagination";
4827
5306
  export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
5307
+ export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
4828
5308
  export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
4829
5309
  export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
4830
5310
  export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
@@ -4857,6 +5337,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4857
5337
  export * from "libs/reach/ui/common/src/common/error-states/index";
4858
5338
  export * from "libs/reach/ui/common/src/common/MenuItemBadge";
4859
5339
  export * from "libs/reach/ui/common/src/common/editor-svg/index";
5340
+ export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
4860
5341
  }
4861
5342
  declare module "libs/reach/ui/common/src/error/PageAlert" {
4862
5343
  import { ReactNode } from 'react';
@@ -4908,7 +5389,7 @@ declare module "libs/reach/ui/common/src/index" {
4908
5389
  export * from "libs/reach/ui/common/src/ColorEditor";
4909
5390
  }
4910
5391
  declare module "apps/reach-app/src/app/chrome/CloseButton" {
4911
- import { FC } from 'react';
5392
+ import { FC, DependencyList } from 'react';
4912
5393
  export interface Props {
4913
5394
  navigateTo: string;
4914
5395
  onClose?: () => void;
@@ -4917,7 +5398,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
4917
5398
  className?: string;
4918
5399
  }
4919
5400
  export const CloseButton: FC<Props>;
4920
- export function useEscapeOnClose(onClose: () => void): void;
5401
+ export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
4921
5402
  }
4922
5403
  declare module "apps/reach-app/src/app/common/LogoStyles" {
4923
5404
  export const LogoHostStyle: (size?: {
@@ -4981,8 +5462,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
4981
5462
  export const SkipLinksContextProvider: FC;
4982
5463
  }
4983
5464
  declare module "apps/reach-app/src/app/useAddSkipLinks" {
5465
+ import { DependencyList } from 'react';
4984
5466
  import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
4985
- export function useAddSkipLinks(...skipLinks: SkipLink[]): void;
5467
+ export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
4986
5468
  }
4987
5469
  declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
4988
5470
  import { FC } from 'react';
@@ -5008,9 +5490,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
5008
5490
  }
5009
5491
  declare module "apps/reach-app/src/app/chrome/BasicPage" {
5010
5492
  import { FC, ReactNode } from 'react';
5493
+ import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5011
5494
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
5012
5495
  import './BasicPage.scss';
5013
- import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5014
5496
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
5015
5497
  type HeaderToolbarObjectTypeHack = {
5016
5498
  toolbarElement: JSX.Element;
@@ -5033,6 +5515,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
5033
5515
  closeButtonOptions?: CloseButtonOptions;
5034
5516
  showSearchBox?: boolean;
5035
5517
  disableScrollableContainerFocus?: boolean;
5518
+ asModal?: boolean;
5519
+ domIdentifier?: string;
5036
5520
  }
5037
5521
  export const BasicPage: FC<Props>;
5038
5522
  }
@@ -5126,7 +5610,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
5126
5610
  addLanguage: (code: string) => Promise<Language>;
5127
5611
  setDefaultLanguage: (code: string) => Promise<Language>;
5128
5612
  removeLanguage: (code: string) => Promise<unknown>;
5129
- setSubscriptionName: (name: string) => Promise<string>;
5613
+ setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
5614
+ name: string | null;
5615
+ hideName: boolean | null;
5616
+ }>;
5130
5617
  setSubscriptionHandle: (handle: string) => Promise<string>;
5131
5618
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
5132
5619
  updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
@@ -5432,11 +5919,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
5432
5919
  export { PushClient };
5433
5920
  }
5434
5921
  declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5435
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5436
- export class MobileHybridStorage implements StoragePlugin {
5922
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5923
+ export class MobileHybridStorage implements PreferencesPlugin {
5437
5924
  private pluginStorage;
5438
5925
  private static memoryStorage;
5439
- constructor(pluginStorage: StoragePlugin);
5926
+ constructor(pluginStorage: PreferencesPlugin);
5440
5927
  get(options: {
5441
5928
  key: string;
5442
5929
  }): Promise<any>;
@@ -5448,7 +5935,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5448
5935
  key: string;
5449
5936
  }): Promise<void>;
5450
5937
  clear(): Promise<void>;
5451
- keys(): Promise<import("@capacitor/storage").KeysResult>;
5938
+ keys(): Promise<import("@capacitor/preferences").KeysResult>;
5452
5939
  private static updateInMemoryStorage;
5453
5940
  configure(options: ConfigureOptions): Promise<void>;
5454
5941
  migrate(): Promise<MigrateResult>;
@@ -5484,7 +5971,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
5484
5971
  export const mockStatusBarPlugin: StatusBarPlugin;
5485
5972
  }
5486
5973
  declare module "libs/shared/util/capacitor/src/WebDevice" {
5487
- import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
5974
+ import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
5488
5975
  import { PluginListenerHandle } from '@capacitor/core';
5489
5976
  export class WebDeviceFallback implements DevicePlugin {
5490
5977
  addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
@@ -5493,6 +5980,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
5493
5980
  getId(): Promise<DeviceId>;
5494
5981
  getBatteryInfo(): Promise<BatteryInfo>;
5495
5982
  getLanguageCode(): Promise<GetLanguageCodeResult>;
5983
+ getLanguageTag(): Promise<LanguageTag>;
5496
5984
  }
5497
5985
  }
5498
5986
  declare module "libs/shared/util/capacitor/src/WebNetwork" {
@@ -5509,8 +5997,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
5509
5997
  }
5510
5998
  }
5511
5999
  declare module "libs/shared/util/capacitor/src/WebStorage" {
5512
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5513
- export class WebStorage implements StoragePlugin {
6000
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
6001
+ export class WebStorage implements PreferencesPlugin {
5514
6002
  storage: Storage;
5515
6003
  get(options: {
5516
6004
  key: string;
@@ -5544,14 +6032,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
5544
6032
  import { SharePlugin } from '@capacitor/share';
5545
6033
  import { SplashScreenPlugin } from '@capacitor/splash-screen';
5546
6034
  import { StatusBarPlugin } from '@capacitor/status-bar';
5547
- import { StoragePlugin } from '@capacitor/storage';
6035
+ import { PreferencesPlugin } from '@capacitor/preferences';
5548
6036
  import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
5549
6037
  import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
5550
6038
  import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
5551
6039
  import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
5552
6040
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
5553
6041
  export interface CondensePluginRegistry {
5554
- Storage: StoragePlugin;
6042
+ Storage: PreferencesPlugin;
5555
6043
  Device: DevicePlugin;
5556
6044
  App: AppPlugin;
5557
6045
  Keyboard: KeyboardPlugin;
@@ -6213,7 +6701,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
6213
6701
  import { UserRegistrationResult } from "libs/reach/util/common/src/index";
6214
6702
  import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
6215
6703
  export function useSelfRegistrationApi(): {
6216
- changeRegistrationStatus: (upn: string, doAccept: boolean) => any;
6704
+ changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
6217
6705
  hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
6218
6706
  register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
6219
6707
  updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
@@ -6269,6 +6757,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6269
6757
  onSaved: (newProperties: UpdatableUserProperties) => void;
6270
6758
  }>;
6271
6759
  }
6760
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6761
+ import { FC } from 'react';
6762
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6763
+ export const GenerateApiKeyDialog: FC<{
6764
+ onApiKeyAdded?: () => void;
6765
+ onDismiss: () => void;
6766
+ user?: UserItem;
6767
+ }>;
6768
+ }
6272
6769
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6273
6770
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6274
6771
  import './UserList.scss';
@@ -6292,7 +6789,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6292
6789
  isLoading?: boolean;
6293
6790
  isEmpty?: boolean;
6294
6791
  emptyPlaceholder?: ReactNode;
6792
+ onKeyChanged?: () => void;
6295
6793
  }
6794
+ export type UserItem = Account & UserSummary & GroupUser & {
6795
+ accountType: string;
6796
+ lastLogin: string | JSX.Element;
6797
+ };
6296
6798
  export const UserList: FC<Props>;
6297
6799
  }
6298
6800
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6325,12 +6827,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6325
6827
  className?: string;
6326
6828
  }>;
6327
6829
  }
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
6830
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6335
6831
  import { FC } from 'react';
6336
6832
  import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
@@ -6350,19 +6846,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
6350
6846
  }
6351
6847
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
6352
6848
  import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6849
+ export enum ValidationStatus {
6850
+ Valid = 0,
6851
+ WithErrors = 1,
6852
+ WithUserErrors = 2
6853
+ }
6854
+ export type CsvValidation = {
6855
+ Status?: ValidationStatus;
6856
+ Message?: string;
6857
+ InvalidItems?: string[];
6858
+ };
6353
6859
  export function useUserCsvInviter(): {
6354
6860
  invitedUsers: UserImport[];
6355
6861
  isValidating: boolean;
6356
6862
  isCsvValid: boolean;
6357
6863
  parseCsvFile: (csvFile: File) => void;
6358
- error: string;
6359
- setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6864
+ csvValidation: CsvValidation;
6865
+ setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
6360
6866
  inviteUsers: (onSuccess?: () => void) => Promise<void>;
6361
6867
  isParserReady: boolean;
6362
6868
  isInviting: boolean;
6363
6869
  canInvite: boolean;
6870
+ csvFile: File;
6364
6871
  };
6365
6872
  }
6873
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
6874
+ export function createCsvUrl(header: string, content: string): string;
6875
+ }
6876
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
6877
+ import { FC } from 'react';
6878
+ import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
6879
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6880
+ export const CsvFileValidationResult: FC<{
6881
+ csvValidation: CsvValidation;
6882
+ invitedUsers: UserImport[];
6883
+ }>;
6884
+ }
6366
6885
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6367
6886
  import { FC } from 'react';
6368
6887
  export const ImportUserButton: FC<{
@@ -6395,34 +6914,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
6395
6914
  children?: (content: string, index: number) => JSX.Element;
6396
6915
  }>;
6397
6916
  }
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
6917
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6402
6918
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6403
- export class EventResponseTriggerAction implements AppTriggerAction {
6919
+ export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
6404
6920
  static type: string;
6405
6921
  type: string;
6406
6922
  itemId: string;
6407
6923
  response: EventResponse;
6408
6924
  locationId: string;
6409
6925
  onBehalfOfUpn: string;
6410
- static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventResponseTriggerAction;
6926
+ static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
6411
6927
  }
6412
- export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6928
+ export class EventResponseTriggerAction implements AppTriggerAction {
6413
6929
  static type: string;
6414
6930
  type: string;
6415
- recurrenceSeriesId: string;
6931
+ itemId: string;
6416
6932
  response: EventResponse;
6417
- static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6933
+ static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
6418
6934
  }
6419
- export class LikeFullSeriesTriggerAction implements AppTriggerAction {
6935
+ export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6420
6936
  static type: string;
6421
6937
  type: string;
6422
6938
  recurrenceSeriesId: string;
6423
- itemId: string;
6424
- isLiked: boolean;
6425
- static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
6939
+ response: EventResponse;
6940
+ static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6426
6941
  }
6427
6942
  export class FollowCommentsTriggerAction implements AppTriggerAction {
6428
6943
  static type: string;
@@ -6437,6 +6952,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6437
6952
  followByDefault: boolean;
6438
6953
  static create(followState: boolean): AutoFollowPostsTriggerAction;
6439
6954
  }
6955
+ export class AutoLikeItemTriggerAction implements AppTriggerAction {
6956
+ static type: string;
6957
+ type: string;
6958
+ recurrenceSeriesId: string;
6959
+ isLiked: boolean;
6960
+ likeCount: number;
6961
+ static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6962
+ }
6963
+ export class AutoFollowItemTriggerAction implements AppTriggerAction {
6964
+ static type: string;
6965
+ type: string;
6966
+ recurrenceSeriesId: string;
6967
+ isFollowed: boolean;
6968
+ static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
6969
+ }
6440
6970
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6441
6971
  static type: string;
6442
6972
  type: string;
@@ -6457,6 +6987,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6457
6987
  type: string;
6458
6988
  static create(): StreamMarkAllAsReadAction;
6459
6989
  }
6990
+ export class RefetchItemAction implements AppTriggerAction {
6991
+ static type: string;
6992
+ type: string;
6993
+ itemId: string;
6994
+ static create(itemId: string): RefetchItemAction;
6995
+ }
6996
+ export class RefetchStreamItemAction implements AppTriggerAction {
6997
+ static type: string;
6998
+ type: string;
6999
+ itemId: string;
7000
+ static create(itemId: string): RefetchStreamItemAction;
7001
+ }
6460
7002
  }
6461
7003
  declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6462
7004
  export interface CommentFilter {
@@ -6473,119 +7015,44 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
6473
7015
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6474
7016
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
6475
7017
  import { Attachment } from "libs/reach/util/common/src/index";
7018
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6476
7019
  import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
6477
7020
  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;
7021
+ createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7022
+ createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
7023
+ listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7024
+ getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
7025
+ getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
7026
+ getEditorConversations: (itemId: string) => Promise<Comment[]>;
6484
7027
  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;
7028
+ deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
7029
+ deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
6487
7030
  toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
6488
- updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => any;
7031
+ updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
6489
7032
  onCommentCreated$: import("rxjs").Observable<string>;
6490
7033
  };
6491
7034
  }
6492
- declare module "libs/reach/feature/content/src/comments/FollowComments" {
7035
+ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
7036
+ export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
7037
+ }
7038
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
6493
7039
  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;
7040
+ export const ConfirmationBox: FC<{
7041
+ disabled?: boolean;
7042
+ onChange?: (value: boolean) => void;
7043
+ checked: boolean;
7044
+ }>;
7045
+ }
7046
+ declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
7047
+ import { FC, ReactNode } from 'react';
7048
+ export const GutterMarkerIcon: FC<{
7049
+ iconName: string;
7050
+ children: ReactNode;
7051
+ isActive: boolean;
7052
+ color: string;
7053
+ tooltipResourceKey?: string;
6499
7054
  className?: string;
6500
- scope: ConversationScope;
6501
- hideProfileUrl?: boolean;
6502
- }
6503
- export const FollowComments: FC<Props>;
6504
- }
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, {
6545
- 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>;
7055
+ }>;
6589
7056
  }
6590
7057
  declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
6591
7058
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
@@ -6616,7 +7083,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6616
7083
  import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6617
7084
  import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6618
7085
  import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6619
- export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
7086
+ export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
6620
7087
  }
6621
7088
  export interface BaseFilterDefinition {
6622
7089
  search?: string;
@@ -6624,6 +7091,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6624
7091
  pageSize?: string | number;
6625
7092
  groupId?: string;
6626
7093
  }
7094
+ export interface ItemIdsFilterDefinition {
7095
+ itemIds?: string;
7096
+ }
6627
7097
  export interface IndexableFilterDefinition {
6628
7098
  [key: string]: any;
6629
7099
  }
@@ -6636,6 +7106,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6636
7106
  And = "AND"
6637
7107
  }
6638
7108
  }
7109
+ declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
7110
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7111
+ export interface AuthorFilterDefinition extends IndexableFilterDefinition {
7112
+ author?: string;
7113
+ }
7114
+ }
7115
+ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
7116
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7117
+ export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
7118
+ channels?: FilterWithLogicalOperator;
7119
+ }
7120
+ }
7121
+ declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
7122
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7123
+ import { WorkflowStatus } from "libs/reach/util/common/src/index";
7124
+ export interface StateFilterDefinition extends IndexableFilterDefinition {
7125
+ state?: WorkflowStatus;
7126
+ }
7127
+ }
7128
+ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
7129
+ import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
7130
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7131
+ import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
7132
+ import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
7133
+ export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
7134
+ groupId?: string;
7135
+ bookmarksOnly?: boolean;
7136
+ unreadOnly?: boolean;
7137
+ includeExpired?: boolean;
7138
+ }
7139
+ }
7140
+ declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
7141
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7142
+ export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
7143
+ afterDate?: string;
7144
+ }
7145
+ }
7146
+ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
7147
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7148
+ export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
7149
+ contacts?: string[];
7150
+ }
7151
+ }
6639
7152
  declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
6640
7153
  import { SortDirection } from "libs/reach/util/common/src/index";
6641
7154
  export class SortFieldsDefinitionBuilder<T extends string> {
@@ -6651,18 +7164,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
6651
7164
  startsBefore?: string;
6652
7165
  }
6653
7166
  }
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
7167
  declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6667
7168
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6668
7169
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
@@ -6679,18 +7180,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6679
7180
  }
6680
7181
  export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
6681
7182
  }
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
7183
  declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6695
7184
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6696
7185
  export interface FilteringProps {
@@ -6700,25 +7189,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6700
7189
  isFilterActive?: boolean;
6701
7190
  }
6702
7191
  }
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
7192
  declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
6723
7193
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6724
7194
  export enum ItemTypeFilterFlag {
@@ -6800,16 +7270,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
6800
7270
  };
6801
7271
  export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
6802
7272
  }
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
7273
  declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
6814
7274
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6815
7275
  import { Observable } from 'rxjs';
@@ -6869,70 +7329,278 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
6869
7329
  import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
6870
7330
  export function useNewsApi(): NewsApiService;
6871
7331
  }
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;
7332
+ declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7333
+ import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7334
+ export default interface FeedbackSummary {
7335
+ records: FeedbackItem[];
6881
7336
  }
6882
- }
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>>;
6897
- };
6898
- }
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;
6912
- keywords?: {
6913
- [key: string]: Keyword[];
6914
- };
6915
- contentLanguageCode?: string;
6916
- isLiked?: boolean;
6917
- isUnread?: boolean;
6918
- isDemoContent?: boolean;
6919
- isFollowing?: boolean;
7337
+ export enum FeedbackItemType {
7338
+ comment = "comment",
7339
+ like = "like",
7340
+ confirm = "confirm",
7341
+ poll = "poll",
7342
+ eventRegistration = "eventRegistration"
6920
7343
  }
6921
- export interface PostFilterDefinition {
6922
- token?: string;
6923
- pageSize?: string;
6924
- search?: string;
6925
- keywords?: FilterWithLogicalOperator;
7344
+ export interface FeedbackItem {
7345
+ type: FeedbackItemType;
7346
+ timestamp: string;
7347
+ }
7348
+ export interface PollFeedbackItem extends FeedbackItem {
7349
+ type: FeedbackItemType.poll;
7350
+ answers: PollQuestionAnswer[];
6926
7351
  }
6927
- export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
6928
- export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
6929
- export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
6930
7352
  }
6931
- declare module "libs/reach/feature/content/src/posts/usePostsApi" {
6932
- import { PaginatedList } from "libs/reach/util/common/src/index";
6933
- import { Attachment } from "libs/reach/util/common/src/index";
6934
- import { Keyword } from "libs/reach/util/common/src/index";
6935
- import { Account } from "libs/reach/util/common/src/index";
7353
+ declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7354
+ import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7355
+ import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7356
+ import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7357
+ export const feedbackCache: {
7358
+ [newsId: string]: Promise<FeedbackSummary>;
7359
+ };
7360
+ export function useFeedbackApi(): {
7361
+ getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7362
+ setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7363
+ unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7364
+ updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7365
+ getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7366
+ getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7367
+ };
7368
+ }
7369
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
7370
+ import { FC } from 'react';
7371
+ import { NewsItem } from "libs/reach/util/common/src/index";
7372
+ export const ConfirmationSection: FC<{
7373
+ item?: NewsItem;
7374
+ showDescription: boolean;
7375
+ readOnly?: boolean;
7376
+ className?: string;
7377
+ }>;
7378
+ }
7379
+ declare module "libs/reach/feature/content/src/news/NewsService" {
7380
+ import { CurrentUser } from "libs/reach/util/common/src/index";
7381
+ import { LanguageBase } from "libs/reach/util/common/src/index";
7382
+ import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7383
+ export class NewsService {
7384
+ static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7385
+ static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7386
+ static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7387
+ static getContentLanguages(contents: {
7388
+ [lang: string]: ContentDefinition;
7389
+ }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7390
+ static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7391
+ static getLanguageForContent(contents: {
7392
+ [lang: string]: ContentDefinition;
7393
+ }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7394
+ static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7395
+ }
7396
+ }
7397
+ declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7398
+ import { FC } from 'react';
7399
+ import { PublishableItemContents } from "libs/reach/util/common/src/index";
7400
+ export interface TranslationItem {
7401
+ language: string;
7402
+ id: string;
7403
+ text: string;
7404
+ }
7405
+ export const PollTranslationContext: import("react").Context<{
7406
+ getTranslation: (id: string) => string;
7407
+ getAllTranslations: (id: string) => TranslationItem[];
7408
+ }>;
7409
+ export const PollTranslationContextProvider: FC<{
7410
+ contents?: PublishableItemContents;
7411
+ language: string;
7412
+ additionalTranslations?: TranslationItem[];
7413
+ }>;
7414
+ }
7415
+ declare module "libs/reach/feature/content/src/feedback/utils" {
7416
+ import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7417
+ export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7418
+ export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7419
+ export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
7420
+ }
7421
+ declare module "libs/reach/feature/content/src/feedback/index" {
7422
+ export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
7423
+ export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
7424
+ export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
7425
+ export * from "libs/reach/feature/content/src/feedback/utils";
7426
+ }
7427
+ declare module "libs/reach/feature/content/src/comments/FollowComments" {
7428
+ import { FC } from 'react';
7429
+ import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
7430
+ interface Props {
7431
+ type: ItemResourceTypes;
7432
+ itemId: string;
7433
+ recurrenceSeriesId?: string;
7434
+ className?: string;
7435
+ scope: ConversationScope;
7436
+ hideProfileUrl?: boolean;
7437
+ onToggleFollow?: (isFollowed: boolean) => void;
7438
+ }
7439
+ export const FollowComments: FC<Props>;
7440
+ export const FollowCommentsNotificationWarning: FC<{
7441
+ hideProfileUrl?: boolean;
7442
+ className?: string;
7443
+ }>;
7444
+ }
7445
+ declare module "libs/reach/feature/content/src/comments/CommentInput" {
7446
+ import { ReactNode } from 'react';
7447
+ import { Account } from "libs/reach/util/common/src/index";
7448
+ export interface UserSuggestion {
7449
+ id: string;
7450
+ upn: string;
7451
+ displayName: string;
7452
+ display: string;
7453
+ }
7454
+ export interface SuggestionArgs {
7455
+ searchText: string;
7456
+ updateSuggestions: (suggestions: UserSuggestion[]) => any;
7457
+ }
7458
+ export interface CommentInputProps {
7459
+ className?: string;
7460
+ content: string;
7461
+ disabled?: boolean;
7462
+ autoFocus?: boolean;
7463
+ onEnter?: () => void;
7464
+ onCtrlEnter?: () => unknown;
7465
+ onChange?: (value: string) => void;
7466
+ onFocus?: () => void;
7467
+ additionalInputControl?: ReactNode;
7468
+ buttons?: {
7469
+ leftSide?: ReactNode;
7470
+ rightSide?: ReactNode;
7471
+ };
7472
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7473
+ placeHolderStringResourceKey?: string;
7474
+ placeHolderStringResourceValues?: {
7475
+ [key: string]: string | number | boolean | Date;
7476
+ };
7477
+ disableBoxShadow?: boolean;
7478
+ ariaLabel?: string;
7479
+ }
7480
+ export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
7481
+ }
7482
+ declare module "libs/reach/feature/content/src/comments/DropInfo" {
7483
+ import { FC } from 'react';
7484
+ export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7485
+ isActive: boolean;
7486
+ }, never>;
7487
+ export const DropInfo: FC;
7488
+ }
7489
+ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
7490
+ import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
7491
+ export interface KalturaProperties {
7492
+ sp?: string;
7493
+ uiconfId?: string;
7494
+ partnerId?: string;
7495
+ entryId?: string;
7496
+ }
7497
+ export class VideoUrlParser {
7498
+ private url;
7499
+ private static ytRegex;
7500
+ private static vimeoRegex;
7501
+ private static microsoftStreamRegex;
7502
+ private static vimeoDirectLinkRegex;
7503
+ private static vimeoRedirectLinkRegex;
7504
+ private static kalturaRegex;
7505
+ readonly source: VideoSource | null;
7506
+ readonly id: string | null;
7507
+ readonly isDirectVideoUrl: boolean;
7508
+ readonly videoProperties: any;
7509
+ readonly thumbnailUrl: string;
7510
+ constructor(url: string);
7511
+ isValid(features: FeatureSet): boolean;
7512
+ }
7513
+ export function getVideoSources(features: FeatureSet): any[];
7514
+ export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
7515
+ export function getAllVideoSources(features: FeatureSet): any[];
7516
+ }
7517
+ declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
7518
+ import { AttachmentType } from "libs/reach/util/common/src/index";
7519
+ export function getAllVideosFromString(content: string): Generator<{
7520
+ url: string;
7521
+ type: AttachmentType;
7522
+ }, void, unknown>;
7523
+ export function getEmbeddedObjectsFromString(content: string): Generator<{
7524
+ url: string;
7525
+ subscriptionIdentifier: string;
7526
+ type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
7527
+ id: string;
7528
+ }, void, unknown>;
7529
+ }
7530
+ declare module "libs/reach/feature/content/src/events/useEventsApi" {
7531
+ import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
7532
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7533
+ import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
7534
+ export function useEventsApi(): {
7535
+ getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
7536
+ getEvent: (id: string) => Promise<EventItem>;
7537
+ getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
7538
+ };
7539
+ }
7540
+ declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
7541
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7542
+ import { PageType } from "libs/reach/util/common/src/index";
7543
+ export interface PageFilterDefinition extends PublishableItemFilterDefinition {
7544
+ pageContextId?: string;
7545
+ restrictToPageContext?: boolean;
7546
+ rootPagesOnly?: boolean;
7547
+ parentId?: string;
7548
+ pageType?: PageType;
7549
+ }
7550
+ }
7551
+ declare module "libs/reach/feature/content/src/pages/usePagesApi" {
7552
+ import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
7553
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7554
+ import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
7555
+ export function usePagesApi(): {
7556
+ loadPage: (id: string) => Promise<PageItem>;
7557
+ loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
7558
+ getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
7559
+ getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7560
+ searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7561
+ getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7562
+ searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
7563
+ getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
7564
+ searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
7565
+ };
7566
+ }
7567
+ declare module "libs/reach/feature/content/src/posts/utils" {
7568
+ import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
7569
+ import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7570
+ export interface Post extends BaseItem, ItemWithAttachments {
7571
+ id: string;
7572
+ comments?: PaginatedList<Comment>;
7573
+ groupId: string;
7574
+ content: string;
7575
+ permalink?: string;
7576
+ author: Account;
7577
+ publishingDate: string;
7578
+ modified?: string;
7579
+ statistics: ItemStatistics;
7580
+ keywords?: {
7581
+ [key: string]: Keyword[];
7582
+ };
7583
+ contentLanguageCode?: string;
7584
+ isLiked?: boolean;
7585
+ isUnread?: boolean;
7586
+ isDemoContent?: boolean;
7587
+ isFollowing?: boolean;
7588
+ }
7589
+ export interface PostFilterDefinition {
7590
+ token?: string;
7591
+ pageSize?: string;
7592
+ search?: string;
7593
+ keywords?: FilterWithLogicalOperator;
7594
+ }
7595
+ export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
7596
+ export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
7597
+ export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
7598
+ }
7599
+ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
7600
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7601
+ import { Attachment } from "libs/reach/util/common/src/index";
7602
+ import { Keyword } from "libs/reach/util/common/src/index";
7603
+ import { Account } from "libs/reach/util/common/src/index";
6936
7604
  import { Post, PostFilterDefinition } from "libs/reach/feature/content/src/posts/utils";
6937
7605
  export function usePostsApi(): {
6938
7606
  createPost: (post: Partial<Post>) => Promise<Post>;
@@ -6944,7 +7612,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
6944
7612
  deletePost: (postId: string) => Promise<unknown>;
6945
7613
  getPost: (postId: string, commentCount?: number) => Promise<Post>;
6946
7614
  getPostThread: (postId: string, threadId: string) => Promise<Post>;
6947
- translatePost: (postId: string, language: string) => any;
7615
+ translatePost: (postId: string, language: string) => Promise<string>;
6948
7616
  searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
6949
7617
  };
6950
7618
  }
@@ -6954,7 +7622,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
6954
7622
  }
6955
7623
  declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6956
7624
  import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
6957
- import { Attachment } from "libs/reach/util/common/src/index";
7625
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
6958
7626
  export interface ClientAttachment extends Attachment {
6959
7627
  file?: File;
6960
7628
  }
@@ -6970,6 +7638,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6970
7638
  placeHolderStringResourceKey?: string;
6971
7639
  disableAddGif?: boolean;
6972
7640
  disableAddFiles?: boolean;
7641
+ parentId?: string;
7642
+ itemResourceType?: ItemResourceTypes | string;
6973
7643
  };
6974
7644
  export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
6975
7645
  attachments: Attachment[];
@@ -6982,6 +7652,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6982
7652
  placeHolderStringResourceKey?: string;
6983
7653
  disableAddGif?: boolean;
6984
7654
  disableAddFiles?: boolean;
7655
+ parentId?: string;
7656
+ itemResourceType?: ItemResourceTypes | string;
6985
7657
  } & import("react").RefAttributes<HTMLInputElement>>;
6986
7658
  }
6987
7659
  declare module "libs/reach/feature/content/src/comments/utils" {
@@ -7090,27 +7762,10 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
7090
7762
  showAllKeywordsInCallout?: boolean;
7091
7763
  }>;
7092
7764
  }
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
7765
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7112
7766
  import { FC, MouseEvent } from 'react';
7113
7767
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7768
+ import { LocationState } from 'history';
7114
7769
  export const ClickableOverlay: FC<{
7115
7770
  itemId: string;
7116
7771
  itemType: ItemResourceTypes;
@@ -7121,6 +7776,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7121
7776
  onClick?: (event: MouseEvent<unknown>) => unknown;
7122
7777
  openTargetInNewWindow?: boolean;
7123
7778
  isExternalContent?: boolean;
7779
+ locationState?: LocationState;
7780
+ }>;
7781
+ }
7782
+ declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
7783
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7784
+ import { FC } from 'react';
7785
+ export const ClickableOverlayWithModalRouting: FC<{
7786
+ itemId: string;
7787
+ itemType: ItemResourceTypes;
7788
+ baseRoute: string;
7789
+ title?: string;
7790
+ isExternalContent?: boolean;
7791
+ targetUrl?: string;
7124
7792
  }>;
7125
7793
  }
7126
7794
  declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
@@ -7131,6 +7799,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
7131
7799
  targetUrl?: string;
7132
7800
  readOnly?: boolean;
7133
7801
  backgroundColor?: string;
7802
+ enableModalRouting?: boolean;
7134
7803
  className?: string;
7135
7804
  }>;
7136
7805
  }
@@ -7168,6 +7837,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7168
7837
  className?: string;
7169
7838
  allowFilterByChannels?: boolean;
7170
7839
  channelBackgroundColor?: string;
7840
+ onChannelClick?: (channel: string) => unknown;
7171
7841
  }>;
7172
7842
  }
7173
7843
  declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
@@ -7227,6 +7897,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7227
7897
  height?: number;
7228
7898
  hidePlayerIfActive?: boolean;
7229
7899
  className?: string;
7900
+ documentIconName?: string;
7230
7901
  }
7231
7902
  export const PublishableItemBanner: FC<Props>;
7232
7903
  }
@@ -7312,27 +7983,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7312
7983
  }
7313
7984
  export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
7314
7985
  }
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
7986
  declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
7337
7987
  import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7338
7988
  import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
@@ -7351,6 +8001,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7351
8001
  import { PrimaryButton } from 'office-ui-fabric-react';
7352
8002
  export const EventRegistrationButton: FC<{
7353
8003
  isRegistered: boolean;
8004
+ eventId: string;
7354
8005
  disabled?: boolean;
7355
8006
  className?: string;
7356
8007
  onClick?: () => void;
@@ -7361,24 +8012,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7361
8012
  isRegistered?: boolean;
7362
8013
  }, never>;
7363
8014
  }
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
8015
  declare module "libs/reach/feature/content/src/events/eventUtils" {
7383
8016
  import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
7384
8017
  import { MessageDescriptor } from 'react-intl';
@@ -7434,25 +8067,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7434
8067
  onDismiss: () => unknown;
7435
8068
  }>;
7436
8069
  }
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
8070
  declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
7457
8071
  import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7458
8072
  import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
@@ -7465,10 +8079,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
7465
8079
  }
7466
8080
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
7467
8081
  import { FC } from 'react';
8082
+ import { EventResponse } from "libs/reach/util/common/src/index";
7468
8083
  export const EventUserRegistration: FC<{
7469
8084
  disabled?: boolean;
7470
8085
  hideInfoMessage?: boolean;
7471
8086
  showNoRegistrationRequired?: boolean;
8087
+ onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7472
8088
  className?: string;
7473
8089
  }>;
7474
8090
  }
@@ -7526,11 +8142,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
7526
8142
  className?: string;
7527
8143
  }>;
7528
8144
  }
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
8145
  declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7535
8146
  import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
7536
8147
  import { FC } from 'react';
@@ -7538,8 +8149,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7538
8149
  export const CardLikeButton: FC<{
7539
8150
  item: NewsItem | EventItem;
7540
8151
  itemResourceType: ItemResourceTypes;
7541
- isAutoLiked?: boolean;
7542
- onLiked?: (isLiked: boolean) => unknown;
8152
+ onToggleLike?: (isLiked: boolean, likeCount: number) => void;
7543
8153
  className?: string;
7544
8154
  }>;
7545
8155
  }
@@ -7561,6 +8171,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
7561
8171
  className?: string;
7562
8172
  }>;
7563
8173
  }
8174
+ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
8175
+ import { FC } from 'react';
8176
+ export const LinkWithModalRouting: FC<{
8177
+ url: string;
8178
+ itemId: string;
8179
+ hash?: string;
8180
+ onClick?: (e: React.MouseEvent) => unknown;
8181
+ ariaHidden?: boolean;
8182
+ ariaLabel?: string;
8183
+ className?: string;
8184
+ }>;
8185
+ }
7564
8186
  declare module "libs/reach/feature/content/src/events/list/EventCard" {
7565
8187
  import { FC } from 'react';
7566
8188
  import { EventItem } from "libs/reach/util/common/src/index";
@@ -7579,6 +8201,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7579
8201
  allowFilterByChannels?: boolean;
7580
8202
  showFeedbackButtons?: boolean;
7581
8203
  readOnly?: boolean;
8204
+ enableModalRouting?: boolean;
7582
8205
  className?: string;
7583
8206
  }>;
7584
8207
  }
@@ -7629,7 +8252,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7629
8252
  Contact = "contact",
7630
8253
  InlinePageList = "inline-page-list",
7631
8254
  UrlPreview = "url-preview",
7632
- ActionButton = "action-button"
8255
+ ActionButton = "action-button",
8256
+ InlinePlugin = "inline-plugin"
7633
8257
  }
7634
8258
  export interface HtmlComponentMapper {
7635
8259
  component: FC<any>;
@@ -7656,6 +8280,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
7656
8280
  resourceType: ItemResourceTypes;
7657
8281
  item: TItem;
7658
8282
  itemId: string;
8283
+ relatedItemIds?: string[];
7659
8284
  contentLanguage: string;
7660
8285
  userPreferredLanguage: string;
7661
8286
  activeLanguages: string[];
@@ -7771,7 +8396,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
7771
8396
  resourceKey?: string;
7772
8397
  resourceValues?: string;
7773
8398
  className?: string;
8399
+ enableModalRouting?: boolean;
8400
+ itemId?: string;
7774
8401
  isOverrideLink: boolean;
8402
+ icon?: string;
7775
8403
  }>;
7776
8404
  }
7777
8405
  declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
@@ -7830,6 +8458,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7830
8458
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7831
8459
  onKeywordClick?: (keyword: string) => unknown;
7832
8460
  openTargetInNewWindow?: boolean;
8461
+ enableModalRouting?: boolean;
7833
8462
  className?: string;
7834
8463
  }
7835
8464
  export const PageItemTile: FC<Props>;
@@ -7875,6 +8504,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
7875
8504
  onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7876
8505
  styleDefinition?: StyleDefinition;
7877
8506
  readOnly?: boolean;
8507
+ enableModalRouting?: boolean;
7878
8508
  className?: string;
7879
8509
  }
7880
8510
  export const PublishableItemTileWrapper: FC<Props>;
@@ -7918,6 +8548,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7918
8548
  onKeywordClick?: (keyword: string) => unknown;
7919
8549
  styleDefinition?: StyleDefinition;
7920
8550
  readOnly?: boolean;
8551
+ enableModalRouting?: boolean;
7921
8552
  className?: string;
7922
8553
  }
7923
8554
  export const NewsItemTile: FC<Props>;
@@ -7943,6 +8574,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
7943
8574
  previewTheme?: CommentInputTheme;
7944
8575
  buttons?: ReactNode;
7945
8576
  groupIds?: string[];
8577
+ enableModalRouting?: boolean;
7946
8578
  className?: string;
7947
8579
  }>;
7948
8580
  export const EmbeddedObjectAccessDeniedTile: FC<{
@@ -7959,6 +8591,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
7959
8591
  attachments: Attachment[];
7960
8592
  onDeleteClick?: (attachment: Attachment) => void;
7961
8593
  previewTheme?: CommentInputTheme;
8594
+ enableModalRouting?: boolean;
7962
8595
  className?: string;
7963
8596
  }>;
7964
8597
  }
@@ -7975,7 +8608,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
7975
8608
  }
7976
8609
  declare module "libs/reach/feature/content/src/comments/AttachmentList" {
7977
8610
  import { FC } from 'react';
7978
- import { Attachment } from "libs/reach/util/common/src/index";
8611
+ import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
7979
8612
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
7980
8613
  interface Props {
7981
8614
  className?: string;
@@ -7985,6 +8618,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
7985
8618
  previewTheme?: CommentInputTheme;
7986
8619
  disableVideoPreview?: boolean;
7987
8620
  disableEmbeddedObjectPreview?: boolean;
8621
+ itemResourceType?: ItemResourceTypes | string;
8622
+ parentId?: string;
7988
8623
  }
7989
8624
  export const AttachmentList: FC<Props>;
7990
8625
  }
@@ -8001,6 +8636,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
8001
8636
  placeHolderStringResourceKey?: string;
8002
8637
  disableAddGif?: boolean;
8003
8638
  disableAddFiles?: boolean;
8639
+ parentId?: string;
8640
+ itemResourceType?: string;
8004
8641
  } & {
8005
8642
  disableVideoPreview?: boolean;
8006
8643
  disableEmbeddedObjectPreview?: boolean;
@@ -8070,7 +8707,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
8070
8707
  }
8071
8708
  declare module "libs/reach/feature/content/src/comments/CreateComment" {
8072
8709
  import { FC } from 'react';
8073
- import { Account } from "libs/reach/util/common/src/index";
8710
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8074
8711
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8075
8712
  import { Keyword } from "libs/reach/util/common/src/index";
8076
8713
  import { CommentInputTheme } from "libs/reach/ui/common/src/index";
@@ -8102,6 +8739,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
8102
8739
  };
8103
8740
  disableBoxShadow?: boolean;
8104
8741
  ariaLabel?: string;
8742
+ parentId?: string;
8743
+ itemResourceType?: ItemResourceTypes | string;
8105
8744
  }
8106
8745
  interface Props extends BaseProps {
8107
8746
  allowAttachments?: boolean;
@@ -8119,6 +8758,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8119
8758
  import { FC, ReactNode } from 'react';
8120
8759
  export const InlineObjectToolbar: FC<{
8121
8760
  onDelete?: () => void;
8761
+ deleteAriaLabelResourceKey?: string;
8122
8762
  additionalButtons?: ReactNode;
8123
8763
  }>;
8124
8764
  export const InlineObjectToolbarWrapper: FC<{
@@ -8126,15 +8766,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8126
8766
  }>;
8127
8767
  }
8128
8768
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8129
- import { FC } from 'react';
8769
+ import { FC, ReactNode } from 'react';
8770
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8130
8771
  export const ImageToolbar: FC<{
8131
8772
  onDelete?: () => void;
8132
8773
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8133
8774
  onClose?: (e: React.MouseEvent<any>) => void;
8134
8775
  onCrop?: (e: React.MouseEvent<any>) => void;
8776
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8135
8777
  showFullScreenButton?: boolean;
8136
8778
  showCloseButton?: boolean;
8137
8779
  showCropButton?: boolean;
8780
+ alignmentButtons?: ReactNode;
8138
8781
  }>;
8139
8782
  }
8140
8783
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8161,14 +8804,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
8161
8804
  }
8162
8805
  export const InlineGalleryMapper: HtmlComponentMapper;
8163
8806
  }
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
8807
  declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8173
8808
  import { FC } from 'react';
8174
8809
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
@@ -8176,12 +8811,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
8176
8811
  item: ItemWithAttachments;
8177
8812
  basePath: string;
8178
8813
  imagesGridBackgroundColor?: string;
8814
+ onPlayVideo?: (url: string, videoId: string) => void;
8815
+ onPlayAudio?: (url: string, audioId: string) => void;
8179
8816
  className?: string;
8180
8817
  }>;
8181
8818
  }
8182
8819
  declare module "libs/reach/feature/content/src/comments/EditComment" {
8183
8820
  import { FC } from 'react';
8184
- import { Account } from "libs/reach/util/common/src/index";
8821
+ import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
8185
8822
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8186
8823
  import { Attachment } from "libs/reach/util/common/src/index";
8187
8824
  import { Keyword } from "libs/reach/util/common/src/index";
@@ -8197,6 +8834,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
8197
8834
  onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
8198
8835
  onDeleteAttachment?: (attachment: ClientAttachment) => void;
8199
8836
  ariaLabel?: string;
8837
+ parentId?: string;
8838
+ itemResourceType?: ItemResourceTypes | string;
8200
8839
  }
8201
8840
  interface Props extends BaseProps {
8202
8841
  onSave?: (newContent: string, keywords?: {
@@ -8261,6 +8900,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8261
8900
  export const EditCommentWithAttachments: FC<Props>;
8262
8901
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
8263
8902
  }
8903
+ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8904
+ import { FC } from 'react';
8905
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8906
+ export const BookmarkButton: FC<{
8907
+ item: PublishableItem;
8908
+ isReadOnly?: boolean;
8909
+ className?: string;
8910
+ }>;
8911
+ }
8264
8912
  declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8265
8913
  import { FC } from 'react';
8266
8914
  export const CardStatisticItem: FC<{
@@ -8278,13 +8926,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8278
8926
  };
8279
8927
  }>;
8280
8928
  }
8281
- declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8929
+ declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
8930
+ import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8282
8931
  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;
8932
+ export const CardCommentButton: FC<{
8933
+ item: NewsItem | EventItem;
8934
+ itemResourceType: ItemResourceTypes;
8935
+ targetRoute: string;
8936
+ enableModalRouting?: boolean;
8288
8937
  }>;
8289
8938
  }
8290
8939
  declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
@@ -8292,13 +8941,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8292
8941
  import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8293
8942
  export const CardFooter: FC<{
8294
8943
  item: NewsItem | EventItem;
8295
- showComments: boolean;
8296
8944
  targetRoute: string;
8297
8945
  itemResourceType: ItemResourceTypes;
8298
- isAutoLiked?: boolean;
8299
- onLiked?: (isLiked: boolean) => unknown;
8946
+ enableModalRouting?: boolean;
8300
8947
  }>;
8301
- export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8948
+ export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8302
8949
  }
8303
8950
  declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8304
8951
  export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -8347,7 +8994,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
8347
8994
  target?: string;
8348
8995
  language?: string;
8349
8996
  hideCurrentPageNode?: boolean;
8997
+ homeTargetUrlOverride?: string;
8350
8998
  className?: string;
8999
+ readonly?: boolean;
8351
9000
  }>;
8352
9001
  }
8353
9002
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
@@ -8407,6 +9056,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
8407
9056
  hide?: boolean;
8408
9057
  onPageSelected?: (pageId: string) => unknown;
8409
9058
  selectedPageId?: string;
9059
+ readonly?: boolean;
8410
9060
  }>;
8411
9061
  }
8412
9062
  declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
@@ -8423,6 +9073,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
8423
9073
  selectedPageId?: string;
8424
9074
  isLoading?: boolean;
8425
9075
  disableScrollableList?: boolean;
9076
+ readonly?: boolean;
8426
9077
  }>;
8427
9078
  export const PageTableOfContentsInPanel: FC<{
8428
9079
  basePath?: string;
@@ -8445,6 +9096,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
8445
9096
  onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8446
9097
  onDismiss: () => void;
8447
9098
  basePath: string;
9099
+ readonly?: boolean;
8448
9100
  }>;
8449
9101
  }
8450
9102
  declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
@@ -8468,6 +9120,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
8468
9120
  activePageId: string;
8469
9121
  navigationContext: PageNavigationContext;
8470
9122
  className?: string;
9123
+ readonly?: boolean;
8471
9124
  }
8472
9125
  export const PagesDetailViewNavigation: FC<Props>;
8473
9126
  }
@@ -8546,6 +9199,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8546
9199
  language?: string;
8547
9200
  buildChannelFilterUrl?: (channelName: string) => string;
8548
9201
  clickableAvatar?: boolean;
9202
+ onChannelClick?: (channel: string) => unknown;
8549
9203
  }>;
8550
9204
  }
8551
9205
  declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
@@ -8595,7 +9249,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8595
9249
  item: NewsItem;
8596
9250
  baseRoute: string;
8597
9251
  language: string;
8598
- showComments: boolean;
8599
9252
  highlight: boolean;
8600
9253
  className?: string;
8601
9254
  }
@@ -8628,6 +9281,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
8628
9281
  isLastPage: boolean;
8629
9282
  unreadOnly?: boolean;
8630
9283
  filter?: NewsFilterDefinition;
9284
+ activeChannel?: string;
8631
9285
  }>;
8632
9286
  }
8633
9287
  declare module "libs/reach/feature/content/src/news/useTranslateApi" {
@@ -8689,6 +9343,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
8689
9343
  type?: ItemResourceTypes;
8690
9344
  loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8691
9345
  isEditorPreview?: boolean;
9346
+ relatedItemIds?: string[];
8692
9347
  }>;
8693
9348
  }
8694
9349
  declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
@@ -8702,6 +9357,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8702
9357
  }
8703
9358
  declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8704
9359
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9360
+ export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
8705
9361
  export const InlineImageMapper: HtmlComponentMapper;
8706
9362
  }
8707
9363
  declare module "libs/reach/feature/content/src/common/body/InlineContact" {
@@ -8762,6 +9418,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
8762
9418
  baseRoute: string;
8763
9419
  filterBaseUrl?: string;
8764
9420
  isInitialLoading?: boolean;
9421
+ readonly?: boolean;
8765
9422
  }>;
8766
9423
  }
8767
9424
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
@@ -8789,6 +9446,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
8789
9446
  pagingProps?: ListPagingProps;
8790
9447
  filterBaseUrl?: string;
8791
9448
  emptyListMessage: string;
9449
+ readonly?: boolean;
8792
9450
  }>;
8793
9451
  }
8794
9452
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
@@ -8920,6 +9578,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
8920
9578
  }
8921
9579
  export const InlineActionButtonMapper: HtmlComponentMapper;
8922
9580
  }
9581
+ declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
9582
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9583
+ export const InlineObjectPluginMapper: HtmlComponentMapper;
9584
+ }
8923
9585
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8924
9586
  import { FC } from 'react';
8925
9587
  export const EventDetailViewPeopleInfo: FC;
@@ -8932,6 +9594,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8932
9594
  import { FC } from 'react';
8933
9595
  export const EventDetailViewMetaInfo: FC<{
8934
9596
  allowFilterByChannels?: boolean;
9597
+ onChannelClick?: (channel: string) => unknown;
8935
9598
  }>;
8936
9599
  }
8937
9600
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
@@ -9139,6 +9802,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9139
9802
  readOnly?: boolean;
9140
9803
  trimContent?: boolean;
9141
9804
  showReplyBox?: boolean;
9805
+ enableModalRouting?: boolean;
9142
9806
  className?: string;
9143
9807
  }>;
9144
9808
  }
@@ -9161,6 +9825,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9161
9825
  onReply?: (comment: Comment, commentSender?: Account) => void;
9162
9826
  readOnly?: boolean;
9163
9827
  trimContent?: boolean;
9828
+ enableModalRouting?: boolean;
9164
9829
  className?: string;
9165
9830
  }
9166
9831
  export const CommentList: FC<CommentListProps>;
@@ -9220,6 +9885,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9220
9885
  showReplyBox?: boolean;
9221
9886
  trimContent?: boolean;
9222
9887
  title?: ReactNode;
9888
+ enableModalRouting?: boolean;
9223
9889
  className?: string;
9224
9890
  };
9225
9891
  export const PagedCommentsSection: FC<Props>;
@@ -9244,14 +9910,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
9244
9910
  }
9245
9911
  declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
9246
9912
  import { FC } from 'react';
9247
- import { PublishableItem } from "libs/reach/util/common/src/index";
9248
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9913
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9249
9914
  export const PublishableItemComments: FC<{
9250
9915
  item: PublishableItem;
9251
9916
  readOnly?: boolean;
9252
9917
  loadInReadOnlyMode?: boolean;
9253
9918
  type: ItemResourceTypes;
9254
- hideProfileUrl?: boolean;
9255
9919
  disableLoginForPublicUser?: boolean;
9256
9920
  }>;
9257
9921
  }
@@ -9261,6 +9925,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9261
9925
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9262
9926
  import { PublishableItem } from "libs/reach/util/common/src/index";
9263
9927
  import { Feedback } from "libs/reach/util/common/src/index";
9928
+ import { ReactNode } from 'hoist-non-react-statics/node_modules/@types/react';
9264
9929
  export const FeedbackButtonContext: import("react").Context<{
9265
9930
  statistics: ItemStatistics;
9266
9931
  item: PublishableItem;
@@ -9273,6 +9938,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9273
9938
  item: PublishableItem;
9274
9939
  hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
9275
9940
  language: string;
9941
+ warningMessage?: ReactNode;
9276
9942
  className?: string;
9277
9943
  }>;
9278
9944
  }
@@ -9311,19 +9977,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
9311
9977
  }>;
9312
9978
  }
9313
9979
  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";
9980
+ import { FC, ReactNode } from 'react';
9981
+ import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9318
9982
  export const FeedbackSection: FC<{
9319
9983
  item: PublishableItem;
9984
+ buttons: ReactNode[];
9320
9985
  language: string;
9321
9986
  type: ItemResourceTypes;
9322
9987
  feedbackSettings: FeedbackSettings;
9323
9988
  hideComments?: boolean;
9324
- hideProfileUrl?: boolean;
9325
9989
  disableLoginForPublicUser?: boolean;
9326
9990
  isReadOnly?: boolean;
9991
+ warningMessage?: ReactNode;
9327
9992
  className?: string;
9328
9993
  }>;
9329
9994
  }
@@ -9376,9 +10041,10 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
9376
10041
  }
9377
10042
  declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
9378
10043
  import { FC } from 'react';
9379
- import { PublishableItem } from "libs/reach/util/common/src/index";
10044
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9380
10045
  export const ConfirmationStatisticsExport: FC<{
9381
10046
  item: PublishableItem;
10047
+ resourceType: ItemResourceTypes;
9382
10048
  }>;
9383
10049
  }
9384
10050
  declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
@@ -9488,6 +10154,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9488
10154
  layoutMode?: ItemTileLayoutMode;
9489
10155
  bannerDefaultWidth?: number;
9490
10156
  showPlaceholderIfNoBannerInfo?: boolean;
10157
+ documentIconName?: string;
9491
10158
  }>;
9492
10159
  }
9493
10160
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9525,17 +10192,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9525
10192
  isMobilePreview?: boolean;
9526
10193
  }>;
9527
10194
  }
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
10195
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
9540
10196
  import { FC } from 'react';
9541
10197
  export const DetailViewTitle: FC;
@@ -9558,24 +10214,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9558
10214
  import { FC } from 'react';
9559
10215
  export const DetailViewKeywords: FC<{
9560
10216
  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;
10217
+ onKeywordClick?: (keyword: string) => unknown;
9579
10218
  }>;
9580
10219
  }
9581
10220
  declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
@@ -9605,9 +10244,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9605
10244
  import { FC, ReactNode } from 'react';
9606
10245
  export const DetailViewNavigation: FC<{
9607
10246
  offsetRight?: number;
9608
- children?: ReactNode;
9609
10247
  callout?: ReactNode;
10248
+ className?: string;
10249
+ children?: ReactNode;
9610
10250
  }>;
10251
+ export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
10252
+ offsetRight?: number;
10253
+ callout?: ReactNode;
10254
+ className?: string;
10255
+ children?: ReactNode;
10256
+ }>, import("styled-components").DefaultTheme, {
10257
+ offsetRightOverride?: number;
10258
+ }, never>;
9611
10259
  }
9612
10260
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
9613
10261
  import { FC } from 'react';
@@ -9649,476 +10297,43 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
9649
10297
  getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
9650
10298
  };
9651
10299
  }
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;
10300
+ declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
10301
+ interface IClickHandles {
10302
+ onInsideClick: () => void;
10303
+ onOutsideClick: () => void;
10304
+ }
10305
+ export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
10306
+ }
10307
+ declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
10308
+ import { FC } from 'react';
10309
+ export const GroupNotificationsSettings: FC<{
10310
+ groupId: string;
9663
10311
  className?: string;
9664
10312
  }>;
9665
10313
  }
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;
10314
+ declare module "libs/reach/feature/content/src/posts/PostCreator" {
10315
+ import { FC } from 'react';
10316
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10317
+ import { Keyword } from "libs/reach/util/common/src/index";
10318
+ import { CommentInputTheme } from "libs/reach/ui/common/src/index";
10319
+ export interface PostCreatorProps {
10320
+ groupId: string;
10321
+ disabled?: boolean;
10322
+ disableDragAndDrop?: boolean;
10323
+ onBeforeSave?: (post: Post) => void;
10324
+ onSaved: (post: Post) => void;
10325
+ keywordSettings?: {
10326
+ availableKeywords?: Keyword[];
10327
+ defaultKeywords?: Keyword[];
10328
+ mandatoryKeywords?: Keyword[];
10329
+ };
10330
+ disableAutoFocus?: boolean;
10331
+ attachmentPreviewTheme?: CommentInputTheme;
9688
10332
  className?: string;
9689
10333
  }
9690
- export const BaseSidebarItem: FC<BaseSidebarItemProps>;
10334
+ export const PostCreator: FC<PostCreatorProps>;
9691
10335
  }
9692
- declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
9693
- 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" {
10336
+ declare module "libs/reach/feature/content/src/posts/PostReplies" {
10122
10337
  import { FC } from 'react';
10123
10338
  import { Post } from "libs/reach/feature/content/src/posts/utils";
10124
10339
  import { Comment } from "libs/reach/util/common/src/index";
@@ -10133,6 +10348,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
10133
10348
  onReplyAdded: () => void;
10134
10349
  onReplyDeleted: () => void;
10135
10350
  trimContent?: boolean;
10351
+ enableModalRouting?: boolean;
10136
10352
  }
10137
10353
  export const PostReplies: FC<Props>;
10138
10354
  }
@@ -10200,6 +10416,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10200
10416
  baseTargetUrl?: string;
10201
10417
  }
10202
10418
  export const PostDisplay: FC<Props>;
10419
+ export const PostDisplayWithModalRouting: FC<Props>;
10203
10420
  }
10204
10421
  declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10205
10422
  import { FC } from 'react';
@@ -10218,8 +10435,75 @@ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
10218
10435
  className?: string;
10219
10436
  }>;
10220
10437
  }
10438
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10439
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10440
+ import { DocumentNode } from '@apollo/client';
10441
+ import { Channel } from "libs/reach/util/common/src/index";
10442
+ import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
10443
+ export enum StreamEventResponse {
10444
+ NotSet = "NOTSET",
10445
+ Registered = "REGISTERED",
10446
+ Declined = "DECLINED"
10447
+ }
10448
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10449
+ }
10450
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10451
+ items: StreamItem[];
10452
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10453
+ loadMore: () => Promise<void>;
10454
+ pageInfo: {
10455
+ errors?: any;
10456
+ hasNextPage: boolean;
10457
+ skip: number;
10458
+ };
10459
+ refresh: () => Promise<void>;
10460
+ isLoadingFirstPage: boolean;
10461
+ refetchItem: (itemId: string) => Promise<void>;
10462
+ };
10463
+ export function hasFilter(filter?: StreamFilterDefinition): boolean;
10464
+ export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10465
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10466
+ export function getFilterConditionsString(filterConditions?: string[]): string;
10467
+ export const GROUPS_CONDITION: (groupIds: string[]) => string;
10468
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
10469
+ export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
10470
+ export const OWNER_CONDITION: (owner: string) => string;
10471
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
10472
+ export const AUTHORS_CONDITION: (authors: string[]) => string;
10473
+ export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
10474
+ export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
10475
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
10476
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
10477
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
10478
+ export const POST_ITEM_FIELDS: DocumentNode;
10479
+ }
10480
+ declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
10481
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10482
+ import { DependencyList } from 'react';
10483
+ export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
10484
+ }
10485
+ declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
10486
+ import { UserGroup } from "libs/reach/util/common/src/index";
10487
+ export function usePostKeywordSettings(): (group: UserGroup) => {
10488
+ availableKeywords: import("@livetiles/reach/util/common").Keyword[];
10489
+ defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
10490
+ mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
10491
+ };
10492
+ }
10493
+ declare module "libs/reach/feature/content/src/posts/index" {
10494
+ export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
10495
+ export * from "libs/reach/feature/content/src/posts/PostCreator";
10496
+ export * from "libs/reach/feature/content/src/posts/PostDisplay";
10497
+ export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
10498
+ export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
10499
+ export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
10500
+ export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
10501
+ export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
10502
+ export * from "libs/reach/feature/content/src/posts/usePostsApi";
10503
+ export * from "libs/reach/feature/content/src/posts/utils";
10504
+ }
10221
10505
  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";
10506
+ 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
10507
  import { Post } from "libs/reach/feature/content/src/posts/index";
10224
10508
  import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
10225
10509
  enum StreamItemTypes {
@@ -10436,7 +10720,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10436
10720
  knownState: KnownNewsState;
10437
10721
  hasNewComments?: boolean;
10438
10722
  isLiked?: boolean;
10439
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10440
10723
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10441
10724
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10442
10725
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -10725,7 +11008,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10725
11008
  knownState: KnownNewsState;
10726
11009
  hasNewComments?: boolean;
10727
11010
  isLiked?: boolean;
10728
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10729
11011
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10730
11012
  channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10731
11013
  lease: import("@livetiles/reach/util/common").LeaseInfo;
@@ -10956,7 +11238,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10956
11238
  knownState: KnownNewsState;
10957
11239
  hasNewComments?: boolean;
10958
11240
  isLiked?: boolean;
10959
- shareToken?: import("@livetiles/reach/util/common").ShareToken;
10960
11241
  metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10961
11242
  lease: import("@livetiles/reach/util/common").LeaseInfo;
10962
11243
  id?: string;
@@ -11058,72 +11339,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11058
11339
  poll?: import("@livetiles/reach/util/common").Poll;
11059
11340
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11060
11341
  })[];
11342
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11343
+ export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
11344
+ }
11345
+ declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
11346
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
11347
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11348
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
11349
+ export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, isGlobalSearch?: boolean, itemType?: ItemResourceTypes): void;
11350
+ export function useClearSearchSessionOnLeave(): void;
11351
+ }
11352
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
11353
+ import { LocationDescriptor } from 'history';
11354
+ import { FC, ReactNode } from 'react';
11355
+ export const SidebarIcon: FC<{
11356
+ icon?: ReactNode;
11357
+ iconName?: string;
11358
+ color?: string;
11359
+ onClick?: () => any;
11360
+ route?: LocationDescriptor;
11361
+ iconTooltipResourceKey: string;
11362
+ iconTooltipResourceValues?: any;
11363
+ className?: string;
11364
+ }>;
11365
+ }
11366
+ declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
11367
+ import { FC, ReactNode } from 'react';
11368
+ import { LocationDescriptor } from 'history';
11369
+ import { PrimitiveType } from 'intl-messageformat';
11370
+ export interface BaseSidebarItemProps {
11371
+ children?: any;
11372
+ icon?: ReactNode;
11373
+ iconName?: string;
11374
+ iconTooltipResourceKey?: string;
11375
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11376
+ secondaryIconName?: string;
11377
+ secondaryIconTooltipResourceKey?: string;
11378
+ reverse?: boolean;
11379
+ onIconClick?: () => void;
11380
+ iconRoute?: LocationDescriptor;
11381
+ iconColor?: string;
11382
+ onSecondaryIconClick?: () => void;
11383
+ secondaryIconRoute?: LocationDescriptor;
11384
+ onContentClick?: () => void;
11385
+ contentRoute?: LocationDescriptor;
11386
+ badgeInfo?: number | boolean;
11387
+ title?: string;
11388
+ className?: string;
11389
+ }
11390
+ export const BaseSidebarItem: FC<BaseSidebarItemProps>;
11391
+ }
11392
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
11393
+ import { FC } from 'react';
11394
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11395
+ export const SidebarItemSection: FC<{
11396
+ styleDefinition?: ColorStyleDefinition;
11397
+ }>;
11398
+ }
11399
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
11400
+ import { FC, ReactNode } from 'react';
11401
+ import { PrimitiveType } from 'intl-messageformat';
11402
+ import { LocationDescriptor } from 'history';
11403
+ import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
11404
+ interface CommonSidebarItemProps {
11405
+ title?: string | JSX.Element;
11406
+ titleResource?: string;
11407
+ icon?: ReactNode;
11408
+ iconName?: string;
11409
+ iconTooltipResourceKey?: string;
11410
+ iconTooltipResourceValues?: Record<string, PrimitiveType>;
11411
+ secondaryIconName?: string;
11412
+ secondaryIconTooltipResourceKey?: string;
11413
+ iconColor?: string;
11414
+ reverse?: boolean;
11415
+ notHighlightable?: boolean;
11416
+ onClick?: () => void;
11417
+ className?: string;
11418
+ isActive?: boolean;
11419
+ activeClassName?: string;
11420
+ readOnly?: boolean;
11421
+ submenu?: JSX.Element;
11422
+ submenuClassName?: string;
11423
+ submenuStyleDefinition?: ColorStyleDefinition;
11424
+ badgeInfo?: number | boolean;
11425
+ domIdentifier?: string;
11426
+ }
11427
+ interface SidebarItemProps extends CommonSidebarItemProps {
11428
+ contentRoute?: LocationDescriptor;
11429
+ onIconClick?: () => void;
11430
+ iconRoute?: LocationDescriptor;
11431
+ onSecondaryIconClick?: () => void;
11432
+ secondaryIconRoute?: LocationDescriptor;
11433
+ isHoverable?: boolean;
11434
+ }
11435
+ export const SidebarItem: FC<SidebarItemProps>;
11436
+ interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
11437
+ route: LocationDescriptor;
11438
+ exact?: boolean;
11439
+ linkClassName?: string;
11440
+ }
11441
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
11442
+ }
11443
+ declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
11444
+ import { FC } from 'react';
11445
+ export const SidebarGroup: FC<{
11446
+ titleResource?: string;
11447
+ borderColor?: string;
11448
+ className?: string;
11449
+ }>;
11450
+ }
11451
+ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
11452
+ import { FC } from 'react';
11453
+ export const ContentWithShowMoreButton: FC<{
11454
+ domIdentifier: string;
11455
+ trimContent?: boolean;
11456
+ className?: string;
11457
+ }>;
11458
+ }
11459
+ declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
11460
+ import { FC } from 'react';
11461
+ import { Channel } from "libs/reach/util/common/src/index";
11462
+ import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
11463
+ interface Props {
11464
+ selectedChannelNames?: string[];
11465
+ selectedChannelIds?: string[];
11466
+ mandatoryChannelIds?: string[];
11467
+ availableChannels?: Channel[];
11468
+ onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
11469
+ className?: string;
11470
+ showOnlyUserChannels?: boolean;
11471
+ showSelectionToggle?: boolean;
11472
+ placeholder?: string;
11473
+ inlineControls?: boolean;
11474
+ required?: boolean;
11475
+ id?: string;
11476
+ showLogicalOperatorOptions?: boolean;
11477
+ selectedLogicalOperator?: LogicalOperator;
11478
+ }
11479
+ export const ChannelSelector: FC<Props>;
11480
+ }
11481
+ declare module "libs/reach/feature/content/src/common/index" {
11482
+ export * from "libs/reach/feature/content/src/common/cards/CardFooter";
11483
+ export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
11484
+ export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
11485
+ export * from "libs/reach/feature/content/src/common/item-tile/Title";
11486
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
11487
+ export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
11488
+ export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
11489
+ export * from "libs/reach/feature/content/src/common/body/InlineGallery";
11490
+ export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
11491
+ export * from "libs/reach/feature/content/src/common/body/InlineImage";
11492
+ export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
11493
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
11494
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
11495
+ export * from "libs/reach/feature/content/src/common/body/InlineQuote";
11496
+ export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
11497
+ export * from "libs/reach/feature/content/src/common/body/InlineVideo";
11498
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
11499
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
11500
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
11501
+ export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
11502
+ export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
11503
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
11504
+ export * from "libs/reach/feature/content/src/common/ContentUtils";
11505
+ export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
11506
+ export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
11507
+ export * from "libs/reach/feature/content/src/common/body/InlineContact";
11508
+ export * from "libs/reach/feature/content/src/common/body/InlineCode";
11509
+ export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
11510
+ export * from "libs/reach/feature/content/src/common/body/CodeDetails";
11511
+ export * from "libs/reach/feature/content/src/common/body/TextViewer";
11512
+ export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
11513
+ export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
11514
+ export * from "libs/reach/feature/content/src/common/body/InlineTable";
11515
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
11516
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
11517
+ export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
11518
+ export * from "libs/reach/feature/content/src/common/body/InlineFileList";
11519
+ export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
11520
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
11521
+ export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
11522
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
11523
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
11524
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
11525
+ export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
11526
+ export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
11527
+ export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
11528
+ export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
11529
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
11530
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
11531
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
11532
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
11533
+ export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
11534
+ export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
11535
+ export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
11536
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
11537
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
11538
+ export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
11539
+ export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
11540
+ export * from "libs/reach/feature/content/src/common/body/InlinePageList";
11541
+ export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
11542
+ export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
11543
+ export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
11544
+ export * from "libs/reach/feature/content/src/common/banner/Banner";
11545
+ export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
11546
+ export * from "libs/reach/feature/content/src/common/cards/Card";
11547
+ export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
11548
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
11549
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
11550
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
11551
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
11552
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
11553
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
11554
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
11555
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
11556
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
11557
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
11558
+ export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
11559
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
11560
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
11561
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
11562
+ export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
11563
+ export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
11564
+ export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
11565
+ export * from "libs/reach/feature/content/src/common/AppTriggerActions";
11566
+ export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
11567
+ export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
11568
+ export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
11569
+ export * from "libs/reach/feature/content/src/common/StateIcon";
11570
+ export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
11571
+ export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
11572
+ export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
11573
+ export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
11574
+ export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
11575
+ export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
11576
+ export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
11577
+ export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
11578
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
11579
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
11580
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
11581
+ export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
11582
+ export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
11583
+ export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
11584
+ export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
11585
+ export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
11586
+ }
11587
+ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
11588
+ import { FC } from 'react';
11589
+ import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
11590
+ interface Props {
11591
+ type?: ItemResourceTypes;
11592
+ baseAttachmentPath?: string;
11593
+ message: Comment;
11594
+ showDelete?: boolean;
11595
+ showAutoTranslate?: boolean;
11596
+ showEdit?: boolean;
11597
+ onDelete?: (comment: Comment) => void;
11598
+ onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
11599
+ scope: ConversationScope;
11600
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
11601
+ getHashtagFilterRoute?: (hashtag: string) => string;
11602
+ highlight?: boolean;
11603
+ hasUnreadReplies?: boolean;
11604
+ onReplyIconClick?: () => void;
11605
+ onReply?: (comment: Comment, commentSender?: Account) => void;
11606
+ replyCount?: number;
11607
+ readOnly?: boolean;
11608
+ trimContent?: boolean;
11609
+ enableModalRouting?: boolean;
11610
+ className?: string;
11611
+ }
11612
+ export const CommentDisplay: FC<Props>;
11061
11613
  }
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"
11614
+ declare module "libs/reach/feature/content/src/comments/index" {
11615
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11616
+ export * from "libs/reach/feature/content/src/comments/FollowComments";
11617
+ export * from "libs/reach/feature/content/src/comments/CreateComment";
11618
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11619
+ export * from "libs/reach/feature/content/src/comments/CommentDisplay";
11620
+ export * from "libs/reach/feature/content/src/comments/useCommentApi";
11621
+ export * from "libs/reach/feature/content/src/comments/UrlMatcher";
11622
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11623
+ export * from "libs/reach/feature/content/src/comments/RichCommentInput";
11624
+ export * from "libs/reach/feature/content/src/comments/ContentDisplay";
11625
+ export * from "libs/reach/feature/content/src/comments/AttachmentList";
11626
+ export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
11627
+ export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
11628
+ export * from "libs/reach/feature/content/src/comments/CommentInput";
11629
+ }
11630
+ declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
11631
+ import { FC, ReactNode } from 'react';
11632
+ import { Keyword } from "libs/reach/util/common/src/index";
11633
+ interface Props {
11634
+ isOpen: boolean;
11635
+ preSelectedKeywords: Keyword[];
11636
+ onSave: (keywords: Keyword[]) => void;
11637
+ titleResource: string;
11638
+ onDismiss: () => void;
11639
+ availableKeywords?: Keyword[];
11640
+ mandatoryKeywordIds?: string[];
11071
11641
  }
11072
- export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
11642
+ export const KeywordDialog: FC<Props>;
11643
+ export const StatefulKeywordPicker: FC<{
11644
+ preSelectedKeywords: Keyword[];
11645
+ availableKeywords?: Keyword[];
11646
+ mandatoryKeywordIds?: string[];
11647
+ showSelectionToggle?: boolean;
11648
+ children: (selectedKeywords: Keyword[]) => ReactNode;
11649
+ }>;
11650
+ }
11651
+ declare module "libs/reach/feature/content/src/forms/Textarea" {
11652
+ import { FC, MutableRefObject } from 'react';
11653
+ export interface TextareaProps {
11654
+ rows?: number;
11655
+ placeholder?: string;
11656
+ readOnly?: boolean;
11657
+ onChange: (value: string) => void;
11658
+ className?: string;
11659
+ defaultValue?: string;
11660
+ disabled?: boolean;
11661
+ noDebouncing?: boolean;
11662
+ value?: string;
11663
+ onIconClick?: () => void;
11664
+ onEnter?: () => void;
11665
+ icon?: string;
11666
+ disableNewLines?: boolean;
11667
+ autoFocus?: boolean;
11668
+ inputRef?: MutableRefObject<HTMLTextAreaElement>;
11669
+ onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
11670
+ inputType?: string;
11073
11671
  }
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;
11672
+ /**
11673
+ * Textarea that expands vertically to fit content.
11674
+ * If maxLength is given, also displays a count of remaining characters when focused
11675
+ */
11676
+ export const Textarea: FC<TextareaProps>;
11102
11677
  }
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;
11678
+ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
11679
+ import { FC } from 'react';
11680
+ interface Props {
11681
+ onInsert: (files: File[]) => void;
11682
+ accept?: string;
11683
+ captionKey?: string;
11684
+ captionIconName?: string;
11685
+ descriptionKey?: string;
11686
+ descriptionIconName?: string;
11687
+ singleMode?: boolean;
11688
+ }
11689
+ export const InsertFilesButton: FC<Props>;
11690
+ export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11691
+ isActive?: boolean;
11692
+ }, never>;
11107
11693
  }
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
- };
11694
+ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
11695
+ import { FC } from 'react';
11696
+ interface Props {
11697
+ onInsert: (files: File[]) => void;
11698
+ accept?: string;
11699
+ captionKey?: string;
11700
+ descriptionKey?: string;
11701
+ }
11702
+ export const InsertImagesButton: FC<Props>;
11115
11703
  }
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";
11704
+ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
11705
+ import { FC } from 'react';
11706
+ interface DateTimePickerProps {
11707
+ date: string;
11708
+ maxDate?: string;
11709
+ minDate?: string;
11710
+ dateValidationResourceKey?: string;
11711
+ timeValidationResourceKey?: string;
11712
+ readOnly?: boolean;
11713
+ onChanged: (date: string, isValid: boolean) => void;
11714
+ noDateResourceKey: string;
11715
+ selectDateResourceKey: string;
11716
+ dateOnly?: boolean;
11717
+ initialPickerDate?: string;
11718
+ label?: string;
11719
+ isRequired?: boolean;
11720
+ className?: string;
11721
+ }
11722
+ export const DateTimePicker: FC<DateTimePickerProps>;
11723
+ export default DateTimePicker;
11724
+ }
11725
+ declare module "libs/reach/feature/content/src/forms/DateRange" {
11726
+ import moment, { Moment } from 'moment';
11727
+ export enum DateRange {
11728
+ TwoYears = 0,
11729
+ OneYear = 1,
11730
+ SixMonths = 2,
11731
+ TwoMonths = 3,
11732
+ OneMonth = 4,
11733
+ SevenDays = 5,
11734
+ YesterDay = 6,
11735
+ Today = 7
11736
+ }
11737
+ export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
11738
+ export function dateToDateRange(date: string | moment.Moment): number;
11739
+ export function dateRangeToDate(range: DateRange): Moment;
11740
+ }
11741
+ declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
11742
+ import { FC } from 'react';
11743
+ import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
11744
+ export const DateRangeSlider: FC<{
11745
+ value?: DateRange;
11746
+ onChange: (range: DateRange) => unknown;
11747
+ }>;
11748
+ }
11749
+ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
11750
+ import { FC } from 'react';
11751
+ import { WrappedComponentProps } from 'react-intl';
11752
+ import { SelectionMode } from 'office-ui-fabric-react';
11753
+ import { Account, AccountType } from "libs/reach/util/common/src/index";
11754
+ interface PeoplePickerDialogProps {
11755
+ defaultSelectedItems: Account[];
11756
+ onChange: (items: Account[]) => void;
11757
+ onDismiss: () => void;
11758
+ titleResource: string;
11759
+ intl?: WrappedComponentProps;
11760
+ selectionMode?: SelectionMode;
11761
+ allowMailItems?: boolean;
11762
+ accountType: AccountType;
11763
+ showDialog: boolean;
11764
+ allowEmptyValue: boolean;
11765
+ includePendingInvitationUsers?: boolean;
11766
+ placeholderStringResourceKey?: string;
11767
+ inputAriaLabelResourceKey: string;
11768
+ }
11769
+ export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
11770
+ }
11771
+ declare module "libs/reach/feature/content/src/forms/index" {
11772
+ export * from "libs/reach/feature/content/src/forms/KeywordDialog";
11773
+ export * from "libs/reach/feature/content/src/forms/Textarea";
11774
+ export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
11775
+ export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
11776
+ export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
11777
+ export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
11778
+ export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
11779
+ export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
11780
+ export * from "libs/reach/feature/content/src/forms/DateTimePicker";
11781
+ export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
11782
+ export * from "libs/reach/feature/content/src/forms/DateRange";
11783
+ export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
11784
+ export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
11785
+ export * from "libs/reach/feature/content/src/forms/videos/VideoView";
11127
11786
  }
11128
11787
  declare module "libs/reach/feature/content/src/editor/EditorListItem" {
11129
11788
  import { FC, ReactNode } from 'react';
@@ -11220,8 +11879,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
11220
11879
  declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11221
11880
  export type ShareTokenType = 'preview' | 'published';
11222
11881
  export function useShareTokenEditorApi(): {
11223
- activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11224
- deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11882
+ activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
11883
+ deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
11225
11884
  };
11226
11885
  }
11227
11886
  declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
@@ -11232,9 +11891,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11232
11891
  cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11233
11892
  uncancelEvent: (id: string) => Promise<unknown>;
11234
11893
  unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11235
- deleteEventPermanently: (eventId: string) => any;
11894
+ deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11236
11895
  saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11237
- deleteModifiedRecurrence: (eventId: string) => any;
11896
+ deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11238
11897
  };
11239
11898
  }
11240
11899
  declare module "libs/reach/feature/content/src/editor/index" {
@@ -11273,6 +11932,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
11273
11932
  event: EventStreamItem;
11274
11933
  }>;
11275
11934
  }
11935
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
11936
+ import { FC } from 'react';
11937
+ export const GlobalSearchButton: FC<{
11938
+ className?: string;
11939
+ }>;
11940
+ }
11276
11941
  declare module "libs/reach/feature/content/src/stream/StreamList" {
11277
11942
  import { FC, ReactNode } from 'react';
11278
11943
  import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11340,12 +12005,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
11340
12005
  export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
11341
12006
  export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
11342
12007
  }
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
12008
  declare module "libs/reach/feature/content/src/search/index" {
11350
12009
  export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
11351
12010
  }
@@ -11787,6 +12446,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
11787
12446
  }) => string;
11788
12447
  };
11789
12448
  }
12449
+ declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
12450
+ import { Dispatch } from 'react';
12451
+ export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
12452
+ }
12453
+ declare module "apps/reach-app/src/app/analytics/DashboardPage" {
12454
+ import { FC } from 'react';
12455
+ export interface Dashboard {
12456
+ name: string;
12457
+ title: string;
12458
+ url: string;
12459
+ }
12460
+ export const DashboardPage: FC<{
12461
+ dashboard: Dashboard;
12462
+ }>;
12463
+ }
12464
+ declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
12465
+ import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
12466
+ export function useDashboards(): Dashboard[];
12467
+ export function hasDashboards(): boolean;
12468
+ }
12469
+ declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
12470
+ import { FC } from 'react';
12471
+ export const AnalyticsSidebarMenu: FC;
12472
+ }
11790
12473
  declare module "apps/reach-app/src/app/chrome/PageMenu" {
11791
12474
  import { FC } from 'react';
11792
12475
  interface Props {
@@ -11802,7 +12485,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11802
12485
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
11803
12486
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
11804
12487
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
11805
- export interface Props extends SearchBoxProps {
12488
+ export interface PageProps extends SearchBoxProps {
11806
12489
  className?: string;
11807
12490
  headerContents?: JSX.Element;
11808
12491
  headerToolbar?: HeaderToolbarTypeHack;
@@ -11820,12 +12503,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11820
12503
  submenuContents?: JSX.Element;
11821
12504
  submenuClassName?: string;
11822
12505
  disableScrollableContainerFocus?: boolean;
12506
+ asModal?: boolean;
12507
+ domIdentifier?: string;
11823
12508
  }
11824
12509
  export enum MenuNavigationMode {
11825
12510
  Collapse = 0,
11826
12511
  KeepOpen = 1
11827
12512
  }
11828
- export const Page: FC<Props>;
12513
+ export const Page: FC<PageProps>;
11829
12514
  }
11830
12515
  declare module "apps/reach-app/src/plugins/reach-chrome" {
11831
12516
  import { Page } from "apps/reach-app/src/app/chrome/Page";