@livetiles/reach-plugin-types 0.5.0-preview.34 → 0.5.0-preview.342
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 +1822 -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,7 +5409,7 @@ 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;
|
|
4945
5415
|
onClose?: () => void;
|
|
@@ -4948,7 +5418,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4948
5418
|
className?: string;
|
|
4949
5419
|
}
|
|
4950
5420
|
export const CloseButton: FC<Props>;
|
|
4951
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5421
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4952
5422
|
}
|
|
4953
5423
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4954
5424
|
export const LogoHostStyle: (size?: {
|
|
@@ -5040,9 +5510,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5040
5510
|
}
|
|
5041
5511
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5042
5512
|
import { FC, ReactNode } from 'react';
|
|
5513
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5043
5514
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5044
5515
|
import './BasicPage.scss';
|
|
5045
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5046
5516
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5047
5517
|
type HeaderToolbarObjectTypeHack = {
|
|
5048
5518
|
toolbarElement: JSX.Element;
|
|
@@ -5160,7 +5630,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5160
5630
|
addLanguage: (code: string) => Promise<Language>;
|
|
5161
5631
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5162
5632
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5163
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5633
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5634
|
+
name: string | null;
|
|
5635
|
+
hideName: boolean | null;
|
|
5636
|
+
}>;
|
|
5164
5637
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5165
5638
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5166
5639
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5466,11 +5939,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5466
5939
|
export { PushClient };
|
|
5467
5940
|
}
|
|
5468
5941
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5469
|
-
import { ConfigureOptions, MigrateResult,
|
|
5470
|
-
export class MobileHybridStorage implements
|
|
5942
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5943
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5471
5944
|
private pluginStorage;
|
|
5472
5945
|
private static memoryStorage;
|
|
5473
|
-
constructor(pluginStorage:
|
|
5946
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5474
5947
|
get(options: {
|
|
5475
5948
|
key: string;
|
|
5476
5949
|
}): Promise<any>;
|
|
@@ -5482,7 +5955,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5482
5955
|
key: string;
|
|
5483
5956
|
}): Promise<void>;
|
|
5484
5957
|
clear(): Promise<void>;
|
|
5485
|
-
keys(): Promise<import("@capacitor/
|
|
5958
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5486
5959
|
private static updateInMemoryStorage;
|
|
5487
5960
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5488
5961
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5518,7 +5991,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5518
5991
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5519
5992
|
}
|
|
5520
5993
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5521
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5994
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5522
5995
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5523
5996
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5524
5997
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5527,6 +6000,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5527
6000
|
getId(): Promise<DeviceId>;
|
|
5528
6001
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5529
6002
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
6003
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5530
6004
|
}
|
|
5531
6005
|
}
|
|
5532
6006
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5543,8 +6017,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5543
6017
|
}
|
|
5544
6018
|
}
|
|
5545
6019
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5546
|
-
import { ConfigureOptions, MigrateResult,
|
|
5547
|
-
export class WebStorage implements
|
|
6020
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
6021
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5548
6022
|
storage: Storage;
|
|
5549
6023
|
get(options: {
|
|
5550
6024
|
key: string;
|
|
@@ -5578,14 +6052,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5578
6052
|
import { SharePlugin } from '@capacitor/share';
|
|
5579
6053
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5580
6054
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5581
|
-
import {
|
|
6055
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5582
6056
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5583
6057
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5584
6058
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5585
6059
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5586
6060
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5587
6061
|
export interface CondensePluginRegistry {
|
|
5588
|
-
Storage:
|
|
6062
|
+
Storage: PreferencesPlugin;
|
|
5589
6063
|
Device: DevicePlugin;
|
|
5590
6064
|
App: AppPlugin;
|
|
5591
6065
|
Keyboard: KeyboardPlugin;
|
|
@@ -6114,14 +6588,18 @@ declare module "apps/reach-app/src/app/admin/web-hooks/utils" {
|
|
|
6114
6588
|
CommentUpdated = "CommentUpdated",
|
|
6115
6589
|
CommentDeleted = "CommentDeleted",
|
|
6116
6590
|
LikeAdded = "LikeAdded",
|
|
6117
|
-
LikeRemoved = "LikeRemoved"
|
|
6591
|
+
LikeRemoved = "LikeRemoved",
|
|
6592
|
+
PostCreated = "PostCreated",
|
|
6593
|
+
PostUpdated = "PostUpdated",
|
|
6594
|
+
PostDeleted = "PostDeleted"
|
|
6118
6595
|
}
|
|
6119
6596
|
export enum WebHookCategory {
|
|
6120
6597
|
News = "News",
|
|
6121
6598
|
Events = "Events",
|
|
6122
6599
|
Comments = "Comments",
|
|
6123
6600
|
Likes = "Likes",
|
|
6124
|
-
UserSelfRegistration = "UserSelfRegistration"
|
|
6601
|
+
UserSelfRegistration = "UserSelfRegistration",
|
|
6602
|
+
Posts = "Posts"
|
|
6125
6603
|
}
|
|
6126
6604
|
}
|
|
6127
6605
|
declare module "apps/reach-app/src/app/admin/web-hooks/WebHookEditor" {
|
|
@@ -6247,7 +6725,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6247
6725
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6248
6726
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6249
6727
|
export function useSelfRegistrationApi(): {
|
|
6250
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6728
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6251
6729
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6252
6730
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6253
6731
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6303,6 +6781,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6303
6781
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6304
6782
|
}>;
|
|
6305
6783
|
}
|
|
6784
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6785
|
+
import { FC } from 'react';
|
|
6786
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6787
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6788
|
+
onApiKeyAdded?: () => void;
|
|
6789
|
+
onDismiss: () => void;
|
|
6790
|
+
user?: UserItem;
|
|
6791
|
+
}>;
|
|
6792
|
+
}
|
|
6306
6793
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6307
6794
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6308
6795
|
import './UserList.scss';
|
|
@@ -6326,7 +6813,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6326
6813
|
isLoading?: boolean;
|
|
6327
6814
|
isEmpty?: boolean;
|
|
6328
6815
|
emptyPlaceholder?: ReactNode;
|
|
6816
|
+
onKeyChanged?: () => void;
|
|
6329
6817
|
}
|
|
6818
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6819
|
+
accountType: string;
|
|
6820
|
+
lastLogin: string | JSX.Element;
|
|
6821
|
+
};
|
|
6330
6822
|
export const UserList: FC<Props>;
|
|
6331
6823
|
}
|
|
6332
6824
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6359,12 +6851,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6359
6851
|
className?: string;
|
|
6360
6852
|
}>;
|
|
6361
6853
|
}
|
|
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
6854
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6369
6855
|
import { FC } from 'react';
|
|
6370
6856
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6384,19 +6870,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6384
6870
|
}
|
|
6385
6871
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6386
6872
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6873
|
+
export enum ValidationStatus {
|
|
6874
|
+
Valid = 0,
|
|
6875
|
+
WithErrors = 1,
|
|
6876
|
+
WithUserErrors = 2
|
|
6877
|
+
}
|
|
6878
|
+
export type CsvValidation = {
|
|
6879
|
+
Status?: ValidationStatus;
|
|
6880
|
+
Message?: string;
|
|
6881
|
+
InvalidItems?: string[];
|
|
6882
|
+
};
|
|
6387
6883
|
export function useUserCsvInviter(): {
|
|
6388
6884
|
invitedUsers: UserImport[];
|
|
6389
6885
|
isValidating: boolean;
|
|
6390
6886
|
isCsvValid: boolean;
|
|
6391
6887
|
parseCsvFile: (csvFile: File) => void;
|
|
6392
|
-
|
|
6393
|
-
|
|
6888
|
+
csvValidation: CsvValidation;
|
|
6889
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6394
6890
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6395
6891
|
isParserReady: boolean;
|
|
6396
6892
|
isInviting: boolean;
|
|
6397
6893
|
canInvite: boolean;
|
|
6894
|
+
csvFile: File;
|
|
6398
6895
|
};
|
|
6399
6896
|
}
|
|
6897
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6898
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6899
|
+
}
|
|
6900
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6901
|
+
import { FC } from 'react';
|
|
6902
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6903
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6904
|
+
export const CsvFileValidationResult: FC<{
|
|
6905
|
+
csvValidation: CsvValidation;
|
|
6906
|
+
invitedUsers: UserImport[];
|
|
6907
|
+
}>;
|
|
6908
|
+
}
|
|
6400
6909
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6401
6910
|
import { FC } from 'react';
|
|
6402
6911
|
export const ImportUserButton: FC<{
|
|
@@ -6429,9 +6938,6 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6429
6938
|
children?: (content: string, index: number) => JSX.Element;
|
|
6430
6939
|
}>;
|
|
6431
6940
|
}
|
|
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
6941
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6436
6942
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6437
6943
|
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
@@ -6478,6 +6984,13 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6478
6984
|
likeCount: number;
|
|
6479
6985
|
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6480
6986
|
}
|
|
6987
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
6988
|
+
static type: string;
|
|
6989
|
+
type: string;
|
|
6990
|
+
recurrenceSeriesId: string;
|
|
6991
|
+
isFollowed: boolean;
|
|
6992
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
6993
|
+
}
|
|
6481
6994
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6482
6995
|
static type: string;
|
|
6483
6996
|
type: string;
|
|
@@ -6504,6 +7017,20 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6504
7017
|
itemId: string;
|
|
6505
7018
|
static create(itemId: string): RefetchItemAction;
|
|
6506
7019
|
}
|
|
7020
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
7021
|
+
static type: string;
|
|
7022
|
+
type: string;
|
|
7023
|
+
itemId: string;
|
|
7024
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
7025
|
+
}
|
|
7026
|
+
export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
|
|
7027
|
+
static type: string;
|
|
7028
|
+
type: string;
|
|
7029
|
+
pageId: string;
|
|
7030
|
+
parentId: string;
|
|
7031
|
+
affectedGroupIds: string[];
|
|
7032
|
+
static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
|
|
7033
|
+
}
|
|
6507
7034
|
}
|
|
6508
7035
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6509
7036
|
export interface CommentFilter {
|
|
@@ -6520,130 +7047,55 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6520
7047
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6521
7048
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6522
7049
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7050
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6523
7051
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6524
7052
|
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) =>
|
|
7053
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7054
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7055
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7056
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7057
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7058
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6531
7059
|
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) =>
|
|
7060
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7061
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6534
7062
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6535
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7063
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6536
7064
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6537
7065
|
};
|
|
6538
7066
|
}
|
|
6539
|
-
declare module "libs/reach/feature/content/src/
|
|
7067
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7068
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
7069
|
+
}
|
|
7070
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
6540
7071
|
import { FC } from 'react';
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
7072
|
+
export const ConfirmationBox: FC<{
|
|
7073
|
+
disabled?: boolean;
|
|
7074
|
+
onChange?: (value: boolean) => void;
|
|
7075
|
+
checked: boolean;
|
|
7076
|
+
}>;
|
|
7077
|
+
}
|
|
7078
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
7079
|
+
import { FC, ReactNode } from 'react';
|
|
7080
|
+
export const GutterMarkerIcon: FC<{
|
|
7081
|
+
iconName: string;
|
|
7082
|
+
children: ReactNode;
|
|
7083
|
+
isActive: boolean;
|
|
7084
|
+
color: string;
|
|
7085
|
+
tooltipResourceKey?: string;
|
|
6546
7086
|
className?: string;
|
|
6547
|
-
|
|
6548
|
-
|
|
7087
|
+
}>;
|
|
7088
|
+
}
|
|
7089
|
+
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
7090
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7091
|
+
export interface OwnerFilterDefinition extends IndexableFilterDefinition {
|
|
7092
|
+
owner?: string;
|
|
6549
7093
|
}
|
|
6550
|
-
export const FollowComments: FC<Props>;
|
|
6551
7094
|
}
|
|
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;
|
|
7095
|
+
declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
7096
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7097
|
+
export interface SourceFilterDefinition extends IndexableFilterDefinition {
|
|
7098
|
+
source?: string;
|
|
6647
7099
|
}
|
|
6648
7100
|
}
|
|
6649
7101
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
@@ -6686,6 +7138,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6686
7138
|
And = "AND"
|
|
6687
7139
|
}
|
|
6688
7140
|
}
|
|
7141
|
+
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
7142
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7143
|
+
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
7144
|
+
author?: string;
|
|
7145
|
+
}
|
|
7146
|
+
}
|
|
7147
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
7148
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7149
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
7150
|
+
channels?: FilterWithLogicalOperator;
|
|
7151
|
+
}
|
|
7152
|
+
}
|
|
7153
|
+
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
7154
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7155
|
+
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
7156
|
+
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
7157
|
+
state?: WorkflowStatus;
|
|
7158
|
+
}
|
|
7159
|
+
}
|
|
7160
|
+
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
7161
|
+
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
7162
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7163
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
7164
|
+
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
7165
|
+
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
7166
|
+
groupId?: string;
|
|
7167
|
+
bookmarksOnly?: boolean;
|
|
7168
|
+
unreadOnly?: boolean;
|
|
7169
|
+
includeExpired?: boolean;
|
|
7170
|
+
}
|
|
7171
|
+
}
|
|
7172
|
+
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
7173
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7174
|
+
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
7175
|
+
afterDate?: string;
|
|
7176
|
+
}
|
|
7177
|
+
}
|
|
7178
|
+
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
7179
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7180
|
+
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
7181
|
+
contacts?: string[];
|
|
7182
|
+
}
|
|
7183
|
+
}
|
|
6689
7184
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6690
7185
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
6691
7186
|
export class SortFieldsDefinitionBuilder<T extends string> {
|
|
@@ -6701,18 +7196,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
|
|
|
6701
7196
|
startsBefore?: string;
|
|
6702
7197
|
}
|
|
6703
7198
|
}
|
|
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
7199
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6717
7200
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6718
7201
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
@@ -6729,18 +7212,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6729
7212
|
}
|
|
6730
7213
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6731
7214
|
}
|
|
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
7215
|
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6745
7216
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6746
7217
|
export interface FilteringProps {
|
|
@@ -6750,25 +7221,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
6750
7221
|
isFilterActive?: boolean;
|
|
6751
7222
|
}
|
|
6752
7223
|
}
|
|
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
7224
|
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6773
7225
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6774
7226
|
export enum ItemTypeFilterFlag {
|
|
@@ -6850,16 +7302,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
|
|
|
6850
7302
|
};
|
|
6851
7303
|
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6852
7304
|
}
|
|
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
7305
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6864
7306
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6865
7307
|
import { Observable } from 'rxjs';
|
|
@@ -6919,67 +7361,276 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
|
|
|
6919
7361
|
import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
|
|
6920
7362
|
export function useNewsApi(): NewsApiService;
|
|
6921
7363
|
}
|
|
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;
|
|
7364
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7365
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7366
|
+
export default interface FeedbackSummary {
|
|
7367
|
+
records: FeedbackItem[];
|
|
6931
7368
|
}
|
|
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;
|
|
7369
|
+
export enum FeedbackItemType {
|
|
7370
|
+
comment = "comment",
|
|
7371
|
+
like = "like",
|
|
7372
|
+
confirm = "confirm",
|
|
7373
|
+
poll = "poll",
|
|
7374
|
+
eventRegistration = "eventRegistration"
|
|
6970
7375
|
}
|
|
6971
|
-
export interface
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
7376
|
+
export interface FeedbackItem {
|
|
7377
|
+
type: FeedbackItemType;
|
|
7378
|
+
timestamp: string;
|
|
7379
|
+
}
|
|
7380
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7381
|
+
type: FeedbackItemType.poll;
|
|
7382
|
+
answers: PollQuestionAnswer[];
|
|
6976
7383
|
}
|
|
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
7384
|
}
|
|
6981
|
-
declare module "libs/reach/feature/content/src/
|
|
6982
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7385
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7386
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7387
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7388
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7389
|
+
export const feedbackCache: {
|
|
7390
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7391
|
+
};
|
|
7392
|
+
export function useFeedbackApi(): {
|
|
7393
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7394
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7395
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7396
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7397
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7398
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7399
|
+
};
|
|
7400
|
+
}
|
|
7401
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
7402
|
+
import { FC } from 'react';
|
|
7403
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
7404
|
+
export const ConfirmationSection: FC<{
|
|
7405
|
+
item?: NewsItem;
|
|
7406
|
+
showDescription: boolean;
|
|
7407
|
+
readOnly?: boolean;
|
|
7408
|
+
className?: string;
|
|
7409
|
+
}>;
|
|
7410
|
+
}
|
|
7411
|
+
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7412
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7413
|
+
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7414
|
+
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7415
|
+
export class NewsService {
|
|
7416
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7417
|
+
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7418
|
+
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7419
|
+
static getContentLanguages(contents: {
|
|
7420
|
+
[lang: string]: ContentDefinition;
|
|
7421
|
+
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7422
|
+
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7423
|
+
static getLanguageForContent(contents: {
|
|
7424
|
+
[lang: string]: ContentDefinition;
|
|
7425
|
+
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7426
|
+
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7427
|
+
}
|
|
7428
|
+
}
|
|
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
|
+
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7448
|
+
import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7449
|
+
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7450
|
+
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7451
|
+
export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
|
|
7452
|
+
}
|
|
7453
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
7454
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
7455
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
7456
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7457
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
7458
|
+
}
|
|
7459
|
+
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
7460
|
+
import { FC } from 'react';
|
|
7461
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7462
|
+
export interface Props {
|
|
7463
|
+
type: ItemResourceTypes;
|
|
7464
|
+
itemId: string;
|
|
7465
|
+
recurrenceSeriesId?: string;
|
|
7466
|
+
className?: string;
|
|
7467
|
+
scope: ConversationScope;
|
|
7468
|
+
hideProfileUrl?: boolean;
|
|
7469
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
7470
|
+
isReadOnly?: boolean;
|
|
7471
|
+
}
|
|
7472
|
+
export const FollowComments: FC<Props>;
|
|
7473
|
+
export const FollowCommentsNotificationWarning: FC<{
|
|
7474
|
+
hideProfileUrl?: boolean;
|
|
7475
|
+
className?: string;
|
|
7476
|
+
}>;
|
|
7477
|
+
}
|
|
7478
|
+
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
7479
|
+
import { ReactNode } from 'react';
|
|
7480
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7481
|
+
export interface UserSuggestion {
|
|
7482
|
+
id: string;
|
|
7483
|
+
upn: string;
|
|
7484
|
+
displayName: string;
|
|
7485
|
+
display: string;
|
|
7486
|
+
}
|
|
7487
|
+
export interface SuggestionArgs {
|
|
7488
|
+
searchText: string;
|
|
7489
|
+
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
7490
|
+
}
|
|
7491
|
+
export interface CommentInputProps {
|
|
7492
|
+
className?: string;
|
|
7493
|
+
content: string;
|
|
7494
|
+
disabled?: boolean;
|
|
7495
|
+
autoFocus?: boolean;
|
|
7496
|
+
onEnter?: () => void;
|
|
7497
|
+
onCtrlEnter?: () => unknown;
|
|
7498
|
+
onChange?: (value: string) => void;
|
|
7499
|
+
onFocus?: () => void;
|
|
7500
|
+
additionalInputControl?: ReactNode;
|
|
7501
|
+
buttons?: {
|
|
7502
|
+
leftSide?: ReactNode;
|
|
7503
|
+
rightSide?: ReactNode;
|
|
7504
|
+
};
|
|
7505
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7506
|
+
placeHolderStringResourceKey?: string;
|
|
7507
|
+
placeHolderStringResourceValues?: {
|
|
7508
|
+
[key: string]: string | number | boolean | Date;
|
|
7509
|
+
};
|
|
7510
|
+
disableBoxShadow?: boolean;
|
|
7511
|
+
ariaLabel?: string;
|
|
7512
|
+
}
|
|
7513
|
+
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7514
|
+
}
|
|
7515
|
+
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
7516
|
+
import { FC } from 'react';
|
|
7517
|
+
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7518
|
+
isActive: boolean;
|
|
7519
|
+
}, never>;
|
|
7520
|
+
export const DropInfo: FC;
|
|
7521
|
+
}
|
|
7522
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
7523
|
+
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
7524
|
+
export interface KalturaProperties {
|
|
7525
|
+
sp?: string;
|
|
7526
|
+
uiconfId?: string;
|
|
7527
|
+
partnerId?: string;
|
|
7528
|
+
entryId?: string;
|
|
7529
|
+
}
|
|
7530
|
+
export class VideoUrlParser {
|
|
7531
|
+
private url;
|
|
7532
|
+
private static ytRegex;
|
|
7533
|
+
private static vimeoRegex;
|
|
7534
|
+
private static microsoftStreamRegex;
|
|
7535
|
+
private static vimeoDirectLinkRegex;
|
|
7536
|
+
private static vimeoRedirectLinkRegex;
|
|
7537
|
+
private static kalturaRegex;
|
|
7538
|
+
readonly source: VideoSource | null;
|
|
7539
|
+
readonly id: string | null;
|
|
7540
|
+
readonly isDirectVideoUrl: boolean;
|
|
7541
|
+
readonly videoProperties: any;
|
|
7542
|
+
readonly thumbnailUrl: string;
|
|
7543
|
+
constructor(url: string);
|
|
7544
|
+
isValid(features: FeatureSet): boolean;
|
|
7545
|
+
}
|
|
7546
|
+
export function getVideoSources(features: FeatureSet): any[];
|
|
7547
|
+
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
7548
|
+
export function getAllVideoSources(features: FeatureSet): any[];
|
|
7549
|
+
}
|
|
7550
|
+
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
7551
|
+
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
7552
|
+
export function getAllVideosFromString(content: string): Generator<{
|
|
7553
|
+
url: string;
|
|
7554
|
+
type: AttachmentType;
|
|
7555
|
+
}, void, unknown>;
|
|
7556
|
+
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
7557
|
+
url: string;
|
|
7558
|
+
subscriptionIdentifier: string;
|
|
7559
|
+
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
7560
|
+
id: string;
|
|
7561
|
+
}, void, unknown>;
|
|
7562
|
+
}
|
|
7563
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7564
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7565
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7566
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7567
|
+
export function useEventsApi(): {
|
|
7568
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7569
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
7570
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7571
|
+
};
|
|
7572
|
+
}
|
|
7573
|
+
declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
|
|
7574
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7575
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
7576
|
+
export interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
7577
|
+
pageContextId?: string;
|
|
7578
|
+
restrictToPageContext?: boolean;
|
|
7579
|
+
rootPagesOnly?: boolean;
|
|
7580
|
+
parentId?: string;
|
|
7581
|
+
pageType?: PageType;
|
|
7582
|
+
}
|
|
7583
|
+
}
|
|
7584
|
+
declare module "libs/reach/feature/content/src/pages/usePagesApi" {
|
|
7585
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7586
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7587
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
7588
|
+
export function usePagesApi(): {
|
|
7589
|
+
loadPage: (id: string) => Promise<PageItem>;
|
|
7590
|
+
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7591
|
+
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7592
|
+
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7593
|
+
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7594
|
+
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7595
|
+
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7596
|
+
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7597
|
+
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7598
|
+
};
|
|
7599
|
+
}
|
|
7600
|
+
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7601
|
+
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7602
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7603
|
+
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7604
|
+
id: string;
|
|
7605
|
+
comments?: PaginatedList<Comment>;
|
|
7606
|
+
groupId: string;
|
|
7607
|
+
content: string;
|
|
7608
|
+
permalink?: string;
|
|
7609
|
+
author: Account;
|
|
7610
|
+
publishingDate: string;
|
|
7611
|
+
modified?: string;
|
|
7612
|
+
statistics: ItemStatistics;
|
|
7613
|
+
keywords?: {
|
|
7614
|
+
[key: string]: Keyword[];
|
|
7615
|
+
};
|
|
7616
|
+
contentLanguageCode?: string;
|
|
7617
|
+
isLiked?: boolean;
|
|
7618
|
+
isUnread?: boolean;
|
|
7619
|
+
isDemoContent?: boolean;
|
|
7620
|
+
isFollowing?: boolean;
|
|
7621
|
+
}
|
|
7622
|
+
export interface PostFilterDefinition {
|
|
7623
|
+
token?: string;
|
|
7624
|
+
pageSize?: string;
|
|
7625
|
+
search?: string;
|
|
7626
|
+
keywords?: FilterWithLogicalOperator;
|
|
7627
|
+
}
|
|
7628
|
+
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
7629
|
+
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
7630
|
+
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7631
|
+
}
|
|
7632
|
+
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
7633
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6983
7634
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6984
7635
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6985
7636
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6994,7 +7645,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
6994
7645
|
deletePost: (postId: string) => Promise<unknown>;
|
|
6995
7646
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
6996
7647
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
6997
|
-
translatePost: (postId: string, language: string) =>
|
|
7648
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
6998
7649
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
6999
7650
|
};
|
|
7000
7651
|
}
|
|
@@ -7004,7 +7655,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
|
|
|
7004
7655
|
}
|
|
7005
7656
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
7006
7657
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
7007
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7658
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7008
7659
|
export interface ClientAttachment extends Attachment {
|
|
7009
7660
|
file?: File;
|
|
7010
7661
|
}
|
|
@@ -7020,6 +7671,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
7020
7671
|
placeHolderStringResourceKey?: string;
|
|
7021
7672
|
disableAddGif?: boolean;
|
|
7022
7673
|
disableAddFiles?: boolean;
|
|
7674
|
+
parentId?: string;
|
|
7675
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7023
7676
|
};
|
|
7024
7677
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
7025
7678
|
attachments: Attachment[];
|
|
@@ -7032,6 +7685,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
7032
7685
|
placeHolderStringResourceKey?: string;
|
|
7033
7686
|
disableAddGif?: boolean;
|
|
7034
7687
|
disableAddFiles?: boolean;
|
|
7688
|
+
parentId?: string;
|
|
7689
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7035
7690
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7036
7691
|
}
|
|
7037
7692
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7140,24 +7795,6 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7140
7795
|
showAllKeywordsInCallout?: boolean;
|
|
7141
7796
|
}>;
|
|
7142
7797
|
}
|
|
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
7798
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7162
7799
|
import { FC, MouseEvent } from 'react';
|
|
7163
7800
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -7233,6 +7870,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7233
7870
|
className?: string;
|
|
7234
7871
|
allowFilterByChannels?: boolean;
|
|
7235
7872
|
channelBackgroundColor?: string;
|
|
7873
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7236
7874
|
}>;
|
|
7237
7875
|
}
|
|
7238
7876
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7292,6 +7930,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7292
7930
|
height?: number;
|
|
7293
7931
|
hidePlayerIfActive?: boolean;
|
|
7294
7932
|
className?: string;
|
|
7933
|
+
documentIconName?: string;
|
|
7295
7934
|
}
|
|
7296
7935
|
export const PublishableItemBanner: FC<Props>;
|
|
7297
7936
|
}
|
|
@@ -7377,27 +8016,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7377
8016
|
}
|
|
7378
8017
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7379
8018
|
}
|
|
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
8019
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7402
8020
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7403
8021
|
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
@@ -7416,6 +8034,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7416
8034
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7417
8035
|
export const EventRegistrationButton: FC<{
|
|
7418
8036
|
isRegistered: boolean;
|
|
8037
|
+
eventId: string;
|
|
7419
8038
|
disabled?: boolean;
|
|
7420
8039
|
className?: string;
|
|
7421
8040
|
onClick?: () => void;
|
|
@@ -7426,24 +8045,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7426
8045
|
isRegistered?: boolean;
|
|
7427
8046
|
}, never>;
|
|
7428
8047
|
}
|
|
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
8048
|
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7448
8049
|
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7449
8050
|
import { MessageDescriptor } from 'react-intl';
|
|
@@ -7499,25 +8100,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7499
8100
|
onDismiss: () => unknown;
|
|
7500
8101
|
}>;
|
|
7501
8102
|
}
|
|
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
8103
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7522
8104
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7523
8105
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7593,11 +8175,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
|
|
|
7593
8175
|
className?: string;
|
|
7594
8176
|
}>;
|
|
7595
8177
|
}
|
|
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
8178
|
declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
7602
8179
|
import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
7603
8180
|
import { FC } from 'react';
|
|
@@ -7657,6 +8234,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7657
8234
|
allowFilterByChannels?: boolean;
|
|
7658
8235
|
showFeedbackButtons?: boolean;
|
|
7659
8236
|
readOnly?: boolean;
|
|
8237
|
+
enableModalRouting?: boolean;
|
|
7660
8238
|
className?: string;
|
|
7661
8239
|
}>;
|
|
7662
8240
|
}
|
|
@@ -7707,7 +8285,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7707
8285
|
Contact = "contact",
|
|
7708
8286
|
InlinePageList = "inline-page-list",
|
|
7709
8287
|
UrlPreview = "url-preview",
|
|
7710
|
-
ActionButton = "action-button"
|
|
8288
|
+
ActionButton = "action-button",
|
|
8289
|
+
InlinePlugin = "inline-plugin"
|
|
7711
8290
|
}
|
|
7712
8291
|
export interface HtmlComponentMapper {
|
|
7713
8292
|
component: FC<any>;
|
|
@@ -7734,6 +8313,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7734
8313
|
resourceType: ItemResourceTypes;
|
|
7735
8314
|
item: TItem;
|
|
7736
8315
|
itemId: string;
|
|
8316
|
+
relatedItemIds?: string[];
|
|
7737
8317
|
contentLanguage: string;
|
|
7738
8318
|
userPreferredLanguage: string;
|
|
7739
8319
|
activeLanguages: string[];
|
|
@@ -7852,6 +8432,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7852
8432
|
enableModalRouting?: boolean;
|
|
7853
8433
|
itemId?: string;
|
|
7854
8434
|
isOverrideLink: boolean;
|
|
8435
|
+
icon?: string;
|
|
7855
8436
|
}>;
|
|
7856
8437
|
}
|
|
7857
8438
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -8060,7 +8641,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
8060
8641
|
}
|
|
8061
8642
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
8062
8643
|
import { FC } from 'react';
|
|
8063
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8644
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8064
8645
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8065
8646
|
interface Props {
|
|
8066
8647
|
className?: string;
|
|
@@ -8070,6 +8651,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
8070
8651
|
previewTheme?: CommentInputTheme;
|
|
8071
8652
|
disableVideoPreview?: boolean;
|
|
8072
8653
|
disableEmbeddedObjectPreview?: boolean;
|
|
8654
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8655
|
+
parentId?: string;
|
|
8073
8656
|
}
|
|
8074
8657
|
export const AttachmentList: FC<Props>;
|
|
8075
8658
|
}
|
|
@@ -8086,6 +8669,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8086
8669
|
placeHolderStringResourceKey?: string;
|
|
8087
8670
|
disableAddGif?: boolean;
|
|
8088
8671
|
disableAddFiles?: boolean;
|
|
8672
|
+
parentId?: string;
|
|
8673
|
+
itemResourceType?: string;
|
|
8089
8674
|
} & {
|
|
8090
8675
|
disableVideoPreview?: boolean;
|
|
8091
8676
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8155,7 +8740,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8155
8740
|
}
|
|
8156
8741
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8157
8742
|
import { FC } from 'react';
|
|
8158
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8743
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8159
8744
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8160
8745
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8161
8746
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8187,6 +8772,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8187
8772
|
};
|
|
8188
8773
|
disableBoxShadow?: boolean;
|
|
8189
8774
|
ariaLabel?: string;
|
|
8775
|
+
parentId?: string;
|
|
8776
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8190
8777
|
}
|
|
8191
8778
|
interface Props extends BaseProps {
|
|
8192
8779
|
allowAttachments?: boolean;
|
|
@@ -8204,6 +8791,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8204
8791
|
import { FC, ReactNode } from 'react';
|
|
8205
8792
|
export const InlineObjectToolbar: FC<{
|
|
8206
8793
|
onDelete?: () => void;
|
|
8794
|
+
deleteAriaLabelResourceKey?: string;
|
|
8207
8795
|
additionalButtons?: ReactNode;
|
|
8208
8796
|
}>;
|
|
8209
8797
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8211,15 +8799,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8211
8799
|
}>;
|
|
8212
8800
|
}
|
|
8213
8801
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8214
|
-
import { FC } from 'react';
|
|
8802
|
+
import { FC, ReactNode } from 'react';
|
|
8803
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8215
8804
|
export const ImageToolbar: FC<{
|
|
8216
8805
|
onDelete?: () => void;
|
|
8217
8806
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8218
8807
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8219
8808
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8809
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8220
8810
|
showFullScreenButton?: boolean;
|
|
8221
8811
|
showCloseButton?: boolean;
|
|
8222
8812
|
showCropButton?: boolean;
|
|
8813
|
+
alignmentButtons?: ReactNode;
|
|
8223
8814
|
}>;
|
|
8224
8815
|
}
|
|
8225
8816
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8246,14 +8837,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8246
8837
|
}
|
|
8247
8838
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8248
8839
|
}
|
|
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
8840
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8258
8841
|
import { FC } from 'react';
|
|
8259
8842
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8261,12 +8844,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8261
8844
|
item: ItemWithAttachments;
|
|
8262
8845
|
basePath: string;
|
|
8263
8846
|
imagesGridBackgroundColor?: string;
|
|
8847
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8848
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8264
8849
|
className?: string;
|
|
8265
8850
|
}>;
|
|
8266
8851
|
}
|
|
8267
8852
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8268
8853
|
import { FC } from 'react';
|
|
8269
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8854
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8270
8855
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8271
8856
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8272
8857
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8282,6 +8867,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8282
8867
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8283
8868
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8284
8869
|
ariaLabel?: string;
|
|
8870
|
+
parentId?: string;
|
|
8871
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8285
8872
|
}
|
|
8286
8873
|
interface Props extends BaseProps {
|
|
8287
8874
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8391,7 +8978,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8391
8978
|
itemResourceType: ItemResourceTypes;
|
|
8392
8979
|
enableModalRouting?: boolean;
|
|
8393
8980
|
}>;
|
|
8394
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
8981
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8395
8982
|
}
|
|
8396
8983
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8397
8984
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8440,7 +9027,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8440
9027
|
target?: string;
|
|
8441
9028
|
language?: string;
|
|
8442
9029
|
hideCurrentPageNode?: boolean;
|
|
9030
|
+
homeTargetUrlOverride?: string;
|
|
8443
9031
|
className?: string;
|
|
9032
|
+
readonly?: boolean;
|
|
8444
9033
|
}>;
|
|
8445
9034
|
}
|
|
8446
9035
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
@@ -8500,6 +9089,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
|
8500
9089
|
hide?: boolean;
|
|
8501
9090
|
onPageSelected?: (pageId: string) => unknown;
|
|
8502
9091
|
selectedPageId?: string;
|
|
9092
|
+
readonly?: boolean;
|
|
8503
9093
|
}>;
|
|
8504
9094
|
}
|
|
8505
9095
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
@@ -8516,6 +9106,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
|
8516
9106
|
selectedPageId?: string;
|
|
8517
9107
|
isLoading?: boolean;
|
|
8518
9108
|
disableScrollableList?: boolean;
|
|
9109
|
+
readonly?: boolean;
|
|
8519
9110
|
}>;
|
|
8520
9111
|
export const PageTableOfContentsInPanel: FC<{
|
|
8521
9112
|
basePath?: string;
|
|
@@ -8538,6 +9129,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
|
|
|
8538
9129
|
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8539
9130
|
onDismiss: () => void;
|
|
8540
9131
|
basePath: string;
|
|
9132
|
+
readonly?: boolean;
|
|
8541
9133
|
}>;
|
|
8542
9134
|
}
|
|
8543
9135
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
|
|
@@ -8561,6 +9153,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
|
|
|
8561
9153
|
activePageId: string;
|
|
8562
9154
|
navigationContext: PageNavigationContext;
|
|
8563
9155
|
className?: string;
|
|
9156
|
+
readonly?: boolean;
|
|
8564
9157
|
}
|
|
8565
9158
|
export const PagesDetailViewNavigation: FC<Props>;
|
|
8566
9159
|
}
|
|
@@ -8639,6 +9232,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8639
9232
|
language?: string;
|
|
8640
9233
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8641
9234
|
clickableAvatar?: boolean;
|
|
9235
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8642
9236
|
}>;
|
|
8643
9237
|
}
|
|
8644
9238
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8720,6 +9314,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8720
9314
|
isLastPage: boolean;
|
|
8721
9315
|
unreadOnly?: boolean;
|
|
8722
9316
|
filter?: NewsFilterDefinition;
|
|
9317
|
+
activeChannel?: string;
|
|
8723
9318
|
}>;
|
|
8724
9319
|
}
|
|
8725
9320
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -8781,6 +9376,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
8781
9376
|
type?: ItemResourceTypes;
|
|
8782
9377
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8783
9378
|
isEditorPreview?: boolean;
|
|
9379
|
+
relatedItemIds?: string[];
|
|
8784
9380
|
}>;
|
|
8785
9381
|
}
|
|
8786
9382
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -8794,6 +9390,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8794
9390
|
}
|
|
8795
9391
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8796
9392
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9393
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8797
9394
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8798
9395
|
}
|
|
8799
9396
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8854,6 +9451,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
8854
9451
|
baseRoute: string;
|
|
8855
9452
|
filterBaseUrl?: string;
|
|
8856
9453
|
isInitialLoading?: boolean;
|
|
9454
|
+
readonly?: boolean;
|
|
8857
9455
|
}>;
|
|
8858
9456
|
}
|
|
8859
9457
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
|
|
@@ -8881,6 +9479,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
8881
9479
|
pagingProps?: ListPagingProps;
|
|
8882
9480
|
filterBaseUrl?: string;
|
|
8883
9481
|
emptyListMessage: string;
|
|
9482
|
+
readonly?: boolean;
|
|
8884
9483
|
}>;
|
|
8885
9484
|
}
|
|
8886
9485
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
@@ -9012,6 +9611,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
9012
9611
|
}
|
|
9013
9612
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
9014
9613
|
}
|
|
9614
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9615
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9616
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9617
|
+
}
|
|
9015
9618
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
9016
9619
|
import { FC } from 'react';
|
|
9017
9620
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9024,6 +9627,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9024
9627
|
import { FC } from 'react';
|
|
9025
9628
|
export const EventDetailViewMetaInfo: FC<{
|
|
9026
9629
|
allowFilterByChannels?: boolean;
|
|
9630
|
+
onChannelClick?: (channel: string) => unknown;
|
|
9027
9631
|
}>;
|
|
9028
9632
|
}
|
|
9029
9633
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9067,6 +9671,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9067
9671
|
export const DetailViewCsvExportButton: FC<{
|
|
9068
9672
|
path: string;
|
|
9069
9673
|
stringResource: string;
|
|
9674
|
+
isReadOnly?: boolean;
|
|
9070
9675
|
className?: string;
|
|
9071
9676
|
}>;
|
|
9072
9677
|
}
|
|
@@ -9126,6 +9731,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9126
9731
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
|
|
9127
9732
|
import { FC } from 'react';
|
|
9128
9733
|
export const EventDetailViewResponseExportButton: FC<{
|
|
9734
|
+
isReadOnly?: boolean;
|
|
9129
9735
|
className?: string;
|
|
9130
9736
|
}>;
|
|
9131
9737
|
}
|
|
@@ -9138,8 +9744,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9138
9744
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
|
|
9139
9745
|
import { FC } from 'react';
|
|
9140
9746
|
export const EventDetailViewUserRegistration: FC<{
|
|
9141
|
-
className?: string;
|
|
9142
9747
|
hideInfoMessage?: boolean;
|
|
9748
|
+
isReadOnly?: boolean;
|
|
9749
|
+
className?: string;
|
|
9143
9750
|
}>;
|
|
9144
9751
|
}
|
|
9145
9752
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
@@ -9180,7 +9787,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9180
9787
|
}
|
|
9181
9788
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
|
|
9182
9789
|
import { FC } from 'react';
|
|
9183
|
-
export const EventRegistrationParticipantsLink: FC
|
|
9790
|
+
export const EventRegistrationParticipantsLink: FC<{
|
|
9791
|
+
isReadOnly?: boolean;
|
|
9792
|
+
}>;
|
|
9184
9793
|
}
|
|
9185
9794
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
|
|
9186
9795
|
import { FC } from 'react';
|
|
@@ -9231,6 +9840,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9231
9840
|
readOnly?: boolean;
|
|
9232
9841
|
trimContent?: boolean;
|
|
9233
9842
|
showReplyBox?: boolean;
|
|
9843
|
+
enableModalRouting?: boolean;
|
|
9234
9844
|
className?: string;
|
|
9235
9845
|
}>;
|
|
9236
9846
|
}
|
|
@@ -9253,6 +9863,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9253
9863
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9254
9864
|
readOnly?: boolean;
|
|
9255
9865
|
trimContent?: boolean;
|
|
9866
|
+
enableModalRouting?: boolean;
|
|
9256
9867
|
className?: string;
|
|
9257
9868
|
}
|
|
9258
9869
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9312,6 +9923,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9312
9923
|
showReplyBox?: boolean;
|
|
9313
9924
|
trimContent?: boolean;
|
|
9314
9925
|
title?: ReactNode;
|
|
9926
|
+
enableModalRouting?: boolean;
|
|
9315
9927
|
className?: string;
|
|
9316
9928
|
};
|
|
9317
9929
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9336,14 +9948,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9336
9948
|
}
|
|
9337
9949
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9338
9950
|
import { FC } from 'react';
|
|
9339
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9340
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9951
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9341
9952
|
export const PublishableItemComments: FC<{
|
|
9342
9953
|
item: PublishableItem;
|
|
9343
9954
|
readOnly?: boolean;
|
|
9344
9955
|
loadInReadOnlyMode?: boolean;
|
|
9345
9956
|
type: ItemResourceTypes;
|
|
9346
|
-
hideProfileUrl?: boolean;
|
|
9347
9957
|
disableLoginForPublicUser?: boolean;
|
|
9348
9958
|
}>;
|
|
9349
9959
|
}
|
|
@@ -9353,6 +9963,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9353
9963
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9354
9964
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9355
9965
|
import { Feedback } from "libs/reach/util/common/src/index";
|
|
9966
|
+
import { ReactNode } from 'hoist-non-react-statics/node_modules/@types/react';
|
|
9356
9967
|
export const FeedbackButtonContext: import("react").Context<{
|
|
9357
9968
|
statistics: ItemStatistics;
|
|
9358
9969
|
item: PublishableItem;
|
|
@@ -9365,6 +9976,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9365
9976
|
item: PublishableItem;
|
|
9366
9977
|
hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
|
|
9367
9978
|
language: string;
|
|
9979
|
+
warningMessage?: ReactNode;
|
|
9368
9980
|
className?: string;
|
|
9369
9981
|
}>;
|
|
9370
9982
|
}
|
|
@@ -9403,19 +10015,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9403
10015
|
}>;
|
|
9404
10016
|
}
|
|
9405
10017
|
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";
|
|
10018
|
+
import { FC, ReactNode } from 'react';
|
|
10019
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9410
10020
|
export const FeedbackSection: FC<{
|
|
9411
10021
|
item: PublishableItem;
|
|
10022
|
+
buttons: ReactNode[];
|
|
9412
10023
|
language: string;
|
|
9413
10024
|
type: ItemResourceTypes;
|
|
9414
10025
|
feedbackSettings: FeedbackSettings;
|
|
9415
10026
|
hideComments?: boolean;
|
|
9416
|
-
hideProfileUrl?: boolean;
|
|
9417
10027
|
disableLoginForPublicUser?: boolean;
|
|
9418
10028
|
isReadOnly?: boolean;
|
|
10029
|
+
warningMessage?: ReactNode;
|
|
9419
10030
|
className?: string;
|
|
9420
10031
|
}>;
|
|
9421
10032
|
}
|
|
@@ -9438,12 +10049,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
|
|
|
9438
10049
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
9439
10050
|
export const EventDownloadCalendarFileButton: FC<{
|
|
9440
10051
|
item: EventItem;
|
|
10052
|
+
isReadOnly: boolean;
|
|
9441
10053
|
className?: string;
|
|
9442
10054
|
}>;
|
|
9443
10055
|
}
|
|
9444
10056
|
declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
|
|
9445
10057
|
import { FC } from 'react';
|
|
9446
|
-
export const EventFeedbackButtonDownloadCalendarFile: FC
|
|
10058
|
+
export const EventFeedbackButtonDownloadCalendarFile: FC<{
|
|
10059
|
+
isReadOnly: boolean;
|
|
10060
|
+
}>;
|
|
9447
10061
|
}
|
|
9448
10062
|
declare module "libs/reach/feature/content/src/feedback/ShareButton" {
|
|
9449
10063
|
import { FC } from 'react';
|
|
@@ -9468,14 +10082,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9468
10082
|
}
|
|
9469
10083
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9470
10084
|
import { FC } from 'react';
|
|
9471
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10085
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9472
10086
|
export const ConfirmationStatisticsExport: FC<{
|
|
9473
10087
|
item: PublishableItem;
|
|
10088
|
+
resourceType: ItemResourceTypes;
|
|
10089
|
+
isReadOnly?: boolean;
|
|
9474
10090
|
}>;
|
|
9475
10091
|
}
|
|
9476
10092
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
9477
10093
|
import { FC } from 'react';
|
|
9478
|
-
export const FeedbackButtonConfirmations: FC
|
|
10094
|
+
export const FeedbackButtonConfirmations: FC<{
|
|
10095
|
+
isReadOnly?: boolean;
|
|
10096
|
+
}>;
|
|
10097
|
+
}
|
|
10098
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
|
|
10099
|
+
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
10100
|
}
|
|
9480
10101
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
|
|
9481
10102
|
import { FC } from 'react';
|
|
@@ -9580,6 +10201,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9580
10201
|
layoutMode?: ItemTileLayoutMode;
|
|
9581
10202
|
bannerDefaultWidth?: number;
|
|
9582
10203
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10204
|
+
documentIconName?: string;
|
|
9583
10205
|
}>;
|
|
9584
10206
|
}
|
|
9585
10207
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9617,17 +10239,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9617
10239
|
isMobilePreview?: boolean;
|
|
9618
10240
|
}>;
|
|
9619
10241
|
}
|
|
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
10242
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9632
10243
|
import { FC } from 'react';
|
|
9633
10244
|
export const DetailViewTitle: FC;
|
|
@@ -9650,24 +10261,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9650
10261
|
import { FC } from 'react';
|
|
9651
10262
|
export const DetailViewKeywords: FC<{
|
|
9652
10263
|
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;
|
|
10264
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9671
10265
|
}>;
|
|
9672
10266
|
}
|
|
9673
10267
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -9697,9 +10291,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9697
10291
|
import { FC, ReactNode } from 'react';
|
|
9698
10292
|
export const DetailViewNavigation: FC<{
|
|
9699
10293
|
offsetRight?: number;
|
|
9700
|
-
children?: ReactNode;
|
|
9701
10294
|
callout?: ReactNode;
|
|
10295
|
+
className?: string;
|
|
10296
|
+
children?: ReactNode;
|
|
9702
10297
|
}>;
|
|
10298
|
+
export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
|
|
10299
|
+
offsetRight?: number;
|
|
10300
|
+
callout?: ReactNode;
|
|
10301
|
+
className?: string;
|
|
10302
|
+
children?: ReactNode;
|
|
10303
|
+
}>, import("styled-components").DefaultTheme, {
|
|
10304
|
+
offsetRightOverride?: number;
|
|
10305
|
+
}, never>;
|
|
9703
10306
|
}
|
|
9704
10307
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9705
10308
|
import { FC } from 'react';
|
|
@@ -9741,605 +10344,241 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9741
10344
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9742
10345
|
};
|
|
9743
10346
|
}
|
|
9744
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
10347
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10348
|
+
interface IClickHandles {
|
|
10349
|
+
onInsideClick: () => void;
|
|
10350
|
+
onOutsideClick: () => void;
|
|
10351
|
+
}
|
|
10352
|
+
export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10353
|
+
}
|
|
10354
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10355
|
+
import { FC } from 'react';
|
|
10356
|
+
export const GroupNotificationsSettings: FC<{
|
|
10357
|
+
groupId: string;
|
|
9755
10358
|
className?: string;
|
|
9756
10359
|
}>;
|
|
9757
10360
|
}
|
|
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;
|
|
10361
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10362
|
+
import { FC } from 'react';
|
|
10363
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10364
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10365
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10366
|
+
export interface PostCreatorProps {
|
|
10367
|
+
groupId: string;
|
|
10368
|
+
disabled?: boolean;
|
|
10369
|
+
disableDragAndDrop?: boolean;
|
|
10370
|
+
onBeforeSave?: (post: Post) => void;
|
|
10371
|
+
onSaved: (post: Post) => void;
|
|
10372
|
+
keywordSettings?: {
|
|
10373
|
+
availableKeywords?: Keyword[];
|
|
10374
|
+
defaultKeywords?: Keyword[];
|
|
10375
|
+
mandatoryKeywords?: Keyword[];
|
|
10376
|
+
};
|
|
10377
|
+
disableAutoFocus?: boolean;
|
|
10378
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9780
10379
|
className?: string;
|
|
9781
10380
|
}
|
|
9782
|
-
export const
|
|
10381
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9783
10382
|
}
|
|
9784
|
-
declare module "libs/reach/feature/content/src/
|
|
10383
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9785
10384
|
import { FC } from 'react';
|
|
9786
|
-
import {
|
|
9787
|
-
|
|
9788
|
-
|
|
10385
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10386
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10387
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10388
|
+
interface Props {
|
|
10389
|
+
className?: string;
|
|
10390
|
+
post: Post;
|
|
10391
|
+
initialPageSize?: number;
|
|
10392
|
+
comments?: PaginatedList<Comment>;
|
|
10393
|
+
autoFocusReplyField?: boolean;
|
|
10394
|
+
showReplyBox?: boolean;
|
|
10395
|
+
onReplyAdded: () => void;
|
|
10396
|
+
onReplyDeleted: () => void;
|
|
10397
|
+
trimContent?: boolean;
|
|
10398
|
+
enableModalRouting?: boolean;
|
|
10399
|
+
}
|
|
10400
|
+
export const PostReplies: FC<Props>;
|
|
10401
|
+
}
|
|
10402
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10403
|
+
import { FC } from 'react';
|
|
10404
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10405
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10406
|
+
export const PostEditor: FC<{
|
|
10407
|
+
className?: string;
|
|
10408
|
+
post: Post;
|
|
10409
|
+
onCancel: () => void;
|
|
10410
|
+
onBeforeSave: (post: Post) => void;
|
|
10411
|
+
onSaved: (post: Post) => void;
|
|
10412
|
+
keywordSettings?: {
|
|
10413
|
+
availableKeywords?: Keyword[];
|
|
10414
|
+
defaultKeywords?: Keyword[];
|
|
10415
|
+
mandatoryKeywords?: Keyword[];
|
|
10416
|
+
};
|
|
9789
10417
|
}>;
|
|
9790
10418
|
}
|
|
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" {
|
|
10419
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9836
10420
|
import { FC } from 'react';
|
|
9837
|
-
export const
|
|
9838
|
-
|
|
9839
|
-
|
|
9840
|
-
className?: string;
|
|
10421
|
+
export const PostFollowButton: FC<{
|
|
10422
|
+
itemId: string;
|
|
10423
|
+
isFollowing: boolean;
|
|
9841
10424
|
}>;
|
|
9842
10425
|
}
|
|
9843
|
-
declare module "libs/reach/feature/content/src/
|
|
10426
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9844
10427
|
import { FC } from 'react';
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
10428
|
+
import { NavLink } from 'react-router-dom';
|
|
10429
|
+
export const PostGroup: FC<{
|
|
10430
|
+
groupId: string;
|
|
10431
|
+
target?: string;
|
|
9848
10432
|
className?: string;
|
|
9849
10433
|
}>;
|
|
10434
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9850
10435
|
}
|
|
9851
|
-
declare module "libs/reach/feature/content/src/
|
|
10436
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9852
10437
|
import { FC } from 'react';
|
|
9853
|
-
import {
|
|
9854
|
-
import {
|
|
10438
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10439
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9855
10440
|
interface Props {
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
mandatoryChannelIds?: string[];
|
|
9859
|
-
availableChannels?: Channel[];
|
|
9860
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
10441
|
+
post: Post;
|
|
10442
|
+
targetUrl?: string;
|
|
9861
10443
|
className?: string;
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
10444
|
+
threadId?: string;
|
|
10445
|
+
onCustomPostDelete?: () => void;
|
|
10446
|
+
comments?: PaginatedList<Comment>;
|
|
10447
|
+
initialCommentsPageSize?: number;
|
|
10448
|
+
onThreadCommentDelete?: () => void;
|
|
10449
|
+
onThreadReply?: (threadId: string) => void;
|
|
10450
|
+
keywordSettings?: {
|
|
10451
|
+
availableKeywords?: Keyword[];
|
|
10452
|
+
defaultKeywords?: Keyword[];
|
|
10453
|
+
mandatoryKeywords?: Keyword[];
|
|
10454
|
+
};
|
|
10455
|
+
showGroup?: boolean;
|
|
10456
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10457
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10458
|
+
onItemClick?: (postId: string) => unknown;
|
|
10459
|
+
openTargetInNewWindow?: boolean;
|
|
10460
|
+
trimContent?: boolean;
|
|
10461
|
+
postGroupTargetUrl?: string;
|
|
10462
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10463
|
+
baseTargetUrl?: string;
|
|
9870
10464
|
}
|
|
9871
|
-
export const
|
|
10465
|
+
export const PostDisplay: FC<Props>;
|
|
10466
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
9872
10467
|
}
|
|
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";
|
|
10468
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10469
|
+
import { FC } from 'react';
|
|
10470
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10471
|
+
export const PostGroupsPicker: FC<{
|
|
10472
|
+
groups: UserGroup[];
|
|
10473
|
+
selectedGroupId: string;
|
|
10474
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10475
|
+
className?: string;
|
|
10476
|
+
}>;
|
|
9975
10477
|
}
|
|
9976
|
-
declare module "libs/reach/feature/content/src/
|
|
10478
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9977
10479
|
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;
|
|
10480
|
+
export const PostGroupSelector: FC<{
|
|
10481
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
10000
10482
|
className?: string;
|
|
10001
|
-
}
|
|
10002
|
-
export const CommentDisplay: FC<Props>;
|
|
10483
|
+
}>;
|
|
10003
10484
|
}
|
|
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
|
-
|
|
10485
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10486
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10487
|
+
import { DocumentNode } from '@apollo/client';
|
|
10488
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10489
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10490
|
+
export enum StreamEventResponse {
|
|
10491
|
+
NotSet = "NOTSET",
|
|
10492
|
+
Registered = "REGISTERED",
|
|
10493
|
+
Declined = "DECLINED"
|
|
10494
|
+
}
|
|
10495
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10496
|
+
}
|
|
10497
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10498
|
+
items: StreamItem[];
|
|
10499
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10500
|
+
loadMore: () => Promise<void>;
|
|
10501
|
+
pageInfo: {
|
|
10502
|
+
errors?: any;
|
|
10503
|
+
hasNextPage: boolean;
|
|
10504
|
+
skip: number;
|
|
10505
|
+
};
|
|
10506
|
+
refresh: () => Promise<void>;
|
|
10507
|
+
isLoadingFirstPage: boolean;
|
|
10508
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10509
|
+
};
|
|
10510
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10511
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10512
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10513
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10514
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10515
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10516
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10517
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10518
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10519
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10520
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10521
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10522
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10523
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10524
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10525
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10019
10526
|
}
|
|
10020
|
-
declare module "libs/reach/feature/content/src/
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
export
|
|
10024
|
-
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
10527
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10528
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10529
|
+
import { DependencyList } from 'react';
|
|
10530
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10025
10531
|
}
|
|
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
|
-
}>;
|
|
10532
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10533
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10534
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10535
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10536
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10537
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10538
|
+
};
|
|
10046
10539
|
}
|
|
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>;
|
|
10540
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10541
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10542
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10543
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10544
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10545
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10546
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10547
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10548
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10549
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10550
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10073
10551
|
}
|
|
10074
|
-
declare module "libs/reach/feature/content/src/
|
|
10075
|
-
import {
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
singleMode?: boolean;
|
|
10552
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10553
|
+
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";
|
|
10554
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10555
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10556
|
+
enum StreamItemTypes {
|
|
10557
|
+
Post = "POST",
|
|
10558
|
+
News = "NEWS",
|
|
10559
|
+
Event = "EVENT",
|
|
10560
|
+
Page = "PAGE"
|
|
10084
10561
|
}
|
|
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;
|
|
10562
|
+
export enum StreamConversationScope {
|
|
10563
|
+
Public = "PUBLIC",
|
|
10564
|
+
Editor = "EDITOR",
|
|
10565
|
+
Posts = "POSTS"
|
|
10097
10566
|
}
|
|
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;
|
|
10567
|
+
export interface PostStreamItem extends Post {
|
|
10568
|
+
type: StreamItemTypes.Post;
|
|
10569
|
+
isUnread: boolean;
|
|
10570
|
+
keywordsList?: Keyword[];
|
|
10571
|
+
groupIds?: string[];
|
|
10572
|
+
postAttachments?: StreamAttachment[];
|
|
10573
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10574
|
+
hasMoreUnreadComments: boolean;
|
|
10117
10575
|
}
|
|
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
|
|
10576
|
+
export interface StreamPostComment extends Comment {
|
|
10577
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10578
|
+
streamConversationScope?: StreamConversationScope;
|
|
10132
10579
|
}
|
|
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;
|
|
10580
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
10581
|
+
type: GraphQLAttachmentType;
|
|
10343
10582
|
}
|
|
10344
10583
|
export interface NewsStreamItem extends NewsItem {
|
|
10345
10584
|
type: StreamItemTypes.News;
|
|
@@ -10528,7 +10767,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10528
10767
|
knownState: KnownNewsState;
|
|
10529
10768
|
hasNewComments?: boolean;
|
|
10530
10769
|
isLiked?: boolean;
|
|
10531
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10532
10770
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10533
10771
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10534
10772
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10738,6 +10976,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10738
10976
|
isUnlinked?: boolean;
|
|
10739
10977
|
pageType?: PageType;
|
|
10740
10978
|
firstChildId?: string;
|
|
10979
|
+
isGroupInheritanceBroken?: boolean;
|
|
10741
10980
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10742
10981
|
id?: string;
|
|
10743
10982
|
versionId?: string;
|
|
@@ -10817,7 +11056,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10817
11056
|
knownState: KnownNewsState;
|
|
10818
11057
|
hasNewComments?: boolean;
|
|
10819
11058
|
isLiked?: boolean;
|
|
10820
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10821
11059
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10822
11060
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10823
11061
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10925,6 +11163,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10925
11163
|
isUnlinked?: boolean;
|
|
10926
11164
|
pageType?: PageType;
|
|
10927
11165
|
firstChildId?: string;
|
|
11166
|
+
isGroupInheritanceBroken?: boolean;
|
|
10928
11167
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10929
11168
|
id?: string;
|
|
10930
11169
|
versionId?: string;
|
|
@@ -11048,7 +11287,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11048
11287
|
knownState: KnownNewsState;
|
|
11049
11288
|
hasNewComments?: boolean;
|
|
11050
11289
|
isLiked?: boolean;
|
|
11051
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
11052
11290
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
11053
11291
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11054
11292
|
id?: string;
|
|
@@ -11123,6 +11361,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11123
11361
|
isUnlinked?: boolean;
|
|
11124
11362
|
pageType?: PageType;
|
|
11125
11363
|
firstChildId?: string;
|
|
11364
|
+
isGroupInheritanceBroken?: boolean;
|
|
11126
11365
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11127
11366
|
id?: string;
|
|
11128
11367
|
versionId?: string;
|
|
@@ -11150,73 +11389,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11150
11389
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11151
11390
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11152
11391
|
})[];
|
|
11392
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11393
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11394
|
+
}
|
|
11395
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11396
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11397
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11398
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11399
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11400
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11401
|
+
}
|
|
11402
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11403
|
+
import { LocationDescriptor } from 'history';
|
|
11404
|
+
import { FC, ReactNode } from 'react';
|
|
11405
|
+
export const SidebarIcon: FC<{
|
|
11406
|
+
icon?: ReactNode;
|
|
11407
|
+
iconName?: string;
|
|
11408
|
+
color?: string;
|
|
11409
|
+
onClick?: () => any;
|
|
11410
|
+
route?: LocationDescriptor;
|
|
11411
|
+
iconTooltipResourceKey: string;
|
|
11412
|
+
iconTooltipResourceValues?: any;
|
|
11413
|
+
className?: string;
|
|
11414
|
+
}>;
|
|
11415
|
+
}
|
|
11416
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11417
|
+
import { FC, ReactNode } from 'react';
|
|
11418
|
+
import { LocationDescriptor } from 'history';
|
|
11419
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11420
|
+
export interface BaseSidebarItemProps {
|
|
11421
|
+
children?: any;
|
|
11422
|
+
icon?: ReactNode;
|
|
11423
|
+
iconName?: string;
|
|
11424
|
+
iconTooltipResourceKey?: string;
|
|
11425
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11426
|
+
secondaryIconName?: string;
|
|
11427
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11428
|
+
reverse?: boolean;
|
|
11429
|
+
onIconClick?: () => void;
|
|
11430
|
+
iconRoute?: LocationDescriptor;
|
|
11431
|
+
iconColor?: string;
|
|
11432
|
+
onSecondaryIconClick?: () => void;
|
|
11433
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11434
|
+
onContentClick?: () => void;
|
|
11435
|
+
contentRoute?: LocationDescriptor;
|
|
11436
|
+
badgeInfo?: number | boolean;
|
|
11437
|
+
title?: string;
|
|
11438
|
+
className?: string;
|
|
11439
|
+
}
|
|
11440
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11441
|
+
}
|
|
11442
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11443
|
+
import { FC } from 'react';
|
|
11444
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11445
|
+
export const SidebarItemSection: FC<{
|
|
11446
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11447
|
+
}>;
|
|
11448
|
+
}
|
|
11449
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11450
|
+
import { FC, ReactNode } from 'react';
|
|
11451
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11452
|
+
import { LocationDescriptor } from 'history';
|
|
11453
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11454
|
+
interface CommonSidebarItemProps {
|
|
11455
|
+
title?: string | JSX.Element;
|
|
11456
|
+
titleResource?: string;
|
|
11457
|
+
icon?: ReactNode;
|
|
11458
|
+
iconName?: string;
|
|
11459
|
+
iconTooltipResourceKey?: string;
|
|
11460
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11461
|
+
secondaryIconName?: string;
|
|
11462
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11463
|
+
iconColor?: string;
|
|
11464
|
+
reverse?: boolean;
|
|
11465
|
+
notHighlightable?: boolean;
|
|
11466
|
+
onClick?: () => void;
|
|
11467
|
+
className?: string;
|
|
11468
|
+
isActive?: boolean;
|
|
11469
|
+
activeClassName?: string;
|
|
11470
|
+
readOnly?: boolean;
|
|
11471
|
+
submenu?: JSX.Element;
|
|
11472
|
+
submenuClassName?: string;
|
|
11473
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11474
|
+
badgeInfo?: number | boolean;
|
|
11475
|
+
domIdentifier?: string;
|
|
11476
|
+
}
|
|
11477
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11478
|
+
contentRoute?: LocationDescriptor;
|
|
11479
|
+
onIconClick?: () => void;
|
|
11480
|
+
iconRoute?: LocationDescriptor;
|
|
11481
|
+
onSecondaryIconClick?: () => void;
|
|
11482
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11483
|
+
isHoverable?: boolean;
|
|
11484
|
+
}
|
|
11485
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11486
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11487
|
+
route: LocationDescriptor;
|
|
11488
|
+
exact?: boolean;
|
|
11489
|
+
linkClassName?: string;
|
|
11490
|
+
}
|
|
11491
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11492
|
+
}
|
|
11493
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11494
|
+
import { FC } from 'react';
|
|
11495
|
+
export const SidebarGroup: FC<{
|
|
11496
|
+
titleResource?: string;
|
|
11497
|
+
borderColor?: string;
|
|
11498
|
+
className?: string;
|
|
11499
|
+
}>;
|
|
11500
|
+
}
|
|
11501
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11502
|
+
import { FC } from 'react';
|
|
11503
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11504
|
+
domIdentifier: string;
|
|
11505
|
+
trimContent?: boolean;
|
|
11506
|
+
className?: string;
|
|
11507
|
+
}>;
|
|
11508
|
+
}
|
|
11509
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11510
|
+
import { FC } from 'react';
|
|
11511
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11512
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11513
|
+
interface Props {
|
|
11514
|
+
selectedChannelNames?: string[];
|
|
11515
|
+
selectedChannelIds?: string[];
|
|
11516
|
+
mandatoryChannelIds?: string[];
|
|
11517
|
+
availableChannels?: Channel[];
|
|
11518
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11519
|
+
className?: string;
|
|
11520
|
+
showOnlyUserChannels?: boolean;
|
|
11521
|
+
showSelectionToggle?: boolean;
|
|
11522
|
+
placeholder?: string;
|
|
11523
|
+
inlineControls?: boolean;
|
|
11524
|
+
required?: boolean;
|
|
11525
|
+
id?: string;
|
|
11526
|
+
showLogicalOperatorOptions?: boolean;
|
|
11527
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11528
|
+
}
|
|
11529
|
+
export const ChannelSelector: FC<Props>;
|
|
11530
|
+
}
|
|
11531
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11532
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11533
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11534
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11535
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11536
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11537
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11538
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11539
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11540
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11541
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11542
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11543
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11544
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11545
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11546
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11547
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11548
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11549
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11550
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11551
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11552
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11553
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11554
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11555
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11556
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11557
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11558
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11559
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11560
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11561
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11562
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11563
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11564
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11565
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11566
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11567
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11568
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11569
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11570
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11571
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11572
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11573
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11574
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11575
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11576
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11577
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11578
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11579
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11580
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11581
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11582
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11583
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11587
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11592
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11593
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11594
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11595
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11598
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11599
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11600
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11601
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11602
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11603
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11604
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11605
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11606
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11607
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11608
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11609
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11610
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11611
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11612
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11613
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11614
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11615
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11616
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11617
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11618
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11619
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11620
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11621
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11622
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11623
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11624
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11625
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11626
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11627
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11628
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11629
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11630
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11631
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11632
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11633
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11634
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11635
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11636
|
+
}
|
|
11637
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11638
|
+
import { FC } from 'react';
|
|
11639
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11640
|
+
interface Props {
|
|
11641
|
+
type?: ItemResourceTypes;
|
|
11642
|
+
baseAttachmentPath?: string;
|
|
11643
|
+
message: Comment;
|
|
11644
|
+
showDelete?: boolean;
|
|
11645
|
+
showAutoTranslate?: boolean;
|
|
11646
|
+
showEdit?: boolean;
|
|
11647
|
+
onDelete?: (comment: Comment) => void;
|
|
11648
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11649
|
+
scope: ConversationScope;
|
|
11650
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11651
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11652
|
+
highlight?: boolean;
|
|
11653
|
+
hasUnreadReplies?: boolean;
|
|
11654
|
+
onReplyIconClick?: () => void;
|
|
11655
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11656
|
+
replyCount?: number;
|
|
11657
|
+
readOnly?: boolean;
|
|
11658
|
+
trimContent?: boolean;
|
|
11659
|
+
enableModalRouting?: boolean;
|
|
11660
|
+
className?: string;
|
|
11661
|
+
}
|
|
11662
|
+
export const CommentDisplay: FC<Props>;
|
|
11153
11663
|
}
|
|
11154
|
-
declare module "libs/reach/feature/content/src/
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
export
|
|
11160
|
-
|
|
11161
|
-
|
|
11162
|
-
|
|
11664
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11665
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11666
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11667
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11668
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11669
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11670
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11671
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11672
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11673
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11674
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11675
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11676
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11677
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11678
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11679
|
+
}
|
|
11680
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11681
|
+
import { FC, ReactNode } from 'react';
|
|
11682
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11683
|
+
interface Props {
|
|
11684
|
+
isOpen: boolean;
|
|
11685
|
+
preSelectedKeywords: Keyword[];
|
|
11686
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11687
|
+
titleResource: string;
|
|
11688
|
+
onDismiss: () => void;
|
|
11689
|
+
availableKeywords?: Keyword[];
|
|
11690
|
+
mandatoryKeywordIds?: string[];
|
|
11163
11691
|
}
|
|
11164
|
-
export
|
|
11692
|
+
export const KeywordDialog: FC<Props>;
|
|
11693
|
+
export const StatefulKeywordPicker: FC<{
|
|
11694
|
+
preSelectedKeywords: Keyword[];
|
|
11695
|
+
availableKeywords?: Keyword[];
|
|
11696
|
+
mandatoryKeywordIds?: string[];
|
|
11697
|
+
showSelectionToggle?: boolean;
|
|
11698
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11699
|
+
}>;
|
|
11700
|
+
}
|
|
11701
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11702
|
+
import { FC, MutableRefObject } from 'react';
|
|
11703
|
+
export interface TextareaProps {
|
|
11704
|
+
rows?: number;
|
|
11705
|
+
placeholder?: string;
|
|
11706
|
+
readOnly?: boolean;
|
|
11707
|
+
onChange: (value: string) => void;
|
|
11708
|
+
className?: string;
|
|
11709
|
+
defaultValue?: string;
|
|
11710
|
+
disabled?: boolean;
|
|
11711
|
+
noDebouncing?: boolean;
|
|
11712
|
+
value?: string;
|
|
11713
|
+
onIconClick?: () => void;
|
|
11714
|
+
onEnter?: () => void;
|
|
11715
|
+
icon?: string;
|
|
11716
|
+
disableNewLines?: boolean;
|
|
11717
|
+
autoFocus?: boolean;
|
|
11718
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11719
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11720
|
+
inputType?: string;
|
|
11165
11721
|
}
|
|
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;
|
|
11722
|
+
/**
|
|
11723
|
+
* Textarea that expands vertically to fit content.
|
|
11724
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11725
|
+
*/
|
|
11726
|
+
export const Textarea: FC<TextareaProps>;
|
|
11195
11727
|
}
|
|
11196
|
-
declare module "libs/reach/feature/content/src/
|
|
11197
|
-
import {
|
|
11198
|
-
|
|
11199
|
-
|
|
11728
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11729
|
+
import { FC } from 'react';
|
|
11730
|
+
interface Props {
|
|
11731
|
+
onInsert: (files: File[]) => void;
|
|
11732
|
+
accept?: string;
|
|
11733
|
+
captionKey?: string;
|
|
11734
|
+
captionIconName?: string;
|
|
11735
|
+
descriptionKey?: string;
|
|
11736
|
+
descriptionIconName?: string;
|
|
11737
|
+
singleMode?: boolean;
|
|
11738
|
+
}
|
|
11739
|
+
export const InsertFilesButton: FC<Props>;
|
|
11740
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11741
|
+
isActive?: boolean;
|
|
11742
|
+
}, never>;
|
|
11200
11743
|
}
|
|
11201
|
-
declare module "libs/reach/feature/content/src/
|
|
11202
|
-
import {
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11207
|
-
|
|
11744
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11745
|
+
import { FC } from 'react';
|
|
11746
|
+
interface Props {
|
|
11747
|
+
onInsert: (files: File[]) => void;
|
|
11748
|
+
accept?: string;
|
|
11749
|
+
captionKey?: string;
|
|
11750
|
+
descriptionKey?: string;
|
|
11751
|
+
}
|
|
11752
|
+
export const InsertImagesButton: FC<Props>;
|
|
11208
11753
|
}
|
|
11209
|
-
declare module "libs/reach/feature/content/src/
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11754
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11755
|
+
import { FC } from 'react';
|
|
11756
|
+
interface DateTimePickerProps {
|
|
11757
|
+
date: string;
|
|
11758
|
+
maxDate?: string;
|
|
11759
|
+
minDate?: string;
|
|
11760
|
+
dateValidationResourceKey?: string;
|
|
11761
|
+
timeValidationResourceKey?: string;
|
|
11762
|
+
readOnly?: boolean;
|
|
11763
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11764
|
+
noDateResourceKey: string;
|
|
11765
|
+
selectDateResourceKey: string;
|
|
11766
|
+
dateOnly?: boolean;
|
|
11767
|
+
initialPickerDate?: string;
|
|
11768
|
+
label?: string;
|
|
11769
|
+
isRequired?: boolean;
|
|
11770
|
+
className?: string;
|
|
11771
|
+
}
|
|
11772
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11773
|
+
export default DateTimePicker;
|
|
11774
|
+
}
|
|
11775
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11776
|
+
import moment, { Moment } from 'moment';
|
|
11777
|
+
export enum DateRange {
|
|
11778
|
+
TwoYears = 0,
|
|
11779
|
+
OneYear = 1,
|
|
11780
|
+
SixMonths = 2,
|
|
11781
|
+
TwoMonths = 3,
|
|
11782
|
+
OneMonth = 4,
|
|
11783
|
+
SevenDays = 5,
|
|
11784
|
+
YesterDay = 6,
|
|
11785
|
+
Today = 7
|
|
11786
|
+
}
|
|
11787
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11788
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11789
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11790
|
+
}
|
|
11791
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11792
|
+
import { FC } from 'react';
|
|
11793
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11794
|
+
export const DateRangeSlider: FC<{
|
|
11795
|
+
value?: DateRange;
|
|
11796
|
+
onChange: (range: DateRange) => unknown;
|
|
11797
|
+
}>;
|
|
11798
|
+
}
|
|
11799
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11800
|
+
import { FC } from 'react';
|
|
11801
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11802
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11803
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11804
|
+
interface PeoplePickerDialogProps {
|
|
11805
|
+
defaultSelectedItems: Account[];
|
|
11806
|
+
onChange: (items: Account[]) => void;
|
|
11807
|
+
onDismiss: () => void;
|
|
11808
|
+
titleResource: string;
|
|
11809
|
+
intl?: WrappedComponentProps;
|
|
11810
|
+
selectionMode?: SelectionMode;
|
|
11811
|
+
allowMailItems?: boolean;
|
|
11812
|
+
accountType: AccountType;
|
|
11813
|
+
showDialog: boolean;
|
|
11814
|
+
allowEmptyValue: boolean;
|
|
11815
|
+
includePendingInvitationUsers?: boolean;
|
|
11816
|
+
placeholderStringResourceKey?: string;
|
|
11817
|
+
inputAriaLabelResourceKey: string;
|
|
11818
|
+
}
|
|
11819
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11820
|
+
}
|
|
11821
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11822
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11823
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11824
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11825
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11826
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11827
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11828
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11829
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11830
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11831
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11832
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11833
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11834
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11835
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11220
11836
|
}
|
|
11221
11837
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11222
11838
|
import { FC, ReactNode } from 'react';
|
|
@@ -11313,8 +11929,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11313
11929
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11314
11930
|
export type ShareTokenType = 'preview' | 'published';
|
|
11315
11931
|
export function useShareTokenEditorApi(): {
|
|
11316
|
-
activateShareToken: (
|
|
11317
|
-
deleteShareToken: (
|
|
11932
|
+
activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
|
|
11933
|
+
deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
|
|
11318
11934
|
};
|
|
11319
11935
|
}
|
|
11320
11936
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11325,9 +11941,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11325
11941
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11326
11942
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11327
11943
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11328
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11944
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11329
11945
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11330
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11946
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11331
11947
|
};
|
|
11332
11948
|
}
|
|
11333
11949
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11366,6 +11982,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11366
11982
|
event: EventStreamItem;
|
|
11367
11983
|
}>;
|
|
11368
11984
|
}
|
|
11985
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11986
|
+
import { FC } from 'react';
|
|
11987
|
+
export const GlobalSearchButton: FC<{
|
|
11988
|
+
className?: string;
|
|
11989
|
+
}>;
|
|
11990
|
+
}
|
|
11369
11991
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11370
11992
|
import { FC, ReactNode } from 'react';
|
|
11371
11993
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11433,12 +12055,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11433
12055
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11434
12056
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11435
12057
|
}
|
|
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
12058
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11443
12059
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11444
12060
|
}
|
|
@@ -11880,6 +12496,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
11880
12496
|
}) => string;
|
|
11881
12497
|
};
|
|
11882
12498
|
}
|
|
12499
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12500
|
+
import { Dispatch } from 'react';
|
|
12501
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12502
|
+
}
|
|
12503
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12504
|
+
import { FC } from 'react';
|
|
12505
|
+
export interface Dashboard {
|
|
12506
|
+
name: string;
|
|
12507
|
+
title: string;
|
|
12508
|
+
url: string;
|
|
12509
|
+
}
|
|
12510
|
+
export const DashboardPage: FC<{
|
|
12511
|
+
dashboard: Dashboard;
|
|
12512
|
+
}>;
|
|
12513
|
+
}
|
|
12514
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12515
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12516
|
+
export function useDashboards(): Dashboard[];
|
|
12517
|
+
export function hasDashboards(): boolean;
|
|
12518
|
+
}
|
|
12519
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12520
|
+
import { FC } from 'react';
|
|
12521
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12522
|
+
}
|
|
11883
12523
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
11884
12524
|
import { FC } from 'react';
|
|
11885
12525
|
interface Props {
|