@livetiles/reach-plugin-types 0.5.0-preview.24 → 0.5.0-preview.241
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.
- package/lib/index.d.ts +1561 -897
- 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,6 +279,7 @@ 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" {
|
|
@@ -289,6 +303,7 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
|
289
303
|
}
|
|
290
304
|
}
|
|
291
305
|
declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
306
|
+
import { DeviceInfo } from '@capacitor/device';
|
|
292
307
|
export interface EnvironmentConfig {
|
|
293
308
|
isCustomerBuild: boolean;
|
|
294
309
|
isProduction: boolean;
|
|
@@ -306,11 +321,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
306
321
|
buildId: string;
|
|
307
322
|
useAzureAdFunctionality: boolean;
|
|
308
323
|
envName: string;
|
|
309
|
-
|
|
310
|
-
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
311
|
-
interface DeviceInfo {
|
|
312
|
-
platform: 'ios' | 'android' | 'web';
|
|
313
|
-
operatingSystem: OperatingSystem;
|
|
324
|
+
mobileTeamsHost?: string;
|
|
314
325
|
}
|
|
315
326
|
}
|
|
316
327
|
declare module "libs/shared/util/environment/src/environment" {
|
|
@@ -1026,6 +1037,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
|
1026
1037
|
language?: string;
|
|
1027
1038
|
}>;
|
|
1028
1039
|
}
|
|
1040
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1041
|
+
import locale from 'date-fns/locale/ar-DZ';
|
|
1042
|
+
export default locale;
|
|
1043
|
+
}
|
|
1044
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
|
|
1045
|
+
import locale from 'date-fns/locale/ar-MA';
|
|
1046
|
+
export default locale;
|
|
1047
|
+
}
|
|
1048
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
|
|
1049
|
+
import locale from 'date-fns/locale/ar-SA';
|
|
1050
|
+
export default locale;
|
|
1051
|
+
}
|
|
1052
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
|
|
1053
|
+
import locale from 'date-fns/locale/bg';
|
|
1054
|
+
export default locale;
|
|
1055
|
+
}
|
|
1056
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
|
|
1057
|
+
import locale from 'date-fns/locale/bn';
|
|
1058
|
+
export default locale;
|
|
1059
|
+
}
|
|
1060
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
|
|
1061
|
+
import locale from 'date-fns/locale/ca';
|
|
1062
|
+
export default locale;
|
|
1063
|
+
}
|
|
1064
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
|
|
1065
|
+
import locale from 'date-fns/locale/cs';
|
|
1066
|
+
export default locale;
|
|
1067
|
+
}
|
|
1068
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
|
|
1069
|
+
import locale from 'date-fns/locale/da';
|
|
1070
|
+
export default locale;
|
|
1071
|
+
}
|
|
1072
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
|
|
1073
|
+
import locale from 'date-fns/locale/de';
|
|
1074
|
+
export default locale;
|
|
1075
|
+
}
|
|
1076
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
|
|
1077
|
+
import locale from 'date-fns/locale/el';
|
|
1078
|
+
export default locale;
|
|
1079
|
+
}
|
|
1080
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
|
|
1081
|
+
import locale from 'date-fns/locale/en-AU';
|
|
1082
|
+
export default locale;
|
|
1083
|
+
}
|
|
1084
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
|
|
1085
|
+
import locale from 'date-fns/locale/en-CA';
|
|
1086
|
+
export default locale;
|
|
1087
|
+
}
|
|
1088
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
|
|
1089
|
+
import locale from 'date-fns/locale/en-GB';
|
|
1090
|
+
export default locale;
|
|
1091
|
+
}
|
|
1092
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
|
|
1093
|
+
import locale from 'date-fns/locale/en-NZ';
|
|
1094
|
+
export default locale;
|
|
1095
|
+
}
|
|
1096
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
|
|
1097
|
+
import locale from 'date-fns/locale/es';
|
|
1098
|
+
export default locale;
|
|
1099
|
+
}
|
|
1100
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
|
|
1101
|
+
import locale from 'date-fns/locale/et';
|
|
1102
|
+
export default locale;
|
|
1103
|
+
}
|
|
1104
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
|
|
1105
|
+
import locale from 'date-fns/locale/fa-IR';
|
|
1106
|
+
export default locale;
|
|
1107
|
+
}
|
|
1108
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
|
|
1109
|
+
import locale from 'date-fns/locale/fi';
|
|
1110
|
+
export default locale;
|
|
1111
|
+
}
|
|
1112
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
|
|
1113
|
+
import locale from 'date-fns/locale/fr-CA';
|
|
1114
|
+
export default locale;
|
|
1115
|
+
}
|
|
1116
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
|
|
1117
|
+
import locale from 'date-fns/locale/fr-CH';
|
|
1118
|
+
export default locale;
|
|
1119
|
+
}
|
|
1120
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
|
|
1121
|
+
import locale from 'date-fns/locale/fr';
|
|
1122
|
+
export default locale;
|
|
1123
|
+
}
|
|
1124
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
|
|
1125
|
+
import locale from 'date-fns/locale/gu';
|
|
1126
|
+
export default locale;
|
|
1127
|
+
}
|
|
1128
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
|
|
1129
|
+
import locale from 'date-fns/locale/he';
|
|
1130
|
+
export default locale;
|
|
1131
|
+
}
|
|
1132
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
|
|
1133
|
+
import locale from 'date-fns/locale/hi';
|
|
1134
|
+
export default locale;
|
|
1135
|
+
}
|
|
1136
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
|
|
1137
|
+
import locale from 'date-fns/locale/hr';
|
|
1138
|
+
export default locale;
|
|
1139
|
+
}
|
|
1140
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
|
|
1141
|
+
import locale from 'date-fns/locale/hu';
|
|
1142
|
+
export default locale;
|
|
1143
|
+
}
|
|
1144
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
|
|
1145
|
+
import locale from 'date-fns/locale/id';
|
|
1146
|
+
export default locale;
|
|
1147
|
+
}
|
|
1148
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
|
|
1149
|
+
import locale from 'date-fns/locale/it';
|
|
1150
|
+
export default locale;
|
|
1151
|
+
}
|
|
1152
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
|
|
1153
|
+
import locale from 'date-fns/locale/ja';
|
|
1154
|
+
export default locale;
|
|
1155
|
+
}
|
|
1156
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
|
|
1157
|
+
import locale from 'date-fns/locale/kn';
|
|
1158
|
+
export default locale;
|
|
1159
|
+
}
|
|
1160
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
|
|
1161
|
+
import locale from 'date-fns/locale/ko';
|
|
1162
|
+
export default locale;
|
|
1163
|
+
}
|
|
1164
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
|
|
1165
|
+
import locale from 'date-fns/locale/lt';
|
|
1166
|
+
export default locale;
|
|
1167
|
+
}
|
|
1168
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
|
|
1169
|
+
import locale from 'date-fns/locale/lv';
|
|
1170
|
+
export default locale;
|
|
1171
|
+
}
|
|
1172
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
|
|
1173
|
+
import locale from 'date-fns/locale/ms';
|
|
1174
|
+
export default locale;
|
|
1175
|
+
}
|
|
1176
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
|
|
1177
|
+
import locale from 'date-fns/locale/nb';
|
|
1178
|
+
export default locale;
|
|
1179
|
+
}
|
|
1180
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
|
|
1181
|
+
import locale from 'date-fns/locale/nl-BE';
|
|
1182
|
+
export default locale;
|
|
1183
|
+
}
|
|
1184
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
|
|
1185
|
+
import locale from 'date-fns/locale/nl';
|
|
1186
|
+
export default locale;
|
|
1187
|
+
}
|
|
1188
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
|
|
1189
|
+
import locale from 'date-fns/locale/pl';
|
|
1190
|
+
export default locale;
|
|
1191
|
+
}
|
|
1192
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
|
|
1193
|
+
import locale from 'date-fns/locale/pt-BR';
|
|
1194
|
+
export default locale;
|
|
1195
|
+
}
|
|
1196
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
|
|
1197
|
+
import locale from 'date-fns/locale/pt';
|
|
1198
|
+
export default locale;
|
|
1199
|
+
}
|
|
1200
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
|
|
1201
|
+
import locale from 'date-fns/locale/ro';
|
|
1202
|
+
export default locale;
|
|
1203
|
+
}
|
|
1204
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
|
|
1205
|
+
import locale from 'date-fns/locale/ru';
|
|
1206
|
+
export default locale;
|
|
1207
|
+
}
|
|
1208
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
|
|
1209
|
+
import locale from 'date-fns/locale/sk';
|
|
1210
|
+
export default locale;
|
|
1211
|
+
}
|
|
1212
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
|
|
1213
|
+
import locale from 'date-fns/locale/sl';
|
|
1214
|
+
export default locale;
|
|
1215
|
+
}
|
|
1216
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
|
|
1217
|
+
import locale from 'date-fns/locale/sr-Latn';
|
|
1218
|
+
export default locale;
|
|
1219
|
+
}
|
|
1220
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
|
|
1221
|
+
import locale from 'date-fns/locale/sr';
|
|
1222
|
+
export default locale;
|
|
1223
|
+
}
|
|
1224
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
|
|
1225
|
+
import locale from 'date-fns/locale/sv';
|
|
1226
|
+
export default locale;
|
|
1227
|
+
}
|
|
1228
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
|
|
1229
|
+
import locale from 'date-fns/locale/ta';
|
|
1230
|
+
export default locale;
|
|
1231
|
+
}
|
|
1232
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
|
|
1233
|
+
import locale from 'date-fns/locale/te';
|
|
1234
|
+
export default locale;
|
|
1235
|
+
}
|
|
1236
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
|
|
1237
|
+
import locale from 'date-fns/locale/th';
|
|
1238
|
+
export default locale;
|
|
1239
|
+
}
|
|
1240
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
|
|
1241
|
+
import locale from 'date-fns/locale/tr';
|
|
1242
|
+
export default locale;
|
|
1243
|
+
}
|
|
1244
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
|
|
1245
|
+
import locale from 'date-fns/locale/uk';
|
|
1246
|
+
export default locale;
|
|
1247
|
+
}
|
|
1248
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
|
|
1249
|
+
import locale from 'date-fns/locale/vi';
|
|
1250
|
+
export default locale;
|
|
1251
|
+
}
|
|
1252
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
|
|
1253
|
+
import locale from 'date-fns/locale/zh-CN';
|
|
1254
|
+
export default locale;
|
|
1255
|
+
}
|
|
1256
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
|
|
1257
|
+
import locale from 'date-fns/locale/zh-TW';
|
|
1258
|
+
export default locale;
|
|
1259
|
+
}
|
|
1260
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
|
|
1261
|
+
import locale from 'date-fns/locale/en-US';
|
|
1262
|
+
export default locale;
|
|
1263
|
+
}
|
|
1264
|
+
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1265
|
+
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1266
|
+
}
|
|
1029
1267
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1030
1268
|
export const orderedFeatureSet: string[];
|
|
1031
1269
|
export class FeatureSet {
|
|
@@ -1198,6 +1436,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1198
1436
|
customDomain?: string;
|
|
1199
1437
|
allowSelfRegistration?: boolean;
|
|
1200
1438
|
brandFolderConfig?: BrandFolderConfig;
|
|
1439
|
+
hideSubscriptionName?: boolean;
|
|
1201
1440
|
}
|
|
1202
1441
|
export interface BrandFolderConfig {
|
|
1203
1442
|
sections?: string[];
|
|
@@ -1274,9 +1513,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1274
1513
|
subscriptionId: string;
|
|
1275
1514
|
subscriptionName: string;
|
|
1276
1515
|
}
|
|
1277
|
-
export
|
|
1278
|
-
|
|
1279
|
-
|
|
1516
|
+
export enum ExtensionArea {
|
|
1517
|
+
global = "Global",
|
|
1518
|
+
page = "Page",
|
|
1519
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
1520
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
1521
|
+
itemEditor = "ItemEditor"
|
|
1522
|
+
}
|
|
1523
|
+
export type InlinePlugin = {
|
|
1524
|
+
area: ExtensionArea.itemEditor;
|
|
1525
|
+
objectButton: PluginObjectButton;
|
|
1526
|
+
};
|
|
1527
|
+
export type PagePlugin = {
|
|
1528
|
+
area: ExtensionArea.page;
|
|
1280
1529
|
route: string;
|
|
1281
1530
|
navigationNode?: {
|
|
1282
1531
|
componentName?: string;
|
|
@@ -1286,7 +1535,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1286
1535
|
[key: string]: string;
|
|
1287
1536
|
};
|
|
1288
1537
|
};
|
|
1289
|
-
}
|
|
1538
|
+
};
|
|
1539
|
+
export type PluginExtension = {
|
|
1540
|
+
area: ExtensionArea;
|
|
1541
|
+
componentName: string;
|
|
1542
|
+
} & (InlinePlugin | PagePlugin);
|
|
1543
|
+
export type PluginObjectButton = {
|
|
1544
|
+
buttonLabel: {
|
|
1545
|
+
defaultLabel: string;
|
|
1546
|
+
translations?: {
|
|
1547
|
+
[key: string]: string;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
iconName: string;
|
|
1551
|
+
};
|
|
1290
1552
|
export interface PluginNotificationDefinitions {
|
|
1291
1553
|
key: string;
|
|
1292
1554
|
title: string;
|
|
@@ -1390,6 +1652,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1390
1652
|
pluginNotifications: {
|
|
1391
1653
|
[key: string]: NotificationType;
|
|
1392
1654
|
};
|
|
1655
|
+
newsEditor: NotificationType;
|
|
1656
|
+
eventEditor: NotificationType;
|
|
1393
1657
|
}
|
|
1394
1658
|
export interface RequestUser extends BasicUserInformation {
|
|
1395
1659
|
tenantId: string;
|
|
@@ -1490,6 +1754,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1490
1754
|
user: UserSummary;
|
|
1491
1755
|
type: SubscriptionJoinResultType;
|
|
1492
1756
|
message?: string;
|
|
1757
|
+
isSuccess?: boolean;
|
|
1493
1758
|
}
|
|
1494
1759
|
export interface UserActivationResult {
|
|
1495
1760
|
type: UserActivationResultType;
|
|
@@ -1716,11 +1981,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
|
1716
1981
|
knownState: KnownNewsState;
|
|
1717
1982
|
hasNewComments?: boolean;
|
|
1718
1983
|
isLiked?: boolean;
|
|
1719
|
-
shareToken?: ShareToken;
|
|
1720
|
-
}
|
|
1721
|
-
export interface ShareToken {
|
|
1722
|
-
published?: string;
|
|
1723
|
-
preview?: string;
|
|
1724
1984
|
}
|
|
1725
1985
|
export interface NewsItemAlertOptions {
|
|
1726
1986
|
duration?: string;
|
|
@@ -1908,6 +2168,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1908
2168
|
useExternalContent?: boolean;
|
|
1909
2169
|
isDemoContent?: boolean;
|
|
1910
2170
|
}
|
|
2171
|
+
export interface ShareablePublishableItem extends PublishableItem {
|
|
2172
|
+
shareToken: ShareToken;
|
|
2173
|
+
}
|
|
2174
|
+
export interface ShareToken {
|
|
2175
|
+
published?: string;
|
|
2176
|
+
preview?: string;
|
|
2177
|
+
}
|
|
1911
2178
|
export interface PublishableItemVersion extends PublishableItem {
|
|
1912
2179
|
itemId: string;
|
|
1913
2180
|
versionModificationDate: string;
|
|
@@ -1931,6 +2198,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1931
2198
|
}
|
|
1932
2199
|
}
|
|
1933
2200
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2201
|
+
import { Api } from 'restful.js';
|
|
1934
2202
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
1935
2203
|
export class ClientFactoryInstance {
|
|
1936
2204
|
private env;
|
|
@@ -1941,7 +2209,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1941
2209
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
1942
2210
|
url: string;
|
|
1943
2211
|
}) => Promise<unknown>);
|
|
1944
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2212
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
1945
2213
|
private createApiInternal;
|
|
1946
2214
|
private addRequestTimeLogger;
|
|
1947
2215
|
createApiUrl: (url: string, query?: {
|
|
@@ -2448,6 +2716,223 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2448
2716
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2449
2717
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2450
2718
|
}
|
|
2719
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2720
|
+
export const maxContentWidth = 985;
|
|
2721
|
+
export const adminMaxWidth = 600;
|
|
2722
|
+
export const spacingXxs = 3;
|
|
2723
|
+
export const spacingXs = 6;
|
|
2724
|
+
export const spacingS = 10;
|
|
2725
|
+
export const spacingM = 20;
|
|
2726
|
+
export const spacingL = 30;
|
|
2727
|
+
export const spacingX = 40;
|
|
2728
|
+
export const spacingXl = 60;
|
|
2729
|
+
export const minScreenSize: {
|
|
2730
|
+
small: number;
|
|
2731
|
+
medium: number;
|
|
2732
|
+
large: number;
|
|
2733
|
+
xLarge: number;
|
|
2734
|
+
xxLarge: number;
|
|
2735
|
+
xxxLarge: number;
|
|
2736
|
+
};
|
|
2737
|
+
export const maxScreenSize: {
|
|
2738
|
+
small: number;
|
|
2739
|
+
medium: number;
|
|
2740
|
+
large: number;
|
|
2741
|
+
xLarge: number;
|
|
2742
|
+
xxLarge: number;
|
|
2743
|
+
};
|
|
2744
|
+
export const sidebarWidth = 285;
|
|
2745
|
+
export const sidebarWidthRight = 320;
|
|
2746
|
+
export const sidebarItemHeight = 50;
|
|
2747
|
+
export const headerHeight = 50;
|
|
2748
|
+
export const headerSecondaryHeight = 50;
|
|
2749
|
+
export const notificationHeight = 50;
|
|
2750
|
+
export const mainContentPanelWidth = 300;
|
|
2751
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2752
|
+
export const fontSizeLarger = 40;
|
|
2753
|
+
export const fontSizeLarge = 25;
|
|
2754
|
+
export const fontSizeMedium = 18;
|
|
2755
|
+
export const fontSizeNormal = 16;
|
|
2756
|
+
export const fontSizeSmall = 14;
|
|
2757
|
+
export const fontSizeSmaller = 12;
|
|
2758
|
+
export const socialIconSize = 26;
|
|
2759
|
+
export const lineHeight = 23;
|
|
2760
|
+
export const smallScreenLoginHeight = 40;
|
|
2761
|
+
export const bannerAspectRatio: number;
|
|
2762
|
+
export const bannerWidth = 980;
|
|
2763
|
+
export const bannerHeight = 420;
|
|
2764
|
+
export const HighlightBubbleSize = 12;
|
|
2765
|
+
export const StatusBubbleSize = 10;
|
|
2766
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2767
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2768
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2769
|
+
export const dialogSpacing = 24;
|
|
2770
|
+
export const detailViewSectionPadding = 20;
|
|
2771
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2772
|
+
export const postsSectionPadding = 20;
|
|
2773
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2774
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2775
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2776
|
+
export const feedbackButtonHeight = 32;
|
|
2777
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2778
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2779
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2780
|
+
export const statusColors: {
|
|
2781
|
+
draft: string;
|
|
2782
|
+
ready: string;
|
|
2783
|
+
rejected: string;
|
|
2784
|
+
};
|
|
2785
|
+
export const cardWidthS = 260;
|
|
2786
|
+
export const cardWidthM = 354;
|
|
2787
|
+
export const cardWidthL = 314;
|
|
2788
|
+
export const cardWidthXL = 423;
|
|
2789
|
+
export const managePagesRowWidth = 300;
|
|
2790
|
+
export const managePagesRowHeight = 40;
|
|
2791
|
+
export const mobilePreviewWidth = 414;
|
|
2792
|
+
}
|
|
2793
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2794
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2795
|
+
import { IntlShape } from 'react-intl';
|
|
2796
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2797
|
+
export enum LinkType {
|
|
2798
|
+
Internal = "internal",
|
|
2799
|
+
External = "external",
|
|
2800
|
+
Download = "download"
|
|
2801
|
+
}
|
|
2802
|
+
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}";
|
|
2803
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2804
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2805
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2806
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2807
|
+
logoInfo: LogoInfo;
|
|
2808
|
+
subscriptionName: string;
|
|
2809
|
+
};
|
|
2810
|
+
}
|
|
2811
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2812
|
+
export enum AnalyticsInteractionEvents {
|
|
2813
|
+
embeddedVideo = "embedded-video",
|
|
2814
|
+
embeddedAudio = "embedded-audio",
|
|
2815
|
+
languageChange = "language-change",
|
|
2816
|
+
eventRegistration = "event-registration",
|
|
2817
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2818
|
+
translateContent = "translate-content",
|
|
2819
|
+
downloadFile = "download-file",
|
|
2820
|
+
embeddedIframe = "embedded-iframe",
|
|
2821
|
+
externalLink = "external-link",
|
|
2822
|
+
follow = "follow",
|
|
2823
|
+
bookmark = "bookmark"
|
|
2824
|
+
}
|
|
2825
|
+
export enum AnalyticsActions {
|
|
2826
|
+
click = "click",
|
|
2827
|
+
navigate = "navigate",
|
|
2828
|
+
view = "view",
|
|
2829
|
+
search = "search"
|
|
2830
|
+
}
|
|
2831
|
+
export enum AnalyticsModuleType {
|
|
2832
|
+
Admin = "admin",
|
|
2833
|
+
Chat = "chat",
|
|
2834
|
+
Comments = "comments",
|
|
2835
|
+
Events = "events",
|
|
2836
|
+
GlobalSearch = "globalSearch",
|
|
2837
|
+
News = "news",
|
|
2838
|
+
Pages = "pages",
|
|
2839
|
+
People = "people",
|
|
2840
|
+
Posts = "posts",
|
|
2841
|
+
Stream = "stream",
|
|
2842
|
+
User = "user"
|
|
2843
|
+
}
|
|
2844
|
+
export enum AnalyticsModuleSubtype {
|
|
2845
|
+
AllChats = "allChats",
|
|
2846
|
+
AllNews = "allNews",
|
|
2847
|
+
AllPosts = "allPosts",
|
|
2848
|
+
Bookmarks = "bookmarks",
|
|
2849
|
+
Channel = "channel",
|
|
2850
|
+
Channels = "channels",
|
|
2851
|
+
ChatConversation = "conversation",
|
|
2852
|
+
Customization = "customization",
|
|
2853
|
+
DetailView = "detailView",
|
|
2854
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2855
|
+
Group = "group",
|
|
2856
|
+
Groups = "groups",
|
|
2857
|
+
Keywords = "keywords",
|
|
2858
|
+
Languages = "languages",
|
|
2859
|
+
MyNews = "myNews",
|
|
2860
|
+
Owners = "owners",
|
|
2861
|
+
Preview = "preview",
|
|
2862
|
+
RootPages = "rootPages",
|
|
2863
|
+
Search = "search",
|
|
2864
|
+
SelfRegistration = "selfRegistration",
|
|
2865
|
+
TargetAudience = "targetAudience",
|
|
2866
|
+
UpcomingEvents = "upcoming",
|
|
2867
|
+
Users = "users",
|
|
2868
|
+
WebHooks = "webHooks"
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2872
|
+
import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2873
|
+
export function useLinkInteraction(analyticsInstance: ReachAnalytics): void;
|
|
2874
|
+
}
|
|
2875
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2876
|
+
import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2877
|
+
export function useIframeInteraction(analyticsInstance: ReachAnalytics): void;
|
|
2878
|
+
}
|
|
2879
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2880
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2881
|
+
import { Analytics } from '@livetiles/analytics';
|
|
2882
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2883
|
+
export interface AnalyticsSearchData {
|
|
2884
|
+
searchTerm: string;
|
|
2885
|
+
results: {
|
|
2886
|
+
itemId: string;
|
|
2887
|
+
itemType: ItemResourceTypes;
|
|
2888
|
+
}[];
|
|
2889
|
+
itemRead?: string;
|
|
2890
|
+
isGlobalSearch?: boolean;
|
|
2891
|
+
}
|
|
2892
|
+
export enum AnalyticsSearchEventType {
|
|
2893
|
+
search = "search",
|
|
2894
|
+
searchSession = "searchSession"
|
|
2895
|
+
}
|
|
2896
|
+
export interface SearchAnalytics {
|
|
2897
|
+
data: AnalyticsSearchData[];
|
|
2898
|
+
onSearchTermChange: (newData: AnalyticsSearchData) => Promise<unknown>;
|
|
2899
|
+
trackSearchSession: () => Promise<unknown>;
|
|
2900
|
+
onItemRead: (itemId: string) => void;
|
|
2901
|
+
}
|
|
2902
|
+
interface Module {
|
|
2903
|
+
type: string;
|
|
2904
|
+
subtype?: string;
|
|
2905
|
+
value?: string;
|
|
2906
|
+
}
|
|
2907
|
+
export interface AnalyticsModule {
|
|
2908
|
+
module: Module;
|
|
2909
|
+
setModule: Dispatch<SetStateAction<Module>>;
|
|
2910
|
+
}
|
|
2911
|
+
interface ActivityAnalytics {
|
|
2912
|
+
trackActivity: (scrollContainer: HTMLElement) => void;
|
|
2913
|
+
}
|
|
2914
|
+
export type ReachAnalytics = Analytics & AnalyticsModule & SearchAnalytics & ActivityAnalytics;
|
|
2915
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2916
|
+
export function useAnalyticsContext(): ReachAnalytics;
|
|
2917
|
+
export const AnalyticsContextProvider: FC;
|
|
2918
|
+
}
|
|
2919
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2920
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
2921
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2922
|
+
}
|
|
2923
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2924
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2925
|
+
}
|
|
2926
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2927
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2928
|
+
}
|
|
2929
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2930
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2931
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2932
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2933
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2934
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2935
|
+
}
|
|
2451
2936
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2452
2937
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2453
2938
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2521,6 +3006,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2521
3006
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2522
3007
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2523
3008
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
3009
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
3010
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2524
3011
|
};
|
|
2525
3012
|
}
|
|
2526
3013
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2546,6 +3033,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2546
3033
|
customDomain?: string;
|
|
2547
3034
|
allowSelfRegistration?: boolean;
|
|
2548
3035
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3036
|
+
hideSubscriptionName?: boolean;
|
|
2549
3037
|
id: string;
|
|
2550
3038
|
subscriptionName: string;
|
|
2551
3039
|
subscriptionHandle?: string;
|
|
@@ -2711,7 +3199,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2711
3199
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2712
3200
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2713
3201
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2714
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3202
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2715
3203
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2716
3204
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2717
3205
|
};
|
|
@@ -2817,17 +3305,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2817
3305
|
}
|
|
2818
3306
|
}
|
|
2819
3307
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2820
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3308
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2821
3309
|
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
3310
|
export interface PluginNavigationNodeProps {
|
|
2829
3311
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2830
3312
|
}
|
|
3313
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3314
|
+
isEditMode?: boolean;
|
|
3315
|
+
componentInstanceId: string;
|
|
3316
|
+
};
|
|
2831
3317
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2832
3318
|
type DevPlugin = {
|
|
2833
3319
|
pluginId: string;
|
|
@@ -2881,22 +3367,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2881
3367
|
}
|
|
2882
3368
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2883
3369
|
import { FC } from 'react';
|
|
2884
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3370
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2885
3371
|
export const Plugins: FC<{
|
|
2886
3372
|
area: ExtensionArea;
|
|
2887
3373
|
} & any>;
|
|
2888
3374
|
}
|
|
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
3375
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2901
3376
|
export class Color {
|
|
2902
3377
|
private r;
|
|
@@ -3041,77 +3516,24 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3041
3516
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3042
3517
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3043
3518
|
}
|
|
3044
|
-
declare module "libs/reach/util/common/src/
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
export const
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
export
|
|
3053
|
-
export
|
|
3054
|
-
export
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
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;
|
|
3519
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3520
|
+
import { FC } from 'react';
|
|
3521
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3522
|
+
export const Plugin: FC<PluginProps & {
|
|
3523
|
+
showDetailedErrorMessage?: boolean;
|
|
3524
|
+
} & any>;
|
|
3525
|
+
}
|
|
3526
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3527
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3528
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3529
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3530
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3531
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3532
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3533
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3534
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3535
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3536
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3115
3537
|
}
|
|
3116
3538
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3117
3539
|
import { FC, ReactNode } from 'react';
|
|
@@ -3215,6 +3637,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3215
3637
|
width?: number;
|
|
3216
3638
|
height?: number;
|
|
3217
3639
|
}
|
|
3640
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3641
|
+
imageAlignment?: ImageAlignment;
|
|
3642
|
+
}
|
|
3643
|
+
export enum ImageAlignment {
|
|
3644
|
+
Default = "default",
|
|
3645
|
+
Left = "left",
|
|
3646
|
+
Right = "right",
|
|
3647
|
+
Center = "center"
|
|
3648
|
+
}
|
|
3218
3649
|
}
|
|
3219
3650
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3220
3651
|
export interface MainPanelContextType {
|
|
@@ -3265,6 +3696,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3265
3696
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3266
3697
|
}
|
|
3267
3698
|
}
|
|
3699
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3700
|
+
export interface ModalRouting {
|
|
3701
|
+
isActive: boolean;
|
|
3702
|
+
itemId: string;
|
|
3703
|
+
backgroundLocation: any;
|
|
3704
|
+
}
|
|
3705
|
+
export function useModalRouting(): {
|
|
3706
|
+
isModalRoutingActive: boolean;
|
|
3707
|
+
modalItemId: string;
|
|
3708
|
+
backgroundLocation: any;
|
|
3709
|
+
};
|
|
3710
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3711
|
+
modalRouting: {
|
|
3712
|
+
isActive: boolean;
|
|
3713
|
+
itemId: string;
|
|
3714
|
+
backgroundLocation: {
|
|
3715
|
+
state: {
|
|
3716
|
+
modalRouting: {
|
|
3717
|
+
isActive: boolean;
|
|
3718
|
+
};
|
|
3719
|
+
};
|
|
3720
|
+
pathname: string;
|
|
3721
|
+
search: string;
|
|
3722
|
+
hash: string;
|
|
3723
|
+
key?: string;
|
|
3724
|
+
};
|
|
3725
|
+
};
|
|
3726
|
+
};
|
|
3727
|
+
}
|
|
3268
3728
|
declare module "libs/reach/util/common/src/index" {
|
|
3269
3729
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3270
3730
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3274,6 +3734,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3274
3734
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3275
3735
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3276
3736
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3737
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3277
3738
|
export * from "libs/reach/util/common/src/user/index";
|
|
3278
3739
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3279
3740
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3292,6 +3753,9 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3292
3753
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3293
3754
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3294
3755
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3756
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3757
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3758
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3295
3759
|
}
|
|
3296
3760
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3297
3761
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3348,7 +3812,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3348
3812
|
text?: string | JSX.Element;
|
|
3349
3813
|
resourceKey?: string;
|
|
3350
3814
|
values?: {
|
|
3351
|
-
[key: string]: string | number | boolean | Date;
|
|
3815
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3352
3816
|
};
|
|
3353
3817
|
width?: number;
|
|
3354
3818
|
onClick?: () => unknown;
|
|
@@ -3428,7 +3892,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3428
3892
|
export const PeoplePicker: FC<Props>;
|
|
3429
3893
|
}
|
|
3430
3894
|
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";
|
|
3895
|
+
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
3896
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3433
3897
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3434
3898
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3445,7 +3909,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3445
3909
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3446
3910
|
*/
|
|
3447
3911
|
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, };
|
|
3912
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3449
3913
|
}
|
|
3450
3914
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3451
3915
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3461,6 +3925,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3461
3925
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3462
3926
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3463
3927
|
}
|
|
3928
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3929
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3930
|
+
}
|
|
3464
3931
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3465
3932
|
import { FC } from 'react';
|
|
3466
3933
|
export const NotificationBar: FC;
|
|
@@ -3477,6 +3944,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3477
3944
|
export const AudioFile: FC<{
|
|
3478
3945
|
fileName: string;
|
|
3479
3946
|
url: string;
|
|
3947
|
+
onPlay?: (url: string) => void;
|
|
3480
3948
|
}>;
|
|
3481
3949
|
export function isAudioFile(fileName: string): boolean;
|
|
3482
3950
|
}
|
|
@@ -3500,37 +3968,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3500
3968
|
color?: string;
|
|
3501
3969
|
}, never>;
|
|
3502
3970
|
}
|
|
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
3971
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3535
3972
|
import { FC } from 'react';
|
|
3536
3973
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3694,6 +4131,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3694
4131
|
export const VideoFile: FC<{
|
|
3695
4132
|
fileName: string;
|
|
3696
4133
|
url: string;
|
|
4134
|
+
onPlay?: (url: string) => void;
|
|
3697
4135
|
}>;
|
|
3698
4136
|
export function isVideoFile(fileName: string): boolean;
|
|
3699
4137
|
}
|
|
@@ -3716,24 +4154,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3716
4154
|
}[]>;
|
|
3717
4155
|
export function getFileIcon(filename: string): string;
|
|
3718
4156
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4157
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3719
4158
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3720
4159
|
}
|
|
3721
4160
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4161
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3722
4162
|
export function useFileAccessTokenApi(): {
|
|
3723
4163
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3724
4164
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3725
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4165
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3726
4166
|
};
|
|
3727
4167
|
}
|
|
3728
4168
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3729
4169
|
import { FC } from 'react';
|
|
3730
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4170
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3731
4171
|
export const FileAttachmentList: FC<{
|
|
3732
4172
|
files: Attachment[];
|
|
3733
4173
|
onDeleteClick?: (file: Attachment) => void;
|
|
3734
4174
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4175
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4176
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3735
4177
|
fileAccessToken?: string;
|
|
3736
4178
|
disabled?: boolean;
|
|
4179
|
+
parentId?: string;
|
|
4180
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3737
4181
|
className?: string;
|
|
3738
4182
|
}>;
|
|
3739
4183
|
}
|
|
@@ -4026,13 +4470,35 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4026
4470
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4027
4471
|
}
|
|
4028
4472
|
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>>;
|
|
4473
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4030
4474
|
}
|
|
4031
4475
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4032
4476
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
4033
4477
|
import { IntlShape } from 'react-intl';
|
|
4034
4478
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4035
4479
|
}
|
|
4480
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4481
|
+
export const smallScreenSpacing = 10;
|
|
4482
|
+
export const smallMaxContentWidth: number;
|
|
4483
|
+
export const mediumMaxContentWidth: number;
|
|
4484
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4485
|
+
}
|
|
4486
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4487
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4488
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4489
|
+
export function isValidUrl(url: string): boolean;
|
|
4490
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4491
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4492
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4493
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4494
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4495
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4496
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4497
|
+
defaultWidth?: number;
|
|
4498
|
+
showPlaceholder?: boolean;
|
|
4499
|
+
}, never>;
|
|
4500
|
+
export function encodeChannelName(channelName: string): string;
|
|
4501
|
+
}
|
|
4036
4502
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4037
4503
|
import { FC, ReactNode } from 'react';
|
|
4038
4504
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4056,12 +4522,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4056
4522
|
}
|
|
4057
4523
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4058
4524
|
import { FC } from 'react';
|
|
4525
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4059
4526
|
export const AutoTranslateButton: FC<{
|
|
4060
4527
|
contentLanguageCode: string;
|
|
4061
4528
|
originalContent: string;
|
|
4062
4529
|
content: string;
|
|
4063
4530
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4064
4531
|
onContentChange: (content: string) => void;
|
|
4532
|
+
itemType: ItemResourceTypes;
|
|
4533
|
+
itemId: string;
|
|
4065
4534
|
tooltipResourceKey?: string;
|
|
4066
4535
|
showLabel?: boolean;
|
|
4067
4536
|
}>;
|
|
@@ -4345,6 +4814,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4345
4814
|
className?: string;
|
|
4346
4815
|
}>;
|
|
4347
4816
|
}
|
|
4817
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4818
|
+
export const useIsMounted: () => () => boolean;
|
|
4819
|
+
}
|
|
4348
4820
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4349
4821
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4350
4822
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4825,6 +5297,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4825
5297
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4826
5298
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4827
5299
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5300
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4828
5301
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4829
5302
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4830
5303
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4857,6 +5330,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4857
5330
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
4858
5331
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
4859
5332
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5333
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
4860
5334
|
}
|
|
4861
5335
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
4862
5336
|
import { ReactNode } from 'react';
|
|
@@ -4908,7 +5382,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4908
5382
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4909
5383
|
}
|
|
4910
5384
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4911
|
-
import { FC } from 'react';
|
|
5385
|
+
import { FC, DependencyList } from 'react';
|
|
4912
5386
|
export interface Props {
|
|
4913
5387
|
navigateTo: string;
|
|
4914
5388
|
onClose?: () => void;
|
|
@@ -4917,7 +5391,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4917
5391
|
className?: string;
|
|
4918
5392
|
}
|
|
4919
5393
|
export const CloseButton: FC<Props>;
|
|
4920
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5394
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4921
5395
|
}
|
|
4922
5396
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4923
5397
|
export const LogoHostStyle: (size?: {
|
|
@@ -4981,8 +5455,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4981
5455
|
export const SkipLinksContextProvider: FC;
|
|
4982
5456
|
}
|
|
4983
5457
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5458
|
+
import { DependencyList } from 'react';
|
|
4984
5459
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4985
|
-
export function useAddSkipLinks(
|
|
5460
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4986
5461
|
}
|
|
4987
5462
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4988
5463
|
import { FC } from 'react';
|
|
@@ -5008,9 +5483,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5008
5483
|
}
|
|
5009
5484
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5010
5485
|
import { FC, ReactNode } from 'react';
|
|
5486
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5011
5487
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5012
5488
|
import './BasicPage.scss';
|
|
5013
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5014
5489
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5015
5490
|
type HeaderToolbarObjectTypeHack = {
|
|
5016
5491
|
toolbarElement: JSX.Element;
|
|
@@ -5033,6 +5508,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5033
5508
|
closeButtonOptions?: CloseButtonOptions;
|
|
5034
5509
|
showSearchBox?: boolean;
|
|
5035
5510
|
disableScrollableContainerFocus?: boolean;
|
|
5511
|
+
asModal?: boolean;
|
|
5512
|
+
domIdentifier?: string;
|
|
5036
5513
|
}
|
|
5037
5514
|
export const BasicPage: FC<Props>;
|
|
5038
5515
|
}
|
|
@@ -5126,7 +5603,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5126
5603
|
addLanguage: (code: string) => Promise<Language>;
|
|
5127
5604
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5128
5605
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5129
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5606
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5607
|
+
name: string | null;
|
|
5608
|
+
hideName: boolean | null;
|
|
5609
|
+
}>;
|
|
5130
5610
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5131
5611
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5132
5612
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5432,11 +5912,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5432
5912
|
export { PushClient };
|
|
5433
5913
|
}
|
|
5434
5914
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5435
|
-
import { ConfigureOptions, MigrateResult,
|
|
5436
|
-
export class MobileHybridStorage implements
|
|
5915
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5916
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5437
5917
|
private pluginStorage;
|
|
5438
5918
|
private static memoryStorage;
|
|
5439
|
-
constructor(pluginStorage:
|
|
5919
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5440
5920
|
get(options: {
|
|
5441
5921
|
key: string;
|
|
5442
5922
|
}): Promise<any>;
|
|
@@ -5448,7 +5928,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5448
5928
|
key: string;
|
|
5449
5929
|
}): Promise<void>;
|
|
5450
5930
|
clear(): Promise<void>;
|
|
5451
|
-
keys(): Promise<import("@capacitor/
|
|
5931
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5452
5932
|
private static updateInMemoryStorage;
|
|
5453
5933
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5454
5934
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5484,7 +5964,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5484
5964
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5485
5965
|
}
|
|
5486
5966
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5487
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5967
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5488
5968
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5489
5969
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5490
5970
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5493,6 +5973,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5493
5973
|
getId(): Promise<DeviceId>;
|
|
5494
5974
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5495
5975
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
5976
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5496
5977
|
}
|
|
5497
5978
|
}
|
|
5498
5979
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5509,8 +5990,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5509
5990
|
}
|
|
5510
5991
|
}
|
|
5511
5992
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5512
|
-
import { ConfigureOptions, MigrateResult,
|
|
5513
|
-
export class WebStorage implements
|
|
5993
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5994
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5514
5995
|
storage: Storage;
|
|
5515
5996
|
get(options: {
|
|
5516
5997
|
key: string;
|
|
@@ -5544,14 +6025,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5544
6025
|
import { SharePlugin } from '@capacitor/share';
|
|
5545
6026
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5546
6027
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5547
|
-
import {
|
|
6028
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5548
6029
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5549
6030
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5550
6031
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5551
6032
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5552
6033
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5553
6034
|
export interface CondensePluginRegistry {
|
|
5554
|
-
Storage:
|
|
6035
|
+
Storage: PreferencesPlugin;
|
|
5555
6036
|
Device: DevicePlugin;
|
|
5556
6037
|
App: AppPlugin;
|
|
5557
6038
|
Keyboard: KeyboardPlugin;
|
|
@@ -6213,7 +6694,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6213
6694
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6214
6695
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6215
6696
|
export function useSelfRegistrationApi(): {
|
|
6216
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6697
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6217
6698
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6218
6699
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6219
6700
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6269,6 +6750,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6269
6750
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6270
6751
|
}>;
|
|
6271
6752
|
}
|
|
6753
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6754
|
+
import { FC } from 'react';
|
|
6755
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6756
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6757
|
+
onApiKeyAdded?: () => void;
|
|
6758
|
+
onDismiss: () => void;
|
|
6759
|
+
user?: UserItem;
|
|
6760
|
+
}>;
|
|
6761
|
+
}
|
|
6272
6762
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6273
6763
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6274
6764
|
import './UserList.scss';
|
|
@@ -6292,7 +6782,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6292
6782
|
isLoading?: boolean;
|
|
6293
6783
|
isEmpty?: boolean;
|
|
6294
6784
|
emptyPlaceholder?: ReactNode;
|
|
6785
|
+
onKeyChanged?: () => void;
|
|
6295
6786
|
}
|
|
6787
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6788
|
+
accountType: string;
|
|
6789
|
+
lastLogin: string | JSX.Element;
|
|
6790
|
+
};
|
|
6296
6791
|
export const UserList: FC<Props>;
|
|
6297
6792
|
}
|
|
6298
6793
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6325,12 +6820,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6325
6820
|
className?: string;
|
|
6326
6821
|
}>;
|
|
6327
6822
|
}
|
|
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
6823
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6335
6824
|
import { FC } from 'react';
|
|
6336
6825
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6350,18 +6839,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6350
6839
|
}
|
|
6351
6840
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6352
6841
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6842
|
+
export enum ValidationStatus {
|
|
6843
|
+
Valid = 0,
|
|
6844
|
+
WithErrors = 1,
|
|
6845
|
+
WithUserErrors = 2
|
|
6846
|
+
}
|
|
6847
|
+
export type CsvValidation = {
|
|
6848
|
+
Status?: ValidationStatus;
|
|
6849
|
+
Message?: string;
|
|
6850
|
+
InvalidItems?: string[];
|
|
6851
|
+
};
|
|
6353
6852
|
export function useUserCsvInviter(): {
|
|
6354
6853
|
invitedUsers: UserImport[];
|
|
6355
6854
|
isValidating: boolean;
|
|
6356
6855
|
isCsvValid: boolean;
|
|
6357
6856
|
parseCsvFile: (csvFile: File) => void;
|
|
6358
|
-
|
|
6359
|
-
|
|
6857
|
+
csvValidation: CsvValidation;
|
|
6858
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6360
6859
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6361
6860
|
isParserReady: boolean;
|
|
6362
|
-
|
|
6861
|
+
isInviting: boolean;
|
|
6862
|
+
canInvite: boolean;
|
|
6863
|
+
csvFile: File;
|
|
6363
6864
|
};
|
|
6364
6865
|
}
|
|
6866
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6867
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6868
|
+
}
|
|
6869
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6870
|
+
import { FC } from 'react';
|
|
6871
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6872
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6873
|
+
export const CsvFileValidationResult: FC<{
|
|
6874
|
+
csvValidation: CsvValidation;
|
|
6875
|
+
invitedUsers: UserImport[];
|
|
6876
|
+
}>;
|
|
6877
|
+
}
|
|
6365
6878
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6366
6879
|
import { FC } from 'react';
|
|
6367
6880
|
export const ImportUserButton: FC<{
|
|
@@ -6394,34 +6907,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6394
6907
|
children?: (content: string, index: number) => JSX.Element;
|
|
6395
6908
|
}>;
|
|
6396
6909
|
}
|
|
6397
|
-
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
6398
|
-
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6399
|
-
}
|
|
6400
6910
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6401
6911
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6402
|
-
export class
|
|
6912
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6403
6913
|
static type: string;
|
|
6404
6914
|
type: string;
|
|
6405
6915
|
itemId: string;
|
|
6406
6916
|
response: EventResponse;
|
|
6407
6917
|
locationId: string;
|
|
6408
6918
|
onBehalfOfUpn: string;
|
|
6409
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6919
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6410
6920
|
}
|
|
6411
|
-
export class
|
|
6921
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6412
6922
|
static type: string;
|
|
6413
6923
|
type: string;
|
|
6414
|
-
|
|
6924
|
+
itemId: string;
|
|
6415
6925
|
response: EventResponse;
|
|
6416
|
-
static create(
|
|
6926
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6417
6927
|
}
|
|
6418
|
-
export class
|
|
6928
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6419
6929
|
static type: string;
|
|
6420
6930
|
type: string;
|
|
6421
6931
|
recurrenceSeriesId: string;
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6932
|
+
response: EventResponse;
|
|
6933
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6425
6934
|
}
|
|
6426
6935
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6427
6936
|
static type: string;
|
|
@@ -6436,6 +6945,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6436
6945
|
followByDefault: boolean;
|
|
6437
6946
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6438
6947
|
}
|
|
6948
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6949
|
+
static type: string;
|
|
6950
|
+
type: string;
|
|
6951
|
+
recurrenceSeriesId: string;
|
|
6952
|
+
isLiked: boolean;
|
|
6953
|
+
likeCount: number;
|
|
6954
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6955
|
+
}
|
|
6956
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
6957
|
+
static type: string;
|
|
6958
|
+
type: string;
|
|
6959
|
+
recurrenceSeriesId: string;
|
|
6960
|
+
isFollowed: boolean;
|
|
6961
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
6962
|
+
}
|
|
6439
6963
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6440
6964
|
static type: string;
|
|
6441
6965
|
type: string;
|
|
@@ -6456,6 +6980,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6456
6980
|
type: string;
|
|
6457
6981
|
static create(): StreamMarkAllAsReadAction;
|
|
6458
6982
|
}
|
|
6983
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6984
|
+
static type: string;
|
|
6985
|
+
type: string;
|
|
6986
|
+
itemId: string;
|
|
6987
|
+
static create(itemId: string): RefetchItemAction;
|
|
6988
|
+
}
|
|
6989
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
6990
|
+
static type: string;
|
|
6991
|
+
type: string;
|
|
6992
|
+
itemId: string;
|
|
6993
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
6994
|
+
}
|
|
6459
6995
|
}
|
|
6460
6996
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6461
6997
|
export interface CommentFilter {
|
|
@@ -6472,32 +7008,38 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6472
7008
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6473
7009
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6474
7010
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7011
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6475
7012
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6476
7013
|
export function useCommentApi(): {
|
|
6477
|
-
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) =>
|
|
6478
|
-
createEditorComment: (itemId: string, comment: Partial<Comment>) =>
|
|
6479
|
-
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) =>
|
|
6480
|
-
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) =>
|
|
6481
|
-
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) =>
|
|
6482
|
-
getEditorConversations: (itemId: string) =>
|
|
7014
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7015
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7016
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7017
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7018
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7019
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6483
7020
|
translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
|
|
6484
|
-
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) =>
|
|
6485
|
-
deleteEditorComment: (itemId: string, commentId: string) =>
|
|
7021
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7022
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6486
7023
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6487
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7024
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6488
7025
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6489
7026
|
};
|
|
6490
7027
|
}
|
|
7028
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7029
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
7030
|
+
}
|
|
6491
7031
|
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
6492
7032
|
import { FC } from 'react';
|
|
6493
|
-
import { ConversationScope } from "libs/reach/util/common/src/index";
|
|
6494
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7033
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6495
7034
|
interface Props {
|
|
6496
7035
|
type: ItemResourceTypes;
|
|
6497
7036
|
itemId: string;
|
|
7037
|
+
recurrenceSeriesId?: string;
|
|
6498
7038
|
className?: string;
|
|
6499
7039
|
scope: ConversationScope;
|
|
6500
7040
|
hideProfileUrl?: boolean;
|
|
7041
|
+
hideWarning?: boolean;
|
|
7042
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
6501
7043
|
}
|
|
6502
7044
|
export const FollowComments: FC<Props>;
|
|
6503
7045
|
}
|
|
@@ -6615,7 +7157,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6615
7157
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6616
7158
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6617
7159
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6618
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
7160
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6619
7161
|
}
|
|
6620
7162
|
export interface BaseFilterDefinition {
|
|
6621
7163
|
search?: string;
|
|
@@ -6623,6 +7165,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6623
7165
|
pageSize?: string | number;
|
|
6624
7166
|
groupId?: string;
|
|
6625
7167
|
}
|
|
7168
|
+
export interface ItemIdsFilterDefinition {
|
|
7169
|
+
itemIds?: string;
|
|
7170
|
+
}
|
|
6626
7171
|
export interface IndexableFilterDefinition {
|
|
6627
7172
|
[key: string]: any;
|
|
6628
7173
|
}
|
|
@@ -6927,34 +7472,71 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6927
7472
|
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
6928
7473
|
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
6929
7474
|
}
|
|
6930
|
-
declare module "libs/reach/feature/content/src/
|
|
6931
|
-
import {
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
}
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
7475
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7476
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7477
|
+
export default interface FeedbackSummary {
|
|
7478
|
+
records: FeedbackItem[];
|
|
7479
|
+
}
|
|
7480
|
+
export enum FeedbackItemType {
|
|
7481
|
+
comment = "comment",
|
|
7482
|
+
like = "like",
|
|
7483
|
+
confirm = "confirm",
|
|
7484
|
+
poll = "poll",
|
|
7485
|
+
eventRegistration = "eventRegistration"
|
|
7486
|
+
}
|
|
7487
|
+
export interface FeedbackItem {
|
|
7488
|
+
type: FeedbackItemType;
|
|
7489
|
+
timestamp: string;
|
|
7490
|
+
}
|
|
7491
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7492
|
+
type: FeedbackItemType.poll;
|
|
7493
|
+
answers: PollQuestionAnswer[];
|
|
7494
|
+
}
|
|
7495
|
+
}
|
|
7496
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7497
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7498
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7499
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7500
|
+
export const feedbackCache: {
|
|
7501
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7502
|
+
};
|
|
7503
|
+
export function useFeedbackApi(): {
|
|
7504
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7505
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7506
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7507
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7508
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7509
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7510
|
+
};
|
|
7511
|
+
}
|
|
7512
|
+
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
7513
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7514
|
+
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7515
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7516
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7517
|
+
import { Post, PostFilterDefinition } from "libs/reach/feature/content/src/posts/utils";
|
|
7518
|
+
export function usePostsApi(): {
|
|
7519
|
+
createPost: (post: Partial<Post>) => Promise<Post>;
|
|
7520
|
+
togglePostLike: (postId: string, isLiked: boolean) => Promise<unknown>;
|
|
7521
|
+
getPosts: (filter?: Partial<PostFilterDefinition>, ...groupIds: string[]) => Promise<PaginatedList<Post>>;
|
|
7522
|
+
updatePost: (postId: string, content: string, attachments: Attachment[], keywords?: {
|
|
7523
|
+
[key: string]: Keyword[];
|
|
7524
|
+
}) => Promise<Post>;
|
|
7525
|
+
deletePost: (postId: string) => Promise<unknown>;
|
|
7526
|
+
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
7527
|
+
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
7528
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
7529
|
+
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
7530
|
+
};
|
|
7531
|
+
}
|
|
7532
|
+
declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectValidator" {
|
|
7533
|
+
import { EmbeddedObject } from "libs/reach/util/common/src/index";
|
|
7534
|
+
export function useEmbeddedObjectValidator(): (embeddedObject: EmbeddedObject) => Promise<boolean>;
|
|
7535
|
+
}
|
|
7536
|
+
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
7537
|
+
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
7538
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7539
|
+
export interface ClientAttachment extends Attachment {
|
|
6958
7540
|
file?: File;
|
|
6959
7541
|
}
|
|
6960
7542
|
export type Attachments = (Attachment | ClientAttachment)[];
|
|
@@ -6969,6 +7551,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6969
7551
|
placeHolderStringResourceKey?: string;
|
|
6970
7552
|
disableAddGif?: boolean;
|
|
6971
7553
|
disableAddFiles?: boolean;
|
|
7554
|
+
parentId?: string;
|
|
7555
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6972
7556
|
};
|
|
6973
7557
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
6974
7558
|
attachments: Attachment[];
|
|
@@ -6981,6 +7565,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6981
7565
|
placeHolderStringResourceKey?: string;
|
|
6982
7566
|
disableAddGif?: boolean;
|
|
6983
7567
|
disableAddFiles?: boolean;
|
|
7568
|
+
parentId?: string;
|
|
7569
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6984
7570
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
6985
7571
|
}
|
|
6986
7572
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7110,6 +7696,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7110
7696
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7111
7697
|
import { FC, MouseEvent } from 'react';
|
|
7112
7698
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7699
|
+
import { LocationState } from 'history';
|
|
7113
7700
|
export const ClickableOverlay: FC<{
|
|
7114
7701
|
itemId: string;
|
|
7115
7702
|
itemType: ItemResourceTypes;
|
|
@@ -7120,6 +7707,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7120
7707
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7121
7708
|
openTargetInNewWindow?: boolean;
|
|
7122
7709
|
isExternalContent?: boolean;
|
|
7710
|
+
locationState?: LocationState;
|
|
7711
|
+
}>;
|
|
7712
|
+
}
|
|
7713
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7714
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7715
|
+
import { FC } from 'react';
|
|
7716
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7717
|
+
itemId: string;
|
|
7718
|
+
itemType: ItemResourceTypes;
|
|
7719
|
+
baseRoute: string;
|
|
7720
|
+
title?: string;
|
|
7721
|
+
isExternalContent?: boolean;
|
|
7722
|
+
targetUrl?: string;
|
|
7123
7723
|
}>;
|
|
7124
7724
|
}
|
|
7125
7725
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7130,6 +7730,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7130
7730
|
targetUrl?: string;
|
|
7131
7731
|
readOnly?: boolean;
|
|
7132
7732
|
backgroundColor?: string;
|
|
7733
|
+
enableModalRouting?: boolean;
|
|
7133
7734
|
className?: string;
|
|
7134
7735
|
}>;
|
|
7135
7736
|
}
|
|
@@ -7167,6 +7768,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7167
7768
|
className?: string;
|
|
7168
7769
|
allowFilterByChannels?: boolean;
|
|
7169
7770
|
channelBackgroundColor?: string;
|
|
7771
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7170
7772
|
}>;
|
|
7171
7773
|
}
|
|
7172
7774
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7226,6 +7828,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7226
7828
|
height?: number;
|
|
7227
7829
|
hidePlayerIfActive?: boolean;
|
|
7228
7830
|
className?: string;
|
|
7831
|
+
documentIconName?: string;
|
|
7229
7832
|
}
|
|
7230
7833
|
export const PublishableItemBanner: FC<Props>;
|
|
7231
7834
|
}
|
|
@@ -7311,27 +7914,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7311
7914
|
}
|
|
7312
7915
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7313
7916
|
}
|
|
7314
|
-
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7315
|
-
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7316
|
-
export default interface FeedbackSummary {
|
|
7317
|
-
records: FeedbackItem[];
|
|
7318
|
-
}
|
|
7319
|
-
export enum FeedbackItemType {
|
|
7320
|
-
comment = "comment",
|
|
7321
|
-
like = "like",
|
|
7322
|
-
confirm = "confirm",
|
|
7323
|
-
poll = "poll",
|
|
7324
|
-
eventRegistration = "eventRegistration"
|
|
7325
|
-
}
|
|
7326
|
-
export interface FeedbackItem {
|
|
7327
|
-
type: FeedbackItemType;
|
|
7328
|
-
timestamp: string;
|
|
7329
|
-
}
|
|
7330
|
-
export interface PollFeedbackItem extends FeedbackItem {
|
|
7331
|
-
type: FeedbackItemType.poll;
|
|
7332
|
-
answers: PollQuestionAnswer[];
|
|
7333
|
-
}
|
|
7334
|
-
}
|
|
7335
7917
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7336
7918
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7337
7919
|
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
@@ -7350,6 +7932,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7350
7932
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7351
7933
|
export const EventRegistrationButton: FC<{
|
|
7352
7934
|
isRegistered: boolean;
|
|
7935
|
+
eventId: string;
|
|
7353
7936
|
disabled?: boolean;
|
|
7354
7937
|
className?: string;
|
|
7355
7938
|
onClick?: () => void;
|
|
@@ -7433,25 +8016,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7433
8016
|
onDismiss: () => unknown;
|
|
7434
8017
|
}>;
|
|
7435
8018
|
}
|
|
7436
|
-
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7437
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7438
|
-
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7439
|
-
import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7440
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7441
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
7442
|
-
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7443
|
-
export const feedbackCache: {
|
|
7444
|
-
[newsId: string]: Promise<FeedbackSummary>;
|
|
7445
|
-
};
|
|
7446
|
-
export function useFeedbackApi(): {
|
|
7447
|
-
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7448
|
-
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7449
|
-
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7450
|
-
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7451
|
-
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7452
|
-
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7453
|
-
};
|
|
7454
|
-
}
|
|
7455
8019
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7456
8020
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7457
8021
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7464,10 +8028,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7464
8028
|
}
|
|
7465
8029
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7466
8030
|
import { FC } from 'react';
|
|
8031
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7467
8032
|
export const EventUserRegistration: FC<{
|
|
7468
8033
|
disabled?: boolean;
|
|
7469
8034
|
hideInfoMessage?: boolean;
|
|
7470
8035
|
showNoRegistrationRequired?: boolean;
|
|
8036
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7471
8037
|
className?: string;
|
|
7472
8038
|
}>;
|
|
7473
8039
|
}
|
|
@@ -7537,8 +8103,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7537
8103
|
export const CardLikeButton: FC<{
|
|
7538
8104
|
item: NewsItem | EventItem;
|
|
7539
8105
|
itemResourceType: ItemResourceTypes;
|
|
7540
|
-
|
|
7541
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8106
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7542
8107
|
className?: string;
|
|
7543
8108
|
}>;
|
|
7544
8109
|
}
|
|
@@ -7560,6 +8125,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7560
8125
|
className?: string;
|
|
7561
8126
|
}>;
|
|
7562
8127
|
}
|
|
8128
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
8129
|
+
import { FC } from 'react';
|
|
8130
|
+
export const LinkWithModalRouting: FC<{
|
|
8131
|
+
url: string;
|
|
8132
|
+
itemId: string;
|
|
8133
|
+
hash?: string;
|
|
8134
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
8135
|
+
ariaHidden?: boolean;
|
|
8136
|
+
ariaLabel?: string;
|
|
8137
|
+
className?: string;
|
|
8138
|
+
}>;
|
|
8139
|
+
}
|
|
7563
8140
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7564
8141
|
import { FC } from 'react';
|
|
7565
8142
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7578,6 +8155,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7578
8155
|
allowFilterByChannels?: boolean;
|
|
7579
8156
|
showFeedbackButtons?: boolean;
|
|
7580
8157
|
readOnly?: boolean;
|
|
8158
|
+
enableModalRouting?: boolean;
|
|
7581
8159
|
className?: string;
|
|
7582
8160
|
}>;
|
|
7583
8161
|
}
|
|
@@ -7628,7 +8206,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7628
8206
|
Contact = "contact",
|
|
7629
8207
|
InlinePageList = "inline-page-list",
|
|
7630
8208
|
UrlPreview = "url-preview",
|
|
7631
|
-
ActionButton = "action-button"
|
|
8209
|
+
ActionButton = "action-button",
|
|
8210
|
+
InlinePlugin = "inline-plugin"
|
|
7632
8211
|
}
|
|
7633
8212
|
export interface HtmlComponentMapper {
|
|
7634
8213
|
component: FC<any>;
|
|
@@ -7655,6 +8234,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7655
8234
|
resourceType: ItemResourceTypes;
|
|
7656
8235
|
item: TItem;
|
|
7657
8236
|
itemId: string;
|
|
8237
|
+
relatedItemIds?: string[];
|
|
7658
8238
|
contentLanguage: string;
|
|
7659
8239
|
userPreferredLanguage: string;
|
|
7660
8240
|
activeLanguages: string[];
|
|
@@ -7770,7 +8350,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7770
8350
|
resourceKey?: string;
|
|
7771
8351
|
resourceValues?: string;
|
|
7772
8352
|
className?: string;
|
|
8353
|
+
enableModalRouting?: boolean;
|
|
8354
|
+
itemId?: string;
|
|
7773
8355
|
isOverrideLink: boolean;
|
|
8356
|
+
icon?: string;
|
|
7774
8357
|
}>;
|
|
7775
8358
|
}
|
|
7776
8359
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -7829,6 +8412,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7829
8412
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7830
8413
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7831
8414
|
openTargetInNewWindow?: boolean;
|
|
8415
|
+
enableModalRouting?: boolean;
|
|
7832
8416
|
className?: string;
|
|
7833
8417
|
}
|
|
7834
8418
|
export const PageItemTile: FC<Props>;
|
|
@@ -7874,6 +8458,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7874
8458
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7875
8459
|
styleDefinition?: StyleDefinition;
|
|
7876
8460
|
readOnly?: boolean;
|
|
8461
|
+
enableModalRouting?: boolean;
|
|
7877
8462
|
className?: string;
|
|
7878
8463
|
}
|
|
7879
8464
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7917,6 +8502,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7917
8502
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7918
8503
|
styleDefinition?: StyleDefinition;
|
|
7919
8504
|
readOnly?: boolean;
|
|
8505
|
+
enableModalRouting?: boolean;
|
|
7920
8506
|
className?: string;
|
|
7921
8507
|
}
|
|
7922
8508
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7942,6 +8528,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7942
8528
|
previewTheme?: CommentInputTheme;
|
|
7943
8529
|
buttons?: ReactNode;
|
|
7944
8530
|
groupIds?: string[];
|
|
8531
|
+
enableModalRouting?: boolean;
|
|
7945
8532
|
className?: string;
|
|
7946
8533
|
}>;
|
|
7947
8534
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7958,6 +8545,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7958
8545
|
attachments: Attachment[];
|
|
7959
8546
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7960
8547
|
previewTheme?: CommentInputTheme;
|
|
8548
|
+
enableModalRouting?: boolean;
|
|
7961
8549
|
className?: string;
|
|
7962
8550
|
}>;
|
|
7963
8551
|
}
|
|
@@ -7974,7 +8562,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
7974
8562
|
}
|
|
7975
8563
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
7976
8564
|
import { FC } from 'react';
|
|
7977
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8565
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7978
8566
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7979
8567
|
interface Props {
|
|
7980
8568
|
className?: string;
|
|
@@ -7984,6 +8572,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
7984
8572
|
previewTheme?: CommentInputTheme;
|
|
7985
8573
|
disableVideoPreview?: boolean;
|
|
7986
8574
|
disableEmbeddedObjectPreview?: boolean;
|
|
8575
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8576
|
+
parentId?: string;
|
|
7987
8577
|
}
|
|
7988
8578
|
export const AttachmentList: FC<Props>;
|
|
7989
8579
|
}
|
|
@@ -8000,6 +8590,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8000
8590
|
placeHolderStringResourceKey?: string;
|
|
8001
8591
|
disableAddGif?: boolean;
|
|
8002
8592
|
disableAddFiles?: boolean;
|
|
8593
|
+
parentId?: string;
|
|
8594
|
+
itemResourceType?: string;
|
|
8003
8595
|
} & {
|
|
8004
8596
|
disableVideoPreview?: boolean;
|
|
8005
8597
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8069,7 +8661,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8069
8661
|
}
|
|
8070
8662
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8071
8663
|
import { FC } from 'react';
|
|
8072
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8664
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8073
8665
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8074
8666
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8075
8667
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8101,6 +8693,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8101
8693
|
};
|
|
8102
8694
|
disableBoxShadow?: boolean;
|
|
8103
8695
|
ariaLabel?: string;
|
|
8696
|
+
parentId?: string;
|
|
8697
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8104
8698
|
}
|
|
8105
8699
|
interface Props extends BaseProps {
|
|
8106
8700
|
allowAttachments?: boolean;
|
|
@@ -8118,6 +8712,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8118
8712
|
import { FC, ReactNode } from 'react';
|
|
8119
8713
|
export const InlineObjectToolbar: FC<{
|
|
8120
8714
|
onDelete?: () => void;
|
|
8715
|
+
deleteAriaLabelResourceKey?: string;
|
|
8121
8716
|
additionalButtons?: ReactNode;
|
|
8122
8717
|
}>;
|
|
8123
8718
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8125,15 +8720,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8125
8720
|
}>;
|
|
8126
8721
|
}
|
|
8127
8722
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8723
|
+
import { FC, ReactNode } from 'react';
|
|
8724
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8129
8725
|
export const ImageToolbar: FC<{
|
|
8130
8726
|
onDelete?: () => void;
|
|
8131
8727
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8132
8728
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8133
8729
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8730
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8134
8731
|
showFullScreenButton?: boolean;
|
|
8135
8732
|
showCloseButton?: boolean;
|
|
8136
8733
|
showCropButton?: boolean;
|
|
8734
|
+
alignmentButtons?: ReactNode;
|
|
8137
8735
|
}>;
|
|
8138
8736
|
}
|
|
8139
8737
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8160,14 +8758,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8160
8758
|
}
|
|
8161
8759
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8162
8760
|
}
|
|
8163
|
-
declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
|
|
8164
|
-
import { FC } from 'react';
|
|
8165
|
-
import { ImageDetails } from "libs/reach/util/common/src/index";
|
|
8166
|
-
export const LegacyPostPhotoGallery: FC<{
|
|
8167
|
-
images: ImageDetails[];
|
|
8168
|
-
imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
|
|
8169
|
-
}>;
|
|
8170
|
-
}
|
|
8171
8761
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8172
8762
|
import { FC } from 'react';
|
|
8173
8763
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8175,12 +8765,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8175
8765
|
item: ItemWithAttachments;
|
|
8176
8766
|
basePath: string;
|
|
8177
8767
|
imagesGridBackgroundColor?: string;
|
|
8768
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8769
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8178
8770
|
className?: string;
|
|
8179
8771
|
}>;
|
|
8180
8772
|
}
|
|
8181
8773
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8182
8774
|
import { FC } from 'react';
|
|
8183
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8775
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8184
8776
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8185
8777
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8186
8778
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8196,6 +8788,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8196
8788
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8197
8789
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8198
8790
|
ariaLabel?: string;
|
|
8791
|
+
parentId?: string;
|
|
8792
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8199
8793
|
}
|
|
8200
8794
|
interface Props extends BaseProps {
|
|
8201
8795
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8260,6 +8854,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8260
8854
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8261
8855
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8262
8856
|
}
|
|
8857
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8858
|
+
import { FC } from 'react';
|
|
8859
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8860
|
+
export const BookmarkButton: FC<{
|
|
8861
|
+
item: PublishableItem;
|
|
8862
|
+
isReadOnly?: boolean;
|
|
8863
|
+
className?: string;
|
|
8864
|
+
}>;
|
|
8865
|
+
}
|
|
8263
8866
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8264
8867
|
import { FC } from 'react';
|
|
8265
8868
|
export const CardStatisticItem: FC<{
|
|
@@ -8277,13 +8880,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8277
8880
|
};
|
|
8278
8881
|
}>;
|
|
8279
8882
|
}
|
|
8280
|
-
declare module "libs/reach/feature/content/src/
|
|
8883
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8884
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8281
8885
|
import { FC } from 'react';
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8886
|
+
export const CardCommentButton: FC<{
|
|
8887
|
+
item: NewsItem | EventItem;
|
|
8888
|
+
itemResourceType: ItemResourceTypes;
|
|
8889
|
+
targetRoute: string;
|
|
8890
|
+
enableModalRouting?: boolean;
|
|
8287
8891
|
}>;
|
|
8288
8892
|
}
|
|
8289
8893
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8291,13 +8895,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8291
8895
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8292
8896
|
export const CardFooter: FC<{
|
|
8293
8897
|
item: NewsItem | EventItem;
|
|
8294
|
-
showComments: boolean;
|
|
8295
8898
|
targetRoute: string;
|
|
8296
8899
|
itemResourceType: ItemResourceTypes;
|
|
8297
|
-
|
|
8298
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8900
|
+
enableModalRouting?: boolean;
|
|
8299
8901
|
}>;
|
|
8300
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
8902
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8301
8903
|
}
|
|
8302
8904
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8303
8905
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8346,6 +8948,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8346
8948
|
target?: string;
|
|
8347
8949
|
language?: string;
|
|
8348
8950
|
hideCurrentPageNode?: boolean;
|
|
8951
|
+
homeTargetUrlOverride?: string;
|
|
8349
8952
|
className?: string;
|
|
8350
8953
|
}>;
|
|
8351
8954
|
}
|
|
@@ -8545,6 +9148,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8545
9148
|
language?: string;
|
|
8546
9149
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8547
9150
|
clickableAvatar?: boolean;
|
|
9151
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8548
9152
|
}>;
|
|
8549
9153
|
}
|
|
8550
9154
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8594,7 +9198,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8594
9198
|
item: NewsItem;
|
|
8595
9199
|
baseRoute: string;
|
|
8596
9200
|
language: string;
|
|
8597
|
-
showComments: boolean;
|
|
8598
9201
|
highlight: boolean;
|
|
8599
9202
|
className?: string;
|
|
8600
9203
|
}
|
|
@@ -8627,6 +9230,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8627
9230
|
isLastPage: boolean;
|
|
8628
9231
|
unreadOnly?: boolean;
|
|
8629
9232
|
filter?: NewsFilterDefinition;
|
|
9233
|
+
activeChannel?: string;
|
|
8630
9234
|
}>;
|
|
8631
9235
|
}
|
|
8632
9236
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -8688,6 +9292,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
8688
9292
|
type?: ItemResourceTypes;
|
|
8689
9293
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8690
9294
|
isEditorPreview?: boolean;
|
|
9295
|
+
relatedItemIds?: string[];
|
|
8691
9296
|
}>;
|
|
8692
9297
|
}
|
|
8693
9298
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -8701,6 +9306,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8701
9306
|
}
|
|
8702
9307
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8703
9308
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9309
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8704
9310
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8705
9311
|
}
|
|
8706
9312
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8919,6 +9525,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
8919
9525
|
}
|
|
8920
9526
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8921
9527
|
}
|
|
9528
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9529
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9530
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9531
|
+
}
|
|
8922
9532
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8923
9533
|
import { FC } from 'react';
|
|
8924
9534
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -8931,6 +9541,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8931
9541
|
import { FC } from 'react';
|
|
8932
9542
|
export const EventDetailViewMetaInfo: FC<{
|
|
8933
9543
|
allowFilterByChannels?: boolean;
|
|
9544
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8934
9545
|
}>;
|
|
8935
9546
|
}
|
|
8936
9547
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9138,6 +9749,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9138
9749
|
readOnly?: boolean;
|
|
9139
9750
|
trimContent?: boolean;
|
|
9140
9751
|
showReplyBox?: boolean;
|
|
9752
|
+
enableModalRouting?: boolean;
|
|
9141
9753
|
className?: string;
|
|
9142
9754
|
}>;
|
|
9143
9755
|
}
|
|
@@ -9160,6 +9772,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9160
9772
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9161
9773
|
readOnly?: boolean;
|
|
9162
9774
|
trimContent?: boolean;
|
|
9775
|
+
enableModalRouting?: boolean;
|
|
9163
9776
|
className?: string;
|
|
9164
9777
|
}
|
|
9165
9778
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9219,6 +9832,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9219
9832
|
showReplyBox?: boolean;
|
|
9220
9833
|
trimContent?: boolean;
|
|
9221
9834
|
title?: ReactNode;
|
|
9835
|
+
enableModalRouting?: boolean;
|
|
9222
9836
|
className?: string;
|
|
9223
9837
|
};
|
|
9224
9838
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9243,14 +9857,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9243
9857
|
}
|
|
9244
9858
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9245
9859
|
import { FC } from 'react';
|
|
9246
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9247
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9860
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9248
9861
|
export const PublishableItemComments: FC<{
|
|
9249
9862
|
item: PublishableItem;
|
|
9250
9863
|
readOnly?: boolean;
|
|
9251
9864
|
loadInReadOnlyMode?: boolean;
|
|
9252
9865
|
type: ItemResourceTypes;
|
|
9253
|
-
hideProfileUrl?: boolean;
|
|
9254
9866
|
disableLoginForPublicUser?: boolean;
|
|
9255
9867
|
}>;
|
|
9256
9868
|
}
|
|
@@ -9311,16 +9923,13 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9311
9923
|
}
|
|
9312
9924
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9313
9925
|
import { FC } from 'react';
|
|
9314
|
-
import { FeedbackSettings } from "libs/reach/util/common/src/index";
|
|
9315
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9316
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9926
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9317
9927
|
export const FeedbackSection: FC<{
|
|
9318
9928
|
item: PublishableItem;
|
|
9319
9929
|
language: string;
|
|
9320
9930
|
type: ItemResourceTypes;
|
|
9321
9931
|
feedbackSettings: FeedbackSettings;
|
|
9322
9932
|
hideComments?: boolean;
|
|
9323
|
-
hideProfileUrl?: boolean;
|
|
9324
9933
|
disableLoginForPublicUser?: boolean;
|
|
9325
9934
|
isReadOnly?: boolean;
|
|
9326
9935
|
className?: string;
|
|
@@ -9375,9 +9984,10 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9375
9984
|
}
|
|
9376
9985
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9377
9986
|
import { FC } from 'react';
|
|
9378
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9987
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9379
9988
|
export const ConfirmationStatisticsExport: FC<{
|
|
9380
9989
|
item: PublishableItem;
|
|
9990
|
+
resourceType: ItemResourceTypes;
|
|
9381
9991
|
}>;
|
|
9382
9992
|
}
|
|
9383
9993
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
@@ -9487,6 +10097,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9487
10097
|
layoutMode?: ItemTileLayoutMode;
|
|
9488
10098
|
bannerDefaultWidth?: number;
|
|
9489
10099
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10100
|
+
documentIconName?: string;
|
|
9490
10101
|
}>;
|
|
9491
10102
|
}
|
|
9492
10103
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9557,6 +10168,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9557
10168
|
import { FC } from 'react';
|
|
9558
10169
|
export const DetailViewKeywords: FC<{
|
|
9559
10170
|
filterBaseUrl: string;
|
|
10171
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9560
10172
|
}>;
|
|
9561
10173
|
}
|
|
9562
10174
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
@@ -9604,9 +10216,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9604
10216
|
import { FC, ReactNode } from 'react';
|
|
9605
10217
|
export const DetailViewNavigation: FC<{
|
|
9606
10218
|
offsetRight?: number;
|
|
9607
|
-
children?: ReactNode;
|
|
9608
10219
|
callout?: ReactNode;
|
|
10220
|
+
className?: string;
|
|
10221
|
+
children?: ReactNode;
|
|
9609
10222
|
}>;
|
|
10223
|
+
export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
|
|
10224
|
+
offsetRight?: number;
|
|
10225
|
+
callout?: ReactNode;
|
|
10226
|
+
className?: string;
|
|
10227
|
+
children?: ReactNode;
|
|
10228
|
+
}>, import("styled-components").DefaultTheme, {
|
|
10229
|
+
offsetRightOverride?: number;
|
|
10230
|
+
}, never>;
|
|
9610
10231
|
}
|
|
9611
10232
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9612
10233
|
import { FC } from 'react';
|
|
@@ -9648,577 +10269,213 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9648
10269
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9649
10270
|
};
|
|
9650
10271
|
}
|
|
9651
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
10272
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10273
|
+
interface IClickHandles {
|
|
10274
|
+
onInsideClick: () => void;
|
|
10275
|
+
onOutsideClick: () => void;
|
|
10276
|
+
}
|
|
10277
|
+
export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10278
|
+
}
|
|
10279
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10280
|
+
import { FC } from 'react';
|
|
10281
|
+
export const GroupNotificationsSettings: FC<{
|
|
10282
|
+
groupId: string;
|
|
9662
10283
|
className?: string;
|
|
9663
10284
|
}>;
|
|
9664
10285
|
}
|
|
9665
|
-
declare module "libs/reach/feature/content/src/
|
|
9666
|
-
import { FC
|
|
9667
|
-
import {
|
|
9668
|
-
import {
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
onContentClick?: () => void;
|
|
9684
|
-
contentRoute?: LocationDescriptor;
|
|
9685
|
-
badgeInfo?: number | boolean;
|
|
9686
|
-
title?: string;
|
|
10286
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10287
|
+
import { FC } from 'react';
|
|
10288
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10289
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10290
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10291
|
+
export interface PostCreatorProps {
|
|
10292
|
+
groupId: string;
|
|
10293
|
+
disabled?: boolean;
|
|
10294
|
+
disableDragAndDrop?: boolean;
|
|
10295
|
+
onBeforeSave?: (post: Post) => void;
|
|
10296
|
+
onSaved: (post: Post) => void;
|
|
10297
|
+
keywordSettings?: {
|
|
10298
|
+
availableKeywords?: Keyword[];
|
|
10299
|
+
defaultKeywords?: Keyword[];
|
|
10300
|
+
mandatoryKeywords?: Keyword[];
|
|
10301
|
+
};
|
|
10302
|
+
disableAutoFocus?: boolean;
|
|
10303
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9687
10304
|
className?: string;
|
|
9688
10305
|
}
|
|
9689
|
-
export const
|
|
10306
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9690
10307
|
}
|
|
9691
|
-
declare module "libs/reach/feature/content/src/
|
|
10308
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9692
10309
|
import { FC } from 'react';
|
|
9693
|
-
import {
|
|
9694
|
-
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
}
|
|
9698
|
-
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
9699
|
-
import { FC, ReactNode } from 'react';
|
|
9700
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
9701
|
-
import { LocationDescriptor } from 'history';
|
|
9702
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
9703
|
-
interface CommonSidebarItemProps {
|
|
9704
|
-
title?: string | JSX.Element;
|
|
9705
|
-
titleResource?: string;
|
|
9706
|
-
icon?: ReactNode;
|
|
9707
|
-
iconName?: string;
|
|
9708
|
-
iconTooltipResourceKey?: string;
|
|
9709
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
9710
|
-
secondaryIconName?: string;
|
|
9711
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9712
|
-
iconColor?: string;
|
|
9713
|
-
reverse?: boolean;
|
|
9714
|
-
notHighlightable?: boolean;
|
|
9715
|
-
onClick?: () => void;
|
|
10310
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10311
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10312
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10313
|
+
interface Props {
|
|
9716
10314
|
className?: string;
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
|
|
9722
|
-
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
9727
|
-
contentRoute?: LocationDescriptor;
|
|
9728
|
-
onIconClick?: () => void;
|
|
9729
|
-
iconRoute?: LocationDescriptor;
|
|
9730
|
-
onSecondaryIconClick?: () => void;
|
|
9731
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
9732
|
-
isHoverable?: boolean;
|
|
9733
|
-
}
|
|
9734
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
9735
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
9736
|
-
route: LocationDescriptor;
|
|
9737
|
-
exact?: boolean;
|
|
9738
|
-
linkClassName?: string;
|
|
10315
|
+
post: Post;
|
|
10316
|
+
initialPageSize?: number;
|
|
10317
|
+
comments?: PaginatedList<Comment>;
|
|
10318
|
+
autoFocusReplyField?: boolean;
|
|
10319
|
+
showReplyBox?: boolean;
|
|
10320
|
+
onReplyAdded: () => void;
|
|
10321
|
+
onReplyDeleted: () => void;
|
|
10322
|
+
trimContent?: boolean;
|
|
10323
|
+
enableModalRouting?: boolean;
|
|
9739
10324
|
}
|
|
9740
|
-
export const
|
|
10325
|
+
export const PostReplies: FC<Props>;
|
|
9741
10326
|
}
|
|
9742
|
-
declare module "libs/reach/feature/content/src/
|
|
10327
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9743
10328
|
import { FC } from 'react';
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
10329
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10330
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10331
|
+
export const PostEditor: FC<{
|
|
9747
10332
|
className?: string;
|
|
10333
|
+
post: Post;
|
|
10334
|
+
onCancel: () => void;
|
|
10335
|
+
onBeforeSave: (post: Post) => void;
|
|
10336
|
+
onSaved: (post: Post) => void;
|
|
10337
|
+
keywordSettings?: {
|
|
10338
|
+
availableKeywords?: Keyword[];
|
|
10339
|
+
defaultKeywords?: Keyword[];
|
|
10340
|
+
mandatoryKeywords?: Keyword[];
|
|
10341
|
+
};
|
|
9748
10342
|
}>;
|
|
9749
10343
|
}
|
|
9750
|
-
declare module "libs/reach/feature/content/src/
|
|
10344
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9751
10345
|
import { FC } from 'react';
|
|
9752
|
-
export const
|
|
9753
|
-
|
|
9754
|
-
|
|
9755
|
-
className?: string;
|
|
10346
|
+
export const PostFollowButton: FC<{
|
|
10347
|
+
itemId: string;
|
|
10348
|
+
isFollowing: boolean;
|
|
9756
10349
|
}>;
|
|
9757
10350
|
}
|
|
9758
|
-
declare module "libs/reach/feature/content/src/
|
|
10351
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9759
10352
|
import { FC } from 'react';
|
|
9760
|
-
import {
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
selectedChannelIds?: string[];
|
|
9765
|
-
mandatoryChannelIds?: string[];
|
|
9766
|
-
availableChannels?: Channel[];
|
|
9767
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
10353
|
+
import { NavLink } from 'react-router-dom';
|
|
10354
|
+
export const PostGroup: FC<{
|
|
10355
|
+
groupId: string;
|
|
10356
|
+
target?: string;
|
|
9768
10357
|
className?: string;
|
|
9769
|
-
|
|
9770
|
-
|
|
9771
|
-
placeholder?: string;
|
|
9772
|
-
inlineControls?: boolean;
|
|
9773
|
-
required?: boolean;
|
|
9774
|
-
id?: string;
|
|
9775
|
-
showLogicalOperatorOptions?: boolean;
|
|
9776
|
-
selectedLogicalOperator?: LogicalOperator;
|
|
9777
|
-
}
|
|
9778
|
-
export const ChannelSelector: FC<Props>;
|
|
9779
|
-
}
|
|
9780
|
-
declare module "libs/reach/feature/content/src/common/index" {
|
|
9781
|
-
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
9782
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9783
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
9784
|
-
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
9785
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
9786
|
-
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
9787
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
9788
|
-
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
9789
|
-
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
9790
|
-
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
9791
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
9792
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
9793
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
9794
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
9795
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
9796
|
-
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
9797
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
9798
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
9799
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
9800
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
9801
|
-
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
9802
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
9803
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
9804
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
9805
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
9806
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
9807
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
9808
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
9809
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
9810
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9811
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
9812
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
9813
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
9814
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
9815
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
9816
|
-
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9817
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9818
|
-
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
9819
|
-
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
9820
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9821
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
9822
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
9823
|
-
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
9824
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
9825
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
9826
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
9827
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
9828
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
9829
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
9830
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
9831
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
9832
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9833
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
9834
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9835
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9836
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9837
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9838
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9839
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9840
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9841
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9842
|
-
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
9843
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9844
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9845
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9846
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9847
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9848
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9849
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9850
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9851
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
9852
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9853
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9854
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
9855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9856
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
9857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
9858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9860
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9861
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
9862
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9863
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9864
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9865
|
-
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9866
|
-
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
9867
|
-
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
9868
|
-
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
9869
|
-
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
9870
|
-
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9871
|
-
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
9872
|
-
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
9873
|
-
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
9874
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
9875
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
9876
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
9877
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
9878
|
-
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
9879
|
-
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
9880
|
-
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
9881
|
-
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
10358
|
+
}>;
|
|
10359
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9882
10360
|
}
|
|
9883
|
-
declare module "libs/reach/feature/content/src/
|
|
10361
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9884
10362
|
import { FC } from 'react';
|
|
9885
|
-
import {
|
|
9886
|
-
import {
|
|
9887
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10363
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10364
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9888
10365
|
interface Props {
|
|
9889
|
-
|
|
9890
|
-
|
|
9891
|
-
message: Comment;
|
|
9892
|
-
showDelete?: boolean;
|
|
9893
|
-
showAutoTranslate?: boolean;
|
|
9894
|
-
showEdit?: boolean;
|
|
9895
|
-
onDelete?: (comment: Comment) => void;
|
|
9896
|
-
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
9897
|
-
scope: ConversationScope;
|
|
9898
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9899
|
-
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9900
|
-
highlight?: boolean;
|
|
9901
|
-
isInitialLiked?: boolean;
|
|
9902
|
-
hasUnreadReplies?: boolean;
|
|
9903
|
-
onReplyIconClick?: () => void;
|
|
9904
|
-
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9905
|
-
replyCount?: number;
|
|
9906
|
-
readOnly?: boolean;
|
|
9907
|
-
trimContent?: boolean;
|
|
10366
|
+
post: Post;
|
|
10367
|
+
targetUrl?: string;
|
|
9908
10368
|
className?: string;
|
|
10369
|
+
threadId?: string;
|
|
10370
|
+
onCustomPostDelete?: () => void;
|
|
10371
|
+
comments?: PaginatedList<Comment>;
|
|
10372
|
+
initialCommentsPageSize?: number;
|
|
10373
|
+
onThreadCommentDelete?: () => void;
|
|
10374
|
+
onThreadReply?: (threadId: string) => void;
|
|
10375
|
+
keywordSettings?: {
|
|
10376
|
+
availableKeywords?: Keyword[];
|
|
10377
|
+
defaultKeywords?: Keyword[];
|
|
10378
|
+
mandatoryKeywords?: Keyword[];
|
|
10379
|
+
};
|
|
10380
|
+
showGroup?: boolean;
|
|
10381
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10382
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10383
|
+
onItemClick?: (postId: string) => unknown;
|
|
10384
|
+
openTargetInNewWindow?: boolean;
|
|
10385
|
+
trimContent?: boolean;
|
|
10386
|
+
postGroupTargetUrl?: string;
|
|
10387
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10388
|
+
baseTargetUrl?: string;
|
|
9909
10389
|
}
|
|
9910
|
-
export const
|
|
10390
|
+
export const PostDisplay: FC<Props>;
|
|
10391
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
9911
10392
|
}
|
|
9912
|
-
declare module "libs/reach/feature/content/src/
|
|
9913
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9914
|
-
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
9915
|
-
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
9916
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9917
|
-
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
9918
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9919
|
-
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
9920
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9921
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
9922
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9923
|
-
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
9924
|
-
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
9925
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
9926
|
-
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
9927
|
-
}
|
|
9928
|
-
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
9929
|
-
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
9930
|
-
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
9931
|
-
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9932
|
-
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9933
|
-
}
|
|
9934
|
-
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9935
|
-
import { FC, ReactNode } from 'react';
|
|
9936
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9937
|
-
interface Props {
|
|
9938
|
-
isOpen: boolean;
|
|
9939
|
-
preSelectedKeywords: Keyword[];
|
|
9940
|
-
onSave: (keywords: Keyword[]) => void;
|
|
9941
|
-
titleResource: string;
|
|
9942
|
-
onDismiss: () => void;
|
|
9943
|
-
availableKeywords?: Keyword[];
|
|
9944
|
-
mandatoryKeywordIds?: string[];
|
|
9945
|
-
}
|
|
9946
|
-
export const KeywordDialog: FC<Props>;
|
|
9947
|
-
export const StatefulKeywordPicker: FC<{
|
|
9948
|
-
preSelectedKeywords: Keyword[];
|
|
9949
|
-
availableKeywords?: Keyword[];
|
|
9950
|
-
mandatoryKeywordIds?: string[];
|
|
9951
|
-
showSelectionToggle?: boolean;
|
|
9952
|
-
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
9953
|
-
}>;
|
|
9954
|
-
}
|
|
9955
|
-
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
9956
|
-
import { FC, MutableRefObject } from 'react';
|
|
9957
|
-
export interface TextareaProps {
|
|
9958
|
-
rows?: number;
|
|
9959
|
-
placeholder?: string;
|
|
9960
|
-
readOnly?: boolean;
|
|
9961
|
-
onChange: (value: string) => void;
|
|
9962
|
-
className?: string;
|
|
9963
|
-
defaultValue?: string;
|
|
9964
|
-
disabled?: boolean;
|
|
9965
|
-
noDebouncing?: boolean;
|
|
9966
|
-
value?: string;
|
|
9967
|
-
onIconClick?: () => void;
|
|
9968
|
-
onEnter?: () => void;
|
|
9969
|
-
icon?: string;
|
|
9970
|
-
disableNewLines?: boolean;
|
|
9971
|
-
autoFocus?: boolean;
|
|
9972
|
-
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
9973
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
9974
|
-
inputType?: string;
|
|
9975
|
-
}
|
|
9976
|
-
/**
|
|
9977
|
-
* Textarea that expands vertically to fit content.
|
|
9978
|
-
* If maxLength is given, also displays a count of remaining characters when focused
|
|
9979
|
-
*/
|
|
9980
|
-
export const Textarea: FC<TextareaProps>;
|
|
9981
|
-
}
|
|
9982
|
-
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9983
|
-
import { FC } from 'react';
|
|
9984
|
-
interface Props {
|
|
9985
|
-
onInsert: (files: File[]) => void;
|
|
9986
|
-
accept?: string;
|
|
9987
|
-
captionKey?: string;
|
|
9988
|
-
captionIconName?: string;
|
|
9989
|
-
descriptionKey?: string;
|
|
9990
|
-
descriptionIconName?: string;
|
|
9991
|
-
singleMode?: boolean;
|
|
9992
|
-
}
|
|
9993
|
-
export const InsertFilesButton: FC<Props>;
|
|
9994
|
-
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9995
|
-
isActive?: boolean;
|
|
9996
|
-
}, never>;
|
|
9997
|
-
}
|
|
9998
|
-
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
9999
|
-
import { FC } from 'react';
|
|
10000
|
-
interface Props {
|
|
10001
|
-
onInsert: (files: File[]) => void;
|
|
10002
|
-
accept?: string;
|
|
10003
|
-
captionKey?: string;
|
|
10004
|
-
descriptionKey?: string;
|
|
10005
|
-
}
|
|
10006
|
-
export const InsertImagesButton: FC<Props>;
|
|
10007
|
-
}
|
|
10008
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
10393
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10009
10394
|
import { FC } from 'react';
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
timeValidationResourceKey?: string;
|
|
10016
|
-
readOnly?: boolean;
|
|
10017
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
10018
|
-
noDateResourceKey: string;
|
|
10019
|
-
selectDateResourceKey: string;
|
|
10020
|
-
dateOnly?: boolean;
|
|
10021
|
-
initialPickerDate?: string;
|
|
10022
|
-
label?: string;
|
|
10023
|
-
isRequired?: boolean;
|
|
10395
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10396
|
+
export const PostGroupsPicker: FC<{
|
|
10397
|
+
groups: UserGroup[];
|
|
10398
|
+
selectedGroupId: string;
|
|
10399
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10024
10400
|
className?: string;
|
|
10025
|
-
}
|
|
10026
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
10027
|
-
export default DateTimePicker;
|
|
10028
|
-
}
|
|
10029
|
-
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
10030
|
-
import moment, { Moment } from 'moment';
|
|
10031
|
-
export enum DateRange {
|
|
10032
|
-
TwoYears = 0,
|
|
10033
|
-
OneYear = 1,
|
|
10034
|
-
SixMonths = 2,
|
|
10035
|
-
TwoMonths = 3,
|
|
10036
|
-
OneMonth = 4,
|
|
10037
|
-
SevenDays = 5,
|
|
10038
|
-
YesterDay = 6,
|
|
10039
|
-
Today = 7
|
|
10040
|
-
}
|
|
10041
|
-
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
10042
|
-
export function dateToDateRange(date: string | moment.Moment): number;
|
|
10043
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
10044
|
-
}
|
|
10045
|
-
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
10046
|
-
import { FC } from 'react';
|
|
10047
|
-
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
10048
|
-
export const DateRangeSlider: FC<{
|
|
10049
|
-
value?: DateRange;
|
|
10050
|
-
onChange: (range: DateRange) => unknown;
|
|
10051
10401
|
}>;
|
|
10052
10402
|
}
|
|
10053
|
-
declare module "libs/reach/feature/content/src/
|
|
10054
|
-
import { FC } from 'react';
|
|
10055
|
-
import { WrappedComponentProps } from 'react-intl';
|
|
10056
|
-
import { SelectionMode } from 'office-ui-fabric-react';
|
|
10057
|
-
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
10058
|
-
interface PeoplePickerDialogProps {
|
|
10059
|
-
defaultSelectedItems: Account[];
|
|
10060
|
-
onChange: (items: Account[]) => void;
|
|
10061
|
-
onDismiss: () => void;
|
|
10062
|
-
titleResource: string;
|
|
10063
|
-
intl?: WrappedComponentProps;
|
|
10064
|
-
selectionMode?: SelectionMode;
|
|
10065
|
-
allowMailItems?: boolean;
|
|
10066
|
-
accountType: AccountType;
|
|
10067
|
-
showDialog: boolean;
|
|
10068
|
-
allowEmptyValue: boolean;
|
|
10069
|
-
includePendingInvitationUsers?: boolean;
|
|
10070
|
-
placeholderStringResourceKey?: string;
|
|
10071
|
-
inputAriaLabelResourceKey: string;
|
|
10072
|
-
}
|
|
10073
|
-
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
10074
|
-
}
|
|
10075
|
-
declare module "libs/reach/feature/content/src/forms/index" {
|
|
10076
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
10077
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
10078
|
-
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
10079
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
10080
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
10081
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
10082
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
10083
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
10084
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
10085
|
-
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
10086
|
-
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
10087
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
10088
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
10089
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
10090
|
-
}
|
|
10091
|
-
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10403
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10092
10404
|
import { FC } from 'react';
|
|
10093
|
-
export const
|
|
10094
|
-
groupId: string;
|
|
10405
|
+
export const PostGroupSelector: FC<{
|
|
10406
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
10095
10407
|
className?: string;
|
|
10096
10408
|
}>;
|
|
10097
10409
|
}
|
|
10098
|
-
declare module "libs/reach/feature/content/src/
|
|
10099
|
-
import {
|
|
10100
|
-
import {
|
|
10101
|
-
import {
|
|
10102
|
-
import {
|
|
10103
|
-
export
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
|
|
10107
|
-
onBeforeSave?: (post: Post) => void;
|
|
10108
|
-
onSaved: (post: Post) => void;
|
|
10109
|
-
keywordSettings?: {
|
|
10110
|
-
availableKeywords?: Keyword[];
|
|
10111
|
-
defaultKeywords?: Keyword[];
|
|
10112
|
-
mandatoryKeywords?: Keyword[];
|
|
10113
|
-
};
|
|
10114
|
-
disableAutoFocus?: boolean;
|
|
10115
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
10116
|
-
className?: string;
|
|
10410
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10411
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10412
|
+
import { DocumentNode } from '@apollo/client';
|
|
10413
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10414
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10415
|
+
export enum StreamEventResponse {
|
|
10416
|
+
NotSet = "NOTSET",
|
|
10417
|
+
Registered = "REGISTERED",
|
|
10418
|
+
Declined = "DECLINED"
|
|
10117
10419
|
}
|
|
10118
|
-
export
|
|
10119
|
-
}
|
|
10120
|
-
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10121
|
-
import { FC } from 'react';
|
|
10122
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10123
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
10124
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10125
|
-
interface Props {
|
|
10126
|
-
className?: string;
|
|
10127
|
-
post: Post;
|
|
10128
|
-
initialPageSize?: number;
|
|
10129
|
-
comments?: PaginatedList<Comment>;
|
|
10130
|
-
autoFocusReplyField?: boolean;
|
|
10131
|
-
showReplyBox?: boolean;
|
|
10132
|
-
onReplyAdded: () => void;
|
|
10133
|
-
onReplyDeleted: () => void;
|
|
10134
|
-
trimContent?: boolean;
|
|
10420
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10135
10421
|
}
|
|
10136
|
-
export
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
post: Post;
|
|
10145
|
-
onCancel: () => void;
|
|
10146
|
-
onBeforeSave: (post: Post) => void;
|
|
10147
|
-
onSaved: (post: Post) => void;
|
|
10148
|
-
keywordSettings?: {
|
|
10149
|
-
availableKeywords?: Keyword[];
|
|
10150
|
-
defaultKeywords?: Keyword[];
|
|
10151
|
-
mandatoryKeywords?: Keyword[];
|
|
10422
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10423
|
+
items: StreamItem[];
|
|
10424
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10425
|
+
loadMore: () => Promise<void>;
|
|
10426
|
+
pageInfo: {
|
|
10427
|
+
errors?: any;
|
|
10428
|
+
hasNextPage: boolean;
|
|
10429
|
+
skip: number;
|
|
10152
10430
|
};
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
export
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
export const
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
export const
|
|
10431
|
+
refresh: () => Promise<void>;
|
|
10432
|
+
isLoadingFirstPage: boolean;
|
|
10433
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10434
|
+
};
|
|
10435
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10436
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10437
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10438
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10439
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10440
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10441
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10442
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10443
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10444
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10445
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10446
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10447
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10448
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10449
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10450
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10171
10451
|
}
|
|
10172
|
-
declare module "libs/reach/feature/content/src/posts/
|
|
10173
|
-
import { FC } from 'react';
|
|
10452
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10174
10453
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10175
|
-
import {
|
|
10176
|
-
|
|
10177
|
-
post: Post;
|
|
10178
|
-
targetUrl?: string;
|
|
10179
|
-
className?: string;
|
|
10180
|
-
threadId?: string;
|
|
10181
|
-
onCustomPostDelete?: () => void;
|
|
10182
|
-
comments?: PaginatedList<Comment>;
|
|
10183
|
-
initialCommentsPageSize?: number;
|
|
10184
|
-
onThreadCommentDelete?: () => void;
|
|
10185
|
-
onThreadReply?: (threadId: string) => void;
|
|
10186
|
-
keywordSettings?: {
|
|
10187
|
-
availableKeywords?: Keyword[];
|
|
10188
|
-
defaultKeywords?: Keyword[];
|
|
10189
|
-
mandatoryKeywords?: Keyword[];
|
|
10190
|
-
};
|
|
10191
|
-
showGroup?: boolean;
|
|
10192
|
-
onBeforeDelete?: (id: string) => unknown;
|
|
10193
|
-
onAfterDelete?: (id: string) => unknown;
|
|
10194
|
-
onItemClick?: (postId: string) => unknown;
|
|
10195
|
-
openTargetInNewWindow?: boolean;
|
|
10196
|
-
trimContent?: boolean;
|
|
10197
|
-
postGroupTargetUrl?: string;
|
|
10198
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
10199
|
-
baseTargetUrl?: string;
|
|
10200
|
-
}
|
|
10201
|
-
export const PostDisplay: FC<Props>;
|
|
10454
|
+
import { DependencyList } from 'react';
|
|
10455
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10202
10456
|
}
|
|
10203
|
-
declare module "libs/reach/feature/content/src/posts/
|
|
10204
|
-
import { FC } from 'react';
|
|
10457
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10205
10458
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10206
|
-
export
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
}>;
|
|
10459
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10460
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10461
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10462
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10463
|
+
};
|
|
10212
10464
|
}
|
|
10213
|
-
declare module "libs/reach/feature/content/src/posts/
|
|
10214
|
-
|
|
10215
|
-
export
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
|
|
10465
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10466
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10467
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10468
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10469
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10470
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10471
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10472
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10473
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10474
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10475
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10219
10476
|
}
|
|
10220
10477
|
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10221
|
-
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";
|
|
10478
|
+
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";
|
|
10222
10479
|
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10223
10480
|
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10224
10481
|
enum StreamItemTypes {
|
|
@@ -10435,7 +10692,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10435
10692
|
knownState: KnownNewsState;
|
|
10436
10693
|
hasNewComments?: boolean;
|
|
10437
10694
|
isLiked?: boolean;
|
|
10438
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10439
10695
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10440
10696
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10441
10697
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10724,7 +10980,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10724
10980
|
knownState: KnownNewsState;
|
|
10725
10981
|
hasNewComments?: boolean;
|
|
10726
10982
|
isLiked?: boolean;
|
|
10727
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10728
10983
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10729
10984
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10730
10985
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10955,7 +11210,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10955
11210
|
knownState: KnownNewsState;
|
|
10956
11211
|
hasNewComments?: boolean;
|
|
10957
11212
|
isLiked?: boolean;
|
|
10958
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10959
11213
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10960
11214
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10961
11215
|
id?: string;
|
|
@@ -11057,72 +11311,456 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11057
11311
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11058
11312
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11059
11313
|
})[];
|
|
11314
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11315
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11316
|
+
}
|
|
11317
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11318
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11319
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11320
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11321
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, isGlobalSearch?: boolean, itemType?: ItemResourceTypes): void;
|
|
11322
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11323
|
+
}
|
|
11324
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11325
|
+
import { LocationDescriptor } from 'history';
|
|
11326
|
+
import { FC, ReactNode } from 'react';
|
|
11327
|
+
export const SidebarIcon: FC<{
|
|
11328
|
+
icon?: ReactNode;
|
|
11329
|
+
iconName?: string;
|
|
11330
|
+
color?: string;
|
|
11331
|
+
onClick?: () => any;
|
|
11332
|
+
route?: LocationDescriptor;
|
|
11333
|
+
iconTooltipResourceKey: string;
|
|
11334
|
+
iconTooltipResourceValues?: any;
|
|
11335
|
+
className?: string;
|
|
11336
|
+
}>;
|
|
11337
|
+
}
|
|
11338
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11339
|
+
import { FC, ReactNode } from 'react';
|
|
11340
|
+
import { LocationDescriptor } from 'history';
|
|
11341
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11342
|
+
export interface BaseSidebarItemProps {
|
|
11343
|
+
children?: any;
|
|
11344
|
+
icon?: ReactNode;
|
|
11345
|
+
iconName?: string;
|
|
11346
|
+
iconTooltipResourceKey?: string;
|
|
11347
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11348
|
+
secondaryIconName?: string;
|
|
11349
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11350
|
+
reverse?: boolean;
|
|
11351
|
+
onIconClick?: () => void;
|
|
11352
|
+
iconRoute?: LocationDescriptor;
|
|
11353
|
+
iconColor?: string;
|
|
11354
|
+
onSecondaryIconClick?: () => void;
|
|
11355
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11356
|
+
onContentClick?: () => void;
|
|
11357
|
+
contentRoute?: LocationDescriptor;
|
|
11358
|
+
badgeInfo?: number | boolean;
|
|
11359
|
+
title?: string;
|
|
11360
|
+
className?: string;
|
|
11361
|
+
}
|
|
11362
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11363
|
+
}
|
|
11364
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11365
|
+
import { FC } from 'react';
|
|
11366
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11367
|
+
export const SidebarItemSection: FC<{
|
|
11368
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11369
|
+
}>;
|
|
11370
|
+
}
|
|
11371
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11372
|
+
import { FC, ReactNode } from 'react';
|
|
11373
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11374
|
+
import { LocationDescriptor } from 'history';
|
|
11375
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11376
|
+
interface CommonSidebarItemProps {
|
|
11377
|
+
title?: string | JSX.Element;
|
|
11378
|
+
titleResource?: string;
|
|
11379
|
+
icon?: ReactNode;
|
|
11380
|
+
iconName?: string;
|
|
11381
|
+
iconTooltipResourceKey?: string;
|
|
11382
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11383
|
+
secondaryIconName?: string;
|
|
11384
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11385
|
+
iconColor?: string;
|
|
11386
|
+
reverse?: boolean;
|
|
11387
|
+
notHighlightable?: boolean;
|
|
11388
|
+
onClick?: () => void;
|
|
11389
|
+
className?: string;
|
|
11390
|
+
isActive?: boolean;
|
|
11391
|
+
activeClassName?: string;
|
|
11392
|
+
readOnly?: boolean;
|
|
11393
|
+
submenu?: JSX.Element;
|
|
11394
|
+
submenuClassName?: string;
|
|
11395
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11396
|
+
badgeInfo?: number | boolean;
|
|
11397
|
+
domIdentifier?: string;
|
|
11398
|
+
}
|
|
11399
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11400
|
+
contentRoute?: LocationDescriptor;
|
|
11401
|
+
onIconClick?: () => void;
|
|
11402
|
+
iconRoute?: LocationDescriptor;
|
|
11403
|
+
onSecondaryIconClick?: () => void;
|
|
11404
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11405
|
+
isHoverable?: boolean;
|
|
11406
|
+
}
|
|
11407
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11408
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11409
|
+
route: LocationDescriptor;
|
|
11410
|
+
exact?: boolean;
|
|
11411
|
+
linkClassName?: string;
|
|
11412
|
+
}
|
|
11413
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11414
|
+
}
|
|
11415
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11416
|
+
import { FC } from 'react';
|
|
11417
|
+
export const SidebarGroup: FC<{
|
|
11418
|
+
titleResource?: string;
|
|
11419
|
+
borderColor?: string;
|
|
11420
|
+
className?: string;
|
|
11421
|
+
}>;
|
|
11422
|
+
}
|
|
11423
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11424
|
+
import { FC } from 'react';
|
|
11425
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11426
|
+
domIdentifier: string;
|
|
11427
|
+
trimContent?: boolean;
|
|
11428
|
+
className?: string;
|
|
11429
|
+
}>;
|
|
11430
|
+
}
|
|
11431
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11432
|
+
import { FC } from 'react';
|
|
11433
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11434
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11435
|
+
interface Props {
|
|
11436
|
+
selectedChannelNames?: string[];
|
|
11437
|
+
selectedChannelIds?: string[];
|
|
11438
|
+
mandatoryChannelIds?: string[];
|
|
11439
|
+
availableChannels?: Channel[];
|
|
11440
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11441
|
+
className?: string;
|
|
11442
|
+
showOnlyUserChannels?: boolean;
|
|
11443
|
+
showSelectionToggle?: boolean;
|
|
11444
|
+
placeholder?: string;
|
|
11445
|
+
inlineControls?: boolean;
|
|
11446
|
+
required?: boolean;
|
|
11447
|
+
id?: string;
|
|
11448
|
+
showLogicalOperatorOptions?: boolean;
|
|
11449
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11450
|
+
}
|
|
11451
|
+
export const ChannelSelector: FC<Props>;
|
|
11452
|
+
}
|
|
11453
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11454
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11455
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11456
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11457
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11458
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11459
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11460
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11461
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11462
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11463
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11464
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11465
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11466
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11467
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11468
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11469
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11470
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11471
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11472
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11473
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11474
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11475
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11476
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11477
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11478
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11479
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11480
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11481
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11482
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11483
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11484
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11485
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11486
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11487
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11488
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11489
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11490
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11491
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11492
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11493
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11494
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11495
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11496
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11497
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11498
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11499
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11500
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11501
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11502
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11503
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11504
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11505
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11506
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11507
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11508
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11509
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11510
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11511
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11512
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11513
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11514
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11515
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11516
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11517
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11518
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11519
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11520
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11521
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11522
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11523
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11524
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11525
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11526
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11527
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11528
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11529
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11530
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11531
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11532
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11533
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11534
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11535
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11536
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11537
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11538
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11539
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11540
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11541
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11542
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11543
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11544
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11545
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11546
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11547
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11548
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11549
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11550
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11551
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11552
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11553
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11554
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11555
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11556
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11557
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11558
|
+
}
|
|
11559
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11560
|
+
import { FC } from 'react';
|
|
11561
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11562
|
+
interface Props {
|
|
11563
|
+
type?: ItemResourceTypes;
|
|
11564
|
+
baseAttachmentPath?: string;
|
|
11565
|
+
message: Comment;
|
|
11566
|
+
showDelete?: boolean;
|
|
11567
|
+
showAutoTranslate?: boolean;
|
|
11568
|
+
showEdit?: boolean;
|
|
11569
|
+
onDelete?: (comment: Comment) => void;
|
|
11570
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11571
|
+
scope: ConversationScope;
|
|
11572
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11573
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11574
|
+
highlight?: boolean;
|
|
11575
|
+
hasUnreadReplies?: boolean;
|
|
11576
|
+
onReplyIconClick?: () => void;
|
|
11577
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11578
|
+
replyCount?: number;
|
|
11579
|
+
readOnly?: boolean;
|
|
11580
|
+
trimContent?: boolean;
|
|
11581
|
+
enableModalRouting?: boolean;
|
|
11582
|
+
className?: string;
|
|
11583
|
+
}
|
|
11584
|
+
export const CommentDisplay: FC<Props>;
|
|
11585
|
+
}
|
|
11586
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11587
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11592
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11593
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11594
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11595
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11598
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11599
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11600
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11060
11601
|
}
|
|
11061
|
-
declare module "libs/reach/feature/content/src/
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
|
|
11602
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
11603
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
11604
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
11605
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
11606
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
11607
|
+
}
|
|
11608
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11609
|
+
import { FC, ReactNode } from 'react';
|
|
11610
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11611
|
+
interface Props {
|
|
11612
|
+
isOpen: boolean;
|
|
11613
|
+
preSelectedKeywords: Keyword[];
|
|
11614
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11615
|
+
titleResource: string;
|
|
11616
|
+
onDismiss: () => void;
|
|
11617
|
+
availableKeywords?: Keyword[];
|
|
11618
|
+
mandatoryKeywordIds?: string[];
|
|
11070
11619
|
}
|
|
11071
|
-
export
|
|
11620
|
+
export const KeywordDialog: FC<Props>;
|
|
11621
|
+
export const StatefulKeywordPicker: FC<{
|
|
11622
|
+
preSelectedKeywords: Keyword[];
|
|
11623
|
+
availableKeywords?: Keyword[];
|
|
11624
|
+
mandatoryKeywordIds?: string[];
|
|
11625
|
+
showSelectionToggle?: boolean;
|
|
11626
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11627
|
+
}>;
|
|
11628
|
+
}
|
|
11629
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11630
|
+
import { FC, MutableRefObject } from 'react';
|
|
11631
|
+
export interface TextareaProps {
|
|
11632
|
+
rows?: number;
|
|
11633
|
+
placeholder?: string;
|
|
11634
|
+
readOnly?: boolean;
|
|
11635
|
+
onChange: (value: string) => void;
|
|
11636
|
+
className?: string;
|
|
11637
|
+
defaultValue?: string;
|
|
11638
|
+
disabled?: boolean;
|
|
11639
|
+
noDebouncing?: boolean;
|
|
11640
|
+
value?: string;
|
|
11641
|
+
onIconClick?: () => void;
|
|
11642
|
+
onEnter?: () => void;
|
|
11643
|
+
icon?: string;
|
|
11644
|
+
disableNewLines?: boolean;
|
|
11645
|
+
autoFocus?: boolean;
|
|
11646
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11647
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11648
|
+
inputType?: string;
|
|
11072
11649
|
}
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
errors?: any;
|
|
11079
|
-
hasNextPage: boolean;
|
|
11080
|
-
skip: number;
|
|
11081
|
-
};
|
|
11082
|
-
refresh: () => Promise<void>;
|
|
11083
|
-
isLoadingFirstPage: boolean;
|
|
11084
|
-
};
|
|
11085
|
-
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11086
|
-
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11087
|
-
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11088
|
-
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
11089
|
-
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
11090
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11091
|
-
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11092
|
-
export const OWNER_CONDITION: (owner: string) => string;
|
|
11093
|
-
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11094
|
-
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11095
|
-
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
11096
|
-
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
11097
|
-
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
11098
|
-
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11099
|
-
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11100
|
-
export const POST_ITEM_FIELDS: DocumentNode;
|
|
11650
|
+
/**
|
|
11651
|
+
* Textarea that expands vertically to fit content.
|
|
11652
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11653
|
+
*/
|
|
11654
|
+
export const Textarea: FC<TextareaProps>;
|
|
11101
11655
|
}
|
|
11102
|
-
declare module "libs/reach/feature/content/src/
|
|
11103
|
-
import {
|
|
11104
|
-
|
|
11105
|
-
|
|
11656
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11657
|
+
import { FC } from 'react';
|
|
11658
|
+
interface Props {
|
|
11659
|
+
onInsert: (files: File[]) => void;
|
|
11660
|
+
accept?: string;
|
|
11661
|
+
captionKey?: string;
|
|
11662
|
+
captionIconName?: string;
|
|
11663
|
+
descriptionKey?: string;
|
|
11664
|
+
descriptionIconName?: string;
|
|
11665
|
+
singleMode?: boolean;
|
|
11666
|
+
}
|
|
11667
|
+
export const InsertFilesButton: FC<Props>;
|
|
11668
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11669
|
+
isActive?: boolean;
|
|
11670
|
+
}, never>;
|
|
11106
11671
|
}
|
|
11107
|
-
declare module "libs/reach/feature/content/src/
|
|
11108
|
-
import {
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11672
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11673
|
+
import { FC } from 'react';
|
|
11674
|
+
interface Props {
|
|
11675
|
+
onInsert: (files: File[]) => void;
|
|
11676
|
+
accept?: string;
|
|
11677
|
+
captionKey?: string;
|
|
11678
|
+
descriptionKey?: string;
|
|
11679
|
+
}
|
|
11680
|
+
export const InsertImagesButton: FC<Props>;
|
|
11114
11681
|
}
|
|
11115
|
-
declare module "libs/reach/feature/content/src/
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11682
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11683
|
+
import { FC } from 'react';
|
|
11684
|
+
interface DateTimePickerProps {
|
|
11685
|
+
date: string;
|
|
11686
|
+
maxDate?: string;
|
|
11687
|
+
minDate?: string;
|
|
11688
|
+
dateValidationResourceKey?: string;
|
|
11689
|
+
timeValidationResourceKey?: string;
|
|
11690
|
+
readOnly?: boolean;
|
|
11691
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11692
|
+
noDateResourceKey: string;
|
|
11693
|
+
selectDateResourceKey: string;
|
|
11694
|
+
dateOnly?: boolean;
|
|
11695
|
+
initialPickerDate?: string;
|
|
11696
|
+
label?: string;
|
|
11697
|
+
isRequired?: boolean;
|
|
11698
|
+
className?: string;
|
|
11699
|
+
}
|
|
11700
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11701
|
+
export default DateTimePicker;
|
|
11702
|
+
}
|
|
11703
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11704
|
+
import moment, { Moment } from 'moment';
|
|
11705
|
+
export enum DateRange {
|
|
11706
|
+
TwoYears = 0,
|
|
11707
|
+
OneYear = 1,
|
|
11708
|
+
SixMonths = 2,
|
|
11709
|
+
TwoMonths = 3,
|
|
11710
|
+
OneMonth = 4,
|
|
11711
|
+
SevenDays = 5,
|
|
11712
|
+
YesterDay = 6,
|
|
11713
|
+
Today = 7
|
|
11714
|
+
}
|
|
11715
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11716
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11717
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11718
|
+
}
|
|
11719
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11720
|
+
import { FC } from 'react';
|
|
11721
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11722
|
+
export const DateRangeSlider: FC<{
|
|
11723
|
+
value?: DateRange;
|
|
11724
|
+
onChange: (range: DateRange) => unknown;
|
|
11725
|
+
}>;
|
|
11726
|
+
}
|
|
11727
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11728
|
+
import { FC } from 'react';
|
|
11729
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11730
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11731
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11732
|
+
interface PeoplePickerDialogProps {
|
|
11733
|
+
defaultSelectedItems: Account[];
|
|
11734
|
+
onChange: (items: Account[]) => void;
|
|
11735
|
+
onDismiss: () => void;
|
|
11736
|
+
titleResource: string;
|
|
11737
|
+
intl?: WrappedComponentProps;
|
|
11738
|
+
selectionMode?: SelectionMode;
|
|
11739
|
+
allowMailItems?: boolean;
|
|
11740
|
+
accountType: AccountType;
|
|
11741
|
+
showDialog: boolean;
|
|
11742
|
+
allowEmptyValue: boolean;
|
|
11743
|
+
includePendingInvitationUsers?: boolean;
|
|
11744
|
+
placeholderStringResourceKey?: string;
|
|
11745
|
+
inputAriaLabelResourceKey: string;
|
|
11746
|
+
}
|
|
11747
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11748
|
+
}
|
|
11749
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11750
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11751
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11752
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11753
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11754
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11755
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11756
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11757
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11758
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11759
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11760
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11761
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11762
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11763
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11126
11764
|
}
|
|
11127
11765
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11128
11766
|
import { FC, ReactNode } from 'react';
|
|
@@ -11219,8 +11857,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11219
11857
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11220
11858
|
export type ShareTokenType = 'preview' | 'published';
|
|
11221
11859
|
export function useShareTokenEditorApi(): {
|
|
11222
|
-
activateShareToken: (
|
|
11223
|
-
deleteShareToken: (
|
|
11860
|
+
activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
|
|
11861
|
+
deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
|
|
11224
11862
|
};
|
|
11225
11863
|
}
|
|
11226
11864
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11231,9 +11869,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11231
11869
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11232
11870
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11233
11871
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11234
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11872
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11235
11873
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11236
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11874
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11237
11875
|
};
|
|
11238
11876
|
}
|
|
11239
11877
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11272,6 +11910,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11272
11910
|
event: EventStreamItem;
|
|
11273
11911
|
}>;
|
|
11274
11912
|
}
|
|
11913
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11914
|
+
import { FC } from 'react';
|
|
11915
|
+
export const GlobalSearchButton: FC<{
|
|
11916
|
+
className?: string;
|
|
11917
|
+
}>;
|
|
11918
|
+
}
|
|
11275
11919
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11276
11920
|
import { FC, ReactNode } from 'react';
|
|
11277
11921
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11339,12 +11983,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11339
11983
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11340
11984
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11341
11985
|
}
|
|
11342
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11343
|
-
import { FC } from 'react';
|
|
11344
|
-
export const GlobalSearchButton: FC<{
|
|
11345
|
-
className?: string;
|
|
11346
|
-
}>;
|
|
11347
|
-
}
|
|
11348
11986
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11349
11987
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11350
11988
|
}
|
|
@@ -11786,6 +12424,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
11786
12424
|
}) => string;
|
|
11787
12425
|
};
|
|
11788
12426
|
}
|
|
12427
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12428
|
+
import { Dispatch } from 'react';
|
|
12429
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12430
|
+
}
|
|
12431
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12432
|
+
import { FC } from 'react';
|
|
12433
|
+
export interface Dashboard {
|
|
12434
|
+
name: string;
|
|
12435
|
+
title: string;
|
|
12436
|
+
url: string;
|
|
12437
|
+
}
|
|
12438
|
+
export const DashboardPage: FC<{
|
|
12439
|
+
dashboard: Dashboard;
|
|
12440
|
+
}>;
|
|
12441
|
+
}
|
|
12442
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12443
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12444
|
+
export function useDashboards(): Dashboard[];
|
|
12445
|
+
export function hasDashboards(): boolean;
|
|
12446
|
+
}
|
|
12447
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12448
|
+
import { FC } from 'react';
|
|
12449
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12450
|
+
}
|
|
11789
12451
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
11790
12452
|
import { FC } from 'react';
|
|
11791
12453
|
interface Props {
|
|
@@ -11801,7 +12463,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11801
12463
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11802
12464
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11803
12465
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11804
|
-
export interface
|
|
12466
|
+
export interface PageProps extends SearchBoxProps {
|
|
11805
12467
|
className?: string;
|
|
11806
12468
|
headerContents?: JSX.Element;
|
|
11807
12469
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11819,12 +12481,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11819
12481
|
submenuContents?: JSX.Element;
|
|
11820
12482
|
submenuClassName?: string;
|
|
11821
12483
|
disableScrollableContainerFocus?: boolean;
|
|
12484
|
+
asModal?: boolean;
|
|
12485
|
+
domIdentifier?: string;
|
|
11822
12486
|
}
|
|
11823
12487
|
export enum MenuNavigationMode {
|
|
11824
12488
|
Collapse = 0,
|
|
11825
12489
|
KeepOpen = 1
|
|
11826
12490
|
}
|
|
11827
|
-
export const Page: FC<
|
|
12491
|
+
export const Page: FC<PageProps>;
|
|
11828
12492
|
}
|
|
11829
12493
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11830
12494
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|