@livetiles/reach-plugin-types 0.5.0-preview.34 → 0.5.0-preview.344
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 +1824 -1182
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -216,11 +216,27 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
216
216
|
extraScopes: string[];
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
+
declare module "libs/shared/util/environment/src/AnalyticsConfig" {
|
|
220
|
+
export interface DashboardConfig {
|
|
221
|
+
name: string;
|
|
222
|
+
title: string;
|
|
223
|
+
id: number;
|
|
224
|
+
params?: string;
|
|
225
|
+
}
|
|
226
|
+
export interface AnalyticsConfig {
|
|
227
|
+
hostName: string;
|
|
228
|
+
regions?: {
|
|
229
|
+
[key: string]: string;
|
|
230
|
+
};
|
|
231
|
+
dashboards: DashboardConfig[];
|
|
232
|
+
}
|
|
233
|
+
}
|
|
219
234
|
declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
220
235
|
import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
|
|
221
236
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
222
237
|
import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
|
|
223
238
|
import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
|
|
239
|
+
import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
|
|
224
240
|
export enum ConfigType {
|
|
225
241
|
Local = "local",
|
|
226
242
|
Dev = "dev",
|
|
@@ -266,9 +282,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
266
282
|
oneSignal?: {
|
|
267
283
|
appId: string;
|
|
268
284
|
};
|
|
285
|
+
analytics: AnalyticsConfig;
|
|
269
286
|
}
|
|
270
287
|
}
|
|
271
288
|
declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
289
|
+
import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
|
|
290
|
+
import { ConfigType } from "libs/shared/util/environment/src/AppConfiguration";
|
|
272
291
|
export interface ClientConfig {
|
|
273
292
|
maxFileSizeInMb: number;
|
|
274
293
|
unsplash: {
|
|
@@ -286,9 +305,12 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
|
286
305
|
giphy: {
|
|
287
306
|
apiKey: string;
|
|
288
307
|
};
|
|
308
|
+
analytics: AnalyticsConfig;
|
|
309
|
+
configType: ConfigType;
|
|
289
310
|
}
|
|
290
311
|
}
|
|
291
312
|
declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
313
|
+
import { DeviceInfo } from '@capacitor/device';
|
|
292
314
|
export interface EnvironmentConfig {
|
|
293
315
|
isCustomerBuild: boolean;
|
|
294
316
|
isProduction: boolean;
|
|
@@ -306,11 +328,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
306
328
|
buildId: string;
|
|
307
329
|
useAzureAdFunctionality: boolean;
|
|
308
330
|
envName: string;
|
|
309
|
-
|
|
310
|
-
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
311
|
-
interface DeviceInfo {
|
|
312
|
-
platform: 'ios' | 'android' | 'web';
|
|
313
|
-
operatingSystem: OperatingSystem;
|
|
331
|
+
mobileTeamsHost?: string;
|
|
314
332
|
}
|
|
315
333
|
}
|
|
316
334
|
declare module "libs/shared/util/environment/src/environment" {
|
|
@@ -1026,6 +1044,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
|
1026
1044
|
language?: string;
|
|
1027
1045
|
}>;
|
|
1028
1046
|
}
|
|
1047
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1048
|
+
import locale from 'date-fns/locale/ar-DZ';
|
|
1049
|
+
export default locale;
|
|
1050
|
+
}
|
|
1051
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
|
|
1052
|
+
import locale from 'date-fns/locale/ar-MA';
|
|
1053
|
+
export default locale;
|
|
1054
|
+
}
|
|
1055
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
|
|
1056
|
+
import locale from 'date-fns/locale/ar-SA';
|
|
1057
|
+
export default locale;
|
|
1058
|
+
}
|
|
1059
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
|
|
1060
|
+
import locale from 'date-fns/locale/bg';
|
|
1061
|
+
export default locale;
|
|
1062
|
+
}
|
|
1063
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
|
|
1064
|
+
import locale from 'date-fns/locale/bn';
|
|
1065
|
+
export default locale;
|
|
1066
|
+
}
|
|
1067
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
|
|
1068
|
+
import locale from 'date-fns/locale/ca';
|
|
1069
|
+
export default locale;
|
|
1070
|
+
}
|
|
1071
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
|
|
1072
|
+
import locale from 'date-fns/locale/cs';
|
|
1073
|
+
export default locale;
|
|
1074
|
+
}
|
|
1075
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
|
|
1076
|
+
import locale from 'date-fns/locale/da';
|
|
1077
|
+
export default locale;
|
|
1078
|
+
}
|
|
1079
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
|
|
1080
|
+
import locale from 'date-fns/locale/de';
|
|
1081
|
+
export default locale;
|
|
1082
|
+
}
|
|
1083
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
|
|
1084
|
+
import locale from 'date-fns/locale/el';
|
|
1085
|
+
export default locale;
|
|
1086
|
+
}
|
|
1087
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
|
|
1088
|
+
import locale from 'date-fns/locale/en-AU';
|
|
1089
|
+
export default locale;
|
|
1090
|
+
}
|
|
1091
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
|
|
1092
|
+
import locale from 'date-fns/locale/en-CA';
|
|
1093
|
+
export default locale;
|
|
1094
|
+
}
|
|
1095
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
|
|
1096
|
+
import locale from 'date-fns/locale/en-GB';
|
|
1097
|
+
export default locale;
|
|
1098
|
+
}
|
|
1099
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
|
|
1100
|
+
import locale from 'date-fns/locale/en-NZ';
|
|
1101
|
+
export default locale;
|
|
1102
|
+
}
|
|
1103
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
|
|
1104
|
+
import locale from 'date-fns/locale/es';
|
|
1105
|
+
export default locale;
|
|
1106
|
+
}
|
|
1107
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
|
|
1108
|
+
import locale from 'date-fns/locale/et';
|
|
1109
|
+
export default locale;
|
|
1110
|
+
}
|
|
1111
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
|
|
1112
|
+
import locale from 'date-fns/locale/fa-IR';
|
|
1113
|
+
export default locale;
|
|
1114
|
+
}
|
|
1115
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
|
|
1116
|
+
import locale from 'date-fns/locale/fi';
|
|
1117
|
+
export default locale;
|
|
1118
|
+
}
|
|
1119
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
|
|
1120
|
+
import locale from 'date-fns/locale/fr-CA';
|
|
1121
|
+
export default locale;
|
|
1122
|
+
}
|
|
1123
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
|
|
1124
|
+
import locale from 'date-fns/locale/fr-CH';
|
|
1125
|
+
export default locale;
|
|
1126
|
+
}
|
|
1127
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
|
|
1128
|
+
import locale from 'date-fns/locale/fr';
|
|
1129
|
+
export default locale;
|
|
1130
|
+
}
|
|
1131
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
|
|
1132
|
+
import locale from 'date-fns/locale/gu';
|
|
1133
|
+
export default locale;
|
|
1134
|
+
}
|
|
1135
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
|
|
1136
|
+
import locale from 'date-fns/locale/he';
|
|
1137
|
+
export default locale;
|
|
1138
|
+
}
|
|
1139
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
|
|
1140
|
+
import locale from 'date-fns/locale/hi';
|
|
1141
|
+
export default locale;
|
|
1142
|
+
}
|
|
1143
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
|
|
1144
|
+
import locale from 'date-fns/locale/hr';
|
|
1145
|
+
export default locale;
|
|
1146
|
+
}
|
|
1147
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
|
|
1148
|
+
import locale from 'date-fns/locale/hu';
|
|
1149
|
+
export default locale;
|
|
1150
|
+
}
|
|
1151
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
|
|
1152
|
+
import locale from 'date-fns/locale/id';
|
|
1153
|
+
export default locale;
|
|
1154
|
+
}
|
|
1155
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
|
|
1156
|
+
import locale from 'date-fns/locale/it';
|
|
1157
|
+
export default locale;
|
|
1158
|
+
}
|
|
1159
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
|
|
1160
|
+
import locale from 'date-fns/locale/ja';
|
|
1161
|
+
export default locale;
|
|
1162
|
+
}
|
|
1163
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
|
|
1164
|
+
import locale from 'date-fns/locale/kn';
|
|
1165
|
+
export default locale;
|
|
1166
|
+
}
|
|
1167
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
|
|
1168
|
+
import locale from 'date-fns/locale/ko';
|
|
1169
|
+
export default locale;
|
|
1170
|
+
}
|
|
1171
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
|
|
1172
|
+
import locale from 'date-fns/locale/lt';
|
|
1173
|
+
export default locale;
|
|
1174
|
+
}
|
|
1175
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
|
|
1176
|
+
import locale from 'date-fns/locale/lv';
|
|
1177
|
+
export default locale;
|
|
1178
|
+
}
|
|
1179
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
|
|
1180
|
+
import locale from 'date-fns/locale/ms';
|
|
1181
|
+
export default locale;
|
|
1182
|
+
}
|
|
1183
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
|
|
1184
|
+
import locale from 'date-fns/locale/nb';
|
|
1185
|
+
export default locale;
|
|
1186
|
+
}
|
|
1187
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
|
|
1188
|
+
import locale from 'date-fns/locale/nl-BE';
|
|
1189
|
+
export default locale;
|
|
1190
|
+
}
|
|
1191
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
|
|
1192
|
+
import locale from 'date-fns/locale/nl';
|
|
1193
|
+
export default locale;
|
|
1194
|
+
}
|
|
1195
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
|
|
1196
|
+
import locale from 'date-fns/locale/pl';
|
|
1197
|
+
export default locale;
|
|
1198
|
+
}
|
|
1199
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
|
|
1200
|
+
import locale from 'date-fns/locale/pt-BR';
|
|
1201
|
+
export default locale;
|
|
1202
|
+
}
|
|
1203
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
|
|
1204
|
+
import locale from 'date-fns/locale/pt';
|
|
1205
|
+
export default locale;
|
|
1206
|
+
}
|
|
1207
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
|
|
1208
|
+
import locale from 'date-fns/locale/ro';
|
|
1209
|
+
export default locale;
|
|
1210
|
+
}
|
|
1211
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
|
|
1212
|
+
import locale from 'date-fns/locale/ru';
|
|
1213
|
+
export default locale;
|
|
1214
|
+
}
|
|
1215
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
|
|
1216
|
+
import locale from 'date-fns/locale/sk';
|
|
1217
|
+
export default locale;
|
|
1218
|
+
}
|
|
1219
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
|
|
1220
|
+
import locale from 'date-fns/locale/sl';
|
|
1221
|
+
export default locale;
|
|
1222
|
+
}
|
|
1223
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
|
|
1224
|
+
import locale from 'date-fns/locale/sr-Latn';
|
|
1225
|
+
export default locale;
|
|
1226
|
+
}
|
|
1227
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
|
|
1228
|
+
import locale from 'date-fns/locale/sr';
|
|
1229
|
+
export default locale;
|
|
1230
|
+
}
|
|
1231
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
|
|
1232
|
+
import locale from 'date-fns/locale/sv';
|
|
1233
|
+
export default locale;
|
|
1234
|
+
}
|
|
1235
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
|
|
1236
|
+
import locale from 'date-fns/locale/ta';
|
|
1237
|
+
export default locale;
|
|
1238
|
+
}
|
|
1239
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
|
|
1240
|
+
import locale from 'date-fns/locale/te';
|
|
1241
|
+
export default locale;
|
|
1242
|
+
}
|
|
1243
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
|
|
1244
|
+
import locale from 'date-fns/locale/th';
|
|
1245
|
+
export default locale;
|
|
1246
|
+
}
|
|
1247
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
|
|
1248
|
+
import locale from 'date-fns/locale/tr';
|
|
1249
|
+
export default locale;
|
|
1250
|
+
}
|
|
1251
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
|
|
1252
|
+
import locale from 'date-fns/locale/uk';
|
|
1253
|
+
export default locale;
|
|
1254
|
+
}
|
|
1255
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
|
|
1256
|
+
import locale from 'date-fns/locale/vi';
|
|
1257
|
+
export default locale;
|
|
1258
|
+
}
|
|
1259
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
|
|
1260
|
+
import locale from 'date-fns/locale/zh-CN';
|
|
1261
|
+
export default locale;
|
|
1262
|
+
}
|
|
1263
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
|
|
1264
|
+
import locale from 'date-fns/locale/zh-TW';
|
|
1265
|
+
export default locale;
|
|
1266
|
+
}
|
|
1267
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
|
|
1268
|
+
import locale from 'date-fns/locale/en-US';
|
|
1269
|
+
export default locale;
|
|
1270
|
+
}
|
|
1271
|
+
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1272
|
+
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1273
|
+
}
|
|
1029
1274
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1030
1275
|
export const orderedFeatureSet: string[];
|
|
1031
1276
|
export class FeatureSet {
|
|
@@ -1198,6 +1443,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1198
1443
|
customDomain?: string;
|
|
1199
1444
|
allowSelfRegistration?: boolean;
|
|
1200
1445
|
brandFolderConfig?: BrandFolderConfig;
|
|
1446
|
+
hideSubscriptionName?: boolean;
|
|
1201
1447
|
}
|
|
1202
1448
|
export interface BrandFolderConfig {
|
|
1203
1449
|
sections?: string[];
|
|
@@ -1274,9 +1520,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1274
1520
|
subscriptionId: string;
|
|
1275
1521
|
subscriptionName: string;
|
|
1276
1522
|
}
|
|
1277
|
-
export
|
|
1278
|
-
|
|
1279
|
-
|
|
1523
|
+
export enum ExtensionArea {
|
|
1524
|
+
global = "Global",
|
|
1525
|
+
page = "Page",
|
|
1526
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
1527
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
1528
|
+
itemEditor = "ItemEditor"
|
|
1529
|
+
}
|
|
1530
|
+
export type InlinePlugin = {
|
|
1531
|
+
area: ExtensionArea.itemEditor;
|
|
1532
|
+
objectButton: PluginObjectButton;
|
|
1533
|
+
};
|
|
1534
|
+
export type PagePlugin = {
|
|
1535
|
+
area: ExtensionArea.page;
|
|
1280
1536
|
route: string;
|
|
1281
1537
|
navigationNode?: {
|
|
1282
1538
|
componentName?: string;
|
|
@@ -1286,7 +1542,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1286
1542
|
[key: string]: string;
|
|
1287
1543
|
};
|
|
1288
1544
|
};
|
|
1289
|
-
}
|
|
1545
|
+
};
|
|
1546
|
+
export type PluginExtension = {
|
|
1547
|
+
area: ExtensionArea;
|
|
1548
|
+
componentName: string;
|
|
1549
|
+
} & (InlinePlugin | PagePlugin);
|
|
1550
|
+
export type PluginObjectButton = {
|
|
1551
|
+
buttonLabel: {
|
|
1552
|
+
defaultLabel: string;
|
|
1553
|
+
translations?: {
|
|
1554
|
+
[key: string]: string;
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
iconName: string;
|
|
1558
|
+
};
|
|
1290
1559
|
export interface PluginNotificationDefinitions {
|
|
1291
1560
|
key: string;
|
|
1292
1561
|
title: string;
|
|
@@ -1390,6 +1659,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1390
1659
|
pluginNotifications: {
|
|
1391
1660
|
[key: string]: NotificationType;
|
|
1392
1661
|
};
|
|
1662
|
+
newsEditor: NotificationType;
|
|
1663
|
+
eventEditor: NotificationType;
|
|
1393
1664
|
}
|
|
1394
1665
|
export interface RequestUser extends BasicUserInformation {
|
|
1395
1666
|
tenantId: string;
|
|
@@ -1425,6 +1696,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1425
1696
|
termsAndConditionsApprovedHash: string;
|
|
1426
1697
|
isPublicUser?: boolean;
|
|
1427
1698
|
hasUnreadChats?: boolean;
|
|
1699
|
+
publicSubscriptionIds?: string[];
|
|
1428
1700
|
}
|
|
1429
1701
|
export interface GroupUser extends UserSummary {
|
|
1430
1702
|
role: {
|
|
@@ -1490,6 +1762,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1490
1762
|
user: UserSummary;
|
|
1491
1763
|
type: SubscriptionJoinResultType;
|
|
1492
1764
|
message?: string;
|
|
1765
|
+
isSuccess?: boolean;
|
|
1493
1766
|
}
|
|
1494
1767
|
export interface UserActivationResult {
|
|
1495
1768
|
type: UserActivationResultType;
|
|
@@ -1716,11 +1989,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
|
1716
1989
|
knownState: KnownNewsState;
|
|
1717
1990
|
hasNewComments?: boolean;
|
|
1718
1991
|
isLiked?: boolean;
|
|
1719
|
-
shareToken?: ShareToken;
|
|
1720
|
-
}
|
|
1721
|
-
export interface ShareToken {
|
|
1722
|
-
published?: string;
|
|
1723
|
-
preview?: string;
|
|
1724
1992
|
}
|
|
1725
1993
|
export interface NewsItemAlertOptions {
|
|
1726
1994
|
duration?: string;
|
|
@@ -1908,6 +2176,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1908
2176
|
useExternalContent?: boolean;
|
|
1909
2177
|
isDemoContent?: boolean;
|
|
1910
2178
|
}
|
|
2179
|
+
export interface ShareablePublishableItem extends PublishableItem {
|
|
2180
|
+
shareToken: ShareToken;
|
|
2181
|
+
}
|
|
2182
|
+
export interface ShareToken {
|
|
2183
|
+
published?: string;
|
|
2184
|
+
preview?: string;
|
|
2185
|
+
}
|
|
1911
2186
|
export interface PublishableItemVersion extends PublishableItem {
|
|
1912
2187
|
itemId: string;
|
|
1913
2188
|
versionModificationDate: string;
|
|
@@ -1931,6 +2206,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1931
2206
|
}
|
|
1932
2207
|
}
|
|
1933
2208
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2209
|
+
import { Api } from 'restful.js';
|
|
1934
2210
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
1935
2211
|
export class ClientFactoryInstance {
|
|
1936
2212
|
private env;
|
|
@@ -1941,7 +2217,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1941
2217
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
1942
2218
|
url: string;
|
|
1943
2219
|
}) => Promise<unknown>);
|
|
1944
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2220
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
1945
2221
|
private createApiInternal;
|
|
1946
2222
|
private addRequestTimeLogger;
|
|
1947
2223
|
createApiUrl: (url: string, query?: {
|
|
@@ -2259,12 +2535,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2259
2535
|
isUnlinked?: boolean;
|
|
2260
2536
|
pageType?: PageType;
|
|
2261
2537
|
firstChildId?: string;
|
|
2538
|
+
isGroupInheritanceBroken?: boolean;
|
|
2262
2539
|
}
|
|
2263
2540
|
export interface ContentsSummary {
|
|
2264
2541
|
[lang: string]: TitleContent & {
|
|
2265
2542
|
fileInfo?: DocumentFileInfo;
|
|
2266
2543
|
};
|
|
2267
2544
|
}
|
|
2545
|
+
export interface GroupInheritanceUpdateRequest {
|
|
2546
|
+
breakGroupInheritance: boolean;
|
|
2547
|
+
}
|
|
2268
2548
|
export interface PageNavigationNode {
|
|
2269
2549
|
id: string;
|
|
2270
2550
|
contents?: ContentsSummary;
|
|
@@ -2280,6 +2560,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2280
2560
|
hasAnyPageChild?: boolean;
|
|
2281
2561
|
pageType?: PageType;
|
|
2282
2562
|
useExternalContent?: boolean;
|
|
2563
|
+
isGroupInheritanceBroken?: boolean;
|
|
2283
2564
|
isSearchMatch?: boolean;
|
|
2284
2565
|
topLevelFolderName?: string;
|
|
2285
2566
|
uploadToken?: string;
|
|
@@ -2448,6 +2729,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2448
2729
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2449
2730
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2450
2731
|
}
|
|
2732
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2733
|
+
export const maxContentWidth = 985;
|
|
2734
|
+
export const adminMaxWidth = 600;
|
|
2735
|
+
export const spacingXxs = 3;
|
|
2736
|
+
export const spacingXs = 6;
|
|
2737
|
+
export const spacingS = 10;
|
|
2738
|
+
export const spacingM = 20;
|
|
2739
|
+
export const spacingL = 30;
|
|
2740
|
+
export const spacingX = 40;
|
|
2741
|
+
export const spacingXl = 60;
|
|
2742
|
+
export const minScreenSize: {
|
|
2743
|
+
small: number;
|
|
2744
|
+
medium: number;
|
|
2745
|
+
large: number;
|
|
2746
|
+
xLarge: number;
|
|
2747
|
+
xxLarge: number;
|
|
2748
|
+
xxxLarge: number;
|
|
2749
|
+
};
|
|
2750
|
+
export const maxScreenSize: {
|
|
2751
|
+
small: number;
|
|
2752
|
+
medium: number;
|
|
2753
|
+
large: number;
|
|
2754
|
+
xLarge: number;
|
|
2755
|
+
xxLarge: number;
|
|
2756
|
+
};
|
|
2757
|
+
export const sidebarWidth = 285;
|
|
2758
|
+
export const sidebarWidthRight = 320;
|
|
2759
|
+
export const sidebarItemHeight = 50;
|
|
2760
|
+
export const headerHeight = 50;
|
|
2761
|
+
export const headerSecondaryHeight = 50;
|
|
2762
|
+
export const notificationHeight = 50;
|
|
2763
|
+
export const mainContentPanelWidth = 300;
|
|
2764
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2765
|
+
export const fontSizeLarger = 40;
|
|
2766
|
+
export const fontSizeLarge = 25;
|
|
2767
|
+
export const fontSizeMedium = 18;
|
|
2768
|
+
export const fontSizeNormal = 16;
|
|
2769
|
+
export const fontSizeSmall = 14;
|
|
2770
|
+
export const fontSizeSmaller = 12;
|
|
2771
|
+
export const socialIconSize = 26;
|
|
2772
|
+
export const lineHeight = 23;
|
|
2773
|
+
export const smallScreenLoginHeight = 40;
|
|
2774
|
+
export const bannerAspectRatio: number;
|
|
2775
|
+
export const bannerWidth = 980;
|
|
2776
|
+
export const bannerHeight = 420;
|
|
2777
|
+
export const HighlightBubbleSize = 12;
|
|
2778
|
+
export const StatusBubbleSize = 10;
|
|
2779
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2780
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2781
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2782
|
+
export const dialogSpacing = 24;
|
|
2783
|
+
export const detailViewSectionPadding = 20;
|
|
2784
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2785
|
+
export const postsSectionPadding = 20;
|
|
2786
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2787
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2788
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2789
|
+
export const feedbackButtonHeight = 32;
|
|
2790
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2791
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2792
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2793
|
+
export const statusColors: {
|
|
2794
|
+
draft: string;
|
|
2795
|
+
ready: string;
|
|
2796
|
+
rejected: string;
|
|
2797
|
+
};
|
|
2798
|
+
export const cardWidthS = 260;
|
|
2799
|
+
export const cardWidthM = 354;
|
|
2800
|
+
export const cardWidthL = 314;
|
|
2801
|
+
export const cardWidthXL = 423;
|
|
2802
|
+
export const managePagesRowWidth = 300;
|
|
2803
|
+
export const managePagesRowHeight = 40;
|
|
2804
|
+
export const mobilePreviewWidth = 414;
|
|
2805
|
+
}
|
|
2806
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2807
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2808
|
+
import { IntlShape } from 'react-intl';
|
|
2809
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2810
|
+
export enum LinkType {
|
|
2811
|
+
Internal = "internal",
|
|
2812
|
+
External = "external",
|
|
2813
|
+
Download = "download"
|
|
2814
|
+
}
|
|
2815
|
+
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}";
|
|
2816
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2817
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2818
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2819
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2820
|
+
logoInfo: LogoInfo;
|
|
2821
|
+
subscriptionName: string;
|
|
2822
|
+
};
|
|
2823
|
+
}
|
|
2824
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2825
|
+
export enum AnalyticsInteractionEvents {
|
|
2826
|
+
embeddedVideo = "embedded-video",
|
|
2827
|
+
embeddedAudio = "embedded-audio",
|
|
2828
|
+
languageChange = "language-change",
|
|
2829
|
+
eventRegistration = "event-registration",
|
|
2830
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2831
|
+
translateContent = "translate-content",
|
|
2832
|
+
downloadFile = "download-file",
|
|
2833
|
+
embeddedIframe = "embedded-iframe",
|
|
2834
|
+
externalLink = "external-link",
|
|
2835
|
+
follow = "follow",
|
|
2836
|
+
bookmark = "bookmark"
|
|
2837
|
+
}
|
|
2838
|
+
export enum AnalyticsActions {
|
|
2839
|
+
click = "click",
|
|
2840
|
+
navigate = "navigate",
|
|
2841
|
+
view = "view",
|
|
2842
|
+
search = "search"
|
|
2843
|
+
}
|
|
2844
|
+
export enum AnalyticsModuleType {
|
|
2845
|
+
Admin = "admin",
|
|
2846
|
+
Chat = "chat",
|
|
2847
|
+
Comments = "comments",
|
|
2848
|
+
Events = "events",
|
|
2849
|
+
Search = "search",
|
|
2850
|
+
News = "news",
|
|
2851
|
+
Pages = "pages",
|
|
2852
|
+
People = "people",
|
|
2853
|
+
Posts = "posts",
|
|
2854
|
+
Stream = "stream",
|
|
2855
|
+
User = "user"
|
|
2856
|
+
}
|
|
2857
|
+
export enum AnalyticsModuleSubtype {
|
|
2858
|
+
AllChats = "allChats",
|
|
2859
|
+
AllNews = "allNews",
|
|
2860
|
+
AllPosts = "allPosts",
|
|
2861
|
+
Bookmarks = "bookmarks",
|
|
2862
|
+
Channel = "channel",
|
|
2863
|
+
Channels = "channels",
|
|
2864
|
+
ChatConversation = "conversation",
|
|
2865
|
+
Customization = "customization",
|
|
2866
|
+
DetailView = "detailView",
|
|
2867
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2868
|
+
Group = "group",
|
|
2869
|
+
Groups = "groups",
|
|
2870
|
+
Keywords = "keywords",
|
|
2871
|
+
Languages = "languages",
|
|
2872
|
+
MyNews = "myNews",
|
|
2873
|
+
Owners = "owners",
|
|
2874
|
+
Preview = "preview",
|
|
2875
|
+
RootPages = "rootPages",
|
|
2876
|
+
Search = "search",
|
|
2877
|
+
SelfRegistration = "selfRegistration",
|
|
2878
|
+
TargetAudience = "targetAudience",
|
|
2879
|
+
UpcomingEvents = "upcoming",
|
|
2880
|
+
BookedEvents = "booked",
|
|
2881
|
+
PastEvents = "past",
|
|
2882
|
+
Users = "users",
|
|
2883
|
+
WebHooks = "webHooks",
|
|
2884
|
+
Editor = "editor"
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2888
|
+
export function useLinkInteraction(): void;
|
|
2889
|
+
}
|
|
2890
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2891
|
+
export function useIframeInteraction(): void;
|
|
2892
|
+
}
|
|
2893
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
|
|
2894
|
+
import { FC } from 'react';
|
|
2895
|
+
import { EventModule } from '@livetiles/analytics';
|
|
2896
|
+
export const AnalyticsModuleContext: import("react").Context<EventModule>;
|
|
2897
|
+
export const AnalyticsModuleContextProvider: FC<{
|
|
2898
|
+
module: EventModule;
|
|
2899
|
+
}>;
|
|
2900
|
+
}
|
|
2901
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2902
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2903
|
+
import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
|
|
2904
|
+
export interface SearchAnalytics {
|
|
2905
|
+
data: EventSearch[];
|
|
2906
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2907
|
+
onItemRead: (itemId: string) => void;
|
|
2908
|
+
}
|
|
2909
|
+
export interface ModuleAnalytics {
|
|
2910
|
+
module: EventModule;
|
|
2911
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2912
|
+
}
|
|
2913
|
+
interface ActivityAnalytics {
|
|
2914
|
+
trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
|
|
2915
|
+
sendActivity: () => void;
|
|
2916
|
+
}
|
|
2917
|
+
export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
|
|
2918
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2919
|
+
export function useAnalyticsContext(): {
|
|
2920
|
+
interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
|
|
2921
|
+
trackActivity: (scrollContainer?: HTMLElement) => Activity;
|
|
2922
|
+
getUser: () => import("@segment/analytics-next").User;
|
|
2923
|
+
identify: (userId: string, traits?: Record<string, unknown>) => void;
|
|
2924
|
+
activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
|
|
2925
|
+
module: EventModule;
|
|
2926
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2927
|
+
data: EventSearch[];
|
|
2928
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2929
|
+
onItemRead: (itemId: string) => void;
|
|
2930
|
+
sendActivity: () => void;
|
|
2931
|
+
};
|
|
2932
|
+
export const AnalyticsLibraryContextProvider: FC<{
|
|
2933
|
+
appName?: string;
|
|
2934
|
+
}>;
|
|
2935
|
+
export const AnalyticsContextProvider: FC;
|
|
2936
|
+
}
|
|
2937
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
2938
|
+
import { Observable } from 'rxjs';
|
|
2939
|
+
export const onPageScroll: Observable<number>;
|
|
2940
|
+
export function handlePageScroll(availableScrollSpace: number): void;
|
|
2941
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2942
|
+
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
2943
|
+
}
|
|
2944
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2945
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2946
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2947
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2948
|
+
}
|
|
2949
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2950
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2951
|
+
}
|
|
2952
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2953
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2954
|
+
}
|
|
2955
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2956
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2957
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2958
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2959
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2960
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2961
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
2962
|
+
}
|
|
2451
2963
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2452
2964
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2453
2965
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2521,6 +3033,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2521
3033
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2522
3034
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2523
3035
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
3036
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
3037
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2524
3038
|
};
|
|
2525
3039
|
}
|
|
2526
3040
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2546,6 +3060,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2546
3060
|
customDomain?: string;
|
|
2547
3061
|
allowSelfRegistration?: boolean;
|
|
2548
3062
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3063
|
+
hideSubscriptionName?: boolean;
|
|
2549
3064
|
id: string;
|
|
2550
3065
|
subscriptionName: string;
|
|
2551
3066
|
subscriptionHandle?: string;
|
|
@@ -2589,6 +3104,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2589
3104
|
termsAndConditionsApprovedHash: string;
|
|
2590
3105
|
isPublicUser?: boolean;
|
|
2591
3106
|
hasUnreadChats?: boolean;
|
|
3107
|
+
publicSubscriptionIds?: string[];
|
|
2592
3108
|
id?: string;
|
|
2593
3109
|
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2594
3110
|
tenantId?: string;
|
|
@@ -2711,7 +3227,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2711
3227
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2712
3228
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2713
3229
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2714
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3230
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2715
3231
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2716
3232
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2717
3233
|
};
|
|
@@ -2817,17 +3333,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2817
3333
|
}
|
|
2818
3334
|
}
|
|
2819
3335
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2820
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3336
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2821
3337
|
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
3338
|
export interface PluginNavigationNodeProps {
|
|
2829
3339
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2830
3340
|
}
|
|
3341
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3342
|
+
isEditMode?: boolean;
|
|
3343
|
+
componentInstanceId: string;
|
|
3344
|
+
};
|
|
2831
3345
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2832
3346
|
type DevPlugin = {
|
|
2833
3347
|
pluginId: string;
|
|
@@ -2881,22 +3395,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2881
3395
|
}
|
|
2882
3396
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2883
3397
|
import { FC } from 'react';
|
|
2884
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3398
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2885
3399
|
export const Plugins: FC<{
|
|
2886
3400
|
area: ExtensionArea;
|
|
2887
3401
|
} & any>;
|
|
2888
3402
|
}
|
|
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
3403
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2901
3404
|
export class Color {
|
|
2902
3405
|
private r;
|
|
@@ -3041,77 +3544,24 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3041
3544
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3042
3545
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3043
3546
|
}
|
|
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 = "[data-lt-reach-main-content=\"true\"]";
|
|
3103
|
-
export const statusColors: {
|
|
3104
|
-
draft: string;
|
|
3105
|
-
ready: string;
|
|
3106
|
-
rejected: string;
|
|
3107
|
-
};
|
|
3108
|
-
export const cardWidthS = 260;
|
|
3109
|
-
export const cardWidthM = 354;
|
|
3110
|
-
export const cardWidthL = 314;
|
|
3111
|
-
export const cardWidthXL = 423;
|
|
3112
|
-
export const managePagesRowWidth = 300;
|
|
3113
|
-
export const managePagesRowHeight = 40;
|
|
3114
|
-
export const mobilePreviewWidth = 414;
|
|
3547
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3548
|
+
import { FC } from 'react';
|
|
3549
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3550
|
+
export const Plugin: FC<PluginProps & {
|
|
3551
|
+
showDetailedErrorMessage?: boolean;
|
|
3552
|
+
} & any>;
|
|
3553
|
+
}
|
|
3554
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3555
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3556
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3557
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3558
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3559
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3560
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3561
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3562
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3563
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3564
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3115
3565
|
}
|
|
3116
3566
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3117
3567
|
import { FC, ReactNode } from 'react';
|
|
@@ -3189,10 +3639,14 @@ declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
|
3189
3639
|
getTermsAndConditions: () => Promise<TermsAndConditions>;
|
|
3190
3640
|
};
|
|
3191
3641
|
}
|
|
3642
|
+
declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
|
|
3643
|
+
export function useLazySubscriptionContext(): import("@livetiles/reach/util/common").LazySubscriptionContextType;
|
|
3644
|
+
}
|
|
3192
3645
|
declare module "libs/reach/util/common/src/subscription/index" {
|
|
3193
3646
|
export * from "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider";
|
|
3194
3647
|
export * from "libs/reach/util/common/src/subscription/SubscriptionContext";
|
|
3195
3648
|
export * from "libs/reach/util/common/src/subscription/useSubscriptionApi";
|
|
3649
|
+
export * from "libs/reach/util/common/src/subscription/useLazySubscriptionContext";
|
|
3196
3650
|
}
|
|
3197
3651
|
declare module "libs/reach/util/common/src/AppTrigger" {
|
|
3198
3652
|
import { DependencyList } from 'react';
|
|
@@ -3215,6 +3669,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3215
3669
|
width?: number;
|
|
3216
3670
|
height?: number;
|
|
3217
3671
|
}
|
|
3672
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3673
|
+
imageAlignment?: ImageAlignment;
|
|
3674
|
+
}
|
|
3675
|
+
export enum ImageAlignment {
|
|
3676
|
+
Default = "default",
|
|
3677
|
+
Left = "left",
|
|
3678
|
+
Right = "right",
|
|
3679
|
+
Center = "center"
|
|
3680
|
+
}
|
|
3218
3681
|
}
|
|
3219
3682
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3220
3683
|
export interface MainPanelContextType {
|
|
@@ -3225,13 +3688,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3225
3688
|
}
|
|
3226
3689
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3227
3690
|
}
|
|
3228
|
-
declare module "libs/reach/util/common/src/PagingService" {
|
|
3229
|
-
import { Observable } from 'rxjs';
|
|
3230
|
-
export const onPageScroll: Observable<number>;
|
|
3231
|
-
export function handlePageScroll(availableScrollSpace: number): void;
|
|
3232
|
-
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
3233
|
-
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
3234
|
-
}
|
|
3235
3691
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3236
3692
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3237
3693
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
@@ -3303,6 +3759,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3303
3759
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3304
3760
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3305
3761
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3762
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3306
3763
|
export * from "libs/reach/util/common/src/user/index";
|
|
3307
3764
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3308
3765
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3322,6 +3779,8 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3322
3779
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3323
3780
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3324
3781
|
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3782
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3783
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3325
3784
|
}
|
|
3326
3785
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3327
3786
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3378,7 +3837,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3378
3837
|
text?: string | JSX.Element;
|
|
3379
3838
|
resourceKey?: string;
|
|
3380
3839
|
values?: {
|
|
3381
|
-
[key: string]: string | number | boolean | Date;
|
|
3840
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3382
3841
|
};
|
|
3383
3842
|
width?: number;
|
|
3384
3843
|
onClick?: () => unknown;
|
|
@@ -3458,7 +3917,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3458
3917
|
export const PeoplePicker: FC<Props>;
|
|
3459
3918
|
}
|
|
3460
3919
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3461
|
-
import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme } from "libs/reach/util/common/src/index";
|
|
3920
|
+
import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme, EmbeddedPluginProps } from "libs/reach/util/common/src/index";
|
|
3462
3921
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3463
3922
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3464
3923
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3475,7 +3934,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3475
3934
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3476
3935
|
*/
|
|
3477
3936
|
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
|
|
3478
|
-
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
|
|
3937
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3479
3938
|
}
|
|
3480
3939
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3481
3940
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3491,6 +3950,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3491
3950
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3492
3951
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3493
3952
|
}
|
|
3953
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3954
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3955
|
+
}
|
|
3494
3956
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3495
3957
|
import { FC } from 'react';
|
|
3496
3958
|
export const NotificationBar: FC;
|
|
@@ -3507,6 +3969,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3507
3969
|
export const AudioFile: FC<{
|
|
3508
3970
|
fileName: string;
|
|
3509
3971
|
url: string;
|
|
3972
|
+
onPlay?: (url: string) => void;
|
|
3510
3973
|
}>;
|
|
3511
3974
|
export function isAudioFile(fileName: string): boolean;
|
|
3512
3975
|
}
|
|
@@ -3530,37 +3993,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3530
3993
|
color?: string;
|
|
3531
3994
|
}, never>;
|
|
3532
3995
|
}
|
|
3533
|
-
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
3534
|
-
export const smallScreenSpacing = 10;
|
|
3535
|
-
export const smallMaxContentWidth: number;
|
|
3536
|
-
export const mediumMaxContentWidth: number;
|
|
3537
|
-
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3538
|
-
}
|
|
3539
|
-
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3540
|
-
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3541
|
-
import { IntlShape } from 'react-intl';
|
|
3542
|
-
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3543
|
-
export function isValidUrl(url: string): boolean;
|
|
3544
|
-
export function getGoogleMapsSearchLink(name: string): string;
|
|
3545
|
-
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
3546
|
-
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
3547
|
-
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
3548
|
-
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
3549
|
-
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3550
|
-
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3551
|
-
export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
|
|
3552
|
-
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3553
|
-
logoInfo: LogoInfo;
|
|
3554
|
-
subscriptionName: string;
|
|
3555
|
-
};
|
|
3556
|
-
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3557
|
-
export function delay(delayInMs: number): Promise<unknown>;
|
|
3558
|
-
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3559
|
-
defaultWidth?: number;
|
|
3560
|
-
showPlaceholder?: boolean;
|
|
3561
|
-
}, never>;
|
|
3562
|
-
export function encodeChannelName(channelName: string): string;
|
|
3563
|
-
}
|
|
3564
3996
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3565
3997
|
import { FC } from 'react';
|
|
3566
3998
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3603,6 +4035,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDialog" {
|
|
|
3603
4035
|
infoResourceValues?: any;
|
|
3604
4036
|
onConfirm?: () => unknown;
|
|
3605
4037
|
onClose?: () => unknown;
|
|
4038
|
+
width?: number;
|
|
3606
4039
|
}>;
|
|
3607
4040
|
}
|
|
3608
4041
|
declare module "libs/reach/ui/common/src/common/ConfirmResetDialog" {
|
|
@@ -3638,7 +4071,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
|
|
|
3638
4071
|
export const isSameDay: (value: moment.MomentInput) => boolean;
|
|
3639
4072
|
export const DateTime: FC<Props>;
|
|
3640
4073
|
export const DateTimeRange: FC<{
|
|
3641
|
-
startDate
|
|
4074
|
+
startDate?: string;
|
|
3642
4075
|
endDate?: string;
|
|
3643
4076
|
className?: string;
|
|
3644
4077
|
}>;
|
|
@@ -3724,6 +4157,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3724
4157
|
export const VideoFile: FC<{
|
|
3725
4158
|
fileName: string;
|
|
3726
4159
|
url: string;
|
|
4160
|
+
onPlay?: (url: string) => void;
|
|
3727
4161
|
}>;
|
|
3728
4162
|
export function isVideoFile(fileName: string): boolean;
|
|
3729
4163
|
}
|
|
@@ -3746,25 +4180,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3746
4180
|
}[]>;
|
|
3747
4181
|
export function getFileIcon(filename: string): string;
|
|
3748
4182
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4183
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3749
4184
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3750
|
-
export function getMainScrollableContainer(): HTMLElement;
|
|
3751
4185
|
}
|
|
3752
4186
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4187
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3753
4188
|
export function useFileAccessTokenApi(): {
|
|
3754
4189
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3755
4190
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3756
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4191
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3757
4192
|
};
|
|
3758
4193
|
}
|
|
3759
4194
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3760
4195
|
import { FC } from 'react';
|
|
3761
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4196
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3762
4197
|
export const FileAttachmentList: FC<{
|
|
3763
4198
|
files: Attachment[];
|
|
3764
4199
|
onDeleteClick?: (file: Attachment) => void;
|
|
3765
4200
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4201
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4202
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3766
4203
|
fileAccessToken?: string;
|
|
3767
4204
|
disabled?: boolean;
|
|
4205
|
+
parentId?: string;
|
|
4206
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3768
4207
|
className?: string;
|
|
3769
4208
|
}>;
|
|
3770
4209
|
}
|
|
@@ -4064,6 +4503,28 @@ declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
|
4064
4503
|
import { IntlShape } from 'react-intl';
|
|
4065
4504
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4066
4505
|
}
|
|
4506
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4507
|
+
export const smallScreenSpacing = 10;
|
|
4508
|
+
export const smallMaxContentWidth: number;
|
|
4509
|
+
export const mediumMaxContentWidth: number;
|
|
4510
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4511
|
+
}
|
|
4512
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4513
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4514
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4515
|
+
export function isValidUrl(url: string): boolean;
|
|
4516
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4517
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4518
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4519
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4520
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4521
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4522
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4523
|
+
defaultWidth?: number;
|
|
4524
|
+
showPlaceholder?: boolean;
|
|
4525
|
+
}, never>;
|
|
4526
|
+
export function encodeChannelName(channelName: string): string;
|
|
4527
|
+
}
|
|
4067
4528
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4068
4529
|
import { FC, ReactNode } from 'react';
|
|
4069
4530
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4087,12 +4548,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4087
4548
|
}
|
|
4088
4549
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4089
4550
|
import { FC } from 'react';
|
|
4551
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4090
4552
|
export const AutoTranslateButton: FC<{
|
|
4091
4553
|
contentLanguageCode: string;
|
|
4092
4554
|
originalContent: string;
|
|
4093
4555
|
content: string;
|
|
4094
4556
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4095
4557
|
onContentChange: (content: string) => void;
|
|
4558
|
+
itemType: ItemResourceTypes;
|
|
4559
|
+
itemId: string;
|
|
4096
4560
|
tooltipResourceKey?: string;
|
|
4097
4561
|
showLabel?: boolean;
|
|
4098
4562
|
}>;
|
|
@@ -4376,6 +4840,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4376
4840
|
className?: string;
|
|
4377
4841
|
}>;
|
|
4378
4842
|
}
|
|
4843
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4844
|
+
export const useIsMounted: () => () => boolean;
|
|
4845
|
+
}
|
|
4379
4846
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4380
4847
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4381
4848
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4680,8 +5147,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
|
|
|
4680
5147
|
export interface Props extends IPersonaProps {
|
|
4681
5148
|
upn: string;
|
|
4682
5149
|
tenantId?: string;
|
|
4683
|
-
className?: string;
|
|
4684
5150
|
displayName?: string;
|
|
5151
|
+
forceShowSecondaryText?: boolean;
|
|
5152
|
+
className?: string;
|
|
4685
5153
|
}
|
|
4686
5154
|
export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
|
|
4687
5155
|
static type: string;
|
|
@@ -4856,6 +5324,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4856
5324
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4857
5325
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4858
5326
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5327
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4859
5328
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4860
5329
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4861
5330
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4888,6 +5357,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4888
5357
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
4889
5358
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
4890
5359
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5360
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
4891
5361
|
}
|
|
4892
5362
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
4893
5363
|
import { ReactNode } from 'react';
|
|
@@ -4939,16 +5409,17 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4939
5409
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4940
5410
|
}
|
|
4941
5411
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4942
|
-
import { FC } from 'react';
|
|
5412
|
+
import { FC, DependencyList } from 'react';
|
|
4943
5413
|
export interface Props {
|
|
4944
5414
|
navigateTo: string;
|
|
5415
|
+
onBeforeClose?: () => void;
|
|
4945
5416
|
onClose?: () => void;
|
|
4946
5417
|
tooltipResourceKey?: string;
|
|
4947
5418
|
useGoBack?: boolean;
|
|
4948
5419
|
className?: string;
|
|
4949
5420
|
}
|
|
4950
5421
|
export const CloseButton: FC<Props>;
|
|
4951
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5422
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4952
5423
|
}
|
|
4953
5424
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4954
5425
|
export const LogoHostStyle: (size?: {
|
|
@@ -4975,6 +5446,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4975
5446
|
closeButtonOptions?: CloseButtonOptions;
|
|
4976
5447
|
}
|
|
4977
5448
|
export interface CloseButtonOptions {
|
|
5449
|
+
onBeforeClose?: () => void;
|
|
4978
5450
|
onClick?: () => void;
|
|
4979
5451
|
disableGoBack?: boolean;
|
|
4980
5452
|
route?: string;
|
|
@@ -5040,9 +5512,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5040
5512
|
}
|
|
5041
5513
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5042
5514
|
import { FC, ReactNode } from 'react';
|
|
5515
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5043
5516
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5044
5517
|
import './BasicPage.scss';
|
|
5045
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5046
5518
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5047
5519
|
type HeaderToolbarObjectTypeHack = {
|
|
5048
5520
|
toolbarElement: JSX.Element;
|
|
@@ -5160,7 +5632,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5160
5632
|
addLanguage: (code: string) => Promise<Language>;
|
|
5161
5633
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5162
5634
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5163
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5635
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5636
|
+
name: string | null;
|
|
5637
|
+
hideName: boolean | null;
|
|
5638
|
+
}>;
|
|
5164
5639
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5165
5640
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5166
5641
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5466,11 +5941,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5466
5941
|
export { PushClient };
|
|
5467
5942
|
}
|
|
5468
5943
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5469
|
-
import { ConfigureOptions, MigrateResult,
|
|
5470
|
-
export class MobileHybridStorage implements
|
|
5944
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5945
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5471
5946
|
private pluginStorage;
|
|
5472
5947
|
private static memoryStorage;
|
|
5473
|
-
constructor(pluginStorage:
|
|
5948
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5474
5949
|
get(options: {
|
|
5475
5950
|
key: string;
|
|
5476
5951
|
}): Promise<any>;
|
|
@@ -5482,7 +5957,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5482
5957
|
key: string;
|
|
5483
5958
|
}): Promise<void>;
|
|
5484
5959
|
clear(): Promise<void>;
|
|
5485
|
-
keys(): Promise<import("@capacitor/
|
|
5960
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5486
5961
|
private static updateInMemoryStorage;
|
|
5487
5962
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5488
5963
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5518,7 +5993,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5518
5993
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5519
5994
|
}
|
|
5520
5995
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5521
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5996
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5522
5997
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5523
5998
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5524
5999
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5527,6 +6002,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5527
6002
|
getId(): Promise<DeviceId>;
|
|
5528
6003
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5529
6004
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
6005
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5530
6006
|
}
|
|
5531
6007
|
}
|
|
5532
6008
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5543,8 +6019,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5543
6019
|
}
|
|
5544
6020
|
}
|
|
5545
6021
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5546
|
-
import { ConfigureOptions, MigrateResult,
|
|
5547
|
-
export class WebStorage implements
|
|
6022
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
6023
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5548
6024
|
storage: Storage;
|
|
5549
6025
|
get(options: {
|
|
5550
6026
|
key: string;
|
|
@@ -5578,14 +6054,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5578
6054
|
import { SharePlugin } from '@capacitor/share';
|
|
5579
6055
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5580
6056
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5581
|
-
import {
|
|
6057
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5582
6058
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5583
6059
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5584
6060
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5585
6061
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5586
6062
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5587
6063
|
export interface CondensePluginRegistry {
|
|
5588
|
-
Storage:
|
|
6064
|
+
Storage: PreferencesPlugin;
|
|
5589
6065
|
Device: DevicePlugin;
|
|
5590
6066
|
App: AppPlugin;
|
|
5591
6067
|
Keyboard: KeyboardPlugin;
|
|
@@ -6114,14 +6590,18 @@ declare module "apps/reach-app/src/app/admin/web-hooks/utils" {
|
|
|
6114
6590
|
CommentUpdated = "CommentUpdated",
|
|
6115
6591
|
CommentDeleted = "CommentDeleted",
|
|
6116
6592
|
LikeAdded = "LikeAdded",
|
|
6117
|
-
LikeRemoved = "LikeRemoved"
|
|
6593
|
+
LikeRemoved = "LikeRemoved",
|
|
6594
|
+
PostCreated = "PostCreated",
|
|
6595
|
+
PostUpdated = "PostUpdated",
|
|
6596
|
+
PostDeleted = "PostDeleted"
|
|
6118
6597
|
}
|
|
6119
6598
|
export enum WebHookCategory {
|
|
6120
6599
|
News = "News",
|
|
6121
6600
|
Events = "Events",
|
|
6122
6601
|
Comments = "Comments",
|
|
6123
6602
|
Likes = "Likes",
|
|
6124
|
-
UserSelfRegistration = "UserSelfRegistration"
|
|
6603
|
+
UserSelfRegistration = "UserSelfRegistration",
|
|
6604
|
+
Posts = "Posts"
|
|
6125
6605
|
}
|
|
6126
6606
|
}
|
|
6127
6607
|
declare module "apps/reach-app/src/app/admin/web-hooks/WebHookEditor" {
|
|
@@ -6247,7 +6727,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6247
6727
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6248
6728
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6249
6729
|
export function useSelfRegistrationApi(): {
|
|
6250
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6730
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6251
6731
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6252
6732
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6253
6733
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6303,6 +6783,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6303
6783
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6304
6784
|
}>;
|
|
6305
6785
|
}
|
|
6786
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6787
|
+
import { FC } from 'react';
|
|
6788
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6789
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6790
|
+
onApiKeyAdded?: () => void;
|
|
6791
|
+
onDismiss: () => void;
|
|
6792
|
+
user?: UserItem;
|
|
6793
|
+
}>;
|
|
6794
|
+
}
|
|
6306
6795
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6307
6796
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6308
6797
|
import './UserList.scss';
|
|
@@ -6326,7 +6815,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6326
6815
|
isLoading?: boolean;
|
|
6327
6816
|
isEmpty?: boolean;
|
|
6328
6817
|
emptyPlaceholder?: ReactNode;
|
|
6818
|
+
onKeyChanged?: () => void;
|
|
6329
6819
|
}
|
|
6820
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6821
|
+
accountType: string;
|
|
6822
|
+
lastLogin: string | JSX.Element;
|
|
6823
|
+
};
|
|
6330
6824
|
export const UserList: FC<Props>;
|
|
6331
6825
|
}
|
|
6332
6826
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6359,12 +6853,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6359
6853
|
className?: string;
|
|
6360
6854
|
}>;
|
|
6361
6855
|
}
|
|
6362
|
-
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
|
|
6363
|
-
import { FC } from 'react';
|
|
6364
|
-
export const GenerateApiKeyButton: FC<{
|
|
6365
|
-
onApiKeyAdded: () => void;
|
|
6366
|
-
}>;
|
|
6367
|
-
}
|
|
6368
6856
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6369
6857
|
import { FC } from 'react';
|
|
6370
6858
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6384,19 +6872,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6384
6872
|
}
|
|
6385
6873
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6386
6874
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6875
|
+
export enum ValidationStatus {
|
|
6876
|
+
Valid = 0,
|
|
6877
|
+
WithErrors = 1,
|
|
6878
|
+
WithUserErrors = 2
|
|
6879
|
+
}
|
|
6880
|
+
export type CsvValidation = {
|
|
6881
|
+
Status?: ValidationStatus;
|
|
6882
|
+
Message?: string;
|
|
6883
|
+
InvalidItems?: string[];
|
|
6884
|
+
};
|
|
6387
6885
|
export function useUserCsvInviter(): {
|
|
6388
6886
|
invitedUsers: UserImport[];
|
|
6389
6887
|
isValidating: boolean;
|
|
6390
6888
|
isCsvValid: boolean;
|
|
6391
6889
|
parseCsvFile: (csvFile: File) => void;
|
|
6392
|
-
|
|
6393
|
-
|
|
6890
|
+
csvValidation: CsvValidation;
|
|
6891
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6394
6892
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6395
6893
|
isParserReady: boolean;
|
|
6396
6894
|
isInviting: boolean;
|
|
6397
6895
|
canInvite: boolean;
|
|
6896
|
+
csvFile: File;
|
|
6398
6897
|
};
|
|
6399
6898
|
}
|
|
6899
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6900
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6901
|
+
}
|
|
6902
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6903
|
+
import { FC } from 'react';
|
|
6904
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6905
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6906
|
+
export const CsvFileValidationResult: FC<{
|
|
6907
|
+
csvValidation: CsvValidation;
|
|
6908
|
+
invitedUsers: UserImport[];
|
|
6909
|
+
}>;
|
|
6910
|
+
}
|
|
6400
6911
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6401
6912
|
import { FC } from 'react';
|
|
6402
6913
|
export const ImportUserButton: FC<{
|
|
@@ -6429,9 +6940,6 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6429
6940
|
children?: (content: string, index: number) => JSX.Element;
|
|
6430
6941
|
}>;
|
|
6431
6942
|
}
|
|
6432
|
-
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
6433
|
-
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6434
|
-
}
|
|
6435
6943
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6436
6944
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6437
6945
|
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
@@ -6478,6 +6986,13 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6478
6986
|
likeCount: number;
|
|
6479
6987
|
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6480
6988
|
}
|
|
6989
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
6990
|
+
static type: string;
|
|
6991
|
+
type: string;
|
|
6992
|
+
recurrenceSeriesId: string;
|
|
6993
|
+
isFollowed: boolean;
|
|
6994
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
6995
|
+
}
|
|
6481
6996
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6482
6997
|
static type: string;
|
|
6483
6998
|
type: string;
|
|
@@ -6504,6 +7019,20 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6504
7019
|
itemId: string;
|
|
6505
7020
|
static create(itemId: string): RefetchItemAction;
|
|
6506
7021
|
}
|
|
7022
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
7023
|
+
static type: string;
|
|
7024
|
+
type: string;
|
|
7025
|
+
itemId: string;
|
|
7026
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
7027
|
+
}
|
|
7028
|
+
export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
|
|
7029
|
+
static type: string;
|
|
7030
|
+
type: string;
|
|
7031
|
+
pageId: string;
|
|
7032
|
+
parentId: string;
|
|
7033
|
+
affectedGroupIds: string[];
|
|
7034
|
+
static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
|
|
7035
|
+
}
|
|
6507
7036
|
}
|
|
6508
7037
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6509
7038
|
export interface CommentFilter {
|
|
@@ -6520,130 +7049,55 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6520
7049
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6521
7050
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6522
7051
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7052
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6523
7053
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6524
7054
|
export function useCommentApi(): {
|
|
6525
|
-
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) =>
|
|
6526
|
-
createEditorComment: (itemId: string, comment: Partial<Comment>) =>
|
|
6527
|
-
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) =>
|
|
6528
|
-
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) =>
|
|
6529
|
-
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) =>
|
|
6530
|
-
getEditorConversations: (itemId: string) =>
|
|
7055
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7056
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7057
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7058
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7059
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7060
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6531
7061
|
translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
|
|
6532
|
-
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) =>
|
|
6533
|
-
deleteEditorComment: (itemId: string, commentId: string) =>
|
|
7062
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7063
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6534
7064
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6535
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7065
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6536
7066
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6537
7067
|
};
|
|
6538
7068
|
}
|
|
6539
|
-
declare module "libs/reach/feature/content/src/
|
|
7069
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7070
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
7071
|
+
}
|
|
7072
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
6540
7073
|
import { FC } from 'react';
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
7074
|
+
export const ConfirmationBox: FC<{
|
|
7075
|
+
disabled?: boolean;
|
|
7076
|
+
onChange?: (value: boolean) => void;
|
|
7077
|
+
checked: boolean;
|
|
7078
|
+
}>;
|
|
7079
|
+
}
|
|
7080
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
7081
|
+
import { FC, ReactNode } from 'react';
|
|
7082
|
+
export const GutterMarkerIcon: FC<{
|
|
7083
|
+
iconName: string;
|
|
7084
|
+
children: ReactNode;
|
|
7085
|
+
isActive: boolean;
|
|
7086
|
+
color: string;
|
|
7087
|
+
tooltipResourceKey?: string;
|
|
6546
7088
|
className?: string;
|
|
6547
|
-
|
|
6548
|
-
|
|
7089
|
+
}>;
|
|
7090
|
+
}
|
|
7091
|
+
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
7092
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7093
|
+
export interface OwnerFilterDefinition extends IndexableFilterDefinition {
|
|
7094
|
+
owner?: string;
|
|
6549
7095
|
}
|
|
6550
|
-
export const FollowComments: FC<Props>;
|
|
6551
7096
|
}
|
|
6552
|
-
declare module "libs/reach/feature/content/src/
|
|
6553
|
-
import {
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
id: string;
|
|
6557
|
-
upn: string;
|
|
6558
|
-
displayName: string;
|
|
6559
|
-
display: string;
|
|
6560
|
-
}
|
|
6561
|
-
export interface SuggestionArgs {
|
|
6562
|
-
searchText: string;
|
|
6563
|
-
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
6564
|
-
}
|
|
6565
|
-
export interface CommentInputProps {
|
|
6566
|
-
className?: string;
|
|
6567
|
-
content: string;
|
|
6568
|
-
disabled?: boolean;
|
|
6569
|
-
autoFocus?: boolean;
|
|
6570
|
-
onEnter?: () => void;
|
|
6571
|
-
onCtrlEnter?: () => unknown;
|
|
6572
|
-
onChange?: (value: string) => void;
|
|
6573
|
-
onFocus?: () => void;
|
|
6574
|
-
additionalInputControl?: ReactNode;
|
|
6575
|
-
buttons?: {
|
|
6576
|
-
leftSide?: ReactNode;
|
|
6577
|
-
rightSide?: ReactNode;
|
|
6578
|
-
};
|
|
6579
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6580
|
-
placeHolderStringResourceKey?: string;
|
|
6581
|
-
placeHolderStringResourceValues?: {
|
|
6582
|
-
[key: string]: string | number | boolean | Date;
|
|
6583
|
-
};
|
|
6584
|
-
disableBoxShadow?: boolean;
|
|
6585
|
-
ariaLabel?: string;
|
|
6586
|
-
}
|
|
6587
|
-
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6588
|
-
}
|
|
6589
|
-
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
6590
|
-
import { FC } from 'react';
|
|
6591
|
-
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6592
|
-
isActive: boolean;
|
|
6593
|
-
}, never>;
|
|
6594
|
-
export const DropInfo: FC;
|
|
6595
|
-
}
|
|
6596
|
-
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6597
|
-
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
6598
|
-
export interface KalturaProperties {
|
|
6599
|
-
sp?: string;
|
|
6600
|
-
uiconfId?: string;
|
|
6601
|
-
partnerId?: string;
|
|
6602
|
-
entryId?: string;
|
|
6603
|
-
}
|
|
6604
|
-
export class VideoUrlParser {
|
|
6605
|
-
private url;
|
|
6606
|
-
private static ytRegex;
|
|
6607
|
-
private static vimeoRegex;
|
|
6608
|
-
private static microsoftStreamRegex;
|
|
6609
|
-
private static vimeoDirectLinkRegex;
|
|
6610
|
-
private static vimeoRedirectLinkRegex;
|
|
6611
|
-
private static kalturaRegex;
|
|
6612
|
-
readonly source: VideoSource | null;
|
|
6613
|
-
readonly id: string | null;
|
|
6614
|
-
readonly isDirectVideoUrl: boolean;
|
|
6615
|
-
readonly videoProperties: any;
|
|
6616
|
-
readonly thumbnailUrl: string;
|
|
6617
|
-
constructor(url: string);
|
|
6618
|
-
isValid(features: FeatureSet): boolean;
|
|
6619
|
-
}
|
|
6620
|
-
export function getVideoSources(features: FeatureSet): any[];
|
|
6621
|
-
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6622
|
-
export function getAllVideoSources(features: FeatureSet): any[];
|
|
6623
|
-
}
|
|
6624
|
-
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6625
|
-
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
6626
|
-
export function getAllVideosFromString(content: string): Generator<{
|
|
6627
|
-
url: string;
|
|
6628
|
-
type: AttachmentType;
|
|
6629
|
-
}, void, unknown>;
|
|
6630
|
-
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
6631
|
-
url: string;
|
|
6632
|
-
subscriptionIdentifier: string;
|
|
6633
|
-
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
6634
|
-
id: string;
|
|
6635
|
-
}, void, unknown>;
|
|
6636
|
-
}
|
|
6637
|
-
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
6638
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6639
|
-
export interface OwnerFilterDefinition extends IndexableFilterDefinition {
|
|
6640
|
-
owner?: string;
|
|
6641
|
-
}
|
|
6642
|
-
}
|
|
6643
|
-
declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
6644
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6645
|
-
export interface SourceFilterDefinition extends IndexableFilterDefinition {
|
|
6646
|
-
source?: string;
|
|
7097
|
+
declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
7098
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7099
|
+
export interface SourceFilterDefinition extends IndexableFilterDefinition {
|
|
7100
|
+
source?: string;
|
|
6647
7101
|
}
|
|
6648
7102
|
}
|
|
6649
7103
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
@@ -6686,6 +7140,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6686
7140
|
And = "AND"
|
|
6687
7141
|
}
|
|
6688
7142
|
}
|
|
7143
|
+
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
7144
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7145
|
+
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
7146
|
+
author?: string;
|
|
7147
|
+
}
|
|
7148
|
+
}
|
|
7149
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
7150
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7151
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
7152
|
+
channels?: FilterWithLogicalOperator;
|
|
7153
|
+
}
|
|
7154
|
+
}
|
|
7155
|
+
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
7156
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7157
|
+
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
7158
|
+
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
7159
|
+
state?: WorkflowStatus;
|
|
7160
|
+
}
|
|
7161
|
+
}
|
|
7162
|
+
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
7163
|
+
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
7164
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7165
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
7166
|
+
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
7167
|
+
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
7168
|
+
groupId?: string;
|
|
7169
|
+
bookmarksOnly?: boolean;
|
|
7170
|
+
unreadOnly?: boolean;
|
|
7171
|
+
includeExpired?: boolean;
|
|
7172
|
+
}
|
|
7173
|
+
}
|
|
7174
|
+
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
7175
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7176
|
+
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
7177
|
+
afterDate?: string;
|
|
7178
|
+
}
|
|
7179
|
+
}
|
|
7180
|
+
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
7181
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7182
|
+
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
7183
|
+
contacts?: string[];
|
|
7184
|
+
}
|
|
7185
|
+
}
|
|
6689
7186
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6690
7187
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
6691
7188
|
export class SortFieldsDefinitionBuilder<T extends string> {
|
|
@@ -6701,18 +7198,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
|
|
|
6701
7198
|
startsBefore?: string;
|
|
6702
7199
|
}
|
|
6703
7200
|
}
|
|
6704
|
-
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
6705
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6706
|
-
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
6707
|
-
contacts?: string[];
|
|
6708
|
-
}
|
|
6709
|
-
}
|
|
6710
|
-
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6711
|
-
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6712
|
-
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6713
|
-
channels?: FilterWithLogicalOperator;
|
|
6714
|
-
}
|
|
6715
|
-
}
|
|
6716
7201
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6717
7202
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6718
7203
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
@@ -6729,18 +7214,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6729
7214
|
}
|
|
6730
7215
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6731
7216
|
}
|
|
6732
|
-
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
6733
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6734
|
-
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
6735
|
-
afterDate?: string;
|
|
6736
|
-
}
|
|
6737
|
-
}
|
|
6738
|
-
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6739
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6740
|
-
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6741
|
-
author?: string;
|
|
6742
|
-
}
|
|
6743
|
-
}
|
|
6744
7217
|
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6745
7218
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6746
7219
|
export interface FilteringProps {
|
|
@@ -6750,25 +7223,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
6750
7223
|
isFilterActive?: boolean;
|
|
6751
7224
|
}
|
|
6752
7225
|
}
|
|
6753
|
-
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
6754
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6755
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
6756
|
-
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
6757
|
-
state?: WorkflowStatus;
|
|
6758
|
-
}
|
|
6759
|
-
}
|
|
6760
|
-
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
6761
|
-
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6762
|
-
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6763
|
-
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6764
|
-
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6765
|
-
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6766
|
-
groupId?: string;
|
|
6767
|
-
bookmarksOnly?: boolean;
|
|
6768
|
-
unreadOnly?: boolean;
|
|
6769
|
-
includeExpired?: boolean;
|
|
6770
|
-
}
|
|
6771
|
-
}
|
|
6772
7226
|
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6773
7227
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6774
7228
|
export enum ItemTypeFilterFlag {
|
|
@@ -6850,16 +7304,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
|
|
|
6850
7304
|
};
|
|
6851
7305
|
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6852
7306
|
}
|
|
6853
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6854
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6855
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6856
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6857
|
-
export function useEventsApi(): {
|
|
6858
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6859
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6860
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6861
|
-
};
|
|
6862
|
-
}
|
|
6863
7307
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6864
7308
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6865
7309
|
import { Observable } from 'rxjs';
|
|
@@ -6919,67 +7363,276 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
|
|
|
6919
7363
|
import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
|
|
6920
7364
|
export function useNewsApi(): NewsApiService;
|
|
6921
7365
|
}
|
|
6922
|
-
declare module "libs/reach/feature/content/src/
|
|
6923
|
-
import {
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
pageContextId?: string;
|
|
6927
|
-
restrictToPageContext?: boolean;
|
|
6928
|
-
rootPagesOnly?: boolean;
|
|
6929
|
-
parentId?: string;
|
|
6930
|
-
pageType?: PageType;
|
|
7366
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7367
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7368
|
+
export default interface FeedbackSummary {
|
|
7369
|
+
records: FeedbackItem[];
|
|
6931
7370
|
}
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
loadPage: (id: string) => Promise<PageItem>;
|
|
6939
|
-
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
6940
|
-
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
6941
|
-
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
6942
|
-
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
6943
|
-
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
6944
|
-
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
6945
|
-
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
6946
|
-
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
6947
|
-
};
|
|
6948
|
-
}
|
|
6949
|
-
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
6950
|
-
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6951
|
-
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6952
|
-
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6953
|
-
id: string;
|
|
6954
|
-
comments?: PaginatedList<Comment>;
|
|
6955
|
-
groupId: string;
|
|
6956
|
-
content: string;
|
|
6957
|
-
permalink?: string;
|
|
6958
|
-
author: Account;
|
|
6959
|
-
publishingDate: string;
|
|
6960
|
-
modified?: string;
|
|
6961
|
-
statistics: ItemStatistics;
|
|
6962
|
-
keywords?: {
|
|
6963
|
-
[key: string]: Keyword[];
|
|
6964
|
-
};
|
|
6965
|
-
contentLanguageCode?: string;
|
|
6966
|
-
isLiked?: boolean;
|
|
6967
|
-
isUnread?: boolean;
|
|
6968
|
-
isDemoContent?: boolean;
|
|
6969
|
-
isFollowing?: boolean;
|
|
7371
|
+
export enum FeedbackItemType {
|
|
7372
|
+
comment = "comment",
|
|
7373
|
+
like = "like",
|
|
7374
|
+
confirm = "confirm",
|
|
7375
|
+
poll = "poll",
|
|
7376
|
+
eventRegistration = "eventRegistration"
|
|
6970
7377
|
}
|
|
6971
|
-
export interface
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
7378
|
+
export interface FeedbackItem {
|
|
7379
|
+
type: FeedbackItemType;
|
|
7380
|
+
timestamp: string;
|
|
7381
|
+
}
|
|
7382
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7383
|
+
type: FeedbackItemType.poll;
|
|
7384
|
+
answers: PollQuestionAnswer[];
|
|
6976
7385
|
}
|
|
6977
|
-
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6978
|
-
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
6979
|
-
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
6980
7386
|
}
|
|
6981
|
-
declare module "libs/reach/feature/content/src/
|
|
6982
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7387
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7388
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7389
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7390
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7391
|
+
export const feedbackCache: {
|
|
7392
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7393
|
+
};
|
|
7394
|
+
export function useFeedbackApi(): {
|
|
7395
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7396
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7397
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7398
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7399
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7400
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7401
|
+
};
|
|
7402
|
+
}
|
|
7403
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
7404
|
+
import { FC } from 'react';
|
|
7405
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
7406
|
+
export const ConfirmationSection: FC<{
|
|
7407
|
+
item?: NewsItem;
|
|
7408
|
+
showDescription: boolean;
|
|
7409
|
+
readOnly?: boolean;
|
|
7410
|
+
className?: string;
|
|
7411
|
+
}>;
|
|
7412
|
+
}
|
|
7413
|
+
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7414
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7415
|
+
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7416
|
+
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7417
|
+
export class NewsService {
|
|
7418
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7419
|
+
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7420
|
+
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7421
|
+
static getContentLanguages(contents: {
|
|
7422
|
+
[lang: string]: ContentDefinition;
|
|
7423
|
+
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7424
|
+
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7425
|
+
static getLanguageForContent(contents: {
|
|
7426
|
+
[lang: string]: ContentDefinition;
|
|
7427
|
+
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7428
|
+
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7429
|
+
}
|
|
7430
|
+
}
|
|
7431
|
+
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7432
|
+
import { FC } from 'react';
|
|
7433
|
+
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7434
|
+
export interface TranslationItem {
|
|
7435
|
+
language: string;
|
|
7436
|
+
id: string;
|
|
7437
|
+
text: string;
|
|
7438
|
+
}
|
|
7439
|
+
export const PollTranslationContext: import("react").Context<{
|
|
7440
|
+
getTranslation: (id: string) => string;
|
|
7441
|
+
getAllTranslations: (id: string) => TranslationItem[];
|
|
7442
|
+
}>;
|
|
7443
|
+
export const PollTranslationContextProvider: FC<{
|
|
7444
|
+
contents?: PublishableItemContents;
|
|
7445
|
+
language: string;
|
|
7446
|
+
additionalTranslations?: TranslationItem[];
|
|
7447
|
+
}>;
|
|
7448
|
+
}
|
|
7449
|
+
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7450
|
+
import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7451
|
+
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7452
|
+
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7453
|
+
export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
|
|
7454
|
+
}
|
|
7455
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
7456
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
7457
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
7458
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7459
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
7460
|
+
}
|
|
7461
|
+
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
7462
|
+
import { FC } from 'react';
|
|
7463
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7464
|
+
export interface Props {
|
|
7465
|
+
type: ItemResourceTypes;
|
|
7466
|
+
itemId: string;
|
|
7467
|
+
recurrenceSeriesId?: string;
|
|
7468
|
+
className?: string;
|
|
7469
|
+
scope: ConversationScope;
|
|
7470
|
+
hideProfileUrl?: boolean;
|
|
7471
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
7472
|
+
isReadOnly?: boolean;
|
|
7473
|
+
}
|
|
7474
|
+
export const FollowComments: FC<Props>;
|
|
7475
|
+
export const FollowCommentsNotificationWarning: FC<{
|
|
7476
|
+
hideProfileUrl?: boolean;
|
|
7477
|
+
className?: string;
|
|
7478
|
+
}>;
|
|
7479
|
+
}
|
|
7480
|
+
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
7481
|
+
import { ReactNode } from 'react';
|
|
7482
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7483
|
+
export interface UserSuggestion {
|
|
7484
|
+
id: string;
|
|
7485
|
+
upn: string;
|
|
7486
|
+
displayName: string;
|
|
7487
|
+
display: string;
|
|
7488
|
+
}
|
|
7489
|
+
export interface SuggestionArgs {
|
|
7490
|
+
searchText: string;
|
|
7491
|
+
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
7492
|
+
}
|
|
7493
|
+
export interface CommentInputProps {
|
|
7494
|
+
className?: string;
|
|
7495
|
+
content: string;
|
|
7496
|
+
disabled?: boolean;
|
|
7497
|
+
autoFocus?: boolean;
|
|
7498
|
+
onEnter?: () => void;
|
|
7499
|
+
onCtrlEnter?: () => unknown;
|
|
7500
|
+
onChange?: (value: string) => void;
|
|
7501
|
+
onFocus?: () => void;
|
|
7502
|
+
additionalInputControl?: ReactNode;
|
|
7503
|
+
buttons?: {
|
|
7504
|
+
leftSide?: ReactNode;
|
|
7505
|
+
rightSide?: ReactNode;
|
|
7506
|
+
};
|
|
7507
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7508
|
+
placeHolderStringResourceKey?: string;
|
|
7509
|
+
placeHolderStringResourceValues?: {
|
|
7510
|
+
[key: string]: string | number | boolean | Date;
|
|
7511
|
+
};
|
|
7512
|
+
disableBoxShadow?: boolean;
|
|
7513
|
+
ariaLabel?: string;
|
|
7514
|
+
}
|
|
7515
|
+
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7516
|
+
}
|
|
7517
|
+
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
7518
|
+
import { FC } from 'react';
|
|
7519
|
+
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7520
|
+
isActive: boolean;
|
|
7521
|
+
}, never>;
|
|
7522
|
+
export const DropInfo: FC;
|
|
7523
|
+
}
|
|
7524
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
7525
|
+
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
7526
|
+
export interface KalturaProperties {
|
|
7527
|
+
sp?: string;
|
|
7528
|
+
uiconfId?: string;
|
|
7529
|
+
partnerId?: string;
|
|
7530
|
+
entryId?: string;
|
|
7531
|
+
}
|
|
7532
|
+
export class VideoUrlParser {
|
|
7533
|
+
private url;
|
|
7534
|
+
private static ytRegex;
|
|
7535
|
+
private static vimeoRegex;
|
|
7536
|
+
private static microsoftStreamRegex;
|
|
7537
|
+
private static vimeoDirectLinkRegex;
|
|
7538
|
+
private static vimeoRedirectLinkRegex;
|
|
7539
|
+
private static kalturaRegex;
|
|
7540
|
+
readonly source: VideoSource | null;
|
|
7541
|
+
readonly id: string | null;
|
|
7542
|
+
readonly isDirectVideoUrl: boolean;
|
|
7543
|
+
readonly videoProperties: any;
|
|
7544
|
+
readonly thumbnailUrl: string;
|
|
7545
|
+
constructor(url: string);
|
|
7546
|
+
isValid(features: FeatureSet): boolean;
|
|
7547
|
+
}
|
|
7548
|
+
export function getVideoSources(features: FeatureSet): any[];
|
|
7549
|
+
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
7550
|
+
export function getAllVideoSources(features: FeatureSet): any[];
|
|
7551
|
+
}
|
|
7552
|
+
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
7553
|
+
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
7554
|
+
export function getAllVideosFromString(content: string): Generator<{
|
|
7555
|
+
url: string;
|
|
7556
|
+
type: AttachmentType;
|
|
7557
|
+
}, void, unknown>;
|
|
7558
|
+
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
7559
|
+
url: string;
|
|
7560
|
+
subscriptionIdentifier: string;
|
|
7561
|
+
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
7562
|
+
id: string;
|
|
7563
|
+
}, void, unknown>;
|
|
7564
|
+
}
|
|
7565
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7566
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7567
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7568
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7569
|
+
export function useEventsApi(): {
|
|
7570
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7571
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
7572
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7573
|
+
};
|
|
7574
|
+
}
|
|
7575
|
+
declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
|
|
7576
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7577
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
7578
|
+
export interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
7579
|
+
pageContextId?: string;
|
|
7580
|
+
restrictToPageContext?: boolean;
|
|
7581
|
+
rootPagesOnly?: boolean;
|
|
7582
|
+
parentId?: string;
|
|
7583
|
+
pageType?: PageType;
|
|
7584
|
+
}
|
|
7585
|
+
}
|
|
7586
|
+
declare module "libs/reach/feature/content/src/pages/usePagesApi" {
|
|
7587
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7588
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7589
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
7590
|
+
export function usePagesApi(): {
|
|
7591
|
+
loadPage: (id: string) => Promise<PageItem>;
|
|
7592
|
+
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7593
|
+
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7594
|
+
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7595
|
+
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7596
|
+
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7597
|
+
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7598
|
+
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7599
|
+
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7600
|
+
};
|
|
7601
|
+
}
|
|
7602
|
+
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7603
|
+
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7604
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7605
|
+
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7606
|
+
id: string;
|
|
7607
|
+
comments?: PaginatedList<Comment>;
|
|
7608
|
+
groupId: string;
|
|
7609
|
+
content: string;
|
|
7610
|
+
permalink?: string;
|
|
7611
|
+
author: Account;
|
|
7612
|
+
publishingDate: string;
|
|
7613
|
+
modified?: string;
|
|
7614
|
+
statistics: ItemStatistics;
|
|
7615
|
+
keywords?: {
|
|
7616
|
+
[key: string]: Keyword[];
|
|
7617
|
+
};
|
|
7618
|
+
contentLanguageCode?: string;
|
|
7619
|
+
isLiked?: boolean;
|
|
7620
|
+
isUnread?: boolean;
|
|
7621
|
+
isDemoContent?: boolean;
|
|
7622
|
+
isFollowing?: boolean;
|
|
7623
|
+
}
|
|
7624
|
+
export interface PostFilterDefinition {
|
|
7625
|
+
token?: string;
|
|
7626
|
+
pageSize?: string;
|
|
7627
|
+
search?: string;
|
|
7628
|
+
keywords?: FilterWithLogicalOperator;
|
|
7629
|
+
}
|
|
7630
|
+
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
7631
|
+
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
7632
|
+
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7633
|
+
}
|
|
7634
|
+
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
7635
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6983
7636
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6984
7637
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6985
7638
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6994,7 +7647,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
6994
7647
|
deletePost: (postId: string) => Promise<unknown>;
|
|
6995
7648
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
6996
7649
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
6997
|
-
translatePost: (postId: string, language: string) =>
|
|
7650
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
6998
7651
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
6999
7652
|
};
|
|
7000
7653
|
}
|
|
@@ -7004,7 +7657,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
|
|
|
7004
7657
|
}
|
|
7005
7658
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
7006
7659
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
7007
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7660
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7008
7661
|
export interface ClientAttachment extends Attachment {
|
|
7009
7662
|
file?: File;
|
|
7010
7663
|
}
|
|
@@ -7020,6 +7673,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
7020
7673
|
placeHolderStringResourceKey?: string;
|
|
7021
7674
|
disableAddGif?: boolean;
|
|
7022
7675
|
disableAddFiles?: boolean;
|
|
7676
|
+
parentId?: string;
|
|
7677
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7023
7678
|
};
|
|
7024
7679
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
7025
7680
|
attachments: Attachment[];
|
|
@@ -7032,6 +7687,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
7032
7687
|
placeHolderStringResourceKey?: string;
|
|
7033
7688
|
disableAddGif?: boolean;
|
|
7034
7689
|
disableAddFiles?: boolean;
|
|
7690
|
+
parentId?: string;
|
|
7691
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7035
7692
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7036
7693
|
}
|
|
7037
7694
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7140,24 +7797,6 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7140
7797
|
showAllKeywordsInCallout?: boolean;
|
|
7141
7798
|
}>;
|
|
7142
7799
|
}
|
|
7143
|
-
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7144
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7145
|
-
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7146
|
-
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7147
|
-
export class NewsService {
|
|
7148
|
-
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7149
|
-
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7150
|
-
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7151
|
-
static getContentLanguages(contents: {
|
|
7152
|
-
[lang: string]: ContentDefinition;
|
|
7153
|
-
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7154
|
-
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7155
|
-
static getLanguageForContent(contents: {
|
|
7156
|
-
[lang: string]: ContentDefinition;
|
|
7157
|
-
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7158
|
-
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7159
|
-
}
|
|
7160
|
-
}
|
|
7161
7800
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7162
7801
|
import { FC, MouseEvent } from 'react';
|
|
7163
7802
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -7233,6 +7872,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7233
7872
|
className?: string;
|
|
7234
7873
|
allowFilterByChannels?: boolean;
|
|
7235
7874
|
channelBackgroundColor?: string;
|
|
7875
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7236
7876
|
}>;
|
|
7237
7877
|
}
|
|
7238
7878
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7292,6 +7932,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7292
7932
|
height?: number;
|
|
7293
7933
|
hidePlayerIfActive?: boolean;
|
|
7294
7934
|
className?: string;
|
|
7935
|
+
documentIconName?: string;
|
|
7295
7936
|
}
|
|
7296
7937
|
export const PublishableItemBanner: FC<Props>;
|
|
7297
7938
|
}
|
|
@@ -7377,27 +8018,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7377
8018
|
}
|
|
7378
8019
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7379
8020
|
}
|
|
7380
|
-
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7381
|
-
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7382
|
-
export default interface FeedbackSummary {
|
|
7383
|
-
records: FeedbackItem[];
|
|
7384
|
-
}
|
|
7385
|
-
export enum FeedbackItemType {
|
|
7386
|
-
comment = "comment",
|
|
7387
|
-
like = "like",
|
|
7388
|
-
confirm = "confirm",
|
|
7389
|
-
poll = "poll",
|
|
7390
|
-
eventRegistration = "eventRegistration"
|
|
7391
|
-
}
|
|
7392
|
-
export interface FeedbackItem {
|
|
7393
|
-
type: FeedbackItemType;
|
|
7394
|
-
timestamp: string;
|
|
7395
|
-
}
|
|
7396
|
-
export interface PollFeedbackItem extends FeedbackItem {
|
|
7397
|
-
type: FeedbackItemType.poll;
|
|
7398
|
-
answers: PollQuestionAnswer[];
|
|
7399
|
-
}
|
|
7400
|
-
}
|
|
7401
8021
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7402
8022
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7403
8023
|
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
@@ -7416,6 +8036,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7416
8036
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7417
8037
|
export const EventRegistrationButton: FC<{
|
|
7418
8038
|
isRegistered: boolean;
|
|
8039
|
+
eventId: string;
|
|
7419
8040
|
disabled?: boolean;
|
|
7420
8041
|
className?: string;
|
|
7421
8042
|
onClick?: () => void;
|
|
@@ -7426,24 +8047,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7426
8047
|
isRegistered?: boolean;
|
|
7427
8048
|
}, never>;
|
|
7428
8049
|
}
|
|
7429
|
-
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7430
|
-
import { FC } from 'react';
|
|
7431
|
-
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7432
|
-
export interface TranslationItem {
|
|
7433
|
-
language: string;
|
|
7434
|
-
id: string;
|
|
7435
|
-
text: string;
|
|
7436
|
-
}
|
|
7437
|
-
export const PollTranslationContext: import("react").Context<{
|
|
7438
|
-
getTranslation: (id: string) => string;
|
|
7439
|
-
getAllTranslations: (id: string) => TranslationItem[];
|
|
7440
|
-
}>;
|
|
7441
|
-
export const PollTranslationContextProvider: FC<{
|
|
7442
|
-
contents?: PublishableItemContents;
|
|
7443
|
-
language: string;
|
|
7444
|
-
additionalTranslations?: TranslationItem[];
|
|
7445
|
-
}>;
|
|
7446
|
-
}
|
|
7447
8050
|
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7448
8051
|
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7449
8052
|
import { MessageDescriptor } from 'react-intl';
|
|
@@ -7499,25 +8102,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7499
8102
|
onDismiss: () => unknown;
|
|
7500
8103
|
}>;
|
|
7501
8104
|
}
|
|
7502
|
-
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7503
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7504
|
-
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7505
|
-
import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7506
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7507
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
7508
|
-
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7509
|
-
export const feedbackCache: {
|
|
7510
|
-
[newsId: string]: Promise<FeedbackSummary>;
|
|
7511
|
-
};
|
|
7512
|
-
export function useFeedbackApi(): {
|
|
7513
|
-
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7514
|
-
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7515
|
-
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7516
|
-
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7517
|
-
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7518
|
-
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7519
|
-
};
|
|
7520
|
-
}
|
|
7521
8105
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7522
8106
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7523
8107
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7593,11 +8177,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
|
|
|
7593
8177
|
className?: string;
|
|
7594
8178
|
}>;
|
|
7595
8179
|
}
|
|
7596
|
-
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7597
|
-
import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7598
|
-
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7599
|
-
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7600
|
-
}
|
|
7601
8180
|
declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
7602
8181
|
import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
7603
8182
|
import { FC } from 'react';
|
|
@@ -7657,6 +8236,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7657
8236
|
allowFilterByChannels?: boolean;
|
|
7658
8237
|
showFeedbackButtons?: boolean;
|
|
7659
8238
|
readOnly?: boolean;
|
|
8239
|
+
enableModalRouting?: boolean;
|
|
7660
8240
|
className?: string;
|
|
7661
8241
|
}>;
|
|
7662
8242
|
}
|
|
@@ -7707,7 +8287,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7707
8287
|
Contact = "contact",
|
|
7708
8288
|
InlinePageList = "inline-page-list",
|
|
7709
8289
|
UrlPreview = "url-preview",
|
|
7710
|
-
ActionButton = "action-button"
|
|
8290
|
+
ActionButton = "action-button",
|
|
8291
|
+
InlinePlugin = "inline-plugin"
|
|
7711
8292
|
}
|
|
7712
8293
|
export interface HtmlComponentMapper {
|
|
7713
8294
|
component: FC<any>;
|
|
@@ -7734,6 +8315,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7734
8315
|
resourceType: ItemResourceTypes;
|
|
7735
8316
|
item: TItem;
|
|
7736
8317
|
itemId: string;
|
|
8318
|
+
relatedItemIds?: string[];
|
|
7737
8319
|
contentLanguage: string;
|
|
7738
8320
|
userPreferredLanguage: string;
|
|
7739
8321
|
activeLanguages: string[];
|
|
@@ -7852,6 +8434,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7852
8434
|
enableModalRouting?: boolean;
|
|
7853
8435
|
itemId?: string;
|
|
7854
8436
|
isOverrideLink: boolean;
|
|
8437
|
+
icon?: string;
|
|
7855
8438
|
}>;
|
|
7856
8439
|
}
|
|
7857
8440
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -8060,7 +8643,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
8060
8643
|
}
|
|
8061
8644
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
8062
8645
|
import { FC } from 'react';
|
|
8063
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8646
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8064
8647
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8065
8648
|
interface Props {
|
|
8066
8649
|
className?: string;
|
|
@@ -8070,6 +8653,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
8070
8653
|
previewTheme?: CommentInputTheme;
|
|
8071
8654
|
disableVideoPreview?: boolean;
|
|
8072
8655
|
disableEmbeddedObjectPreview?: boolean;
|
|
8656
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8657
|
+
parentId?: string;
|
|
8073
8658
|
}
|
|
8074
8659
|
export const AttachmentList: FC<Props>;
|
|
8075
8660
|
}
|
|
@@ -8086,6 +8671,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8086
8671
|
placeHolderStringResourceKey?: string;
|
|
8087
8672
|
disableAddGif?: boolean;
|
|
8088
8673
|
disableAddFiles?: boolean;
|
|
8674
|
+
parentId?: string;
|
|
8675
|
+
itemResourceType?: string;
|
|
8089
8676
|
} & {
|
|
8090
8677
|
disableVideoPreview?: boolean;
|
|
8091
8678
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8155,7 +8742,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8155
8742
|
}
|
|
8156
8743
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8157
8744
|
import { FC } from 'react';
|
|
8158
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8745
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8159
8746
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8160
8747
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8161
8748
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8187,6 +8774,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8187
8774
|
};
|
|
8188
8775
|
disableBoxShadow?: boolean;
|
|
8189
8776
|
ariaLabel?: string;
|
|
8777
|
+
parentId?: string;
|
|
8778
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8190
8779
|
}
|
|
8191
8780
|
interface Props extends BaseProps {
|
|
8192
8781
|
allowAttachments?: boolean;
|
|
@@ -8204,6 +8793,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8204
8793
|
import { FC, ReactNode } from 'react';
|
|
8205
8794
|
export const InlineObjectToolbar: FC<{
|
|
8206
8795
|
onDelete?: () => void;
|
|
8796
|
+
deleteAriaLabelResourceKey?: string;
|
|
8207
8797
|
additionalButtons?: ReactNode;
|
|
8208
8798
|
}>;
|
|
8209
8799
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8211,15 +8801,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8211
8801
|
}>;
|
|
8212
8802
|
}
|
|
8213
8803
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8214
|
-
import { FC } from 'react';
|
|
8804
|
+
import { FC, ReactNode } from 'react';
|
|
8805
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8215
8806
|
export const ImageToolbar: FC<{
|
|
8216
8807
|
onDelete?: () => void;
|
|
8217
8808
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8218
8809
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8219
8810
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8811
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8220
8812
|
showFullScreenButton?: boolean;
|
|
8221
8813
|
showCloseButton?: boolean;
|
|
8222
8814
|
showCropButton?: boolean;
|
|
8815
|
+
alignmentButtons?: ReactNode;
|
|
8223
8816
|
}>;
|
|
8224
8817
|
}
|
|
8225
8818
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8246,14 +8839,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8246
8839
|
}
|
|
8247
8840
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8248
8841
|
}
|
|
8249
|
-
declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
|
|
8250
|
-
import { FC } from 'react';
|
|
8251
|
-
import { ImageDetails } from "libs/reach/util/common/src/index";
|
|
8252
|
-
export const LegacyPostPhotoGallery: FC<{
|
|
8253
|
-
images: ImageDetails[];
|
|
8254
|
-
imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
|
|
8255
|
-
}>;
|
|
8256
|
-
}
|
|
8257
8842
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8258
8843
|
import { FC } from 'react';
|
|
8259
8844
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8261,12 +8846,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8261
8846
|
item: ItemWithAttachments;
|
|
8262
8847
|
basePath: string;
|
|
8263
8848
|
imagesGridBackgroundColor?: string;
|
|
8849
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8850
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8264
8851
|
className?: string;
|
|
8265
8852
|
}>;
|
|
8266
8853
|
}
|
|
8267
8854
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8268
8855
|
import { FC } from 'react';
|
|
8269
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8856
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8270
8857
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8271
8858
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8272
8859
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8282,6 +8869,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8282
8869
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8283
8870
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8284
8871
|
ariaLabel?: string;
|
|
8872
|
+
parentId?: string;
|
|
8873
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8285
8874
|
}
|
|
8286
8875
|
interface Props extends BaseProps {
|
|
8287
8876
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8391,7 +8980,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8391
8980
|
itemResourceType: ItemResourceTypes;
|
|
8392
8981
|
enableModalRouting?: boolean;
|
|
8393
8982
|
}>;
|
|
8394
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
8983
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8395
8984
|
}
|
|
8396
8985
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8397
8986
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8440,7 +9029,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8440
9029
|
target?: string;
|
|
8441
9030
|
language?: string;
|
|
8442
9031
|
hideCurrentPageNode?: boolean;
|
|
9032
|
+
homeTargetUrlOverride?: string;
|
|
8443
9033
|
className?: string;
|
|
9034
|
+
readonly?: boolean;
|
|
8444
9035
|
}>;
|
|
8445
9036
|
}
|
|
8446
9037
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
@@ -8500,6 +9091,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
|
8500
9091
|
hide?: boolean;
|
|
8501
9092
|
onPageSelected?: (pageId: string) => unknown;
|
|
8502
9093
|
selectedPageId?: string;
|
|
9094
|
+
readonly?: boolean;
|
|
8503
9095
|
}>;
|
|
8504
9096
|
}
|
|
8505
9097
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
@@ -8516,6 +9108,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
|
8516
9108
|
selectedPageId?: string;
|
|
8517
9109
|
isLoading?: boolean;
|
|
8518
9110
|
disableScrollableList?: boolean;
|
|
9111
|
+
readonly?: boolean;
|
|
8519
9112
|
}>;
|
|
8520
9113
|
export const PageTableOfContentsInPanel: FC<{
|
|
8521
9114
|
basePath?: string;
|
|
@@ -8538,6 +9131,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
|
|
|
8538
9131
|
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8539
9132
|
onDismiss: () => void;
|
|
8540
9133
|
basePath: string;
|
|
9134
|
+
readonly?: boolean;
|
|
8541
9135
|
}>;
|
|
8542
9136
|
}
|
|
8543
9137
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
|
|
@@ -8561,6 +9155,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
|
|
|
8561
9155
|
activePageId: string;
|
|
8562
9156
|
navigationContext: PageNavigationContext;
|
|
8563
9157
|
className?: string;
|
|
9158
|
+
readonly?: boolean;
|
|
8564
9159
|
}
|
|
8565
9160
|
export const PagesDetailViewNavigation: FC<Props>;
|
|
8566
9161
|
}
|
|
@@ -8639,6 +9234,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8639
9234
|
language?: string;
|
|
8640
9235
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8641
9236
|
clickableAvatar?: boolean;
|
|
9237
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8642
9238
|
}>;
|
|
8643
9239
|
}
|
|
8644
9240
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8720,6 +9316,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8720
9316
|
isLastPage: boolean;
|
|
8721
9317
|
unreadOnly?: boolean;
|
|
8722
9318
|
filter?: NewsFilterDefinition;
|
|
9319
|
+
activeChannel?: string;
|
|
8723
9320
|
}>;
|
|
8724
9321
|
}
|
|
8725
9322
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -8781,6 +9378,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
8781
9378
|
type?: ItemResourceTypes;
|
|
8782
9379
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8783
9380
|
isEditorPreview?: boolean;
|
|
9381
|
+
relatedItemIds?: string[];
|
|
8784
9382
|
}>;
|
|
8785
9383
|
}
|
|
8786
9384
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -8794,6 +9392,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8794
9392
|
}
|
|
8795
9393
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8796
9394
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9395
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8797
9396
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8798
9397
|
}
|
|
8799
9398
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8854,6 +9453,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
8854
9453
|
baseRoute: string;
|
|
8855
9454
|
filterBaseUrl?: string;
|
|
8856
9455
|
isInitialLoading?: boolean;
|
|
9456
|
+
readonly?: boolean;
|
|
8857
9457
|
}>;
|
|
8858
9458
|
}
|
|
8859
9459
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
|
|
@@ -8881,6 +9481,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
8881
9481
|
pagingProps?: ListPagingProps;
|
|
8882
9482
|
filterBaseUrl?: string;
|
|
8883
9483
|
emptyListMessage: string;
|
|
9484
|
+
readonly?: boolean;
|
|
8884
9485
|
}>;
|
|
8885
9486
|
}
|
|
8886
9487
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
@@ -9012,6 +9613,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
9012
9613
|
}
|
|
9013
9614
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
9014
9615
|
}
|
|
9616
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9617
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9618
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9619
|
+
}
|
|
9015
9620
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
9016
9621
|
import { FC } from 'react';
|
|
9017
9622
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9024,6 +9629,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9024
9629
|
import { FC } from 'react';
|
|
9025
9630
|
export const EventDetailViewMetaInfo: FC<{
|
|
9026
9631
|
allowFilterByChannels?: boolean;
|
|
9632
|
+
onChannelClick?: (channel: string) => unknown;
|
|
9027
9633
|
}>;
|
|
9028
9634
|
}
|
|
9029
9635
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9067,6 +9673,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9067
9673
|
export const DetailViewCsvExportButton: FC<{
|
|
9068
9674
|
path: string;
|
|
9069
9675
|
stringResource: string;
|
|
9676
|
+
isReadOnly?: boolean;
|
|
9070
9677
|
className?: string;
|
|
9071
9678
|
}>;
|
|
9072
9679
|
}
|
|
@@ -9126,6 +9733,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9126
9733
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
|
|
9127
9734
|
import { FC } from 'react';
|
|
9128
9735
|
export const EventDetailViewResponseExportButton: FC<{
|
|
9736
|
+
isReadOnly?: boolean;
|
|
9129
9737
|
className?: string;
|
|
9130
9738
|
}>;
|
|
9131
9739
|
}
|
|
@@ -9138,8 +9746,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9138
9746
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
|
|
9139
9747
|
import { FC } from 'react';
|
|
9140
9748
|
export const EventDetailViewUserRegistration: FC<{
|
|
9141
|
-
className?: string;
|
|
9142
9749
|
hideInfoMessage?: boolean;
|
|
9750
|
+
isReadOnly?: boolean;
|
|
9751
|
+
className?: string;
|
|
9143
9752
|
}>;
|
|
9144
9753
|
}
|
|
9145
9754
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
@@ -9180,7 +9789,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9180
9789
|
}
|
|
9181
9790
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
|
|
9182
9791
|
import { FC } from 'react';
|
|
9183
|
-
export const EventRegistrationParticipantsLink: FC
|
|
9792
|
+
export const EventRegistrationParticipantsLink: FC<{
|
|
9793
|
+
isReadOnly?: boolean;
|
|
9794
|
+
}>;
|
|
9184
9795
|
}
|
|
9185
9796
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
|
|
9186
9797
|
import { FC } from 'react';
|
|
@@ -9231,6 +9842,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9231
9842
|
readOnly?: boolean;
|
|
9232
9843
|
trimContent?: boolean;
|
|
9233
9844
|
showReplyBox?: boolean;
|
|
9845
|
+
enableModalRouting?: boolean;
|
|
9234
9846
|
className?: string;
|
|
9235
9847
|
}>;
|
|
9236
9848
|
}
|
|
@@ -9253,6 +9865,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9253
9865
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9254
9866
|
readOnly?: boolean;
|
|
9255
9867
|
trimContent?: boolean;
|
|
9868
|
+
enableModalRouting?: boolean;
|
|
9256
9869
|
className?: string;
|
|
9257
9870
|
}
|
|
9258
9871
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9312,6 +9925,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9312
9925
|
showReplyBox?: boolean;
|
|
9313
9926
|
trimContent?: boolean;
|
|
9314
9927
|
title?: ReactNode;
|
|
9928
|
+
enableModalRouting?: boolean;
|
|
9315
9929
|
className?: string;
|
|
9316
9930
|
};
|
|
9317
9931
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9336,14 +9950,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9336
9950
|
}
|
|
9337
9951
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9338
9952
|
import { FC } from 'react';
|
|
9339
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9340
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9953
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9341
9954
|
export const PublishableItemComments: FC<{
|
|
9342
9955
|
item: PublishableItem;
|
|
9343
9956
|
readOnly?: boolean;
|
|
9344
9957
|
loadInReadOnlyMode?: boolean;
|
|
9345
9958
|
type: ItemResourceTypes;
|
|
9346
|
-
hideProfileUrl?: boolean;
|
|
9347
9959
|
disableLoginForPublicUser?: boolean;
|
|
9348
9960
|
}>;
|
|
9349
9961
|
}
|
|
@@ -9353,6 +9965,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9353
9965
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9354
9966
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9355
9967
|
import { Feedback } from "libs/reach/util/common/src/index";
|
|
9968
|
+
import { ReactNode } from 'hoist-non-react-statics/node_modules/@types/react';
|
|
9356
9969
|
export const FeedbackButtonContext: import("react").Context<{
|
|
9357
9970
|
statistics: ItemStatistics;
|
|
9358
9971
|
item: PublishableItem;
|
|
@@ -9365,6 +9978,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9365
9978
|
item: PublishableItem;
|
|
9366
9979
|
hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
|
|
9367
9980
|
language: string;
|
|
9981
|
+
warningMessage?: ReactNode;
|
|
9368
9982
|
className?: string;
|
|
9369
9983
|
}>;
|
|
9370
9984
|
}
|
|
@@ -9403,19 +10017,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9403
10017
|
}>;
|
|
9404
10018
|
}
|
|
9405
10019
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9406
|
-
import { FC } from 'react';
|
|
9407
|
-
import { FeedbackSettings } from "libs/reach/util/common/src/index";
|
|
9408
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9409
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10020
|
+
import { FC, ReactNode } from 'react';
|
|
10021
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9410
10022
|
export const FeedbackSection: FC<{
|
|
9411
10023
|
item: PublishableItem;
|
|
10024
|
+
buttons: ReactNode[];
|
|
9412
10025
|
language: string;
|
|
9413
10026
|
type: ItemResourceTypes;
|
|
9414
10027
|
feedbackSettings: FeedbackSettings;
|
|
9415
10028
|
hideComments?: boolean;
|
|
9416
|
-
hideProfileUrl?: boolean;
|
|
9417
10029
|
disableLoginForPublicUser?: boolean;
|
|
9418
10030
|
isReadOnly?: boolean;
|
|
10031
|
+
warningMessage?: ReactNode;
|
|
9419
10032
|
className?: string;
|
|
9420
10033
|
}>;
|
|
9421
10034
|
}
|
|
@@ -9438,12 +10051,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
|
|
|
9438
10051
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
9439
10052
|
export const EventDownloadCalendarFileButton: FC<{
|
|
9440
10053
|
item: EventItem;
|
|
10054
|
+
isReadOnly: boolean;
|
|
9441
10055
|
className?: string;
|
|
9442
10056
|
}>;
|
|
9443
10057
|
}
|
|
9444
10058
|
declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
|
|
9445
10059
|
import { FC } from 'react';
|
|
9446
|
-
export const EventFeedbackButtonDownloadCalendarFile: FC
|
|
10060
|
+
export const EventFeedbackButtonDownloadCalendarFile: FC<{
|
|
10061
|
+
isReadOnly: boolean;
|
|
10062
|
+
}>;
|
|
9447
10063
|
}
|
|
9448
10064
|
declare module "libs/reach/feature/content/src/feedback/ShareButton" {
|
|
9449
10065
|
import { FC } from 'react';
|
|
@@ -9468,14 +10084,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9468
10084
|
}
|
|
9469
10085
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9470
10086
|
import { FC } from 'react';
|
|
9471
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10087
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9472
10088
|
export const ConfirmationStatisticsExport: FC<{
|
|
9473
10089
|
item: PublishableItem;
|
|
10090
|
+
resourceType: ItemResourceTypes;
|
|
10091
|
+
isReadOnly?: boolean;
|
|
9474
10092
|
}>;
|
|
9475
10093
|
}
|
|
9476
10094
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
9477
10095
|
import { FC } from 'react';
|
|
9478
|
-
export const FeedbackButtonConfirmations: FC
|
|
10096
|
+
export const FeedbackButtonConfirmations: FC<{
|
|
10097
|
+
isReadOnly?: boolean;
|
|
10098
|
+
}>;
|
|
10099
|
+
}
|
|
10100
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
|
|
10101
|
+
export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
9479
10102
|
}
|
|
9480
10103
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
|
|
9481
10104
|
import { FC } from 'react';
|
|
@@ -9580,6 +10203,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9580
10203
|
layoutMode?: ItemTileLayoutMode;
|
|
9581
10204
|
bannerDefaultWidth?: number;
|
|
9582
10205
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10206
|
+
documentIconName?: string;
|
|
9583
10207
|
}>;
|
|
9584
10208
|
}
|
|
9585
10209
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9617,17 +10241,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9617
10241
|
isMobilePreview?: boolean;
|
|
9618
10242
|
}>;
|
|
9619
10243
|
}
|
|
9620
|
-
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9621
|
-
import { FC, ReactNode } from 'react';
|
|
9622
|
-
export const GutterMarkerIcon: FC<{
|
|
9623
|
-
iconName: string;
|
|
9624
|
-
children: ReactNode;
|
|
9625
|
-
isActive: boolean;
|
|
9626
|
-
color: string;
|
|
9627
|
-
tooltipResourceKey?: string;
|
|
9628
|
-
className?: string;
|
|
9629
|
-
}>;
|
|
9630
|
-
}
|
|
9631
10244
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9632
10245
|
import { FC } from 'react';
|
|
9633
10246
|
export const DetailViewTitle: FC;
|
|
@@ -9650,24 +10263,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9650
10263
|
import { FC } from 'react';
|
|
9651
10264
|
export const DetailViewKeywords: FC<{
|
|
9652
10265
|
filterBaseUrl: string;
|
|
9653
|
-
|
|
9654
|
-
}
|
|
9655
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9656
|
-
import { FC } from 'react';
|
|
9657
|
-
export const ConfirmationBox: FC<{
|
|
9658
|
-
disabled?: boolean;
|
|
9659
|
-
onChange?: (value: boolean) => void;
|
|
9660
|
-
checked: boolean;
|
|
9661
|
-
}>;
|
|
9662
|
-
}
|
|
9663
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9664
|
-
import { FC } from 'react';
|
|
9665
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9666
|
-
export const ConfirmationSection: FC<{
|
|
9667
|
-
item?: NewsItem;
|
|
9668
|
-
showDescription: boolean;
|
|
9669
|
-
readOnly?: boolean;
|
|
9670
|
-
className?: string;
|
|
10266
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9671
10267
|
}>;
|
|
9672
10268
|
}
|
|
9673
10269
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -9697,9 +10293,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9697
10293
|
import { FC, ReactNode } from 'react';
|
|
9698
10294
|
export const DetailViewNavigation: FC<{
|
|
9699
10295
|
offsetRight?: number;
|
|
9700
|
-
children?: ReactNode;
|
|
9701
10296
|
callout?: ReactNode;
|
|
10297
|
+
className?: string;
|
|
10298
|
+
children?: ReactNode;
|
|
9702
10299
|
}>;
|
|
10300
|
+
export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
|
|
10301
|
+
offsetRight?: number;
|
|
10302
|
+
callout?: ReactNode;
|
|
10303
|
+
className?: string;
|
|
10304
|
+
children?: ReactNode;
|
|
10305
|
+
}>, import("styled-components").DefaultTheme, {
|
|
10306
|
+
offsetRightOverride?: number;
|
|
10307
|
+
}, never>;
|
|
9703
10308
|
}
|
|
9704
10309
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9705
10310
|
import { FC } from 'react';
|
|
@@ -9741,605 +10346,241 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9741
10346
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9742
10347
|
};
|
|
9743
10348
|
}
|
|
9744
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
10349
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10350
|
+
interface IClickHandles {
|
|
10351
|
+
onInsideClick: () => void;
|
|
10352
|
+
onOutsideClick: () => void;
|
|
10353
|
+
}
|
|
10354
|
+
export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10355
|
+
}
|
|
10356
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10357
|
+
import { FC } from 'react';
|
|
10358
|
+
export const GroupNotificationsSettings: FC<{
|
|
10359
|
+
groupId: string;
|
|
9755
10360
|
className?: string;
|
|
9756
10361
|
}>;
|
|
9757
10362
|
}
|
|
9758
|
-
declare module "libs/reach/feature/content/src/
|
|
9759
|
-
import { FC
|
|
9760
|
-
import {
|
|
9761
|
-
import {
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
|
|
9765
|
-
|
|
9766
|
-
|
|
9767
|
-
|
|
9768
|
-
|
|
9769
|
-
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9776
|
-
onContentClick?: () => void;
|
|
9777
|
-
contentRoute?: LocationDescriptor;
|
|
9778
|
-
badgeInfo?: number | boolean;
|
|
9779
|
-
title?: string;
|
|
10363
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10364
|
+
import { FC } from 'react';
|
|
10365
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10366
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10367
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10368
|
+
export interface PostCreatorProps {
|
|
10369
|
+
groupId: string;
|
|
10370
|
+
disabled?: boolean;
|
|
10371
|
+
disableDragAndDrop?: boolean;
|
|
10372
|
+
onBeforeSave?: (post: Post) => void;
|
|
10373
|
+
onSaved: (post: Post) => void;
|
|
10374
|
+
keywordSettings?: {
|
|
10375
|
+
availableKeywords?: Keyword[];
|
|
10376
|
+
defaultKeywords?: Keyword[];
|
|
10377
|
+
mandatoryKeywords?: Keyword[];
|
|
10378
|
+
};
|
|
10379
|
+
disableAutoFocus?: boolean;
|
|
10380
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9780
10381
|
className?: string;
|
|
9781
10382
|
}
|
|
9782
|
-
export const
|
|
10383
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9783
10384
|
}
|
|
9784
|
-
declare module "libs/reach/feature/content/src/
|
|
10385
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9785
10386
|
import { FC } from 'react';
|
|
9786
|
-
import {
|
|
9787
|
-
|
|
9788
|
-
|
|
10387
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10388
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10389
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10390
|
+
interface Props {
|
|
10391
|
+
className?: string;
|
|
10392
|
+
post: Post;
|
|
10393
|
+
initialPageSize?: number;
|
|
10394
|
+
comments?: PaginatedList<Comment>;
|
|
10395
|
+
autoFocusReplyField?: boolean;
|
|
10396
|
+
showReplyBox?: boolean;
|
|
10397
|
+
onReplyAdded: () => void;
|
|
10398
|
+
onReplyDeleted: () => void;
|
|
10399
|
+
trimContent?: boolean;
|
|
10400
|
+
enableModalRouting?: boolean;
|
|
10401
|
+
}
|
|
10402
|
+
export const PostReplies: FC<Props>;
|
|
10403
|
+
}
|
|
10404
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10405
|
+
import { FC } from 'react';
|
|
10406
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10407
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10408
|
+
export const PostEditor: FC<{
|
|
10409
|
+
className?: string;
|
|
10410
|
+
post: Post;
|
|
10411
|
+
onCancel: () => void;
|
|
10412
|
+
onBeforeSave: (post: Post) => void;
|
|
10413
|
+
onSaved: (post: Post) => void;
|
|
10414
|
+
keywordSettings?: {
|
|
10415
|
+
availableKeywords?: Keyword[];
|
|
10416
|
+
defaultKeywords?: Keyword[];
|
|
10417
|
+
mandatoryKeywords?: Keyword[];
|
|
10418
|
+
};
|
|
9789
10419
|
}>;
|
|
9790
10420
|
}
|
|
9791
|
-
declare module "libs/reach/feature/content/src/
|
|
9792
|
-
import { FC, ReactNode } from 'react';
|
|
9793
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
9794
|
-
import { LocationDescriptor } from 'history';
|
|
9795
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
9796
|
-
interface CommonSidebarItemProps {
|
|
9797
|
-
title?: string | JSX.Element;
|
|
9798
|
-
titleResource?: string;
|
|
9799
|
-
icon?: ReactNode;
|
|
9800
|
-
iconName?: string;
|
|
9801
|
-
iconTooltipResourceKey?: string;
|
|
9802
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
9803
|
-
secondaryIconName?: string;
|
|
9804
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9805
|
-
iconColor?: string;
|
|
9806
|
-
reverse?: boolean;
|
|
9807
|
-
notHighlightable?: boolean;
|
|
9808
|
-
onClick?: () => void;
|
|
9809
|
-
className?: string;
|
|
9810
|
-
isActive?: boolean;
|
|
9811
|
-
activeClassName?: string;
|
|
9812
|
-
readOnly?: boolean;
|
|
9813
|
-
submenu?: JSX.Element;
|
|
9814
|
-
submenuClassName?: string;
|
|
9815
|
-
submenuStyleDefinition?: ColorStyleDefinition;
|
|
9816
|
-
badgeInfo?: number | boolean;
|
|
9817
|
-
domIdentifier?: string;
|
|
9818
|
-
}
|
|
9819
|
-
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
9820
|
-
contentRoute?: LocationDescriptor;
|
|
9821
|
-
onIconClick?: () => void;
|
|
9822
|
-
iconRoute?: LocationDescriptor;
|
|
9823
|
-
onSecondaryIconClick?: () => void;
|
|
9824
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
9825
|
-
isHoverable?: boolean;
|
|
9826
|
-
}
|
|
9827
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
9828
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
9829
|
-
route: LocationDescriptor;
|
|
9830
|
-
exact?: boolean;
|
|
9831
|
-
linkClassName?: string;
|
|
9832
|
-
}
|
|
9833
|
-
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
9834
|
-
}
|
|
9835
|
-
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
10421
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9836
10422
|
import { FC } from 'react';
|
|
9837
|
-
export const
|
|
9838
|
-
|
|
9839
|
-
|
|
9840
|
-
className?: string;
|
|
10423
|
+
export const PostFollowButton: FC<{
|
|
10424
|
+
itemId: string;
|
|
10425
|
+
isFollowing: boolean;
|
|
9841
10426
|
}>;
|
|
9842
10427
|
}
|
|
9843
|
-
declare module "libs/reach/feature/content/src/
|
|
10428
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9844
10429
|
import { FC } from 'react';
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
10430
|
+
import { NavLink } from 'react-router-dom';
|
|
10431
|
+
export const PostGroup: FC<{
|
|
10432
|
+
groupId: string;
|
|
10433
|
+
target?: string;
|
|
9848
10434
|
className?: string;
|
|
9849
10435
|
}>;
|
|
10436
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9850
10437
|
}
|
|
9851
|
-
declare module "libs/reach/feature/content/src/
|
|
10438
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9852
10439
|
import { FC } from 'react';
|
|
9853
|
-
import {
|
|
9854
|
-
import {
|
|
10440
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10441
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9855
10442
|
interface Props {
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
mandatoryChannelIds?: string[];
|
|
9859
|
-
availableChannels?: Channel[];
|
|
9860
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
10443
|
+
post: Post;
|
|
10444
|
+
targetUrl?: string;
|
|
9861
10445
|
className?: string;
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
10446
|
+
threadId?: string;
|
|
10447
|
+
onCustomPostDelete?: () => void;
|
|
10448
|
+
comments?: PaginatedList<Comment>;
|
|
10449
|
+
initialCommentsPageSize?: number;
|
|
10450
|
+
onThreadCommentDelete?: () => void;
|
|
10451
|
+
onThreadReply?: (threadId: string) => void;
|
|
10452
|
+
keywordSettings?: {
|
|
10453
|
+
availableKeywords?: Keyword[];
|
|
10454
|
+
defaultKeywords?: Keyword[];
|
|
10455
|
+
mandatoryKeywords?: Keyword[];
|
|
10456
|
+
};
|
|
10457
|
+
showGroup?: boolean;
|
|
10458
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10459
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10460
|
+
onItemClick?: (postId: string) => unknown;
|
|
10461
|
+
openTargetInNewWindow?: boolean;
|
|
10462
|
+
trimContent?: boolean;
|
|
10463
|
+
postGroupTargetUrl?: string;
|
|
10464
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10465
|
+
baseTargetUrl?: string;
|
|
9870
10466
|
}
|
|
9871
|
-
export const
|
|
10467
|
+
export const PostDisplay: FC<Props>;
|
|
10468
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
9872
10469
|
}
|
|
9873
|
-
declare module "libs/reach/feature/content/src/
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
export
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
9883
|
-
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
9884
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
9885
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
9886
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
9887
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
9888
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
9889
|
-
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
9890
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
9891
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
9892
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
9893
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
9894
|
-
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
9895
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
9896
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
9897
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
9898
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
9899
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
9900
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
9901
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
9902
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
9903
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9904
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
9905
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
9906
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
9907
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
9908
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
9909
|
-
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9910
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9911
|
-
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
9912
|
-
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
9913
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9914
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
9915
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
9916
|
-
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
9917
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
9918
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
9919
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
9920
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
9921
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
9922
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
9923
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
9924
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
9925
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9926
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
9927
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9928
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9929
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9930
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9931
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9932
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9933
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9934
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9935
|
-
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
9936
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9937
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9938
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9939
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9940
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9941
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9942
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9943
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9944
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
9945
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9946
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9947
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
9948
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9949
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
9950
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
9951
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9952
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9953
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9954
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
9955
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9956
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9957
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9958
|
-
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9959
|
-
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
9960
|
-
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
9961
|
-
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
9962
|
-
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
9963
|
-
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9964
|
-
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
9965
|
-
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
9966
|
-
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
9967
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
9968
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
9969
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
9970
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
9971
|
-
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
9972
|
-
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
9973
|
-
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
9974
|
-
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
10470
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10471
|
+
import { FC } from 'react';
|
|
10472
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10473
|
+
export const PostGroupsPicker: FC<{
|
|
10474
|
+
groups: UserGroup[];
|
|
10475
|
+
selectedGroupId: string;
|
|
10476
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10477
|
+
className?: string;
|
|
10478
|
+
}>;
|
|
9975
10479
|
}
|
|
9976
|
-
declare module "libs/reach/feature/content/src/
|
|
10480
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9977
10481
|
import { FC } from 'react';
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9981
|
-
interface Props {
|
|
9982
|
-
type?: ItemResourceTypes;
|
|
9983
|
-
baseAttachmentPath?: string;
|
|
9984
|
-
message: Comment;
|
|
9985
|
-
showDelete?: boolean;
|
|
9986
|
-
showAutoTranslate?: boolean;
|
|
9987
|
-
showEdit?: boolean;
|
|
9988
|
-
onDelete?: (comment: Comment) => void;
|
|
9989
|
-
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
9990
|
-
scope: ConversationScope;
|
|
9991
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9992
|
-
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9993
|
-
highlight?: boolean;
|
|
9994
|
-
hasUnreadReplies?: boolean;
|
|
9995
|
-
onReplyIconClick?: () => void;
|
|
9996
|
-
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9997
|
-
replyCount?: number;
|
|
9998
|
-
readOnly?: boolean;
|
|
9999
|
-
trimContent?: boolean;
|
|
10482
|
+
export const PostGroupSelector: FC<{
|
|
10483
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
10000
10484
|
className?: string;
|
|
10001
|
-
}
|
|
10002
|
-
export const CommentDisplay: FC<Props>;
|
|
10485
|
+
}>;
|
|
10003
10486
|
}
|
|
10004
|
-
declare module "libs/reach/feature/content/src/
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
export
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
export
|
|
10015
|
-
|
|
10016
|
-
export
|
|
10017
|
-
|
|
10018
|
-
|
|
10487
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10488
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10489
|
+
import { DocumentNode } from '@apollo/client';
|
|
10490
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10491
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10492
|
+
export enum StreamEventResponse {
|
|
10493
|
+
NotSet = "NOTSET",
|
|
10494
|
+
Registered = "REGISTERED",
|
|
10495
|
+
Declined = "DECLINED"
|
|
10496
|
+
}
|
|
10497
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10498
|
+
}
|
|
10499
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10500
|
+
items: StreamItem[];
|
|
10501
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10502
|
+
loadMore: () => Promise<void>;
|
|
10503
|
+
pageInfo: {
|
|
10504
|
+
errors?: any;
|
|
10505
|
+
hasNextPage: boolean;
|
|
10506
|
+
skip: number;
|
|
10507
|
+
};
|
|
10508
|
+
refresh: () => Promise<void>;
|
|
10509
|
+
isLoadingFirstPage: boolean;
|
|
10510
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10511
|
+
};
|
|
10512
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10513
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10514
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10515
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10516
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10517
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10518
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10519
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10520
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10521
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10522
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10523
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10524
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10525
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10526
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10527
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10019
10528
|
}
|
|
10020
|
-
declare module "libs/reach/feature/content/src/
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
export
|
|
10024
|
-
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
10529
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10530
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10531
|
+
import { DependencyList } from 'react';
|
|
10532
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10025
10533
|
}
|
|
10026
|
-
declare module "libs/reach/feature/content/src/
|
|
10027
|
-
import {
|
|
10028
|
-
|
|
10029
|
-
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
|
|
10033
|
-
titleResource: string;
|
|
10034
|
-
onDismiss: () => void;
|
|
10035
|
-
availableKeywords?: Keyword[];
|
|
10036
|
-
mandatoryKeywordIds?: string[];
|
|
10037
|
-
}
|
|
10038
|
-
export const KeywordDialog: FC<Props>;
|
|
10039
|
-
export const StatefulKeywordPicker: FC<{
|
|
10040
|
-
preSelectedKeywords: Keyword[];
|
|
10041
|
-
availableKeywords?: Keyword[];
|
|
10042
|
-
mandatoryKeywordIds?: string[];
|
|
10043
|
-
showSelectionToggle?: boolean;
|
|
10044
|
-
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
10045
|
-
}>;
|
|
10534
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10535
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10536
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10537
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10538
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10539
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10540
|
+
};
|
|
10046
10541
|
}
|
|
10047
|
-
declare module "libs/reach/feature/content/src/
|
|
10048
|
-
|
|
10049
|
-
export
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
value?: string;
|
|
10059
|
-
onIconClick?: () => void;
|
|
10060
|
-
onEnter?: () => void;
|
|
10061
|
-
icon?: string;
|
|
10062
|
-
disableNewLines?: boolean;
|
|
10063
|
-
autoFocus?: boolean;
|
|
10064
|
-
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
10065
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
10066
|
-
inputType?: string;
|
|
10067
|
-
}
|
|
10068
|
-
/**
|
|
10069
|
-
* Textarea that expands vertically to fit content.
|
|
10070
|
-
* If maxLength is given, also displays a count of remaining characters when focused
|
|
10071
|
-
*/
|
|
10072
|
-
export const Textarea: FC<TextareaProps>;
|
|
10542
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10543
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10544
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10545
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10546
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10547
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10548
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10549
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10550
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10551
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10552
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10073
10553
|
}
|
|
10074
|
-
declare module "libs/reach/feature/content/src/
|
|
10075
|
-
import {
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
singleMode?: boolean;
|
|
10554
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10555
|
+
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";
|
|
10556
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10557
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10558
|
+
enum StreamItemTypes {
|
|
10559
|
+
Post = "POST",
|
|
10560
|
+
News = "NEWS",
|
|
10561
|
+
Event = "EVENT",
|
|
10562
|
+
Page = "PAGE"
|
|
10084
10563
|
}
|
|
10085
|
-
export
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
}
|
|
10090
|
-
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
10091
|
-
import { FC } from 'react';
|
|
10092
|
-
interface Props {
|
|
10093
|
-
onInsert: (files: File[]) => void;
|
|
10094
|
-
accept?: string;
|
|
10095
|
-
captionKey?: string;
|
|
10096
|
-
descriptionKey?: string;
|
|
10564
|
+
export enum StreamConversationScope {
|
|
10565
|
+
Public = "PUBLIC",
|
|
10566
|
+
Editor = "EDITOR",
|
|
10567
|
+
Posts = "POSTS"
|
|
10097
10568
|
}
|
|
10098
|
-
export
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
dateValidationResourceKey?: string;
|
|
10107
|
-
timeValidationResourceKey?: string;
|
|
10108
|
-
readOnly?: boolean;
|
|
10109
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
10110
|
-
noDateResourceKey: string;
|
|
10111
|
-
selectDateResourceKey: string;
|
|
10112
|
-
dateOnly?: boolean;
|
|
10113
|
-
initialPickerDate?: string;
|
|
10114
|
-
label?: string;
|
|
10115
|
-
isRequired?: boolean;
|
|
10116
|
-
className?: string;
|
|
10569
|
+
export interface PostStreamItem extends Post {
|
|
10570
|
+
type: StreamItemTypes.Post;
|
|
10571
|
+
isUnread: boolean;
|
|
10572
|
+
keywordsList?: Keyword[];
|
|
10573
|
+
groupIds?: string[];
|
|
10574
|
+
postAttachments?: StreamAttachment[];
|
|
10575
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10576
|
+
hasMoreUnreadComments: boolean;
|
|
10117
10577
|
}
|
|
10118
|
-
export
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
10122
|
-
import moment, { Moment } from 'moment';
|
|
10123
|
-
export enum DateRange {
|
|
10124
|
-
TwoYears = 0,
|
|
10125
|
-
OneYear = 1,
|
|
10126
|
-
SixMonths = 2,
|
|
10127
|
-
TwoMonths = 3,
|
|
10128
|
-
OneMonth = 4,
|
|
10129
|
-
SevenDays = 5,
|
|
10130
|
-
YesterDay = 6,
|
|
10131
|
-
Today = 7
|
|
10578
|
+
export interface StreamPostComment extends Comment {
|
|
10579
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10580
|
+
streamConversationScope?: StreamConversationScope;
|
|
10132
10581
|
}
|
|
10133
|
-
export
|
|
10134
|
-
|
|
10135
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
10136
|
-
}
|
|
10137
|
-
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
10138
|
-
import { FC } from 'react';
|
|
10139
|
-
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
10140
|
-
export const DateRangeSlider: FC<{
|
|
10141
|
-
value?: DateRange;
|
|
10142
|
-
onChange: (range: DateRange) => unknown;
|
|
10143
|
-
}>;
|
|
10144
|
-
}
|
|
10145
|
-
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
10146
|
-
import { FC } from 'react';
|
|
10147
|
-
import { WrappedComponentProps } from 'react-intl';
|
|
10148
|
-
import { SelectionMode } from 'office-ui-fabric-react';
|
|
10149
|
-
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
10150
|
-
interface PeoplePickerDialogProps {
|
|
10151
|
-
defaultSelectedItems: Account[];
|
|
10152
|
-
onChange: (items: Account[]) => void;
|
|
10153
|
-
onDismiss: () => void;
|
|
10154
|
-
titleResource: string;
|
|
10155
|
-
intl?: WrappedComponentProps;
|
|
10156
|
-
selectionMode?: SelectionMode;
|
|
10157
|
-
allowMailItems?: boolean;
|
|
10158
|
-
accountType: AccountType;
|
|
10159
|
-
showDialog: boolean;
|
|
10160
|
-
allowEmptyValue: boolean;
|
|
10161
|
-
includePendingInvitationUsers?: boolean;
|
|
10162
|
-
placeholderStringResourceKey?: string;
|
|
10163
|
-
inputAriaLabelResourceKey: string;
|
|
10164
|
-
}
|
|
10165
|
-
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
10166
|
-
}
|
|
10167
|
-
declare module "libs/reach/feature/content/src/forms/index" {
|
|
10168
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
10169
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
10170
|
-
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
10171
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
10172
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
10173
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
10174
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
10175
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
10176
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
10177
|
-
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
10178
|
-
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
10179
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
10180
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
10181
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
10182
|
-
}
|
|
10183
|
-
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10184
|
-
import { FC } from 'react';
|
|
10185
|
-
export const GroupNotificationsSettings: FC<{
|
|
10186
|
-
groupId: string;
|
|
10187
|
-
className?: string;
|
|
10188
|
-
}>;
|
|
10189
|
-
}
|
|
10190
|
-
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10191
|
-
import { FC } from 'react';
|
|
10192
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10193
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10194
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10195
|
-
export interface PostCreatorProps {
|
|
10196
|
-
groupId: string;
|
|
10197
|
-
disabled?: boolean;
|
|
10198
|
-
disableDragAndDrop?: boolean;
|
|
10199
|
-
onBeforeSave?: (post: Post) => void;
|
|
10200
|
-
onSaved: (post: Post) => void;
|
|
10201
|
-
keywordSettings?: {
|
|
10202
|
-
availableKeywords?: Keyword[];
|
|
10203
|
-
defaultKeywords?: Keyword[];
|
|
10204
|
-
mandatoryKeywords?: Keyword[];
|
|
10205
|
-
};
|
|
10206
|
-
disableAutoFocus?: boolean;
|
|
10207
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
10208
|
-
className?: string;
|
|
10209
|
-
}
|
|
10210
|
-
export const PostCreator: FC<PostCreatorProps>;
|
|
10211
|
-
}
|
|
10212
|
-
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10213
|
-
import { FC } from 'react';
|
|
10214
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10215
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
10216
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10217
|
-
interface Props {
|
|
10218
|
-
className?: string;
|
|
10219
|
-
post: Post;
|
|
10220
|
-
initialPageSize?: number;
|
|
10221
|
-
comments?: PaginatedList<Comment>;
|
|
10222
|
-
autoFocusReplyField?: boolean;
|
|
10223
|
-
showReplyBox?: boolean;
|
|
10224
|
-
onReplyAdded: () => void;
|
|
10225
|
-
onReplyDeleted: () => void;
|
|
10226
|
-
trimContent?: boolean;
|
|
10227
|
-
}
|
|
10228
|
-
export const PostReplies: FC<Props>;
|
|
10229
|
-
}
|
|
10230
|
-
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10231
|
-
import { FC } from 'react';
|
|
10232
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10233
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10234
|
-
export const PostEditor: FC<{
|
|
10235
|
-
className?: string;
|
|
10236
|
-
post: Post;
|
|
10237
|
-
onCancel: () => void;
|
|
10238
|
-
onBeforeSave: (post: Post) => void;
|
|
10239
|
-
onSaved: (post: Post) => void;
|
|
10240
|
-
keywordSettings?: {
|
|
10241
|
-
availableKeywords?: Keyword[];
|
|
10242
|
-
defaultKeywords?: Keyword[];
|
|
10243
|
-
mandatoryKeywords?: Keyword[];
|
|
10244
|
-
};
|
|
10245
|
-
}>;
|
|
10246
|
-
}
|
|
10247
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10248
|
-
import { FC } from 'react';
|
|
10249
|
-
export const PostFollowButton: FC<{
|
|
10250
|
-
itemId: string;
|
|
10251
|
-
isFollowing: boolean;
|
|
10252
|
-
}>;
|
|
10253
|
-
}
|
|
10254
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10255
|
-
import { FC } from 'react';
|
|
10256
|
-
import { NavLink } from 'react-router-dom';
|
|
10257
|
-
export const PostGroup: FC<{
|
|
10258
|
-
groupId: string;
|
|
10259
|
-
target?: string;
|
|
10260
|
-
className?: string;
|
|
10261
|
-
}>;
|
|
10262
|
-
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10263
|
-
}
|
|
10264
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10265
|
-
import { FC } from 'react';
|
|
10266
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10267
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10268
|
-
interface Props {
|
|
10269
|
-
post: Post;
|
|
10270
|
-
targetUrl?: string;
|
|
10271
|
-
className?: string;
|
|
10272
|
-
threadId?: string;
|
|
10273
|
-
onCustomPostDelete?: () => void;
|
|
10274
|
-
comments?: PaginatedList<Comment>;
|
|
10275
|
-
initialCommentsPageSize?: number;
|
|
10276
|
-
onThreadCommentDelete?: () => void;
|
|
10277
|
-
onThreadReply?: (threadId: string) => void;
|
|
10278
|
-
keywordSettings?: {
|
|
10279
|
-
availableKeywords?: Keyword[];
|
|
10280
|
-
defaultKeywords?: Keyword[];
|
|
10281
|
-
mandatoryKeywords?: Keyword[];
|
|
10282
|
-
};
|
|
10283
|
-
showGroup?: boolean;
|
|
10284
|
-
onBeforeDelete?: (id: string) => unknown;
|
|
10285
|
-
onAfterDelete?: (id: string) => unknown;
|
|
10286
|
-
onItemClick?: (postId: string) => unknown;
|
|
10287
|
-
openTargetInNewWindow?: boolean;
|
|
10288
|
-
trimContent?: boolean;
|
|
10289
|
-
postGroupTargetUrl?: string;
|
|
10290
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
10291
|
-
baseTargetUrl?: string;
|
|
10292
|
-
}
|
|
10293
|
-
export const PostDisplay: FC<Props>;
|
|
10294
|
-
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10295
|
-
}
|
|
10296
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10297
|
-
import { FC } from 'react';
|
|
10298
|
-
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10299
|
-
export const PostGroupsPicker: FC<{
|
|
10300
|
-
groups: UserGroup[];
|
|
10301
|
-
selectedGroupId: string;
|
|
10302
|
-
onGroupSelected?: (groupId: string) => unknown;
|
|
10303
|
-
className?: string;
|
|
10304
|
-
}>;
|
|
10305
|
-
}
|
|
10306
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10307
|
-
import { FC } from 'react';
|
|
10308
|
-
export const PostGroupSelector: FC<{
|
|
10309
|
-
onPostGroupClick?: (groupId: string) => void;
|
|
10310
|
-
className?: string;
|
|
10311
|
-
}>;
|
|
10312
|
-
}
|
|
10313
|
-
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10314
|
-
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10315
|
-
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10316
|
-
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10317
|
-
enum StreamItemTypes {
|
|
10318
|
-
Post = "POST",
|
|
10319
|
-
News = "NEWS",
|
|
10320
|
-
Event = "EVENT",
|
|
10321
|
-
Page = "PAGE"
|
|
10322
|
-
}
|
|
10323
|
-
export enum StreamConversationScope {
|
|
10324
|
-
Public = "PUBLIC",
|
|
10325
|
-
Editor = "EDITOR",
|
|
10326
|
-
Posts = "POSTS"
|
|
10327
|
-
}
|
|
10328
|
-
export interface PostStreamItem extends Post {
|
|
10329
|
-
type: StreamItemTypes.Post;
|
|
10330
|
-
isUnread: boolean;
|
|
10331
|
-
keywordsList?: Keyword[];
|
|
10332
|
-
groupIds?: string[];
|
|
10333
|
-
postAttachments?: StreamAttachment[];
|
|
10334
|
-
postComments?: PaginatedList<StreamPostComment>;
|
|
10335
|
-
hasMoreUnreadComments: boolean;
|
|
10336
|
-
}
|
|
10337
|
-
export interface StreamPostComment extends Comment {
|
|
10338
|
-
postCommentAttachments?: StreamAttachment[];
|
|
10339
|
-
streamConversationScope?: StreamConversationScope;
|
|
10340
|
-
}
|
|
10341
|
-
export interface StreamAttachment extends BaseAttachment {
|
|
10342
|
-
type: GraphQLAttachmentType;
|
|
10582
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
10583
|
+
type: GraphQLAttachmentType;
|
|
10343
10584
|
}
|
|
10344
10585
|
export interface NewsStreamItem extends NewsItem {
|
|
10345
10586
|
type: StreamItemTypes.News;
|
|
@@ -10528,7 +10769,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10528
10769
|
knownState: KnownNewsState;
|
|
10529
10770
|
hasNewComments?: boolean;
|
|
10530
10771
|
isLiked?: boolean;
|
|
10531
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10532
10772
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10533
10773
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10534
10774
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10738,6 +10978,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10738
10978
|
isUnlinked?: boolean;
|
|
10739
10979
|
pageType?: PageType;
|
|
10740
10980
|
firstChildId?: string;
|
|
10981
|
+
isGroupInheritanceBroken?: boolean;
|
|
10741
10982
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10742
10983
|
id?: string;
|
|
10743
10984
|
versionId?: string;
|
|
@@ -10817,7 +11058,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10817
11058
|
knownState: KnownNewsState;
|
|
10818
11059
|
hasNewComments?: boolean;
|
|
10819
11060
|
isLiked?: boolean;
|
|
10820
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10821
11061
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10822
11062
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10823
11063
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10925,6 +11165,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10925
11165
|
isUnlinked?: boolean;
|
|
10926
11166
|
pageType?: PageType;
|
|
10927
11167
|
firstChildId?: string;
|
|
11168
|
+
isGroupInheritanceBroken?: boolean;
|
|
10928
11169
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10929
11170
|
id?: string;
|
|
10930
11171
|
versionId?: string;
|
|
@@ -11048,7 +11289,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11048
11289
|
knownState: KnownNewsState;
|
|
11049
11290
|
hasNewComments?: boolean;
|
|
11050
11291
|
isLiked?: boolean;
|
|
11051
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
11052
11292
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
11053
11293
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11054
11294
|
id?: string;
|
|
@@ -11123,6 +11363,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11123
11363
|
isUnlinked?: boolean;
|
|
11124
11364
|
pageType?: PageType;
|
|
11125
11365
|
firstChildId?: string;
|
|
11366
|
+
isGroupInheritanceBroken?: boolean;
|
|
11126
11367
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11127
11368
|
id?: string;
|
|
11128
11369
|
versionId?: string;
|
|
@@ -11150,73 +11391,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11150
11391
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11151
11392
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11152
11393
|
})[];
|
|
11394
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11395
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11396
|
+
}
|
|
11397
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11398
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11399
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11400
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11401
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11402
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11403
|
+
}
|
|
11404
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11405
|
+
import { LocationDescriptor } from 'history';
|
|
11406
|
+
import { FC, ReactNode } from 'react';
|
|
11407
|
+
export const SidebarIcon: FC<{
|
|
11408
|
+
icon?: ReactNode;
|
|
11409
|
+
iconName?: string;
|
|
11410
|
+
color?: string;
|
|
11411
|
+
onClick?: () => any;
|
|
11412
|
+
route?: LocationDescriptor;
|
|
11413
|
+
iconTooltipResourceKey: string;
|
|
11414
|
+
iconTooltipResourceValues?: any;
|
|
11415
|
+
className?: string;
|
|
11416
|
+
}>;
|
|
11417
|
+
}
|
|
11418
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11419
|
+
import { FC, ReactNode } from 'react';
|
|
11420
|
+
import { LocationDescriptor } from 'history';
|
|
11421
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11422
|
+
export interface BaseSidebarItemProps {
|
|
11423
|
+
children?: any;
|
|
11424
|
+
icon?: ReactNode;
|
|
11425
|
+
iconName?: string;
|
|
11426
|
+
iconTooltipResourceKey?: string;
|
|
11427
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11428
|
+
secondaryIconName?: string;
|
|
11429
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11430
|
+
reverse?: boolean;
|
|
11431
|
+
onIconClick?: () => void;
|
|
11432
|
+
iconRoute?: LocationDescriptor;
|
|
11433
|
+
iconColor?: string;
|
|
11434
|
+
onSecondaryIconClick?: () => void;
|
|
11435
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11436
|
+
onContentClick?: () => void;
|
|
11437
|
+
contentRoute?: LocationDescriptor;
|
|
11438
|
+
badgeInfo?: number | boolean;
|
|
11439
|
+
title?: string;
|
|
11440
|
+
className?: string;
|
|
11441
|
+
}
|
|
11442
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11443
|
+
}
|
|
11444
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11445
|
+
import { FC } from 'react';
|
|
11446
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11447
|
+
export const SidebarItemSection: FC<{
|
|
11448
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11449
|
+
}>;
|
|
11450
|
+
}
|
|
11451
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11452
|
+
import { FC, ReactNode } from 'react';
|
|
11453
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11454
|
+
import { LocationDescriptor } from 'history';
|
|
11455
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11456
|
+
interface CommonSidebarItemProps {
|
|
11457
|
+
title?: string | JSX.Element;
|
|
11458
|
+
titleResource?: string;
|
|
11459
|
+
icon?: ReactNode;
|
|
11460
|
+
iconName?: string;
|
|
11461
|
+
iconTooltipResourceKey?: string;
|
|
11462
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11463
|
+
secondaryIconName?: string;
|
|
11464
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11465
|
+
iconColor?: string;
|
|
11466
|
+
reverse?: boolean;
|
|
11467
|
+
notHighlightable?: boolean;
|
|
11468
|
+
onClick?: () => void;
|
|
11469
|
+
className?: string;
|
|
11470
|
+
isActive?: boolean;
|
|
11471
|
+
activeClassName?: string;
|
|
11472
|
+
readOnly?: boolean;
|
|
11473
|
+
submenu?: JSX.Element;
|
|
11474
|
+
submenuClassName?: string;
|
|
11475
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11476
|
+
badgeInfo?: number | boolean;
|
|
11477
|
+
domIdentifier?: string;
|
|
11478
|
+
}
|
|
11479
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11480
|
+
contentRoute?: LocationDescriptor;
|
|
11481
|
+
onIconClick?: () => void;
|
|
11482
|
+
iconRoute?: LocationDescriptor;
|
|
11483
|
+
onSecondaryIconClick?: () => void;
|
|
11484
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11485
|
+
isHoverable?: boolean;
|
|
11486
|
+
}
|
|
11487
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11488
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11489
|
+
route: LocationDescriptor;
|
|
11490
|
+
exact?: boolean;
|
|
11491
|
+
linkClassName?: string;
|
|
11492
|
+
}
|
|
11493
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11494
|
+
}
|
|
11495
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11496
|
+
import { FC } from 'react';
|
|
11497
|
+
export const SidebarGroup: FC<{
|
|
11498
|
+
titleResource?: string;
|
|
11499
|
+
borderColor?: string;
|
|
11500
|
+
className?: string;
|
|
11501
|
+
}>;
|
|
11502
|
+
}
|
|
11503
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11504
|
+
import { FC } from 'react';
|
|
11505
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11506
|
+
domIdentifier: string;
|
|
11507
|
+
trimContent?: boolean;
|
|
11508
|
+
className?: string;
|
|
11509
|
+
}>;
|
|
11510
|
+
}
|
|
11511
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11512
|
+
import { FC } from 'react';
|
|
11513
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11514
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11515
|
+
interface Props {
|
|
11516
|
+
selectedChannelNames?: string[];
|
|
11517
|
+
selectedChannelIds?: string[];
|
|
11518
|
+
mandatoryChannelIds?: string[];
|
|
11519
|
+
availableChannels?: Channel[];
|
|
11520
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11521
|
+
className?: string;
|
|
11522
|
+
showOnlyUserChannels?: boolean;
|
|
11523
|
+
showSelectionToggle?: boolean;
|
|
11524
|
+
placeholder?: string;
|
|
11525
|
+
inlineControls?: boolean;
|
|
11526
|
+
required?: boolean;
|
|
11527
|
+
id?: string;
|
|
11528
|
+
showLogicalOperatorOptions?: boolean;
|
|
11529
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11530
|
+
}
|
|
11531
|
+
export const ChannelSelector: FC<Props>;
|
|
11532
|
+
}
|
|
11533
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11534
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11535
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11536
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11537
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11538
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11539
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11540
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11541
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11542
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11543
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11544
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11545
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11546
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11547
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11548
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11549
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11550
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11551
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11552
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11553
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11554
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11555
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11556
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11557
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11558
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11559
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11560
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11561
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11562
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11563
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11564
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11565
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11566
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11567
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11568
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11569
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11570
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11571
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11572
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11573
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11574
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11575
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11576
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11577
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11578
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11579
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11580
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11581
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11582
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11583
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11587
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11592
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11593
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11594
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11595
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11598
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11599
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11600
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11601
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11602
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11603
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11604
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11605
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11606
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11607
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11608
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11609
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11610
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11611
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11612
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11613
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11614
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11615
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11616
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11617
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11618
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11619
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11620
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11621
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11622
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11623
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11624
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11625
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11626
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11627
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11628
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11629
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11630
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11631
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11632
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11633
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11634
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11635
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11636
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11637
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11638
|
+
}
|
|
11639
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11640
|
+
import { FC } from 'react';
|
|
11641
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11642
|
+
interface Props {
|
|
11643
|
+
type?: ItemResourceTypes;
|
|
11644
|
+
baseAttachmentPath?: string;
|
|
11645
|
+
message: Comment;
|
|
11646
|
+
showDelete?: boolean;
|
|
11647
|
+
showAutoTranslate?: boolean;
|
|
11648
|
+
showEdit?: boolean;
|
|
11649
|
+
onDelete?: (comment: Comment) => void;
|
|
11650
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11651
|
+
scope: ConversationScope;
|
|
11652
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11653
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11654
|
+
highlight?: boolean;
|
|
11655
|
+
hasUnreadReplies?: boolean;
|
|
11656
|
+
onReplyIconClick?: () => void;
|
|
11657
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11658
|
+
replyCount?: number;
|
|
11659
|
+
readOnly?: boolean;
|
|
11660
|
+
trimContent?: boolean;
|
|
11661
|
+
enableModalRouting?: boolean;
|
|
11662
|
+
className?: string;
|
|
11663
|
+
}
|
|
11664
|
+
export const CommentDisplay: FC<Props>;
|
|
11153
11665
|
}
|
|
11154
|
-
declare module "libs/reach/feature/content/src/
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
export
|
|
11160
|
-
|
|
11161
|
-
|
|
11162
|
-
|
|
11666
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11667
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11668
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11669
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11670
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11671
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11672
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11673
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11674
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11675
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11676
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11677
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11678
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11679
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11680
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11681
|
+
}
|
|
11682
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11683
|
+
import { FC, ReactNode } from 'react';
|
|
11684
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11685
|
+
interface Props {
|
|
11686
|
+
isOpen: boolean;
|
|
11687
|
+
preSelectedKeywords: Keyword[];
|
|
11688
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11689
|
+
titleResource: string;
|
|
11690
|
+
onDismiss: () => void;
|
|
11691
|
+
availableKeywords?: Keyword[];
|
|
11692
|
+
mandatoryKeywordIds?: string[];
|
|
11163
11693
|
}
|
|
11164
|
-
export
|
|
11694
|
+
export const KeywordDialog: FC<Props>;
|
|
11695
|
+
export const StatefulKeywordPicker: FC<{
|
|
11696
|
+
preSelectedKeywords: Keyword[];
|
|
11697
|
+
availableKeywords?: Keyword[];
|
|
11698
|
+
mandatoryKeywordIds?: string[];
|
|
11699
|
+
showSelectionToggle?: boolean;
|
|
11700
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11701
|
+
}>;
|
|
11702
|
+
}
|
|
11703
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11704
|
+
import { FC, MutableRefObject } from 'react';
|
|
11705
|
+
export interface TextareaProps {
|
|
11706
|
+
rows?: number;
|
|
11707
|
+
placeholder?: string;
|
|
11708
|
+
readOnly?: boolean;
|
|
11709
|
+
onChange: (value: string) => void;
|
|
11710
|
+
className?: string;
|
|
11711
|
+
defaultValue?: string;
|
|
11712
|
+
disabled?: boolean;
|
|
11713
|
+
noDebouncing?: boolean;
|
|
11714
|
+
value?: string;
|
|
11715
|
+
onIconClick?: () => void;
|
|
11716
|
+
onEnter?: () => void;
|
|
11717
|
+
icon?: string;
|
|
11718
|
+
disableNewLines?: boolean;
|
|
11719
|
+
autoFocus?: boolean;
|
|
11720
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11721
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11722
|
+
inputType?: string;
|
|
11165
11723
|
}
|
|
11166
|
-
|
|
11167
|
-
|
|
11168
|
-
|
|
11169
|
-
|
|
11170
|
-
|
|
11171
|
-
errors?: any;
|
|
11172
|
-
hasNextPage: boolean;
|
|
11173
|
-
skip: number;
|
|
11174
|
-
};
|
|
11175
|
-
refresh: () => Promise<void>;
|
|
11176
|
-
isLoadingFirstPage: boolean;
|
|
11177
|
-
refetchItem: (itemId: string) => Promise<void>;
|
|
11178
|
-
};
|
|
11179
|
-
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11180
|
-
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11181
|
-
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11182
|
-
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
11183
|
-
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
11184
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11185
|
-
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11186
|
-
export const OWNER_CONDITION: (owner: string) => string;
|
|
11187
|
-
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11188
|
-
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11189
|
-
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
11190
|
-
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
11191
|
-
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
11192
|
-
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11193
|
-
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11194
|
-
export const POST_ITEM_FIELDS: DocumentNode;
|
|
11724
|
+
/**
|
|
11725
|
+
* Textarea that expands vertically to fit content.
|
|
11726
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11727
|
+
*/
|
|
11728
|
+
export const Textarea: FC<TextareaProps>;
|
|
11195
11729
|
}
|
|
11196
|
-
declare module "libs/reach/feature/content/src/
|
|
11197
|
-
import {
|
|
11198
|
-
|
|
11199
|
-
|
|
11730
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11731
|
+
import { FC } from 'react';
|
|
11732
|
+
interface Props {
|
|
11733
|
+
onInsert: (files: File[]) => void;
|
|
11734
|
+
accept?: string;
|
|
11735
|
+
captionKey?: string;
|
|
11736
|
+
captionIconName?: string;
|
|
11737
|
+
descriptionKey?: string;
|
|
11738
|
+
descriptionIconName?: string;
|
|
11739
|
+
singleMode?: boolean;
|
|
11740
|
+
}
|
|
11741
|
+
export const InsertFilesButton: FC<Props>;
|
|
11742
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11743
|
+
isActive?: boolean;
|
|
11744
|
+
}, never>;
|
|
11200
11745
|
}
|
|
11201
|
-
declare module "libs/reach/feature/content/src/
|
|
11202
|
-
import {
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11207
|
-
|
|
11746
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11747
|
+
import { FC } from 'react';
|
|
11748
|
+
interface Props {
|
|
11749
|
+
onInsert: (files: File[]) => void;
|
|
11750
|
+
accept?: string;
|
|
11751
|
+
captionKey?: string;
|
|
11752
|
+
descriptionKey?: string;
|
|
11753
|
+
}
|
|
11754
|
+
export const InsertImagesButton: FC<Props>;
|
|
11208
11755
|
}
|
|
11209
|
-
declare module "libs/reach/feature/content/src/
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11756
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11757
|
+
import { FC } from 'react';
|
|
11758
|
+
interface DateTimePickerProps {
|
|
11759
|
+
date: string;
|
|
11760
|
+
maxDate?: string;
|
|
11761
|
+
minDate?: string;
|
|
11762
|
+
dateValidationResourceKey?: string;
|
|
11763
|
+
timeValidationResourceKey?: string;
|
|
11764
|
+
readOnly?: boolean;
|
|
11765
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11766
|
+
noDateResourceKey: string;
|
|
11767
|
+
selectDateResourceKey: string;
|
|
11768
|
+
dateOnly?: boolean;
|
|
11769
|
+
initialPickerDate?: string;
|
|
11770
|
+
label?: string;
|
|
11771
|
+
isRequired?: boolean;
|
|
11772
|
+
className?: string;
|
|
11773
|
+
}
|
|
11774
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11775
|
+
export default DateTimePicker;
|
|
11776
|
+
}
|
|
11777
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11778
|
+
import moment, { Moment } from 'moment';
|
|
11779
|
+
export enum DateRange {
|
|
11780
|
+
TwoYears = 0,
|
|
11781
|
+
OneYear = 1,
|
|
11782
|
+
SixMonths = 2,
|
|
11783
|
+
TwoMonths = 3,
|
|
11784
|
+
OneMonth = 4,
|
|
11785
|
+
SevenDays = 5,
|
|
11786
|
+
YesterDay = 6,
|
|
11787
|
+
Today = 7
|
|
11788
|
+
}
|
|
11789
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11790
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11791
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11792
|
+
}
|
|
11793
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11794
|
+
import { FC } from 'react';
|
|
11795
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11796
|
+
export const DateRangeSlider: FC<{
|
|
11797
|
+
value?: DateRange;
|
|
11798
|
+
onChange: (range: DateRange) => unknown;
|
|
11799
|
+
}>;
|
|
11800
|
+
}
|
|
11801
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11802
|
+
import { FC } from 'react';
|
|
11803
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11804
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11805
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11806
|
+
interface PeoplePickerDialogProps {
|
|
11807
|
+
defaultSelectedItems: Account[];
|
|
11808
|
+
onChange: (items: Account[]) => void;
|
|
11809
|
+
onDismiss: () => void;
|
|
11810
|
+
titleResource: string;
|
|
11811
|
+
intl?: WrappedComponentProps;
|
|
11812
|
+
selectionMode?: SelectionMode;
|
|
11813
|
+
allowMailItems?: boolean;
|
|
11814
|
+
accountType: AccountType;
|
|
11815
|
+
showDialog: boolean;
|
|
11816
|
+
allowEmptyValue: boolean;
|
|
11817
|
+
includePendingInvitationUsers?: boolean;
|
|
11818
|
+
placeholderStringResourceKey?: string;
|
|
11819
|
+
inputAriaLabelResourceKey: string;
|
|
11820
|
+
}
|
|
11821
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11822
|
+
}
|
|
11823
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11824
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11825
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11826
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11827
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11828
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11829
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11830
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11831
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11832
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11833
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11834
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11835
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11836
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11837
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11220
11838
|
}
|
|
11221
11839
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11222
11840
|
import { FC, ReactNode } from 'react';
|
|
@@ -11313,8 +11931,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11313
11931
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11314
11932
|
export type ShareTokenType = 'preview' | 'published';
|
|
11315
11933
|
export function useShareTokenEditorApi(): {
|
|
11316
|
-
activateShareToken: (
|
|
11317
|
-
deleteShareToken: (
|
|
11934
|
+
activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
|
|
11935
|
+
deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
|
|
11318
11936
|
};
|
|
11319
11937
|
}
|
|
11320
11938
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11325,9 +11943,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11325
11943
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11326
11944
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11327
11945
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11328
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11946
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11329
11947
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11330
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11948
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11331
11949
|
};
|
|
11332
11950
|
}
|
|
11333
11951
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11366,6 +11984,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11366
11984
|
event: EventStreamItem;
|
|
11367
11985
|
}>;
|
|
11368
11986
|
}
|
|
11987
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11988
|
+
import { FC } from 'react';
|
|
11989
|
+
export const GlobalSearchButton: FC<{
|
|
11990
|
+
className?: string;
|
|
11991
|
+
}>;
|
|
11992
|
+
}
|
|
11369
11993
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11370
11994
|
import { FC, ReactNode } from 'react';
|
|
11371
11995
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11433,12 +12057,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11433
12057
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11434
12058
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11435
12059
|
}
|
|
11436
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11437
|
-
import { FC } from 'react';
|
|
11438
|
-
export const GlobalSearchButton: FC<{
|
|
11439
|
-
className?: string;
|
|
11440
|
-
}>;
|
|
11441
|
-
}
|
|
11442
12060
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11443
12061
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11444
12062
|
}
|
|
@@ -11880,6 +12498,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
11880
12498
|
}) => string;
|
|
11881
12499
|
};
|
|
11882
12500
|
}
|
|
12501
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12502
|
+
import { Dispatch } from 'react';
|
|
12503
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12504
|
+
}
|
|
12505
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12506
|
+
import { FC } from 'react';
|
|
12507
|
+
export interface Dashboard {
|
|
12508
|
+
name: string;
|
|
12509
|
+
title: string;
|
|
12510
|
+
url: string;
|
|
12511
|
+
}
|
|
12512
|
+
export const DashboardPage: FC<{
|
|
12513
|
+
dashboard: Dashboard;
|
|
12514
|
+
}>;
|
|
12515
|
+
}
|
|
12516
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12517
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12518
|
+
export function useDashboards(): Dashboard[];
|
|
12519
|
+
export function hasDashboards(): boolean;
|
|
12520
|
+
}
|
|
12521
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12522
|
+
import { FC } from 'react';
|
|
12523
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12524
|
+
}
|
|
11883
12525
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
11884
12526
|
import { FC } from 'react';
|
|
11885
12527
|
interface Props {
|