@livetiles/reach-plugin-types 0.5.0-preview.3 → 0.5.0-preview.300
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 +1916 -1185
- 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;
|
|
@@ -1443,6 +1714,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1443
1714
|
subscriptionId: string;
|
|
1444
1715
|
tenantId: string;
|
|
1445
1716
|
expires?: string;
|
|
1717
|
+
hasPrivateEmail?: boolean;
|
|
1446
1718
|
}
|
|
1447
1719
|
export interface HashUser {
|
|
1448
1720
|
id: string;
|
|
@@ -1489,6 +1761,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1489
1761
|
user: UserSummary;
|
|
1490
1762
|
type: SubscriptionJoinResultType;
|
|
1491
1763
|
message?: string;
|
|
1764
|
+
isSuccess?: boolean;
|
|
1492
1765
|
}
|
|
1493
1766
|
export interface UserActivationResult {
|
|
1494
1767
|
type: UserActivationResultType;
|
|
@@ -1715,11 +1988,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
|
1715
1988
|
knownState: KnownNewsState;
|
|
1716
1989
|
hasNewComments?: boolean;
|
|
1717
1990
|
isLiked?: boolean;
|
|
1718
|
-
shareToken?: ShareToken;
|
|
1719
|
-
}
|
|
1720
|
-
export interface ShareToken {
|
|
1721
|
-
published?: string;
|
|
1722
|
-
preview?: string;
|
|
1723
1991
|
}
|
|
1724
1992
|
export interface NewsItemAlertOptions {
|
|
1725
1993
|
duration?: string;
|
|
@@ -1907,6 +2175,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1907
2175
|
useExternalContent?: boolean;
|
|
1908
2176
|
isDemoContent?: boolean;
|
|
1909
2177
|
}
|
|
2178
|
+
export interface ShareablePublishableItem extends PublishableItem {
|
|
2179
|
+
shareToken: ShareToken;
|
|
2180
|
+
}
|
|
2181
|
+
export interface ShareToken {
|
|
2182
|
+
published?: string;
|
|
2183
|
+
preview?: string;
|
|
2184
|
+
}
|
|
1910
2185
|
export interface PublishableItemVersion extends PublishableItem {
|
|
1911
2186
|
itemId: string;
|
|
1912
2187
|
versionModificationDate: string;
|
|
@@ -1930,6 +2205,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1930
2205
|
}
|
|
1931
2206
|
}
|
|
1932
2207
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2208
|
+
import { Api } from 'restful.js';
|
|
1933
2209
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
1934
2210
|
export class ClientFactoryInstance {
|
|
1935
2211
|
private env;
|
|
@@ -1940,7 +2216,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1940
2216
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
1941
2217
|
url: string;
|
|
1942
2218
|
}) => Promise<unknown>);
|
|
1943
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2219
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
1944
2220
|
private createApiInternal;
|
|
1945
2221
|
private addRequestTimeLogger;
|
|
1946
2222
|
createApiUrl: (url: string, query?: {
|
|
@@ -2258,12 +2534,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2258
2534
|
isUnlinked?: boolean;
|
|
2259
2535
|
pageType?: PageType;
|
|
2260
2536
|
firstChildId?: string;
|
|
2537
|
+
isGroupInheritanceBroken?: boolean;
|
|
2261
2538
|
}
|
|
2262
2539
|
export interface ContentsSummary {
|
|
2263
2540
|
[lang: string]: TitleContent & {
|
|
2264
2541
|
fileInfo?: DocumentFileInfo;
|
|
2265
2542
|
};
|
|
2266
2543
|
}
|
|
2544
|
+
export interface GroupInheritanceUpdateRequest {
|
|
2545
|
+
breakGroupInheritance: boolean;
|
|
2546
|
+
}
|
|
2267
2547
|
export interface PageNavigationNode {
|
|
2268
2548
|
id: string;
|
|
2269
2549
|
contents?: ContentsSummary;
|
|
@@ -2447,6 +2727,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2447
2727
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2448
2728
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2449
2729
|
}
|
|
2730
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2731
|
+
export const maxContentWidth = 985;
|
|
2732
|
+
export const adminMaxWidth = 600;
|
|
2733
|
+
export const spacingXxs = 3;
|
|
2734
|
+
export const spacingXs = 6;
|
|
2735
|
+
export const spacingS = 10;
|
|
2736
|
+
export const spacingM = 20;
|
|
2737
|
+
export const spacingL = 30;
|
|
2738
|
+
export const spacingX = 40;
|
|
2739
|
+
export const spacingXl = 60;
|
|
2740
|
+
export const minScreenSize: {
|
|
2741
|
+
small: number;
|
|
2742
|
+
medium: number;
|
|
2743
|
+
large: number;
|
|
2744
|
+
xLarge: number;
|
|
2745
|
+
xxLarge: number;
|
|
2746
|
+
xxxLarge: number;
|
|
2747
|
+
};
|
|
2748
|
+
export const maxScreenSize: {
|
|
2749
|
+
small: number;
|
|
2750
|
+
medium: number;
|
|
2751
|
+
large: number;
|
|
2752
|
+
xLarge: number;
|
|
2753
|
+
xxLarge: number;
|
|
2754
|
+
};
|
|
2755
|
+
export const sidebarWidth = 285;
|
|
2756
|
+
export const sidebarWidthRight = 320;
|
|
2757
|
+
export const sidebarItemHeight = 50;
|
|
2758
|
+
export const headerHeight = 50;
|
|
2759
|
+
export const headerSecondaryHeight = 50;
|
|
2760
|
+
export const notificationHeight = 50;
|
|
2761
|
+
export const mainContentPanelWidth = 300;
|
|
2762
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2763
|
+
export const fontSizeLarger = 40;
|
|
2764
|
+
export const fontSizeLarge = 25;
|
|
2765
|
+
export const fontSizeMedium = 18;
|
|
2766
|
+
export const fontSizeNormal = 16;
|
|
2767
|
+
export const fontSizeSmall = 14;
|
|
2768
|
+
export const fontSizeSmaller = 12;
|
|
2769
|
+
export const socialIconSize = 26;
|
|
2770
|
+
export const lineHeight = 23;
|
|
2771
|
+
export const smallScreenLoginHeight = 40;
|
|
2772
|
+
export const bannerAspectRatio: number;
|
|
2773
|
+
export const bannerWidth = 980;
|
|
2774
|
+
export const bannerHeight = 420;
|
|
2775
|
+
export const HighlightBubbleSize = 12;
|
|
2776
|
+
export const StatusBubbleSize = 10;
|
|
2777
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2778
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2779
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2780
|
+
export const dialogSpacing = 24;
|
|
2781
|
+
export const detailViewSectionPadding = 20;
|
|
2782
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2783
|
+
export const postsSectionPadding = 20;
|
|
2784
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2785
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2786
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2787
|
+
export const feedbackButtonHeight = 32;
|
|
2788
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2789
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2790
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2791
|
+
export const statusColors: {
|
|
2792
|
+
draft: string;
|
|
2793
|
+
ready: string;
|
|
2794
|
+
rejected: string;
|
|
2795
|
+
};
|
|
2796
|
+
export const cardWidthS = 260;
|
|
2797
|
+
export const cardWidthM = 354;
|
|
2798
|
+
export const cardWidthL = 314;
|
|
2799
|
+
export const cardWidthXL = 423;
|
|
2800
|
+
export const managePagesRowWidth = 300;
|
|
2801
|
+
export const managePagesRowHeight = 40;
|
|
2802
|
+
export const mobilePreviewWidth = 414;
|
|
2803
|
+
}
|
|
2804
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2805
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2806
|
+
import { IntlShape } from 'react-intl';
|
|
2807
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2808
|
+
export enum LinkType {
|
|
2809
|
+
Internal = "internal",
|
|
2810
|
+
External = "external",
|
|
2811
|
+
Download = "download"
|
|
2812
|
+
}
|
|
2813
|
+
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}";
|
|
2814
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2815
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2816
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2817
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2818
|
+
logoInfo: LogoInfo;
|
|
2819
|
+
subscriptionName: string;
|
|
2820
|
+
};
|
|
2821
|
+
}
|
|
2822
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2823
|
+
export enum AnalyticsInteractionEvents {
|
|
2824
|
+
embeddedVideo = "embedded-video",
|
|
2825
|
+
embeddedAudio = "embedded-audio",
|
|
2826
|
+
languageChange = "language-change",
|
|
2827
|
+
eventRegistration = "event-registration",
|
|
2828
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2829
|
+
translateContent = "translate-content",
|
|
2830
|
+
downloadFile = "download-file",
|
|
2831
|
+
embeddedIframe = "embedded-iframe",
|
|
2832
|
+
externalLink = "external-link",
|
|
2833
|
+
follow = "follow",
|
|
2834
|
+
bookmark = "bookmark"
|
|
2835
|
+
}
|
|
2836
|
+
export enum AnalyticsActions {
|
|
2837
|
+
click = "click",
|
|
2838
|
+
navigate = "navigate",
|
|
2839
|
+
view = "view",
|
|
2840
|
+
search = "search"
|
|
2841
|
+
}
|
|
2842
|
+
export enum AnalyticsModuleType {
|
|
2843
|
+
Admin = "admin",
|
|
2844
|
+
Chat = "chat",
|
|
2845
|
+
Comments = "comments",
|
|
2846
|
+
Events = "events",
|
|
2847
|
+
Search = "search",
|
|
2848
|
+
News = "news",
|
|
2849
|
+
Pages = "pages",
|
|
2850
|
+
People = "people",
|
|
2851
|
+
Posts = "posts",
|
|
2852
|
+
Stream = "stream",
|
|
2853
|
+
User = "user"
|
|
2854
|
+
}
|
|
2855
|
+
export enum AnalyticsModuleSubtype {
|
|
2856
|
+
AllChats = "allChats",
|
|
2857
|
+
AllNews = "allNews",
|
|
2858
|
+
AllPosts = "allPosts",
|
|
2859
|
+
Bookmarks = "bookmarks",
|
|
2860
|
+
Channel = "channel",
|
|
2861
|
+
Channels = "channels",
|
|
2862
|
+
ChatConversation = "conversation",
|
|
2863
|
+
Customization = "customization",
|
|
2864
|
+
DetailView = "detailView",
|
|
2865
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2866
|
+
Group = "group",
|
|
2867
|
+
Groups = "groups",
|
|
2868
|
+
Keywords = "keywords",
|
|
2869
|
+
Languages = "languages",
|
|
2870
|
+
MyNews = "myNews",
|
|
2871
|
+
Owners = "owners",
|
|
2872
|
+
Preview = "preview",
|
|
2873
|
+
RootPages = "rootPages",
|
|
2874
|
+
Search = "search",
|
|
2875
|
+
SelfRegistration = "selfRegistration",
|
|
2876
|
+
TargetAudience = "targetAudience",
|
|
2877
|
+
UpcomingEvents = "upcoming",
|
|
2878
|
+
BookedEvents = "booked",
|
|
2879
|
+
PastEvents = "past",
|
|
2880
|
+
Users = "users",
|
|
2881
|
+
WebHooks = "webHooks",
|
|
2882
|
+
Editor = "editor"
|
|
2883
|
+
}
|
|
2884
|
+
}
|
|
2885
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2886
|
+
export function useLinkInteraction(): void;
|
|
2887
|
+
}
|
|
2888
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2889
|
+
export function useIframeInteraction(): void;
|
|
2890
|
+
}
|
|
2891
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
|
|
2892
|
+
import { FC } from 'react';
|
|
2893
|
+
import { EventModule } from '@livetiles/analytics';
|
|
2894
|
+
export const AnalyticsModuleContext: import("react").Context<EventModule>;
|
|
2895
|
+
export const AnalyticsModuleContextProvider: FC<{
|
|
2896
|
+
module: EventModule;
|
|
2897
|
+
}>;
|
|
2898
|
+
}
|
|
2899
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2900
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2901
|
+
import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
|
|
2902
|
+
export interface SearchAnalytics {
|
|
2903
|
+
data: EventSearch[];
|
|
2904
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2905
|
+
onItemRead: (itemId: string) => void;
|
|
2906
|
+
}
|
|
2907
|
+
export interface ModuleAnalytics {
|
|
2908
|
+
module: EventModule;
|
|
2909
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2910
|
+
}
|
|
2911
|
+
interface ActivityAnalytics {
|
|
2912
|
+
trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
|
|
2913
|
+
sendActivity: () => void;
|
|
2914
|
+
}
|
|
2915
|
+
export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
|
|
2916
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2917
|
+
export function useAnalyticsContext(): {
|
|
2918
|
+
interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
|
|
2919
|
+
trackActivity: (scrollContainer?: HTMLElement) => Activity;
|
|
2920
|
+
getUser: () => import("@segment/analytics-next").User;
|
|
2921
|
+
identify: (userId: string, traits?: Record<string, unknown>) => Promise<void>;
|
|
2922
|
+
activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
|
|
2923
|
+
module: EventModule;
|
|
2924
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2925
|
+
data: EventSearch[];
|
|
2926
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2927
|
+
onItemRead: (itemId: string) => void;
|
|
2928
|
+
sendActivity: () => void;
|
|
2929
|
+
};
|
|
2930
|
+
export const AnalyticsLibraryContextProvider: FC<{
|
|
2931
|
+
appName?: string;
|
|
2932
|
+
}>;
|
|
2933
|
+
export const AnalyticsContextProvider: FC;
|
|
2934
|
+
}
|
|
2935
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
2936
|
+
import { Observable } from 'rxjs';
|
|
2937
|
+
export const onPageScroll: Observable<number>;
|
|
2938
|
+
export function handlePageScroll(availableScrollSpace: number): void;
|
|
2939
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2940
|
+
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
2941
|
+
}
|
|
2942
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2943
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2944
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2945
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2946
|
+
}
|
|
2947
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2948
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2949
|
+
}
|
|
2950
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2951
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2952
|
+
}
|
|
2953
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2954
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2955
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2956
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2957
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2958
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2959
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
2960
|
+
}
|
|
2450
2961
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2451
2962
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2452
2963
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2520,6 +3031,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2520
3031
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2521
3032
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2522
3033
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
3034
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
3035
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2523
3036
|
};
|
|
2524
3037
|
}
|
|
2525
3038
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2545,6 +3058,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2545
3058
|
customDomain?: string;
|
|
2546
3059
|
allowSelfRegistration?: boolean;
|
|
2547
3060
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3061
|
+
hideSubscriptionName?: boolean;
|
|
2548
3062
|
id: string;
|
|
2549
3063
|
subscriptionName: string;
|
|
2550
3064
|
subscriptionHandle?: string;
|
|
@@ -2710,7 +3224,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2710
3224
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2711
3225
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2712
3226
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2713
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3227
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2714
3228
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2715
3229
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2716
3230
|
};
|
|
@@ -2816,17 +3330,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2816
3330
|
}
|
|
2817
3331
|
}
|
|
2818
3332
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2819
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3333
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2820
3334
|
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
2821
|
-
export enum ExtensionArea {
|
|
2822
|
-
global = "Global",
|
|
2823
|
-
page = "Page",
|
|
2824
|
-
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
2825
|
-
eventDetailViewSection = "EventDetailViewSection"
|
|
2826
|
-
}
|
|
2827
3335
|
export interface PluginNavigationNodeProps {
|
|
2828
3336
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2829
3337
|
}
|
|
3338
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3339
|
+
isEditMode?: boolean;
|
|
3340
|
+
componentInstanceId: string;
|
|
3341
|
+
};
|
|
2830
3342
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2831
3343
|
type DevPlugin = {
|
|
2832
3344
|
pluginId: string;
|
|
@@ -2880,22 +3392,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2880
3392
|
}
|
|
2881
3393
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2882
3394
|
import { FC } from 'react';
|
|
2883
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3395
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2884
3396
|
export const Plugins: FC<{
|
|
2885
3397
|
area: ExtensionArea;
|
|
2886
3398
|
} & any>;
|
|
2887
3399
|
}
|
|
2888
|
-
declare module "libs/reach/util/common/src/plugins/index" {
|
|
2889
|
-
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
2890
|
-
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
2891
|
-
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
2892
|
-
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
2893
|
-
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
2894
|
-
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2895
|
-
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2896
|
-
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2897
|
-
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2898
|
-
}
|
|
2899
3400
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2900
3401
|
export class Color {
|
|
2901
3402
|
private r;
|
|
@@ -3040,77 +3541,24 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3040
3541
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3041
3542
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3042
3543
|
}
|
|
3043
|
-
declare module "libs/reach/util/common/src/
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
export const
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
export
|
|
3052
|
-
export
|
|
3053
|
-
export
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
export const maxScreenSize: {
|
|
3062
|
-
small: number;
|
|
3063
|
-
medium: number;
|
|
3064
|
-
large: number;
|
|
3065
|
-
xLarge: number;
|
|
3066
|
-
xxLarge: number;
|
|
3067
|
-
};
|
|
3068
|
-
export const sidebarWidth = 285;
|
|
3069
|
-
export const sidebarWidthRight = 320;
|
|
3070
|
-
export const sidebarItemHeight = 50;
|
|
3071
|
-
export const headerHeight = 50;
|
|
3072
|
-
export const headerSecondaryHeight = 50;
|
|
3073
|
-
export const notificationHeight = 50;
|
|
3074
|
-
export const mainContentPanelWidth = 300;
|
|
3075
|
-
export const mainContentPanelMinScreenSize = 1740;
|
|
3076
|
-
export const fontSizeLarger = 40;
|
|
3077
|
-
export const fontSizeLarge = 25;
|
|
3078
|
-
export const fontSizeMedium = 18;
|
|
3079
|
-
export const fontSizeNormal = 16;
|
|
3080
|
-
export const fontSizeSmall = 14;
|
|
3081
|
-
export const fontSizeSmaller = 12;
|
|
3082
|
-
export const socialIconSize = 26;
|
|
3083
|
-
export const lineHeight = 23;
|
|
3084
|
-
export const smallScreenLoginHeight = 40;
|
|
3085
|
-
export const bannerAspectRatio: number;
|
|
3086
|
-
export const bannerWidth = 980;
|
|
3087
|
-
export const bannerHeight = 420;
|
|
3088
|
-
export const HighlightBubbleSize = 12;
|
|
3089
|
-
export const StatusBubbleSize = 10;
|
|
3090
|
-
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
3091
|
-
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
3092
|
-
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
3093
|
-
export const dialogSpacing = 24;
|
|
3094
|
-
export const detailViewSectionPadding = 20;
|
|
3095
|
-
export const detailViewSectionPaddingLarge = 60;
|
|
3096
|
-
export const postsSectionPadding = 20;
|
|
3097
|
-
export const attachmentRoundedCornerSize = 10;
|
|
3098
|
-
export const videoAttachmentRoundedCornerSize = 20;
|
|
3099
|
-
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3100
|
-
export const feedbackButtonHeight = 32;
|
|
3101
|
-
export const mainScrollableContainerSelector = "lt-reach-main-content";
|
|
3102
|
-
export const statusColors: {
|
|
3103
|
-
draft: string;
|
|
3104
|
-
ready: string;
|
|
3105
|
-
rejected: string;
|
|
3106
|
-
};
|
|
3107
|
-
export const cardWidthS = 260;
|
|
3108
|
-
export const cardWidthM = 354;
|
|
3109
|
-
export const cardWidthL = 314;
|
|
3110
|
-
export const cardWidthXL = 423;
|
|
3111
|
-
export const managePagesRowWidth = 300;
|
|
3112
|
-
export const managePagesRowHeight = 40;
|
|
3113
|
-
export const mobilePreviewWidth = 414;
|
|
3544
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3545
|
+
import { FC } from 'react';
|
|
3546
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3547
|
+
export const Plugin: FC<PluginProps & {
|
|
3548
|
+
showDetailedErrorMessage?: boolean;
|
|
3549
|
+
} & any>;
|
|
3550
|
+
}
|
|
3551
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3552
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3553
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3554
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3555
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3556
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3557
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3558
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3559
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3560
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3561
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3114
3562
|
}
|
|
3115
3563
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3116
3564
|
import { FC, ReactNode } from 'react';
|
|
@@ -3214,6 +3662,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3214
3662
|
width?: number;
|
|
3215
3663
|
height?: number;
|
|
3216
3664
|
}
|
|
3665
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3666
|
+
imageAlignment?: ImageAlignment;
|
|
3667
|
+
}
|
|
3668
|
+
export enum ImageAlignment {
|
|
3669
|
+
Default = "default",
|
|
3670
|
+
Left = "left",
|
|
3671
|
+
Right = "right",
|
|
3672
|
+
Center = "center"
|
|
3673
|
+
}
|
|
3217
3674
|
}
|
|
3218
3675
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3219
3676
|
export interface MainPanelContextType {
|
|
@@ -3224,13 +3681,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3224
3681
|
}
|
|
3225
3682
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3226
3683
|
}
|
|
3227
|
-
declare module "libs/reach/util/common/src/PagingService" {
|
|
3228
|
-
import { Observable } from 'rxjs';
|
|
3229
|
-
export const onPageScroll: Observable<number>;
|
|
3230
|
-
export function handlePageScroll(availableScrollSpace: number): void;
|
|
3231
|
-
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
3232
|
-
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
3233
|
-
}
|
|
3234
3684
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3235
3685
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3236
3686
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
@@ -3264,6 +3714,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3264
3714
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3265
3715
|
}
|
|
3266
3716
|
}
|
|
3717
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3718
|
+
export interface ModalRouting {
|
|
3719
|
+
isActive: boolean;
|
|
3720
|
+
itemId: string;
|
|
3721
|
+
backgroundLocation: any;
|
|
3722
|
+
}
|
|
3723
|
+
export function useModalRouting(): {
|
|
3724
|
+
isModalRoutingActive: boolean;
|
|
3725
|
+
modalItemId: string;
|
|
3726
|
+
backgroundLocation: any;
|
|
3727
|
+
};
|
|
3728
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3729
|
+
modalRouting: {
|
|
3730
|
+
isActive: boolean;
|
|
3731
|
+
itemId: string;
|
|
3732
|
+
backgroundLocation: {
|
|
3733
|
+
state: {
|
|
3734
|
+
modalRouting: {
|
|
3735
|
+
isActive: boolean;
|
|
3736
|
+
};
|
|
3737
|
+
};
|
|
3738
|
+
pathname: string;
|
|
3739
|
+
search: string;
|
|
3740
|
+
hash: string;
|
|
3741
|
+
key?: string;
|
|
3742
|
+
};
|
|
3743
|
+
};
|
|
3744
|
+
};
|
|
3745
|
+
}
|
|
3267
3746
|
declare module "libs/reach/util/common/src/index" {
|
|
3268
3747
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3269
3748
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3273,6 +3752,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3273
3752
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3274
3753
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3275
3754
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3755
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3276
3756
|
export * from "libs/reach/util/common/src/user/index";
|
|
3277
3757
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3278
3758
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3291,6 +3771,9 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3291
3771
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3292
3772
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3293
3773
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3774
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3775
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3776
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3294
3777
|
}
|
|
3295
3778
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3296
3779
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3347,7 +3830,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3347
3830
|
text?: string | JSX.Element;
|
|
3348
3831
|
resourceKey?: string;
|
|
3349
3832
|
values?: {
|
|
3350
|
-
[key: string]: string | number | boolean | Date;
|
|
3833
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3351
3834
|
};
|
|
3352
3835
|
width?: number;
|
|
3353
3836
|
onClick?: () => unknown;
|
|
@@ -3427,7 +3910,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3427
3910
|
export const PeoplePicker: FC<Props>;
|
|
3428
3911
|
}
|
|
3429
3912
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3430
|
-
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";
|
|
3913
|
+
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";
|
|
3431
3914
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3432
3915
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3433
3916
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3444,7 +3927,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3444
3927
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3445
3928
|
*/
|
|
3446
3929
|
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
|
|
3447
|
-
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
|
|
3930
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3448
3931
|
}
|
|
3449
3932
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3450
3933
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3460,6 +3943,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3460
3943
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3461
3944
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3462
3945
|
}
|
|
3946
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3947
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3948
|
+
}
|
|
3463
3949
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3464
3950
|
import { FC } from 'react';
|
|
3465
3951
|
export const NotificationBar: FC;
|
|
@@ -3476,6 +3962,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3476
3962
|
export const AudioFile: FC<{
|
|
3477
3963
|
fileName: string;
|
|
3478
3964
|
url: string;
|
|
3965
|
+
onPlay?: (url: string) => void;
|
|
3479
3966
|
}>;
|
|
3480
3967
|
export function isAudioFile(fileName: string): boolean;
|
|
3481
3968
|
}
|
|
@@ -3499,37 +3986,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3499
3986
|
color?: string;
|
|
3500
3987
|
}, never>;
|
|
3501
3988
|
}
|
|
3502
|
-
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
3503
|
-
export const smallScreenSpacing = 10;
|
|
3504
|
-
export const smallMaxContentWidth: number;
|
|
3505
|
-
export const mediumMaxContentWidth: number;
|
|
3506
|
-
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3507
|
-
}
|
|
3508
|
-
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3509
|
-
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3510
|
-
import { IntlShape } from 'react-intl';
|
|
3511
|
-
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3512
|
-
export function isValidUrl(url: string): boolean;
|
|
3513
|
-
export function getGoogleMapsSearchLink(name: string): string;
|
|
3514
|
-
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
3515
|
-
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
3516
|
-
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
3517
|
-
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
3518
|
-
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3519
|
-
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3520
|
-
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}";
|
|
3521
|
-
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3522
|
-
logoInfo: LogoInfo;
|
|
3523
|
-
subscriptionName: string;
|
|
3524
|
-
};
|
|
3525
|
-
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3526
|
-
export function delay(delayInMs: number): Promise<unknown>;
|
|
3527
|
-
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3528
|
-
defaultWidth?: number;
|
|
3529
|
-
showPlaceholder?: boolean;
|
|
3530
|
-
}, never>;
|
|
3531
|
-
export function encodeChannelName(channelName: string): string;
|
|
3532
|
-
}
|
|
3533
3989
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3534
3990
|
import { FC } from 'react';
|
|
3535
3991
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3607,7 +4063,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
|
|
|
3607
4063
|
export const isSameDay: (value: moment.MomentInput) => boolean;
|
|
3608
4064
|
export const DateTime: FC<Props>;
|
|
3609
4065
|
export const DateTimeRange: FC<{
|
|
3610
|
-
startDate
|
|
4066
|
+
startDate?: string;
|
|
3611
4067
|
endDate?: string;
|
|
3612
4068
|
className?: string;
|
|
3613
4069
|
}>;
|
|
@@ -3693,6 +4149,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3693
4149
|
export const VideoFile: FC<{
|
|
3694
4150
|
fileName: string;
|
|
3695
4151
|
url: string;
|
|
4152
|
+
onPlay?: (url: string) => void;
|
|
3696
4153
|
}>;
|
|
3697
4154
|
export function isVideoFile(fileName: string): boolean;
|
|
3698
4155
|
}
|
|
@@ -3715,24 +4172,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3715
4172
|
}[]>;
|
|
3716
4173
|
export function getFileIcon(filename: string): string;
|
|
3717
4174
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4175
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3718
4176
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3719
4177
|
}
|
|
3720
4178
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4179
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3721
4180
|
export function useFileAccessTokenApi(): {
|
|
3722
4181
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3723
4182
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3724
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4183
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3725
4184
|
};
|
|
3726
4185
|
}
|
|
3727
4186
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3728
4187
|
import { FC } from 'react';
|
|
3729
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4188
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3730
4189
|
export const FileAttachmentList: FC<{
|
|
3731
4190
|
files: Attachment[];
|
|
3732
4191
|
onDeleteClick?: (file: Attachment) => void;
|
|
3733
4192
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4193
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4194
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3734
4195
|
fileAccessToken?: string;
|
|
3735
4196
|
disabled?: boolean;
|
|
4197
|
+
parentId?: string;
|
|
4198
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3736
4199
|
className?: string;
|
|
3737
4200
|
}>;
|
|
3738
4201
|
}
|
|
@@ -4025,13 +4488,35 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4025
4488
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4026
4489
|
}
|
|
4027
4490
|
declare module "libs/reach/ui/common/src/common/UnreadCommentHighlight" {
|
|
4028
|
-
export const unreadCommentHighlight: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4491
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4029
4492
|
}
|
|
4030
4493
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4031
4494
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
4032
4495
|
import { IntlShape } from 'react-intl';
|
|
4033
4496
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4034
4497
|
}
|
|
4498
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4499
|
+
export const smallScreenSpacing = 10;
|
|
4500
|
+
export const smallMaxContentWidth: number;
|
|
4501
|
+
export const mediumMaxContentWidth: number;
|
|
4502
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4503
|
+
}
|
|
4504
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4505
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4506
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4507
|
+
export function isValidUrl(url: string): boolean;
|
|
4508
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4509
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4510
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4511
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4512
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4513
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4514
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4515
|
+
defaultWidth?: number;
|
|
4516
|
+
showPlaceholder?: boolean;
|
|
4517
|
+
}, never>;
|
|
4518
|
+
export function encodeChannelName(channelName: string): string;
|
|
4519
|
+
}
|
|
4035
4520
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4036
4521
|
import { FC, ReactNode } from 'react';
|
|
4037
4522
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4055,12 +4540,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4055
4540
|
}
|
|
4056
4541
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4057
4542
|
import { FC } from 'react';
|
|
4543
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4058
4544
|
export const AutoTranslateButton: FC<{
|
|
4059
4545
|
contentLanguageCode: string;
|
|
4060
4546
|
originalContent: string;
|
|
4061
4547
|
content: string;
|
|
4062
4548
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4063
4549
|
onContentChange: (content: string) => void;
|
|
4550
|
+
itemType: ItemResourceTypes;
|
|
4551
|
+
itemId: string;
|
|
4064
4552
|
tooltipResourceKey?: string;
|
|
4065
4553
|
showLabel?: boolean;
|
|
4066
4554
|
}>;
|
|
@@ -4344,6 +4832,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4344
4832
|
className?: string;
|
|
4345
4833
|
}>;
|
|
4346
4834
|
}
|
|
4835
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4836
|
+
export const useIsMounted: () => () => boolean;
|
|
4837
|
+
}
|
|
4347
4838
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4348
4839
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4349
4840
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4648,8 +5139,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
|
|
|
4648
5139
|
export interface Props extends IPersonaProps {
|
|
4649
5140
|
upn: string;
|
|
4650
5141
|
tenantId?: string;
|
|
4651
|
-
className?: string;
|
|
4652
5142
|
displayName?: string;
|
|
5143
|
+
forceShowSecondaryText?: boolean;
|
|
5144
|
+
className?: string;
|
|
4653
5145
|
}
|
|
4654
5146
|
export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
|
|
4655
5147
|
static type: string;
|
|
@@ -4824,6 +5316,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4824
5316
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4825
5317
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4826
5318
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5319
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4827
5320
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4828
5321
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4829
5322
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4856,6 +5349,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4856
5349
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
4857
5350
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
4858
5351
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5352
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
4859
5353
|
}
|
|
4860
5354
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
4861
5355
|
import { ReactNode } from 'react';
|
|
@@ -4907,7 +5401,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4907
5401
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4908
5402
|
}
|
|
4909
5403
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4910
|
-
import { FC } from 'react';
|
|
5404
|
+
import { FC, DependencyList } from 'react';
|
|
4911
5405
|
export interface Props {
|
|
4912
5406
|
navigateTo: string;
|
|
4913
5407
|
onClose?: () => void;
|
|
@@ -4916,7 +5410,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4916
5410
|
className?: string;
|
|
4917
5411
|
}
|
|
4918
5412
|
export const CloseButton: FC<Props>;
|
|
4919
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5413
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4920
5414
|
}
|
|
4921
5415
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4922
5416
|
export const LogoHostStyle: (size?: {
|
|
@@ -4980,8 +5474,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4980
5474
|
export const SkipLinksContextProvider: FC;
|
|
4981
5475
|
}
|
|
4982
5476
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5477
|
+
import { DependencyList } from 'react';
|
|
4983
5478
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4984
|
-
export function useAddSkipLinks(
|
|
5479
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4985
5480
|
}
|
|
4986
5481
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4987
5482
|
import { FC } from 'react';
|
|
@@ -5007,9 +5502,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5007
5502
|
}
|
|
5008
5503
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5009
5504
|
import { FC, ReactNode } from 'react';
|
|
5505
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5010
5506
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5011
5507
|
import './BasicPage.scss';
|
|
5012
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5013
5508
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5014
5509
|
type HeaderToolbarObjectTypeHack = {
|
|
5015
5510
|
toolbarElement: JSX.Element;
|
|
@@ -5032,6 +5527,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5032
5527
|
closeButtonOptions?: CloseButtonOptions;
|
|
5033
5528
|
showSearchBox?: boolean;
|
|
5034
5529
|
disableScrollableContainerFocus?: boolean;
|
|
5530
|
+
asModal?: boolean;
|
|
5531
|
+
domIdentifier?: string;
|
|
5035
5532
|
}
|
|
5036
5533
|
export const BasicPage: FC<Props>;
|
|
5037
5534
|
}
|
|
@@ -5125,7 +5622,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5125
5622
|
addLanguage: (code: string) => Promise<Language>;
|
|
5126
5623
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5127
5624
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5128
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5625
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5626
|
+
name: string | null;
|
|
5627
|
+
hideName: boolean | null;
|
|
5628
|
+
}>;
|
|
5129
5629
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5130
5630
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5131
5631
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5431,11 +5931,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5431
5931
|
export { PushClient };
|
|
5432
5932
|
}
|
|
5433
5933
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5434
|
-
import { ConfigureOptions, MigrateResult,
|
|
5435
|
-
export class MobileHybridStorage implements
|
|
5934
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5935
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5436
5936
|
private pluginStorage;
|
|
5437
5937
|
private static memoryStorage;
|
|
5438
|
-
constructor(pluginStorage:
|
|
5938
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5439
5939
|
get(options: {
|
|
5440
5940
|
key: string;
|
|
5441
5941
|
}): Promise<any>;
|
|
@@ -5447,7 +5947,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5447
5947
|
key: string;
|
|
5448
5948
|
}): Promise<void>;
|
|
5449
5949
|
clear(): Promise<void>;
|
|
5450
|
-
keys(): Promise<import("@capacitor/
|
|
5950
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5451
5951
|
private static updateInMemoryStorage;
|
|
5452
5952
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5453
5953
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5483,7 +5983,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5483
5983
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5484
5984
|
}
|
|
5485
5985
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5486
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5986
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5487
5987
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5488
5988
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5489
5989
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5492,6 +5992,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5492
5992
|
getId(): Promise<DeviceId>;
|
|
5493
5993
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5494
5994
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
5995
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5495
5996
|
}
|
|
5496
5997
|
}
|
|
5497
5998
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5508,8 +6009,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5508
6009
|
}
|
|
5509
6010
|
}
|
|
5510
6011
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5511
|
-
import { ConfigureOptions, MigrateResult,
|
|
5512
|
-
export class WebStorage implements
|
|
6012
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
6013
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5513
6014
|
storage: Storage;
|
|
5514
6015
|
get(options: {
|
|
5515
6016
|
key: string;
|
|
@@ -5543,14 +6044,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5543
6044
|
import { SharePlugin } from '@capacitor/share';
|
|
5544
6045
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5545
6046
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5546
|
-
import {
|
|
6047
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5547
6048
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5548
6049
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5549
6050
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5550
6051
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5551
6052
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5552
6053
|
export interface CondensePluginRegistry {
|
|
5553
|
-
Storage:
|
|
6054
|
+
Storage: PreferencesPlugin;
|
|
5554
6055
|
Device: DevicePlugin;
|
|
5555
6056
|
App: AppPlugin;
|
|
5556
6057
|
Keyboard: KeyboardPlugin;
|
|
@@ -6212,7 +6713,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6212
6713
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6213
6714
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6214
6715
|
export function useSelfRegistrationApi(): {
|
|
6215
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6716
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6216
6717
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6217
6718
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6218
6719
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6268,6 +6769,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6268
6769
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6269
6770
|
}>;
|
|
6270
6771
|
}
|
|
6772
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6773
|
+
import { FC } from 'react';
|
|
6774
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6775
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6776
|
+
onApiKeyAdded?: () => void;
|
|
6777
|
+
onDismiss: () => void;
|
|
6778
|
+
user?: UserItem;
|
|
6779
|
+
}>;
|
|
6780
|
+
}
|
|
6271
6781
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6272
6782
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6273
6783
|
import './UserList.scss';
|
|
@@ -6291,7 +6801,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6291
6801
|
isLoading?: boolean;
|
|
6292
6802
|
isEmpty?: boolean;
|
|
6293
6803
|
emptyPlaceholder?: ReactNode;
|
|
6804
|
+
onKeyChanged?: () => void;
|
|
6294
6805
|
}
|
|
6806
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6807
|
+
accountType: string;
|
|
6808
|
+
lastLogin: string | JSX.Element;
|
|
6809
|
+
};
|
|
6295
6810
|
export const UserList: FC<Props>;
|
|
6296
6811
|
}
|
|
6297
6812
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6324,13 +6839,7 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6324
6839
|
className?: string;
|
|
6325
6840
|
}>;
|
|
6326
6841
|
}
|
|
6327
|
-
declare module "apps/reach-app/src/app/admin/users/
|
|
6328
|
-
import { FC } from 'react';
|
|
6329
|
-
export const GenerateApiKeyButton: FC<{
|
|
6330
|
-
onApiKeyAdded: () => void;
|
|
6331
|
-
}>;
|
|
6332
|
-
}
|
|
6333
|
-
declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
6842
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6334
6843
|
import { FC } from 'react';
|
|
6335
6844
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
6336
6845
|
export enum GenericErrorType {
|
|
@@ -6339,6 +6848,7 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
|
6339
6848
|
export interface UserImport {
|
|
6340
6849
|
displayName?: string;
|
|
6341
6850
|
email?: string;
|
|
6851
|
+
hasPrivateEmail?: boolean;
|
|
6342
6852
|
importResult?: SubscriptionJoinResultType | GenericErrorType;
|
|
6343
6853
|
errorMessage?: string;
|
|
6344
6854
|
}
|
|
@@ -6346,21 +6856,45 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
|
6346
6856
|
previewUsers: UserImport[];
|
|
6347
6857
|
}>;
|
|
6348
6858
|
}
|
|
6349
|
-
declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
|
|
6350
|
-
import { UserImport } from "apps/reach-app/src/app/admin/users/ImportUsersPreview";
|
|
6859
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6860
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6861
|
+
export enum ValidationStatus {
|
|
6862
|
+
Valid = 0,
|
|
6863
|
+
WithErrors = 1,
|
|
6864
|
+
WithUserErrors = 2
|
|
6865
|
+
}
|
|
6866
|
+
export type CsvValidation = {
|
|
6867
|
+
Status?: ValidationStatus;
|
|
6868
|
+
Message?: string;
|
|
6869
|
+
InvalidItems?: string[];
|
|
6870
|
+
};
|
|
6351
6871
|
export function useUserCsvInviter(): {
|
|
6352
6872
|
invitedUsers: UserImport[];
|
|
6353
6873
|
isValidating: boolean;
|
|
6354
6874
|
isCsvValid: boolean;
|
|
6355
6875
|
parseCsvFile: (csvFile: File) => void;
|
|
6356
|
-
|
|
6357
|
-
|
|
6876
|
+
csvValidation: CsvValidation;
|
|
6877
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6358
6878
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6359
6879
|
isParserReady: boolean;
|
|
6360
|
-
|
|
6880
|
+
isInviting: boolean;
|
|
6881
|
+
canInvite: boolean;
|
|
6882
|
+
csvFile: File;
|
|
6361
6883
|
};
|
|
6362
6884
|
}
|
|
6363
|
-
declare module "apps/reach-app/src/app/admin/users/
|
|
6885
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6886
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6887
|
+
}
|
|
6888
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6889
|
+
import { FC } from 'react';
|
|
6890
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6891
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6892
|
+
export const CsvFileValidationResult: FC<{
|
|
6893
|
+
csvValidation: CsvValidation;
|
|
6894
|
+
invitedUsers: UserImport[];
|
|
6895
|
+
}>;
|
|
6896
|
+
}
|
|
6897
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6364
6898
|
import { FC } from 'react';
|
|
6365
6899
|
export const ImportUserButton: FC<{
|
|
6366
6900
|
onSuccessfulImport?: () => void;
|
|
@@ -6392,34 +6926,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6392
6926
|
children?: (content: string, index: number) => JSX.Element;
|
|
6393
6927
|
}>;
|
|
6394
6928
|
}
|
|
6395
|
-
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
6396
|
-
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6397
|
-
}
|
|
6398
6929
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6399
6930
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6400
|
-
export class
|
|
6931
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6401
6932
|
static type: string;
|
|
6402
6933
|
type: string;
|
|
6403
6934
|
itemId: string;
|
|
6404
6935
|
response: EventResponse;
|
|
6405
6936
|
locationId: string;
|
|
6406
6937
|
onBehalfOfUpn: string;
|
|
6407
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6938
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6408
6939
|
}
|
|
6409
|
-
export class
|
|
6940
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6410
6941
|
static type: string;
|
|
6411
6942
|
type: string;
|
|
6412
|
-
|
|
6943
|
+
itemId: string;
|
|
6413
6944
|
response: EventResponse;
|
|
6414
|
-
static create(
|
|
6945
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6415
6946
|
}
|
|
6416
|
-
export class
|
|
6947
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6417
6948
|
static type: string;
|
|
6418
6949
|
type: string;
|
|
6419
6950
|
recurrenceSeriesId: string;
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6951
|
+
response: EventResponse;
|
|
6952
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6423
6953
|
}
|
|
6424
6954
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6425
6955
|
static type: string;
|
|
@@ -6434,6 +6964,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6434
6964
|
followByDefault: boolean;
|
|
6435
6965
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6436
6966
|
}
|
|
6967
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6968
|
+
static type: string;
|
|
6969
|
+
type: string;
|
|
6970
|
+
recurrenceSeriesId: string;
|
|
6971
|
+
isLiked: boolean;
|
|
6972
|
+
likeCount: number;
|
|
6973
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6974
|
+
}
|
|
6975
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
6976
|
+
static type: string;
|
|
6977
|
+
type: string;
|
|
6978
|
+
recurrenceSeriesId: string;
|
|
6979
|
+
isFollowed: boolean;
|
|
6980
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
6981
|
+
}
|
|
6437
6982
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6438
6983
|
static type: string;
|
|
6439
6984
|
type: string;
|
|
@@ -6454,6 +6999,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6454
6999
|
type: string;
|
|
6455
7000
|
static create(): StreamMarkAllAsReadAction;
|
|
6456
7001
|
}
|
|
7002
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
7003
|
+
static type: string;
|
|
7004
|
+
type: string;
|
|
7005
|
+
itemId: string;
|
|
7006
|
+
static create(itemId: string): RefetchItemAction;
|
|
7007
|
+
}
|
|
7008
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
7009
|
+
static type: string;
|
|
7010
|
+
type: string;
|
|
7011
|
+
itemId: string;
|
|
7012
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
7013
|
+
}
|
|
6457
7014
|
}
|
|
6458
7015
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6459
7016
|
export interface CommentFilter {
|
|
@@ -6470,119 +7027,44 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6470
7027
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6471
7028
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6472
7029
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7030
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6473
7031
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6474
7032
|
export function useCommentApi(): {
|
|
6475
|
-
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) =>
|
|
6476
|
-
createEditorComment: (itemId: string, comment: Partial<Comment>) =>
|
|
6477
|
-
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) =>
|
|
6478
|
-
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) =>
|
|
6479
|
-
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) =>
|
|
6480
|
-
getEditorConversations: (itemId: string) =>
|
|
7033
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7034
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7035
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7036
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7037
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7038
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6481
7039
|
translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
|
|
6482
|
-
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) =>
|
|
6483
|
-
deleteEditorComment: (itemId: string, commentId: string) =>
|
|
7040
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7041
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6484
7042
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6485
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7043
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6486
7044
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6487
7045
|
};
|
|
6488
7046
|
}
|
|
6489
|
-
declare module "libs/reach/feature/content/src/
|
|
7047
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7048
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
7049
|
+
}
|
|
7050
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
6490
7051
|
import { FC } from 'react';
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
className?: string;
|
|
6497
|
-
scope: ConversationScope;
|
|
6498
|
-
hideProfileUrl?: boolean;
|
|
6499
|
-
}
|
|
6500
|
-
export const FollowComments: FC<Props>;
|
|
7052
|
+
export const ConfirmationBox: FC<{
|
|
7053
|
+
disabled?: boolean;
|
|
7054
|
+
onChange?: (value: boolean) => void;
|
|
7055
|
+
checked: boolean;
|
|
7056
|
+
}>;
|
|
6501
7057
|
}
|
|
6502
|
-
declare module "libs/reach/feature/content/src/
|
|
6503
|
-
import { ReactNode } from 'react';
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
upn: string;
|
|
6508
|
-
displayName: string;
|
|
6509
|
-
display: string;
|
|
6510
|
-
}
|
|
6511
|
-
export interface SuggestionArgs {
|
|
6512
|
-
searchText: string;
|
|
6513
|
-
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
6514
|
-
}
|
|
6515
|
-
export interface CommentInputProps {
|
|
6516
|
-
className?: string;
|
|
6517
|
-
content: string;
|
|
6518
|
-
disabled?: boolean;
|
|
6519
|
-
autoFocus?: boolean;
|
|
6520
|
-
onEnter?: () => void;
|
|
6521
|
-
onCtrlEnter?: () => unknown;
|
|
6522
|
-
onChange?: (value: string) => void;
|
|
6523
|
-
onFocus?: () => void;
|
|
6524
|
-
additionalInputControl?: ReactNode;
|
|
6525
|
-
buttons?: {
|
|
6526
|
-
leftSide?: ReactNode;
|
|
6527
|
-
rightSide?: ReactNode;
|
|
6528
|
-
};
|
|
6529
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6530
|
-
placeHolderStringResourceKey?: string;
|
|
6531
|
-
placeHolderStringResourceValues?: {
|
|
6532
|
-
[key: string]: string | number | boolean | Date;
|
|
6533
|
-
};
|
|
6534
|
-
disableBoxShadow?: boolean;
|
|
6535
|
-
ariaLabel?: string;
|
|
6536
|
-
}
|
|
6537
|
-
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6538
|
-
}
|
|
6539
|
-
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
6540
|
-
import { FC } from 'react';
|
|
6541
|
-
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7058
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
7059
|
+
import { FC, ReactNode } from 'react';
|
|
7060
|
+
export const GutterMarkerIcon: FC<{
|
|
7061
|
+
iconName: string;
|
|
7062
|
+
children: ReactNode;
|
|
6542
7063
|
isActive: boolean;
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
6548
|
-
export interface KalturaProperties {
|
|
6549
|
-
sp?: string;
|
|
6550
|
-
uiconfId?: string;
|
|
6551
|
-
partnerId?: string;
|
|
6552
|
-
entryId?: string;
|
|
6553
|
-
}
|
|
6554
|
-
export class VideoUrlParser {
|
|
6555
|
-
private url;
|
|
6556
|
-
private static ytRegex;
|
|
6557
|
-
private static vimeoRegex;
|
|
6558
|
-
private static microsoftStreamRegex;
|
|
6559
|
-
private static vimeoDirectLinkRegex;
|
|
6560
|
-
private static vimeoRedirectLinkRegex;
|
|
6561
|
-
private static kalturaRegex;
|
|
6562
|
-
readonly source: VideoSource | null;
|
|
6563
|
-
readonly id: string | null;
|
|
6564
|
-
readonly isDirectVideoUrl: boolean;
|
|
6565
|
-
readonly videoProperties: any;
|
|
6566
|
-
readonly thumbnailUrl: string;
|
|
6567
|
-
constructor(url: string);
|
|
6568
|
-
isValid(features: FeatureSet): boolean;
|
|
6569
|
-
}
|
|
6570
|
-
export function getVideoSources(features: FeatureSet): any[];
|
|
6571
|
-
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6572
|
-
export function getAllVideoSources(features: FeatureSet): any[];
|
|
6573
|
-
}
|
|
6574
|
-
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6575
|
-
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
6576
|
-
export function getAllVideosFromString(content: string): Generator<{
|
|
6577
|
-
url: string;
|
|
6578
|
-
type: AttachmentType;
|
|
6579
|
-
}, void, unknown>;
|
|
6580
|
-
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
6581
|
-
url: string;
|
|
6582
|
-
subscriptionIdentifier: string;
|
|
6583
|
-
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
6584
|
-
id: string;
|
|
6585
|
-
}, void, unknown>;
|
|
7064
|
+
color: string;
|
|
7065
|
+
tooltipResourceKey?: string;
|
|
7066
|
+
className?: string;
|
|
7067
|
+
}>;
|
|
6586
7068
|
}
|
|
6587
7069
|
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
6588
7070
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
@@ -6613,7 +7095,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6613
7095
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6614
7096
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6615
7097
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6616
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
7098
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6617
7099
|
}
|
|
6618
7100
|
export interface BaseFilterDefinition {
|
|
6619
7101
|
search?: string;
|
|
@@ -6621,6 +7103,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6621
7103
|
pageSize?: string | number;
|
|
6622
7104
|
groupId?: string;
|
|
6623
7105
|
}
|
|
7106
|
+
export interface ItemIdsFilterDefinition {
|
|
7107
|
+
itemIds?: string;
|
|
7108
|
+
}
|
|
6624
7109
|
export interface IndexableFilterDefinition {
|
|
6625
7110
|
[key: string]: any;
|
|
6626
7111
|
}
|
|
@@ -6633,6 +7118,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6633
7118
|
And = "AND"
|
|
6634
7119
|
}
|
|
6635
7120
|
}
|
|
7121
|
+
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
7122
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7123
|
+
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
7124
|
+
author?: string;
|
|
7125
|
+
}
|
|
7126
|
+
}
|
|
7127
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
7128
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7129
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
7130
|
+
channels?: FilterWithLogicalOperator;
|
|
7131
|
+
}
|
|
7132
|
+
}
|
|
7133
|
+
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
7134
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7135
|
+
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
7136
|
+
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
7137
|
+
state?: WorkflowStatus;
|
|
7138
|
+
}
|
|
7139
|
+
}
|
|
7140
|
+
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
7141
|
+
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
7142
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7143
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
7144
|
+
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
7145
|
+
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
7146
|
+
groupId?: string;
|
|
7147
|
+
bookmarksOnly?: boolean;
|
|
7148
|
+
unreadOnly?: boolean;
|
|
7149
|
+
includeExpired?: boolean;
|
|
7150
|
+
}
|
|
7151
|
+
}
|
|
7152
|
+
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
7153
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7154
|
+
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
7155
|
+
afterDate?: string;
|
|
7156
|
+
}
|
|
7157
|
+
}
|
|
7158
|
+
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
7159
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7160
|
+
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
7161
|
+
contacts?: string[];
|
|
7162
|
+
}
|
|
7163
|
+
}
|
|
6636
7164
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6637
7165
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
6638
7166
|
export class SortFieldsDefinitionBuilder<T extends string> {
|
|
@@ -6648,18 +7176,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
|
|
|
6648
7176
|
startsBefore?: string;
|
|
6649
7177
|
}
|
|
6650
7178
|
}
|
|
6651
|
-
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
6652
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6653
|
-
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
6654
|
-
contacts?: string[];
|
|
6655
|
-
}
|
|
6656
|
-
}
|
|
6657
|
-
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6658
|
-
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6659
|
-
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6660
|
-
channels?: FilterWithLogicalOperator;
|
|
6661
|
-
}
|
|
6662
|
-
}
|
|
6663
7179
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6664
7180
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6665
7181
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
@@ -6676,18 +7192,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6676
7192
|
}
|
|
6677
7193
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6678
7194
|
}
|
|
6679
|
-
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
6680
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6681
|
-
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
6682
|
-
afterDate?: string;
|
|
6683
|
-
}
|
|
6684
|
-
}
|
|
6685
|
-
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6686
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6687
|
-
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6688
|
-
author?: string;
|
|
6689
|
-
}
|
|
6690
|
-
}
|
|
6691
7195
|
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6692
7196
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6693
7197
|
export interface FilteringProps {
|
|
@@ -6697,25 +7201,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
6697
7201
|
isFilterActive?: boolean;
|
|
6698
7202
|
}
|
|
6699
7203
|
}
|
|
6700
|
-
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
6701
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6702
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
6703
|
-
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
6704
|
-
state?: WorkflowStatus;
|
|
6705
|
-
}
|
|
6706
|
-
}
|
|
6707
|
-
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
6708
|
-
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6709
|
-
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6710
|
-
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6711
|
-
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6712
|
-
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6713
|
-
groupId?: string;
|
|
6714
|
-
bookmarksOnly?: boolean;
|
|
6715
|
-
unreadOnly?: boolean;
|
|
6716
|
-
includeExpired?: boolean;
|
|
6717
|
-
}
|
|
6718
|
-
}
|
|
6719
7204
|
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6720
7205
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6721
7206
|
export enum ItemTypeFilterFlag {
|
|
@@ -6797,16 +7282,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
|
|
|
6797
7282
|
};
|
|
6798
7283
|
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6799
7284
|
}
|
|
6800
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6801
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6802
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6803
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6804
|
-
export function useEventsApi(): {
|
|
6805
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6806
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6807
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6808
|
-
};
|
|
6809
|
-
}
|
|
6810
7285
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6811
7286
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6812
7287
|
import { Observable } from 'rxjs';
|
|
@@ -6866,48 +7341,257 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
|
|
|
6866
7341
|
import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
|
|
6867
7342
|
export function useNewsApi(): NewsApiService;
|
|
6868
7343
|
}
|
|
6869
|
-
declare module "libs/reach/feature/content/src/
|
|
6870
|
-
import {
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
7344
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7345
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7346
|
+
export default interface FeedbackSummary {
|
|
7347
|
+
records: FeedbackItem[];
|
|
7348
|
+
}
|
|
7349
|
+
export enum FeedbackItemType {
|
|
7350
|
+
comment = "comment",
|
|
7351
|
+
like = "like",
|
|
7352
|
+
confirm = "confirm",
|
|
7353
|
+
poll = "poll",
|
|
7354
|
+
eventRegistration = "eventRegistration"
|
|
7355
|
+
}
|
|
7356
|
+
export interface FeedbackItem {
|
|
7357
|
+
type: FeedbackItemType;
|
|
7358
|
+
timestamp: string;
|
|
7359
|
+
}
|
|
7360
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7361
|
+
type: FeedbackItemType.poll;
|
|
7362
|
+
answers: PollQuestionAnswer[];
|
|
6878
7363
|
}
|
|
6879
7364
|
}
|
|
6880
|
-
declare module "libs/reach/feature/content/src/
|
|
6881
|
-
import {
|
|
6882
|
-
import
|
|
6883
|
-
import {
|
|
6884
|
-
export
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
7365
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7366
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7367
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7368
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7369
|
+
export const feedbackCache: {
|
|
7370
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7371
|
+
};
|
|
7372
|
+
export function useFeedbackApi(): {
|
|
7373
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7374
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7375
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7376
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7377
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7378
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
6894
7379
|
};
|
|
6895
7380
|
}
|
|
6896
|
-
declare module "libs/reach/feature/content/src/
|
|
6897
|
-
import {
|
|
6898
|
-
import {
|
|
6899
|
-
export
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
7381
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
7382
|
+
import { FC } from 'react';
|
|
7383
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
7384
|
+
export const ConfirmationSection: FC<{
|
|
7385
|
+
item?: NewsItem;
|
|
7386
|
+
showDescription: boolean;
|
|
7387
|
+
readOnly?: boolean;
|
|
7388
|
+
className?: string;
|
|
7389
|
+
}>;
|
|
7390
|
+
}
|
|
7391
|
+
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7392
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7393
|
+
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7394
|
+
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7395
|
+
export class NewsService {
|
|
7396
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7397
|
+
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7398
|
+
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7399
|
+
static getContentLanguages(contents: {
|
|
7400
|
+
[lang: string]: ContentDefinition;
|
|
7401
|
+
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7402
|
+
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7403
|
+
static getLanguageForContent(contents: {
|
|
7404
|
+
[lang: string]: ContentDefinition;
|
|
7405
|
+
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7406
|
+
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7407
|
+
}
|
|
7408
|
+
}
|
|
7409
|
+
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7410
|
+
import { FC } from 'react';
|
|
7411
|
+
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7412
|
+
export interface TranslationItem {
|
|
7413
|
+
language: string;
|
|
7414
|
+
id: string;
|
|
7415
|
+
text: string;
|
|
7416
|
+
}
|
|
7417
|
+
export const PollTranslationContext: import("react").Context<{
|
|
7418
|
+
getTranslation: (id: string) => string;
|
|
7419
|
+
getAllTranslations: (id: string) => TranslationItem[];
|
|
7420
|
+
}>;
|
|
7421
|
+
export const PollTranslationContextProvider: FC<{
|
|
7422
|
+
contents?: PublishableItemContents;
|
|
7423
|
+
language: string;
|
|
7424
|
+
additionalTranslations?: TranslationItem[];
|
|
7425
|
+
}>;
|
|
7426
|
+
}
|
|
7427
|
+
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7428
|
+
import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7429
|
+
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7430
|
+
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7431
|
+
export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
|
|
7432
|
+
}
|
|
7433
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
7434
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
7435
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
7436
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7437
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
7438
|
+
}
|
|
7439
|
+
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
7440
|
+
import { FC } from 'react';
|
|
7441
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7442
|
+
export interface Props {
|
|
7443
|
+
type: ItemResourceTypes;
|
|
7444
|
+
itemId: string;
|
|
7445
|
+
recurrenceSeriesId?: string;
|
|
7446
|
+
className?: string;
|
|
7447
|
+
scope: ConversationScope;
|
|
7448
|
+
hideProfileUrl?: boolean;
|
|
7449
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
7450
|
+
isReadOnly?: boolean;
|
|
7451
|
+
}
|
|
7452
|
+
export const FollowComments: FC<Props>;
|
|
7453
|
+
export const FollowCommentsNotificationWarning: FC<{
|
|
7454
|
+
hideProfileUrl?: boolean;
|
|
7455
|
+
className?: string;
|
|
7456
|
+
}>;
|
|
7457
|
+
}
|
|
7458
|
+
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
7459
|
+
import { ReactNode } from 'react';
|
|
7460
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7461
|
+
export interface UserSuggestion {
|
|
7462
|
+
id: string;
|
|
7463
|
+
upn: string;
|
|
7464
|
+
displayName: string;
|
|
7465
|
+
display: string;
|
|
7466
|
+
}
|
|
7467
|
+
export interface SuggestionArgs {
|
|
7468
|
+
searchText: string;
|
|
7469
|
+
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
7470
|
+
}
|
|
7471
|
+
export interface CommentInputProps {
|
|
7472
|
+
className?: string;
|
|
7473
|
+
content: string;
|
|
7474
|
+
disabled?: boolean;
|
|
7475
|
+
autoFocus?: boolean;
|
|
7476
|
+
onEnter?: () => void;
|
|
7477
|
+
onCtrlEnter?: () => unknown;
|
|
7478
|
+
onChange?: (value: string) => void;
|
|
7479
|
+
onFocus?: () => void;
|
|
7480
|
+
additionalInputControl?: ReactNode;
|
|
7481
|
+
buttons?: {
|
|
7482
|
+
leftSide?: ReactNode;
|
|
7483
|
+
rightSide?: ReactNode;
|
|
7484
|
+
};
|
|
7485
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7486
|
+
placeHolderStringResourceKey?: string;
|
|
7487
|
+
placeHolderStringResourceValues?: {
|
|
7488
|
+
[key: string]: string | number | boolean | Date;
|
|
7489
|
+
};
|
|
7490
|
+
disableBoxShadow?: boolean;
|
|
7491
|
+
ariaLabel?: string;
|
|
7492
|
+
}
|
|
7493
|
+
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7494
|
+
}
|
|
7495
|
+
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
7496
|
+
import { FC } from 'react';
|
|
7497
|
+
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7498
|
+
isActive: boolean;
|
|
7499
|
+
}, never>;
|
|
7500
|
+
export const DropInfo: FC;
|
|
7501
|
+
}
|
|
7502
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
7503
|
+
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
7504
|
+
export interface KalturaProperties {
|
|
7505
|
+
sp?: string;
|
|
7506
|
+
uiconfId?: string;
|
|
7507
|
+
partnerId?: string;
|
|
7508
|
+
entryId?: string;
|
|
7509
|
+
}
|
|
7510
|
+
export class VideoUrlParser {
|
|
7511
|
+
private url;
|
|
7512
|
+
private static ytRegex;
|
|
7513
|
+
private static vimeoRegex;
|
|
7514
|
+
private static microsoftStreamRegex;
|
|
7515
|
+
private static vimeoDirectLinkRegex;
|
|
7516
|
+
private static vimeoRedirectLinkRegex;
|
|
7517
|
+
private static kalturaRegex;
|
|
7518
|
+
readonly source: VideoSource | null;
|
|
7519
|
+
readonly id: string | null;
|
|
7520
|
+
readonly isDirectVideoUrl: boolean;
|
|
7521
|
+
readonly videoProperties: any;
|
|
7522
|
+
readonly thumbnailUrl: string;
|
|
7523
|
+
constructor(url: string);
|
|
7524
|
+
isValid(features: FeatureSet): boolean;
|
|
7525
|
+
}
|
|
7526
|
+
export function getVideoSources(features: FeatureSet): any[];
|
|
7527
|
+
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
7528
|
+
export function getAllVideoSources(features: FeatureSet): any[];
|
|
7529
|
+
}
|
|
7530
|
+
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
7531
|
+
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
7532
|
+
export function getAllVideosFromString(content: string): Generator<{
|
|
7533
|
+
url: string;
|
|
7534
|
+
type: AttachmentType;
|
|
7535
|
+
}, void, unknown>;
|
|
7536
|
+
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
7537
|
+
url: string;
|
|
7538
|
+
subscriptionIdentifier: string;
|
|
7539
|
+
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
7540
|
+
id: string;
|
|
7541
|
+
}, void, unknown>;
|
|
7542
|
+
}
|
|
7543
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7544
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7545
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7546
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7547
|
+
export function useEventsApi(): {
|
|
7548
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7549
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
7550
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7551
|
+
};
|
|
7552
|
+
}
|
|
7553
|
+
declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
|
|
7554
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7555
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
7556
|
+
export interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
7557
|
+
pageContextId?: string;
|
|
7558
|
+
restrictToPageContext?: boolean;
|
|
7559
|
+
rootPagesOnly?: boolean;
|
|
7560
|
+
parentId?: string;
|
|
7561
|
+
pageType?: PageType;
|
|
7562
|
+
}
|
|
7563
|
+
}
|
|
7564
|
+
declare module "libs/reach/feature/content/src/pages/usePagesApi" {
|
|
7565
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7566
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7567
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
7568
|
+
export function usePagesApi(): {
|
|
7569
|
+
loadPage: (id: string) => Promise<PageItem>;
|
|
7570
|
+
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7571
|
+
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7572
|
+
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7573
|
+
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7574
|
+
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7575
|
+
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7576
|
+
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7577
|
+
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7578
|
+
};
|
|
7579
|
+
}
|
|
7580
|
+
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7581
|
+
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7582
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7583
|
+
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7584
|
+
id: string;
|
|
7585
|
+
comments?: PaginatedList<Comment>;
|
|
7586
|
+
groupId: string;
|
|
7587
|
+
content: string;
|
|
7588
|
+
permalink?: string;
|
|
7589
|
+
author: Account;
|
|
7590
|
+
publishingDate: string;
|
|
7591
|
+
modified?: string;
|
|
7592
|
+
statistics: ItemStatistics;
|
|
7593
|
+
keywords?: {
|
|
7594
|
+
[key: string]: Keyword[];
|
|
6911
7595
|
};
|
|
6912
7596
|
contentLanguageCode?: string;
|
|
6913
7597
|
isLiked?: boolean;
|
|
@@ -6941,7 +7625,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
6941
7625
|
deletePost: (postId: string) => Promise<unknown>;
|
|
6942
7626
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
6943
7627
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
6944
|
-
translatePost: (postId: string, language: string) =>
|
|
7628
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
6945
7629
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
6946
7630
|
};
|
|
6947
7631
|
}
|
|
@@ -6951,7 +7635,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
|
|
|
6951
7635
|
}
|
|
6952
7636
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6953
7637
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6954
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7638
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6955
7639
|
export interface ClientAttachment extends Attachment {
|
|
6956
7640
|
file?: File;
|
|
6957
7641
|
}
|
|
@@ -6967,6 +7651,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6967
7651
|
placeHolderStringResourceKey?: string;
|
|
6968
7652
|
disableAddGif?: boolean;
|
|
6969
7653
|
disableAddFiles?: boolean;
|
|
7654
|
+
parentId?: string;
|
|
7655
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6970
7656
|
};
|
|
6971
7657
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
6972
7658
|
attachments: Attachment[];
|
|
@@ -6979,6 +7665,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6979
7665
|
placeHolderStringResourceKey?: string;
|
|
6980
7666
|
disableAddGif?: boolean;
|
|
6981
7667
|
disableAddFiles?: boolean;
|
|
7668
|
+
parentId?: string;
|
|
7669
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6982
7670
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
6983
7671
|
}
|
|
6984
7672
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7087,27 +7775,10 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7087
7775
|
showAllKeywordsInCallout?: boolean;
|
|
7088
7776
|
}>;
|
|
7089
7777
|
}
|
|
7090
|
-
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7091
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7092
|
-
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7093
|
-
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7094
|
-
export class NewsService {
|
|
7095
|
-
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7096
|
-
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7097
|
-
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7098
|
-
static getContentLanguages(contents: {
|
|
7099
|
-
[lang: string]: ContentDefinition;
|
|
7100
|
-
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7101
|
-
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7102
|
-
static getLanguageForContent(contents: {
|
|
7103
|
-
[lang: string]: ContentDefinition;
|
|
7104
|
-
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7105
|
-
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7106
|
-
}
|
|
7107
|
-
}
|
|
7108
7778
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7109
7779
|
import { FC, MouseEvent } from 'react';
|
|
7110
7780
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7781
|
+
import { LocationState } from 'history';
|
|
7111
7782
|
export const ClickableOverlay: FC<{
|
|
7112
7783
|
itemId: string;
|
|
7113
7784
|
itemType: ItemResourceTypes;
|
|
@@ -7118,6 +7789,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7118
7789
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7119
7790
|
openTargetInNewWindow?: boolean;
|
|
7120
7791
|
isExternalContent?: boolean;
|
|
7792
|
+
locationState?: LocationState;
|
|
7793
|
+
}>;
|
|
7794
|
+
}
|
|
7795
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7796
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7797
|
+
import { FC } from 'react';
|
|
7798
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7799
|
+
itemId: string;
|
|
7800
|
+
itemType: ItemResourceTypes;
|
|
7801
|
+
baseRoute: string;
|
|
7802
|
+
title?: string;
|
|
7803
|
+
isExternalContent?: boolean;
|
|
7804
|
+
targetUrl?: string;
|
|
7121
7805
|
}>;
|
|
7122
7806
|
}
|
|
7123
7807
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7128,6 +7812,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7128
7812
|
targetUrl?: string;
|
|
7129
7813
|
readOnly?: boolean;
|
|
7130
7814
|
backgroundColor?: string;
|
|
7815
|
+
enableModalRouting?: boolean;
|
|
7131
7816
|
className?: string;
|
|
7132
7817
|
}>;
|
|
7133
7818
|
}
|
|
@@ -7165,6 +7850,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7165
7850
|
className?: string;
|
|
7166
7851
|
allowFilterByChannels?: boolean;
|
|
7167
7852
|
channelBackgroundColor?: string;
|
|
7853
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7168
7854
|
}>;
|
|
7169
7855
|
}
|
|
7170
7856
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7224,6 +7910,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7224
7910
|
height?: number;
|
|
7225
7911
|
hidePlayerIfActive?: boolean;
|
|
7226
7912
|
className?: string;
|
|
7913
|
+
documentIconName?: string;
|
|
7227
7914
|
}
|
|
7228
7915
|
export const PublishableItemBanner: FC<Props>;
|
|
7229
7916
|
}
|
|
@@ -7309,34 +7996,13 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7309
7996
|
}
|
|
7310
7997
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7311
7998
|
}
|
|
7312
|
-
declare module "libs/reach/feature/content/src/
|
|
7313
|
-
import {
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
like = "like",
|
|
7320
|
-
confirm = "confirm",
|
|
7321
|
-
poll = "poll",
|
|
7322
|
-
eventRegistration = "eventRegistration"
|
|
7323
|
-
}
|
|
7324
|
-
export interface FeedbackItem {
|
|
7325
|
-
type: FeedbackItemType;
|
|
7326
|
-
timestamp: string;
|
|
7327
|
-
}
|
|
7328
|
-
export interface PollFeedbackItem extends FeedbackItem {
|
|
7329
|
-
type: FeedbackItemType.poll;
|
|
7330
|
-
answers: PollQuestionAnswer[];
|
|
7331
|
-
}
|
|
7332
|
-
}
|
|
7333
|
-
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7334
|
-
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7335
|
-
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
7336
|
-
export interface EventFeedbackItem extends FeedbackItem {
|
|
7337
|
-
type: FeedbackItemType.eventRegistration;
|
|
7338
|
-
eventResponse: EventResponse;
|
|
7339
|
-
locationId?: string;
|
|
7999
|
+
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
8000
|
+
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
8001
|
+
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
8002
|
+
export interface EventFeedbackItem extends FeedbackItem {
|
|
8003
|
+
type: FeedbackItemType.eventRegistration;
|
|
8004
|
+
eventResponse: EventResponse;
|
|
8005
|
+
locationId?: string;
|
|
7340
8006
|
}
|
|
7341
8007
|
export function getDeadlineInfos(item: EventItem): {
|
|
7342
8008
|
hasDeadline: boolean;
|
|
@@ -7348,6 +8014,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7348
8014
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7349
8015
|
export const EventRegistrationButton: FC<{
|
|
7350
8016
|
isRegistered: boolean;
|
|
8017
|
+
eventId: string;
|
|
7351
8018
|
disabled?: boolean;
|
|
7352
8019
|
className?: string;
|
|
7353
8020
|
onClick?: () => void;
|
|
@@ -7358,24 +8025,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7358
8025
|
isRegistered?: boolean;
|
|
7359
8026
|
}, never>;
|
|
7360
8027
|
}
|
|
7361
|
-
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7362
|
-
import { FC } from 'react';
|
|
7363
|
-
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7364
|
-
export interface TranslationItem {
|
|
7365
|
-
language: string;
|
|
7366
|
-
id: string;
|
|
7367
|
-
text: string;
|
|
7368
|
-
}
|
|
7369
|
-
export const PollTranslationContext: import("react").Context<{
|
|
7370
|
-
getTranslation: (id: string) => string;
|
|
7371
|
-
getAllTranslations: (id: string) => TranslationItem[];
|
|
7372
|
-
}>;
|
|
7373
|
-
export const PollTranslationContextProvider: FC<{
|
|
7374
|
-
contents?: PublishableItemContents;
|
|
7375
|
-
language: string;
|
|
7376
|
-
additionalTranslations?: TranslationItem[];
|
|
7377
|
-
}>;
|
|
7378
|
-
}
|
|
7379
8028
|
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7380
8029
|
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7381
8030
|
import { MessageDescriptor } from 'react-intl';
|
|
@@ -7431,25 +8080,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7431
8080
|
onDismiss: () => unknown;
|
|
7432
8081
|
}>;
|
|
7433
8082
|
}
|
|
7434
|
-
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7435
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7436
|
-
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7437
|
-
import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7438
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7439
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
7440
|
-
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7441
|
-
export const feedbackCache: {
|
|
7442
|
-
[newsId: string]: Promise<FeedbackSummary>;
|
|
7443
|
-
};
|
|
7444
|
-
export function useFeedbackApi(): {
|
|
7445
|
-
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7446
|
-
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7447
|
-
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7448
|
-
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7449
|
-
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7450
|
-
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7451
|
-
};
|
|
7452
|
-
}
|
|
7453
8083
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7454
8084
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7455
8085
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7462,10 +8092,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7462
8092
|
}
|
|
7463
8093
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7464
8094
|
import { FC } from 'react';
|
|
8095
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7465
8096
|
export const EventUserRegistration: FC<{
|
|
7466
8097
|
disabled?: boolean;
|
|
7467
8098
|
hideInfoMessage?: boolean;
|
|
7468
8099
|
showNoRegistrationRequired?: boolean;
|
|
8100
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7469
8101
|
className?: string;
|
|
7470
8102
|
}>;
|
|
7471
8103
|
}
|
|
@@ -7523,11 +8155,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
|
|
|
7523
8155
|
className?: string;
|
|
7524
8156
|
}>;
|
|
7525
8157
|
}
|
|
7526
|
-
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7527
|
-
import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7528
|
-
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7529
|
-
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7530
|
-
}
|
|
7531
8158
|
declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
7532
8159
|
import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
7533
8160
|
import { FC } from 'react';
|
|
@@ -7535,8 +8162,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7535
8162
|
export const CardLikeButton: FC<{
|
|
7536
8163
|
item: NewsItem | EventItem;
|
|
7537
8164
|
itemResourceType: ItemResourceTypes;
|
|
7538
|
-
|
|
7539
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8165
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7540
8166
|
className?: string;
|
|
7541
8167
|
}>;
|
|
7542
8168
|
}
|
|
@@ -7558,6 +8184,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7558
8184
|
className?: string;
|
|
7559
8185
|
}>;
|
|
7560
8186
|
}
|
|
8187
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
8188
|
+
import { FC } from 'react';
|
|
8189
|
+
export const LinkWithModalRouting: FC<{
|
|
8190
|
+
url: string;
|
|
8191
|
+
itemId: string;
|
|
8192
|
+
hash?: string;
|
|
8193
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
8194
|
+
ariaHidden?: boolean;
|
|
8195
|
+
ariaLabel?: string;
|
|
8196
|
+
className?: string;
|
|
8197
|
+
}>;
|
|
8198
|
+
}
|
|
7561
8199
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7562
8200
|
import { FC } from 'react';
|
|
7563
8201
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7576,6 +8214,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7576
8214
|
allowFilterByChannels?: boolean;
|
|
7577
8215
|
showFeedbackButtons?: boolean;
|
|
7578
8216
|
readOnly?: boolean;
|
|
8217
|
+
enableModalRouting?: boolean;
|
|
7579
8218
|
className?: string;
|
|
7580
8219
|
}>;
|
|
7581
8220
|
}
|
|
@@ -7626,7 +8265,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7626
8265
|
Contact = "contact",
|
|
7627
8266
|
InlinePageList = "inline-page-list",
|
|
7628
8267
|
UrlPreview = "url-preview",
|
|
7629
|
-
ActionButton = "action-button"
|
|
8268
|
+
ActionButton = "action-button",
|
|
8269
|
+
InlinePlugin = "inline-plugin"
|
|
7630
8270
|
}
|
|
7631
8271
|
export interface HtmlComponentMapper {
|
|
7632
8272
|
component: FC<any>;
|
|
@@ -7653,6 +8293,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7653
8293
|
resourceType: ItemResourceTypes;
|
|
7654
8294
|
item: TItem;
|
|
7655
8295
|
itemId: string;
|
|
8296
|
+
relatedItemIds?: string[];
|
|
7656
8297
|
contentLanguage: string;
|
|
7657
8298
|
userPreferredLanguage: string;
|
|
7658
8299
|
activeLanguages: string[];
|
|
@@ -7768,7 +8409,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7768
8409
|
resourceKey?: string;
|
|
7769
8410
|
resourceValues?: string;
|
|
7770
8411
|
className?: string;
|
|
8412
|
+
enableModalRouting?: boolean;
|
|
8413
|
+
itemId?: string;
|
|
7771
8414
|
isOverrideLink: boolean;
|
|
8415
|
+
icon?: string;
|
|
7772
8416
|
}>;
|
|
7773
8417
|
}
|
|
7774
8418
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -7827,6 +8471,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7827
8471
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7828
8472
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7829
8473
|
openTargetInNewWindow?: boolean;
|
|
8474
|
+
enableModalRouting?: boolean;
|
|
7830
8475
|
className?: string;
|
|
7831
8476
|
}
|
|
7832
8477
|
export const PageItemTile: FC<Props>;
|
|
@@ -7872,6 +8517,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7872
8517
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7873
8518
|
styleDefinition?: StyleDefinition;
|
|
7874
8519
|
readOnly?: boolean;
|
|
8520
|
+
enableModalRouting?: boolean;
|
|
7875
8521
|
className?: string;
|
|
7876
8522
|
}
|
|
7877
8523
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7915,6 +8561,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7915
8561
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7916
8562
|
styleDefinition?: StyleDefinition;
|
|
7917
8563
|
readOnly?: boolean;
|
|
8564
|
+
enableModalRouting?: boolean;
|
|
7918
8565
|
className?: string;
|
|
7919
8566
|
}
|
|
7920
8567
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7940,6 +8587,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7940
8587
|
previewTheme?: CommentInputTheme;
|
|
7941
8588
|
buttons?: ReactNode;
|
|
7942
8589
|
groupIds?: string[];
|
|
8590
|
+
enableModalRouting?: boolean;
|
|
7943
8591
|
className?: string;
|
|
7944
8592
|
}>;
|
|
7945
8593
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7956,6 +8604,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7956
8604
|
attachments: Attachment[];
|
|
7957
8605
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7958
8606
|
previewTheme?: CommentInputTheme;
|
|
8607
|
+
enableModalRouting?: boolean;
|
|
7959
8608
|
className?: string;
|
|
7960
8609
|
}>;
|
|
7961
8610
|
}
|
|
@@ -7972,7 +8621,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
7972
8621
|
}
|
|
7973
8622
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
7974
8623
|
import { FC } from 'react';
|
|
7975
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8624
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7976
8625
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7977
8626
|
interface Props {
|
|
7978
8627
|
className?: string;
|
|
@@ -7982,6 +8631,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
7982
8631
|
previewTheme?: CommentInputTheme;
|
|
7983
8632
|
disableVideoPreview?: boolean;
|
|
7984
8633
|
disableEmbeddedObjectPreview?: boolean;
|
|
8634
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8635
|
+
parentId?: string;
|
|
7985
8636
|
}
|
|
7986
8637
|
export const AttachmentList: FC<Props>;
|
|
7987
8638
|
}
|
|
@@ -7998,6 +8649,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7998
8649
|
placeHolderStringResourceKey?: string;
|
|
7999
8650
|
disableAddGif?: boolean;
|
|
8000
8651
|
disableAddFiles?: boolean;
|
|
8652
|
+
parentId?: string;
|
|
8653
|
+
itemResourceType?: string;
|
|
8001
8654
|
} & {
|
|
8002
8655
|
disableVideoPreview?: boolean;
|
|
8003
8656
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8067,7 +8720,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8067
8720
|
}
|
|
8068
8721
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8069
8722
|
import { FC } from 'react';
|
|
8070
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8723
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8071
8724
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8072
8725
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8073
8726
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8099,6 +8752,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8099
8752
|
};
|
|
8100
8753
|
disableBoxShadow?: boolean;
|
|
8101
8754
|
ariaLabel?: string;
|
|
8755
|
+
parentId?: string;
|
|
8756
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8102
8757
|
}
|
|
8103
8758
|
interface Props extends BaseProps {
|
|
8104
8759
|
allowAttachments?: boolean;
|
|
@@ -8116,6 +8771,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8116
8771
|
import { FC, ReactNode } from 'react';
|
|
8117
8772
|
export const InlineObjectToolbar: FC<{
|
|
8118
8773
|
onDelete?: () => void;
|
|
8774
|
+
deleteAriaLabelResourceKey?: string;
|
|
8119
8775
|
additionalButtons?: ReactNode;
|
|
8120
8776
|
}>;
|
|
8121
8777
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8123,15 +8779,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8123
8779
|
}>;
|
|
8124
8780
|
}
|
|
8125
8781
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8126
|
-
import { FC } from 'react';
|
|
8782
|
+
import { FC, ReactNode } from 'react';
|
|
8783
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8127
8784
|
export const ImageToolbar: FC<{
|
|
8128
8785
|
onDelete?: () => void;
|
|
8129
8786
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8130
8787
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8131
8788
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8789
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8132
8790
|
showFullScreenButton?: boolean;
|
|
8133
8791
|
showCloseButton?: boolean;
|
|
8134
8792
|
showCropButton?: boolean;
|
|
8793
|
+
alignmentButtons?: ReactNode;
|
|
8135
8794
|
}>;
|
|
8136
8795
|
}
|
|
8137
8796
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8158,14 +8817,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8158
8817
|
}
|
|
8159
8818
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8160
8819
|
}
|
|
8161
|
-
declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
|
|
8162
|
-
import { FC } from 'react';
|
|
8163
|
-
import { ImageDetails } from "libs/reach/util/common/src/index";
|
|
8164
|
-
export const LegacyPostPhotoGallery: FC<{
|
|
8165
|
-
images: ImageDetails[];
|
|
8166
|
-
imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
|
|
8167
|
-
}>;
|
|
8168
|
-
}
|
|
8169
8820
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8170
8821
|
import { FC } from 'react';
|
|
8171
8822
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8173,12 +8824,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8173
8824
|
item: ItemWithAttachments;
|
|
8174
8825
|
basePath: string;
|
|
8175
8826
|
imagesGridBackgroundColor?: string;
|
|
8827
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8828
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8176
8829
|
className?: string;
|
|
8177
8830
|
}>;
|
|
8178
8831
|
}
|
|
8179
8832
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8180
8833
|
import { FC } from 'react';
|
|
8181
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8834
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8182
8835
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8183
8836
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8184
8837
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8194,6 +8847,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8194
8847
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8195
8848
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8196
8849
|
ariaLabel?: string;
|
|
8850
|
+
parentId?: string;
|
|
8851
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8197
8852
|
}
|
|
8198
8853
|
interface Props extends BaseProps {
|
|
8199
8854
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8258,6 +8913,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8258
8913
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8259
8914
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8260
8915
|
}
|
|
8916
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8917
|
+
import { FC } from 'react';
|
|
8918
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8919
|
+
export const BookmarkButton: FC<{
|
|
8920
|
+
item: PublishableItem;
|
|
8921
|
+
isReadOnly?: boolean;
|
|
8922
|
+
className?: string;
|
|
8923
|
+
}>;
|
|
8924
|
+
}
|
|
8261
8925
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8262
8926
|
import { FC } from 'react';
|
|
8263
8927
|
export const CardStatisticItem: FC<{
|
|
@@ -8275,13 +8939,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8275
8939
|
};
|
|
8276
8940
|
}>;
|
|
8277
8941
|
}
|
|
8278
|
-
declare module "libs/reach/feature/content/src/
|
|
8942
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8943
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8279
8944
|
import { FC } from 'react';
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8945
|
+
export const CardCommentButton: FC<{
|
|
8946
|
+
item: NewsItem | EventItem;
|
|
8947
|
+
itemResourceType: ItemResourceTypes;
|
|
8948
|
+
targetRoute: string;
|
|
8949
|
+
enableModalRouting?: boolean;
|
|
8285
8950
|
}>;
|
|
8286
8951
|
}
|
|
8287
8952
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8289,13 +8954,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8289
8954
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8290
8955
|
export const CardFooter: FC<{
|
|
8291
8956
|
item: NewsItem | EventItem;
|
|
8292
|
-
showComments: boolean;
|
|
8293
8957
|
targetRoute: string;
|
|
8294
8958
|
itemResourceType: ItemResourceTypes;
|
|
8295
|
-
|
|
8296
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8959
|
+
enableModalRouting?: boolean;
|
|
8297
8960
|
}>;
|
|
8298
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
8961
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8299
8962
|
}
|
|
8300
8963
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8301
8964
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8344,7 +9007,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8344
9007
|
target?: string;
|
|
8345
9008
|
language?: string;
|
|
8346
9009
|
hideCurrentPageNode?: boolean;
|
|
9010
|
+
homeTargetUrlOverride?: string;
|
|
8347
9011
|
className?: string;
|
|
9012
|
+
readonly?: boolean;
|
|
8348
9013
|
}>;
|
|
8349
9014
|
}
|
|
8350
9015
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
@@ -8404,6 +9069,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
|
8404
9069
|
hide?: boolean;
|
|
8405
9070
|
onPageSelected?: (pageId: string) => unknown;
|
|
8406
9071
|
selectedPageId?: string;
|
|
9072
|
+
readonly?: boolean;
|
|
8407
9073
|
}>;
|
|
8408
9074
|
}
|
|
8409
9075
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
@@ -8420,6 +9086,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
|
8420
9086
|
selectedPageId?: string;
|
|
8421
9087
|
isLoading?: boolean;
|
|
8422
9088
|
disableScrollableList?: boolean;
|
|
9089
|
+
readonly?: boolean;
|
|
8423
9090
|
}>;
|
|
8424
9091
|
export const PageTableOfContentsInPanel: FC<{
|
|
8425
9092
|
basePath?: string;
|
|
@@ -8442,6 +9109,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
|
|
|
8442
9109
|
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8443
9110
|
onDismiss: () => void;
|
|
8444
9111
|
basePath: string;
|
|
9112
|
+
readonly?: boolean;
|
|
8445
9113
|
}>;
|
|
8446
9114
|
}
|
|
8447
9115
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
|
|
@@ -8465,6 +9133,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
|
|
|
8465
9133
|
activePageId: string;
|
|
8466
9134
|
navigationContext: PageNavigationContext;
|
|
8467
9135
|
className?: string;
|
|
9136
|
+
readonly?: boolean;
|
|
8468
9137
|
}
|
|
8469
9138
|
export const PagesDetailViewNavigation: FC<Props>;
|
|
8470
9139
|
}
|
|
@@ -8543,6 +9212,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8543
9212
|
language?: string;
|
|
8544
9213
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8545
9214
|
clickableAvatar?: boolean;
|
|
9215
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8546
9216
|
}>;
|
|
8547
9217
|
}
|
|
8548
9218
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8592,7 +9262,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8592
9262
|
item: NewsItem;
|
|
8593
9263
|
baseRoute: string;
|
|
8594
9264
|
language: string;
|
|
8595
|
-
showComments: boolean;
|
|
8596
9265
|
highlight: boolean;
|
|
8597
9266
|
className?: string;
|
|
8598
9267
|
}
|
|
@@ -8625,6 +9294,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8625
9294
|
isLastPage: boolean;
|
|
8626
9295
|
unreadOnly?: boolean;
|
|
8627
9296
|
filter?: NewsFilterDefinition;
|
|
9297
|
+
activeChannel?: string;
|
|
8628
9298
|
}>;
|
|
8629
9299
|
}
|
|
8630
9300
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -8686,6 +9356,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
8686
9356
|
type?: ItemResourceTypes;
|
|
8687
9357
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8688
9358
|
isEditorPreview?: boolean;
|
|
9359
|
+
relatedItemIds?: string[];
|
|
8689
9360
|
}>;
|
|
8690
9361
|
}
|
|
8691
9362
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -8699,6 +9370,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8699
9370
|
}
|
|
8700
9371
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8701
9372
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9373
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8702
9374
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8703
9375
|
}
|
|
8704
9376
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8759,6 +9431,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
8759
9431
|
baseRoute: string;
|
|
8760
9432
|
filterBaseUrl?: string;
|
|
8761
9433
|
isInitialLoading?: boolean;
|
|
9434
|
+
readonly?: boolean;
|
|
8762
9435
|
}>;
|
|
8763
9436
|
}
|
|
8764
9437
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
|
|
@@ -8786,6 +9459,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
8786
9459
|
pagingProps?: ListPagingProps;
|
|
8787
9460
|
filterBaseUrl?: string;
|
|
8788
9461
|
emptyListMessage: string;
|
|
9462
|
+
readonly?: boolean;
|
|
8789
9463
|
}>;
|
|
8790
9464
|
}
|
|
8791
9465
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
@@ -8917,6 +9591,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
8917
9591
|
}
|
|
8918
9592
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8919
9593
|
}
|
|
9594
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9595
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9596
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9597
|
+
}
|
|
8920
9598
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8921
9599
|
import { FC } from 'react';
|
|
8922
9600
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -8929,6 +9607,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8929
9607
|
import { FC } from 'react';
|
|
8930
9608
|
export const EventDetailViewMetaInfo: FC<{
|
|
8931
9609
|
allowFilterByChannels?: boolean;
|
|
9610
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8932
9611
|
}>;
|
|
8933
9612
|
}
|
|
8934
9613
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -8972,6 +9651,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8972
9651
|
export const DetailViewCsvExportButton: FC<{
|
|
8973
9652
|
path: string;
|
|
8974
9653
|
stringResource: string;
|
|
9654
|
+
isReadOnly?: boolean;
|
|
8975
9655
|
className?: string;
|
|
8976
9656
|
}>;
|
|
8977
9657
|
}
|
|
@@ -9031,6 +9711,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9031
9711
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
|
|
9032
9712
|
import { FC } from 'react';
|
|
9033
9713
|
export const EventDetailViewResponseExportButton: FC<{
|
|
9714
|
+
isReadOnly?: boolean;
|
|
9034
9715
|
className?: string;
|
|
9035
9716
|
}>;
|
|
9036
9717
|
}
|
|
@@ -9043,8 +9724,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9043
9724
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
|
|
9044
9725
|
import { FC } from 'react';
|
|
9045
9726
|
export const EventDetailViewUserRegistration: FC<{
|
|
9046
|
-
className?: string;
|
|
9047
9727
|
hideInfoMessage?: boolean;
|
|
9728
|
+
isReadOnly?: boolean;
|
|
9729
|
+
className?: string;
|
|
9048
9730
|
}>;
|
|
9049
9731
|
}
|
|
9050
9732
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
@@ -9085,7 +9767,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9085
9767
|
}
|
|
9086
9768
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
|
|
9087
9769
|
import { FC } from 'react';
|
|
9088
|
-
export const EventRegistrationParticipantsLink: FC
|
|
9770
|
+
export const EventRegistrationParticipantsLink: FC<{
|
|
9771
|
+
isReadOnly?: boolean;
|
|
9772
|
+
}>;
|
|
9089
9773
|
}
|
|
9090
9774
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
|
|
9091
9775
|
import { FC } from 'react';
|
|
@@ -9136,6 +9820,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9136
9820
|
readOnly?: boolean;
|
|
9137
9821
|
trimContent?: boolean;
|
|
9138
9822
|
showReplyBox?: boolean;
|
|
9823
|
+
enableModalRouting?: boolean;
|
|
9139
9824
|
className?: string;
|
|
9140
9825
|
}>;
|
|
9141
9826
|
}
|
|
@@ -9158,6 +9843,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9158
9843
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9159
9844
|
readOnly?: boolean;
|
|
9160
9845
|
trimContent?: boolean;
|
|
9846
|
+
enableModalRouting?: boolean;
|
|
9161
9847
|
className?: string;
|
|
9162
9848
|
}
|
|
9163
9849
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9217,6 +9903,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9217
9903
|
showReplyBox?: boolean;
|
|
9218
9904
|
trimContent?: boolean;
|
|
9219
9905
|
title?: ReactNode;
|
|
9906
|
+
enableModalRouting?: boolean;
|
|
9220
9907
|
className?: string;
|
|
9221
9908
|
};
|
|
9222
9909
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9241,14 +9928,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9241
9928
|
}
|
|
9242
9929
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9243
9930
|
import { FC } from 'react';
|
|
9244
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9245
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9931
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9246
9932
|
export const PublishableItemComments: FC<{
|
|
9247
9933
|
item: PublishableItem;
|
|
9248
9934
|
readOnly?: boolean;
|
|
9249
9935
|
loadInReadOnlyMode?: boolean;
|
|
9250
9936
|
type: ItemResourceTypes;
|
|
9251
|
-
hideProfileUrl?: boolean;
|
|
9252
9937
|
disableLoginForPublicUser?: boolean;
|
|
9253
9938
|
}>;
|
|
9254
9939
|
}
|
|
@@ -9258,6 +9943,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9258
9943
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9259
9944
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9260
9945
|
import { Feedback } from "libs/reach/util/common/src/index";
|
|
9946
|
+
import { ReactNode } from 'hoist-non-react-statics/node_modules/@types/react';
|
|
9261
9947
|
export const FeedbackButtonContext: import("react").Context<{
|
|
9262
9948
|
statistics: ItemStatistics;
|
|
9263
9949
|
item: PublishableItem;
|
|
@@ -9270,6 +9956,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9270
9956
|
item: PublishableItem;
|
|
9271
9957
|
hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
|
|
9272
9958
|
language: string;
|
|
9959
|
+
warningMessage?: ReactNode;
|
|
9273
9960
|
className?: string;
|
|
9274
9961
|
}>;
|
|
9275
9962
|
}
|
|
@@ -9308,19 +9995,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9308
9995
|
}>;
|
|
9309
9996
|
}
|
|
9310
9997
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9311
|
-
import { FC } from 'react';
|
|
9312
|
-
import { FeedbackSettings } from "libs/reach/util/common/src/index";
|
|
9313
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9314
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9998
|
+
import { FC, ReactNode } from 'react';
|
|
9999
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9315
10000
|
export const FeedbackSection: FC<{
|
|
9316
10001
|
item: PublishableItem;
|
|
10002
|
+
buttons: ReactNode[];
|
|
9317
10003
|
language: string;
|
|
9318
10004
|
type: ItemResourceTypes;
|
|
9319
10005
|
feedbackSettings: FeedbackSettings;
|
|
9320
10006
|
hideComments?: boolean;
|
|
9321
|
-
hideProfileUrl?: boolean;
|
|
9322
10007
|
disableLoginForPublicUser?: boolean;
|
|
9323
10008
|
isReadOnly?: boolean;
|
|
10009
|
+
warningMessage?: ReactNode;
|
|
9324
10010
|
className?: string;
|
|
9325
10011
|
}>;
|
|
9326
10012
|
}
|
|
@@ -9343,12 +10029,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
|
|
|
9343
10029
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
9344
10030
|
export const EventDownloadCalendarFileButton: FC<{
|
|
9345
10031
|
item: EventItem;
|
|
10032
|
+
isReadOnly: boolean;
|
|
9346
10033
|
className?: string;
|
|
9347
10034
|
}>;
|
|
9348
10035
|
}
|
|
9349
10036
|
declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
|
|
9350
10037
|
import { FC } from 'react';
|
|
9351
|
-
export const EventFeedbackButtonDownloadCalendarFile: FC
|
|
10038
|
+
export const EventFeedbackButtonDownloadCalendarFile: FC<{
|
|
10039
|
+
isReadOnly: boolean;
|
|
10040
|
+
}>;
|
|
9352
10041
|
}
|
|
9353
10042
|
declare module "libs/reach/feature/content/src/feedback/ShareButton" {
|
|
9354
10043
|
import { FC } from 'react';
|
|
@@ -9373,14 +10062,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9373
10062
|
}
|
|
9374
10063
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9375
10064
|
import { FC } from 'react';
|
|
9376
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10065
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9377
10066
|
export const ConfirmationStatisticsExport: FC<{
|
|
9378
10067
|
item: PublishableItem;
|
|
10068
|
+
resourceType: ItemResourceTypes;
|
|
10069
|
+
isReadOnly?: boolean;
|
|
9379
10070
|
}>;
|
|
9380
10071
|
}
|
|
9381
10072
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
9382
10073
|
import { FC } from 'react';
|
|
9383
|
-
export const FeedbackButtonConfirmations: FC
|
|
10074
|
+
export const FeedbackButtonConfirmations: FC<{
|
|
10075
|
+
isReadOnly?: boolean;
|
|
10076
|
+
}>;
|
|
10077
|
+
}
|
|
10078
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
|
|
10079
|
+
export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
9384
10080
|
}
|
|
9385
10081
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
|
|
9386
10082
|
import { FC } from 'react';
|
|
@@ -9485,6 +10181,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9485
10181
|
layoutMode?: ItemTileLayoutMode;
|
|
9486
10182
|
bannerDefaultWidth?: number;
|
|
9487
10183
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10184
|
+
documentIconName?: string;
|
|
9488
10185
|
}>;
|
|
9489
10186
|
}
|
|
9490
10187
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9522,17 +10219,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9522
10219
|
isMobilePreview?: boolean;
|
|
9523
10220
|
}>;
|
|
9524
10221
|
}
|
|
9525
|
-
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9526
|
-
import { FC, ReactNode } from 'react';
|
|
9527
|
-
export const GutterMarkerIcon: FC<{
|
|
9528
|
-
iconName: string;
|
|
9529
|
-
children: ReactNode;
|
|
9530
|
-
isActive: boolean;
|
|
9531
|
-
color: string;
|
|
9532
|
-
tooltipResourceKey?: string;
|
|
9533
|
-
className?: string;
|
|
9534
|
-
}>;
|
|
9535
|
-
}
|
|
9536
10222
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9537
10223
|
import { FC } from 'react';
|
|
9538
10224
|
export const DetailViewTitle: FC;
|
|
@@ -9555,24 +10241,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9555
10241
|
import { FC } from 'react';
|
|
9556
10242
|
export const DetailViewKeywords: FC<{
|
|
9557
10243
|
filterBaseUrl: string;
|
|
9558
|
-
|
|
9559
|
-
}
|
|
9560
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9561
|
-
import { FC } from 'react';
|
|
9562
|
-
export const ConfirmationBox: FC<{
|
|
9563
|
-
disabled?: boolean;
|
|
9564
|
-
onChange?: (value: boolean) => void;
|
|
9565
|
-
checked: boolean;
|
|
9566
|
-
}>;
|
|
9567
|
-
}
|
|
9568
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9569
|
-
import { FC } from 'react';
|
|
9570
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9571
|
-
export const ConfirmationSection: FC<{
|
|
9572
|
-
item?: NewsItem;
|
|
9573
|
-
showDescription: boolean;
|
|
9574
|
-
readOnly?: boolean;
|
|
9575
|
-
className?: string;
|
|
10244
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9576
10245
|
}>;
|
|
9577
10246
|
}
|
|
9578
10247
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -9602,9 +10271,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9602
10271
|
import { FC, ReactNode } from 'react';
|
|
9603
10272
|
export const DetailViewNavigation: FC<{
|
|
9604
10273
|
offsetRight?: number;
|
|
9605
|
-
children?: ReactNode;
|
|
9606
10274
|
callout?: ReactNode;
|
|
10275
|
+
className?: string;
|
|
10276
|
+
children?: ReactNode;
|
|
9607
10277
|
}>;
|
|
10278
|
+
export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
|
|
10279
|
+
offsetRight?: number;
|
|
10280
|
+
callout?: ReactNode;
|
|
10281
|
+
className?: string;
|
|
10282
|
+
children?: ReactNode;
|
|
10283
|
+
}>, import("styled-components").DefaultTheme, {
|
|
10284
|
+
offsetRightOverride?: number;
|
|
10285
|
+
}, never>;
|
|
9608
10286
|
}
|
|
9609
10287
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9610
10288
|
import { FC } from 'react';
|
|
@@ -9646,605 +10324,241 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9646
10324
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9647
10325
|
};
|
|
9648
10326
|
}
|
|
9649
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
10327
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10328
|
+
interface IClickHandles {
|
|
10329
|
+
onInsideClick: () => void;
|
|
10330
|
+
onOutsideClick: () => void;
|
|
10331
|
+
}
|
|
10332
|
+
export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10333
|
+
}
|
|
10334
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10335
|
+
import { FC } from 'react';
|
|
10336
|
+
export const GroupNotificationsSettings: FC<{
|
|
10337
|
+
groupId: string;
|
|
9660
10338
|
className?: string;
|
|
9661
10339
|
}>;
|
|
9662
10340
|
}
|
|
9663
|
-
declare module "libs/reach/feature/content/src/
|
|
9664
|
-
import { FC
|
|
9665
|
-
import {
|
|
9666
|
-
import {
|
|
9667
|
-
|
|
9668
|
-
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
onContentClick?: () => void;
|
|
9682
|
-
contentRoute?: LocationDescriptor;
|
|
9683
|
-
badgeInfo?: number | boolean;
|
|
9684
|
-
title?: string;
|
|
10341
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10342
|
+
import { FC } from 'react';
|
|
10343
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10344
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10345
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10346
|
+
export interface PostCreatorProps {
|
|
10347
|
+
groupId: string;
|
|
10348
|
+
disabled?: boolean;
|
|
10349
|
+
disableDragAndDrop?: boolean;
|
|
10350
|
+
onBeforeSave?: (post: Post) => void;
|
|
10351
|
+
onSaved: (post: Post) => void;
|
|
10352
|
+
keywordSettings?: {
|
|
10353
|
+
availableKeywords?: Keyword[];
|
|
10354
|
+
defaultKeywords?: Keyword[];
|
|
10355
|
+
mandatoryKeywords?: Keyword[];
|
|
10356
|
+
};
|
|
10357
|
+
disableAutoFocus?: boolean;
|
|
10358
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9685
10359
|
className?: string;
|
|
9686
10360
|
}
|
|
9687
|
-
export const
|
|
10361
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9688
10362
|
}
|
|
9689
|
-
declare module "libs/reach/feature/content/src/
|
|
10363
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9690
10364
|
import { FC } from 'react';
|
|
9691
|
-
import {
|
|
9692
|
-
|
|
9693
|
-
|
|
9694
|
-
|
|
10365
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10366
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10367
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10368
|
+
interface Props {
|
|
10369
|
+
className?: string;
|
|
10370
|
+
post: Post;
|
|
10371
|
+
initialPageSize?: number;
|
|
10372
|
+
comments?: PaginatedList<Comment>;
|
|
10373
|
+
autoFocusReplyField?: boolean;
|
|
10374
|
+
showReplyBox?: boolean;
|
|
10375
|
+
onReplyAdded: () => void;
|
|
10376
|
+
onReplyDeleted: () => void;
|
|
10377
|
+
trimContent?: boolean;
|
|
10378
|
+
enableModalRouting?: boolean;
|
|
10379
|
+
}
|
|
10380
|
+
export const PostReplies: FC<Props>;
|
|
9695
10381
|
}
|
|
9696
|
-
declare module "libs/reach/feature/content/src/
|
|
9697
|
-
import { FC
|
|
9698
|
-
import {
|
|
9699
|
-
import {
|
|
9700
|
-
|
|
9701
|
-
interface CommonSidebarItemProps {
|
|
9702
|
-
title?: string | JSX.Element;
|
|
9703
|
-
titleResource?: string;
|
|
9704
|
-
icon?: ReactNode;
|
|
9705
|
-
iconName?: string;
|
|
9706
|
-
iconTooltipResourceKey?: string;
|
|
9707
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
9708
|
-
secondaryIconName?: string;
|
|
9709
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9710
|
-
iconColor?: string;
|
|
9711
|
-
reverse?: boolean;
|
|
9712
|
-
notHighlightable?: boolean;
|
|
9713
|
-
onClick?: () => void;
|
|
10382
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10383
|
+
import { FC } from 'react';
|
|
10384
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10385
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10386
|
+
export const PostEditor: FC<{
|
|
9714
10387
|
className?: string;
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
|
|
9722
|
-
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
contentRoute?: LocationDescriptor;
|
|
9726
|
-
onIconClick?: () => void;
|
|
9727
|
-
iconRoute?: LocationDescriptor;
|
|
9728
|
-
onSecondaryIconClick?: () => void;
|
|
9729
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
9730
|
-
isHoverable?: boolean;
|
|
9731
|
-
}
|
|
9732
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
9733
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
9734
|
-
route: LocationDescriptor;
|
|
9735
|
-
exact?: boolean;
|
|
9736
|
-
linkClassName?: string;
|
|
9737
|
-
}
|
|
9738
|
-
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
10388
|
+
post: Post;
|
|
10389
|
+
onCancel: () => void;
|
|
10390
|
+
onBeforeSave: (post: Post) => void;
|
|
10391
|
+
onSaved: (post: Post) => void;
|
|
10392
|
+
keywordSettings?: {
|
|
10393
|
+
availableKeywords?: Keyword[];
|
|
10394
|
+
defaultKeywords?: Keyword[];
|
|
10395
|
+
mandatoryKeywords?: Keyword[];
|
|
10396
|
+
};
|
|
10397
|
+
}>;
|
|
9739
10398
|
}
|
|
9740
|
-
declare module "libs/reach/feature/content/src/
|
|
10399
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9741
10400
|
import { FC } from 'react';
|
|
9742
|
-
export const
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
className?: string;
|
|
10401
|
+
export const PostFollowButton: FC<{
|
|
10402
|
+
itemId: string;
|
|
10403
|
+
isFollowing: boolean;
|
|
9746
10404
|
}>;
|
|
9747
10405
|
}
|
|
9748
|
-
declare module "libs/reach/feature/content/src/
|
|
10406
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9749
10407
|
import { FC } from 'react';
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
10408
|
+
import { NavLink } from 'react-router-dom';
|
|
10409
|
+
export const PostGroup: FC<{
|
|
10410
|
+
groupId: string;
|
|
10411
|
+
target?: string;
|
|
9753
10412
|
className?: string;
|
|
9754
10413
|
}>;
|
|
10414
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9755
10415
|
}
|
|
9756
|
-
declare module "libs/reach/feature/content/src/
|
|
10416
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9757
10417
|
import { FC } from 'react';
|
|
9758
|
-
import {
|
|
9759
|
-
import {
|
|
10418
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10419
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9760
10420
|
interface Props {
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
mandatoryChannelIds?: string[];
|
|
9764
|
-
availableChannels?: Channel[];
|
|
9765
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
10421
|
+
post: Post;
|
|
10422
|
+
targetUrl?: string;
|
|
9766
10423
|
className?: string;
|
|
9767
|
-
|
|
9768
|
-
|
|
9769
|
-
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
10424
|
+
threadId?: string;
|
|
10425
|
+
onCustomPostDelete?: () => void;
|
|
10426
|
+
comments?: PaginatedList<Comment>;
|
|
10427
|
+
initialCommentsPageSize?: number;
|
|
10428
|
+
onThreadCommentDelete?: () => void;
|
|
10429
|
+
onThreadReply?: (threadId: string) => void;
|
|
10430
|
+
keywordSettings?: {
|
|
10431
|
+
availableKeywords?: Keyword[];
|
|
10432
|
+
defaultKeywords?: Keyword[];
|
|
10433
|
+
mandatoryKeywords?: Keyword[];
|
|
10434
|
+
};
|
|
10435
|
+
showGroup?: boolean;
|
|
10436
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10437
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10438
|
+
onItemClick?: (postId: string) => unknown;
|
|
10439
|
+
openTargetInNewWindow?: boolean;
|
|
10440
|
+
trimContent?: boolean;
|
|
10441
|
+
postGroupTargetUrl?: string;
|
|
10442
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10443
|
+
baseTargetUrl?: string;
|
|
9775
10444
|
}
|
|
9776
|
-
export const
|
|
10445
|
+
export const PostDisplay: FC<Props>;
|
|
10446
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
9777
10447
|
}
|
|
9778
|
-
declare module "libs/reach/feature/content/src/
|
|
9779
|
-
|
|
9780
|
-
|
|
9781
|
-
export
|
|
9782
|
-
|
|
9783
|
-
|
|
9784
|
-
|
|
9785
|
-
|
|
9786
|
-
|
|
9787
|
-
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
9788
|
-
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
9789
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
9790
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
9791
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
9792
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
9793
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
9794
|
-
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
9795
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
9796
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
9797
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
9798
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
9799
|
-
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
9800
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
9801
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
9802
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
9803
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
9804
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
9805
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
9806
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
9807
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
9808
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9809
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
9810
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
9811
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
9812
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
9813
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
9814
|
-
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9815
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9816
|
-
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
9817
|
-
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
9818
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9819
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
9820
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
9821
|
-
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
9822
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
9823
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
9824
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
9825
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
9826
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
9827
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
9828
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
9829
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
9830
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9831
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
9832
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9833
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9834
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9835
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9836
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9837
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9838
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9839
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9840
|
-
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
9841
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9842
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9843
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9844
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9845
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9846
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9847
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9848
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9849
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
9850
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9851
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9852
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
9853
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9854
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
9855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
9856
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
9860
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9861
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9862
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9863
|
-
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9864
|
-
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
9865
|
-
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
9866
|
-
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
9867
|
-
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
9868
|
-
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9869
|
-
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
9870
|
-
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
9871
|
-
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
9872
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
9873
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
9874
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
9875
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
9876
|
-
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
9877
|
-
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
9878
|
-
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
9879
|
-
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
10448
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10449
|
+
import { FC } from 'react';
|
|
10450
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10451
|
+
export const PostGroupsPicker: FC<{
|
|
10452
|
+
groups: UserGroup[];
|
|
10453
|
+
selectedGroupId: string;
|
|
10454
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10455
|
+
className?: string;
|
|
10456
|
+
}>;
|
|
9880
10457
|
}
|
|
9881
|
-
declare module "libs/reach/feature/content/src/
|
|
10458
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9882
10459
|
import { FC } from 'react';
|
|
9883
|
-
|
|
9884
|
-
|
|
9885
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9886
|
-
interface Props {
|
|
9887
|
-
type?: ItemResourceTypes;
|
|
9888
|
-
baseAttachmentPath?: string;
|
|
9889
|
-
message: Comment;
|
|
9890
|
-
showDelete?: boolean;
|
|
9891
|
-
showAutoTranslate?: boolean;
|
|
9892
|
-
showEdit?: boolean;
|
|
9893
|
-
onDelete?: (comment: Comment) => void;
|
|
9894
|
-
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
9895
|
-
scope: ConversationScope;
|
|
9896
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9897
|
-
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9898
|
-
highlight?: boolean;
|
|
9899
|
-
isInitialLiked?: boolean;
|
|
9900
|
-
hasUnreadReplies?: boolean;
|
|
9901
|
-
onReplyIconClick?: () => void;
|
|
9902
|
-
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9903
|
-
replyCount?: number;
|
|
9904
|
-
readOnly?: boolean;
|
|
9905
|
-
trimContent?: boolean;
|
|
10460
|
+
export const PostGroupSelector: FC<{
|
|
10461
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
9906
10462
|
className?: string;
|
|
9907
|
-
}
|
|
9908
|
-
export const CommentDisplay: FC<Props>;
|
|
10463
|
+
}>;
|
|
9909
10464
|
}
|
|
9910
|
-
declare module "libs/reach/feature/content/src/
|
|
9911
|
-
|
|
9912
|
-
|
|
9913
|
-
|
|
9914
|
-
|
|
9915
|
-
export
|
|
9916
|
-
|
|
9917
|
-
|
|
9918
|
-
|
|
9919
|
-
|
|
9920
|
-
export
|
|
9921
|
-
|
|
9922
|
-
export
|
|
9923
|
-
|
|
9924
|
-
|
|
10465
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10466
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10467
|
+
import { DocumentNode } from '@apollo/client';
|
|
10468
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10469
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10470
|
+
export enum StreamEventResponse {
|
|
10471
|
+
NotSet = "NOTSET",
|
|
10472
|
+
Registered = "REGISTERED",
|
|
10473
|
+
Declined = "DECLINED"
|
|
10474
|
+
}
|
|
10475
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10476
|
+
}
|
|
10477
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10478
|
+
items: StreamItem[];
|
|
10479
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10480
|
+
loadMore: () => Promise<void>;
|
|
10481
|
+
pageInfo: {
|
|
10482
|
+
errors?: any;
|
|
10483
|
+
hasNextPage: boolean;
|
|
10484
|
+
skip: number;
|
|
10485
|
+
};
|
|
10486
|
+
refresh: () => Promise<void>;
|
|
10487
|
+
isLoadingFirstPage: boolean;
|
|
10488
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10489
|
+
};
|
|
10490
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10491
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10492
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10493
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10494
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10495
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10496
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10497
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10498
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10499
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10500
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10501
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10502
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10503
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10504
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10505
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
9925
10506
|
}
|
|
9926
|
-
declare module "libs/reach/feature/content/src/
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
export
|
|
9930
|
-
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
10507
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10508
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10509
|
+
import { DependencyList } from 'react';
|
|
10510
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9931
10511
|
}
|
|
9932
|
-
declare module "libs/reach/feature/content/src/
|
|
9933
|
-
import {
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
titleResource: string;
|
|
9940
|
-
onDismiss: () => void;
|
|
9941
|
-
availableKeywords?: Keyword[];
|
|
9942
|
-
mandatoryKeywordIds?: string[];
|
|
9943
|
-
}
|
|
9944
|
-
export const KeywordDialog: FC<Props>;
|
|
9945
|
-
export const StatefulKeywordPicker: FC<{
|
|
9946
|
-
preSelectedKeywords: Keyword[];
|
|
9947
|
-
availableKeywords?: Keyword[];
|
|
9948
|
-
mandatoryKeywordIds?: string[];
|
|
9949
|
-
showSelectionToggle?: boolean;
|
|
9950
|
-
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
9951
|
-
}>;
|
|
10512
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10513
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10514
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10515
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10516
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10517
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10518
|
+
};
|
|
9952
10519
|
}
|
|
9953
|
-
declare module "libs/reach/feature/content/src/
|
|
9954
|
-
|
|
9955
|
-
export
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
value?: string;
|
|
9965
|
-
onIconClick?: () => void;
|
|
9966
|
-
onEnter?: () => void;
|
|
9967
|
-
icon?: string;
|
|
9968
|
-
disableNewLines?: boolean;
|
|
9969
|
-
autoFocus?: boolean;
|
|
9970
|
-
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
9971
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
9972
|
-
inputType?: string;
|
|
9973
|
-
}
|
|
9974
|
-
/**
|
|
9975
|
-
* Textarea that expands vertically to fit content.
|
|
9976
|
-
* If maxLength is given, also displays a count of remaining characters when focused
|
|
9977
|
-
*/
|
|
9978
|
-
export const Textarea: FC<TextareaProps>;
|
|
10520
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10521
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10522
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10523
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10524
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10525
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10526
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10527
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10528
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10529
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10530
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
9979
10531
|
}
|
|
9980
|
-
declare module "libs/reach/feature/content/src/
|
|
9981
|
-
import {
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
singleMode?: boolean;
|
|
10532
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10533
|
+
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";
|
|
10534
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10535
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10536
|
+
enum StreamItemTypes {
|
|
10537
|
+
Post = "POST",
|
|
10538
|
+
News = "NEWS",
|
|
10539
|
+
Event = "EVENT",
|
|
10540
|
+
Page = "PAGE"
|
|
9990
10541
|
}
|
|
9991
|
-
export
|
|
9992
|
-
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
}
|
|
9996
|
-
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
9997
|
-
import { FC } from 'react';
|
|
9998
|
-
interface Props {
|
|
9999
|
-
onInsert: (files: File[]) => void;
|
|
10000
|
-
accept?: string;
|
|
10001
|
-
captionKey?: string;
|
|
10002
|
-
descriptionKey?: string;
|
|
10542
|
+
export enum StreamConversationScope {
|
|
10543
|
+
Public = "PUBLIC",
|
|
10544
|
+
Editor = "EDITOR",
|
|
10545
|
+
Posts = "POSTS"
|
|
10003
10546
|
}
|
|
10004
|
-
export
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
dateValidationResourceKey?: string;
|
|
10013
|
-
timeValidationResourceKey?: string;
|
|
10014
|
-
readOnly?: boolean;
|
|
10015
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
10016
|
-
noDateResourceKey: string;
|
|
10017
|
-
selectDateResourceKey: string;
|
|
10018
|
-
dateOnly?: boolean;
|
|
10019
|
-
initialPickerDate?: string;
|
|
10020
|
-
label?: string;
|
|
10021
|
-
isRequired?: boolean;
|
|
10022
|
-
className?: string;
|
|
10547
|
+
export interface PostStreamItem extends Post {
|
|
10548
|
+
type: StreamItemTypes.Post;
|
|
10549
|
+
isUnread: boolean;
|
|
10550
|
+
keywordsList?: Keyword[];
|
|
10551
|
+
groupIds?: string[];
|
|
10552
|
+
postAttachments?: StreamAttachment[];
|
|
10553
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10554
|
+
hasMoreUnreadComments: boolean;
|
|
10023
10555
|
}
|
|
10024
|
-
export
|
|
10025
|
-
|
|
10026
|
-
|
|
10027
|
-
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
10028
|
-
import moment, { Moment } from 'moment';
|
|
10029
|
-
export enum DateRange {
|
|
10030
|
-
TwoYears = 0,
|
|
10031
|
-
OneYear = 1,
|
|
10032
|
-
SixMonths = 2,
|
|
10033
|
-
TwoMonths = 3,
|
|
10034
|
-
OneMonth = 4,
|
|
10035
|
-
SevenDays = 5,
|
|
10036
|
-
YesterDay = 6,
|
|
10037
|
-
Today = 7
|
|
10556
|
+
export interface StreamPostComment extends Comment {
|
|
10557
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10558
|
+
streamConversationScope?: StreamConversationScope;
|
|
10038
10559
|
}
|
|
10039
|
-
export
|
|
10040
|
-
|
|
10041
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
10042
|
-
}
|
|
10043
|
-
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
10044
|
-
import { FC } from 'react';
|
|
10045
|
-
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
10046
|
-
export const DateRangeSlider: FC<{
|
|
10047
|
-
value?: DateRange;
|
|
10048
|
-
onChange: (range: DateRange) => unknown;
|
|
10049
|
-
}>;
|
|
10050
|
-
}
|
|
10051
|
-
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
10052
|
-
import { FC } from 'react';
|
|
10053
|
-
import { WrappedComponentProps } from 'react-intl';
|
|
10054
|
-
import { SelectionMode } from 'office-ui-fabric-react';
|
|
10055
|
-
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
10056
|
-
interface PeoplePickerDialogProps {
|
|
10057
|
-
defaultSelectedItems: Account[];
|
|
10058
|
-
onChange: (items: Account[]) => void;
|
|
10059
|
-
onDismiss: () => void;
|
|
10060
|
-
titleResource: string;
|
|
10061
|
-
intl?: WrappedComponentProps;
|
|
10062
|
-
selectionMode?: SelectionMode;
|
|
10063
|
-
allowMailItems?: boolean;
|
|
10064
|
-
accountType: AccountType;
|
|
10065
|
-
showDialog: boolean;
|
|
10066
|
-
allowEmptyValue: boolean;
|
|
10067
|
-
includePendingInvitationUsers?: boolean;
|
|
10068
|
-
placeholderStringResourceKey?: string;
|
|
10069
|
-
inputAriaLabelResourceKey: string;
|
|
10070
|
-
}
|
|
10071
|
-
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
10072
|
-
}
|
|
10073
|
-
declare module "libs/reach/feature/content/src/forms/index" {
|
|
10074
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
10075
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
10076
|
-
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
10077
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
10078
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
10079
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
10080
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
10081
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
10082
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
10083
|
-
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
10084
|
-
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
10085
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
10086
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
10087
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
10088
|
-
}
|
|
10089
|
-
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10090
|
-
import { FC } from 'react';
|
|
10091
|
-
export const GroupNotificationsSettings: FC<{
|
|
10092
|
-
groupId: string;
|
|
10093
|
-
className?: string;
|
|
10094
|
-
}>;
|
|
10095
|
-
}
|
|
10096
|
-
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10097
|
-
import { FC } from 'react';
|
|
10098
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10099
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10100
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10101
|
-
export interface PostCreatorProps {
|
|
10102
|
-
groupId: string;
|
|
10103
|
-
disabled?: boolean;
|
|
10104
|
-
disableDragAndDrop?: boolean;
|
|
10105
|
-
onBeforeSave?: (post: Post) => void;
|
|
10106
|
-
onSaved: (post: Post) => void;
|
|
10107
|
-
keywordSettings?: {
|
|
10108
|
-
availableKeywords?: Keyword[];
|
|
10109
|
-
defaultKeywords?: Keyword[];
|
|
10110
|
-
mandatoryKeywords?: Keyword[];
|
|
10111
|
-
};
|
|
10112
|
-
disableAutoFocus?: boolean;
|
|
10113
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
10114
|
-
className?: string;
|
|
10115
|
-
}
|
|
10116
|
-
export const PostCreator: FC<PostCreatorProps>;
|
|
10117
|
-
}
|
|
10118
|
-
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10119
|
-
import { FC } from 'react';
|
|
10120
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10121
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
10122
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10123
|
-
interface Props {
|
|
10124
|
-
className?: string;
|
|
10125
|
-
post: Post;
|
|
10126
|
-
initialPageSize?: number;
|
|
10127
|
-
comments?: PaginatedList<Comment>;
|
|
10128
|
-
autoFocusReplyField?: boolean;
|
|
10129
|
-
showReplyBox?: boolean;
|
|
10130
|
-
onReplyAdded: () => void;
|
|
10131
|
-
onReplyDeleted: () => void;
|
|
10132
|
-
trimContent?: boolean;
|
|
10133
|
-
}
|
|
10134
|
-
export const PostReplies: FC<Props>;
|
|
10135
|
-
}
|
|
10136
|
-
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10137
|
-
import { FC } from 'react';
|
|
10138
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10139
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10140
|
-
export const PostEditor: FC<{
|
|
10141
|
-
className?: string;
|
|
10142
|
-
post: Post;
|
|
10143
|
-
onCancel: () => void;
|
|
10144
|
-
onBeforeSave: (post: Post) => void;
|
|
10145
|
-
onSaved: (post: Post) => void;
|
|
10146
|
-
keywordSettings?: {
|
|
10147
|
-
availableKeywords?: Keyword[];
|
|
10148
|
-
defaultKeywords?: Keyword[];
|
|
10149
|
-
mandatoryKeywords?: Keyword[];
|
|
10150
|
-
};
|
|
10151
|
-
}>;
|
|
10152
|
-
}
|
|
10153
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10154
|
-
import { FC } from 'react';
|
|
10155
|
-
export const PostFollowButton: FC<{
|
|
10156
|
-
itemId: string;
|
|
10157
|
-
isFollowing: boolean;
|
|
10158
|
-
}>;
|
|
10159
|
-
}
|
|
10160
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10161
|
-
import { FC } from 'react';
|
|
10162
|
-
import { NavLink } from 'react-router-dom';
|
|
10163
|
-
export const PostGroup: FC<{
|
|
10164
|
-
groupId: string;
|
|
10165
|
-
target?: string;
|
|
10166
|
-
className?: string;
|
|
10167
|
-
}>;
|
|
10168
|
-
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10169
|
-
}
|
|
10170
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10171
|
-
import { FC } from 'react';
|
|
10172
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10173
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10174
|
-
interface Props {
|
|
10175
|
-
post: Post;
|
|
10176
|
-
targetUrl?: string;
|
|
10177
|
-
className?: string;
|
|
10178
|
-
threadId?: string;
|
|
10179
|
-
onCustomPostDelete?: () => void;
|
|
10180
|
-
comments?: PaginatedList<Comment>;
|
|
10181
|
-
initialCommentsPageSize?: number;
|
|
10182
|
-
onThreadCommentDelete?: () => void;
|
|
10183
|
-
onThreadReply?: (threadId: string) => void;
|
|
10184
|
-
keywordSettings?: {
|
|
10185
|
-
availableKeywords?: Keyword[];
|
|
10186
|
-
defaultKeywords?: Keyword[];
|
|
10187
|
-
mandatoryKeywords?: Keyword[];
|
|
10188
|
-
};
|
|
10189
|
-
showGroup?: boolean;
|
|
10190
|
-
onBeforeDelete?: (id: string) => unknown;
|
|
10191
|
-
onAfterDelete?: (id: string) => unknown;
|
|
10192
|
-
onItemClick?: (postId: string) => unknown;
|
|
10193
|
-
openTargetInNewWindow?: boolean;
|
|
10194
|
-
trimContent?: boolean;
|
|
10195
|
-
postGroupTargetUrl?: string;
|
|
10196
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
10197
|
-
baseTargetUrl?: string;
|
|
10198
|
-
}
|
|
10199
|
-
export const PostDisplay: FC<Props>;
|
|
10200
|
-
}
|
|
10201
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10202
|
-
import { FC } from 'react';
|
|
10203
|
-
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10204
|
-
export const PostGroupsPicker: FC<{
|
|
10205
|
-
groups: UserGroup[];
|
|
10206
|
-
selectedGroupId: string;
|
|
10207
|
-
onGroupSelected?: (groupId: string) => unknown;
|
|
10208
|
-
className?: string;
|
|
10209
|
-
}>;
|
|
10210
|
-
}
|
|
10211
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10212
|
-
import { FC } from 'react';
|
|
10213
|
-
export const PostGroupSelector: FC<{
|
|
10214
|
-
onPostGroupClick?: (groupId: string) => void;
|
|
10215
|
-
className?: string;
|
|
10216
|
-
}>;
|
|
10217
|
-
}
|
|
10218
|
-
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10219
|
-
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";
|
|
10220
|
-
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10221
|
-
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10222
|
-
enum StreamItemTypes {
|
|
10223
|
-
Post = "POST",
|
|
10224
|
-
News = "NEWS",
|
|
10225
|
-
Event = "EVENT",
|
|
10226
|
-
Page = "PAGE"
|
|
10227
|
-
}
|
|
10228
|
-
export enum StreamConversationScope {
|
|
10229
|
-
Public = "PUBLIC",
|
|
10230
|
-
Editor = "EDITOR",
|
|
10231
|
-
Posts = "POSTS"
|
|
10232
|
-
}
|
|
10233
|
-
export interface PostStreamItem extends Post {
|
|
10234
|
-
type: StreamItemTypes.Post;
|
|
10235
|
-
isUnread: boolean;
|
|
10236
|
-
keywordsList?: Keyword[];
|
|
10237
|
-
groupIds?: string[];
|
|
10238
|
-
postAttachments?: StreamAttachment[];
|
|
10239
|
-
postComments?: PaginatedList<StreamPostComment>;
|
|
10240
|
-
hasMoreUnreadComments: boolean;
|
|
10241
|
-
}
|
|
10242
|
-
export interface StreamPostComment extends Comment {
|
|
10243
|
-
postCommentAttachments?: StreamAttachment[];
|
|
10244
|
-
streamConversationScope?: StreamConversationScope;
|
|
10245
|
-
}
|
|
10246
|
-
export interface StreamAttachment extends BaseAttachment {
|
|
10247
|
-
type: GraphQLAttachmentType;
|
|
10560
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
10561
|
+
type: GraphQLAttachmentType;
|
|
10248
10562
|
}
|
|
10249
10563
|
export interface NewsStreamItem extends NewsItem {
|
|
10250
10564
|
type: StreamItemTypes.News;
|
|
@@ -10433,7 +10747,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10433
10747
|
knownState: KnownNewsState;
|
|
10434
10748
|
hasNewComments?: boolean;
|
|
10435
10749
|
isLiked?: boolean;
|
|
10436
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10437
10750
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10438
10751
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10439
10752
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10643,6 +10956,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10643
10956
|
isUnlinked?: boolean;
|
|
10644
10957
|
pageType?: PageType;
|
|
10645
10958
|
firstChildId?: string;
|
|
10959
|
+
isGroupInheritanceBroken?: boolean;
|
|
10646
10960
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10647
10961
|
id?: string;
|
|
10648
10962
|
versionId?: string;
|
|
@@ -10722,7 +11036,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10722
11036
|
knownState: KnownNewsState;
|
|
10723
11037
|
hasNewComments?: boolean;
|
|
10724
11038
|
isLiked?: boolean;
|
|
10725
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10726
11039
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10727
11040
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10728
11041
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10830,6 +11143,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10830
11143
|
isUnlinked?: boolean;
|
|
10831
11144
|
pageType?: PageType;
|
|
10832
11145
|
firstChildId?: string;
|
|
11146
|
+
isGroupInheritanceBroken?: boolean;
|
|
10833
11147
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10834
11148
|
id?: string;
|
|
10835
11149
|
versionId?: string;
|
|
@@ -10953,7 +11267,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10953
11267
|
knownState: KnownNewsState;
|
|
10954
11268
|
hasNewComments?: boolean;
|
|
10955
11269
|
isLiked?: boolean;
|
|
10956
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10957
11270
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10958
11271
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10959
11272
|
id?: string;
|
|
@@ -11028,6 +11341,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11028
11341
|
isUnlinked?: boolean;
|
|
11029
11342
|
pageType?: PageType;
|
|
11030
11343
|
firstChildId?: string;
|
|
11344
|
+
isGroupInheritanceBroken?: boolean;
|
|
11031
11345
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11032
11346
|
id?: string;
|
|
11033
11347
|
versionId?: string;
|
|
@@ -11055,72 +11369,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11055
11369
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11056
11370
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11057
11371
|
})[];
|
|
11372
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11373
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11374
|
+
}
|
|
11375
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11376
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11377
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11378
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11379
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11380
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11381
|
+
}
|
|
11382
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11383
|
+
import { LocationDescriptor } from 'history';
|
|
11384
|
+
import { FC, ReactNode } from 'react';
|
|
11385
|
+
export const SidebarIcon: FC<{
|
|
11386
|
+
icon?: ReactNode;
|
|
11387
|
+
iconName?: string;
|
|
11388
|
+
color?: string;
|
|
11389
|
+
onClick?: () => any;
|
|
11390
|
+
route?: LocationDescriptor;
|
|
11391
|
+
iconTooltipResourceKey: string;
|
|
11392
|
+
iconTooltipResourceValues?: any;
|
|
11393
|
+
className?: string;
|
|
11394
|
+
}>;
|
|
11395
|
+
}
|
|
11396
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11397
|
+
import { FC, ReactNode } from 'react';
|
|
11398
|
+
import { LocationDescriptor } from 'history';
|
|
11399
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11400
|
+
export interface BaseSidebarItemProps {
|
|
11401
|
+
children?: any;
|
|
11402
|
+
icon?: ReactNode;
|
|
11403
|
+
iconName?: string;
|
|
11404
|
+
iconTooltipResourceKey?: string;
|
|
11405
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11406
|
+
secondaryIconName?: string;
|
|
11407
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11408
|
+
reverse?: boolean;
|
|
11409
|
+
onIconClick?: () => void;
|
|
11410
|
+
iconRoute?: LocationDescriptor;
|
|
11411
|
+
iconColor?: string;
|
|
11412
|
+
onSecondaryIconClick?: () => void;
|
|
11413
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11414
|
+
onContentClick?: () => void;
|
|
11415
|
+
contentRoute?: LocationDescriptor;
|
|
11416
|
+
badgeInfo?: number | boolean;
|
|
11417
|
+
title?: string;
|
|
11418
|
+
className?: string;
|
|
11419
|
+
}
|
|
11420
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11421
|
+
}
|
|
11422
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11423
|
+
import { FC } from 'react';
|
|
11424
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11425
|
+
export const SidebarItemSection: FC<{
|
|
11426
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11427
|
+
}>;
|
|
11428
|
+
}
|
|
11429
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11430
|
+
import { FC, ReactNode } from 'react';
|
|
11431
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11432
|
+
import { LocationDescriptor } from 'history';
|
|
11433
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11434
|
+
interface CommonSidebarItemProps {
|
|
11435
|
+
title?: string | JSX.Element;
|
|
11436
|
+
titleResource?: string;
|
|
11437
|
+
icon?: ReactNode;
|
|
11438
|
+
iconName?: string;
|
|
11439
|
+
iconTooltipResourceKey?: string;
|
|
11440
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11441
|
+
secondaryIconName?: string;
|
|
11442
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11443
|
+
iconColor?: string;
|
|
11444
|
+
reverse?: boolean;
|
|
11445
|
+
notHighlightable?: boolean;
|
|
11446
|
+
onClick?: () => void;
|
|
11447
|
+
className?: string;
|
|
11448
|
+
isActive?: boolean;
|
|
11449
|
+
activeClassName?: string;
|
|
11450
|
+
readOnly?: boolean;
|
|
11451
|
+
submenu?: JSX.Element;
|
|
11452
|
+
submenuClassName?: string;
|
|
11453
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11454
|
+
badgeInfo?: number | boolean;
|
|
11455
|
+
domIdentifier?: string;
|
|
11456
|
+
}
|
|
11457
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11458
|
+
contentRoute?: LocationDescriptor;
|
|
11459
|
+
onIconClick?: () => void;
|
|
11460
|
+
iconRoute?: LocationDescriptor;
|
|
11461
|
+
onSecondaryIconClick?: () => void;
|
|
11462
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11463
|
+
isHoverable?: boolean;
|
|
11464
|
+
}
|
|
11465
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11466
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11467
|
+
route: LocationDescriptor;
|
|
11468
|
+
exact?: boolean;
|
|
11469
|
+
linkClassName?: string;
|
|
11470
|
+
}
|
|
11471
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11472
|
+
}
|
|
11473
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11474
|
+
import { FC } from 'react';
|
|
11475
|
+
export const SidebarGroup: FC<{
|
|
11476
|
+
titleResource?: string;
|
|
11477
|
+
borderColor?: string;
|
|
11478
|
+
className?: string;
|
|
11479
|
+
}>;
|
|
11480
|
+
}
|
|
11481
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11482
|
+
import { FC } from 'react';
|
|
11483
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11484
|
+
domIdentifier: string;
|
|
11485
|
+
trimContent?: boolean;
|
|
11486
|
+
className?: string;
|
|
11487
|
+
}>;
|
|
11488
|
+
}
|
|
11489
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11490
|
+
import { FC } from 'react';
|
|
11491
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11492
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11493
|
+
interface Props {
|
|
11494
|
+
selectedChannelNames?: string[];
|
|
11495
|
+
selectedChannelIds?: string[];
|
|
11496
|
+
mandatoryChannelIds?: string[];
|
|
11497
|
+
availableChannels?: Channel[];
|
|
11498
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11499
|
+
className?: string;
|
|
11500
|
+
showOnlyUserChannels?: boolean;
|
|
11501
|
+
showSelectionToggle?: boolean;
|
|
11502
|
+
placeholder?: string;
|
|
11503
|
+
inlineControls?: boolean;
|
|
11504
|
+
required?: boolean;
|
|
11505
|
+
id?: string;
|
|
11506
|
+
showLogicalOperatorOptions?: boolean;
|
|
11507
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11508
|
+
}
|
|
11509
|
+
export const ChannelSelector: FC<Props>;
|
|
11510
|
+
}
|
|
11511
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11512
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11513
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11514
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11515
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11516
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11517
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11518
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11519
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11520
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11521
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11522
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11523
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11524
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11525
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11526
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11527
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11528
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11529
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11530
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11531
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11532
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11533
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11534
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11535
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11536
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11537
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11538
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11539
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11540
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11541
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11542
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11543
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11544
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11545
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11546
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11547
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11548
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11549
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11550
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11551
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11552
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11553
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11554
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11555
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11556
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11557
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11558
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11559
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11560
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11561
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11562
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11563
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11564
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11565
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11566
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11567
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11568
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11569
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11570
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11571
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11572
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11573
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11574
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11575
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11576
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11577
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11578
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11579
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11580
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11581
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11582
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11583
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11587
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11592
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11593
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11594
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11595
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11598
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11599
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11600
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11601
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11602
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11603
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11604
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11605
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11606
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11607
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11608
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11609
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11610
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11611
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11612
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11613
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11614
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11615
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11616
|
+
}
|
|
11617
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11618
|
+
import { FC } from 'react';
|
|
11619
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11620
|
+
interface Props {
|
|
11621
|
+
type?: ItemResourceTypes;
|
|
11622
|
+
baseAttachmentPath?: string;
|
|
11623
|
+
message: Comment;
|
|
11624
|
+
showDelete?: boolean;
|
|
11625
|
+
showAutoTranslate?: boolean;
|
|
11626
|
+
showEdit?: boolean;
|
|
11627
|
+
onDelete?: (comment: Comment) => void;
|
|
11628
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11629
|
+
scope: ConversationScope;
|
|
11630
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11631
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11632
|
+
highlight?: boolean;
|
|
11633
|
+
hasUnreadReplies?: boolean;
|
|
11634
|
+
onReplyIconClick?: () => void;
|
|
11635
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11636
|
+
replyCount?: number;
|
|
11637
|
+
readOnly?: boolean;
|
|
11638
|
+
trimContent?: boolean;
|
|
11639
|
+
enableModalRouting?: boolean;
|
|
11640
|
+
className?: string;
|
|
11641
|
+
}
|
|
11642
|
+
export const CommentDisplay: FC<Props>;
|
|
11058
11643
|
}
|
|
11059
|
-
declare module "libs/reach/feature/content/src/
|
|
11060
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
export
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11644
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11645
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11646
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11647
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11648
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11649
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11650
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11651
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11652
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11653
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11654
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11655
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11656
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11657
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11658
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11659
|
+
}
|
|
11660
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11661
|
+
import { FC, ReactNode } from 'react';
|
|
11662
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11663
|
+
interface Props {
|
|
11664
|
+
isOpen: boolean;
|
|
11665
|
+
preSelectedKeywords: Keyword[];
|
|
11666
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11667
|
+
titleResource: string;
|
|
11668
|
+
onDismiss: () => void;
|
|
11669
|
+
availableKeywords?: Keyword[];
|
|
11670
|
+
mandatoryKeywordIds?: string[];
|
|
11068
11671
|
}
|
|
11069
|
-
export
|
|
11672
|
+
export const KeywordDialog: FC<Props>;
|
|
11673
|
+
export const StatefulKeywordPicker: FC<{
|
|
11674
|
+
preSelectedKeywords: Keyword[];
|
|
11675
|
+
availableKeywords?: Keyword[];
|
|
11676
|
+
mandatoryKeywordIds?: string[];
|
|
11677
|
+
showSelectionToggle?: boolean;
|
|
11678
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11679
|
+
}>;
|
|
11680
|
+
}
|
|
11681
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11682
|
+
import { FC, MutableRefObject } from 'react';
|
|
11683
|
+
export interface TextareaProps {
|
|
11684
|
+
rows?: number;
|
|
11685
|
+
placeholder?: string;
|
|
11686
|
+
readOnly?: boolean;
|
|
11687
|
+
onChange: (value: string) => void;
|
|
11688
|
+
className?: string;
|
|
11689
|
+
defaultValue?: string;
|
|
11690
|
+
disabled?: boolean;
|
|
11691
|
+
noDebouncing?: boolean;
|
|
11692
|
+
value?: string;
|
|
11693
|
+
onIconClick?: () => void;
|
|
11694
|
+
onEnter?: () => void;
|
|
11695
|
+
icon?: string;
|
|
11696
|
+
disableNewLines?: boolean;
|
|
11697
|
+
autoFocus?: boolean;
|
|
11698
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11699
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11700
|
+
inputType?: string;
|
|
11070
11701
|
}
|
|
11071
|
-
|
|
11072
|
-
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
errors?: any;
|
|
11077
|
-
hasNextPage: boolean;
|
|
11078
|
-
skip: number;
|
|
11079
|
-
};
|
|
11080
|
-
refresh: () => Promise<void>;
|
|
11081
|
-
isLoadingFirstPage: boolean;
|
|
11082
|
-
};
|
|
11083
|
-
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11084
|
-
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11085
|
-
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11086
|
-
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
11087
|
-
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
11088
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11089
|
-
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11090
|
-
export const OWNER_CONDITION: (owner: string) => string;
|
|
11091
|
-
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11092
|
-
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11093
|
-
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
11094
|
-
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
11095
|
-
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
11096
|
-
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11097
|
-
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11098
|
-
export const POST_ITEM_FIELDS: DocumentNode;
|
|
11702
|
+
/**
|
|
11703
|
+
* Textarea that expands vertically to fit content.
|
|
11704
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11705
|
+
*/
|
|
11706
|
+
export const Textarea: FC<TextareaProps>;
|
|
11099
11707
|
}
|
|
11100
|
-
declare module "libs/reach/feature/content/src/
|
|
11101
|
-
import {
|
|
11102
|
-
|
|
11103
|
-
|
|
11708
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11709
|
+
import { FC } from 'react';
|
|
11710
|
+
interface Props {
|
|
11711
|
+
onInsert: (files: File[]) => void;
|
|
11712
|
+
accept?: string;
|
|
11713
|
+
captionKey?: string;
|
|
11714
|
+
captionIconName?: string;
|
|
11715
|
+
descriptionKey?: string;
|
|
11716
|
+
descriptionIconName?: string;
|
|
11717
|
+
singleMode?: boolean;
|
|
11718
|
+
}
|
|
11719
|
+
export const InsertFilesButton: FC<Props>;
|
|
11720
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11721
|
+
isActive?: boolean;
|
|
11722
|
+
}, never>;
|
|
11104
11723
|
}
|
|
11105
|
-
declare module "libs/reach/feature/content/src/
|
|
11106
|
-
import {
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11724
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11725
|
+
import { FC } from 'react';
|
|
11726
|
+
interface Props {
|
|
11727
|
+
onInsert: (files: File[]) => void;
|
|
11728
|
+
accept?: string;
|
|
11729
|
+
captionKey?: string;
|
|
11730
|
+
descriptionKey?: string;
|
|
11731
|
+
}
|
|
11732
|
+
export const InsertImagesButton: FC<Props>;
|
|
11112
11733
|
}
|
|
11113
|
-
declare module "libs/reach/feature/content/src/
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11734
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11735
|
+
import { FC } from 'react';
|
|
11736
|
+
interface DateTimePickerProps {
|
|
11737
|
+
date: string;
|
|
11738
|
+
maxDate?: string;
|
|
11739
|
+
minDate?: string;
|
|
11740
|
+
dateValidationResourceKey?: string;
|
|
11741
|
+
timeValidationResourceKey?: string;
|
|
11742
|
+
readOnly?: boolean;
|
|
11743
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11744
|
+
noDateResourceKey: string;
|
|
11745
|
+
selectDateResourceKey: string;
|
|
11746
|
+
dateOnly?: boolean;
|
|
11747
|
+
initialPickerDate?: string;
|
|
11748
|
+
label?: string;
|
|
11749
|
+
isRequired?: boolean;
|
|
11750
|
+
className?: string;
|
|
11751
|
+
}
|
|
11752
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11753
|
+
export default DateTimePicker;
|
|
11754
|
+
}
|
|
11755
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11756
|
+
import moment, { Moment } from 'moment';
|
|
11757
|
+
export enum DateRange {
|
|
11758
|
+
TwoYears = 0,
|
|
11759
|
+
OneYear = 1,
|
|
11760
|
+
SixMonths = 2,
|
|
11761
|
+
TwoMonths = 3,
|
|
11762
|
+
OneMonth = 4,
|
|
11763
|
+
SevenDays = 5,
|
|
11764
|
+
YesterDay = 6,
|
|
11765
|
+
Today = 7
|
|
11766
|
+
}
|
|
11767
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11768
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11769
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11770
|
+
}
|
|
11771
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11772
|
+
import { FC } from 'react';
|
|
11773
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11774
|
+
export const DateRangeSlider: FC<{
|
|
11775
|
+
value?: DateRange;
|
|
11776
|
+
onChange: (range: DateRange) => unknown;
|
|
11777
|
+
}>;
|
|
11778
|
+
}
|
|
11779
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11780
|
+
import { FC } from 'react';
|
|
11781
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11782
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11783
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11784
|
+
interface PeoplePickerDialogProps {
|
|
11785
|
+
defaultSelectedItems: Account[];
|
|
11786
|
+
onChange: (items: Account[]) => void;
|
|
11787
|
+
onDismiss: () => void;
|
|
11788
|
+
titleResource: string;
|
|
11789
|
+
intl?: WrappedComponentProps;
|
|
11790
|
+
selectionMode?: SelectionMode;
|
|
11791
|
+
allowMailItems?: boolean;
|
|
11792
|
+
accountType: AccountType;
|
|
11793
|
+
showDialog: boolean;
|
|
11794
|
+
allowEmptyValue: boolean;
|
|
11795
|
+
includePendingInvitationUsers?: boolean;
|
|
11796
|
+
placeholderStringResourceKey?: string;
|
|
11797
|
+
inputAriaLabelResourceKey: string;
|
|
11798
|
+
}
|
|
11799
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11800
|
+
}
|
|
11801
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11802
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11803
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11804
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11805
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11806
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11807
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11808
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11809
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11810
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11811
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11812
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11813
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11814
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11815
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11124
11816
|
}
|
|
11125
11817
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11126
11818
|
import { FC, ReactNode } from 'react';
|
|
@@ -11217,8 +11909,21 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11217
11909
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11218
11910
|
export type ShareTokenType = 'preview' | 'published';
|
|
11219
11911
|
export function useShareTokenEditorApi(): {
|
|
11220
|
-
activateShareToken: (
|
|
11221
|
-
deleteShareToken: (
|
|
11912
|
+
activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
|
|
11913
|
+
deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
|
|
11914
|
+
};
|
|
11915
|
+
}
|
|
11916
|
+
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
11917
|
+
import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
|
|
11918
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
11919
|
+
export function useEventsEditorApi(): {
|
|
11920
|
+
getEvent: (eventId: string) => Promise<EventItem>;
|
|
11921
|
+
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11922
|
+
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11923
|
+
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11924
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11925
|
+
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11926
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11222
11927
|
};
|
|
11223
11928
|
}
|
|
11224
11929
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11230,6 +11935,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
11230
11935
|
export * from "libs/reach/feature/content/src/editor/useEditorApi";
|
|
11231
11936
|
export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
|
|
11232
11937
|
export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
|
|
11938
|
+
export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
|
|
11233
11939
|
}
|
|
11234
11940
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
11235
11941
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
@@ -11256,6 +11962,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11256
11962
|
event: EventStreamItem;
|
|
11257
11963
|
}>;
|
|
11258
11964
|
}
|
|
11965
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11966
|
+
import { FC } from 'react';
|
|
11967
|
+
export const GlobalSearchButton: FC<{
|
|
11968
|
+
className?: string;
|
|
11969
|
+
}>;
|
|
11970
|
+
}
|
|
11259
11971
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11260
11972
|
import { FC, ReactNode } from 'react';
|
|
11261
11973
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11308,7 +12020,6 @@ declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader"
|
|
|
11308
12020
|
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/index";
|
|
11309
12021
|
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
11310
12022
|
export const PAGES_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11311
|
-
export const PARENT_ID_CONDITION: (parentId?: string) => string;
|
|
11312
12023
|
}
|
|
11313
12024
|
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11314
12025
|
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
@@ -11324,12 +12035,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11324
12035
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11325
12036
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11326
12037
|
}
|
|
11327
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11328
|
-
import { FC } from 'react';
|
|
11329
|
-
export const GlobalSearchButton: FC<{
|
|
11330
|
-
className?: string;
|
|
11331
|
-
}>;
|
|
11332
|
-
}
|
|
11333
12038
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11334
12039
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11335
12040
|
}
|
|
@@ -11771,6 +12476,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
11771
12476
|
}) => string;
|
|
11772
12477
|
};
|
|
11773
12478
|
}
|
|
12479
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12480
|
+
import { Dispatch } from 'react';
|
|
12481
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12482
|
+
}
|
|
12483
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12484
|
+
import { FC } from 'react';
|
|
12485
|
+
export interface Dashboard {
|
|
12486
|
+
name: string;
|
|
12487
|
+
title: string;
|
|
12488
|
+
url: string;
|
|
12489
|
+
}
|
|
12490
|
+
export const DashboardPage: FC<{
|
|
12491
|
+
dashboard: Dashboard;
|
|
12492
|
+
}>;
|
|
12493
|
+
}
|
|
12494
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12495
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12496
|
+
export function useDashboards(): Dashboard[];
|
|
12497
|
+
export function hasDashboards(): boolean;
|
|
12498
|
+
}
|
|
12499
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12500
|
+
import { FC } from 'react';
|
|
12501
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12502
|
+
}
|
|
11774
12503
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
11775
12504
|
import { FC } from 'react';
|
|
11776
12505
|
interface Props {
|
|
@@ -11786,7 +12515,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11786
12515
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11787
12516
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11788
12517
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11789
|
-
export interface
|
|
12518
|
+
export interface PageProps extends SearchBoxProps {
|
|
11790
12519
|
className?: string;
|
|
11791
12520
|
headerContents?: JSX.Element;
|
|
11792
12521
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11804,12 +12533,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11804
12533
|
submenuContents?: JSX.Element;
|
|
11805
12534
|
submenuClassName?: string;
|
|
11806
12535
|
disableScrollableContainerFocus?: boolean;
|
|
12536
|
+
asModal?: boolean;
|
|
12537
|
+
domIdentifier?: string;
|
|
11807
12538
|
}
|
|
11808
12539
|
export enum MenuNavigationMode {
|
|
11809
12540
|
Collapse = 0,
|
|
11810
12541
|
KeepOpen = 1
|
|
11811
12542
|
}
|
|
11812
|
-
export const Page: FC<
|
|
12543
|
+
export const Page: FC<PageProps>;
|
|
11813
12544
|
}
|
|
11814
12545
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11815
12546
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|