@livetiles/reach-plugin-types 0.5.0-preview.18 → 0.5.0-preview.181

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 +691 -101
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="moment" />
3
3
  /// <reference types="draft-js" />
4
+ /// <reference types="draft-convert" />
4
5
  declare module "libs/reach/util/common/src/FocusStyles" {
5
6
  export const FocusStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
6
7
  export const applyFocusStyle: (input: string) => string;
@@ -306,6 +307,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
306
307
  buildId: string;
307
308
  useAzureAdFunctionality: boolean;
308
309
  envName: string;
310
+ mobileTeamsHost?: string;
309
311
  }
310
312
  type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
311
313
  interface DeviceInfo {
@@ -522,6 +524,12 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
522
524
  getLocaleFromLocalStorage: () => Promise<string>;
523
525
  };
524
526
  }
527
+ declare module "libs/reach/util/common/src/resources/languages/da.async" {
528
+ import '@formatjs/intl-pluralrules/dist/locale-data/da';
529
+ import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
530
+ import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
531
+ export default da;
532
+ }
525
533
  declare module "libs/reach/util/common/src/resources/languages/de.async" {
526
534
  import '@formatjs/intl-pluralrules/dist/locale-data/de';
527
535
  import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
@@ -577,7 +585,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
577
585
  export default en;
578
586
  }
579
587
  declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
580
- export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/de.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
588
+ export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
581
589
  }
582
590
  declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
583
591
  import '@formatjs/intl-pluralrules/dist/locale-data/ar';
@@ -1020,6 +1028,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
1020
1028
  language?: string;
1021
1029
  }>;
1022
1030
  }
1031
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
1032
+ import locale from 'date-fns/locale/ar-DZ';
1033
+ export default locale;
1034
+ }
1035
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
1036
+ import locale from 'date-fns/locale/ar-MA';
1037
+ export default locale;
1038
+ }
1039
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
1040
+ import locale from 'date-fns/locale/ar-SA';
1041
+ export default locale;
1042
+ }
1043
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
1044
+ import locale from 'date-fns/locale/bg';
1045
+ export default locale;
1046
+ }
1047
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
1048
+ import locale from 'date-fns/locale/bn';
1049
+ export default locale;
1050
+ }
1051
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
1052
+ import locale from 'date-fns/locale/ca';
1053
+ export default locale;
1054
+ }
1055
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
1056
+ import locale from 'date-fns/locale/cs';
1057
+ export default locale;
1058
+ }
1059
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
1060
+ import locale from 'date-fns/locale/da';
1061
+ export default locale;
1062
+ }
1063
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
1064
+ import locale from 'date-fns/locale/de';
1065
+ export default locale;
1066
+ }
1067
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
1068
+ import locale from 'date-fns/locale/el';
1069
+ export default locale;
1070
+ }
1071
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
1072
+ import locale from 'date-fns/locale/en-AU';
1073
+ export default locale;
1074
+ }
1075
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
1076
+ import locale from 'date-fns/locale/en-CA';
1077
+ export default locale;
1078
+ }
1079
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
1080
+ import locale from 'date-fns/locale/en-GB';
1081
+ export default locale;
1082
+ }
1083
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
1084
+ import locale from 'date-fns/locale/en-NZ';
1085
+ export default locale;
1086
+ }
1087
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
1088
+ import locale from 'date-fns/locale/es';
1089
+ export default locale;
1090
+ }
1091
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
1092
+ import locale from 'date-fns/locale/et';
1093
+ export default locale;
1094
+ }
1095
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
1096
+ import locale from 'date-fns/locale/fa-IR';
1097
+ export default locale;
1098
+ }
1099
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
1100
+ import locale from 'date-fns/locale/fi';
1101
+ export default locale;
1102
+ }
1103
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
1104
+ import locale from 'date-fns/locale/fr-CA';
1105
+ export default locale;
1106
+ }
1107
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
1108
+ import locale from 'date-fns/locale/fr-CH';
1109
+ export default locale;
1110
+ }
1111
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
1112
+ import locale from 'date-fns/locale/fr';
1113
+ export default locale;
1114
+ }
1115
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
1116
+ import locale from 'date-fns/locale/gu';
1117
+ export default locale;
1118
+ }
1119
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
1120
+ import locale from 'date-fns/locale/he';
1121
+ export default locale;
1122
+ }
1123
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
1124
+ import locale from 'date-fns/locale/hi';
1125
+ export default locale;
1126
+ }
1127
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
1128
+ import locale from 'date-fns/locale/hr';
1129
+ export default locale;
1130
+ }
1131
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
1132
+ import locale from 'date-fns/locale/hu';
1133
+ export default locale;
1134
+ }
1135
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
1136
+ import locale from 'date-fns/locale/id';
1137
+ export default locale;
1138
+ }
1139
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
1140
+ import locale from 'date-fns/locale/it';
1141
+ export default locale;
1142
+ }
1143
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
1144
+ import locale from 'date-fns/locale/ja';
1145
+ export default locale;
1146
+ }
1147
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
1148
+ import locale from 'date-fns/locale/kn';
1149
+ export default locale;
1150
+ }
1151
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
1152
+ import locale from 'date-fns/locale/ko';
1153
+ export default locale;
1154
+ }
1155
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
1156
+ import locale from 'date-fns/locale/lt';
1157
+ export default locale;
1158
+ }
1159
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
1160
+ import locale from 'date-fns/locale/lv';
1161
+ export default locale;
1162
+ }
1163
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
1164
+ import locale from 'date-fns/locale/ms';
1165
+ export default locale;
1166
+ }
1167
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
1168
+ import locale from 'date-fns/locale/nb';
1169
+ export default locale;
1170
+ }
1171
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
1172
+ import locale from 'date-fns/locale/nl-BE';
1173
+ export default locale;
1174
+ }
1175
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
1176
+ import locale from 'date-fns/locale/nl';
1177
+ export default locale;
1178
+ }
1179
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
1180
+ import locale from 'date-fns/locale/pl';
1181
+ export default locale;
1182
+ }
1183
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
1184
+ import locale from 'date-fns/locale/pt-BR';
1185
+ export default locale;
1186
+ }
1187
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
1188
+ import locale from 'date-fns/locale/pt';
1189
+ export default locale;
1190
+ }
1191
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
1192
+ import locale from 'date-fns/locale/ro';
1193
+ export default locale;
1194
+ }
1195
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
1196
+ import locale from 'date-fns/locale/ru';
1197
+ export default locale;
1198
+ }
1199
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
1200
+ import locale from 'date-fns/locale/sk';
1201
+ export default locale;
1202
+ }
1203
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
1204
+ import locale from 'date-fns/locale/sl';
1205
+ export default locale;
1206
+ }
1207
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
1208
+ import locale from 'date-fns/locale/sr-Latn';
1209
+ export default locale;
1210
+ }
1211
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
1212
+ import locale from 'date-fns/locale/sr';
1213
+ export default locale;
1214
+ }
1215
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
1216
+ import locale from 'date-fns/locale/sv';
1217
+ export default locale;
1218
+ }
1219
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
1220
+ import locale from 'date-fns/locale/ta';
1221
+ export default locale;
1222
+ }
1223
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
1224
+ import locale from 'date-fns/locale/te';
1225
+ export default locale;
1226
+ }
1227
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
1228
+ import locale from 'date-fns/locale/th';
1229
+ export default locale;
1230
+ }
1231
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
1232
+ import locale from 'date-fns/locale/tr';
1233
+ export default locale;
1234
+ }
1235
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
1236
+ import locale from 'date-fns/locale/uk';
1237
+ export default locale;
1238
+ }
1239
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
1240
+ import locale from 'date-fns/locale/vi';
1241
+ export default locale;
1242
+ }
1243
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
1244
+ import locale from 'date-fns/locale/zh-CN';
1245
+ export default locale;
1246
+ }
1247
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
1248
+ import locale from 'date-fns/locale/zh-TW';
1249
+ export default locale;
1250
+ }
1251
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
1252
+ import locale from 'date-fns/locale/en-US';
1253
+ export default locale;
1254
+ }
1255
+ declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
1256
+ export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
1257
+ }
1023
1258
  declare module "libs/reach/util/common/src/user/features/FeatureSet" {
1024
1259
  export const orderedFeatureSet: string[];
1025
1260
  export class FeatureSet {
@@ -1230,6 +1465,11 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1230
1465
  primaryColor: string;
1231
1466
  secondaryColor: string;
1232
1467
  useHighlightColorOnWhiteBackground?: boolean;
1468
+ customFontColors?: CustomColor[];
1469
+ }
1470
+ export interface CustomColor {
1471
+ id: string;
1472
+ value: string;
1233
1473
  }
1234
1474
  export interface WebHook {
1235
1475
  id: string;
@@ -1268,9 +1508,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1268
1508
  subscriptionId: string;
1269
1509
  subscriptionName: string;
1270
1510
  }
1271
- export interface PluginExtension {
1272
- area: string;
1273
- componentName: string;
1511
+ export enum ExtensionArea {
1512
+ global = "Global",
1513
+ page = "Page",
1514
+ eventEditorFeedbackSection = "EventEditorFeedbackSection",
1515
+ eventDetailViewSection = "EventDetailViewSection",
1516
+ itemEditor = "ItemEditor"
1517
+ }
1518
+ export type InlinePlugin = {
1519
+ area: ExtensionArea.itemEditor;
1520
+ objectButton: PluginObjectButton;
1521
+ };
1522
+ export type PagePlugin = {
1523
+ area: ExtensionArea.page;
1274
1524
  route: string;
1275
1525
  navigationNode?: {
1276
1526
  componentName?: string;
@@ -1280,7 +1530,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1280
1530
  [key: string]: string;
1281
1531
  };
1282
1532
  };
1283
- }
1533
+ };
1534
+ export type PluginExtension = {
1535
+ area: ExtensionArea;
1536
+ componentName: string;
1537
+ } & (InlinePlugin | PagePlugin);
1538
+ export type PluginObjectButton = {
1539
+ buttonLabel: {
1540
+ defaultLabel: string;
1541
+ translations?: {
1542
+ [key: string]: string;
1543
+ };
1544
+ };
1545
+ iconName: string;
1546
+ };
1284
1547
  export interface PluginNotificationDefinitions {
1285
1548
  key: string;
1286
1549
  title: string;
@@ -1384,6 +1647,8 @@ declare module "libs/reach/util/common/src/user/User" {
1384
1647
  pluginNotifications: {
1385
1648
  [key: string]: NotificationType;
1386
1649
  };
1650
+ newsEditor: NotificationType;
1651
+ eventEditor: NotificationType;
1387
1652
  }
1388
1653
  export interface RequestUser extends BasicUserInformation {
1389
1654
  tenantId: string;
@@ -1437,6 +1702,7 @@ declare module "libs/reach/util/common/src/user/User" {
1437
1702
  subscriptionId: string;
1438
1703
  tenantId: string;
1439
1704
  expires?: string;
1705
+ hasPrivateEmail?: boolean;
1440
1706
  }
1441
1707
  export interface HashUser {
1442
1708
  id: string;
@@ -1482,6 +1748,8 @@ declare module "libs/reach/util/common/src/user/User" {
1482
1748
  export interface SubscriptionJoinResult {
1483
1749
  user: UserSummary;
1484
1750
  type: SubscriptionJoinResultType;
1751
+ message?: string;
1752
+ isSuccess?: boolean;
1485
1753
  }
1486
1754
  export interface UserActivationResult {
1487
1755
  type: UserActivationResultType;
@@ -1743,6 +2011,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
1743
2011
  id?: string;
1744
2012
  statistics?: ItemStatistics;
1745
2013
  poll?: Poll;
2014
+ searchHighlights?: SearchHighlightSummary;
2015
+ }
2016
+ export interface SearchHighlightSummary {
2017
+ title: SearchHighlight[];
2018
+ content: SearchHighlight[];
2019
+ }
2020
+ export interface SearchHighlight {
2021
+ language: string;
2022
+ texts: {
2023
+ value: string;
2024
+ type: 'text' | 'hit';
2025
+ }[];
2026
+ score: number;
1746
2027
  }
1747
2028
  export interface Poll {
1748
2029
  questions: PollQuestion[];
@@ -1810,7 +2091,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1810
2091
  headline?: string;
1811
2092
  intro?: string;
1812
2093
  body?: string;
1813
- bodyRaw?: string;
1814
2094
  customProperties?: {
1815
2095
  [key: string]: any;
1816
2096
  };
@@ -1911,6 +2191,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1911
2191
  }
1912
2192
  }
1913
2193
  declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
2194
+ import { Api } from 'restful.js';
1914
2195
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
1915
2196
  export class ClientFactoryInstance {
1916
2197
  private env;
@@ -1921,7 +2202,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
1921
2202
  constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
1922
2203
  url: string;
1923
2204
  }) => Promise<unknown>);
1924
- createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => any;
2205
+ createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
1925
2206
  private createApiInternal;
1926
2207
  private addRequestTimeLogger;
1927
2208
  createApiUrl: (url: string, query?: {
@@ -2500,6 +2781,9 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2500
2781
  updateUserProfilePropertiesByUPN: (upn: string, newProperties: UpdatableUserProperties) => Promise<unknown>;
2501
2782
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2502
2783
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2784
+ importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
2785
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
2786
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2503
2787
  };
2504
2788
  }
2505
2789
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -2690,7 +2974,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
2690
2974
  getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
2691
2975
  saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
2692
2976
  saveFile: (pluginId: string, file: File) => Promise<Response>;
2693
- generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<any>;
2977
+ generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
2694
2978
  linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
2695
2979
  unlinkPlugin: (pluginId: string) => Promise<any>;
2696
2980
  };
@@ -2796,17 +3080,15 @@ declare module "libs/reach/util/common/src/Models" {
2796
3080
  }
2797
3081
  }
2798
3082
  declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2799
- import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
3083
+ import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
2800
3084
  import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
2801
- export enum ExtensionArea {
2802
- global = "Global",
2803
- page = "Page",
2804
- eventEditorFeedbackSection = "EventEditorFeedbackSection",
2805
- eventDetailViewSection = "EventDetailViewSection"
2806
- }
2807
3085
  export interface PluginNavigationNodeProps {
2808
3086
  navigationNodeProps?: PageNavigationNodeProps;
2809
3087
  }
3088
+ export type EmbeddedPluginProps = PluginProps & {
3089
+ isEditMode?: boolean;
3090
+ componentInstanceId: string;
3091
+ };
2810
3092
  export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2811
3093
  type DevPlugin = {
2812
3094
  pluginId: string;
@@ -2860,22 +3142,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2860
3142
  }
2861
3143
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2862
3144
  import { FC } from 'react';
2863
- import { ExtensionArea } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3145
+ import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
2864
3146
  export const Plugins: FC<{
2865
3147
  area: ExtensionArea;
2866
3148
  } & any>;
2867
3149
  }
2868
- declare module "libs/reach/util/common/src/plugins/index" {
2869
- export * from "libs/reach/util/common/src/plugins/PluginContext";
2870
- export * from "libs/reach/util/common/src/plugins/PluginWrapper";
2871
- export * from "libs/reach/util/common/src/plugins/Plugins";
2872
- export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
2873
- export * from "libs/reach/util/common/src/plugins/usePluginApi";
2874
- export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
2875
- export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
2876
- export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
2877
- export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
2878
- }
2879
3150
  declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2880
3151
  export class Color {
2881
3152
  private r;
@@ -2925,11 +3196,6 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
2925
3196
  neutralTertiary: string;
2926
3197
  neutralTertiaryAlt: string;
2927
3198
  neutralQuaternary: string;
2928
- /**
2929
- * Theme Service applies custom themes.
2930
- * Accommodates overriding the custom UI Fabric default styles which
2931
- * are not automatically applied (e.g. ms-bgColor-themePrimary) via load-themed-styles
2932
- */
2933
3199
  neutralQuaternaryAlt: string;
2934
3200
  neutralLight: string;
2935
3201
  neutralLighter: string;
@@ -2991,6 +3257,10 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
2991
3257
  onSecondary?: string;
2992
3258
  onAccent?: string;
2993
3259
  default?: string;
3260
+ custom?: {
3261
+ key: string;
3262
+ value: string;
3263
+ }[];
2994
3264
  }
2995
3265
  export function getDarkAltColor(color: string): string;
2996
3266
  export function getTextColor(bgColor: string): "#333333" | "#ffffff";
@@ -3078,7 +3348,7 @@ declare module "libs/reach/util/common/src/Variables" {
3078
3348
  export const videoAttachmentRoundedCornerSize = 20;
3079
3349
  export const inlinePageBannerRoundedCornerSize = 5;
3080
3350
  export const feedbackButtonHeight = 32;
3081
- export const mainScrollableContainerSelector = "lt-reach-main-content";
3351
+ export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
3082
3352
  export const statusColors: {
3083
3353
  draft: string;
3084
3354
  ready: string;
@@ -3092,6 +3362,25 @@ declare module "libs/reach/util/common/src/Variables" {
3092
3362
  export const managePagesRowHeight = 40;
3093
3363
  export const mobilePreviewWidth = 414;
3094
3364
  }
3365
+ declare module "libs/reach/util/common/src/plugins/Plugin" {
3366
+ import { FC } from 'react';
3367
+ import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3368
+ export const Plugin: FC<PluginProps & {
3369
+ showDetailedErrorMessage?: boolean;
3370
+ } & any>;
3371
+ }
3372
+ declare module "libs/reach/util/common/src/plugins/index" {
3373
+ export * from "libs/reach/util/common/src/plugins/PluginContext";
3374
+ export * from "libs/reach/util/common/src/plugins/PluginWrapper";
3375
+ export * from "libs/reach/util/common/src/plugins/Plugins";
3376
+ export * from "libs/reach/util/common/src/plugins/Plugin";
3377
+ export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
3378
+ export * from "libs/reach/util/common/src/plugins/usePluginApi";
3379
+ export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
3380
+ export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
3381
+ export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
3382
+ export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
3383
+ }
3095
3384
  declare module "libs/reach/util/common/src/notification/NotificationContext" {
3096
3385
  import { FC, ReactNode } from 'react';
3097
3386
  import { ToastOptions } from 'react-toastify';
@@ -3194,6 +3483,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
3194
3483
  width?: number;
3195
3484
  height?: number;
3196
3485
  }
3486
+ export interface ImageWithAlignment extends ImageDetails {
3487
+ imageAlignment?: ImageAlignment;
3488
+ }
3489
+ export enum ImageAlignment {
3490
+ Default = "default",
3491
+ Left = "left",
3492
+ Right = "right",
3493
+ Center = "center"
3494
+ }
3197
3495
  }
3198
3496
  declare module "libs/reach/util/common/src/MainContentPanelContext" {
3199
3497
  export interface MainPanelContextType {
@@ -3244,6 +3542,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
3244
3542
  static create(): GenericAccessDeniedTriggerAction;
3245
3543
  }
3246
3544
  }
3545
+ declare module "libs/reach/util/common/src/useModalRouting" {
3546
+ export interface ModalRouting {
3547
+ isActive: boolean;
3548
+ itemId: string;
3549
+ backgroundLocation: any;
3550
+ }
3551
+ export function useModalRouting(): {
3552
+ isModalRoutingActive: boolean;
3553
+ modalItemId: string;
3554
+ backgroundLocation: any;
3555
+ };
3556
+ export function useModalRoutingSettings(): (itemId: string) => {
3557
+ modalRouting: {
3558
+ isActive: boolean;
3559
+ itemId: string;
3560
+ backgroundLocation: {
3561
+ state: {
3562
+ modalRouting: {
3563
+ isActive: boolean;
3564
+ };
3565
+ };
3566
+ pathname: string;
3567
+ search: string;
3568
+ hash: string;
3569
+ key?: string;
3570
+ };
3571
+ };
3572
+ };
3573
+ }
3247
3574
  declare module "libs/reach/util/common/src/index" {
3248
3575
  export { initializeIcons } from 'office-ui-fabric-react';
3249
3576
  export * from "libs/reach/util/common/src/FocusStyles";
@@ -3253,6 +3580,7 @@ declare module "libs/reach/util/common/src/index" {
3253
3580
  export * from "libs/reach/util/common/src/SortDirection";
3254
3581
  export * from "libs/reach/util/common/src/useCacheLanguageApi";
3255
3582
  export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
3583
+ export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
3256
3584
  export * from "libs/reach/util/common/src/user/index";
3257
3585
  export * from "libs/reach/util/common/src/plugins/index";
3258
3586
  export * from "libs/reach/util/common/src/theme/index";
@@ -3271,6 +3599,7 @@ declare module "libs/reach/util/common/src/index" {
3271
3599
  export * from "libs/reach/util/common/src/useBaseRoute";
3272
3600
  export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
3273
3601
  export * from "libs/reach/util/common/src/AccessDeniedIntercept";
3602
+ export * from "libs/reach/util/common/src/useModalRouting";
3274
3603
  }
3275
3604
  declare module "libs/reach/ui/common/src/Link" {
3276
3605
  import { Link as RouterLink } from 'react-router-dom';
@@ -3324,7 +3653,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
3324
3653
  import { FC } from 'react';
3325
3654
  import { ITooltipHostProps } from 'office-ui-fabric-react';
3326
3655
  export interface TooltipProps extends ITooltipHostProps {
3327
- text?: string;
3656
+ text?: string | JSX.Element;
3328
3657
  resourceKey?: string;
3329
3658
  values?: {
3330
3659
  [key: string]: string | number | boolean | Date;
@@ -3407,7 +3736,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3407
3736
  export const PeoplePicker: FC<Props>;
3408
3737
  }
3409
3738
  declare module "libs/reach/ui/common/src/plugins/reach-core" {
3410
- 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";
3739
+ 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";
3411
3740
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3412
3741
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3413
3742
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3424,7 +3753,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3424
3753
  * @deprecated Please use `usePluginDeviceStore` instead
3425
3754
  */
3426
3755
  usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
3427
- export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
3756
+ export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
3428
3757
  }
3429
3758
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3430
3759
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3440,6 +3769,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3440
3769
  export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
3441
3770
  export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
3442
3771
  }
3772
+ declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
3773
+ export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
3774
+ }
3443
3775
  declare module "libs/reach/ui/common/src/NotificationBar" {
3444
3776
  import { FC } from 'react';
3445
3777
  export const NotificationBar: FC;
@@ -3695,7 +4027,9 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3695
4027
  }[]>;
3696
4028
  export function getFileIcon(filename: string): string;
3697
4029
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
4030
+ export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
3698
4031
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
4032
+ export function getMainScrollableContainer(): HTMLElement;
3699
4033
  }
3700
4034
  declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
3701
4035
  export function useFileAccessTokenApi(): {
@@ -3948,7 +4282,6 @@ declare module "libs/reach/ui/common/src/common/Search" {
3948
4282
  searchText: string;
3949
4283
  className?: string;
3950
4284
  placeholder?: string;
3951
- showClearButton?: boolean;
3952
4285
  onClear?: () => void;
3953
4286
  useLightTheme?: boolean;
3954
4287
  shouldAutoFocus?: boolean;
@@ -4006,7 +4339,7 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
4006
4339
  export const ToggleWithLabel: FC<IToggleProps>;
4007
4340
  }
4008
4341
  declare module "libs/reach/ui/common/src/common/UnreadCommentHighlight" {
4009
- export const unreadCommentHighlight: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4342
+ export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4010
4343
  }
4011
4344
  declare module "libs/reach/ui/common/src/common/UserUtility" {
4012
4345
  import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
@@ -4325,6 +4658,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
4325
4658
  className?: string;
4326
4659
  }>;
4327
4660
  }
4661
+ declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
4662
+ export const useIsMounted: () => () => boolean;
4663
+ }
4328
4664
  declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
4329
4665
  import { PaginatedList } from "libs/reach/util/common/src/index";
4330
4666
  import { DependencyList, SetStateAction } from 'react';
@@ -4805,6 +5141,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4805
5141
  export * from "libs/reach/ui/common/src/common/grid/Grid";
4806
5142
  export * from "libs/reach/ui/common/src/common/hooks/usePagination";
4807
5143
  export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
5144
+ export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
4808
5145
  export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
4809
5146
  export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
4810
5147
  export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
@@ -4837,6 +5174,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4837
5174
  export * from "libs/reach/ui/common/src/common/error-states/index";
4838
5175
  export * from "libs/reach/ui/common/src/common/MenuItemBadge";
4839
5176
  export * from "libs/reach/ui/common/src/common/editor-svg/index";
5177
+ export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
4840
5178
  }
4841
5179
  declare module "libs/reach/ui/common/src/error/PageAlert" {
4842
5180
  import { ReactNode } from 'react';
@@ -4888,7 +5226,7 @@ declare module "libs/reach/ui/common/src/index" {
4888
5226
  export * from "libs/reach/ui/common/src/ColorEditor";
4889
5227
  }
4890
5228
  declare module "apps/reach-app/src/app/chrome/CloseButton" {
4891
- import { FC } from 'react';
5229
+ import { FC, DependencyList } from 'react';
4892
5230
  export interface Props {
4893
5231
  navigateTo: string;
4894
5232
  onClose?: () => void;
@@ -4897,7 +5235,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
4897
5235
  className?: string;
4898
5236
  }
4899
5237
  export const CloseButton: FC<Props>;
4900
- export function useEscapeOnClose(onClose: () => void): void;
5238
+ export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
4901
5239
  }
4902
5240
  declare module "apps/reach-app/src/app/common/LogoStyles" {
4903
5241
  export const LogoHostStyle: (size?: {
@@ -4961,8 +5299,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
4961
5299
  export const SkipLinksContextProvider: FC;
4962
5300
  }
4963
5301
  declare module "apps/reach-app/src/app/useAddSkipLinks" {
5302
+ import { DependencyList } from 'react';
4964
5303
  import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
4965
- export function useAddSkipLinks(...skipLinks: SkipLink[]): void;
5304
+ export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
4966
5305
  }
4967
5306
  declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
4968
5307
  import { FC } from 'react';
@@ -5013,6 +5352,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
5013
5352
  closeButtonOptions?: CloseButtonOptions;
5014
5353
  showSearchBox?: boolean;
5015
5354
  disableScrollableContainerFocus?: boolean;
5355
+ asModal?: boolean;
5356
+ domIdentifier?: string;
5016
5357
  }
5017
5358
  export const BasicPage: FC<Props>;
5018
5359
  }
@@ -5147,6 +5488,7 @@ declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
5147
5488
  foregroundColor: string;
5148
5489
  backgroundColor: string;
5149
5490
  className?: string;
5491
+ showInfoIcon?: boolean;
5150
5492
  }>;
5151
5493
  }
5152
5494
  declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
@@ -5169,6 +5511,14 @@ declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
5169
5511
  foregroundColor: string;
5170
5512
  }>;
5171
5513
  }
5514
+ declare module "apps/reach-app/src/app/admin/themes/CustomFontColors" {
5515
+ import { FC } from 'react';
5516
+ import { CustomColor, Theme } from "libs/reach/util/common/src/index";
5517
+ export const CustomFontColors: FC<{
5518
+ theme: Theme;
5519
+ onApply?: (colors: CustomColor[]) => void;
5520
+ }>;
5521
+ }
5172
5522
  declare module "apps/reach-app/src/app/admin/themes/Themes" {
5173
5523
  import { FC } from 'react';
5174
5524
  export const Themes: FC;
@@ -6193,7 +6543,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
6193
6543
  import { UserRegistrationResult } from "libs/reach/util/common/src/index";
6194
6544
  import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
6195
6545
  export function useSelfRegistrationApi(): {
6196
- changeRegistrationStatus: (upn: string, doAccept: boolean) => any;
6546
+ changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
6197
6547
  hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
6198
6548
  register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
6199
6549
  updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
@@ -6249,6 +6599,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6249
6599
  onSaved: (newProperties: UpdatableUserProperties) => void;
6250
6600
  }>;
6251
6601
  }
6602
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6603
+ import { FC } from 'react';
6604
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6605
+ export const GenerateApiKeyDialog: FC<{
6606
+ onApiKeyAdded?: () => void;
6607
+ onDismiss: () => void;
6608
+ user?: UserItem;
6609
+ }>;
6610
+ }
6252
6611
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6253
6612
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6254
6613
  import './UserList.scss';
@@ -6272,7 +6631,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6272
6631
  isLoading?: boolean;
6273
6632
  isEmpty?: boolean;
6274
6633
  emptyPlaceholder?: ReactNode;
6634
+ onKeyChanged?: () => void;
6275
6635
  }
6636
+ export type UserItem = Account & UserSummary & GroupUser & {
6637
+ accountType: string;
6638
+ lastLogin: string | JSX.Element;
6639
+ };
6276
6640
  export const UserList: FC<Props>;
6277
6641
  }
6278
6642
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6305,10 +6669,70 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6305
6669
  className?: string;
6306
6670
  }>;
6307
6671
  }
6308
- declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
6672
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6673
+ import { FC } from 'react';
6674
+ import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
6675
+ export enum GenericErrorType {
6676
+ Error = -1
6677
+ }
6678
+ export interface UserImport {
6679
+ displayName?: string;
6680
+ email?: string;
6681
+ hasPrivateEmail?: boolean;
6682
+ importResult?: SubscriptionJoinResultType | GenericErrorType;
6683
+ errorMessage?: string;
6684
+ }
6685
+ export const ImportUsersPreview: FC<{
6686
+ previewUsers: UserImport[];
6687
+ }>;
6688
+ }
6689
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
6690
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6691
+ export enum ValidationStatus {
6692
+ Valid = 0,
6693
+ WithErrors = 1,
6694
+ WithUserErrors = 2
6695
+ }
6696
+ export type CsvValidation = {
6697
+ Status?: ValidationStatus;
6698
+ Message?: string;
6699
+ InvalidItems?: string[];
6700
+ };
6701
+ export function useUserCsvInviter(): {
6702
+ invitedUsers: UserImport[];
6703
+ isValidating: boolean;
6704
+ isCsvValid: boolean;
6705
+ parseCsvFile: (csvFile: File) => void;
6706
+ csvValidation: CsvValidation;
6707
+ setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
6708
+ inviteUsers: (onSuccess?: () => void) => Promise<void>;
6709
+ isParserReady: boolean;
6710
+ isInviting: boolean;
6711
+ canInvite: boolean;
6712
+ csvFile: File;
6713
+ };
6714
+ }
6715
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
6716
+ export function createCsvUrl(header: string, content: string): string;
6717
+ }
6718
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
6309
6719
  import { FC } from 'react';
6310
- export const GenerateApiKeyButton: FC<{
6311
- onApiKeyAdded: () => void;
6720
+ import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
6721
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6722
+ export const CsvFileValidationResult: FC<{
6723
+ csvValidation: CsvValidation;
6724
+ invitedUsers: UserImport[];
6725
+ }>;
6726
+ }
6727
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6728
+ import { FC } from 'react';
6729
+ export const ImportUserButton: FC<{
6730
+ onSuccessfulImport?: () => void;
6731
+ className?: string;
6732
+ }>;
6733
+ export const ImportUserDialog: FC<{
6734
+ onDismiss: () => void;
6735
+ onSuccessfulImport?: () => void;
6312
6736
  }>;
6313
6737
  }
6314
6738
  declare module "apps/reach-app/src/app/admin/users/UsersPage" {
@@ -6337,29 +6761,28 @@ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6337
6761
  }
6338
6762
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6339
6763
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6340
- export class EventResponseTriggerAction implements AppTriggerAction {
6764
+ export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
6341
6765
  static type: string;
6342
6766
  type: string;
6343
6767
  itemId: string;
6344
6768
  response: EventResponse;
6345
6769
  locationId: string;
6346
6770
  onBehalfOfUpn: string;
6347
- static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventResponseTriggerAction;
6771
+ static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
6348
6772
  }
6349
- export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6773
+ export class EventResponseTriggerAction implements AppTriggerAction {
6350
6774
  static type: string;
6351
6775
  type: string;
6352
- recurrenceSeriesId: string;
6776
+ itemId: string;
6353
6777
  response: EventResponse;
6354
- static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6778
+ static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
6355
6779
  }
6356
- export class LikeFullSeriesTriggerAction implements AppTriggerAction {
6780
+ export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6357
6781
  static type: string;
6358
6782
  type: string;
6359
6783
  recurrenceSeriesId: string;
6360
- itemId: string;
6361
- isLiked: boolean;
6362
- static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
6784
+ response: EventResponse;
6785
+ static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6363
6786
  }
6364
6787
  export class FollowCommentsTriggerAction implements AppTriggerAction {
6365
6788
  static type: string;
@@ -6374,6 +6797,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6374
6797
  followByDefault: boolean;
6375
6798
  static create(followState: boolean): AutoFollowPostsTriggerAction;
6376
6799
  }
6800
+ export class AutoLikeItemTriggerAction implements AppTriggerAction {
6801
+ static type: string;
6802
+ type: string;
6803
+ recurrenceSeriesId: string;
6804
+ isLiked: boolean;
6805
+ likeCount: number;
6806
+ static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6807
+ }
6377
6808
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6378
6809
  static type: string;
6379
6810
  type: string;
@@ -6394,6 +6825,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6394
6825
  type: string;
6395
6826
  static create(): StreamMarkAllAsReadAction;
6396
6827
  }
6828
+ export class RefetchItemAction implements AppTriggerAction {
6829
+ static type: string;
6830
+ type: string;
6831
+ itemId: string;
6832
+ static create(itemId: string): RefetchItemAction;
6833
+ }
6834
+ export class RefetchStreamItemAction implements AppTriggerAction {
6835
+ static type: string;
6836
+ type: string;
6837
+ itemId: string;
6838
+ static create(itemId: string): RefetchStreamItemAction;
6839
+ }
6397
6840
  }
6398
6841
  declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6399
6842
  export interface CommentFilter {
@@ -6410,19 +6853,20 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
6410
6853
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6411
6854
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
6412
6855
  import { Attachment } from "libs/reach/util/common/src/index";
6856
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6413
6857
  import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
6414
6858
  export function useCommentApi(): {
6415
- createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => any;
6416
- createEditorComment: (itemId: string, comment: Partial<Comment>) => any;
6417
- listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => any;
6418
- getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => any;
6419
- getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => any;
6420
- getEditorConversations: (itemId: string) => any;
6859
+ createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
6860
+ createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
6861
+ listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
6862
+ getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
6863
+ getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
6864
+ getEditorConversations: (itemId: string) => Promise<Comment[]>;
6421
6865
  translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
6422
- deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => any;
6423
- deleteEditorComment: (itemId: string, commentId: string) => any;
6866
+ deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
6867
+ deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
6424
6868
  toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
6425
- updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => any;
6869
+ updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
6426
6870
  onCommentCreated$: import("rxjs").Observable<string>;
6427
6871
  };
6428
6872
  }
@@ -6553,7 +6997,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6553
6997
  import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6554
6998
  import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6555
6999
  import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6556
- export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
7000
+ export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
6557
7001
  }
6558
7002
  export interface BaseFilterDefinition {
6559
7003
  search?: string;
@@ -6561,6 +7005,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6561
7005
  pageSize?: string | number;
6562
7006
  groupId?: string;
6563
7007
  }
7008
+ export interface ItemIdsFilterDefinition {
7009
+ itemIds?: string;
7010
+ }
6564
7011
  export interface IndexableFilterDefinition {
6565
7012
  [key: string]: any;
6566
7013
  }
@@ -6881,7 +7328,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
6881
7328
  deletePost: (postId: string) => Promise<unknown>;
6882
7329
  getPost: (postId: string, commentCount?: number) => Promise<Post>;
6883
7330
  getPostThread: (postId: string, threadId: string) => Promise<Post>;
6884
- translatePost: (postId: string, language: string) => any;
7331
+ translatePost: (postId: string, language: string) => Promise<string>;
6885
7332
  searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
6886
7333
  };
6887
7334
  }
@@ -7048,6 +7495,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
7048
7495
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7049
7496
  import { FC, MouseEvent } from 'react';
7050
7497
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7498
+ import { LocationState } from 'history';
7051
7499
  export const ClickableOverlay: FC<{
7052
7500
  itemId: string;
7053
7501
  itemType: ItemResourceTypes;
@@ -7058,6 +7506,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7058
7506
  onClick?: (event: MouseEvent<unknown>) => unknown;
7059
7507
  openTargetInNewWindow?: boolean;
7060
7508
  isExternalContent?: boolean;
7509
+ locationState?: LocationState;
7510
+ }>;
7511
+ }
7512
+ declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
7513
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7514
+ import { FC } from 'react';
7515
+ export const ClickableOverlayWithModalRouting: FC<{
7516
+ itemId: string;
7517
+ itemType: ItemResourceTypes;
7518
+ baseRoute: string;
7519
+ title?: string;
7520
+ isExternalContent?: boolean;
7521
+ targetUrl?: string;
7061
7522
  }>;
7062
7523
  }
7063
7524
  declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
@@ -7068,6 +7529,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
7068
7529
  targetUrl?: string;
7069
7530
  readOnly?: boolean;
7070
7531
  backgroundColor?: string;
7532
+ enableModalRouting?: boolean;
7071
7533
  className?: string;
7072
7534
  }>;
7073
7535
  }
@@ -7105,6 +7567,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7105
7567
  className?: string;
7106
7568
  allowFilterByChannels?: boolean;
7107
7569
  channelBackgroundColor?: string;
7570
+ onChannelClick?: (channel: string) => unknown;
7108
7571
  }>;
7109
7572
  }
7110
7573
  declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
@@ -7164,6 +7627,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7164
7627
  height?: number;
7165
7628
  hidePlayerIfActive?: boolean;
7166
7629
  className?: string;
7630
+ documentIconName?: string;
7167
7631
  }
7168
7632
  export const PublishableItemBanner: FC<Props>;
7169
7633
  }
@@ -7402,10 +7866,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
7402
7866
  }
7403
7867
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
7404
7868
  import { FC } from 'react';
7869
+ import { EventResponse } from "libs/reach/util/common/src/index";
7405
7870
  export const EventUserRegistration: FC<{
7406
7871
  disabled?: boolean;
7407
7872
  hideInfoMessage?: boolean;
7408
7873
  showNoRegistrationRequired?: boolean;
7874
+ onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7409
7875
  className?: string;
7410
7876
  }>;
7411
7877
  }
@@ -7475,8 +7941,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7475
7941
  export const CardLikeButton: FC<{
7476
7942
  item: NewsItem | EventItem;
7477
7943
  itemResourceType: ItemResourceTypes;
7478
- isAutoLiked?: boolean;
7479
- onLiked?: (isLiked: boolean) => unknown;
7944
+ onToggleLike?: (isLiked: boolean, likeCount: number) => void;
7480
7945
  className?: string;
7481
7946
  }>;
7482
7947
  }
@@ -7498,6 +7963,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
7498
7963
  className?: string;
7499
7964
  }>;
7500
7965
  }
7966
+ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
7967
+ import { FC } from 'react';
7968
+ export const LinkWithModalRouting: FC<{
7969
+ url: string;
7970
+ itemId: string;
7971
+ hash?: string;
7972
+ onClick?: (e: React.MouseEvent) => unknown;
7973
+ ariaHidden?: boolean;
7974
+ ariaLabel?: string;
7975
+ className?: string;
7976
+ }>;
7977
+ }
7501
7978
  declare module "libs/reach/feature/content/src/events/list/EventCard" {
7502
7979
  import { FC } from 'react';
7503
7980
  import { EventItem } from "libs/reach/util/common/src/index";
@@ -7516,6 +7993,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7516
7993
  allowFilterByChannels?: boolean;
7517
7994
  showFeedbackButtons?: boolean;
7518
7995
  readOnly?: boolean;
7996
+ enableModalRouting?: boolean;
7519
7997
  className?: string;
7520
7998
  }>;
7521
7999
  }
@@ -7551,6 +8029,36 @@ declare module "libs/reach/feature/content/src/common/body/inline-file-list/Inli
7551
8029
  className?: string;
7552
8030
  }>;
7553
8031
  }
8032
+ declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/ColoredText" {
8033
+ import { ContentState } from 'draft-js';
8034
+ import { FC } from 'react';
8035
+ export const ColoredText: FC<{
8036
+ entityKey: string;
8037
+ contentState: ContentState;
8038
+ }>;
8039
+ }
8040
+ declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextStrategy" {
8041
+ import { ContentBlock, ContentState } from 'draft-js';
8042
+ export const ColoredTextType = "colored-text";
8043
+ export function findColoredTextEntities(contentBlock: ContentBlock, callback: (start: number, end: number) => void, contentState: ContentState): void;
8044
+ }
8045
+ declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextUtils" {
8046
+ import { CompositeDecorator, EditorState } from 'draft-js';
8047
+ import { EditorPlugin } from '@draft-js-plugins/editor';
8048
+ import { EntityKey } from 'draft-convert';
8049
+ type ColoredTextPlugin = EditorPlugin & {
8050
+ decorators: CompositeDecorator[];
8051
+ };
8052
+ export function createColoredTextPlugin(): ColoredTextPlugin;
8053
+ export function createColoredTextEntity(node: HTMLElement, createEntity: (type: string, mutability: string, data: object) => EntityKey): string;
8054
+ export function createColoredTextAtSelection(editorState: EditorState, colorId: string): EditorState;
8055
+ export function removeColoredTextAtSelection(editorState: EditorState): EditorState;
8056
+ }
8057
+ declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/index" {
8058
+ export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/ColoredText";
8059
+ export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextStrategy";
8060
+ export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextUtils";
8061
+ }
7554
8062
  declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7555
8063
  import { FC } from 'react';
7556
8064
  import { DraftBlockType } from 'draft-js';
@@ -7566,7 +8074,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7566
8074
  Contact = "contact",
7567
8075
  InlinePageList = "inline-page-list",
7568
8076
  UrlPreview = "url-preview",
7569
- ActionButton = "action-button"
8077
+ ActionButton = "action-button",
8078
+ InlinePlugin = "inline-plugin"
7570
8079
  }
7571
8080
  export interface HtmlComponentMapper {
7572
8081
  component: FC<any>;
@@ -7708,7 +8217,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
7708
8217
  resourceKey?: string;
7709
8218
  resourceValues?: string;
7710
8219
  className?: string;
8220
+ enableModalRouting?: boolean;
8221
+ itemId?: string;
7711
8222
  isOverrideLink: boolean;
8223
+ icon?: string;
7712
8224
  }>;
7713
8225
  }
7714
8226
  declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
@@ -7767,6 +8279,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7767
8279
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7768
8280
  onKeywordClick?: (keyword: string) => unknown;
7769
8281
  openTargetInNewWindow?: boolean;
8282
+ enableModalRouting?: boolean;
7770
8283
  className?: string;
7771
8284
  }
7772
8285
  export const PageItemTile: FC<Props>;
@@ -7812,6 +8325,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
7812
8325
  onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7813
8326
  styleDefinition?: StyleDefinition;
7814
8327
  readOnly?: boolean;
8328
+ enableModalRouting?: boolean;
7815
8329
  className?: string;
7816
8330
  }
7817
8331
  export const PublishableItemTileWrapper: FC<Props>;
@@ -7855,6 +8369,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7855
8369
  onKeywordClick?: (keyword: string) => unknown;
7856
8370
  styleDefinition?: StyleDefinition;
7857
8371
  readOnly?: boolean;
8372
+ enableModalRouting?: boolean;
7858
8373
  className?: string;
7859
8374
  }
7860
8375
  export const NewsItemTile: FC<Props>;
@@ -7880,6 +8395,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
7880
8395
  previewTheme?: CommentInputTheme;
7881
8396
  buttons?: ReactNode;
7882
8397
  groupIds?: string[];
8398
+ enableModalRouting?: boolean;
7883
8399
  className?: string;
7884
8400
  }>;
7885
8401
  export const EmbeddedObjectAccessDeniedTile: FC<{
@@ -7896,6 +8412,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
7896
8412
  attachments: Attachment[];
7897
8413
  onDeleteClick?: (attachment: Attachment) => void;
7898
8414
  previewTheme?: CommentInputTheme;
8415
+ enableModalRouting?: boolean;
7899
8416
  className?: string;
7900
8417
  }>;
7901
8418
  }
@@ -8056,6 +8573,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8056
8573
  import { FC, ReactNode } from 'react';
8057
8574
  export const InlineObjectToolbar: FC<{
8058
8575
  onDelete?: () => void;
8576
+ deleteAriaLabelResourceKey?: string;
8059
8577
  additionalButtons?: ReactNode;
8060
8578
  }>;
8061
8579
  export const InlineObjectToolbarWrapper: FC<{
@@ -8063,15 +8581,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8063
8581
  }>;
8064
8582
  }
8065
8583
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8066
- import { FC } from 'react';
8584
+ import { FC, ReactNode } from 'react';
8585
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8067
8586
  export const ImageToolbar: FC<{
8068
8587
  onDelete?: () => void;
8069
8588
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8070
8589
  onClose?: (e: React.MouseEvent<any>) => void;
8071
8590
  onCrop?: (e: React.MouseEvent<any>) => void;
8591
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8072
8592
  showFullScreenButton?: boolean;
8073
8593
  showCloseButton?: boolean;
8074
8594
  showCropButton?: boolean;
8595
+ alignmentButtons?: ReactNode;
8075
8596
  }>;
8076
8597
  }
8077
8598
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8198,6 +8719,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8198
8719
  export const EditCommentWithAttachments: FC<Props>;
8199
8720
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
8200
8721
  }
8722
+ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8723
+ import { FC } from 'react';
8724
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8725
+ export const BookmarkButton: FC<{
8726
+ item: PublishableItem;
8727
+ isReadOnly?: boolean;
8728
+ className?: string;
8729
+ }>;
8730
+ }
8201
8731
  declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8202
8732
  import { FC } from 'react';
8203
8733
  export const CardStatisticItem: FC<{
@@ -8215,13 +8745,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8215
8745
  };
8216
8746
  }>;
8217
8747
  }
8218
- declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8748
+ declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
8749
+ import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8219
8750
  import { FC } from 'react';
8220
- import { PublishableItem } from "libs/reach/util/common/src/index";
8221
- export const BookmarkButton: FC<{
8222
- item: PublishableItem;
8223
- isReadOnly?: boolean;
8224
- className?: string;
8751
+ export const CardCommentButton: FC<{
8752
+ item: NewsItem | EventItem;
8753
+ itemResourceType: ItemResourceTypes;
8754
+ targetRoute: string;
8755
+ enableModalRouting?: boolean;
8225
8756
  }>;
8226
8757
  }
8227
8758
  declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
@@ -8229,18 +8760,25 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8229
8760
  import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8230
8761
  export const CardFooter: FC<{
8231
8762
  item: NewsItem | EventItem;
8232
- showComments: boolean;
8233
8763
  targetRoute: string;
8234
8764
  itemResourceType: ItemResourceTypes;
8235
- isAutoLiked?: boolean;
8236
- onLiked?: (isLiked: boolean) => unknown;
8765
+ enableModalRouting?: boolean;
8237
8766
  }>;
8238
- export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8767
+ export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8239
8768
  }
8240
8769
  declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8241
8770
  export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8242
8771
  export const Intro: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
8243
8772
  }
8773
+ declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
8774
+ import { FC } from 'react';
8775
+ import { SearchHighlight } from "libs/reach/util/common/src/index";
8776
+ export const SearchHighlighter: FC<{
8777
+ highlight: SearchHighlight;
8778
+ }>;
8779
+ export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
8780
+ export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
8781
+ }
8244
8782
  declare module "libs/reach/feature/content/src/pages/PageTitle" {
8245
8783
  import { FC } from 'react';
8246
8784
  import { PageItem } from "libs/reach/util/common/src/index";
@@ -8275,16 +8813,15 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
8275
8813
  target?: string;
8276
8814
  language?: string;
8277
8815
  hideCurrentPageNode?: boolean;
8816
+ homeTargetUrlOverride?: string;
8278
8817
  className?: string;
8279
8818
  }>;
8280
8819
  }
8281
8820
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
8282
8821
  import { FC } from 'react';
8283
- import { PublishableItemContent } from "libs/reach/util/common/src/index";
8822
+ import { PageItem } from "libs/reach/util/common/src/index";
8284
8823
  export const PageListItemBody: FC<{
8285
- contents: {
8286
- [key: string]: PublishableItemContent;
8287
- };
8824
+ page: PageItem;
8288
8825
  search?: string;
8289
8826
  }>;
8290
8827
  }
@@ -8476,6 +9013,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8476
9013
  language?: string;
8477
9014
  buildChannelFilterUrl?: (channelName: string) => string;
8478
9015
  clickableAvatar?: boolean;
9016
+ onChannelClick?: (channel: string) => unknown;
8479
9017
  }>;
8480
9018
  }
8481
9019
  declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
@@ -8525,7 +9063,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8525
9063
  item: NewsItem;
8526
9064
  baseRoute: string;
8527
9065
  language: string;
8528
- showComments: boolean;
8529
9066
  highlight: boolean;
8530
9067
  className?: string;
8531
9068
  }
@@ -8632,6 +9169,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8632
9169
  }
8633
9170
  declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8634
9171
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9172
+ export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
8635
9173
  export const InlineImageMapper: HtmlComponentMapper;
8636
9174
  }
8637
9175
  declare module "libs/reach/feature/content/src/common/body/InlineContact" {
@@ -8850,6 +9388,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
8850
9388
  }
8851
9389
  export const InlineActionButtonMapper: HtmlComponentMapper;
8852
9390
  }
9391
+ declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
9392
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9393
+ export const InlineObjectPluginMapper: HtmlComponentMapper;
9394
+ }
8853
9395
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8854
9396
  import { FC } from 'react';
8855
9397
  export const EventDetailViewPeopleInfo: FC;
@@ -8862,6 +9404,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8862
9404
  import { FC } from 'react';
8863
9405
  export const EventDetailViewMetaInfo: FC<{
8864
9406
  allowFilterByChannels?: boolean;
9407
+ onChannelClick?: (channel: string) => unknown;
8865
9408
  }>;
8866
9409
  }
8867
9410
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
@@ -9069,6 +9612,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9069
9612
  readOnly?: boolean;
9070
9613
  trimContent?: boolean;
9071
9614
  showReplyBox?: boolean;
9615
+ enableModalRouting?: boolean;
9072
9616
  className?: string;
9073
9617
  }>;
9074
9618
  }
@@ -9091,6 +9635,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9091
9635
  onReply?: (comment: Comment, commentSender?: Account) => void;
9092
9636
  readOnly?: boolean;
9093
9637
  trimContent?: boolean;
9638
+ enableModalRouting?: boolean;
9094
9639
  className?: string;
9095
9640
  }
9096
9641
  export const CommentList: FC<CommentListProps>;
@@ -9150,6 +9695,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9150
9695
  showReplyBox?: boolean;
9151
9696
  trimContent?: boolean;
9152
9697
  title?: ReactNode;
9698
+ enableModalRouting?: boolean;
9153
9699
  className?: string;
9154
9700
  };
9155
9701
  export const PagedCommentsSection: FC<Props>;
@@ -9418,6 +9964,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9418
9964
  layoutMode?: ItemTileLayoutMode;
9419
9965
  bannerDefaultWidth?: number;
9420
9966
  showPlaceholderIfNoBannerInfo?: boolean;
9967
+ documentIconName?: string;
9421
9968
  }>;
9422
9969
  }
9423
9970
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9488,6 +10035,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9488
10035
  import { FC } from 'react';
9489
10036
  export const DetailViewKeywords: FC<{
9490
10037
  filterBaseUrl: string;
10038
+ onKeywordClick?: (keyword: string) => unknown;
9491
10039
  }>;
9492
10040
  }
9493
10041
  declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
@@ -9535,8 +10083,9 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9535
10083
  import { FC, ReactNode } from 'react';
9536
10084
  export const DetailViewNavigation: FC<{
9537
10085
  offsetRight?: number;
9538
- children?: ReactNode;
9539
10086
  callout?: ReactNode;
10087
+ className?: string;
10088
+ children?: ReactNode;
9540
10089
  }>;
9541
10090
  }
9542
10091
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
@@ -9579,6 +10128,13 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
9579
10128
  getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
9580
10129
  };
9581
10130
  }
10131
+ declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
10132
+ interface IClickHandles {
10133
+ onInsideClick: () => void;
10134
+ onOutsideClick: () => void;
10135
+ }
10136
+ export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
10137
+ }
9582
10138
  declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
9583
10139
  import { LocationDescriptor } from 'history';
9584
10140
  import { FC, ReactNode } from 'react';
@@ -9682,7 +10238,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
9682
10238
  import { FC } from 'react';
9683
10239
  export const ContentWithShowMoreButton: FC<{
9684
10240
  domIdentifier: string;
9685
- trimContent: boolean;
10241
+ trimContent?: boolean;
9686
10242
  className?: string;
9687
10243
  }>;
9688
10244
  }
@@ -9747,6 +10303,7 @@ declare module "libs/reach/feature/content/src/common/index" {
9747
10303
  export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
9748
10304
  export * from "libs/reach/feature/content/src/common/body/InlineFileList";
9749
10305
  export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
10306
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
9750
10307
  export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
9751
10308
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
9752
10309
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
@@ -9800,6 +10357,7 @@ declare module "libs/reach/feature/content/src/common/index" {
9800
10357
  export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
9801
10358
  export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
9802
10359
  export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
10360
+ export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
9803
10361
  export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
9804
10362
  export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
9805
10363
  export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
@@ -9810,6 +10368,7 @@ declare module "libs/reach/feature/content/src/common/index" {
9810
10368
  export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
9811
10369
  export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
9812
10370
  export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
10371
+ export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/index";
9813
10372
  }
9814
10373
  declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
9815
10374
  import { FC } from 'react';
@@ -9829,13 +10388,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
9829
10388
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
9830
10389
  getHashtagFilterRoute?: (hashtag: string) => string;
9831
10390
  highlight?: boolean;
9832
- isInitialLiked?: boolean;
9833
10391
  hasUnreadReplies?: boolean;
9834
10392
  onReplyIconClick?: () => void;
9835
10393
  onReply?: (comment: Comment, commentSender?: Account) => void;
9836
10394
  replyCount?: number;
9837
10395
  readOnly?: boolean;
9838
10396
  trimContent?: boolean;
10397
+ enableModalRouting?: boolean;
9839
10398
  className?: string;
9840
10399
  }
9841
10400
  export const CommentDisplay: FC<Props>;
@@ -10063,6 +10622,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
10063
10622
  onReplyAdded: () => void;
10064
10623
  onReplyDeleted: () => void;
10065
10624
  trimContent?: boolean;
10625
+ enableModalRouting?: boolean;
10066
10626
  }
10067
10627
  export const PostReplies: FC<Props>;
10068
10628
  }
@@ -10130,6 +10690,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10130
10690
  baseTargetUrl?: string;
10131
10691
  }
10132
10692
  export const PostDisplay: FC<Props>;
10693
+ export const PostDisplayWithModalRouting: FC<Props>;
10133
10694
  }
10134
10695
  declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10135
10696
  import { FC } from 'react';
@@ -10301,6 +10862,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10301
10862
  isDemoContent?: boolean;
10302
10863
  isFollowing?: boolean;
10303
10864
  poll?: import("@livetiles/reach/util/common").Poll;
10865
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10304
10866
  fileAccessToken?: string;
10305
10867
  attachmentContainerId?: string;
10306
10868
  } | {
@@ -10400,6 +10962,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10400
10962
  useExternalContent?: boolean;
10401
10963
  isDemoContent?: boolean;
10402
10964
  poll?: import("@livetiles/reach/util/common").Poll;
10965
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10403
10966
  } | {
10404
10967
  groupId: string;
10405
10968
  attachments: {
@@ -10505,6 +11068,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10505
11068
  useExternalContent?: boolean;
10506
11069
  isDemoContent?: boolean;
10507
11070
  poll?: import("@livetiles/reach/util/common").Poll;
11071
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10508
11072
  } | {
10509
11073
  groupId: string;
10510
11074
  attachments: {
@@ -10605,6 +11169,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10605
11169
  useExternalContent?: boolean;
10606
11170
  isDemoContent?: boolean;
10607
11171
  poll?: import("@livetiles/reach/util/common").Poll;
11172
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10608
11173
  })[];
10609
11174
  export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels?: Channel[]): ({
10610
11175
  keywords: {
@@ -10631,6 +11196,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10631
11196
  isDemoContent?: boolean;
10632
11197
  isFollowing?: boolean;
10633
11198
  poll?: import("@livetiles/reach/util/common").Poll;
11199
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10634
11200
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10635
11201
  fileAccessToken?: string;
10636
11202
  attachmentContainerId?: string;
@@ -10680,6 +11246,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10680
11246
  useExternalContent?: boolean;
10681
11247
  isDemoContent?: boolean;
10682
11248
  poll?: import("@livetiles/reach/util/common").Poll;
11249
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10683
11250
  } | {
10684
11251
  keywords: {
10685
11252
  [key: string]: Keyword[];
@@ -10734,6 +11301,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10734
11301
  useExternalContent?: boolean;
10735
11302
  isDemoContent?: boolean;
10736
11303
  poll?: import("@livetiles/reach/util/common").Poll;
11304
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10737
11305
  } | {
10738
11306
  keywords: {
10739
11307
  [key: string]: Keyword[];
@@ -10783,6 +11351,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10783
11351
  useExternalContent?: boolean;
10784
11352
  isDemoContent?: boolean;
10785
11353
  poll?: import("@livetiles/reach/util/common").Poll;
11354
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10786
11355
  } | {
10787
11356
  userResponse: EventResponse;
10788
11357
  cancelInformation: {
@@ -10833,6 +11402,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10833
11402
  isDemoContent?: boolean;
10834
11403
  isFollowing?: boolean;
10835
11404
  poll?: import("@livetiles/reach/util/common").Poll;
11405
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10836
11406
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10837
11407
  fileAccessToken?: string;
10838
11408
  attachmentContainerId?: string;
@@ -10904,6 +11474,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10904
11474
  useExternalContent?: boolean;
10905
11475
  isDemoContent?: boolean;
10906
11476
  poll?: import("@livetiles/reach/util/common").Poll;
11477
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10907
11478
  } | {
10908
11479
  userResponse: EventResponse;
10909
11480
  cancelInformation: {
@@ -10976,7 +11547,9 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10976
11547
  useExternalContent?: boolean;
10977
11548
  isDemoContent?: boolean;
10978
11549
  poll?: import("@livetiles/reach/util/common").Poll;
11550
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10979
11551
  })[];
11552
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
10980
11553
  }
10981
11554
  declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10982
11555
  import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11001,6 +11574,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11001
11574
  };
11002
11575
  refresh: () => Promise<void>;
11003
11576
  isLoadingFirstPage: boolean;
11577
+ refetchItem: (itemId: string) => Promise<void>;
11004
11578
  };
11005
11579
  export function hasFilter(filter?: StreamFilterDefinition): boolean;
11006
11580
  export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
@@ -11139,8 +11713,21 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
11139
11713
  declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11140
11714
  export type ShareTokenType = 'preview' | 'published';
11141
11715
  export function useShareTokenEditorApi(): {
11142
- activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11143
- deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11716
+ activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<string>;
11717
+ deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<unknown>;
11718
+ };
11719
+ }
11720
+ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11721
+ import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
11722
+ import { PublishableItem } from "libs/reach/util/common/src/index";
11723
+ export function useEventsEditorApi(): {
11724
+ getEvent: (eventId: string) => Promise<EventItem>;
11725
+ cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11726
+ uncancelEvent: (id: string) => Promise<unknown>;
11727
+ unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11728
+ deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11729
+ saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11730
+ deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11144
11731
  };
11145
11732
  }
11146
11733
  declare module "libs/reach/feature/content/src/editor/index" {
@@ -11152,6 +11739,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
11152
11739
  export * from "libs/reach/feature/content/src/editor/useEditorApi";
11153
11740
  export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
11154
11741
  export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
11742
+ export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
11155
11743
  }
11156
11744
  declare module "libs/reach/feature/content/src/public-user/index" {
11157
11745
  export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
@@ -11203,15 +11791,6 @@ declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader"
11203
11791
  export const EVENTS_QUERY: (includeAllItems: boolean, whereConditions?: string, sortByAscending?: boolean) => import("@apollo/client").DocumentNode;
11204
11792
  export const CONTACTS_CONDITION: (contacts: string[]) => string;
11205
11793
  }
11206
- declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
11207
- import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
11208
- import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
11209
- export interface onMarkAsReadHandlers {
11210
- onStarted?: () => unknown;
11211
- onFinished?: () => unknown;
11212
- }
11213
- export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
11214
- }
11215
11794
  declare module "libs/reach/feature/content/src/stream/PostStreamFilterDefinition" {
11216
11795
  import { AuthorFilterDefinition, BeforePublishingDateFilterDefinition, PostFilterDefinition } from "libs/reach/feature/content/src/index";
11217
11796
  export interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
@@ -11224,6 +11803,15 @@ declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader"
11224
11803
  export function usePostsStreamDataLoader(groupId?: string, filter?: PostStreamFilterDefinition, searchText?: string): ItemLoader<PostStreamItem, number>;
11225
11804
  export const POSTS_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
11226
11805
  }
11806
+ declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
11807
+ import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
11808
+ import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
11809
+ export interface onMarkAsReadHandlers {
11810
+ onStarted?: () => unknown;
11811
+ onFinished?: () => unknown;
11812
+ }
11813
+ export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
11814
+ }
11227
11815
  declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader" {
11228
11816
  import { ItemLoader } from "libs/reach/ui/common/src/index";
11229
11817
  import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11240,8 +11828,8 @@ declare module "libs/reach/feature/content/src/stream/index" {
11240
11828
  export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
11241
11829
  export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
11242
11830
  export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
11243
- export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
11244
11831
  export * from "libs/reach/feature/content/src/stream/usePostsStreamDataLoader";
11832
+ export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
11245
11833
  export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
11246
11834
  export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
11247
11835
  }
@@ -11707,7 +12295,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11707
12295
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
11708
12296
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
11709
12297
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
11710
- export interface Props extends SearchBoxProps {
12298
+ export interface PageProps extends SearchBoxProps {
11711
12299
  className?: string;
11712
12300
  headerContents?: JSX.Element;
11713
12301
  headerToolbar?: HeaderToolbarTypeHack;
@@ -11725,12 +12313,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11725
12313
  submenuContents?: JSX.Element;
11726
12314
  submenuClassName?: string;
11727
12315
  disableScrollableContainerFocus?: boolean;
12316
+ asModal?: boolean;
12317
+ domIdentifier?: string;
11728
12318
  }
11729
12319
  export enum MenuNavigationMode {
11730
12320
  Collapse = 0,
11731
12321
  KeepOpen = 1
11732
12322
  }
11733
- export const Page: FC<Props>;
12323
+ export const Page: FC<PageProps>;
11734
12324
  }
11735
12325
  declare module "apps/reach-app/src/plugins/reach-chrome" {
11736
12326
  import { Page } from "apps/reach-app/src/app/chrome/Page";