@livetiles/reach-plugin-types 0.5.0-preview.25 → 0.5.0-preview.251
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 +1780 -1105
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -216,11 +216,24 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
216
216
|
extraScopes: string[];
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
+
declare module "libs/shared/util/environment/src/AnalyticsConfig" {
|
|
220
|
+
export interface DashboardConfig {
|
|
221
|
+
name: string;
|
|
222
|
+
title: string;
|
|
223
|
+
id: number;
|
|
224
|
+
params?: string;
|
|
225
|
+
}
|
|
226
|
+
export interface AnalyticsConfig {
|
|
227
|
+
hostName: string;
|
|
228
|
+
dashboards: DashboardConfig[];
|
|
229
|
+
}
|
|
230
|
+
}
|
|
219
231
|
declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
220
232
|
import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
|
|
221
233
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
222
234
|
import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
|
|
223
235
|
import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
|
|
236
|
+
import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
|
|
224
237
|
export enum ConfigType {
|
|
225
238
|
Local = "local",
|
|
226
239
|
Dev = "dev",
|
|
@@ -266,9 +279,11 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
266
279
|
oneSignal?: {
|
|
267
280
|
appId: string;
|
|
268
281
|
};
|
|
282
|
+
analytics: AnalyticsConfig;
|
|
269
283
|
}
|
|
270
284
|
}
|
|
271
285
|
declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
286
|
+
import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
|
|
272
287
|
export interface ClientConfig {
|
|
273
288
|
maxFileSizeInMb: number;
|
|
274
289
|
unsplash: {
|
|
@@ -286,9 +301,11 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
|
286
301
|
giphy: {
|
|
287
302
|
apiKey: string;
|
|
288
303
|
};
|
|
304
|
+
analytics: AnalyticsConfig;
|
|
289
305
|
}
|
|
290
306
|
}
|
|
291
307
|
declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
308
|
+
import { DeviceInfo } from '@capacitor/device';
|
|
292
309
|
export interface EnvironmentConfig {
|
|
293
310
|
isCustomerBuild: boolean;
|
|
294
311
|
isProduction: boolean;
|
|
@@ -306,11 +323,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
306
323
|
buildId: string;
|
|
307
324
|
useAzureAdFunctionality: boolean;
|
|
308
325
|
envName: string;
|
|
309
|
-
|
|
310
|
-
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
311
|
-
interface DeviceInfo {
|
|
312
|
-
platform: 'ios' | 'android' | 'web';
|
|
313
|
-
operatingSystem: OperatingSystem;
|
|
326
|
+
mobileTeamsHost?: string;
|
|
314
327
|
}
|
|
315
328
|
}
|
|
316
329
|
declare module "libs/shared/util/environment/src/environment" {
|
|
@@ -1026,6 +1039,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
|
1026
1039
|
language?: string;
|
|
1027
1040
|
}>;
|
|
1028
1041
|
}
|
|
1042
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1043
|
+
import locale from 'date-fns/locale/ar-DZ';
|
|
1044
|
+
export default locale;
|
|
1045
|
+
}
|
|
1046
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
|
|
1047
|
+
import locale from 'date-fns/locale/ar-MA';
|
|
1048
|
+
export default locale;
|
|
1049
|
+
}
|
|
1050
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
|
|
1051
|
+
import locale from 'date-fns/locale/ar-SA';
|
|
1052
|
+
export default locale;
|
|
1053
|
+
}
|
|
1054
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
|
|
1055
|
+
import locale from 'date-fns/locale/bg';
|
|
1056
|
+
export default locale;
|
|
1057
|
+
}
|
|
1058
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
|
|
1059
|
+
import locale from 'date-fns/locale/bn';
|
|
1060
|
+
export default locale;
|
|
1061
|
+
}
|
|
1062
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
|
|
1063
|
+
import locale from 'date-fns/locale/ca';
|
|
1064
|
+
export default locale;
|
|
1065
|
+
}
|
|
1066
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
|
|
1067
|
+
import locale from 'date-fns/locale/cs';
|
|
1068
|
+
export default locale;
|
|
1069
|
+
}
|
|
1070
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
|
|
1071
|
+
import locale from 'date-fns/locale/da';
|
|
1072
|
+
export default locale;
|
|
1073
|
+
}
|
|
1074
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
|
|
1075
|
+
import locale from 'date-fns/locale/de';
|
|
1076
|
+
export default locale;
|
|
1077
|
+
}
|
|
1078
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
|
|
1079
|
+
import locale from 'date-fns/locale/el';
|
|
1080
|
+
export default locale;
|
|
1081
|
+
}
|
|
1082
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
|
|
1083
|
+
import locale from 'date-fns/locale/en-AU';
|
|
1084
|
+
export default locale;
|
|
1085
|
+
}
|
|
1086
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
|
|
1087
|
+
import locale from 'date-fns/locale/en-CA';
|
|
1088
|
+
export default locale;
|
|
1089
|
+
}
|
|
1090
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
|
|
1091
|
+
import locale from 'date-fns/locale/en-GB';
|
|
1092
|
+
export default locale;
|
|
1093
|
+
}
|
|
1094
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
|
|
1095
|
+
import locale from 'date-fns/locale/en-NZ';
|
|
1096
|
+
export default locale;
|
|
1097
|
+
}
|
|
1098
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
|
|
1099
|
+
import locale from 'date-fns/locale/es';
|
|
1100
|
+
export default locale;
|
|
1101
|
+
}
|
|
1102
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
|
|
1103
|
+
import locale from 'date-fns/locale/et';
|
|
1104
|
+
export default locale;
|
|
1105
|
+
}
|
|
1106
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
|
|
1107
|
+
import locale from 'date-fns/locale/fa-IR';
|
|
1108
|
+
export default locale;
|
|
1109
|
+
}
|
|
1110
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
|
|
1111
|
+
import locale from 'date-fns/locale/fi';
|
|
1112
|
+
export default locale;
|
|
1113
|
+
}
|
|
1114
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
|
|
1115
|
+
import locale from 'date-fns/locale/fr-CA';
|
|
1116
|
+
export default locale;
|
|
1117
|
+
}
|
|
1118
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
|
|
1119
|
+
import locale from 'date-fns/locale/fr-CH';
|
|
1120
|
+
export default locale;
|
|
1121
|
+
}
|
|
1122
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
|
|
1123
|
+
import locale from 'date-fns/locale/fr';
|
|
1124
|
+
export default locale;
|
|
1125
|
+
}
|
|
1126
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
|
|
1127
|
+
import locale from 'date-fns/locale/gu';
|
|
1128
|
+
export default locale;
|
|
1129
|
+
}
|
|
1130
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
|
|
1131
|
+
import locale from 'date-fns/locale/he';
|
|
1132
|
+
export default locale;
|
|
1133
|
+
}
|
|
1134
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
|
|
1135
|
+
import locale from 'date-fns/locale/hi';
|
|
1136
|
+
export default locale;
|
|
1137
|
+
}
|
|
1138
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
|
|
1139
|
+
import locale from 'date-fns/locale/hr';
|
|
1140
|
+
export default locale;
|
|
1141
|
+
}
|
|
1142
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
|
|
1143
|
+
import locale from 'date-fns/locale/hu';
|
|
1144
|
+
export default locale;
|
|
1145
|
+
}
|
|
1146
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
|
|
1147
|
+
import locale from 'date-fns/locale/id';
|
|
1148
|
+
export default locale;
|
|
1149
|
+
}
|
|
1150
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
|
|
1151
|
+
import locale from 'date-fns/locale/it';
|
|
1152
|
+
export default locale;
|
|
1153
|
+
}
|
|
1154
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
|
|
1155
|
+
import locale from 'date-fns/locale/ja';
|
|
1156
|
+
export default locale;
|
|
1157
|
+
}
|
|
1158
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
|
|
1159
|
+
import locale from 'date-fns/locale/kn';
|
|
1160
|
+
export default locale;
|
|
1161
|
+
}
|
|
1162
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
|
|
1163
|
+
import locale from 'date-fns/locale/ko';
|
|
1164
|
+
export default locale;
|
|
1165
|
+
}
|
|
1166
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
|
|
1167
|
+
import locale from 'date-fns/locale/lt';
|
|
1168
|
+
export default locale;
|
|
1169
|
+
}
|
|
1170
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
|
|
1171
|
+
import locale from 'date-fns/locale/lv';
|
|
1172
|
+
export default locale;
|
|
1173
|
+
}
|
|
1174
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
|
|
1175
|
+
import locale from 'date-fns/locale/ms';
|
|
1176
|
+
export default locale;
|
|
1177
|
+
}
|
|
1178
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
|
|
1179
|
+
import locale from 'date-fns/locale/nb';
|
|
1180
|
+
export default locale;
|
|
1181
|
+
}
|
|
1182
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
|
|
1183
|
+
import locale from 'date-fns/locale/nl-BE';
|
|
1184
|
+
export default locale;
|
|
1185
|
+
}
|
|
1186
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
|
|
1187
|
+
import locale from 'date-fns/locale/nl';
|
|
1188
|
+
export default locale;
|
|
1189
|
+
}
|
|
1190
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
|
|
1191
|
+
import locale from 'date-fns/locale/pl';
|
|
1192
|
+
export default locale;
|
|
1193
|
+
}
|
|
1194
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
|
|
1195
|
+
import locale from 'date-fns/locale/pt-BR';
|
|
1196
|
+
export default locale;
|
|
1197
|
+
}
|
|
1198
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
|
|
1199
|
+
import locale from 'date-fns/locale/pt';
|
|
1200
|
+
export default locale;
|
|
1201
|
+
}
|
|
1202
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
|
|
1203
|
+
import locale from 'date-fns/locale/ro';
|
|
1204
|
+
export default locale;
|
|
1205
|
+
}
|
|
1206
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
|
|
1207
|
+
import locale from 'date-fns/locale/ru';
|
|
1208
|
+
export default locale;
|
|
1209
|
+
}
|
|
1210
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
|
|
1211
|
+
import locale from 'date-fns/locale/sk';
|
|
1212
|
+
export default locale;
|
|
1213
|
+
}
|
|
1214
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
|
|
1215
|
+
import locale from 'date-fns/locale/sl';
|
|
1216
|
+
export default locale;
|
|
1217
|
+
}
|
|
1218
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
|
|
1219
|
+
import locale from 'date-fns/locale/sr-Latn';
|
|
1220
|
+
export default locale;
|
|
1221
|
+
}
|
|
1222
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
|
|
1223
|
+
import locale from 'date-fns/locale/sr';
|
|
1224
|
+
export default locale;
|
|
1225
|
+
}
|
|
1226
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
|
|
1227
|
+
import locale from 'date-fns/locale/sv';
|
|
1228
|
+
export default locale;
|
|
1229
|
+
}
|
|
1230
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
|
|
1231
|
+
import locale from 'date-fns/locale/ta';
|
|
1232
|
+
export default locale;
|
|
1233
|
+
}
|
|
1234
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
|
|
1235
|
+
import locale from 'date-fns/locale/te';
|
|
1236
|
+
export default locale;
|
|
1237
|
+
}
|
|
1238
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
|
|
1239
|
+
import locale from 'date-fns/locale/th';
|
|
1240
|
+
export default locale;
|
|
1241
|
+
}
|
|
1242
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
|
|
1243
|
+
import locale from 'date-fns/locale/tr';
|
|
1244
|
+
export default locale;
|
|
1245
|
+
}
|
|
1246
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
|
|
1247
|
+
import locale from 'date-fns/locale/uk';
|
|
1248
|
+
export default locale;
|
|
1249
|
+
}
|
|
1250
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
|
|
1251
|
+
import locale from 'date-fns/locale/vi';
|
|
1252
|
+
export default locale;
|
|
1253
|
+
}
|
|
1254
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
|
|
1255
|
+
import locale from 'date-fns/locale/zh-CN';
|
|
1256
|
+
export default locale;
|
|
1257
|
+
}
|
|
1258
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
|
|
1259
|
+
import locale from 'date-fns/locale/zh-TW';
|
|
1260
|
+
export default locale;
|
|
1261
|
+
}
|
|
1262
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
|
|
1263
|
+
import locale from 'date-fns/locale/en-US';
|
|
1264
|
+
export default locale;
|
|
1265
|
+
}
|
|
1266
|
+
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1267
|
+
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1268
|
+
}
|
|
1029
1269
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1030
1270
|
export const orderedFeatureSet: string[];
|
|
1031
1271
|
export class FeatureSet {
|
|
@@ -1198,6 +1438,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1198
1438
|
customDomain?: string;
|
|
1199
1439
|
allowSelfRegistration?: boolean;
|
|
1200
1440
|
brandFolderConfig?: BrandFolderConfig;
|
|
1441
|
+
hideSubscriptionName?: boolean;
|
|
1201
1442
|
}
|
|
1202
1443
|
export interface BrandFolderConfig {
|
|
1203
1444
|
sections?: string[];
|
|
@@ -1274,9 +1515,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1274
1515
|
subscriptionId: string;
|
|
1275
1516
|
subscriptionName: string;
|
|
1276
1517
|
}
|
|
1277
|
-
export
|
|
1278
|
-
|
|
1279
|
-
|
|
1518
|
+
export enum ExtensionArea {
|
|
1519
|
+
global = "Global",
|
|
1520
|
+
page = "Page",
|
|
1521
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
1522
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
1523
|
+
itemEditor = "ItemEditor"
|
|
1524
|
+
}
|
|
1525
|
+
export type InlinePlugin = {
|
|
1526
|
+
area: ExtensionArea.itemEditor;
|
|
1527
|
+
objectButton: PluginObjectButton;
|
|
1528
|
+
};
|
|
1529
|
+
export type PagePlugin = {
|
|
1530
|
+
area: ExtensionArea.page;
|
|
1280
1531
|
route: string;
|
|
1281
1532
|
navigationNode?: {
|
|
1282
1533
|
componentName?: string;
|
|
@@ -1286,7 +1537,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1286
1537
|
[key: string]: string;
|
|
1287
1538
|
};
|
|
1288
1539
|
};
|
|
1289
|
-
}
|
|
1540
|
+
};
|
|
1541
|
+
export type PluginExtension = {
|
|
1542
|
+
area: ExtensionArea;
|
|
1543
|
+
componentName: string;
|
|
1544
|
+
} & (InlinePlugin | PagePlugin);
|
|
1545
|
+
export type PluginObjectButton = {
|
|
1546
|
+
buttonLabel: {
|
|
1547
|
+
defaultLabel: string;
|
|
1548
|
+
translations?: {
|
|
1549
|
+
[key: string]: string;
|
|
1550
|
+
};
|
|
1551
|
+
};
|
|
1552
|
+
iconName: string;
|
|
1553
|
+
};
|
|
1290
1554
|
export interface PluginNotificationDefinitions {
|
|
1291
1555
|
key: string;
|
|
1292
1556
|
title: string;
|
|
@@ -1390,6 +1654,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1390
1654
|
pluginNotifications: {
|
|
1391
1655
|
[key: string]: NotificationType;
|
|
1392
1656
|
};
|
|
1657
|
+
newsEditor: NotificationType;
|
|
1658
|
+
eventEditor: NotificationType;
|
|
1393
1659
|
}
|
|
1394
1660
|
export interface RequestUser extends BasicUserInformation {
|
|
1395
1661
|
tenantId: string;
|
|
@@ -1490,6 +1756,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1490
1756
|
user: UserSummary;
|
|
1491
1757
|
type: SubscriptionJoinResultType;
|
|
1492
1758
|
message?: string;
|
|
1759
|
+
isSuccess?: boolean;
|
|
1493
1760
|
}
|
|
1494
1761
|
export interface UserActivationResult {
|
|
1495
1762
|
type: UserActivationResultType;
|
|
@@ -1716,11 +1983,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
|
1716
1983
|
knownState: KnownNewsState;
|
|
1717
1984
|
hasNewComments?: boolean;
|
|
1718
1985
|
isLiked?: boolean;
|
|
1719
|
-
shareToken?: ShareToken;
|
|
1720
|
-
}
|
|
1721
|
-
export interface ShareToken {
|
|
1722
|
-
published?: string;
|
|
1723
|
-
preview?: string;
|
|
1724
1986
|
}
|
|
1725
1987
|
export interface NewsItemAlertOptions {
|
|
1726
1988
|
duration?: string;
|
|
@@ -1908,6 +2170,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1908
2170
|
useExternalContent?: boolean;
|
|
1909
2171
|
isDemoContent?: boolean;
|
|
1910
2172
|
}
|
|
2173
|
+
export interface ShareablePublishableItem extends PublishableItem {
|
|
2174
|
+
shareToken: ShareToken;
|
|
2175
|
+
}
|
|
2176
|
+
export interface ShareToken {
|
|
2177
|
+
published?: string;
|
|
2178
|
+
preview?: string;
|
|
2179
|
+
}
|
|
1911
2180
|
export interface PublishableItemVersion extends PublishableItem {
|
|
1912
2181
|
itemId: string;
|
|
1913
2182
|
versionModificationDate: string;
|
|
@@ -1931,6 +2200,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1931
2200
|
}
|
|
1932
2201
|
}
|
|
1933
2202
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2203
|
+
import { Api } from 'restful.js';
|
|
1934
2204
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
1935
2205
|
export class ClientFactoryInstance {
|
|
1936
2206
|
private env;
|
|
@@ -1941,7 +2211,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1941
2211
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
1942
2212
|
url: string;
|
|
1943
2213
|
}) => Promise<unknown>);
|
|
1944
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2214
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
1945
2215
|
private createApiInternal;
|
|
1946
2216
|
private addRequestTimeLogger;
|
|
1947
2217
|
createApiUrl: (url: string, query?: {
|
|
@@ -2448,6 +2718,224 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2448
2718
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2449
2719
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2450
2720
|
}
|
|
2721
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2722
|
+
export const maxContentWidth = 985;
|
|
2723
|
+
export const adminMaxWidth = 600;
|
|
2724
|
+
export const spacingXxs = 3;
|
|
2725
|
+
export const spacingXs = 6;
|
|
2726
|
+
export const spacingS = 10;
|
|
2727
|
+
export const spacingM = 20;
|
|
2728
|
+
export const spacingL = 30;
|
|
2729
|
+
export const spacingX = 40;
|
|
2730
|
+
export const spacingXl = 60;
|
|
2731
|
+
export const minScreenSize: {
|
|
2732
|
+
small: number;
|
|
2733
|
+
medium: number;
|
|
2734
|
+
large: number;
|
|
2735
|
+
xLarge: number;
|
|
2736
|
+
xxLarge: number;
|
|
2737
|
+
xxxLarge: number;
|
|
2738
|
+
};
|
|
2739
|
+
export const maxScreenSize: {
|
|
2740
|
+
small: number;
|
|
2741
|
+
medium: number;
|
|
2742
|
+
large: number;
|
|
2743
|
+
xLarge: number;
|
|
2744
|
+
xxLarge: number;
|
|
2745
|
+
};
|
|
2746
|
+
export const sidebarWidth = 285;
|
|
2747
|
+
export const sidebarWidthRight = 320;
|
|
2748
|
+
export const sidebarItemHeight = 50;
|
|
2749
|
+
export const headerHeight = 50;
|
|
2750
|
+
export const headerSecondaryHeight = 50;
|
|
2751
|
+
export const notificationHeight = 50;
|
|
2752
|
+
export const mainContentPanelWidth = 300;
|
|
2753
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2754
|
+
export const fontSizeLarger = 40;
|
|
2755
|
+
export const fontSizeLarge = 25;
|
|
2756
|
+
export const fontSizeMedium = 18;
|
|
2757
|
+
export const fontSizeNormal = 16;
|
|
2758
|
+
export const fontSizeSmall = 14;
|
|
2759
|
+
export const fontSizeSmaller = 12;
|
|
2760
|
+
export const socialIconSize = 26;
|
|
2761
|
+
export const lineHeight = 23;
|
|
2762
|
+
export const smallScreenLoginHeight = 40;
|
|
2763
|
+
export const bannerAspectRatio: number;
|
|
2764
|
+
export const bannerWidth = 980;
|
|
2765
|
+
export const bannerHeight = 420;
|
|
2766
|
+
export const HighlightBubbleSize = 12;
|
|
2767
|
+
export const StatusBubbleSize = 10;
|
|
2768
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2769
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2770
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2771
|
+
export const dialogSpacing = 24;
|
|
2772
|
+
export const detailViewSectionPadding = 20;
|
|
2773
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2774
|
+
export const postsSectionPadding = 20;
|
|
2775
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2776
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2777
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2778
|
+
export const feedbackButtonHeight = 32;
|
|
2779
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2780
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2781
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2782
|
+
export const statusColors: {
|
|
2783
|
+
draft: string;
|
|
2784
|
+
ready: string;
|
|
2785
|
+
rejected: string;
|
|
2786
|
+
};
|
|
2787
|
+
export const cardWidthS = 260;
|
|
2788
|
+
export const cardWidthM = 354;
|
|
2789
|
+
export const cardWidthL = 314;
|
|
2790
|
+
export const cardWidthXL = 423;
|
|
2791
|
+
export const managePagesRowWidth = 300;
|
|
2792
|
+
export const managePagesRowHeight = 40;
|
|
2793
|
+
export const mobilePreviewWidth = 414;
|
|
2794
|
+
}
|
|
2795
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2796
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2797
|
+
import { IntlShape } from 'react-intl';
|
|
2798
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2799
|
+
export enum LinkType {
|
|
2800
|
+
Internal = "internal",
|
|
2801
|
+
External = "external",
|
|
2802
|
+
Download = "download"
|
|
2803
|
+
}
|
|
2804
|
+
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}";
|
|
2805
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2806
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2807
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2808
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2809
|
+
logoInfo: LogoInfo;
|
|
2810
|
+
subscriptionName: string;
|
|
2811
|
+
};
|
|
2812
|
+
}
|
|
2813
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2814
|
+
export enum AnalyticsInteractionEvents {
|
|
2815
|
+
embeddedVideo = "embedded-video",
|
|
2816
|
+
embeddedAudio = "embedded-audio",
|
|
2817
|
+
languageChange = "language-change",
|
|
2818
|
+
eventRegistration = "event-registration",
|
|
2819
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2820
|
+
translateContent = "translate-content",
|
|
2821
|
+
downloadFile = "download-file",
|
|
2822
|
+
embeddedIframe = "embedded-iframe",
|
|
2823
|
+
externalLink = "external-link",
|
|
2824
|
+
follow = "follow",
|
|
2825
|
+
bookmark = "bookmark"
|
|
2826
|
+
}
|
|
2827
|
+
export enum AnalyticsActions {
|
|
2828
|
+
click = "click",
|
|
2829
|
+
navigate = "navigate",
|
|
2830
|
+
view = "view",
|
|
2831
|
+
search = "search"
|
|
2832
|
+
}
|
|
2833
|
+
export enum AnalyticsModuleType {
|
|
2834
|
+
Admin = "admin",
|
|
2835
|
+
Chat = "chat",
|
|
2836
|
+
Comments = "comments",
|
|
2837
|
+
Events = "events",
|
|
2838
|
+
GlobalSearch = "globalSearch",
|
|
2839
|
+
News = "news",
|
|
2840
|
+
Pages = "pages",
|
|
2841
|
+
People = "people",
|
|
2842
|
+
Posts = "posts",
|
|
2843
|
+
Stream = "stream",
|
|
2844
|
+
User = "user"
|
|
2845
|
+
}
|
|
2846
|
+
export enum AnalyticsModuleSubtype {
|
|
2847
|
+
AllChats = "allChats",
|
|
2848
|
+
AllNews = "allNews",
|
|
2849
|
+
AllPosts = "allPosts",
|
|
2850
|
+
Bookmarks = "bookmarks",
|
|
2851
|
+
Channel = "channel",
|
|
2852
|
+
Channels = "channels",
|
|
2853
|
+
ChatConversation = "conversation",
|
|
2854
|
+
Customization = "customization",
|
|
2855
|
+
DetailView = "detailView",
|
|
2856
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2857
|
+
Group = "group",
|
|
2858
|
+
Groups = "groups",
|
|
2859
|
+
Keywords = "keywords",
|
|
2860
|
+
Languages = "languages",
|
|
2861
|
+
MyNews = "myNews",
|
|
2862
|
+
Owners = "owners",
|
|
2863
|
+
Preview = "preview",
|
|
2864
|
+
RootPages = "rootPages",
|
|
2865
|
+
Search = "search",
|
|
2866
|
+
SelfRegistration = "selfRegistration",
|
|
2867
|
+
TargetAudience = "targetAudience",
|
|
2868
|
+
UpcomingEvents = "upcoming",
|
|
2869
|
+
Users = "users",
|
|
2870
|
+
WebHooks = "webHooks"
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2874
|
+
import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2875
|
+
export function useLinkInteraction(analyticsInstance: ReachAnalytics): void;
|
|
2876
|
+
}
|
|
2877
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2878
|
+
import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2879
|
+
export function useIframeInteraction(analyticsInstance: ReachAnalytics): void;
|
|
2880
|
+
}
|
|
2881
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2882
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2883
|
+
import { Analytics } from '@livetiles/analytics';
|
|
2884
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2885
|
+
export interface AnalyticsSearchData {
|
|
2886
|
+
searchTerm: string;
|
|
2887
|
+
results: {
|
|
2888
|
+
itemId: string;
|
|
2889
|
+
itemType: ItemResourceTypes;
|
|
2890
|
+
}[];
|
|
2891
|
+
itemRead?: string;
|
|
2892
|
+
isGlobalSearch?: boolean;
|
|
2893
|
+
}
|
|
2894
|
+
export enum AnalyticsSearchEventType {
|
|
2895
|
+
search = "search",
|
|
2896
|
+
searchSession = "searchSession"
|
|
2897
|
+
}
|
|
2898
|
+
export interface SearchAnalytics {
|
|
2899
|
+
data: AnalyticsSearchData[];
|
|
2900
|
+
onSearchTermChange: (newData: AnalyticsSearchData) => Promise<unknown>;
|
|
2901
|
+
trackSearchSession: () => Promise<unknown>;
|
|
2902
|
+
onItemRead: (itemId: string) => void;
|
|
2903
|
+
}
|
|
2904
|
+
interface Module {
|
|
2905
|
+
type: string;
|
|
2906
|
+
subtype?: string;
|
|
2907
|
+
value?: string;
|
|
2908
|
+
}
|
|
2909
|
+
export interface AnalyticsModule {
|
|
2910
|
+
module: Module;
|
|
2911
|
+
setModule: Dispatch<SetStateAction<Module>>;
|
|
2912
|
+
}
|
|
2913
|
+
interface ActivityAnalytics {
|
|
2914
|
+
trackActivity: (scrollContainer: HTMLElement) => void;
|
|
2915
|
+
}
|
|
2916
|
+
export type ReachAnalytics = Analytics & AnalyticsModule & SearchAnalytics & ActivityAnalytics;
|
|
2917
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2918
|
+
export function useAnalyticsContext(): ReachAnalytics;
|
|
2919
|
+
export const AnalyticsLibraryContextProvider: FC;
|
|
2920
|
+
export const AnalyticsContextProvider: FC;
|
|
2921
|
+
}
|
|
2922
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2923
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
2924
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2925
|
+
}
|
|
2926
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2927
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2928
|
+
}
|
|
2929
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2930
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2931
|
+
}
|
|
2932
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2933
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2934
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2935
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2936
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2937
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2938
|
+
}
|
|
2451
2939
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2452
2940
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2453
2941
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2521,6 +3009,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2521
3009
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2522
3010
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2523
3011
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
3012
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
3013
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2524
3014
|
};
|
|
2525
3015
|
}
|
|
2526
3016
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2546,6 +3036,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2546
3036
|
customDomain?: string;
|
|
2547
3037
|
allowSelfRegistration?: boolean;
|
|
2548
3038
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3039
|
+
hideSubscriptionName?: boolean;
|
|
2549
3040
|
id: string;
|
|
2550
3041
|
subscriptionName: string;
|
|
2551
3042
|
subscriptionHandle?: string;
|
|
@@ -2711,7 +3202,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2711
3202
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2712
3203
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2713
3204
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2714
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3205
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2715
3206
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2716
3207
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2717
3208
|
};
|
|
@@ -2817,17 +3308,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2817
3308
|
}
|
|
2818
3309
|
}
|
|
2819
3310
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2820
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3311
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2821
3312
|
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
2822
|
-
export enum ExtensionArea {
|
|
2823
|
-
global = "Global",
|
|
2824
|
-
page = "Page",
|
|
2825
|
-
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
2826
|
-
eventDetailViewSection = "EventDetailViewSection"
|
|
2827
|
-
}
|
|
2828
3313
|
export interface PluginNavigationNodeProps {
|
|
2829
3314
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2830
3315
|
}
|
|
3316
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3317
|
+
isEditMode?: boolean;
|
|
3318
|
+
componentInstanceId: string;
|
|
3319
|
+
};
|
|
2831
3320
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2832
3321
|
type DevPlugin = {
|
|
2833
3322
|
pluginId: string;
|
|
@@ -2881,22 +3370,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2881
3370
|
}
|
|
2882
3371
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2883
3372
|
import { FC } from 'react';
|
|
2884
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3373
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2885
3374
|
export const Plugins: FC<{
|
|
2886
3375
|
area: ExtensionArea;
|
|
2887
3376
|
} & any>;
|
|
2888
3377
|
}
|
|
2889
|
-
declare module "libs/reach/util/common/src/plugins/index" {
|
|
2890
|
-
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
2891
|
-
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
2892
|
-
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
2893
|
-
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
2894
|
-
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
2895
|
-
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2896
|
-
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2897
|
-
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2898
|
-
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2899
|
-
}
|
|
2900
3378
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2901
3379
|
export class Color {
|
|
2902
3380
|
private r;
|
|
@@ -3041,77 +3519,24 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3041
3519
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3042
3520
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3043
3521
|
}
|
|
3044
|
-
declare module "libs/reach/util/common/src/
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
export const
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
export
|
|
3053
|
-
export
|
|
3054
|
-
export
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
export const maxScreenSize: {
|
|
3063
|
-
small: number;
|
|
3064
|
-
medium: number;
|
|
3065
|
-
large: number;
|
|
3066
|
-
xLarge: number;
|
|
3067
|
-
xxLarge: number;
|
|
3068
|
-
};
|
|
3069
|
-
export const sidebarWidth = 285;
|
|
3070
|
-
export const sidebarWidthRight = 320;
|
|
3071
|
-
export const sidebarItemHeight = 50;
|
|
3072
|
-
export const headerHeight = 50;
|
|
3073
|
-
export const headerSecondaryHeight = 50;
|
|
3074
|
-
export const notificationHeight = 50;
|
|
3075
|
-
export const mainContentPanelWidth = 300;
|
|
3076
|
-
export const mainContentPanelMinScreenSize = 1740;
|
|
3077
|
-
export const fontSizeLarger = 40;
|
|
3078
|
-
export const fontSizeLarge = 25;
|
|
3079
|
-
export const fontSizeMedium = 18;
|
|
3080
|
-
export const fontSizeNormal = 16;
|
|
3081
|
-
export const fontSizeSmall = 14;
|
|
3082
|
-
export const fontSizeSmaller = 12;
|
|
3083
|
-
export const socialIconSize = 26;
|
|
3084
|
-
export const lineHeight = 23;
|
|
3085
|
-
export const smallScreenLoginHeight = 40;
|
|
3086
|
-
export const bannerAspectRatio: number;
|
|
3087
|
-
export const bannerWidth = 980;
|
|
3088
|
-
export const bannerHeight = 420;
|
|
3089
|
-
export const HighlightBubbleSize = 12;
|
|
3090
|
-
export const StatusBubbleSize = 10;
|
|
3091
|
-
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
3092
|
-
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
3093
|
-
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
3094
|
-
export const dialogSpacing = 24;
|
|
3095
|
-
export const detailViewSectionPadding = 20;
|
|
3096
|
-
export const detailViewSectionPaddingLarge = 60;
|
|
3097
|
-
export const postsSectionPadding = 20;
|
|
3098
|
-
export const attachmentRoundedCornerSize = 10;
|
|
3099
|
-
export const videoAttachmentRoundedCornerSize = 20;
|
|
3100
|
-
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3101
|
-
export const feedbackButtonHeight = 32;
|
|
3102
|
-
export const mainScrollableContainerSelector = "lt-reach-main-content";
|
|
3103
|
-
export const statusColors: {
|
|
3104
|
-
draft: string;
|
|
3105
|
-
ready: string;
|
|
3106
|
-
rejected: string;
|
|
3107
|
-
};
|
|
3108
|
-
export const cardWidthS = 260;
|
|
3109
|
-
export const cardWidthM = 354;
|
|
3110
|
-
export const cardWidthL = 314;
|
|
3111
|
-
export const cardWidthXL = 423;
|
|
3112
|
-
export const managePagesRowWidth = 300;
|
|
3113
|
-
export const managePagesRowHeight = 40;
|
|
3114
|
-
export const mobilePreviewWidth = 414;
|
|
3522
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3523
|
+
import { FC } from 'react';
|
|
3524
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3525
|
+
export const Plugin: FC<PluginProps & {
|
|
3526
|
+
showDetailedErrorMessage?: boolean;
|
|
3527
|
+
} & any>;
|
|
3528
|
+
}
|
|
3529
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3530
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3531
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3532
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3533
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3534
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3535
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3536
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3537
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3538
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3539
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3115
3540
|
}
|
|
3116
3541
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3117
3542
|
import { FC, ReactNode } from 'react';
|
|
@@ -3215,6 +3640,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3215
3640
|
width?: number;
|
|
3216
3641
|
height?: number;
|
|
3217
3642
|
}
|
|
3643
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3644
|
+
imageAlignment?: ImageAlignment;
|
|
3645
|
+
}
|
|
3646
|
+
export enum ImageAlignment {
|
|
3647
|
+
Default = "default",
|
|
3648
|
+
Left = "left",
|
|
3649
|
+
Right = "right",
|
|
3650
|
+
Center = "center"
|
|
3651
|
+
}
|
|
3218
3652
|
}
|
|
3219
3653
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3220
3654
|
export interface MainPanelContextType {
|
|
@@ -3265,6 +3699,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3265
3699
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3266
3700
|
}
|
|
3267
3701
|
}
|
|
3702
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3703
|
+
export interface ModalRouting {
|
|
3704
|
+
isActive: boolean;
|
|
3705
|
+
itemId: string;
|
|
3706
|
+
backgroundLocation: any;
|
|
3707
|
+
}
|
|
3708
|
+
export function useModalRouting(): {
|
|
3709
|
+
isModalRoutingActive: boolean;
|
|
3710
|
+
modalItemId: string;
|
|
3711
|
+
backgroundLocation: any;
|
|
3712
|
+
};
|
|
3713
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3714
|
+
modalRouting: {
|
|
3715
|
+
isActive: boolean;
|
|
3716
|
+
itemId: string;
|
|
3717
|
+
backgroundLocation: {
|
|
3718
|
+
state: {
|
|
3719
|
+
modalRouting: {
|
|
3720
|
+
isActive: boolean;
|
|
3721
|
+
};
|
|
3722
|
+
};
|
|
3723
|
+
pathname: string;
|
|
3724
|
+
search: string;
|
|
3725
|
+
hash: string;
|
|
3726
|
+
key?: string;
|
|
3727
|
+
};
|
|
3728
|
+
};
|
|
3729
|
+
};
|
|
3730
|
+
}
|
|
3268
3731
|
declare module "libs/reach/util/common/src/index" {
|
|
3269
3732
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3270
3733
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3274,6 +3737,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3274
3737
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3275
3738
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3276
3739
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3740
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3277
3741
|
export * from "libs/reach/util/common/src/user/index";
|
|
3278
3742
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3279
3743
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3292,6 +3756,9 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3292
3756
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3293
3757
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3294
3758
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3759
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3760
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3761
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3295
3762
|
}
|
|
3296
3763
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3297
3764
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3348,7 +3815,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3348
3815
|
text?: string | JSX.Element;
|
|
3349
3816
|
resourceKey?: string;
|
|
3350
3817
|
values?: {
|
|
3351
|
-
[key: string]: string | number | boolean | Date;
|
|
3818
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3352
3819
|
};
|
|
3353
3820
|
width?: number;
|
|
3354
3821
|
onClick?: () => unknown;
|
|
@@ -3428,7 +3895,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3428
3895
|
export const PeoplePicker: FC<Props>;
|
|
3429
3896
|
}
|
|
3430
3897
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3431
|
-
import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme } from "libs/reach/util/common/src/index";
|
|
3898
|
+
import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme, EmbeddedPluginProps } from "libs/reach/util/common/src/index";
|
|
3432
3899
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3433
3900
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3434
3901
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3445,7 +3912,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3445
3912
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3446
3913
|
*/
|
|
3447
3914
|
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
|
|
3448
|
-
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
|
|
3915
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3449
3916
|
}
|
|
3450
3917
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3451
3918
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3461,6 +3928,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3461
3928
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3462
3929
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3463
3930
|
}
|
|
3931
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3932
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3933
|
+
}
|
|
3464
3934
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3465
3935
|
import { FC } from 'react';
|
|
3466
3936
|
export const NotificationBar: FC;
|
|
@@ -3477,6 +3947,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3477
3947
|
export const AudioFile: FC<{
|
|
3478
3948
|
fileName: string;
|
|
3479
3949
|
url: string;
|
|
3950
|
+
onPlay?: (url: string) => void;
|
|
3480
3951
|
}>;
|
|
3481
3952
|
export function isAudioFile(fileName: string): boolean;
|
|
3482
3953
|
}
|
|
@@ -3500,37 +3971,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3500
3971
|
color?: string;
|
|
3501
3972
|
}, never>;
|
|
3502
3973
|
}
|
|
3503
|
-
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
3504
|
-
export const smallScreenSpacing = 10;
|
|
3505
|
-
export const smallMaxContentWidth: number;
|
|
3506
|
-
export const mediumMaxContentWidth: number;
|
|
3507
|
-
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3508
|
-
}
|
|
3509
|
-
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3510
|
-
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3511
|
-
import { IntlShape } from 'react-intl';
|
|
3512
|
-
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3513
|
-
export function isValidUrl(url: string): boolean;
|
|
3514
|
-
export function getGoogleMapsSearchLink(name: string): string;
|
|
3515
|
-
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
3516
|
-
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
3517
|
-
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
3518
|
-
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
3519
|
-
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3520
|
-
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3521
|
-
export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
|
|
3522
|
-
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3523
|
-
logoInfo: LogoInfo;
|
|
3524
|
-
subscriptionName: string;
|
|
3525
|
-
};
|
|
3526
|
-
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3527
|
-
export function delay(delayInMs: number): Promise<unknown>;
|
|
3528
|
-
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3529
|
-
defaultWidth?: number;
|
|
3530
|
-
showPlaceholder?: boolean;
|
|
3531
|
-
}, never>;
|
|
3532
|
-
export function encodeChannelName(channelName: string): string;
|
|
3533
|
-
}
|
|
3534
3974
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3535
3975
|
import { FC } from 'react';
|
|
3536
3976
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3694,6 +4134,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3694
4134
|
export const VideoFile: FC<{
|
|
3695
4135
|
fileName: string;
|
|
3696
4136
|
url: string;
|
|
4137
|
+
onPlay?: (url: string) => void;
|
|
3697
4138
|
}>;
|
|
3698
4139
|
export function isVideoFile(fileName: string): boolean;
|
|
3699
4140
|
}
|
|
@@ -3716,24 +4157,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3716
4157
|
}[]>;
|
|
3717
4158
|
export function getFileIcon(filename: string): string;
|
|
3718
4159
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4160
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3719
4161
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3720
4162
|
}
|
|
3721
4163
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4164
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3722
4165
|
export function useFileAccessTokenApi(): {
|
|
3723
4166
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3724
4167
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3725
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4168
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3726
4169
|
};
|
|
3727
4170
|
}
|
|
3728
4171
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3729
4172
|
import { FC } from 'react';
|
|
3730
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4173
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3731
4174
|
export const FileAttachmentList: FC<{
|
|
3732
4175
|
files: Attachment[];
|
|
3733
4176
|
onDeleteClick?: (file: Attachment) => void;
|
|
3734
4177
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4178
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4179
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3735
4180
|
fileAccessToken?: string;
|
|
3736
4181
|
disabled?: boolean;
|
|
4182
|
+
parentId?: string;
|
|
4183
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3737
4184
|
className?: string;
|
|
3738
4185
|
}>;
|
|
3739
4186
|
}
|
|
@@ -4026,13 +4473,35 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4026
4473
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4027
4474
|
}
|
|
4028
4475
|
declare module "libs/reach/ui/common/src/common/UnreadCommentHighlight" {
|
|
4029
|
-
export const unreadCommentHighlight: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4476
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4030
4477
|
}
|
|
4031
4478
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4032
4479
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
4033
4480
|
import { IntlShape } from 'react-intl';
|
|
4034
4481
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4035
4482
|
}
|
|
4483
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4484
|
+
export const smallScreenSpacing = 10;
|
|
4485
|
+
export const smallMaxContentWidth: number;
|
|
4486
|
+
export const mediumMaxContentWidth: number;
|
|
4487
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4488
|
+
}
|
|
4489
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4490
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4491
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4492
|
+
export function isValidUrl(url: string): boolean;
|
|
4493
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4494
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4495
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4496
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4497
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4498
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4499
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4500
|
+
defaultWidth?: number;
|
|
4501
|
+
showPlaceholder?: boolean;
|
|
4502
|
+
}, never>;
|
|
4503
|
+
export function encodeChannelName(channelName: string): string;
|
|
4504
|
+
}
|
|
4036
4505
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4037
4506
|
import { FC, ReactNode } from 'react';
|
|
4038
4507
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4056,12 +4525,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4056
4525
|
}
|
|
4057
4526
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4058
4527
|
import { FC } from 'react';
|
|
4528
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4059
4529
|
export const AutoTranslateButton: FC<{
|
|
4060
4530
|
contentLanguageCode: string;
|
|
4061
4531
|
originalContent: string;
|
|
4062
4532
|
content: string;
|
|
4063
4533
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4064
4534
|
onContentChange: (content: string) => void;
|
|
4535
|
+
itemType: ItemResourceTypes;
|
|
4536
|
+
itemId: string;
|
|
4065
4537
|
tooltipResourceKey?: string;
|
|
4066
4538
|
showLabel?: boolean;
|
|
4067
4539
|
}>;
|
|
@@ -4345,6 +4817,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4345
4817
|
className?: string;
|
|
4346
4818
|
}>;
|
|
4347
4819
|
}
|
|
4820
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4821
|
+
export const useIsMounted: () => () => boolean;
|
|
4822
|
+
}
|
|
4348
4823
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4349
4824
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4350
4825
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4825,6 +5300,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4825
5300
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4826
5301
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4827
5302
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5303
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4828
5304
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4829
5305
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4830
5306
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4857,6 +5333,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4857
5333
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
4858
5334
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
4859
5335
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5336
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
4860
5337
|
}
|
|
4861
5338
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
4862
5339
|
import { ReactNode } from 'react';
|
|
@@ -4908,7 +5385,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4908
5385
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4909
5386
|
}
|
|
4910
5387
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4911
|
-
import { FC } from 'react';
|
|
5388
|
+
import { FC, DependencyList } from 'react';
|
|
4912
5389
|
export interface Props {
|
|
4913
5390
|
navigateTo: string;
|
|
4914
5391
|
onClose?: () => void;
|
|
@@ -4917,7 +5394,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4917
5394
|
className?: string;
|
|
4918
5395
|
}
|
|
4919
5396
|
export const CloseButton: FC<Props>;
|
|
4920
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5397
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4921
5398
|
}
|
|
4922
5399
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4923
5400
|
export const LogoHostStyle: (size?: {
|
|
@@ -4981,8 +5458,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4981
5458
|
export const SkipLinksContextProvider: FC;
|
|
4982
5459
|
}
|
|
4983
5460
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5461
|
+
import { DependencyList } from 'react';
|
|
4984
5462
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4985
|
-
export function useAddSkipLinks(
|
|
5463
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4986
5464
|
}
|
|
4987
5465
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4988
5466
|
import { FC } from 'react';
|
|
@@ -5008,9 +5486,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5008
5486
|
}
|
|
5009
5487
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5010
5488
|
import { FC, ReactNode } from 'react';
|
|
5489
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5011
5490
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5012
5491
|
import './BasicPage.scss';
|
|
5013
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5014
5492
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5015
5493
|
type HeaderToolbarObjectTypeHack = {
|
|
5016
5494
|
toolbarElement: JSX.Element;
|
|
@@ -5033,6 +5511,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5033
5511
|
closeButtonOptions?: CloseButtonOptions;
|
|
5034
5512
|
showSearchBox?: boolean;
|
|
5035
5513
|
disableScrollableContainerFocus?: boolean;
|
|
5514
|
+
asModal?: boolean;
|
|
5515
|
+
domIdentifier?: string;
|
|
5036
5516
|
}
|
|
5037
5517
|
export const BasicPage: FC<Props>;
|
|
5038
5518
|
}
|
|
@@ -5126,7 +5606,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5126
5606
|
addLanguage: (code: string) => Promise<Language>;
|
|
5127
5607
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5128
5608
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5129
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5609
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5610
|
+
name: string | null;
|
|
5611
|
+
hideName: boolean | null;
|
|
5612
|
+
}>;
|
|
5130
5613
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5131
5614
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5132
5615
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5432,11 +5915,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5432
5915
|
export { PushClient };
|
|
5433
5916
|
}
|
|
5434
5917
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5435
|
-
import { ConfigureOptions, MigrateResult,
|
|
5436
|
-
export class MobileHybridStorage implements
|
|
5918
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5919
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5437
5920
|
private pluginStorage;
|
|
5438
5921
|
private static memoryStorage;
|
|
5439
|
-
constructor(pluginStorage:
|
|
5922
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5440
5923
|
get(options: {
|
|
5441
5924
|
key: string;
|
|
5442
5925
|
}): Promise<any>;
|
|
@@ -5448,7 +5931,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5448
5931
|
key: string;
|
|
5449
5932
|
}): Promise<void>;
|
|
5450
5933
|
clear(): Promise<void>;
|
|
5451
|
-
keys(): Promise<import("@capacitor/
|
|
5934
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5452
5935
|
private static updateInMemoryStorage;
|
|
5453
5936
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5454
5937
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5484,7 +5967,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5484
5967
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5485
5968
|
}
|
|
5486
5969
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5487
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5970
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5488
5971
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5489
5972
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5490
5973
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5493,6 +5976,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5493
5976
|
getId(): Promise<DeviceId>;
|
|
5494
5977
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5495
5978
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
5979
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5496
5980
|
}
|
|
5497
5981
|
}
|
|
5498
5982
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5509,8 +5993,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5509
5993
|
}
|
|
5510
5994
|
}
|
|
5511
5995
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5512
|
-
import { ConfigureOptions, MigrateResult,
|
|
5513
|
-
export class WebStorage implements
|
|
5996
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5997
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5514
5998
|
storage: Storage;
|
|
5515
5999
|
get(options: {
|
|
5516
6000
|
key: string;
|
|
@@ -5544,14 +6028,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5544
6028
|
import { SharePlugin } from '@capacitor/share';
|
|
5545
6029
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5546
6030
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5547
|
-
import {
|
|
6031
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5548
6032
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5549
6033
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5550
6034
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5551
6035
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5552
6036
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5553
6037
|
export interface CondensePluginRegistry {
|
|
5554
|
-
Storage:
|
|
6038
|
+
Storage: PreferencesPlugin;
|
|
5555
6039
|
Device: DevicePlugin;
|
|
5556
6040
|
App: AppPlugin;
|
|
5557
6041
|
Keyboard: KeyboardPlugin;
|
|
@@ -6213,7 +6697,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6213
6697
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6214
6698
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6215
6699
|
export function useSelfRegistrationApi(): {
|
|
6216
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6700
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6217
6701
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6218
6702
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6219
6703
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6269,6 +6753,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6269
6753
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6270
6754
|
}>;
|
|
6271
6755
|
}
|
|
6756
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6757
|
+
import { FC } from 'react';
|
|
6758
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6759
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6760
|
+
onApiKeyAdded?: () => void;
|
|
6761
|
+
onDismiss: () => void;
|
|
6762
|
+
user?: UserItem;
|
|
6763
|
+
}>;
|
|
6764
|
+
}
|
|
6272
6765
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6273
6766
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6274
6767
|
import './UserList.scss';
|
|
@@ -6292,7 +6785,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6292
6785
|
isLoading?: boolean;
|
|
6293
6786
|
isEmpty?: boolean;
|
|
6294
6787
|
emptyPlaceholder?: ReactNode;
|
|
6788
|
+
onKeyChanged?: () => void;
|
|
6295
6789
|
}
|
|
6790
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6791
|
+
accountType: string;
|
|
6792
|
+
lastLogin: string | JSX.Element;
|
|
6793
|
+
};
|
|
6296
6794
|
export const UserList: FC<Props>;
|
|
6297
6795
|
}
|
|
6298
6796
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6325,12 +6823,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6325
6823
|
className?: string;
|
|
6326
6824
|
}>;
|
|
6327
6825
|
}
|
|
6328
|
-
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
|
|
6329
|
-
import { FC } from 'react';
|
|
6330
|
-
export const GenerateApiKeyButton: FC<{
|
|
6331
|
-
onApiKeyAdded: () => void;
|
|
6332
|
-
}>;
|
|
6333
|
-
}
|
|
6334
6826
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6335
6827
|
import { FC } from 'react';
|
|
6336
6828
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6350,18 +6842,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6350
6842
|
}
|
|
6351
6843
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6352
6844
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6845
|
+
export enum ValidationStatus {
|
|
6846
|
+
Valid = 0,
|
|
6847
|
+
WithErrors = 1,
|
|
6848
|
+
WithUserErrors = 2
|
|
6849
|
+
}
|
|
6850
|
+
export type CsvValidation = {
|
|
6851
|
+
Status?: ValidationStatus;
|
|
6852
|
+
Message?: string;
|
|
6853
|
+
InvalidItems?: string[];
|
|
6854
|
+
};
|
|
6353
6855
|
export function useUserCsvInviter(): {
|
|
6354
6856
|
invitedUsers: UserImport[];
|
|
6355
6857
|
isValidating: boolean;
|
|
6356
6858
|
isCsvValid: boolean;
|
|
6357
6859
|
parseCsvFile: (csvFile: File) => void;
|
|
6358
|
-
|
|
6359
|
-
|
|
6860
|
+
csvValidation: CsvValidation;
|
|
6861
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6360
6862
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6361
6863
|
isParserReady: boolean;
|
|
6362
|
-
|
|
6864
|
+
isInviting: boolean;
|
|
6865
|
+
canInvite: boolean;
|
|
6866
|
+
csvFile: File;
|
|
6363
6867
|
};
|
|
6364
6868
|
}
|
|
6869
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6870
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6871
|
+
}
|
|
6872
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6873
|
+
import { FC } from 'react';
|
|
6874
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6875
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6876
|
+
export const CsvFileValidationResult: FC<{
|
|
6877
|
+
csvValidation: CsvValidation;
|
|
6878
|
+
invitedUsers: UserImport[];
|
|
6879
|
+
}>;
|
|
6880
|
+
}
|
|
6365
6881
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6366
6882
|
import { FC } from 'react';
|
|
6367
6883
|
export const ImportUserButton: FC<{
|
|
@@ -6394,34 +6910,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6394
6910
|
children?: (content: string, index: number) => JSX.Element;
|
|
6395
6911
|
}>;
|
|
6396
6912
|
}
|
|
6397
|
-
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
6398
|
-
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6399
|
-
}
|
|
6400
6913
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6401
6914
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6402
|
-
export class
|
|
6915
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6403
6916
|
static type: string;
|
|
6404
6917
|
type: string;
|
|
6405
6918
|
itemId: string;
|
|
6406
6919
|
response: EventResponse;
|
|
6407
6920
|
locationId: string;
|
|
6408
6921
|
onBehalfOfUpn: string;
|
|
6409
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6922
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6410
6923
|
}
|
|
6411
|
-
export class
|
|
6924
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6412
6925
|
static type: string;
|
|
6413
6926
|
type: string;
|
|
6414
|
-
|
|
6927
|
+
itemId: string;
|
|
6415
6928
|
response: EventResponse;
|
|
6416
|
-
static create(
|
|
6929
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6417
6930
|
}
|
|
6418
|
-
export class
|
|
6931
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6419
6932
|
static type: string;
|
|
6420
6933
|
type: string;
|
|
6421
6934
|
recurrenceSeriesId: string;
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6935
|
+
response: EventResponse;
|
|
6936
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6425
6937
|
}
|
|
6426
6938
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6427
6939
|
static type: string;
|
|
@@ -6436,6 +6948,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6436
6948
|
followByDefault: boolean;
|
|
6437
6949
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6438
6950
|
}
|
|
6951
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6952
|
+
static type: string;
|
|
6953
|
+
type: string;
|
|
6954
|
+
recurrenceSeriesId: string;
|
|
6955
|
+
isLiked: boolean;
|
|
6956
|
+
likeCount: number;
|
|
6957
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6958
|
+
}
|
|
6959
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
6960
|
+
static type: string;
|
|
6961
|
+
type: string;
|
|
6962
|
+
recurrenceSeriesId: string;
|
|
6963
|
+
isFollowed: boolean;
|
|
6964
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
6965
|
+
}
|
|
6439
6966
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6440
6967
|
static type: string;
|
|
6441
6968
|
type: string;
|
|
@@ -6456,6 +6983,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6456
6983
|
type: string;
|
|
6457
6984
|
static create(): StreamMarkAllAsReadAction;
|
|
6458
6985
|
}
|
|
6986
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6987
|
+
static type: string;
|
|
6988
|
+
type: string;
|
|
6989
|
+
itemId: string;
|
|
6990
|
+
static create(itemId: string): RefetchItemAction;
|
|
6991
|
+
}
|
|
6992
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
6993
|
+
static type: string;
|
|
6994
|
+
type: string;
|
|
6995
|
+
itemId: string;
|
|
6996
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
6997
|
+
}
|
|
6459
6998
|
}
|
|
6460
6999
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6461
7000
|
export interface CommentFilter {
|
|
@@ -6472,124 +7011,49 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6472
7011
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6473
7012
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6474
7013
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7014
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6475
7015
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6476
7016
|
export function useCommentApi(): {
|
|
6477
|
-
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) =>
|
|
6478
|
-
createEditorComment: (itemId: string, comment: Partial<Comment>) =>
|
|
6479
|
-
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) =>
|
|
6480
|
-
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) =>
|
|
6481
|
-
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) =>
|
|
6482
|
-
getEditorConversations: (itemId: string) =>
|
|
7017
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7018
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7019
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7020
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7021
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7022
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6483
7023
|
translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
|
|
6484
|
-
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) =>
|
|
6485
|
-
deleteEditorComment: (itemId: string, commentId: string) =>
|
|
7024
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7025
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6486
7026
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6487
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7027
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6488
7028
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6489
7029
|
};
|
|
6490
7030
|
}
|
|
6491
|
-
declare module "libs/reach/feature/content/src/
|
|
7031
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7032
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
7033
|
+
}
|
|
7034
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
6492
7035
|
import { FC } from 'react';
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
7036
|
+
export const ConfirmationBox: FC<{
|
|
7037
|
+
disabled?: boolean;
|
|
7038
|
+
onChange?: (value: boolean) => void;
|
|
7039
|
+
checked: boolean;
|
|
7040
|
+
}>;
|
|
7041
|
+
}
|
|
7042
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
7043
|
+
import { FC, ReactNode } from 'react';
|
|
7044
|
+
export const GutterMarkerIcon: FC<{
|
|
7045
|
+
iconName: string;
|
|
7046
|
+
children: ReactNode;
|
|
7047
|
+
isActive: boolean;
|
|
7048
|
+
color: string;
|
|
7049
|
+
tooltipResourceKey?: string;
|
|
6498
7050
|
className?: string;
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
import { ReactNode } from 'react';
|
|
6506
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6507
|
-
export interface UserSuggestion {
|
|
6508
|
-
id: string;
|
|
6509
|
-
upn: string;
|
|
6510
|
-
displayName: string;
|
|
6511
|
-
display: string;
|
|
6512
|
-
}
|
|
6513
|
-
export interface SuggestionArgs {
|
|
6514
|
-
searchText: string;
|
|
6515
|
-
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
6516
|
-
}
|
|
6517
|
-
export interface CommentInputProps {
|
|
6518
|
-
className?: string;
|
|
6519
|
-
content: string;
|
|
6520
|
-
disabled?: boolean;
|
|
6521
|
-
autoFocus?: boolean;
|
|
6522
|
-
onEnter?: () => void;
|
|
6523
|
-
onCtrlEnter?: () => unknown;
|
|
6524
|
-
onChange?: (value: string) => void;
|
|
6525
|
-
onFocus?: () => void;
|
|
6526
|
-
additionalInputControl?: ReactNode;
|
|
6527
|
-
buttons?: {
|
|
6528
|
-
leftSide?: ReactNode;
|
|
6529
|
-
rightSide?: ReactNode;
|
|
6530
|
-
};
|
|
6531
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6532
|
-
placeHolderStringResourceKey?: string;
|
|
6533
|
-
placeHolderStringResourceValues?: {
|
|
6534
|
-
[key: string]: string | number | boolean | Date;
|
|
6535
|
-
};
|
|
6536
|
-
disableBoxShadow?: boolean;
|
|
6537
|
-
ariaLabel?: string;
|
|
6538
|
-
}
|
|
6539
|
-
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6540
|
-
}
|
|
6541
|
-
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
6542
|
-
import { FC } from 'react';
|
|
6543
|
-
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6544
|
-
isActive: boolean;
|
|
6545
|
-
}, never>;
|
|
6546
|
-
export const DropInfo: FC;
|
|
6547
|
-
}
|
|
6548
|
-
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6549
|
-
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
6550
|
-
export interface KalturaProperties {
|
|
6551
|
-
sp?: string;
|
|
6552
|
-
uiconfId?: string;
|
|
6553
|
-
partnerId?: string;
|
|
6554
|
-
entryId?: string;
|
|
6555
|
-
}
|
|
6556
|
-
export class VideoUrlParser {
|
|
6557
|
-
private url;
|
|
6558
|
-
private static ytRegex;
|
|
6559
|
-
private static vimeoRegex;
|
|
6560
|
-
private static microsoftStreamRegex;
|
|
6561
|
-
private static vimeoDirectLinkRegex;
|
|
6562
|
-
private static vimeoRedirectLinkRegex;
|
|
6563
|
-
private static kalturaRegex;
|
|
6564
|
-
readonly source: VideoSource | null;
|
|
6565
|
-
readonly id: string | null;
|
|
6566
|
-
readonly isDirectVideoUrl: boolean;
|
|
6567
|
-
readonly videoProperties: any;
|
|
6568
|
-
readonly thumbnailUrl: string;
|
|
6569
|
-
constructor(url: string);
|
|
6570
|
-
isValid(features: FeatureSet): boolean;
|
|
6571
|
-
}
|
|
6572
|
-
export function getVideoSources(features: FeatureSet): any[];
|
|
6573
|
-
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6574
|
-
export function getAllVideoSources(features: FeatureSet): any[];
|
|
6575
|
-
}
|
|
6576
|
-
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6577
|
-
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
6578
|
-
export function getAllVideosFromString(content: string): Generator<{
|
|
6579
|
-
url: string;
|
|
6580
|
-
type: AttachmentType;
|
|
6581
|
-
}, void, unknown>;
|
|
6582
|
-
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
6583
|
-
url: string;
|
|
6584
|
-
subscriptionIdentifier: string;
|
|
6585
|
-
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
6586
|
-
id: string;
|
|
6587
|
-
}, void, unknown>;
|
|
6588
|
-
}
|
|
6589
|
-
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
6590
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6591
|
-
export interface OwnerFilterDefinition extends IndexableFilterDefinition {
|
|
6592
|
-
owner?: string;
|
|
7051
|
+
}>;
|
|
7052
|
+
}
|
|
7053
|
+
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
7054
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7055
|
+
export interface OwnerFilterDefinition extends IndexableFilterDefinition {
|
|
7056
|
+
owner?: string;
|
|
6593
7057
|
}
|
|
6594
7058
|
}
|
|
6595
7059
|
declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
@@ -6615,7 +7079,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6615
7079
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6616
7080
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6617
7081
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6618
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
7082
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6619
7083
|
}
|
|
6620
7084
|
export interface BaseFilterDefinition {
|
|
6621
7085
|
search?: string;
|
|
@@ -6623,6 +7087,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6623
7087
|
pageSize?: string | number;
|
|
6624
7088
|
groupId?: string;
|
|
6625
7089
|
}
|
|
7090
|
+
export interface ItemIdsFilterDefinition {
|
|
7091
|
+
itemIds?: string;
|
|
7092
|
+
}
|
|
6626
7093
|
export interface IndexableFilterDefinition {
|
|
6627
7094
|
[key: string]: any;
|
|
6628
7095
|
}
|
|
@@ -6635,6 +7102,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6635
7102
|
And = "AND"
|
|
6636
7103
|
}
|
|
6637
7104
|
}
|
|
7105
|
+
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
7106
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7107
|
+
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
7108
|
+
author?: string;
|
|
7109
|
+
}
|
|
7110
|
+
}
|
|
7111
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
7112
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7113
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
7114
|
+
channels?: FilterWithLogicalOperator;
|
|
7115
|
+
}
|
|
7116
|
+
}
|
|
7117
|
+
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
7118
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7119
|
+
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
7120
|
+
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
7121
|
+
state?: WorkflowStatus;
|
|
7122
|
+
}
|
|
7123
|
+
}
|
|
7124
|
+
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
7125
|
+
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
7126
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7127
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
7128
|
+
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
7129
|
+
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
7130
|
+
groupId?: string;
|
|
7131
|
+
bookmarksOnly?: boolean;
|
|
7132
|
+
unreadOnly?: boolean;
|
|
7133
|
+
includeExpired?: boolean;
|
|
7134
|
+
}
|
|
7135
|
+
}
|
|
7136
|
+
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
7137
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7138
|
+
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
7139
|
+
afterDate?: string;
|
|
7140
|
+
}
|
|
7141
|
+
}
|
|
7142
|
+
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
7143
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7144
|
+
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
7145
|
+
contacts?: string[];
|
|
7146
|
+
}
|
|
7147
|
+
}
|
|
6638
7148
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6639
7149
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
6640
7150
|
export class SortFieldsDefinitionBuilder<T extends string> {
|
|
@@ -6650,18 +7160,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
|
|
|
6650
7160
|
startsBefore?: string;
|
|
6651
7161
|
}
|
|
6652
7162
|
}
|
|
6653
|
-
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
6654
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6655
|
-
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
6656
|
-
contacts?: string[];
|
|
6657
|
-
}
|
|
6658
|
-
}
|
|
6659
|
-
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6660
|
-
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6661
|
-
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6662
|
-
channels?: FilterWithLogicalOperator;
|
|
6663
|
-
}
|
|
6664
|
-
}
|
|
6665
7163
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6666
7164
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6667
7165
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
@@ -6678,18 +7176,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6678
7176
|
}
|
|
6679
7177
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6680
7178
|
}
|
|
6681
|
-
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
6682
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6683
|
-
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
6684
|
-
afterDate?: string;
|
|
6685
|
-
}
|
|
6686
|
-
}
|
|
6687
|
-
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6688
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6689
|
-
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6690
|
-
author?: string;
|
|
6691
|
-
}
|
|
6692
|
-
}
|
|
6693
7179
|
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6694
7180
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6695
7181
|
export interface FilteringProps {
|
|
@@ -6699,25 +7185,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
6699
7185
|
isFilterActive?: boolean;
|
|
6700
7186
|
}
|
|
6701
7187
|
}
|
|
6702
|
-
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
6703
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6704
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
6705
|
-
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
6706
|
-
state?: WorkflowStatus;
|
|
6707
|
-
}
|
|
6708
|
-
}
|
|
6709
|
-
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
6710
|
-
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6711
|
-
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6712
|
-
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6713
|
-
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6714
|
-
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6715
|
-
groupId?: string;
|
|
6716
|
-
bookmarksOnly?: boolean;
|
|
6717
|
-
unreadOnly?: boolean;
|
|
6718
|
-
includeExpired?: boolean;
|
|
6719
|
-
}
|
|
6720
|
-
}
|
|
6721
7188
|
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6722
7189
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6723
7190
|
export enum ItemTypeFilterFlag {
|
|
@@ -6799,16 +7266,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
|
|
|
6799
7266
|
};
|
|
6800
7267
|
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6801
7268
|
}
|
|
6802
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6803
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6804
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6805
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6806
|
-
export function useEventsApi(): {
|
|
6807
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6808
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6809
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6810
|
-
};
|
|
6811
|
-
}
|
|
6812
7269
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6813
7270
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6814
7271
|
import { Observable } from 'rxjs';
|
|
@@ -6868,47 +7325,255 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
|
|
|
6868
7325
|
import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
|
|
6869
7326
|
export function useNewsApi(): NewsApiService;
|
|
6870
7327
|
}
|
|
6871
|
-
declare module "libs/reach/feature/content/src/
|
|
6872
|
-
import {
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
7328
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7329
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7330
|
+
export default interface FeedbackSummary {
|
|
7331
|
+
records: FeedbackItem[];
|
|
7332
|
+
}
|
|
7333
|
+
export enum FeedbackItemType {
|
|
7334
|
+
comment = "comment",
|
|
7335
|
+
like = "like",
|
|
7336
|
+
confirm = "confirm",
|
|
7337
|
+
poll = "poll",
|
|
7338
|
+
eventRegistration = "eventRegistration"
|
|
7339
|
+
}
|
|
7340
|
+
export interface FeedbackItem {
|
|
7341
|
+
type: FeedbackItemType;
|
|
7342
|
+
timestamp: string;
|
|
7343
|
+
}
|
|
7344
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7345
|
+
type: FeedbackItemType.poll;
|
|
7346
|
+
answers: PollQuestionAnswer[];
|
|
6880
7347
|
}
|
|
6881
7348
|
}
|
|
6882
|
-
declare module "libs/reach/feature/content/src/
|
|
6883
|
-
import {
|
|
6884
|
-
import
|
|
6885
|
-
import {
|
|
6886
|
-
export
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
|
|
7349
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7350
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7351
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7352
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7353
|
+
export const feedbackCache: {
|
|
7354
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7355
|
+
};
|
|
7356
|
+
export function useFeedbackApi(): {
|
|
7357
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7358
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7359
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7360
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7361
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7362
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
6896
7363
|
};
|
|
6897
7364
|
}
|
|
6898
|
-
declare module "libs/reach/feature/content/src/
|
|
6899
|
-
import {
|
|
6900
|
-
import {
|
|
6901
|
-
export
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
7365
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
7366
|
+
import { FC } from 'react';
|
|
7367
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
7368
|
+
export const ConfirmationSection: FC<{
|
|
7369
|
+
item?: NewsItem;
|
|
7370
|
+
showDescription: boolean;
|
|
7371
|
+
readOnly?: boolean;
|
|
7372
|
+
className?: string;
|
|
7373
|
+
}>;
|
|
7374
|
+
}
|
|
7375
|
+
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7376
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7377
|
+
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7378
|
+
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7379
|
+
export class NewsService {
|
|
7380
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7381
|
+
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7382
|
+
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7383
|
+
static getContentLanguages(contents: {
|
|
7384
|
+
[lang: string]: ContentDefinition;
|
|
7385
|
+
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7386
|
+
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7387
|
+
static getLanguageForContent(contents: {
|
|
7388
|
+
[lang: string]: ContentDefinition;
|
|
7389
|
+
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7390
|
+
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7391
|
+
}
|
|
7392
|
+
}
|
|
7393
|
+
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7394
|
+
import { FC } from 'react';
|
|
7395
|
+
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7396
|
+
export interface TranslationItem {
|
|
7397
|
+
language: string;
|
|
7398
|
+
id: string;
|
|
7399
|
+
text: string;
|
|
7400
|
+
}
|
|
7401
|
+
export const PollTranslationContext: import("react").Context<{
|
|
7402
|
+
getTranslation: (id: string) => string;
|
|
7403
|
+
getAllTranslations: (id: string) => TranslationItem[];
|
|
7404
|
+
}>;
|
|
7405
|
+
export const PollTranslationContextProvider: FC<{
|
|
7406
|
+
contents?: PublishableItemContents;
|
|
7407
|
+
language: string;
|
|
7408
|
+
additionalTranslations?: TranslationItem[];
|
|
7409
|
+
}>;
|
|
7410
|
+
}
|
|
7411
|
+
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7412
|
+
import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7413
|
+
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7414
|
+
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7415
|
+
export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
|
|
7416
|
+
}
|
|
7417
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
7418
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
7419
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
7420
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7421
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
7422
|
+
}
|
|
7423
|
+
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
7424
|
+
import { FC } from 'react';
|
|
7425
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7426
|
+
interface Props {
|
|
7427
|
+
type: ItemResourceTypes;
|
|
7428
|
+
itemId: string;
|
|
7429
|
+
recurrenceSeriesId?: string;
|
|
7430
|
+
className?: string;
|
|
7431
|
+
scope: ConversationScope;
|
|
7432
|
+
hideProfileUrl?: boolean;
|
|
7433
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
7434
|
+
}
|
|
7435
|
+
export const FollowComments: FC<Props>;
|
|
7436
|
+
export const FollowCommentsNotificationWarning: FC<{
|
|
7437
|
+
hideProfileUrl?: boolean;
|
|
7438
|
+
className?: string;
|
|
7439
|
+
}>;
|
|
7440
|
+
}
|
|
7441
|
+
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
7442
|
+
import { ReactNode } from 'react';
|
|
7443
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7444
|
+
export interface UserSuggestion {
|
|
7445
|
+
id: string;
|
|
7446
|
+
upn: string;
|
|
7447
|
+
displayName: string;
|
|
7448
|
+
display: string;
|
|
7449
|
+
}
|
|
7450
|
+
export interface SuggestionArgs {
|
|
7451
|
+
searchText: string;
|
|
7452
|
+
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
7453
|
+
}
|
|
7454
|
+
export interface CommentInputProps {
|
|
7455
|
+
className?: string;
|
|
7456
|
+
content: string;
|
|
7457
|
+
disabled?: boolean;
|
|
7458
|
+
autoFocus?: boolean;
|
|
7459
|
+
onEnter?: () => void;
|
|
7460
|
+
onCtrlEnter?: () => unknown;
|
|
7461
|
+
onChange?: (value: string) => void;
|
|
7462
|
+
onFocus?: () => void;
|
|
7463
|
+
additionalInputControl?: ReactNode;
|
|
7464
|
+
buttons?: {
|
|
7465
|
+
leftSide?: ReactNode;
|
|
7466
|
+
rightSide?: ReactNode;
|
|
7467
|
+
};
|
|
7468
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7469
|
+
placeHolderStringResourceKey?: string;
|
|
7470
|
+
placeHolderStringResourceValues?: {
|
|
7471
|
+
[key: string]: string | number | boolean | Date;
|
|
7472
|
+
};
|
|
7473
|
+
disableBoxShadow?: boolean;
|
|
7474
|
+
ariaLabel?: string;
|
|
7475
|
+
}
|
|
7476
|
+
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7477
|
+
}
|
|
7478
|
+
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
7479
|
+
import { FC } from 'react';
|
|
7480
|
+
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7481
|
+
isActive: boolean;
|
|
7482
|
+
}, never>;
|
|
7483
|
+
export const DropInfo: FC;
|
|
7484
|
+
}
|
|
7485
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
7486
|
+
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
7487
|
+
export interface KalturaProperties {
|
|
7488
|
+
sp?: string;
|
|
7489
|
+
uiconfId?: string;
|
|
7490
|
+
partnerId?: string;
|
|
7491
|
+
entryId?: string;
|
|
7492
|
+
}
|
|
7493
|
+
export class VideoUrlParser {
|
|
7494
|
+
private url;
|
|
7495
|
+
private static ytRegex;
|
|
7496
|
+
private static vimeoRegex;
|
|
7497
|
+
private static microsoftStreamRegex;
|
|
7498
|
+
private static vimeoDirectLinkRegex;
|
|
7499
|
+
private static vimeoRedirectLinkRegex;
|
|
7500
|
+
private static kalturaRegex;
|
|
7501
|
+
readonly source: VideoSource | null;
|
|
7502
|
+
readonly id: string | null;
|
|
7503
|
+
readonly isDirectVideoUrl: boolean;
|
|
7504
|
+
readonly videoProperties: any;
|
|
7505
|
+
readonly thumbnailUrl: string;
|
|
7506
|
+
constructor(url: string);
|
|
7507
|
+
isValid(features: FeatureSet): boolean;
|
|
7508
|
+
}
|
|
7509
|
+
export function getVideoSources(features: FeatureSet): any[];
|
|
7510
|
+
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
7511
|
+
export function getAllVideoSources(features: FeatureSet): any[];
|
|
7512
|
+
}
|
|
7513
|
+
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
7514
|
+
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
7515
|
+
export function getAllVideosFromString(content: string): Generator<{
|
|
7516
|
+
url: string;
|
|
7517
|
+
type: AttachmentType;
|
|
7518
|
+
}, void, unknown>;
|
|
7519
|
+
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
7520
|
+
url: string;
|
|
7521
|
+
subscriptionIdentifier: string;
|
|
7522
|
+
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
7523
|
+
id: string;
|
|
7524
|
+
}, void, unknown>;
|
|
7525
|
+
}
|
|
7526
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7527
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7528
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7529
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7530
|
+
export function useEventsApi(): {
|
|
7531
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7532
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
7533
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7534
|
+
};
|
|
7535
|
+
}
|
|
7536
|
+
declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
|
|
7537
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7538
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
7539
|
+
export interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
7540
|
+
pageContextId?: string;
|
|
7541
|
+
restrictToPageContext?: boolean;
|
|
7542
|
+
rootPagesOnly?: boolean;
|
|
7543
|
+
parentId?: string;
|
|
7544
|
+
pageType?: PageType;
|
|
7545
|
+
}
|
|
7546
|
+
}
|
|
7547
|
+
declare module "libs/reach/feature/content/src/pages/usePagesApi" {
|
|
7548
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7549
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7550
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
7551
|
+
export function usePagesApi(): {
|
|
7552
|
+
loadPage: (id: string) => Promise<PageItem>;
|
|
7553
|
+
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7554
|
+
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7555
|
+
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7556
|
+
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7557
|
+
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7558
|
+
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7559
|
+
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7560
|
+
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7561
|
+
};
|
|
7562
|
+
}
|
|
7563
|
+
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7564
|
+
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7565
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7566
|
+
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7567
|
+
id: string;
|
|
7568
|
+
comments?: PaginatedList<Comment>;
|
|
7569
|
+
groupId: string;
|
|
7570
|
+
content: string;
|
|
7571
|
+
permalink?: string;
|
|
7572
|
+
author: Account;
|
|
7573
|
+
publishingDate: string;
|
|
7574
|
+
modified?: string;
|
|
7575
|
+
statistics: ItemStatistics;
|
|
7576
|
+
keywords?: {
|
|
6912
7577
|
[key: string]: Keyword[];
|
|
6913
7578
|
};
|
|
6914
7579
|
contentLanguageCode?: string;
|
|
@@ -6943,7 +7608,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
6943
7608
|
deletePost: (postId: string) => Promise<unknown>;
|
|
6944
7609
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
6945
7610
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
6946
|
-
translatePost: (postId: string, language: string) =>
|
|
7611
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
6947
7612
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
6948
7613
|
};
|
|
6949
7614
|
}
|
|
@@ -6953,7 +7618,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
|
|
|
6953
7618
|
}
|
|
6954
7619
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6955
7620
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6956
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7621
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6957
7622
|
export interface ClientAttachment extends Attachment {
|
|
6958
7623
|
file?: File;
|
|
6959
7624
|
}
|
|
@@ -6969,6 +7634,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6969
7634
|
placeHolderStringResourceKey?: string;
|
|
6970
7635
|
disableAddGif?: boolean;
|
|
6971
7636
|
disableAddFiles?: boolean;
|
|
7637
|
+
parentId?: string;
|
|
7638
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6972
7639
|
};
|
|
6973
7640
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
6974
7641
|
attachments: Attachment[];
|
|
@@ -6981,6 +7648,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6981
7648
|
placeHolderStringResourceKey?: string;
|
|
6982
7649
|
disableAddGif?: boolean;
|
|
6983
7650
|
disableAddFiles?: boolean;
|
|
7651
|
+
parentId?: string;
|
|
7652
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6984
7653
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
6985
7654
|
}
|
|
6986
7655
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7089,27 +7758,10 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7089
7758
|
showAllKeywordsInCallout?: boolean;
|
|
7090
7759
|
}>;
|
|
7091
7760
|
}
|
|
7092
|
-
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7093
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7094
|
-
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7095
|
-
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7096
|
-
export class NewsService {
|
|
7097
|
-
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7098
|
-
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7099
|
-
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7100
|
-
static getContentLanguages(contents: {
|
|
7101
|
-
[lang: string]: ContentDefinition;
|
|
7102
|
-
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7103
|
-
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7104
|
-
static getLanguageForContent(contents: {
|
|
7105
|
-
[lang: string]: ContentDefinition;
|
|
7106
|
-
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7107
|
-
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7108
|
-
}
|
|
7109
|
-
}
|
|
7110
7761
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7111
7762
|
import { FC, MouseEvent } from 'react';
|
|
7112
7763
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7764
|
+
import { LocationState } from 'history';
|
|
7113
7765
|
export const ClickableOverlay: FC<{
|
|
7114
7766
|
itemId: string;
|
|
7115
7767
|
itemType: ItemResourceTypes;
|
|
@@ -7120,6 +7772,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7120
7772
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7121
7773
|
openTargetInNewWindow?: boolean;
|
|
7122
7774
|
isExternalContent?: boolean;
|
|
7775
|
+
locationState?: LocationState;
|
|
7776
|
+
}>;
|
|
7777
|
+
}
|
|
7778
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7779
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7780
|
+
import { FC } from 'react';
|
|
7781
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7782
|
+
itemId: string;
|
|
7783
|
+
itemType: ItemResourceTypes;
|
|
7784
|
+
baseRoute: string;
|
|
7785
|
+
title?: string;
|
|
7786
|
+
isExternalContent?: boolean;
|
|
7787
|
+
targetUrl?: string;
|
|
7123
7788
|
}>;
|
|
7124
7789
|
}
|
|
7125
7790
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7130,6 +7795,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7130
7795
|
targetUrl?: string;
|
|
7131
7796
|
readOnly?: boolean;
|
|
7132
7797
|
backgroundColor?: string;
|
|
7798
|
+
enableModalRouting?: boolean;
|
|
7133
7799
|
className?: string;
|
|
7134
7800
|
}>;
|
|
7135
7801
|
}
|
|
@@ -7167,6 +7833,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7167
7833
|
className?: string;
|
|
7168
7834
|
allowFilterByChannels?: boolean;
|
|
7169
7835
|
channelBackgroundColor?: string;
|
|
7836
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7170
7837
|
}>;
|
|
7171
7838
|
}
|
|
7172
7839
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7226,6 +7893,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7226
7893
|
height?: number;
|
|
7227
7894
|
hidePlayerIfActive?: boolean;
|
|
7228
7895
|
className?: string;
|
|
7896
|
+
documentIconName?: string;
|
|
7229
7897
|
}
|
|
7230
7898
|
export const PublishableItemBanner: FC<Props>;
|
|
7231
7899
|
}
|
|
@@ -7311,34 +7979,13 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7311
7979
|
}
|
|
7312
7980
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7313
7981
|
}
|
|
7314
|
-
declare module "libs/reach/feature/content/src/
|
|
7315
|
-
import {
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
like = "like",
|
|
7322
|
-
confirm = "confirm",
|
|
7323
|
-
poll = "poll",
|
|
7324
|
-
eventRegistration = "eventRegistration"
|
|
7325
|
-
}
|
|
7326
|
-
export interface FeedbackItem {
|
|
7327
|
-
type: FeedbackItemType;
|
|
7328
|
-
timestamp: string;
|
|
7329
|
-
}
|
|
7330
|
-
export interface PollFeedbackItem extends FeedbackItem {
|
|
7331
|
-
type: FeedbackItemType.poll;
|
|
7332
|
-
answers: PollQuestionAnswer[];
|
|
7333
|
-
}
|
|
7334
|
-
}
|
|
7335
|
-
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7336
|
-
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7337
|
-
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
7338
|
-
export interface EventFeedbackItem extends FeedbackItem {
|
|
7339
|
-
type: FeedbackItemType.eventRegistration;
|
|
7340
|
-
eventResponse: EventResponse;
|
|
7341
|
-
locationId?: string;
|
|
7982
|
+
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7983
|
+
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7984
|
+
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
7985
|
+
export interface EventFeedbackItem extends FeedbackItem {
|
|
7986
|
+
type: FeedbackItemType.eventRegistration;
|
|
7987
|
+
eventResponse: EventResponse;
|
|
7988
|
+
locationId?: string;
|
|
7342
7989
|
}
|
|
7343
7990
|
export function getDeadlineInfos(item: EventItem): {
|
|
7344
7991
|
hasDeadline: boolean;
|
|
@@ -7350,6 +7997,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7350
7997
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7351
7998
|
export const EventRegistrationButton: FC<{
|
|
7352
7999
|
isRegistered: boolean;
|
|
8000
|
+
eventId: string;
|
|
7353
8001
|
disabled?: boolean;
|
|
7354
8002
|
className?: string;
|
|
7355
8003
|
onClick?: () => void;
|
|
@@ -7360,24 +8008,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7360
8008
|
isRegistered?: boolean;
|
|
7361
8009
|
}, never>;
|
|
7362
8010
|
}
|
|
7363
|
-
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7364
|
-
import { FC } from 'react';
|
|
7365
|
-
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7366
|
-
export interface TranslationItem {
|
|
7367
|
-
language: string;
|
|
7368
|
-
id: string;
|
|
7369
|
-
text: string;
|
|
7370
|
-
}
|
|
7371
|
-
export const PollTranslationContext: import("react").Context<{
|
|
7372
|
-
getTranslation: (id: string) => string;
|
|
7373
|
-
getAllTranslations: (id: string) => TranslationItem[];
|
|
7374
|
-
}>;
|
|
7375
|
-
export const PollTranslationContextProvider: FC<{
|
|
7376
|
-
contents?: PublishableItemContents;
|
|
7377
|
-
language: string;
|
|
7378
|
-
additionalTranslations?: TranslationItem[];
|
|
7379
|
-
}>;
|
|
7380
|
-
}
|
|
7381
8011
|
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7382
8012
|
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7383
8013
|
import { MessageDescriptor } from 'react-intl';
|
|
@@ -7433,25 +8063,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7433
8063
|
onDismiss: () => unknown;
|
|
7434
8064
|
}>;
|
|
7435
8065
|
}
|
|
7436
|
-
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7437
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7438
|
-
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7439
|
-
import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7440
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7441
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
7442
|
-
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7443
|
-
export const feedbackCache: {
|
|
7444
|
-
[newsId: string]: Promise<FeedbackSummary>;
|
|
7445
|
-
};
|
|
7446
|
-
export function useFeedbackApi(): {
|
|
7447
|
-
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7448
|
-
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7449
|
-
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7450
|
-
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7451
|
-
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7452
|
-
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7453
|
-
};
|
|
7454
|
-
}
|
|
7455
8066
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7456
8067
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7457
8068
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7464,10 +8075,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7464
8075
|
}
|
|
7465
8076
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7466
8077
|
import { FC } from 'react';
|
|
8078
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7467
8079
|
export const EventUserRegistration: FC<{
|
|
7468
8080
|
disabled?: boolean;
|
|
7469
8081
|
hideInfoMessage?: boolean;
|
|
7470
8082
|
showNoRegistrationRequired?: boolean;
|
|
8083
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7471
8084
|
className?: string;
|
|
7472
8085
|
}>;
|
|
7473
8086
|
}
|
|
@@ -7525,11 +8138,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
|
|
|
7525
8138
|
className?: string;
|
|
7526
8139
|
}>;
|
|
7527
8140
|
}
|
|
7528
|
-
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7529
|
-
import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7530
|
-
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7531
|
-
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7532
|
-
}
|
|
7533
8141
|
declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
7534
8142
|
import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
7535
8143
|
import { FC } from 'react';
|
|
@@ -7537,8 +8145,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7537
8145
|
export const CardLikeButton: FC<{
|
|
7538
8146
|
item: NewsItem | EventItem;
|
|
7539
8147
|
itemResourceType: ItemResourceTypes;
|
|
7540
|
-
|
|
7541
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8148
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7542
8149
|
className?: string;
|
|
7543
8150
|
}>;
|
|
7544
8151
|
}
|
|
@@ -7560,6 +8167,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7560
8167
|
className?: string;
|
|
7561
8168
|
}>;
|
|
7562
8169
|
}
|
|
8170
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
8171
|
+
import { FC } from 'react';
|
|
8172
|
+
export const LinkWithModalRouting: FC<{
|
|
8173
|
+
url: string;
|
|
8174
|
+
itemId: string;
|
|
8175
|
+
hash?: string;
|
|
8176
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
8177
|
+
ariaHidden?: boolean;
|
|
8178
|
+
ariaLabel?: string;
|
|
8179
|
+
className?: string;
|
|
8180
|
+
}>;
|
|
8181
|
+
}
|
|
7563
8182
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7564
8183
|
import { FC } from 'react';
|
|
7565
8184
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7578,6 +8197,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7578
8197
|
allowFilterByChannels?: boolean;
|
|
7579
8198
|
showFeedbackButtons?: boolean;
|
|
7580
8199
|
readOnly?: boolean;
|
|
8200
|
+
enableModalRouting?: boolean;
|
|
7581
8201
|
className?: string;
|
|
7582
8202
|
}>;
|
|
7583
8203
|
}
|
|
@@ -7628,7 +8248,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7628
8248
|
Contact = "contact",
|
|
7629
8249
|
InlinePageList = "inline-page-list",
|
|
7630
8250
|
UrlPreview = "url-preview",
|
|
7631
|
-
ActionButton = "action-button"
|
|
8251
|
+
ActionButton = "action-button",
|
|
8252
|
+
InlinePlugin = "inline-plugin"
|
|
7632
8253
|
}
|
|
7633
8254
|
export interface HtmlComponentMapper {
|
|
7634
8255
|
component: FC<any>;
|
|
@@ -7655,6 +8276,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7655
8276
|
resourceType: ItemResourceTypes;
|
|
7656
8277
|
item: TItem;
|
|
7657
8278
|
itemId: string;
|
|
8279
|
+
relatedItemIds?: string[];
|
|
7658
8280
|
contentLanguage: string;
|
|
7659
8281
|
userPreferredLanguage: string;
|
|
7660
8282
|
activeLanguages: string[];
|
|
@@ -7770,7 +8392,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7770
8392
|
resourceKey?: string;
|
|
7771
8393
|
resourceValues?: string;
|
|
7772
8394
|
className?: string;
|
|
8395
|
+
enableModalRouting?: boolean;
|
|
8396
|
+
itemId?: string;
|
|
7773
8397
|
isOverrideLink: boolean;
|
|
8398
|
+
icon?: string;
|
|
7774
8399
|
}>;
|
|
7775
8400
|
}
|
|
7776
8401
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -7829,6 +8454,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7829
8454
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7830
8455
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7831
8456
|
openTargetInNewWindow?: boolean;
|
|
8457
|
+
enableModalRouting?: boolean;
|
|
7832
8458
|
className?: string;
|
|
7833
8459
|
}
|
|
7834
8460
|
export const PageItemTile: FC<Props>;
|
|
@@ -7874,6 +8500,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7874
8500
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7875
8501
|
styleDefinition?: StyleDefinition;
|
|
7876
8502
|
readOnly?: boolean;
|
|
8503
|
+
enableModalRouting?: boolean;
|
|
7877
8504
|
className?: string;
|
|
7878
8505
|
}
|
|
7879
8506
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7917,6 +8544,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7917
8544
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7918
8545
|
styleDefinition?: StyleDefinition;
|
|
7919
8546
|
readOnly?: boolean;
|
|
8547
|
+
enableModalRouting?: boolean;
|
|
7920
8548
|
className?: string;
|
|
7921
8549
|
}
|
|
7922
8550
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7942,6 +8570,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7942
8570
|
previewTheme?: CommentInputTheme;
|
|
7943
8571
|
buttons?: ReactNode;
|
|
7944
8572
|
groupIds?: string[];
|
|
8573
|
+
enableModalRouting?: boolean;
|
|
7945
8574
|
className?: string;
|
|
7946
8575
|
}>;
|
|
7947
8576
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7958,6 +8587,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7958
8587
|
attachments: Attachment[];
|
|
7959
8588
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7960
8589
|
previewTheme?: CommentInputTheme;
|
|
8590
|
+
enableModalRouting?: boolean;
|
|
7961
8591
|
className?: string;
|
|
7962
8592
|
}>;
|
|
7963
8593
|
}
|
|
@@ -7974,7 +8604,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
7974
8604
|
}
|
|
7975
8605
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
7976
8606
|
import { FC } from 'react';
|
|
7977
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8607
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7978
8608
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7979
8609
|
interface Props {
|
|
7980
8610
|
className?: string;
|
|
@@ -7984,6 +8614,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
7984
8614
|
previewTheme?: CommentInputTheme;
|
|
7985
8615
|
disableVideoPreview?: boolean;
|
|
7986
8616
|
disableEmbeddedObjectPreview?: boolean;
|
|
8617
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8618
|
+
parentId?: string;
|
|
7987
8619
|
}
|
|
7988
8620
|
export const AttachmentList: FC<Props>;
|
|
7989
8621
|
}
|
|
@@ -8000,6 +8632,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8000
8632
|
placeHolderStringResourceKey?: string;
|
|
8001
8633
|
disableAddGif?: boolean;
|
|
8002
8634
|
disableAddFiles?: boolean;
|
|
8635
|
+
parentId?: string;
|
|
8636
|
+
itemResourceType?: string;
|
|
8003
8637
|
} & {
|
|
8004
8638
|
disableVideoPreview?: boolean;
|
|
8005
8639
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8069,7 +8703,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8069
8703
|
}
|
|
8070
8704
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8071
8705
|
import { FC } from 'react';
|
|
8072
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8706
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8073
8707
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8074
8708
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8075
8709
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8101,6 +8735,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8101
8735
|
};
|
|
8102
8736
|
disableBoxShadow?: boolean;
|
|
8103
8737
|
ariaLabel?: string;
|
|
8738
|
+
parentId?: string;
|
|
8739
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8104
8740
|
}
|
|
8105
8741
|
interface Props extends BaseProps {
|
|
8106
8742
|
allowAttachments?: boolean;
|
|
@@ -8118,6 +8754,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8118
8754
|
import { FC, ReactNode } from 'react';
|
|
8119
8755
|
export const InlineObjectToolbar: FC<{
|
|
8120
8756
|
onDelete?: () => void;
|
|
8757
|
+
deleteAriaLabelResourceKey?: string;
|
|
8121
8758
|
additionalButtons?: ReactNode;
|
|
8122
8759
|
}>;
|
|
8123
8760
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8125,15 +8762,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8125
8762
|
}>;
|
|
8126
8763
|
}
|
|
8127
8764
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8765
|
+
import { FC, ReactNode } from 'react';
|
|
8766
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8129
8767
|
export const ImageToolbar: FC<{
|
|
8130
8768
|
onDelete?: () => void;
|
|
8131
8769
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8132
8770
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8133
8771
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8772
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8134
8773
|
showFullScreenButton?: boolean;
|
|
8135
8774
|
showCloseButton?: boolean;
|
|
8136
8775
|
showCropButton?: boolean;
|
|
8776
|
+
alignmentButtons?: ReactNode;
|
|
8137
8777
|
}>;
|
|
8138
8778
|
}
|
|
8139
8779
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8160,14 +8800,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8160
8800
|
}
|
|
8161
8801
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8162
8802
|
}
|
|
8163
|
-
declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
|
|
8164
|
-
import { FC } from 'react';
|
|
8165
|
-
import { ImageDetails } from "libs/reach/util/common/src/index";
|
|
8166
|
-
export const LegacyPostPhotoGallery: FC<{
|
|
8167
|
-
images: ImageDetails[];
|
|
8168
|
-
imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
|
|
8169
|
-
}>;
|
|
8170
|
-
}
|
|
8171
8803
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8172
8804
|
import { FC } from 'react';
|
|
8173
8805
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8175,12 +8807,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8175
8807
|
item: ItemWithAttachments;
|
|
8176
8808
|
basePath: string;
|
|
8177
8809
|
imagesGridBackgroundColor?: string;
|
|
8810
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8811
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8178
8812
|
className?: string;
|
|
8179
8813
|
}>;
|
|
8180
8814
|
}
|
|
8181
8815
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8182
8816
|
import { FC } from 'react';
|
|
8183
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8817
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8184
8818
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8185
8819
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8186
8820
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8196,6 +8830,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8196
8830
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8197
8831
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8198
8832
|
ariaLabel?: string;
|
|
8833
|
+
parentId?: string;
|
|
8834
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8199
8835
|
}
|
|
8200
8836
|
interface Props extends BaseProps {
|
|
8201
8837
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8260,6 +8896,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8260
8896
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8261
8897
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8262
8898
|
}
|
|
8899
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8900
|
+
import { FC } from 'react';
|
|
8901
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8902
|
+
export const BookmarkButton: FC<{
|
|
8903
|
+
item: PublishableItem;
|
|
8904
|
+
isReadOnly?: boolean;
|
|
8905
|
+
className?: string;
|
|
8906
|
+
}>;
|
|
8907
|
+
}
|
|
8263
8908
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8264
8909
|
import { FC } from 'react';
|
|
8265
8910
|
export const CardStatisticItem: FC<{
|
|
@@ -8277,13 +8922,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8277
8922
|
};
|
|
8278
8923
|
}>;
|
|
8279
8924
|
}
|
|
8280
|
-
declare module "libs/reach/feature/content/src/
|
|
8925
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8926
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8281
8927
|
import { FC } from 'react';
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8928
|
+
export const CardCommentButton: FC<{
|
|
8929
|
+
item: NewsItem | EventItem;
|
|
8930
|
+
itemResourceType: ItemResourceTypes;
|
|
8931
|
+
targetRoute: string;
|
|
8932
|
+
enableModalRouting?: boolean;
|
|
8287
8933
|
}>;
|
|
8288
8934
|
}
|
|
8289
8935
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8291,13 +8937,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8291
8937
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8292
8938
|
export const CardFooter: FC<{
|
|
8293
8939
|
item: NewsItem | EventItem;
|
|
8294
|
-
showComments: boolean;
|
|
8295
8940
|
targetRoute: string;
|
|
8296
8941
|
itemResourceType: ItemResourceTypes;
|
|
8297
|
-
|
|
8298
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8942
|
+
enableModalRouting?: boolean;
|
|
8299
8943
|
}>;
|
|
8300
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
8944
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8301
8945
|
}
|
|
8302
8946
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8303
8947
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8346,6 +8990,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8346
8990
|
target?: string;
|
|
8347
8991
|
language?: string;
|
|
8348
8992
|
hideCurrentPageNode?: boolean;
|
|
8993
|
+
homeTargetUrlOverride?: string;
|
|
8349
8994
|
className?: string;
|
|
8350
8995
|
}>;
|
|
8351
8996
|
}
|
|
@@ -8545,6 +9190,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8545
9190
|
language?: string;
|
|
8546
9191
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8547
9192
|
clickableAvatar?: boolean;
|
|
9193
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8548
9194
|
}>;
|
|
8549
9195
|
}
|
|
8550
9196
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8594,7 +9240,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8594
9240
|
item: NewsItem;
|
|
8595
9241
|
baseRoute: string;
|
|
8596
9242
|
language: string;
|
|
8597
|
-
showComments: boolean;
|
|
8598
9243
|
highlight: boolean;
|
|
8599
9244
|
className?: string;
|
|
8600
9245
|
}
|
|
@@ -8627,6 +9272,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8627
9272
|
isLastPage: boolean;
|
|
8628
9273
|
unreadOnly?: boolean;
|
|
8629
9274
|
filter?: NewsFilterDefinition;
|
|
9275
|
+
activeChannel?: string;
|
|
8630
9276
|
}>;
|
|
8631
9277
|
}
|
|
8632
9278
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -8688,6 +9334,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
8688
9334
|
type?: ItemResourceTypes;
|
|
8689
9335
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8690
9336
|
isEditorPreview?: boolean;
|
|
9337
|
+
relatedItemIds?: string[];
|
|
8691
9338
|
}>;
|
|
8692
9339
|
}
|
|
8693
9340
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -8701,6 +9348,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8701
9348
|
}
|
|
8702
9349
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8703
9350
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9351
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8704
9352
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8705
9353
|
}
|
|
8706
9354
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8919,6 +9567,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
8919
9567
|
}
|
|
8920
9568
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8921
9569
|
}
|
|
9570
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9571
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9572
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9573
|
+
}
|
|
8922
9574
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8923
9575
|
import { FC } from 'react';
|
|
8924
9576
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -8931,6 +9583,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8931
9583
|
import { FC } from 'react';
|
|
8932
9584
|
export const EventDetailViewMetaInfo: FC<{
|
|
8933
9585
|
allowFilterByChannels?: boolean;
|
|
9586
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8934
9587
|
}>;
|
|
8935
9588
|
}
|
|
8936
9589
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9138,6 +9791,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9138
9791
|
readOnly?: boolean;
|
|
9139
9792
|
trimContent?: boolean;
|
|
9140
9793
|
showReplyBox?: boolean;
|
|
9794
|
+
enableModalRouting?: boolean;
|
|
9141
9795
|
className?: string;
|
|
9142
9796
|
}>;
|
|
9143
9797
|
}
|
|
@@ -9160,6 +9814,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9160
9814
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9161
9815
|
readOnly?: boolean;
|
|
9162
9816
|
trimContent?: boolean;
|
|
9817
|
+
enableModalRouting?: boolean;
|
|
9163
9818
|
className?: string;
|
|
9164
9819
|
}
|
|
9165
9820
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9219,6 +9874,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9219
9874
|
showReplyBox?: boolean;
|
|
9220
9875
|
trimContent?: boolean;
|
|
9221
9876
|
title?: ReactNode;
|
|
9877
|
+
enableModalRouting?: boolean;
|
|
9222
9878
|
className?: string;
|
|
9223
9879
|
};
|
|
9224
9880
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9243,14 +9899,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9243
9899
|
}
|
|
9244
9900
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9245
9901
|
import { FC } from 'react';
|
|
9246
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9247
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9902
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9248
9903
|
export const PublishableItemComments: FC<{
|
|
9249
9904
|
item: PublishableItem;
|
|
9250
9905
|
readOnly?: boolean;
|
|
9251
9906
|
loadInReadOnlyMode?: boolean;
|
|
9252
9907
|
type: ItemResourceTypes;
|
|
9253
|
-
hideProfileUrl?: boolean;
|
|
9254
9908
|
disableLoginForPublicUser?: boolean;
|
|
9255
9909
|
}>;
|
|
9256
9910
|
}
|
|
@@ -9260,6 +9914,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9260
9914
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9261
9915
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9262
9916
|
import { Feedback } from "libs/reach/util/common/src/index";
|
|
9917
|
+
import { ReactNode } from 'hoist-non-react-statics/node_modules/@types/react';
|
|
9263
9918
|
export const FeedbackButtonContext: import("react").Context<{
|
|
9264
9919
|
statistics: ItemStatistics;
|
|
9265
9920
|
item: PublishableItem;
|
|
@@ -9272,6 +9927,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9272
9927
|
item: PublishableItem;
|
|
9273
9928
|
hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
|
|
9274
9929
|
language: string;
|
|
9930
|
+
warningMessage?: ReactNode;
|
|
9275
9931
|
className?: string;
|
|
9276
9932
|
}>;
|
|
9277
9933
|
}
|
|
@@ -9310,19 +9966,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9310
9966
|
}>;
|
|
9311
9967
|
}
|
|
9312
9968
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9313
|
-
import { FC } from 'react';
|
|
9314
|
-
import { FeedbackSettings } from "libs/reach/util/common/src/index";
|
|
9315
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9316
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9969
|
+
import { FC, ReactNode } from 'react';
|
|
9970
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9317
9971
|
export const FeedbackSection: FC<{
|
|
9318
9972
|
item: PublishableItem;
|
|
9973
|
+
buttons: ReactNode[];
|
|
9319
9974
|
language: string;
|
|
9320
9975
|
type: ItemResourceTypes;
|
|
9321
9976
|
feedbackSettings: FeedbackSettings;
|
|
9322
9977
|
hideComments?: boolean;
|
|
9323
|
-
hideProfileUrl?: boolean;
|
|
9324
9978
|
disableLoginForPublicUser?: boolean;
|
|
9325
9979
|
isReadOnly?: boolean;
|
|
9980
|
+
warningMessage?: ReactNode;
|
|
9326
9981
|
className?: string;
|
|
9327
9982
|
}>;
|
|
9328
9983
|
}
|
|
@@ -9375,9 +10030,10 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9375
10030
|
}
|
|
9376
10031
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9377
10032
|
import { FC } from 'react';
|
|
9378
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10033
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9379
10034
|
export const ConfirmationStatisticsExport: FC<{
|
|
9380
10035
|
item: PublishableItem;
|
|
10036
|
+
resourceType: ItemResourceTypes;
|
|
9381
10037
|
}>;
|
|
9382
10038
|
}
|
|
9383
10039
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
@@ -9487,6 +10143,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9487
10143
|
layoutMode?: ItemTileLayoutMode;
|
|
9488
10144
|
bannerDefaultWidth?: number;
|
|
9489
10145
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10146
|
+
documentIconName?: string;
|
|
9490
10147
|
}>;
|
|
9491
10148
|
}
|
|
9492
10149
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9524,17 +10181,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9524
10181
|
isMobilePreview?: boolean;
|
|
9525
10182
|
}>;
|
|
9526
10183
|
}
|
|
9527
|
-
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9528
|
-
import { FC, ReactNode } from 'react';
|
|
9529
|
-
export const GutterMarkerIcon: FC<{
|
|
9530
|
-
iconName: string;
|
|
9531
|
-
children: ReactNode;
|
|
9532
|
-
isActive: boolean;
|
|
9533
|
-
color: string;
|
|
9534
|
-
tooltipResourceKey?: string;
|
|
9535
|
-
className?: string;
|
|
9536
|
-
}>;
|
|
9537
|
-
}
|
|
9538
10184
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9539
10185
|
import { FC } from 'react';
|
|
9540
10186
|
export const DetailViewTitle: FC;
|
|
@@ -9557,24 +10203,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9557
10203
|
import { FC } from 'react';
|
|
9558
10204
|
export const DetailViewKeywords: FC<{
|
|
9559
10205
|
filterBaseUrl: string;
|
|
9560
|
-
|
|
9561
|
-
}
|
|
9562
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9563
|
-
import { FC } from 'react';
|
|
9564
|
-
export const ConfirmationBox: FC<{
|
|
9565
|
-
disabled?: boolean;
|
|
9566
|
-
onChange?: (value: boolean) => void;
|
|
9567
|
-
checked: boolean;
|
|
9568
|
-
}>;
|
|
9569
|
-
}
|
|
9570
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9571
|
-
import { FC } from 'react';
|
|
9572
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9573
|
-
export const ConfirmationSection: FC<{
|
|
9574
|
-
item?: NewsItem;
|
|
9575
|
-
showDescription: boolean;
|
|
9576
|
-
readOnly?: boolean;
|
|
9577
|
-
className?: string;
|
|
10206
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9578
10207
|
}>;
|
|
9579
10208
|
}
|
|
9580
10209
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -9604,9 +10233,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9604
10233
|
import { FC, ReactNode } from 'react';
|
|
9605
10234
|
export const DetailViewNavigation: FC<{
|
|
9606
10235
|
offsetRight?: number;
|
|
9607
|
-
children?: ReactNode;
|
|
9608
10236
|
callout?: ReactNode;
|
|
10237
|
+
className?: string;
|
|
10238
|
+
children?: ReactNode;
|
|
9609
10239
|
}>;
|
|
10240
|
+
export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
|
|
10241
|
+
offsetRight?: number;
|
|
10242
|
+
callout?: ReactNode;
|
|
10243
|
+
className?: string;
|
|
10244
|
+
children?: ReactNode;
|
|
10245
|
+
}>, import("styled-components").DefaultTheme, {
|
|
10246
|
+
offsetRightOverride?: number;
|
|
10247
|
+
}, never>;
|
|
9610
10248
|
}
|
|
9611
10249
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9612
10250
|
import { FC } from 'react';
|
|
@@ -9648,508 +10286,76 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9648
10286
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9649
10287
|
};
|
|
9650
10288
|
}
|
|
9651
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
10289
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10290
|
+
interface IClickHandles {
|
|
10291
|
+
onInsideClick: () => void;
|
|
10292
|
+
onOutsideClick: () => void;
|
|
10293
|
+
}
|
|
10294
|
+
export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10295
|
+
}
|
|
10296
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10297
|
+
import { FC } from 'react';
|
|
10298
|
+
export const GroupNotificationsSettings: FC<{
|
|
10299
|
+
groupId: string;
|
|
9662
10300
|
className?: string;
|
|
9663
10301
|
}>;
|
|
9664
10302
|
}
|
|
9665
|
-
declare module "libs/reach/feature/content/src/
|
|
9666
|
-
import { FC
|
|
9667
|
-
import {
|
|
9668
|
-
import {
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
onContentClick?: () => void;
|
|
9684
|
-
contentRoute?: LocationDescriptor;
|
|
9685
|
-
badgeInfo?: number | boolean;
|
|
9686
|
-
title?: string;
|
|
10303
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10304
|
+
import { FC } from 'react';
|
|
10305
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10306
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10307
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10308
|
+
export interface PostCreatorProps {
|
|
10309
|
+
groupId: string;
|
|
10310
|
+
disabled?: boolean;
|
|
10311
|
+
disableDragAndDrop?: boolean;
|
|
10312
|
+
onBeforeSave?: (post: Post) => void;
|
|
10313
|
+
onSaved: (post: Post) => void;
|
|
10314
|
+
keywordSettings?: {
|
|
10315
|
+
availableKeywords?: Keyword[];
|
|
10316
|
+
defaultKeywords?: Keyword[];
|
|
10317
|
+
mandatoryKeywords?: Keyword[];
|
|
10318
|
+
};
|
|
10319
|
+
disableAutoFocus?: boolean;
|
|
10320
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9687
10321
|
className?: string;
|
|
9688
10322
|
}
|
|
9689
|
-
export const
|
|
10323
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9690
10324
|
}
|
|
9691
|
-
declare module "libs/reach/feature/content/src/
|
|
10325
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9692
10326
|
import { FC } from 'react';
|
|
9693
|
-
import {
|
|
9694
|
-
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
|
|
9722
|
-
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
}
|
|
9726
|
-
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
9727
|
-
contentRoute?: LocationDescriptor;
|
|
9728
|
-
onIconClick?: () => void;
|
|
9729
|
-
iconRoute?: LocationDescriptor;
|
|
9730
|
-
onSecondaryIconClick?: () => void;
|
|
9731
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
9732
|
-
isHoverable?: boolean;
|
|
9733
|
-
}
|
|
9734
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
9735
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
9736
|
-
route: LocationDescriptor;
|
|
9737
|
-
exact?: boolean;
|
|
9738
|
-
linkClassName?: string;
|
|
9739
|
-
}
|
|
9740
|
-
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
9741
|
-
}
|
|
9742
|
-
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
9743
|
-
import { FC } from 'react';
|
|
9744
|
-
export const SidebarGroup: FC<{
|
|
9745
|
-
titleResource?: string;
|
|
9746
|
-
borderColor?: string;
|
|
9747
|
-
className?: string;
|
|
9748
|
-
}>;
|
|
9749
|
-
}
|
|
9750
|
-
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
9751
|
-
import { FC } from 'react';
|
|
9752
|
-
export const ContentWithShowMoreButton: FC<{
|
|
9753
|
-
domIdentifier: string;
|
|
9754
|
-
trimContent: boolean;
|
|
9755
|
-
className?: string;
|
|
9756
|
-
}>;
|
|
9757
|
-
}
|
|
9758
|
-
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
9759
|
-
import { FC } from 'react';
|
|
9760
|
-
import { Channel } from "libs/reach/util/common/src/index";
|
|
9761
|
-
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
9762
|
-
interface Props {
|
|
9763
|
-
selectedChannelNames?: string[];
|
|
9764
|
-
selectedChannelIds?: string[];
|
|
9765
|
-
mandatoryChannelIds?: string[];
|
|
9766
|
-
availableChannels?: Channel[];
|
|
9767
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
9768
|
-
className?: string;
|
|
9769
|
-
showOnlyUserChannels?: boolean;
|
|
9770
|
-
showSelectionToggle?: boolean;
|
|
9771
|
-
placeholder?: string;
|
|
9772
|
-
inlineControls?: boolean;
|
|
9773
|
-
required?: boolean;
|
|
9774
|
-
id?: string;
|
|
9775
|
-
showLogicalOperatorOptions?: boolean;
|
|
9776
|
-
selectedLogicalOperator?: LogicalOperator;
|
|
9777
|
-
}
|
|
9778
|
-
export const ChannelSelector: FC<Props>;
|
|
9779
|
-
}
|
|
9780
|
-
declare module "libs/reach/feature/content/src/common/index" {
|
|
9781
|
-
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
9782
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9783
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
9784
|
-
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
9785
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
9786
|
-
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
9787
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
9788
|
-
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
9789
|
-
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
9790
|
-
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
9791
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
9792
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
9793
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
9794
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
9795
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
9796
|
-
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
9797
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
9798
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
9799
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
9800
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
9801
|
-
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
9802
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
9803
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
9804
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
9805
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
9806
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
9807
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
9808
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
9809
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
9810
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9811
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
9812
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
9813
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
9814
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
9815
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
9816
|
-
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9817
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9818
|
-
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
9819
|
-
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
9820
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9821
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
9822
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
9823
|
-
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
9824
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
9825
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
9826
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
9827
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
9828
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
9829
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
9830
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
9831
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
9832
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9833
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
9834
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9835
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9836
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9837
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9838
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9839
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9840
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9841
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9842
|
-
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
9843
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9844
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9845
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9846
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9847
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9848
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9849
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9850
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9851
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
9852
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9853
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9854
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
9855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9856
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
9857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
9858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9860
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9861
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
9862
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9863
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9864
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9865
|
-
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9866
|
-
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
9867
|
-
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
9868
|
-
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
9869
|
-
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
9870
|
-
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9871
|
-
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
9872
|
-
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
9873
|
-
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
9874
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
9875
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
9876
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
9877
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
9878
|
-
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
9879
|
-
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
9880
|
-
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
9881
|
-
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
9882
|
-
}
|
|
9883
|
-
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
9884
|
-
import { FC } from 'react';
|
|
9885
|
-
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
9886
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
9887
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9888
|
-
interface Props {
|
|
9889
|
-
type?: ItemResourceTypes;
|
|
9890
|
-
baseAttachmentPath?: string;
|
|
9891
|
-
message: Comment;
|
|
9892
|
-
showDelete?: boolean;
|
|
9893
|
-
showAutoTranslate?: boolean;
|
|
9894
|
-
showEdit?: boolean;
|
|
9895
|
-
onDelete?: (comment: Comment) => void;
|
|
9896
|
-
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
9897
|
-
scope: ConversationScope;
|
|
9898
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9899
|
-
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9900
|
-
highlight?: boolean;
|
|
9901
|
-
isInitialLiked?: boolean;
|
|
9902
|
-
hasUnreadReplies?: boolean;
|
|
9903
|
-
onReplyIconClick?: () => void;
|
|
9904
|
-
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9905
|
-
replyCount?: number;
|
|
9906
|
-
readOnly?: boolean;
|
|
9907
|
-
trimContent?: boolean;
|
|
9908
|
-
className?: string;
|
|
9909
|
-
}
|
|
9910
|
-
export const CommentDisplay: FC<Props>;
|
|
9911
|
-
}
|
|
9912
|
-
declare module "libs/reach/feature/content/src/comments/index" {
|
|
9913
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9914
|
-
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
9915
|
-
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
9916
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9917
|
-
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
9918
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9919
|
-
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
9920
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9921
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
9922
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9923
|
-
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
9924
|
-
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
9925
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
9926
|
-
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
9927
|
-
}
|
|
9928
|
-
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
9929
|
-
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
9930
|
-
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
9931
|
-
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9932
|
-
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9933
|
-
}
|
|
9934
|
-
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9935
|
-
import { FC, ReactNode } from 'react';
|
|
9936
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9937
|
-
interface Props {
|
|
9938
|
-
isOpen: boolean;
|
|
9939
|
-
preSelectedKeywords: Keyword[];
|
|
9940
|
-
onSave: (keywords: Keyword[]) => void;
|
|
9941
|
-
titleResource: string;
|
|
9942
|
-
onDismiss: () => void;
|
|
9943
|
-
availableKeywords?: Keyword[];
|
|
9944
|
-
mandatoryKeywordIds?: string[];
|
|
9945
|
-
}
|
|
9946
|
-
export const KeywordDialog: FC<Props>;
|
|
9947
|
-
export const StatefulKeywordPicker: FC<{
|
|
9948
|
-
preSelectedKeywords: Keyword[];
|
|
9949
|
-
availableKeywords?: Keyword[];
|
|
9950
|
-
mandatoryKeywordIds?: string[];
|
|
9951
|
-
showSelectionToggle?: boolean;
|
|
9952
|
-
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
9953
|
-
}>;
|
|
9954
|
-
}
|
|
9955
|
-
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
9956
|
-
import { FC, MutableRefObject } from 'react';
|
|
9957
|
-
export interface TextareaProps {
|
|
9958
|
-
rows?: number;
|
|
9959
|
-
placeholder?: string;
|
|
9960
|
-
readOnly?: boolean;
|
|
9961
|
-
onChange: (value: string) => void;
|
|
9962
|
-
className?: string;
|
|
9963
|
-
defaultValue?: string;
|
|
9964
|
-
disabled?: boolean;
|
|
9965
|
-
noDebouncing?: boolean;
|
|
9966
|
-
value?: string;
|
|
9967
|
-
onIconClick?: () => void;
|
|
9968
|
-
onEnter?: () => void;
|
|
9969
|
-
icon?: string;
|
|
9970
|
-
disableNewLines?: boolean;
|
|
9971
|
-
autoFocus?: boolean;
|
|
9972
|
-
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
9973
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
9974
|
-
inputType?: string;
|
|
9975
|
-
}
|
|
9976
|
-
/**
|
|
9977
|
-
* Textarea that expands vertically to fit content.
|
|
9978
|
-
* If maxLength is given, also displays a count of remaining characters when focused
|
|
9979
|
-
*/
|
|
9980
|
-
export const Textarea: FC<TextareaProps>;
|
|
9981
|
-
}
|
|
9982
|
-
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9983
|
-
import { FC } from 'react';
|
|
9984
|
-
interface Props {
|
|
9985
|
-
onInsert: (files: File[]) => void;
|
|
9986
|
-
accept?: string;
|
|
9987
|
-
captionKey?: string;
|
|
9988
|
-
captionIconName?: string;
|
|
9989
|
-
descriptionKey?: string;
|
|
9990
|
-
descriptionIconName?: string;
|
|
9991
|
-
singleMode?: boolean;
|
|
9992
|
-
}
|
|
9993
|
-
export const InsertFilesButton: FC<Props>;
|
|
9994
|
-
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9995
|
-
isActive?: boolean;
|
|
9996
|
-
}, never>;
|
|
9997
|
-
}
|
|
9998
|
-
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
9999
|
-
import { FC } from 'react';
|
|
10000
|
-
interface Props {
|
|
10001
|
-
onInsert: (files: File[]) => void;
|
|
10002
|
-
accept?: string;
|
|
10003
|
-
captionKey?: string;
|
|
10004
|
-
descriptionKey?: string;
|
|
10005
|
-
}
|
|
10006
|
-
export const InsertImagesButton: FC<Props>;
|
|
10007
|
-
}
|
|
10008
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
10009
|
-
import { FC } from 'react';
|
|
10010
|
-
interface DateTimePickerProps {
|
|
10011
|
-
date: string;
|
|
10012
|
-
maxDate?: string;
|
|
10013
|
-
minDate?: string;
|
|
10014
|
-
dateValidationResourceKey?: string;
|
|
10015
|
-
timeValidationResourceKey?: string;
|
|
10016
|
-
readOnly?: boolean;
|
|
10017
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
10018
|
-
noDateResourceKey: string;
|
|
10019
|
-
selectDateResourceKey: string;
|
|
10020
|
-
dateOnly?: boolean;
|
|
10021
|
-
initialPickerDate?: string;
|
|
10022
|
-
label?: string;
|
|
10023
|
-
isRequired?: boolean;
|
|
10024
|
-
className?: string;
|
|
10025
|
-
}
|
|
10026
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
10027
|
-
export default DateTimePicker;
|
|
10028
|
-
}
|
|
10029
|
-
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
10030
|
-
import moment, { Moment } from 'moment';
|
|
10031
|
-
export enum DateRange {
|
|
10032
|
-
TwoYears = 0,
|
|
10033
|
-
OneYear = 1,
|
|
10034
|
-
SixMonths = 2,
|
|
10035
|
-
TwoMonths = 3,
|
|
10036
|
-
OneMonth = 4,
|
|
10037
|
-
SevenDays = 5,
|
|
10038
|
-
YesterDay = 6,
|
|
10039
|
-
Today = 7
|
|
10040
|
-
}
|
|
10041
|
-
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
10042
|
-
export function dateToDateRange(date: string | moment.Moment): number;
|
|
10043
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
10044
|
-
}
|
|
10045
|
-
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
10046
|
-
import { FC } from 'react';
|
|
10047
|
-
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
10048
|
-
export const DateRangeSlider: FC<{
|
|
10049
|
-
value?: DateRange;
|
|
10050
|
-
onChange: (range: DateRange) => unknown;
|
|
10051
|
-
}>;
|
|
10052
|
-
}
|
|
10053
|
-
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
10054
|
-
import { FC } from 'react';
|
|
10055
|
-
import { WrappedComponentProps } from 'react-intl';
|
|
10056
|
-
import { SelectionMode } from 'office-ui-fabric-react';
|
|
10057
|
-
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
10058
|
-
interface PeoplePickerDialogProps {
|
|
10059
|
-
defaultSelectedItems: Account[];
|
|
10060
|
-
onChange: (items: Account[]) => void;
|
|
10061
|
-
onDismiss: () => void;
|
|
10062
|
-
titleResource: string;
|
|
10063
|
-
intl?: WrappedComponentProps;
|
|
10064
|
-
selectionMode?: SelectionMode;
|
|
10065
|
-
allowMailItems?: boolean;
|
|
10066
|
-
accountType: AccountType;
|
|
10067
|
-
showDialog: boolean;
|
|
10068
|
-
allowEmptyValue: boolean;
|
|
10069
|
-
includePendingInvitationUsers?: boolean;
|
|
10070
|
-
placeholderStringResourceKey?: string;
|
|
10071
|
-
inputAriaLabelResourceKey: string;
|
|
10072
|
-
}
|
|
10073
|
-
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
10074
|
-
}
|
|
10075
|
-
declare module "libs/reach/feature/content/src/forms/index" {
|
|
10076
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
10077
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
10078
|
-
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
10079
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
10080
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
10081
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
10082
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
10083
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
10084
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
10085
|
-
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
10086
|
-
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
10087
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
10088
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
10089
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
10090
|
-
}
|
|
10091
|
-
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10092
|
-
import { FC } from 'react';
|
|
10093
|
-
export const GroupNotificationsSettings: FC<{
|
|
10094
|
-
groupId: string;
|
|
10095
|
-
className?: string;
|
|
10096
|
-
}>;
|
|
10097
|
-
}
|
|
10098
|
-
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10099
|
-
import { FC } from 'react';
|
|
10100
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10101
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10102
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10103
|
-
export interface PostCreatorProps {
|
|
10104
|
-
groupId: string;
|
|
10105
|
-
disabled?: boolean;
|
|
10106
|
-
disableDragAndDrop?: boolean;
|
|
10107
|
-
onBeforeSave?: (post: Post) => void;
|
|
10108
|
-
onSaved: (post: Post) => void;
|
|
10109
|
-
keywordSettings?: {
|
|
10110
|
-
availableKeywords?: Keyword[];
|
|
10111
|
-
defaultKeywords?: Keyword[];
|
|
10112
|
-
mandatoryKeywords?: Keyword[];
|
|
10113
|
-
};
|
|
10114
|
-
disableAutoFocus?: boolean;
|
|
10115
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
10116
|
-
className?: string;
|
|
10117
|
-
}
|
|
10118
|
-
export const PostCreator: FC<PostCreatorProps>;
|
|
10119
|
-
}
|
|
10120
|
-
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10121
|
-
import { FC } from 'react';
|
|
10122
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10123
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
10124
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10125
|
-
interface Props {
|
|
10126
|
-
className?: string;
|
|
10127
|
-
post: Post;
|
|
10128
|
-
initialPageSize?: number;
|
|
10129
|
-
comments?: PaginatedList<Comment>;
|
|
10130
|
-
autoFocusReplyField?: boolean;
|
|
10131
|
-
showReplyBox?: boolean;
|
|
10132
|
-
onReplyAdded: () => void;
|
|
10133
|
-
onReplyDeleted: () => void;
|
|
10134
|
-
trimContent?: boolean;
|
|
10135
|
-
}
|
|
10136
|
-
export const PostReplies: FC<Props>;
|
|
10137
|
-
}
|
|
10138
|
-
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10139
|
-
import { FC } from 'react';
|
|
10140
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10141
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10142
|
-
export const PostEditor: FC<{
|
|
10143
|
-
className?: string;
|
|
10144
|
-
post: Post;
|
|
10145
|
-
onCancel: () => void;
|
|
10146
|
-
onBeforeSave: (post: Post) => void;
|
|
10147
|
-
onSaved: (post: Post) => void;
|
|
10148
|
-
keywordSettings?: {
|
|
10149
|
-
availableKeywords?: Keyword[];
|
|
10150
|
-
defaultKeywords?: Keyword[];
|
|
10151
|
-
mandatoryKeywords?: Keyword[];
|
|
10152
|
-
};
|
|
10327
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10328
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10329
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10330
|
+
interface Props {
|
|
10331
|
+
className?: string;
|
|
10332
|
+
post: Post;
|
|
10333
|
+
initialPageSize?: number;
|
|
10334
|
+
comments?: PaginatedList<Comment>;
|
|
10335
|
+
autoFocusReplyField?: boolean;
|
|
10336
|
+
showReplyBox?: boolean;
|
|
10337
|
+
onReplyAdded: () => void;
|
|
10338
|
+
onReplyDeleted: () => void;
|
|
10339
|
+
trimContent?: boolean;
|
|
10340
|
+
enableModalRouting?: boolean;
|
|
10341
|
+
}
|
|
10342
|
+
export const PostReplies: FC<Props>;
|
|
10343
|
+
}
|
|
10344
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10345
|
+
import { FC } from 'react';
|
|
10346
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10347
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10348
|
+
export const PostEditor: FC<{
|
|
10349
|
+
className?: string;
|
|
10350
|
+
post: Post;
|
|
10351
|
+
onCancel: () => void;
|
|
10352
|
+
onBeforeSave: (post: Post) => void;
|
|
10353
|
+
onSaved: (post: Post) => void;
|
|
10354
|
+
keywordSettings?: {
|
|
10355
|
+
availableKeywords?: Keyword[];
|
|
10356
|
+
defaultKeywords?: Keyword[];
|
|
10357
|
+
mandatoryKeywords?: Keyword[];
|
|
10358
|
+
};
|
|
10153
10359
|
}>;
|
|
10154
10360
|
}
|
|
10155
10361
|
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
@@ -10199,6 +10405,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
10199
10405
|
baseTargetUrl?: string;
|
|
10200
10406
|
}
|
|
10201
10407
|
export const PostDisplay: FC<Props>;
|
|
10408
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10202
10409
|
}
|
|
10203
10410
|
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10204
10411
|
import { FC } from 'react';
|
|
@@ -10217,8 +10424,75 @@ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
|
10217
10424
|
className?: string;
|
|
10218
10425
|
}>;
|
|
10219
10426
|
}
|
|
10427
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10428
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10429
|
+
import { DocumentNode } from '@apollo/client';
|
|
10430
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10431
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10432
|
+
export enum StreamEventResponse {
|
|
10433
|
+
NotSet = "NOTSET",
|
|
10434
|
+
Registered = "REGISTERED",
|
|
10435
|
+
Declined = "DECLINED"
|
|
10436
|
+
}
|
|
10437
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10438
|
+
}
|
|
10439
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10440
|
+
items: StreamItem[];
|
|
10441
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10442
|
+
loadMore: () => Promise<void>;
|
|
10443
|
+
pageInfo: {
|
|
10444
|
+
errors?: any;
|
|
10445
|
+
hasNextPage: boolean;
|
|
10446
|
+
skip: number;
|
|
10447
|
+
};
|
|
10448
|
+
refresh: () => Promise<void>;
|
|
10449
|
+
isLoadingFirstPage: boolean;
|
|
10450
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10451
|
+
};
|
|
10452
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10453
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10454
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10455
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10456
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10457
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10458
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10459
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10460
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10461
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10462
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10463
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10464
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10465
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10466
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10467
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10468
|
+
}
|
|
10469
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10470
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10471
|
+
import { DependencyList } from 'react';
|
|
10472
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10473
|
+
}
|
|
10474
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10475
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10476
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10477
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10478
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10479
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10480
|
+
};
|
|
10481
|
+
}
|
|
10482
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10483
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10484
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10485
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10486
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10487
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10488
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10489
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10490
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10491
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10492
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10493
|
+
}
|
|
10220
10494
|
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10221
|
-
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10495
|
+
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10222
10496
|
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10223
10497
|
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10224
10498
|
enum StreamItemTypes {
|
|
@@ -10435,7 +10709,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10435
10709
|
knownState: KnownNewsState;
|
|
10436
10710
|
hasNewComments?: boolean;
|
|
10437
10711
|
isLiked?: boolean;
|
|
10438
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10439
10712
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10440
10713
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10441
10714
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10724,7 +10997,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10724
10997
|
knownState: KnownNewsState;
|
|
10725
10998
|
hasNewComments?: boolean;
|
|
10726
10999
|
isLiked?: boolean;
|
|
10727
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10728
11000
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10729
11001
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10730
11002
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10955,7 +11227,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10955
11227
|
knownState: KnownNewsState;
|
|
10956
11228
|
hasNewComments?: boolean;
|
|
10957
11229
|
isLiked?: boolean;
|
|
10958
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10959
11230
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10960
11231
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10961
11232
|
id?: string;
|
|
@@ -11057,72 +11328,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11057
11328
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11058
11329
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11059
11330
|
})[];
|
|
11331
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11332
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11333
|
+
}
|
|
11334
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11335
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11336
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11337
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11338
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, isGlobalSearch?: boolean, itemType?: ItemResourceTypes): void;
|
|
11339
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11340
|
+
}
|
|
11341
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11342
|
+
import { LocationDescriptor } from 'history';
|
|
11343
|
+
import { FC, ReactNode } from 'react';
|
|
11344
|
+
export const SidebarIcon: FC<{
|
|
11345
|
+
icon?: ReactNode;
|
|
11346
|
+
iconName?: string;
|
|
11347
|
+
color?: string;
|
|
11348
|
+
onClick?: () => any;
|
|
11349
|
+
route?: LocationDescriptor;
|
|
11350
|
+
iconTooltipResourceKey: string;
|
|
11351
|
+
iconTooltipResourceValues?: any;
|
|
11352
|
+
className?: string;
|
|
11353
|
+
}>;
|
|
11354
|
+
}
|
|
11355
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11356
|
+
import { FC, ReactNode } from 'react';
|
|
11357
|
+
import { LocationDescriptor } from 'history';
|
|
11358
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11359
|
+
export interface BaseSidebarItemProps {
|
|
11360
|
+
children?: any;
|
|
11361
|
+
icon?: ReactNode;
|
|
11362
|
+
iconName?: string;
|
|
11363
|
+
iconTooltipResourceKey?: string;
|
|
11364
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11365
|
+
secondaryIconName?: string;
|
|
11366
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11367
|
+
reverse?: boolean;
|
|
11368
|
+
onIconClick?: () => void;
|
|
11369
|
+
iconRoute?: LocationDescriptor;
|
|
11370
|
+
iconColor?: string;
|
|
11371
|
+
onSecondaryIconClick?: () => void;
|
|
11372
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11373
|
+
onContentClick?: () => void;
|
|
11374
|
+
contentRoute?: LocationDescriptor;
|
|
11375
|
+
badgeInfo?: number | boolean;
|
|
11376
|
+
title?: string;
|
|
11377
|
+
className?: string;
|
|
11378
|
+
}
|
|
11379
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11380
|
+
}
|
|
11381
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11382
|
+
import { FC } from 'react';
|
|
11383
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11384
|
+
export const SidebarItemSection: FC<{
|
|
11385
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11386
|
+
}>;
|
|
11387
|
+
}
|
|
11388
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11389
|
+
import { FC, ReactNode } from 'react';
|
|
11390
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11391
|
+
import { LocationDescriptor } from 'history';
|
|
11392
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11393
|
+
interface CommonSidebarItemProps {
|
|
11394
|
+
title?: string | JSX.Element;
|
|
11395
|
+
titleResource?: string;
|
|
11396
|
+
icon?: ReactNode;
|
|
11397
|
+
iconName?: string;
|
|
11398
|
+
iconTooltipResourceKey?: string;
|
|
11399
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11400
|
+
secondaryIconName?: string;
|
|
11401
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11402
|
+
iconColor?: string;
|
|
11403
|
+
reverse?: boolean;
|
|
11404
|
+
notHighlightable?: boolean;
|
|
11405
|
+
onClick?: () => void;
|
|
11406
|
+
className?: string;
|
|
11407
|
+
isActive?: boolean;
|
|
11408
|
+
activeClassName?: string;
|
|
11409
|
+
readOnly?: boolean;
|
|
11410
|
+
submenu?: JSX.Element;
|
|
11411
|
+
submenuClassName?: string;
|
|
11412
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11413
|
+
badgeInfo?: number | boolean;
|
|
11414
|
+
domIdentifier?: string;
|
|
11415
|
+
}
|
|
11416
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11417
|
+
contentRoute?: LocationDescriptor;
|
|
11418
|
+
onIconClick?: () => void;
|
|
11419
|
+
iconRoute?: LocationDescriptor;
|
|
11420
|
+
onSecondaryIconClick?: () => void;
|
|
11421
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11422
|
+
isHoverable?: boolean;
|
|
11423
|
+
}
|
|
11424
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11425
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11426
|
+
route: LocationDescriptor;
|
|
11427
|
+
exact?: boolean;
|
|
11428
|
+
linkClassName?: string;
|
|
11429
|
+
}
|
|
11430
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11431
|
+
}
|
|
11432
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11433
|
+
import { FC } from 'react';
|
|
11434
|
+
export const SidebarGroup: FC<{
|
|
11435
|
+
titleResource?: string;
|
|
11436
|
+
borderColor?: string;
|
|
11437
|
+
className?: string;
|
|
11438
|
+
}>;
|
|
11439
|
+
}
|
|
11440
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11441
|
+
import { FC } from 'react';
|
|
11442
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11443
|
+
domIdentifier: string;
|
|
11444
|
+
trimContent?: boolean;
|
|
11445
|
+
className?: string;
|
|
11446
|
+
}>;
|
|
11447
|
+
}
|
|
11448
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11449
|
+
import { FC } from 'react';
|
|
11450
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11451
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11452
|
+
interface Props {
|
|
11453
|
+
selectedChannelNames?: string[];
|
|
11454
|
+
selectedChannelIds?: string[];
|
|
11455
|
+
mandatoryChannelIds?: string[];
|
|
11456
|
+
availableChannels?: Channel[];
|
|
11457
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11458
|
+
className?: string;
|
|
11459
|
+
showOnlyUserChannels?: boolean;
|
|
11460
|
+
showSelectionToggle?: boolean;
|
|
11461
|
+
placeholder?: string;
|
|
11462
|
+
inlineControls?: boolean;
|
|
11463
|
+
required?: boolean;
|
|
11464
|
+
id?: string;
|
|
11465
|
+
showLogicalOperatorOptions?: boolean;
|
|
11466
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11467
|
+
}
|
|
11468
|
+
export const ChannelSelector: FC<Props>;
|
|
11469
|
+
}
|
|
11470
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11471
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11472
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11473
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11474
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11475
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11476
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11477
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11478
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11479
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11480
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11481
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11482
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11483
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11484
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11485
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11486
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11487
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11488
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11489
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11490
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11491
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11492
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11493
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11494
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11495
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11496
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11497
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11498
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11499
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11500
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11501
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11502
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11503
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11504
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11505
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11506
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11507
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11508
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11509
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11510
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11511
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11512
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11513
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11514
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11515
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11516
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11517
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11518
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11519
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11520
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11521
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11522
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11523
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11524
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11525
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11526
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11527
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11528
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11529
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11530
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11531
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11532
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11533
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11534
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11535
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11536
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11537
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11538
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11539
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11540
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11541
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11542
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11543
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11544
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11545
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11546
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11547
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11548
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11549
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11550
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11551
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11552
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11553
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11554
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11555
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11556
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11557
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11558
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11559
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11560
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11561
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11562
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11563
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11564
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11565
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11566
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11567
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11568
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11569
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11570
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11571
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11572
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11573
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11574
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11575
|
+
}
|
|
11576
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11577
|
+
import { FC } from 'react';
|
|
11578
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11579
|
+
interface Props {
|
|
11580
|
+
type?: ItemResourceTypes;
|
|
11581
|
+
baseAttachmentPath?: string;
|
|
11582
|
+
message: Comment;
|
|
11583
|
+
showDelete?: boolean;
|
|
11584
|
+
showAutoTranslate?: boolean;
|
|
11585
|
+
showEdit?: boolean;
|
|
11586
|
+
onDelete?: (comment: Comment) => void;
|
|
11587
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11588
|
+
scope: ConversationScope;
|
|
11589
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11590
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11591
|
+
highlight?: boolean;
|
|
11592
|
+
hasUnreadReplies?: boolean;
|
|
11593
|
+
onReplyIconClick?: () => void;
|
|
11594
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11595
|
+
replyCount?: number;
|
|
11596
|
+
readOnly?: boolean;
|
|
11597
|
+
trimContent?: boolean;
|
|
11598
|
+
enableModalRouting?: boolean;
|
|
11599
|
+
className?: string;
|
|
11600
|
+
}
|
|
11601
|
+
export const CommentDisplay: FC<Props>;
|
|
11060
11602
|
}
|
|
11061
|
-
declare module "libs/reach/feature/content/src/
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
export
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
|
|
11603
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11604
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11605
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11606
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11607
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11608
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11609
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11610
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11611
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11612
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11613
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11614
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11615
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11616
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11617
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11618
|
+
}
|
|
11619
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11620
|
+
import { FC, ReactNode } from 'react';
|
|
11621
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11622
|
+
interface Props {
|
|
11623
|
+
isOpen: boolean;
|
|
11624
|
+
preSelectedKeywords: Keyword[];
|
|
11625
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11626
|
+
titleResource: string;
|
|
11627
|
+
onDismiss: () => void;
|
|
11628
|
+
availableKeywords?: Keyword[];
|
|
11629
|
+
mandatoryKeywordIds?: string[];
|
|
11070
11630
|
}
|
|
11071
|
-
export
|
|
11631
|
+
export const KeywordDialog: FC<Props>;
|
|
11632
|
+
export const StatefulKeywordPicker: FC<{
|
|
11633
|
+
preSelectedKeywords: Keyword[];
|
|
11634
|
+
availableKeywords?: Keyword[];
|
|
11635
|
+
mandatoryKeywordIds?: string[];
|
|
11636
|
+
showSelectionToggle?: boolean;
|
|
11637
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11638
|
+
}>;
|
|
11639
|
+
}
|
|
11640
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11641
|
+
import { FC, MutableRefObject } from 'react';
|
|
11642
|
+
export interface TextareaProps {
|
|
11643
|
+
rows?: number;
|
|
11644
|
+
placeholder?: string;
|
|
11645
|
+
readOnly?: boolean;
|
|
11646
|
+
onChange: (value: string) => void;
|
|
11647
|
+
className?: string;
|
|
11648
|
+
defaultValue?: string;
|
|
11649
|
+
disabled?: boolean;
|
|
11650
|
+
noDebouncing?: boolean;
|
|
11651
|
+
value?: string;
|
|
11652
|
+
onIconClick?: () => void;
|
|
11653
|
+
onEnter?: () => void;
|
|
11654
|
+
icon?: string;
|
|
11655
|
+
disableNewLines?: boolean;
|
|
11656
|
+
autoFocus?: boolean;
|
|
11657
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11658
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11659
|
+
inputType?: string;
|
|
11072
11660
|
}
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
errors?: any;
|
|
11079
|
-
hasNextPage: boolean;
|
|
11080
|
-
skip: number;
|
|
11081
|
-
};
|
|
11082
|
-
refresh: () => Promise<void>;
|
|
11083
|
-
isLoadingFirstPage: boolean;
|
|
11084
|
-
};
|
|
11085
|
-
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11086
|
-
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11087
|
-
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11088
|
-
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
11089
|
-
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
11090
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11091
|
-
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11092
|
-
export const OWNER_CONDITION: (owner: string) => string;
|
|
11093
|
-
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11094
|
-
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11095
|
-
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
11096
|
-
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
11097
|
-
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
11098
|
-
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11099
|
-
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11100
|
-
export const POST_ITEM_FIELDS: DocumentNode;
|
|
11661
|
+
/**
|
|
11662
|
+
* Textarea that expands vertically to fit content.
|
|
11663
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11664
|
+
*/
|
|
11665
|
+
export const Textarea: FC<TextareaProps>;
|
|
11101
11666
|
}
|
|
11102
|
-
declare module "libs/reach/feature/content/src/
|
|
11103
|
-
import {
|
|
11104
|
-
|
|
11105
|
-
|
|
11667
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11668
|
+
import { FC } from 'react';
|
|
11669
|
+
interface Props {
|
|
11670
|
+
onInsert: (files: File[]) => void;
|
|
11671
|
+
accept?: string;
|
|
11672
|
+
captionKey?: string;
|
|
11673
|
+
captionIconName?: string;
|
|
11674
|
+
descriptionKey?: string;
|
|
11675
|
+
descriptionIconName?: string;
|
|
11676
|
+
singleMode?: boolean;
|
|
11677
|
+
}
|
|
11678
|
+
export const InsertFilesButton: FC<Props>;
|
|
11679
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11680
|
+
isActive?: boolean;
|
|
11681
|
+
}, never>;
|
|
11106
11682
|
}
|
|
11107
|
-
declare module "libs/reach/feature/content/src/
|
|
11108
|
-
import {
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11683
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11684
|
+
import { FC } from 'react';
|
|
11685
|
+
interface Props {
|
|
11686
|
+
onInsert: (files: File[]) => void;
|
|
11687
|
+
accept?: string;
|
|
11688
|
+
captionKey?: string;
|
|
11689
|
+
descriptionKey?: string;
|
|
11690
|
+
}
|
|
11691
|
+
export const InsertImagesButton: FC<Props>;
|
|
11114
11692
|
}
|
|
11115
|
-
declare module "libs/reach/feature/content/src/
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11693
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11694
|
+
import { FC } from 'react';
|
|
11695
|
+
interface DateTimePickerProps {
|
|
11696
|
+
date: string;
|
|
11697
|
+
maxDate?: string;
|
|
11698
|
+
minDate?: string;
|
|
11699
|
+
dateValidationResourceKey?: string;
|
|
11700
|
+
timeValidationResourceKey?: string;
|
|
11701
|
+
readOnly?: boolean;
|
|
11702
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11703
|
+
noDateResourceKey: string;
|
|
11704
|
+
selectDateResourceKey: string;
|
|
11705
|
+
dateOnly?: boolean;
|
|
11706
|
+
initialPickerDate?: string;
|
|
11707
|
+
label?: string;
|
|
11708
|
+
isRequired?: boolean;
|
|
11709
|
+
className?: string;
|
|
11710
|
+
}
|
|
11711
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11712
|
+
export default DateTimePicker;
|
|
11713
|
+
}
|
|
11714
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11715
|
+
import moment, { Moment } from 'moment';
|
|
11716
|
+
export enum DateRange {
|
|
11717
|
+
TwoYears = 0,
|
|
11718
|
+
OneYear = 1,
|
|
11719
|
+
SixMonths = 2,
|
|
11720
|
+
TwoMonths = 3,
|
|
11721
|
+
OneMonth = 4,
|
|
11722
|
+
SevenDays = 5,
|
|
11723
|
+
YesterDay = 6,
|
|
11724
|
+
Today = 7
|
|
11725
|
+
}
|
|
11726
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11727
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11728
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11729
|
+
}
|
|
11730
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11731
|
+
import { FC } from 'react';
|
|
11732
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11733
|
+
export const DateRangeSlider: FC<{
|
|
11734
|
+
value?: DateRange;
|
|
11735
|
+
onChange: (range: DateRange) => unknown;
|
|
11736
|
+
}>;
|
|
11737
|
+
}
|
|
11738
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11739
|
+
import { FC } from 'react';
|
|
11740
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11741
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11742
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11743
|
+
interface PeoplePickerDialogProps {
|
|
11744
|
+
defaultSelectedItems: Account[];
|
|
11745
|
+
onChange: (items: Account[]) => void;
|
|
11746
|
+
onDismiss: () => void;
|
|
11747
|
+
titleResource: string;
|
|
11748
|
+
intl?: WrappedComponentProps;
|
|
11749
|
+
selectionMode?: SelectionMode;
|
|
11750
|
+
allowMailItems?: boolean;
|
|
11751
|
+
accountType: AccountType;
|
|
11752
|
+
showDialog: boolean;
|
|
11753
|
+
allowEmptyValue: boolean;
|
|
11754
|
+
includePendingInvitationUsers?: boolean;
|
|
11755
|
+
placeholderStringResourceKey?: string;
|
|
11756
|
+
inputAriaLabelResourceKey: string;
|
|
11757
|
+
}
|
|
11758
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11759
|
+
}
|
|
11760
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11761
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11762
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11763
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11764
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11765
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11766
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11767
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11768
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11769
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11770
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11771
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11772
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11773
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11774
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11126
11775
|
}
|
|
11127
11776
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11128
11777
|
import { FC, ReactNode } from 'react';
|
|
@@ -11219,8 +11868,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11219
11868
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11220
11869
|
export type ShareTokenType = 'preview' | 'published';
|
|
11221
11870
|
export function useShareTokenEditorApi(): {
|
|
11222
|
-
activateShareToken: (
|
|
11223
|
-
deleteShareToken: (
|
|
11871
|
+
activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
|
|
11872
|
+
deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
|
|
11224
11873
|
};
|
|
11225
11874
|
}
|
|
11226
11875
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11231,9 +11880,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11231
11880
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11232
11881
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11233
11882
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11234
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11883
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11235
11884
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11236
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11885
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11237
11886
|
};
|
|
11238
11887
|
}
|
|
11239
11888
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11272,6 +11921,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11272
11921
|
event: EventStreamItem;
|
|
11273
11922
|
}>;
|
|
11274
11923
|
}
|
|
11924
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11925
|
+
import { FC } from 'react';
|
|
11926
|
+
export const GlobalSearchButton: FC<{
|
|
11927
|
+
className?: string;
|
|
11928
|
+
}>;
|
|
11929
|
+
}
|
|
11275
11930
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11276
11931
|
import { FC, ReactNode } from 'react';
|
|
11277
11932
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11339,12 +11994,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11339
11994
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11340
11995
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11341
11996
|
}
|
|
11342
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11343
|
-
import { FC } from 'react';
|
|
11344
|
-
export const GlobalSearchButton: FC<{
|
|
11345
|
-
className?: string;
|
|
11346
|
-
}>;
|
|
11347
|
-
}
|
|
11348
11997
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11349
11998
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11350
11999
|
}
|
|
@@ -11786,6 +12435,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
11786
12435
|
}) => string;
|
|
11787
12436
|
};
|
|
11788
12437
|
}
|
|
12438
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12439
|
+
import { Dispatch } from 'react';
|
|
12440
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12441
|
+
}
|
|
12442
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12443
|
+
import { FC } from 'react';
|
|
12444
|
+
export interface Dashboard {
|
|
12445
|
+
name: string;
|
|
12446
|
+
title: string;
|
|
12447
|
+
url: string;
|
|
12448
|
+
}
|
|
12449
|
+
export const DashboardPage: FC<{
|
|
12450
|
+
dashboard: Dashboard;
|
|
12451
|
+
}>;
|
|
12452
|
+
}
|
|
12453
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12454
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12455
|
+
export function useDashboards(): Dashboard[];
|
|
12456
|
+
export function hasDashboards(): boolean;
|
|
12457
|
+
}
|
|
12458
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12459
|
+
import { FC } from 'react';
|
|
12460
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12461
|
+
}
|
|
11789
12462
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
11790
12463
|
import { FC } from 'react';
|
|
11791
12464
|
interface Props {
|
|
@@ -11801,7 +12474,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11801
12474
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11802
12475
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11803
12476
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11804
|
-
export interface
|
|
12477
|
+
export interface PageProps extends SearchBoxProps {
|
|
11805
12478
|
className?: string;
|
|
11806
12479
|
headerContents?: JSX.Element;
|
|
11807
12480
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11819,12 +12492,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11819
12492
|
submenuContents?: JSX.Element;
|
|
11820
12493
|
submenuClassName?: string;
|
|
11821
12494
|
disableScrollableContainerFocus?: boolean;
|
|
12495
|
+
asModal?: boolean;
|
|
12496
|
+
domIdentifier?: string;
|
|
11822
12497
|
}
|
|
11823
12498
|
export enum MenuNavigationMode {
|
|
11824
12499
|
Collapse = 0,
|
|
11825
12500
|
KeepOpen = 1
|
|
11826
12501
|
}
|
|
11827
|
-
export const Page: FC<
|
|
12502
|
+
export const Page: FC<PageProps>;
|
|
11828
12503
|
}
|
|
11829
12504
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11830
12505
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|