@livetiles/reach-plugin-types 0.5.0-preview.32 → 0.5.0-preview.322
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 +1807 -1082
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -216,11 +216,27 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
216
216
|
extraScopes: string[];
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
+
declare module "libs/shared/util/environment/src/AnalyticsConfig" {
|
|
220
|
+
export interface DashboardConfig {
|
|
221
|
+
name: string;
|
|
222
|
+
title: string;
|
|
223
|
+
id: number;
|
|
224
|
+
params?: string;
|
|
225
|
+
}
|
|
226
|
+
export interface AnalyticsConfig {
|
|
227
|
+
hostName: string;
|
|
228
|
+
regions?: {
|
|
229
|
+
[key: string]: string;
|
|
230
|
+
};
|
|
231
|
+
dashboards: DashboardConfig[];
|
|
232
|
+
}
|
|
233
|
+
}
|
|
219
234
|
declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
220
235
|
import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
|
|
221
236
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
222
237
|
import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
|
|
223
238
|
import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
|
|
239
|
+
import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
|
|
224
240
|
export enum ConfigType {
|
|
225
241
|
Local = "local",
|
|
226
242
|
Dev = "dev",
|
|
@@ -266,9 +282,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
266
282
|
oneSignal?: {
|
|
267
283
|
appId: string;
|
|
268
284
|
};
|
|
285
|
+
analytics: AnalyticsConfig;
|
|
269
286
|
}
|
|
270
287
|
}
|
|
271
288
|
declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
289
|
+
import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
|
|
290
|
+
import { ConfigType } from "libs/shared/util/environment/src/AppConfiguration";
|
|
272
291
|
export interface ClientConfig {
|
|
273
292
|
maxFileSizeInMb: number;
|
|
274
293
|
unsplash: {
|
|
@@ -286,9 +305,12 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
|
286
305
|
giphy: {
|
|
287
306
|
apiKey: string;
|
|
288
307
|
};
|
|
308
|
+
analytics: AnalyticsConfig;
|
|
309
|
+
configType: ConfigType;
|
|
289
310
|
}
|
|
290
311
|
}
|
|
291
312
|
declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
313
|
+
import { DeviceInfo } from '@capacitor/device';
|
|
292
314
|
export interface EnvironmentConfig {
|
|
293
315
|
isCustomerBuild: boolean;
|
|
294
316
|
isProduction: boolean;
|
|
@@ -306,11 +328,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
306
328
|
buildId: string;
|
|
307
329
|
useAzureAdFunctionality: boolean;
|
|
308
330
|
envName: string;
|
|
309
|
-
|
|
310
|
-
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
311
|
-
interface DeviceInfo {
|
|
312
|
-
platform: 'ios' | 'android' | 'web';
|
|
313
|
-
operatingSystem: OperatingSystem;
|
|
331
|
+
mobileTeamsHost?: string;
|
|
314
332
|
}
|
|
315
333
|
}
|
|
316
334
|
declare module "libs/shared/util/environment/src/environment" {
|
|
@@ -1026,6 +1044,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
|
1026
1044
|
language?: string;
|
|
1027
1045
|
}>;
|
|
1028
1046
|
}
|
|
1047
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1048
|
+
import locale from 'date-fns/locale/ar-DZ';
|
|
1049
|
+
export default locale;
|
|
1050
|
+
}
|
|
1051
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
|
|
1052
|
+
import locale from 'date-fns/locale/ar-MA';
|
|
1053
|
+
export default locale;
|
|
1054
|
+
}
|
|
1055
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
|
|
1056
|
+
import locale from 'date-fns/locale/ar-SA';
|
|
1057
|
+
export default locale;
|
|
1058
|
+
}
|
|
1059
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
|
|
1060
|
+
import locale from 'date-fns/locale/bg';
|
|
1061
|
+
export default locale;
|
|
1062
|
+
}
|
|
1063
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
|
|
1064
|
+
import locale from 'date-fns/locale/bn';
|
|
1065
|
+
export default locale;
|
|
1066
|
+
}
|
|
1067
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
|
|
1068
|
+
import locale from 'date-fns/locale/ca';
|
|
1069
|
+
export default locale;
|
|
1070
|
+
}
|
|
1071
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
|
|
1072
|
+
import locale from 'date-fns/locale/cs';
|
|
1073
|
+
export default locale;
|
|
1074
|
+
}
|
|
1075
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
|
|
1076
|
+
import locale from 'date-fns/locale/da';
|
|
1077
|
+
export default locale;
|
|
1078
|
+
}
|
|
1079
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
|
|
1080
|
+
import locale from 'date-fns/locale/de';
|
|
1081
|
+
export default locale;
|
|
1082
|
+
}
|
|
1083
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
|
|
1084
|
+
import locale from 'date-fns/locale/el';
|
|
1085
|
+
export default locale;
|
|
1086
|
+
}
|
|
1087
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
|
|
1088
|
+
import locale from 'date-fns/locale/en-AU';
|
|
1089
|
+
export default locale;
|
|
1090
|
+
}
|
|
1091
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
|
|
1092
|
+
import locale from 'date-fns/locale/en-CA';
|
|
1093
|
+
export default locale;
|
|
1094
|
+
}
|
|
1095
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
|
|
1096
|
+
import locale from 'date-fns/locale/en-GB';
|
|
1097
|
+
export default locale;
|
|
1098
|
+
}
|
|
1099
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
|
|
1100
|
+
import locale from 'date-fns/locale/en-NZ';
|
|
1101
|
+
export default locale;
|
|
1102
|
+
}
|
|
1103
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
|
|
1104
|
+
import locale from 'date-fns/locale/es';
|
|
1105
|
+
export default locale;
|
|
1106
|
+
}
|
|
1107
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
|
|
1108
|
+
import locale from 'date-fns/locale/et';
|
|
1109
|
+
export default locale;
|
|
1110
|
+
}
|
|
1111
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
|
|
1112
|
+
import locale from 'date-fns/locale/fa-IR';
|
|
1113
|
+
export default locale;
|
|
1114
|
+
}
|
|
1115
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
|
|
1116
|
+
import locale from 'date-fns/locale/fi';
|
|
1117
|
+
export default locale;
|
|
1118
|
+
}
|
|
1119
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
|
|
1120
|
+
import locale from 'date-fns/locale/fr-CA';
|
|
1121
|
+
export default locale;
|
|
1122
|
+
}
|
|
1123
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
|
|
1124
|
+
import locale from 'date-fns/locale/fr-CH';
|
|
1125
|
+
export default locale;
|
|
1126
|
+
}
|
|
1127
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
|
|
1128
|
+
import locale from 'date-fns/locale/fr';
|
|
1129
|
+
export default locale;
|
|
1130
|
+
}
|
|
1131
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
|
|
1132
|
+
import locale from 'date-fns/locale/gu';
|
|
1133
|
+
export default locale;
|
|
1134
|
+
}
|
|
1135
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
|
|
1136
|
+
import locale from 'date-fns/locale/he';
|
|
1137
|
+
export default locale;
|
|
1138
|
+
}
|
|
1139
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
|
|
1140
|
+
import locale from 'date-fns/locale/hi';
|
|
1141
|
+
export default locale;
|
|
1142
|
+
}
|
|
1143
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
|
|
1144
|
+
import locale from 'date-fns/locale/hr';
|
|
1145
|
+
export default locale;
|
|
1146
|
+
}
|
|
1147
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
|
|
1148
|
+
import locale from 'date-fns/locale/hu';
|
|
1149
|
+
export default locale;
|
|
1150
|
+
}
|
|
1151
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
|
|
1152
|
+
import locale from 'date-fns/locale/id';
|
|
1153
|
+
export default locale;
|
|
1154
|
+
}
|
|
1155
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
|
|
1156
|
+
import locale from 'date-fns/locale/it';
|
|
1157
|
+
export default locale;
|
|
1158
|
+
}
|
|
1159
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
|
|
1160
|
+
import locale from 'date-fns/locale/ja';
|
|
1161
|
+
export default locale;
|
|
1162
|
+
}
|
|
1163
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
|
|
1164
|
+
import locale from 'date-fns/locale/kn';
|
|
1165
|
+
export default locale;
|
|
1166
|
+
}
|
|
1167
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
|
|
1168
|
+
import locale from 'date-fns/locale/ko';
|
|
1169
|
+
export default locale;
|
|
1170
|
+
}
|
|
1171
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
|
|
1172
|
+
import locale from 'date-fns/locale/lt';
|
|
1173
|
+
export default locale;
|
|
1174
|
+
}
|
|
1175
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
|
|
1176
|
+
import locale from 'date-fns/locale/lv';
|
|
1177
|
+
export default locale;
|
|
1178
|
+
}
|
|
1179
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
|
|
1180
|
+
import locale from 'date-fns/locale/ms';
|
|
1181
|
+
export default locale;
|
|
1182
|
+
}
|
|
1183
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
|
|
1184
|
+
import locale from 'date-fns/locale/nb';
|
|
1185
|
+
export default locale;
|
|
1186
|
+
}
|
|
1187
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
|
|
1188
|
+
import locale from 'date-fns/locale/nl-BE';
|
|
1189
|
+
export default locale;
|
|
1190
|
+
}
|
|
1191
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
|
|
1192
|
+
import locale from 'date-fns/locale/nl';
|
|
1193
|
+
export default locale;
|
|
1194
|
+
}
|
|
1195
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
|
|
1196
|
+
import locale from 'date-fns/locale/pl';
|
|
1197
|
+
export default locale;
|
|
1198
|
+
}
|
|
1199
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
|
|
1200
|
+
import locale from 'date-fns/locale/pt-BR';
|
|
1201
|
+
export default locale;
|
|
1202
|
+
}
|
|
1203
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
|
|
1204
|
+
import locale from 'date-fns/locale/pt';
|
|
1205
|
+
export default locale;
|
|
1206
|
+
}
|
|
1207
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
|
|
1208
|
+
import locale from 'date-fns/locale/ro';
|
|
1209
|
+
export default locale;
|
|
1210
|
+
}
|
|
1211
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
|
|
1212
|
+
import locale from 'date-fns/locale/ru';
|
|
1213
|
+
export default locale;
|
|
1214
|
+
}
|
|
1215
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
|
|
1216
|
+
import locale from 'date-fns/locale/sk';
|
|
1217
|
+
export default locale;
|
|
1218
|
+
}
|
|
1219
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
|
|
1220
|
+
import locale from 'date-fns/locale/sl';
|
|
1221
|
+
export default locale;
|
|
1222
|
+
}
|
|
1223
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
|
|
1224
|
+
import locale from 'date-fns/locale/sr-Latn';
|
|
1225
|
+
export default locale;
|
|
1226
|
+
}
|
|
1227
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
|
|
1228
|
+
import locale from 'date-fns/locale/sr';
|
|
1229
|
+
export default locale;
|
|
1230
|
+
}
|
|
1231
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
|
|
1232
|
+
import locale from 'date-fns/locale/sv';
|
|
1233
|
+
export default locale;
|
|
1234
|
+
}
|
|
1235
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
|
|
1236
|
+
import locale from 'date-fns/locale/ta';
|
|
1237
|
+
export default locale;
|
|
1238
|
+
}
|
|
1239
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
|
|
1240
|
+
import locale from 'date-fns/locale/te';
|
|
1241
|
+
export default locale;
|
|
1242
|
+
}
|
|
1243
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
|
|
1244
|
+
import locale from 'date-fns/locale/th';
|
|
1245
|
+
export default locale;
|
|
1246
|
+
}
|
|
1247
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
|
|
1248
|
+
import locale from 'date-fns/locale/tr';
|
|
1249
|
+
export default locale;
|
|
1250
|
+
}
|
|
1251
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
|
|
1252
|
+
import locale from 'date-fns/locale/uk';
|
|
1253
|
+
export default locale;
|
|
1254
|
+
}
|
|
1255
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
|
|
1256
|
+
import locale from 'date-fns/locale/vi';
|
|
1257
|
+
export default locale;
|
|
1258
|
+
}
|
|
1259
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
|
|
1260
|
+
import locale from 'date-fns/locale/zh-CN';
|
|
1261
|
+
export default locale;
|
|
1262
|
+
}
|
|
1263
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
|
|
1264
|
+
import locale from 'date-fns/locale/zh-TW';
|
|
1265
|
+
export default locale;
|
|
1266
|
+
}
|
|
1267
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
|
|
1268
|
+
import locale from 'date-fns/locale/en-US';
|
|
1269
|
+
export default locale;
|
|
1270
|
+
}
|
|
1271
|
+
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1272
|
+
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1273
|
+
}
|
|
1029
1274
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1030
1275
|
export const orderedFeatureSet: string[];
|
|
1031
1276
|
export class FeatureSet {
|
|
@@ -1198,6 +1443,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1198
1443
|
customDomain?: string;
|
|
1199
1444
|
allowSelfRegistration?: boolean;
|
|
1200
1445
|
brandFolderConfig?: BrandFolderConfig;
|
|
1446
|
+
hideSubscriptionName?: boolean;
|
|
1201
1447
|
}
|
|
1202
1448
|
export interface BrandFolderConfig {
|
|
1203
1449
|
sections?: string[];
|
|
@@ -1274,9 +1520,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1274
1520
|
subscriptionId: string;
|
|
1275
1521
|
subscriptionName: string;
|
|
1276
1522
|
}
|
|
1277
|
-
export
|
|
1278
|
-
|
|
1279
|
-
|
|
1523
|
+
export enum ExtensionArea {
|
|
1524
|
+
global = "Global",
|
|
1525
|
+
page = "Page",
|
|
1526
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
1527
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
1528
|
+
itemEditor = "ItemEditor"
|
|
1529
|
+
}
|
|
1530
|
+
export type InlinePlugin = {
|
|
1531
|
+
area: ExtensionArea.itemEditor;
|
|
1532
|
+
objectButton: PluginObjectButton;
|
|
1533
|
+
};
|
|
1534
|
+
export type PagePlugin = {
|
|
1535
|
+
area: ExtensionArea.page;
|
|
1280
1536
|
route: string;
|
|
1281
1537
|
navigationNode?: {
|
|
1282
1538
|
componentName?: string;
|
|
@@ -1286,7 +1542,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1286
1542
|
[key: string]: string;
|
|
1287
1543
|
};
|
|
1288
1544
|
};
|
|
1289
|
-
}
|
|
1545
|
+
};
|
|
1546
|
+
export type PluginExtension = {
|
|
1547
|
+
area: ExtensionArea;
|
|
1548
|
+
componentName: string;
|
|
1549
|
+
} & (InlinePlugin | PagePlugin);
|
|
1550
|
+
export type PluginObjectButton = {
|
|
1551
|
+
buttonLabel: {
|
|
1552
|
+
defaultLabel: string;
|
|
1553
|
+
translations?: {
|
|
1554
|
+
[key: string]: string;
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
iconName: string;
|
|
1558
|
+
};
|
|
1290
1559
|
export interface PluginNotificationDefinitions {
|
|
1291
1560
|
key: string;
|
|
1292
1561
|
title: string;
|
|
@@ -1390,6 +1659,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1390
1659
|
pluginNotifications: {
|
|
1391
1660
|
[key: string]: NotificationType;
|
|
1392
1661
|
};
|
|
1662
|
+
newsEditor: NotificationType;
|
|
1663
|
+
eventEditor: NotificationType;
|
|
1393
1664
|
}
|
|
1394
1665
|
export interface RequestUser extends BasicUserInformation {
|
|
1395
1666
|
tenantId: string;
|
|
@@ -1490,6 +1761,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1490
1761
|
user: UserSummary;
|
|
1491
1762
|
type: SubscriptionJoinResultType;
|
|
1492
1763
|
message?: string;
|
|
1764
|
+
isSuccess?: boolean;
|
|
1493
1765
|
}
|
|
1494
1766
|
export interface UserActivationResult {
|
|
1495
1767
|
type: UserActivationResultType;
|
|
@@ -1716,11 +1988,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
|
1716
1988
|
knownState: KnownNewsState;
|
|
1717
1989
|
hasNewComments?: boolean;
|
|
1718
1990
|
isLiked?: boolean;
|
|
1719
|
-
shareToken?: ShareToken;
|
|
1720
|
-
}
|
|
1721
|
-
export interface ShareToken {
|
|
1722
|
-
published?: string;
|
|
1723
|
-
preview?: string;
|
|
1724
1991
|
}
|
|
1725
1992
|
export interface NewsItemAlertOptions {
|
|
1726
1993
|
duration?: string;
|
|
@@ -1908,6 +2175,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1908
2175
|
useExternalContent?: boolean;
|
|
1909
2176
|
isDemoContent?: boolean;
|
|
1910
2177
|
}
|
|
2178
|
+
export interface ShareablePublishableItem extends PublishableItem {
|
|
2179
|
+
shareToken: ShareToken;
|
|
2180
|
+
}
|
|
2181
|
+
export interface ShareToken {
|
|
2182
|
+
published?: string;
|
|
2183
|
+
preview?: string;
|
|
2184
|
+
}
|
|
1911
2185
|
export interface PublishableItemVersion extends PublishableItem {
|
|
1912
2186
|
itemId: string;
|
|
1913
2187
|
versionModificationDate: string;
|
|
@@ -1931,6 +2205,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1931
2205
|
}
|
|
1932
2206
|
}
|
|
1933
2207
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2208
|
+
import { Api } from 'restful.js';
|
|
1934
2209
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
1935
2210
|
export class ClientFactoryInstance {
|
|
1936
2211
|
private env;
|
|
@@ -1941,7 +2216,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1941
2216
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
1942
2217
|
url: string;
|
|
1943
2218
|
}) => Promise<unknown>);
|
|
1944
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2219
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
1945
2220
|
private createApiInternal;
|
|
1946
2221
|
private addRequestTimeLogger;
|
|
1947
2222
|
createApiUrl: (url: string, query?: {
|
|
@@ -2259,12 +2534,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2259
2534
|
isUnlinked?: boolean;
|
|
2260
2535
|
pageType?: PageType;
|
|
2261
2536
|
firstChildId?: string;
|
|
2537
|
+
isGroupInheritanceBroken?: boolean;
|
|
2262
2538
|
}
|
|
2263
2539
|
export interface ContentsSummary {
|
|
2264
2540
|
[lang: string]: TitleContent & {
|
|
2265
2541
|
fileInfo?: DocumentFileInfo;
|
|
2266
2542
|
};
|
|
2267
2543
|
}
|
|
2544
|
+
export interface GroupInheritanceUpdateRequest {
|
|
2545
|
+
breakGroupInheritance: boolean;
|
|
2546
|
+
}
|
|
2268
2547
|
export interface PageNavigationNode {
|
|
2269
2548
|
id: string;
|
|
2270
2549
|
contents?: ContentsSummary;
|
|
@@ -2280,6 +2559,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2280
2559
|
hasAnyPageChild?: boolean;
|
|
2281
2560
|
pageType?: PageType;
|
|
2282
2561
|
useExternalContent?: boolean;
|
|
2562
|
+
isGroupInheritanceBroken?: boolean;
|
|
2283
2563
|
isSearchMatch?: boolean;
|
|
2284
2564
|
topLevelFolderName?: string;
|
|
2285
2565
|
uploadToken?: string;
|
|
@@ -2448,6 +2728,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2448
2728
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2449
2729
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2450
2730
|
}
|
|
2731
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2732
|
+
export const maxContentWidth = 985;
|
|
2733
|
+
export const adminMaxWidth = 600;
|
|
2734
|
+
export const spacingXxs = 3;
|
|
2735
|
+
export const spacingXs = 6;
|
|
2736
|
+
export const spacingS = 10;
|
|
2737
|
+
export const spacingM = 20;
|
|
2738
|
+
export const spacingL = 30;
|
|
2739
|
+
export const spacingX = 40;
|
|
2740
|
+
export const spacingXl = 60;
|
|
2741
|
+
export const minScreenSize: {
|
|
2742
|
+
small: number;
|
|
2743
|
+
medium: number;
|
|
2744
|
+
large: number;
|
|
2745
|
+
xLarge: number;
|
|
2746
|
+
xxLarge: number;
|
|
2747
|
+
xxxLarge: number;
|
|
2748
|
+
};
|
|
2749
|
+
export const maxScreenSize: {
|
|
2750
|
+
small: number;
|
|
2751
|
+
medium: number;
|
|
2752
|
+
large: number;
|
|
2753
|
+
xLarge: number;
|
|
2754
|
+
xxLarge: number;
|
|
2755
|
+
};
|
|
2756
|
+
export const sidebarWidth = 285;
|
|
2757
|
+
export const sidebarWidthRight = 320;
|
|
2758
|
+
export const sidebarItemHeight = 50;
|
|
2759
|
+
export const headerHeight = 50;
|
|
2760
|
+
export const headerSecondaryHeight = 50;
|
|
2761
|
+
export const notificationHeight = 50;
|
|
2762
|
+
export const mainContentPanelWidth = 300;
|
|
2763
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2764
|
+
export const fontSizeLarger = 40;
|
|
2765
|
+
export const fontSizeLarge = 25;
|
|
2766
|
+
export const fontSizeMedium = 18;
|
|
2767
|
+
export const fontSizeNormal = 16;
|
|
2768
|
+
export const fontSizeSmall = 14;
|
|
2769
|
+
export const fontSizeSmaller = 12;
|
|
2770
|
+
export const socialIconSize = 26;
|
|
2771
|
+
export const lineHeight = 23;
|
|
2772
|
+
export const smallScreenLoginHeight = 40;
|
|
2773
|
+
export const bannerAspectRatio: number;
|
|
2774
|
+
export const bannerWidth = 980;
|
|
2775
|
+
export const bannerHeight = 420;
|
|
2776
|
+
export const HighlightBubbleSize = 12;
|
|
2777
|
+
export const StatusBubbleSize = 10;
|
|
2778
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2779
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2780
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2781
|
+
export const dialogSpacing = 24;
|
|
2782
|
+
export const detailViewSectionPadding = 20;
|
|
2783
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2784
|
+
export const postsSectionPadding = 20;
|
|
2785
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2786
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2787
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2788
|
+
export const feedbackButtonHeight = 32;
|
|
2789
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2790
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2791
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2792
|
+
export const statusColors: {
|
|
2793
|
+
draft: string;
|
|
2794
|
+
ready: string;
|
|
2795
|
+
rejected: string;
|
|
2796
|
+
};
|
|
2797
|
+
export const cardWidthS = 260;
|
|
2798
|
+
export const cardWidthM = 354;
|
|
2799
|
+
export const cardWidthL = 314;
|
|
2800
|
+
export const cardWidthXL = 423;
|
|
2801
|
+
export const managePagesRowWidth = 300;
|
|
2802
|
+
export const managePagesRowHeight = 40;
|
|
2803
|
+
export const mobilePreviewWidth = 414;
|
|
2804
|
+
}
|
|
2805
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2806
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2807
|
+
import { IntlShape } from 'react-intl';
|
|
2808
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2809
|
+
export enum LinkType {
|
|
2810
|
+
Internal = "internal",
|
|
2811
|
+
External = "external",
|
|
2812
|
+
Download = "download"
|
|
2813
|
+
}
|
|
2814
|
+
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}";
|
|
2815
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2816
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2817
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2818
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2819
|
+
logoInfo: LogoInfo;
|
|
2820
|
+
subscriptionName: string;
|
|
2821
|
+
};
|
|
2822
|
+
}
|
|
2823
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2824
|
+
export enum AnalyticsInteractionEvents {
|
|
2825
|
+
embeddedVideo = "embedded-video",
|
|
2826
|
+
embeddedAudio = "embedded-audio",
|
|
2827
|
+
languageChange = "language-change",
|
|
2828
|
+
eventRegistration = "event-registration",
|
|
2829
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2830
|
+
translateContent = "translate-content",
|
|
2831
|
+
downloadFile = "download-file",
|
|
2832
|
+
embeddedIframe = "embedded-iframe",
|
|
2833
|
+
externalLink = "external-link",
|
|
2834
|
+
follow = "follow",
|
|
2835
|
+
bookmark = "bookmark"
|
|
2836
|
+
}
|
|
2837
|
+
export enum AnalyticsActions {
|
|
2838
|
+
click = "click",
|
|
2839
|
+
navigate = "navigate",
|
|
2840
|
+
view = "view",
|
|
2841
|
+
search = "search"
|
|
2842
|
+
}
|
|
2843
|
+
export enum AnalyticsModuleType {
|
|
2844
|
+
Admin = "admin",
|
|
2845
|
+
Chat = "chat",
|
|
2846
|
+
Comments = "comments",
|
|
2847
|
+
Events = "events",
|
|
2848
|
+
Search = "search",
|
|
2849
|
+
News = "news",
|
|
2850
|
+
Pages = "pages",
|
|
2851
|
+
People = "people",
|
|
2852
|
+
Posts = "posts",
|
|
2853
|
+
Stream = "stream",
|
|
2854
|
+
User = "user"
|
|
2855
|
+
}
|
|
2856
|
+
export enum AnalyticsModuleSubtype {
|
|
2857
|
+
AllChats = "allChats",
|
|
2858
|
+
AllNews = "allNews",
|
|
2859
|
+
AllPosts = "allPosts",
|
|
2860
|
+
Bookmarks = "bookmarks",
|
|
2861
|
+
Channel = "channel",
|
|
2862
|
+
Channels = "channels",
|
|
2863
|
+
ChatConversation = "conversation",
|
|
2864
|
+
Customization = "customization",
|
|
2865
|
+
DetailView = "detailView",
|
|
2866
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2867
|
+
Group = "group",
|
|
2868
|
+
Groups = "groups",
|
|
2869
|
+
Keywords = "keywords",
|
|
2870
|
+
Languages = "languages",
|
|
2871
|
+
MyNews = "myNews",
|
|
2872
|
+
Owners = "owners",
|
|
2873
|
+
Preview = "preview",
|
|
2874
|
+
RootPages = "rootPages",
|
|
2875
|
+
Search = "search",
|
|
2876
|
+
SelfRegistration = "selfRegistration",
|
|
2877
|
+
TargetAudience = "targetAudience",
|
|
2878
|
+
UpcomingEvents = "upcoming",
|
|
2879
|
+
BookedEvents = "booked",
|
|
2880
|
+
PastEvents = "past",
|
|
2881
|
+
Users = "users",
|
|
2882
|
+
WebHooks = "webHooks",
|
|
2883
|
+
Editor = "editor"
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2886
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2887
|
+
export function useLinkInteraction(): void;
|
|
2888
|
+
}
|
|
2889
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2890
|
+
export function useIframeInteraction(): void;
|
|
2891
|
+
}
|
|
2892
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
|
|
2893
|
+
import { FC } from 'react';
|
|
2894
|
+
import { EventModule } from '@livetiles/analytics';
|
|
2895
|
+
export const AnalyticsModuleContext: import("react").Context<EventModule>;
|
|
2896
|
+
export const AnalyticsModuleContextProvider: FC<{
|
|
2897
|
+
module: EventModule;
|
|
2898
|
+
}>;
|
|
2899
|
+
}
|
|
2900
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2901
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2902
|
+
import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
|
|
2903
|
+
export interface SearchAnalytics {
|
|
2904
|
+
data: EventSearch[];
|
|
2905
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2906
|
+
onItemRead: (itemId: string) => void;
|
|
2907
|
+
}
|
|
2908
|
+
export interface ModuleAnalytics {
|
|
2909
|
+
module: EventModule;
|
|
2910
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2911
|
+
}
|
|
2912
|
+
interface ActivityAnalytics {
|
|
2913
|
+
trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
|
|
2914
|
+
sendActivity: () => void;
|
|
2915
|
+
}
|
|
2916
|
+
export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
|
|
2917
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2918
|
+
export function useAnalyticsContext(): {
|
|
2919
|
+
interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
|
|
2920
|
+
trackActivity: (scrollContainer?: HTMLElement) => Activity;
|
|
2921
|
+
getUser: () => import("@segment/analytics-next").User;
|
|
2922
|
+
identify: (userId: string, traits?: Record<string, unknown>) => void;
|
|
2923
|
+
activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
|
|
2924
|
+
module: EventModule;
|
|
2925
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2926
|
+
data: EventSearch[];
|
|
2927
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2928
|
+
onItemRead: (itemId: string) => void;
|
|
2929
|
+
sendActivity: () => void;
|
|
2930
|
+
};
|
|
2931
|
+
export const AnalyticsLibraryContextProvider: FC<{
|
|
2932
|
+
appName?: string;
|
|
2933
|
+
}>;
|
|
2934
|
+
export const AnalyticsContextProvider: FC;
|
|
2935
|
+
}
|
|
2936
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
2937
|
+
import { Observable } from 'rxjs';
|
|
2938
|
+
export const onPageScroll: Observable<number>;
|
|
2939
|
+
export function handlePageScroll(availableScrollSpace: number): void;
|
|
2940
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2941
|
+
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
2942
|
+
}
|
|
2943
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2944
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2945
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2946
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2947
|
+
}
|
|
2948
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2949
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2950
|
+
}
|
|
2951
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2952
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2953
|
+
}
|
|
2954
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2955
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2956
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2957
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2958
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2959
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2960
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
2961
|
+
}
|
|
2451
2962
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2452
2963
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2453
2964
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2521,6 +3032,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2521
3032
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2522
3033
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2523
3034
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
3035
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
3036
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2524
3037
|
};
|
|
2525
3038
|
}
|
|
2526
3039
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2546,6 +3059,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2546
3059
|
customDomain?: string;
|
|
2547
3060
|
allowSelfRegistration?: boolean;
|
|
2548
3061
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3062
|
+
hideSubscriptionName?: boolean;
|
|
2549
3063
|
id: string;
|
|
2550
3064
|
subscriptionName: string;
|
|
2551
3065
|
subscriptionHandle?: string;
|
|
@@ -2711,7 +3225,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2711
3225
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2712
3226
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2713
3227
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2714
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3228
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2715
3229
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2716
3230
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2717
3231
|
};
|
|
@@ -2817,17 +3331,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2817
3331
|
}
|
|
2818
3332
|
}
|
|
2819
3333
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2820
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3334
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2821
3335
|
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
3336
|
export interface PluginNavigationNodeProps {
|
|
2829
3337
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2830
3338
|
}
|
|
3339
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3340
|
+
isEditMode?: boolean;
|
|
3341
|
+
componentInstanceId: string;
|
|
3342
|
+
};
|
|
2831
3343
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2832
3344
|
type DevPlugin = {
|
|
2833
3345
|
pluginId: string;
|
|
@@ -2881,22 +3393,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2881
3393
|
}
|
|
2882
3394
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2883
3395
|
import { FC } from 'react';
|
|
2884
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3396
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2885
3397
|
export const Plugins: FC<{
|
|
2886
3398
|
area: ExtensionArea;
|
|
2887
3399
|
} & any>;
|
|
2888
3400
|
}
|
|
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
3401
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2901
3402
|
export class Color {
|
|
2902
3403
|
private r;
|
|
@@ -3041,77 +3542,24 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3041
3542
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3042
3543
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3043
3544
|
}
|
|
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;
|
|
3545
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3546
|
+
import { FC } from 'react';
|
|
3547
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3548
|
+
export const Plugin: FC<PluginProps & {
|
|
3549
|
+
showDetailedErrorMessage?: boolean;
|
|
3550
|
+
} & any>;
|
|
3551
|
+
}
|
|
3552
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3553
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3554
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3555
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3556
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3557
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3558
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3559
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3560
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3561
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3562
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3115
3563
|
}
|
|
3116
3564
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3117
3565
|
import { FC, ReactNode } from 'react';
|
|
@@ -3215,6 +3663,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3215
3663
|
width?: number;
|
|
3216
3664
|
height?: number;
|
|
3217
3665
|
}
|
|
3666
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3667
|
+
imageAlignment?: ImageAlignment;
|
|
3668
|
+
}
|
|
3669
|
+
export enum ImageAlignment {
|
|
3670
|
+
Default = "default",
|
|
3671
|
+
Left = "left",
|
|
3672
|
+
Right = "right",
|
|
3673
|
+
Center = "center"
|
|
3674
|
+
}
|
|
3218
3675
|
}
|
|
3219
3676
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3220
3677
|
export interface MainPanelContextType {
|
|
@@ -3225,13 +3682,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3225
3682
|
}
|
|
3226
3683
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3227
3684
|
}
|
|
3228
|
-
declare module "libs/reach/util/common/src/PagingService" {
|
|
3229
|
-
import { Observable } from 'rxjs';
|
|
3230
|
-
export const onPageScroll: Observable<number>;
|
|
3231
|
-
export function handlePageScroll(availableScrollSpace: number): void;
|
|
3232
|
-
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
3233
|
-
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
3234
|
-
}
|
|
3235
3685
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3236
3686
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3237
3687
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
@@ -3265,6 +3715,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3265
3715
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3266
3716
|
}
|
|
3267
3717
|
}
|
|
3718
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3719
|
+
export interface ModalRouting {
|
|
3720
|
+
isActive: boolean;
|
|
3721
|
+
itemId: string;
|
|
3722
|
+
backgroundLocation: any;
|
|
3723
|
+
}
|
|
3724
|
+
export function useModalRouting(): {
|
|
3725
|
+
isModalRoutingActive: boolean;
|
|
3726
|
+
modalItemId: string;
|
|
3727
|
+
backgroundLocation: any;
|
|
3728
|
+
};
|
|
3729
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3730
|
+
modalRouting: {
|
|
3731
|
+
isActive: boolean;
|
|
3732
|
+
itemId: string;
|
|
3733
|
+
backgroundLocation: {
|
|
3734
|
+
state: {
|
|
3735
|
+
modalRouting: {
|
|
3736
|
+
isActive: boolean;
|
|
3737
|
+
};
|
|
3738
|
+
};
|
|
3739
|
+
pathname: string;
|
|
3740
|
+
search: string;
|
|
3741
|
+
hash: string;
|
|
3742
|
+
key?: string;
|
|
3743
|
+
};
|
|
3744
|
+
};
|
|
3745
|
+
};
|
|
3746
|
+
}
|
|
3268
3747
|
declare module "libs/reach/util/common/src/index" {
|
|
3269
3748
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3270
3749
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3274,6 +3753,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3274
3753
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3275
3754
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3276
3755
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3756
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3277
3757
|
export * from "libs/reach/util/common/src/user/index";
|
|
3278
3758
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3279
3759
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3292,6 +3772,9 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3292
3772
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3293
3773
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3294
3774
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3775
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3776
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3777
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3295
3778
|
}
|
|
3296
3779
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3297
3780
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3348,7 +3831,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3348
3831
|
text?: string | JSX.Element;
|
|
3349
3832
|
resourceKey?: string;
|
|
3350
3833
|
values?: {
|
|
3351
|
-
[key: string]: string | number | boolean | Date;
|
|
3834
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3352
3835
|
};
|
|
3353
3836
|
width?: number;
|
|
3354
3837
|
onClick?: () => unknown;
|
|
@@ -3428,7 +3911,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3428
3911
|
export const PeoplePicker: FC<Props>;
|
|
3429
3912
|
}
|
|
3430
3913
|
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";
|
|
3914
|
+
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
3915
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3433
3916
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3434
3917
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3445,7 +3928,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3445
3928
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3446
3929
|
*/
|
|
3447
3930
|
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, };
|
|
3931
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3449
3932
|
}
|
|
3450
3933
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3451
3934
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3461,6 +3944,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3461
3944
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3462
3945
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3463
3946
|
}
|
|
3947
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3948
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3949
|
+
}
|
|
3464
3950
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3465
3951
|
import { FC } from 'react';
|
|
3466
3952
|
export const NotificationBar: FC;
|
|
@@ -3477,6 +3963,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3477
3963
|
export const AudioFile: FC<{
|
|
3478
3964
|
fileName: string;
|
|
3479
3965
|
url: string;
|
|
3966
|
+
onPlay?: (url: string) => void;
|
|
3480
3967
|
}>;
|
|
3481
3968
|
export function isAudioFile(fileName: string): boolean;
|
|
3482
3969
|
}
|
|
@@ -3500,37 +3987,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3500
3987
|
color?: string;
|
|
3501
3988
|
}, never>;
|
|
3502
3989
|
}
|
|
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
3990
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3535
3991
|
import { FC } from 'react';
|
|
3536
3992
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3573,6 +4029,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDialog" {
|
|
|
3573
4029
|
infoResourceValues?: any;
|
|
3574
4030
|
onConfirm?: () => unknown;
|
|
3575
4031
|
onClose?: () => unknown;
|
|
4032
|
+
width?: number;
|
|
3576
4033
|
}>;
|
|
3577
4034
|
}
|
|
3578
4035
|
declare module "libs/reach/ui/common/src/common/ConfirmResetDialog" {
|
|
@@ -3608,7 +4065,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
|
|
|
3608
4065
|
export const isSameDay: (value: moment.MomentInput) => boolean;
|
|
3609
4066
|
export const DateTime: FC<Props>;
|
|
3610
4067
|
export const DateTimeRange: FC<{
|
|
3611
|
-
startDate
|
|
4068
|
+
startDate?: string;
|
|
3612
4069
|
endDate?: string;
|
|
3613
4070
|
className?: string;
|
|
3614
4071
|
}>;
|
|
@@ -3694,6 +4151,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3694
4151
|
export const VideoFile: FC<{
|
|
3695
4152
|
fileName: string;
|
|
3696
4153
|
url: string;
|
|
4154
|
+
onPlay?: (url: string) => void;
|
|
3697
4155
|
}>;
|
|
3698
4156
|
export function isVideoFile(fileName: string): boolean;
|
|
3699
4157
|
}
|
|
@@ -3716,24 +4174,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3716
4174
|
}[]>;
|
|
3717
4175
|
export function getFileIcon(filename: string): string;
|
|
3718
4176
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4177
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3719
4178
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3720
4179
|
}
|
|
3721
4180
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4181
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3722
4182
|
export function useFileAccessTokenApi(): {
|
|
3723
4183
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3724
4184
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3725
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4185
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3726
4186
|
};
|
|
3727
4187
|
}
|
|
3728
4188
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3729
4189
|
import { FC } from 'react';
|
|
3730
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4190
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3731
4191
|
export const FileAttachmentList: FC<{
|
|
3732
4192
|
files: Attachment[];
|
|
3733
4193
|
onDeleteClick?: (file: Attachment) => void;
|
|
3734
4194
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4195
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4196
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3735
4197
|
fileAccessToken?: string;
|
|
3736
4198
|
disabled?: boolean;
|
|
4199
|
+
parentId?: string;
|
|
4200
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3737
4201
|
className?: string;
|
|
3738
4202
|
}>;
|
|
3739
4203
|
}
|
|
@@ -4026,13 +4490,35 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4026
4490
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4027
4491
|
}
|
|
4028
4492
|
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>>;
|
|
4493
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4030
4494
|
}
|
|
4031
4495
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4032
4496
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
4033
4497
|
import { IntlShape } from 'react-intl';
|
|
4034
4498
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4035
4499
|
}
|
|
4500
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4501
|
+
export const smallScreenSpacing = 10;
|
|
4502
|
+
export const smallMaxContentWidth: number;
|
|
4503
|
+
export const mediumMaxContentWidth: number;
|
|
4504
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4505
|
+
}
|
|
4506
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4507
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4508
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4509
|
+
export function isValidUrl(url: string): boolean;
|
|
4510
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4511
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4512
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4513
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4514
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4515
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4516
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4517
|
+
defaultWidth?: number;
|
|
4518
|
+
showPlaceholder?: boolean;
|
|
4519
|
+
}, never>;
|
|
4520
|
+
export function encodeChannelName(channelName: string): string;
|
|
4521
|
+
}
|
|
4036
4522
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4037
4523
|
import { FC, ReactNode } from 'react';
|
|
4038
4524
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4056,12 +4542,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4056
4542
|
}
|
|
4057
4543
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4058
4544
|
import { FC } from 'react';
|
|
4545
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4059
4546
|
export const AutoTranslateButton: FC<{
|
|
4060
4547
|
contentLanguageCode: string;
|
|
4061
4548
|
originalContent: string;
|
|
4062
4549
|
content: string;
|
|
4063
4550
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4064
4551
|
onContentChange: (content: string) => void;
|
|
4552
|
+
itemType: ItemResourceTypes;
|
|
4553
|
+
itemId: string;
|
|
4065
4554
|
tooltipResourceKey?: string;
|
|
4066
4555
|
showLabel?: boolean;
|
|
4067
4556
|
}>;
|
|
@@ -4345,6 +4834,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4345
4834
|
className?: string;
|
|
4346
4835
|
}>;
|
|
4347
4836
|
}
|
|
4837
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4838
|
+
export const useIsMounted: () => () => boolean;
|
|
4839
|
+
}
|
|
4348
4840
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4349
4841
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4350
4842
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4649,8 +5141,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
|
|
|
4649
5141
|
export interface Props extends IPersonaProps {
|
|
4650
5142
|
upn: string;
|
|
4651
5143
|
tenantId?: string;
|
|
4652
|
-
className?: string;
|
|
4653
5144
|
displayName?: string;
|
|
5145
|
+
forceShowSecondaryText?: boolean;
|
|
5146
|
+
className?: string;
|
|
4654
5147
|
}
|
|
4655
5148
|
export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
|
|
4656
5149
|
static type: string;
|
|
@@ -4825,6 +5318,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4825
5318
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4826
5319
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4827
5320
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5321
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4828
5322
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4829
5323
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4830
5324
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4857,6 +5351,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4857
5351
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
4858
5352
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
4859
5353
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5354
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
4860
5355
|
}
|
|
4861
5356
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
4862
5357
|
import { ReactNode } from 'react';
|
|
@@ -4908,7 +5403,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4908
5403
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4909
5404
|
}
|
|
4910
5405
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4911
|
-
import { FC } from 'react';
|
|
5406
|
+
import { FC, DependencyList } from 'react';
|
|
4912
5407
|
export interface Props {
|
|
4913
5408
|
navigateTo: string;
|
|
4914
5409
|
onClose?: () => void;
|
|
@@ -4917,7 +5412,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4917
5412
|
className?: string;
|
|
4918
5413
|
}
|
|
4919
5414
|
export const CloseButton: FC<Props>;
|
|
4920
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5415
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4921
5416
|
}
|
|
4922
5417
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4923
5418
|
export const LogoHostStyle: (size?: {
|
|
@@ -4981,8 +5476,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4981
5476
|
export const SkipLinksContextProvider: FC;
|
|
4982
5477
|
}
|
|
4983
5478
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5479
|
+
import { DependencyList } from 'react';
|
|
4984
5480
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4985
|
-
export function useAddSkipLinks(
|
|
5481
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4986
5482
|
}
|
|
4987
5483
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4988
5484
|
import { FC } from 'react';
|
|
@@ -5008,9 +5504,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5008
5504
|
}
|
|
5009
5505
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5010
5506
|
import { FC, ReactNode } from 'react';
|
|
5507
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5011
5508
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5012
5509
|
import './BasicPage.scss';
|
|
5013
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5014
5510
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5015
5511
|
type HeaderToolbarObjectTypeHack = {
|
|
5016
5512
|
toolbarElement: JSX.Element;
|
|
@@ -5033,6 +5529,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5033
5529
|
closeButtonOptions?: CloseButtonOptions;
|
|
5034
5530
|
showSearchBox?: boolean;
|
|
5035
5531
|
disableScrollableContainerFocus?: boolean;
|
|
5532
|
+
asModal?: boolean;
|
|
5533
|
+
domIdentifier?: string;
|
|
5036
5534
|
}
|
|
5037
5535
|
export const BasicPage: FC<Props>;
|
|
5038
5536
|
}
|
|
@@ -5126,7 +5624,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5126
5624
|
addLanguage: (code: string) => Promise<Language>;
|
|
5127
5625
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5128
5626
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5129
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5627
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5628
|
+
name: string | null;
|
|
5629
|
+
hideName: boolean | null;
|
|
5630
|
+
}>;
|
|
5130
5631
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5131
5632
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5132
5633
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5432,11 +5933,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5432
5933
|
export { PushClient };
|
|
5433
5934
|
}
|
|
5434
5935
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5435
|
-
import { ConfigureOptions, MigrateResult,
|
|
5436
|
-
export class MobileHybridStorage implements
|
|
5936
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5937
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5437
5938
|
private pluginStorage;
|
|
5438
5939
|
private static memoryStorage;
|
|
5439
|
-
constructor(pluginStorage:
|
|
5940
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5440
5941
|
get(options: {
|
|
5441
5942
|
key: string;
|
|
5442
5943
|
}): Promise<any>;
|
|
@@ -5448,7 +5949,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5448
5949
|
key: string;
|
|
5449
5950
|
}): Promise<void>;
|
|
5450
5951
|
clear(): Promise<void>;
|
|
5451
|
-
keys(): Promise<import("@capacitor/
|
|
5952
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5452
5953
|
private static updateInMemoryStorage;
|
|
5453
5954
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5454
5955
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5484,7 +5985,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5484
5985
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5485
5986
|
}
|
|
5486
5987
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5487
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5988
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5488
5989
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5489
5990
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5490
5991
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5493,6 +5994,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5493
5994
|
getId(): Promise<DeviceId>;
|
|
5494
5995
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5495
5996
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
5997
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5496
5998
|
}
|
|
5497
5999
|
}
|
|
5498
6000
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5509,8 +6011,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5509
6011
|
}
|
|
5510
6012
|
}
|
|
5511
6013
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5512
|
-
import { ConfigureOptions, MigrateResult,
|
|
5513
|
-
export class WebStorage implements
|
|
6014
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
6015
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5514
6016
|
storage: Storage;
|
|
5515
6017
|
get(options: {
|
|
5516
6018
|
key: string;
|
|
@@ -5544,14 +6046,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5544
6046
|
import { SharePlugin } from '@capacitor/share';
|
|
5545
6047
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5546
6048
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5547
|
-
import {
|
|
6049
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5548
6050
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5549
6051
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5550
6052
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5551
6053
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5552
6054
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5553
6055
|
export interface CondensePluginRegistry {
|
|
5554
|
-
Storage:
|
|
6056
|
+
Storage: PreferencesPlugin;
|
|
5555
6057
|
Device: DevicePlugin;
|
|
5556
6058
|
App: AppPlugin;
|
|
5557
6059
|
Keyboard: KeyboardPlugin;
|
|
@@ -6213,7 +6715,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6213
6715
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6214
6716
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6215
6717
|
export function useSelfRegistrationApi(): {
|
|
6216
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6718
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6217
6719
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6218
6720
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6219
6721
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6269,6 +6771,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6269
6771
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6270
6772
|
}>;
|
|
6271
6773
|
}
|
|
6774
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6775
|
+
import { FC } from 'react';
|
|
6776
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6777
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6778
|
+
onApiKeyAdded?: () => void;
|
|
6779
|
+
onDismiss: () => void;
|
|
6780
|
+
user?: UserItem;
|
|
6781
|
+
}>;
|
|
6782
|
+
}
|
|
6272
6783
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6273
6784
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6274
6785
|
import './UserList.scss';
|
|
@@ -6292,7 +6803,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6292
6803
|
isLoading?: boolean;
|
|
6293
6804
|
isEmpty?: boolean;
|
|
6294
6805
|
emptyPlaceholder?: ReactNode;
|
|
6806
|
+
onKeyChanged?: () => void;
|
|
6295
6807
|
}
|
|
6808
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6809
|
+
accountType: string;
|
|
6810
|
+
lastLogin: string | JSX.Element;
|
|
6811
|
+
};
|
|
6296
6812
|
export const UserList: FC<Props>;
|
|
6297
6813
|
}
|
|
6298
6814
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6325,12 +6841,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6325
6841
|
className?: string;
|
|
6326
6842
|
}>;
|
|
6327
6843
|
}
|
|
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
6844
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6335
6845
|
import { FC } from 'react';
|
|
6336
6846
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6350,19 +6860,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6350
6860
|
}
|
|
6351
6861
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6352
6862
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6863
|
+
export enum ValidationStatus {
|
|
6864
|
+
Valid = 0,
|
|
6865
|
+
WithErrors = 1,
|
|
6866
|
+
WithUserErrors = 2
|
|
6867
|
+
}
|
|
6868
|
+
export type CsvValidation = {
|
|
6869
|
+
Status?: ValidationStatus;
|
|
6870
|
+
Message?: string;
|
|
6871
|
+
InvalidItems?: string[];
|
|
6872
|
+
};
|
|
6353
6873
|
export function useUserCsvInviter(): {
|
|
6354
6874
|
invitedUsers: UserImport[];
|
|
6355
6875
|
isValidating: boolean;
|
|
6356
6876
|
isCsvValid: boolean;
|
|
6357
6877
|
parseCsvFile: (csvFile: File) => void;
|
|
6358
|
-
|
|
6359
|
-
|
|
6878
|
+
csvValidation: CsvValidation;
|
|
6879
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6360
6880
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6361
6881
|
isParserReady: boolean;
|
|
6362
6882
|
isInviting: boolean;
|
|
6363
6883
|
canInvite: boolean;
|
|
6884
|
+
csvFile: File;
|
|
6364
6885
|
};
|
|
6365
6886
|
}
|
|
6887
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6888
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6889
|
+
}
|
|
6890
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6891
|
+
import { FC } from 'react';
|
|
6892
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6893
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6894
|
+
export const CsvFileValidationResult: FC<{
|
|
6895
|
+
csvValidation: CsvValidation;
|
|
6896
|
+
invitedUsers: UserImport[];
|
|
6897
|
+
}>;
|
|
6898
|
+
}
|
|
6366
6899
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6367
6900
|
import { FC } from 'react';
|
|
6368
6901
|
export const ImportUserButton: FC<{
|
|
@@ -6395,34 +6928,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6395
6928
|
children?: (content: string, index: number) => JSX.Element;
|
|
6396
6929
|
}>;
|
|
6397
6930
|
}
|
|
6398
|
-
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
6399
|
-
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6400
|
-
}
|
|
6401
6931
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6402
6932
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6403
|
-
export class
|
|
6933
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6404
6934
|
static type: string;
|
|
6405
6935
|
type: string;
|
|
6406
6936
|
itemId: string;
|
|
6407
6937
|
response: EventResponse;
|
|
6408
6938
|
locationId: string;
|
|
6409
6939
|
onBehalfOfUpn: string;
|
|
6410
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6940
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6411
6941
|
}
|
|
6412
|
-
export class
|
|
6942
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6413
6943
|
static type: string;
|
|
6414
6944
|
type: string;
|
|
6415
|
-
|
|
6945
|
+
itemId: string;
|
|
6416
6946
|
response: EventResponse;
|
|
6417
|
-
static create(
|
|
6947
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6418
6948
|
}
|
|
6419
|
-
export class
|
|
6949
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6420
6950
|
static type: string;
|
|
6421
6951
|
type: string;
|
|
6422
6952
|
recurrenceSeriesId: string;
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6953
|
+
response: EventResponse;
|
|
6954
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6426
6955
|
}
|
|
6427
6956
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6428
6957
|
static type: string;
|
|
@@ -6437,6 +6966,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6437
6966
|
followByDefault: boolean;
|
|
6438
6967
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6439
6968
|
}
|
|
6969
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6970
|
+
static type: string;
|
|
6971
|
+
type: string;
|
|
6972
|
+
recurrenceSeriesId: string;
|
|
6973
|
+
isLiked: boolean;
|
|
6974
|
+
likeCount: number;
|
|
6975
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6976
|
+
}
|
|
6977
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
6978
|
+
static type: string;
|
|
6979
|
+
type: string;
|
|
6980
|
+
recurrenceSeriesId: string;
|
|
6981
|
+
isFollowed: boolean;
|
|
6982
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
6983
|
+
}
|
|
6440
6984
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6441
6985
|
static type: string;
|
|
6442
6986
|
type: string;
|
|
@@ -6457,6 +7001,26 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6457
7001
|
type: string;
|
|
6458
7002
|
static create(): StreamMarkAllAsReadAction;
|
|
6459
7003
|
}
|
|
7004
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
7005
|
+
static type: string;
|
|
7006
|
+
type: string;
|
|
7007
|
+
itemId: string;
|
|
7008
|
+
static create(itemId: string): RefetchItemAction;
|
|
7009
|
+
}
|
|
7010
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
7011
|
+
static type: string;
|
|
7012
|
+
type: string;
|
|
7013
|
+
itemId: string;
|
|
7014
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
7015
|
+
}
|
|
7016
|
+
export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
|
|
7017
|
+
static type: string;
|
|
7018
|
+
type: string;
|
|
7019
|
+
pageId: string;
|
|
7020
|
+
parentId: string;
|
|
7021
|
+
affectedGroupIds: string[];
|
|
7022
|
+
static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
|
|
7023
|
+
}
|
|
6460
7024
|
}
|
|
6461
7025
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6462
7026
|
export interface CommentFilter {
|
|
@@ -6473,119 +7037,44 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6473
7037
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6474
7038
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6475
7039
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7040
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6476
7041
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6477
7042
|
export function useCommentApi(): {
|
|
6478
|
-
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) =>
|
|
6479
|
-
createEditorComment: (itemId: string, comment: Partial<Comment>) =>
|
|
6480
|
-
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) =>
|
|
6481
|
-
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) =>
|
|
6482
|
-
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) =>
|
|
6483
|
-
getEditorConversations: (itemId: string) =>
|
|
7043
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7044
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7045
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7046
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7047
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7048
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6484
7049
|
translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
|
|
6485
|
-
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) =>
|
|
6486
|
-
deleteEditorComment: (itemId: string, commentId: string) =>
|
|
7050
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7051
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6487
7052
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6488
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7053
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6489
7054
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6490
7055
|
};
|
|
6491
7056
|
}
|
|
6492
|
-
declare module "libs/reach/feature/content/src/
|
|
7057
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7058
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
7059
|
+
}
|
|
7060
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
6493
7061
|
import { FC } from 'react';
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
className?: string;
|
|
6500
|
-
scope: ConversationScope;
|
|
6501
|
-
hideProfileUrl?: boolean;
|
|
6502
|
-
}
|
|
6503
|
-
export const FollowComments: FC<Props>;
|
|
7062
|
+
export const ConfirmationBox: FC<{
|
|
7063
|
+
disabled?: boolean;
|
|
7064
|
+
onChange?: (value: boolean) => void;
|
|
7065
|
+
checked: boolean;
|
|
7066
|
+
}>;
|
|
6504
7067
|
}
|
|
6505
|
-
declare module "libs/reach/feature/content/src/
|
|
6506
|
-
import { ReactNode } from 'react';
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
upn: string;
|
|
6511
|
-
displayName: string;
|
|
6512
|
-
display: string;
|
|
6513
|
-
}
|
|
6514
|
-
export interface SuggestionArgs {
|
|
6515
|
-
searchText: string;
|
|
6516
|
-
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
6517
|
-
}
|
|
6518
|
-
export interface CommentInputProps {
|
|
6519
|
-
className?: string;
|
|
6520
|
-
content: string;
|
|
6521
|
-
disabled?: boolean;
|
|
6522
|
-
autoFocus?: boolean;
|
|
6523
|
-
onEnter?: () => void;
|
|
6524
|
-
onCtrlEnter?: () => unknown;
|
|
6525
|
-
onChange?: (value: string) => void;
|
|
6526
|
-
onFocus?: () => void;
|
|
6527
|
-
additionalInputControl?: ReactNode;
|
|
6528
|
-
buttons?: {
|
|
6529
|
-
leftSide?: ReactNode;
|
|
6530
|
-
rightSide?: ReactNode;
|
|
6531
|
-
};
|
|
6532
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6533
|
-
placeHolderStringResourceKey?: string;
|
|
6534
|
-
placeHolderStringResourceValues?: {
|
|
6535
|
-
[key: string]: string | number | boolean | Date;
|
|
6536
|
-
};
|
|
6537
|
-
disableBoxShadow?: boolean;
|
|
6538
|
-
ariaLabel?: string;
|
|
6539
|
-
}
|
|
6540
|
-
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6541
|
-
}
|
|
6542
|
-
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
6543
|
-
import { FC } from 'react';
|
|
6544
|
-
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7068
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
7069
|
+
import { FC, ReactNode } from 'react';
|
|
7070
|
+
export const GutterMarkerIcon: FC<{
|
|
7071
|
+
iconName: string;
|
|
7072
|
+
children: ReactNode;
|
|
6545
7073
|
isActive: boolean;
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
6551
|
-
export interface KalturaProperties {
|
|
6552
|
-
sp?: string;
|
|
6553
|
-
uiconfId?: string;
|
|
6554
|
-
partnerId?: string;
|
|
6555
|
-
entryId?: string;
|
|
6556
|
-
}
|
|
6557
|
-
export class VideoUrlParser {
|
|
6558
|
-
private url;
|
|
6559
|
-
private static ytRegex;
|
|
6560
|
-
private static vimeoRegex;
|
|
6561
|
-
private static microsoftStreamRegex;
|
|
6562
|
-
private static vimeoDirectLinkRegex;
|
|
6563
|
-
private static vimeoRedirectLinkRegex;
|
|
6564
|
-
private static kalturaRegex;
|
|
6565
|
-
readonly source: VideoSource | null;
|
|
6566
|
-
readonly id: string | null;
|
|
6567
|
-
readonly isDirectVideoUrl: boolean;
|
|
6568
|
-
readonly videoProperties: any;
|
|
6569
|
-
readonly thumbnailUrl: string;
|
|
6570
|
-
constructor(url: string);
|
|
6571
|
-
isValid(features: FeatureSet): boolean;
|
|
6572
|
-
}
|
|
6573
|
-
export function getVideoSources(features: FeatureSet): any[];
|
|
6574
|
-
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6575
|
-
export function getAllVideoSources(features: FeatureSet): any[];
|
|
6576
|
-
}
|
|
6577
|
-
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6578
|
-
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
6579
|
-
export function getAllVideosFromString(content: string): Generator<{
|
|
6580
|
-
url: string;
|
|
6581
|
-
type: AttachmentType;
|
|
6582
|
-
}, void, unknown>;
|
|
6583
|
-
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
6584
|
-
url: string;
|
|
6585
|
-
subscriptionIdentifier: string;
|
|
6586
|
-
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
6587
|
-
id: string;
|
|
6588
|
-
}, void, unknown>;
|
|
7074
|
+
color: string;
|
|
7075
|
+
tooltipResourceKey?: string;
|
|
7076
|
+
className?: string;
|
|
7077
|
+
}>;
|
|
6589
7078
|
}
|
|
6590
7079
|
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
6591
7080
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
@@ -6616,7 +7105,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6616
7105
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6617
7106
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6618
7107
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6619
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
7108
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6620
7109
|
}
|
|
6621
7110
|
export interface BaseFilterDefinition {
|
|
6622
7111
|
search?: string;
|
|
@@ -6624,6 +7113,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6624
7113
|
pageSize?: string | number;
|
|
6625
7114
|
groupId?: string;
|
|
6626
7115
|
}
|
|
7116
|
+
export interface ItemIdsFilterDefinition {
|
|
7117
|
+
itemIds?: string;
|
|
7118
|
+
}
|
|
6627
7119
|
export interface IndexableFilterDefinition {
|
|
6628
7120
|
[key: string]: any;
|
|
6629
7121
|
}
|
|
@@ -6636,6 +7128,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6636
7128
|
And = "AND"
|
|
6637
7129
|
}
|
|
6638
7130
|
}
|
|
7131
|
+
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
7132
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7133
|
+
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
7134
|
+
author?: string;
|
|
7135
|
+
}
|
|
7136
|
+
}
|
|
7137
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
7138
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7139
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
7140
|
+
channels?: FilterWithLogicalOperator;
|
|
7141
|
+
}
|
|
7142
|
+
}
|
|
7143
|
+
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
7144
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7145
|
+
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
7146
|
+
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
7147
|
+
state?: WorkflowStatus;
|
|
7148
|
+
}
|
|
7149
|
+
}
|
|
7150
|
+
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
7151
|
+
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
7152
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7153
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
7154
|
+
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
7155
|
+
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
7156
|
+
groupId?: string;
|
|
7157
|
+
bookmarksOnly?: boolean;
|
|
7158
|
+
unreadOnly?: boolean;
|
|
7159
|
+
includeExpired?: boolean;
|
|
7160
|
+
}
|
|
7161
|
+
}
|
|
7162
|
+
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
7163
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7164
|
+
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
7165
|
+
afterDate?: string;
|
|
7166
|
+
}
|
|
7167
|
+
}
|
|
7168
|
+
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
7169
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7170
|
+
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
7171
|
+
contacts?: string[];
|
|
7172
|
+
}
|
|
7173
|
+
}
|
|
6639
7174
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6640
7175
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
6641
7176
|
export class SortFieldsDefinitionBuilder<T extends string> {
|
|
@@ -6651,18 +7186,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
|
|
|
6651
7186
|
startsBefore?: string;
|
|
6652
7187
|
}
|
|
6653
7188
|
}
|
|
6654
|
-
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
6655
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6656
|
-
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
6657
|
-
contacts?: string[];
|
|
6658
|
-
}
|
|
6659
|
-
}
|
|
6660
|
-
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6661
|
-
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6662
|
-
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6663
|
-
channels?: FilterWithLogicalOperator;
|
|
6664
|
-
}
|
|
6665
|
-
}
|
|
6666
7189
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6667
7190
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6668
7191
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
@@ -6679,18 +7202,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6679
7202
|
}
|
|
6680
7203
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6681
7204
|
}
|
|
6682
|
-
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
6683
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6684
|
-
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
6685
|
-
afterDate?: string;
|
|
6686
|
-
}
|
|
6687
|
-
}
|
|
6688
|
-
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6689
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6690
|
-
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6691
|
-
author?: string;
|
|
6692
|
-
}
|
|
6693
|
-
}
|
|
6694
7205
|
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6695
7206
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6696
7207
|
export interface FilteringProps {
|
|
@@ -6700,25 +7211,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
6700
7211
|
isFilterActive?: boolean;
|
|
6701
7212
|
}
|
|
6702
7213
|
}
|
|
6703
|
-
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
6704
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6705
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
6706
|
-
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
6707
|
-
state?: WorkflowStatus;
|
|
6708
|
-
}
|
|
6709
|
-
}
|
|
6710
|
-
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
6711
|
-
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6712
|
-
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6713
|
-
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6714
|
-
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6715
|
-
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6716
|
-
groupId?: string;
|
|
6717
|
-
bookmarksOnly?: boolean;
|
|
6718
|
-
unreadOnly?: boolean;
|
|
6719
|
-
includeExpired?: boolean;
|
|
6720
|
-
}
|
|
6721
|
-
}
|
|
6722
7214
|
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6723
7215
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6724
7216
|
export enum ItemTypeFilterFlag {
|
|
@@ -6800,16 +7292,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
|
|
|
6800
7292
|
};
|
|
6801
7293
|
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6802
7294
|
}
|
|
6803
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6804
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6805
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6806
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6807
|
-
export function useEventsApi(): {
|
|
6808
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6809
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6810
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6811
|
-
};
|
|
6812
|
-
}
|
|
6813
7295
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6814
7296
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6815
7297
|
import { Observable } from 'rxjs';
|
|
@@ -6869,45 +7351,254 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
|
|
|
6869
7351
|
import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
|
|
6870
7352
|
export function useNewsApi(): NewsApiService;
|
|
6871
7353
|
}
|
|
6872
|
-
declare module "libs/reach/feature/content/src/
|
|
6873
|
-
import {
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
7354
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7355
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7356
|
+
export default interface FeedbackSummary {
|
|
7357
|
+
records: FeedbackItem[];
|
|
7358
|
+
}
|
|
7359
|
+
export enum FeedbackItemType {
|
|
7360
|
+
comment = "comment",
|
|
7361
|
+
like = "like",
|
|
7362
|
+
confirm = "confirm",
|
|
7363
|
+
poll = "poll",
|
|
7364
|
+
eventRegistration = "eventRegistration"
|
|
7365
|
+
}
|
|
7366
|
+
export interface FeedbackItem {
|
|
7367
|
+
type: FeedbackItemType;
|
|
7368
|
+
timestamp: string;
|
|
7369
|
+
}
|
|
7370
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7371
|
+
type: FeedbackItemType.poll;
|
|
7372
|
+
answers: PollQuestionAnswer[];
|
|
6881
7373
|
}
|
|
6882
7374
|
}
|
|
6883
|
-
declare module "libs/reach/feature/content/src/
|
|
6884
|
-
import {
|
|
6885
|
-
import
|
|
6886
|
-
import {
|
|
6887
|
-
export
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
|
|
7375
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7376
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7377
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7378
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7379
|
+
export const feedbackCache: {
|
|
7380
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7381
|
+
};
|
|
7382
|
+
export function useFeedbackApi(): {
|
|
7383
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7384
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7385
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7386
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7387
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7388
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
6897
7389
|
};
|
|
6898
7390
|
}
|
|
6899
|
-
declare module "libs/reach/feature/content/src/
|
|
6900
|
-
import {
|
|
6901
|
-
import {
|
|
6902
|
-
export
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
7391
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
7392
|
+
import { FC } from 'react';
|
|
7393
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
7394
|
+
export const ConfirmationSection: FC<{
|
|
7395
|
+
item?: NewsItem;
|
|
7396
|
+
showDescription: boolean;
|
|
7397
|
+
readOnly?: boolean;
|
|
7398
|
+
className?: string;
|
|
7399
|
+
}>;
|
|
7400
|
+
}
|
|
7401
|
+
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7402
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7403
|
+
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7404
|
+
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7405
|
+
export class NewsService {
|
|
7406
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7407
|
+
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7408
|
+
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7409
|
+
static getContentLanguages(contents: {
|
|
7410
|
+
[lang: string]: ContentDefinition;
|
|
7411
|
+
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7412
|
+
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7413
|
+
static getLanguageForContent(contents: {
|
|
7414
|
+
[lang: string]: ContentDefinition;
|
|
7415
|
+
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7416
|
+
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7417
|
+
}
|
|
7418
|
+
}
|
|
7419
|
+
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7420
|
+
import { FC } from 'react';
|
|
7421
|
+
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7422
|
+
export interface TranslationItem {
|
|
7423
|
+
language: string;
|
|
7424
|
+
id: string;
|
|
7425
|
+
text: string;
|
|
7426
|
+
}
|
|
7427
|
+
export const PollTranslationContext: import("react").Context<{
|
|
7428
|
+
getTranslation: (id: string) => string;
|
|
7429
|
+
getAllTranslations: (id: string) => TranslationItem[];
|
|
7430
|
+
}>;
|
|
7431
|
+
export const PollTranslationContextProvider: FC<{
|
|
7432
|
+
contents?: PublishableItemContents;
|
|
7433
|
+
language: string;
|
|
7434
|
+
additionalTranslations?: TranslationItem[];
|
|
7435
|
+
}>;
|
|
7436
|
+
}
|
|
7437
|
+
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7438
|
+
import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7439
|
+
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7440
|
+
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7441
|
+
export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
|
|
7442
|
+
}
|
|
7443
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
7444
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
7445
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
7446
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7447
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
7448
|
+
}
|
|
7449
|
+
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
7450
|
+
import { FC } from 'react';
|
|
7451
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7452
|
+
export interface Props {
|
|
7453
|
+
type: ItemResourceTypes;
|
|
7454
|
+
itemId: string;
|
|
7455
|
+
recurrenceSeriesId?: string;
|
|
7456
|
+
className?: string;
|
|
7457
|
+
scope: ConversationScope;
|
|
7458
|
+
hideProfileUrl?: boolean;
|
|
7459
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
7460
|
+
isReadOnly?: boolean;
|
|
7461
|
+
}
|
|
7462
|
+
export const FollowComments: FC<Props>;
|
|
7463
|
+
export const FollowCommentsNotificationWarning: FC<{
|
|
7464
|
+
hideProfileUrl?: boolean;
|
|
7465
|
+
className?: string;
|
|
7466
|
+
}>;
|
|
7467
|
+
}
|
|
7468
|
+
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
7469
|
+
import { ReactNode } from 'react';
|
|
7470
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7471
|
+
export interface UserSuggestion {
|
|
7472
|
+
id: string;
|
|
7473
|
+
upn: string;
|
|
7474
|
+
displayName: string;
|
|
7475
|
+
display: string;
|
|
7476
|
+
}
|
|
7477
|
+
export interface SuggestionArgs {
|
|
7478
|
+
searchText: string;
|
|
7479
|
+
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
7480
|
+
}
|
|
7481
|
+
export interface CommentInputProps {
|
|
7482
|
+
className?: string;
|
|
7483
|
+
content: string;
|
|
7484
|
+
disabled?: boolean;
|
|
7485
|
+
autoFocus?: boolean;
|
|
7486
|
+
onEnter?: () => void;
|
|
7487
|
+
onCtrlEnter?: () => unknown;
|
|
7488
|
+
onChange?: (value: string) => void;
|
|
7489
|
+
onFocus?: () => void;
|
|
7490
|
+
additionalInputControl?: ReactNode;
|
|
7491
|
+
buttons?: {
|
|
7492
|
+
leftSide?: ReactNode;
|
|
7493
|
+
rightSide?: ReactNode;
|
|
7494
|
+
};
|
|
7495
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7496
|
+
placeHolderStringResourceKey?: string;
|
|
7497
|
+
placeHolderStringResourceValues?: {
|
|
7498
|
+
[key: string]: string | number | boolean | Date;
|
|
7499
|
+
};
|
|
7500
|
+
disableBoxShadow?: boolean;
|
|
7501
|
+
ariaLabel?: string;
|
|
7502
|
+
}
|
|
7503
|
+
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7504
|
+
}
|
|
7505
|
+
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
7506
|
+
import { FC } from 'react';
|
|
7507
|
+
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7508
|
+
isActive: boolean;
|
|
7509
|
+
}, never>;
|
|
7510
|
+
export const DropInfo: FC;
|
|
7511
|
+
}
|
|
7512
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
7513
|
+
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
7514
|
+
export interface KalturaProperties {
|
|
7515
|
+
sp?: string;
|
|
7516
|
+
uiconfId?: string;
|
|
7517
|
+
partnerId?: string;
|
|
7518
|
+
entryId?: string;
|
|
7519
|
+
}
|
|
7520
|
+
export class VideoUrlParser {
|
|
7521
|
+
private url;
|
|
7522
|
+
private static ytRegex;
|
|
7523
|
+
private static vimeoRegex;
|
|
7524
|
+
private static microsoftStreamRegex;
|
|
7525
|
+
private static vimeoDirectLinkRegex;
|
|
7526
|
+
private static vimeoRedirectLinkRegex;
|
|
7527
|
+
private static kalturaRegex;
|
|
7528
|
+
readonly source: VideoSource | null;
|
|
7529
|
+
readonly id: string | null;
|
|
7530
|
+
readonly isDirectVideoUrl: boolean;
|
|
7531
|
+
readonly videoProperties: any;
|
|
7532
|
+
readonly thumbnailUrl: string;
|
|
7533
|
+
constructor(url: string);
|
|
7534
|
+
isValid(features: FeatureSet): boolean;
|
|
7535
|
+
}
|
|
7536
|
+
export function getVideoSources(features: FeatureSet): any[];
|
|
7537
|
+
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
7538
|
+
export function getAllVideoSources(features: FeatureSet): any[];
|
|
7539
|
+
}
|
|
7540
|
+
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
7541
|
+
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
7542
|
+
export function getAllVideosFromString(content: string): Generator<{
|
|
7543
|
+
url: string;
|
|
7544
|
+
type: AttachmentType;
|
|
7545
|
+
}, void, unknown>;
|
|
7546
|
+
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
7547
|
+
url: string;
|
|
7548
|
+
subscriptionIdentifier: string;
|
|
7549
|
+
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
7550
|
+
id: string;
|
|
7551
|
+
}, void, unknown>;
|
|
7552
|
+
}
|
|
7553
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7554
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7555
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7556
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7557
|
+
export function useEventsApi(): {
|
|
7558
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7559
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
7560
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7561
|
+
};
|
|
7562
|
+
}
|
|
7563
|
+
declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
|
|
7564
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7565
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
7566
|
+
export interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
7567
|
+
pageContextId?: string;
|
|
7568
|
+
restrictToPageContext?: boolean;
|
|
7569
|
+
rootPagesOnly?: boolean;
|
|
7570
|
+
parentId?: string;
|
|
7571
|
+
pageType?: PageType;
|
|
7572
|
+
}
|
|
7573
|
+
}
|
|
7574
|
+
declare module "libs/reach/feature/content/src/pages/usePagesApi" {
|
|
7575
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7576
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7577
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
7578
|
+
export function usePagesApi(): {
|
|
7579
|
+
loadPage: (id: string) => Promise<PageItem>;
|
|
7580
|
+
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7581
|
+
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7582
|
+
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7583
|
+
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7584
|
+
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7585
|
+
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7586
|
+
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7587
|
+
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7588
|
+
};
|
|
7589
|
+
}
|
|
7590
|
+
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7591
|
+
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7592
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7593
|
+
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7594
|
+
id: string;
|
|
7595
|
+
comments?: PaginatedList<Comment>;
|
|
7596
|
+
groupId: string;
|
|
7597
|
+
content: string;
|
|
7598
|
+
permalink?: string;
|
|
7599
|
+
author: Account;
|
|
7600
|
+
publishingDate: string;
|
|
7601
|
+
modified?: string;
|
|
6911
7602
|
statistics: ItemStatistics;
|
|
6912
7603
|
keywords?: {
|
|
6913
7604
|
[key: string]: Keyword[];
|
|
@@ -6944,7 +7635,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
6944
7635
|
deletePost: (postId: string) => Promise<unknown>;
|
|
6945
7636
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
6946
7637
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
6947
|
-
translatePost: (postId: string, language: string) =>
|
|
7638
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
6948
7639
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
6949
7640
|
};
|
|
6950
7641
|
}
|
|
@@ -6954,7 +7645,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
|
|
|
6954
7645
|
}
|
|
6955
7646
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6956
7647
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6957
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7648
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6958
7649
|
export interface ClientAttachment extends Attachment {
|
|
6959
7650
|
file?: File;
|
|
6960
7651
|
}
|
|
@@ -6970,6 +7661,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6970
7661
|
placeHolderStringResourceKey?: string;
|
|
6971
7662
|
disableAddGif?: boolean;
|
|
6972
7663
|
disableAddFiles?: boolean;
|
|
7664
|
+
parentId?: string;
|
|
7665
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6973
7666
|
};
|
|
6974
7667
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
6975
7668
|
attachments: Attachment[];
|
|
@@ -6982,6 +7675,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6982
7675
|
placeHolderStringResourceKey?: string;
|
|
6983
7676
|
disableAddGif?: boolean;
|
|
6984
7677
|
disableAddFiles?: boolean;
|
|
7678
|
+
parentId?: string;
|
|
7679
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6985
7680
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
6986
7681
|
}
|
|
6987
7682
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7090,27 +7785,10 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7090
7785
|
showAllKeywordsInCallout?: boolean;
|
|
7091
7786
|
}>;
|
|
7092
7787
|
}
|
|
7093
|
-
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7094
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7095
|
-
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7096
|
-
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7097
|
-
export class NewsService {
|
|
7098
|
-
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7099
|
-
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7100
|
-
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7101
|
-
static getContentLanguages(contents: {
|
|
7102
|
-
[lang: string]: ContentDefinition;
|
|
7103
|
-
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7104
|
-
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7105
|
-
static getLanguageForContent(contents: {
|
|
7106
|
-
[lang: string]: ContentDefinition;
|
|
7107
|
-
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7108
|
-
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7109
|
-
}
|
|
7110
|
-
}
|
|
7111
7788
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7112
7789
|
import { FC, MouseEvent } from 'react';
|
|
7113
7790
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7791
|
+
import { LocationState } from 'history';
|
|
7114
7792
|
export const ClickableOverlay: FC<{
|
|
7115
7793
|
itemId: string;
|
|
7116
7794
|
itemType: ItemResourceTypes;
|
|
@@ -7121,6 +7799,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7121
7799
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7122
7800
|
openTargetInNewWindow?: boolean;
|
|
7123
7801
|
isExternalContent?: boolean;
|
|
7802
|
+
locationState?: LocationState;
|
|
7803
|
+
}>;
|
|
7804
|
+
}
|
|
7805
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7806
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7807
|
+
import { FC } from 'react';
|
|
7808
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7809
|
+
itemId: string;
|
|
7810
|
+
itemType: ItemResourceTypes;
|
|
7811
|
+
baseRoute: string;
|
|
7812
|
+
title?: string;
|
|
7813
|
+
isExternalContent?: boolean;
|
|
7814
|
+
targetUrl?: string;
|
|
7124
7815
|
}>;
|
|
7125
7816
|
}
|
|
7126
7817
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7131,6 +7822,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7131
7822
|
targetUrl?: string;
|
|
7132
7823
|
readOnly?: boolean;
|
|
7133
7824
|
backgroundColor?: string;
|
|
7825
|
+
enableModalRouting?: boolean;
|
|
7134
7826
|
className?: string;
|
|
7135
7827
|
}>;
|
|
7136
7828
|
}
|
|
@@ -7168,6 +7860,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7168
7860
|
className?: string;
|
|
7169
7861
|
allowFilterByChannels?: boolean;
|
|
7170
7862
|
channelBackgroundColor?: string;
|
|
7863
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7171
7864
|
}>;
|
|
7172
7865
|
}
|
|
7173
7866
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7227,6 +7920,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7227
7920
|
height?: number;
|
|
7228
7921
|
hidePlayerIfActive?: boolean;
|
|
7229
7922
|
className?: string;
|
|
7923
|
+
documentIconName?: string;
|
|
7230
7924
|
}
|
|
7231
7925
|
export const PublishableItemBanner: FC<Props>;
|
|
7232
7926
|
}
|
|
@@ -7312,34 +8006,13 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7312
8006
|
}
|
|
7313
8007
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7314
8008
|
}
|
|
7315
|
-
declare module "libs/reach/feature/content/src/
|
|
7316
|
-
import {
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
like = "like",
|
|
7323
|
-
confirm = "confirm",
|
|
7324
|
-
poll = "poll",
|
|
7325
|
-
eventRegistration = "eventRegistration"
|
|
7326
|
-
}
|
|
7327
|
-
export interface FeedbackItem {
|
|
7328
|
-
type: FeedbackItemType;
|
|
7329
|
-
timestamp: string;
|
|
7330
|
-
}
|
|
7331
|
-
export interface PollFeedbackItem extends FeedbackItem {
|
|
7332
|
-
type: FeedbackItemType.poll;
|
|
7333
|
-
answers: PollQuestionAnswer[];
|
|
7334
|
-
}
|
|
7335
|
-
}
|
|
7336
|
-
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7337
|
-
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7338
|
-
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
7339
|
-
export interface EventFeedbackItem extends FeedbackItem {
|
|
7340
|
-
type: FeedbackItemType.eventRegistration;
|
|
7341
|
-
eventResponse: EventResponse;
|
|
7342
|
-
locationId?: string;
|
|
8009
|
+
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
8010
|
+
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
8011
|
+
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
8012
|
+
export interface EventFeedbackItem extends FeedbackItem {
|
|
8013
|
+
type: FeedbackItemType.eventRegistration;
|
|
8014
|
+
eventResponse: EventResponse;
|
|
8015
|
+
locationId?: string;
|
|
7343
8016
|
}
|
|
7344
8017
|
export function getDeadlineInfos(item: EventItem): {
|
|
7345
8018
|
hasDeadline: boolean;
|
|
@@ -7351,6 +8024,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7351
8024
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7352
8025
|
export const EventRegistrationButton: FC<{
|
|
7353
8026
|
isRegistered: boolean;
|
|
8027
|
+
eventId: string;
|
|
7354
8028
|
disabled?: boolean;
|
|
7355
8029
|
className?: string;
|
|
7356
8030
|
onClick?: () => void;
|
|
@@ -7361,24 +8035,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7361
8035
|
isRegistered?: boolean;
|
|
7362
8036
|
}, never>;
|
|
7363
8037
|
}
|
|
7364
|
-
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7365
|
-
import { FC } from 'react';
|
|
7366
|
-
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7367
|
-
export interface TranslationItem {
|
|
7368
|
-
language: string;
|
|
7369
|
-
id: string;
|
|
7370
|
-
text: string;
|
|
7371
|
-
}
|
|
7372
|
-
export const PollTranslationContext: import("react").Context<{
|
|
7373
|
-
getTranslation: (id: string) => string;
|
|
7374
|
-
getAllTranslations: (id: string) => TranslationItem[];
|
|
7375
|
-
}>;
|
|
7376
|
-
export const PollTranslationContextProvider: FC<{
|
|
7377
|
-
contents?: PublishableItemContents;
|
|
7378
|
-
language: string;
|
|
7379
|
-
additionalTranslations?: TranslationItem[];
|
|
7380
|
-
}>;
|
|
7381
|
-
}
|
|
7382
8038
|
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7383
8039
|
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7384
8040
|
import { MessageDescriptor } from 'react-intl';
|
|
@@ -7434,25 +8090,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7434
8090
|
onDismiss: () => unknown;
|
|
7435
8091
|
}>;
|
|
7436
8092
|
}
|
|
7437
|
-
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7438
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7439
|
-
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7440
|
-
import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7441
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7442
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
7443
|
-
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7444
|
-
export const feedbackCache: {
|
|
7445
|
-
[newsId: string]: Promise<FeedbackSummary>;
|
|
7446
|
-
};
|
|
7447
|
-
export function useFeedbackApi(): {
|
|
7448
|
-
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7449
|
-
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7450
|
-
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7451
|
-
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7452
|
-
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7453
|
-
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7454
|
-
};
|
|
7455
|
-
}
|
|
7456
8093
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7457
8094
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7458
8095
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7465,10 +8102,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7465
8102
|
}
|
|
7466
8103
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7467
8104
|
import { FC } from 'react';
|
|
8105
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7468
8106
|
export const EventUserRegistration: FC<{
|
|
7469
8107
|
disabled?: boolean;
|
|
7470
8108
|
hideInfoMessage?: boolean;
|
|
7471
8109
|
showNoRegistrationRequired?: boolean;
|
|
8110
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7472
8111
|
className?: string;
|
|
7473
8112
|
}>;
|
|
7474
8113
|
}
|
|
@@ -7526,11 +8165,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
|
|
|
7526
8165
|
className?: string;
|
|
7527
8166
|
}>;
|
|
7528
8167
|
}
|
|
7529
|
-
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7530
|
-
import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7531
|
-
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7532
|
-
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7533
|
-
}
|
|
7534
8168
|
declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
7535
8169
|
import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
7536
8170
|
import { FC } from 'react';
|
|
@@ -7538,8 +8172,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7538
8172
|
export const CardLikeButton: FC<{
|
|
7539
8173
|
item: NewsItem | EventItem;
|
|
7540
8174
|
itemResourceType: ItemResourceTypes;
|
|
7541
|
-
|
|
7542
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8175
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7543
8176
|
className?: string;
|
|
7544
8177
|
}>;
|
|
7545
8178
|
}
|
|
@@ -7561,6 +8194,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7561
8194
|
className?: string;
|
|
7562
8195
|
}>;
|
|
7563
8196
|
}
|
|
8197
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
8198
|
+
import { FC } from 'react';
|
|
8199
|
+
export const LinkWithModalRouting: FC<{
|
|
8200
|
+
url: string;
|
|
8201
|
+
itemId: string;
|
|
8202
|
+
hash?: string;
|
|
8203
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
8204
|
+
ariaHidden?: boolean;
|
|
8205
|
+
ariaLabel?: string;
|
|
8206
|
+
className?: string;
|
|
8207
|
+
}>;
|
|
8208
|
+
}
|
|
7564
8209
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7565
8210
|
import { FC } from 'react';
|
|
7566
8211
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7579,6 +8224,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7579
8224
|
allowFilterByChannels?: boolean;
|
|
7580
8225
|
showFeedbackButtons?: boolean;
|
|
7581
8226
|
readOnly?: boolean;
|
|
8227
|
+
enableModalRouting?: boolean;
|
|
7582
8228
|
className?: string;
|
|
7583
8229
|
}>;
|
|
7584
8230
|
}
|
|
@@ -7629,7 +8275,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7629
8275
|
Contact = "contact",
|
|
7630
8276
|
InlinePageList = "inline-page-list",
|
|
7631
8277
|
UrlPreview = "url-preview",
|
|
7632
|
-
ActionButton = "action-button"
|
|
8278
|
+
ActionButton = "action-button",
|
|
8279
|
+
InlinePlugin = "inline-plugin"
|
|
7633
8280
|
}
|
|
7634
8281
|
export interface HtmlComponentMapper {
|
|
7635
8282
|
component: FC<any>;
|
|
@@ -7656,6 +8303,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7656
8303
|
resourceType: ItemResourceTypes;
|
|
7657
8304
|
item: TItem;
|
|
7658
8305
|
itemId: string;
|
|
8306
|
+
relatedItemIds?: string[];
|
|
7659
8307
|
contentLanguage: string;
|
|
7660
8308
|
userPreferredLanguage: string;
|
|
7661
8309
|
activeLanguages: string[];
|
|
@@ -7771,7 +8419,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7771
8419
|
resourceKey?: string;
|
|
7772
8420
|
resourceValues?: string;
|
|
7773
8421
|
className?: string;
|
|
8422
|
+
enableModalRouting?: boolean;
|
|
8423
|
+
itemId?: string;
|
|
7774
8424
|
isOverrideLink: boolean;
|
|
8425
|
+
icon?: string;
|
|
7775
8426
|
}>;
|
|
7776
8427
|
}
|
|
7777
8428
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -7830,6 +8481,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7830
8481
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7831
8482
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7832
8483
|
openTargetInNewWindow?: boolean;
|
|
8484
|
+
enableModalRouting?: boolean;
|
|
7833
8485
|
className?: string;
|
|
7834
8486
|
}
|
|
7835
8487
|
export const PageItemTile: FC<Props>;
|
|
@@ -7875,6 +8527,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7875
8527
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7876
8528
|
styleDefinition?: StyleDefinition;
|
|
7877
8529
|
readOnly?: boolean;
|
|
8530
|
+
enableModalRouting?: boolean;
|
|
7878
8531
|
className?: string;
|
|
7879
8532
|
}
|
|
7880
8533
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7918,6 +8571,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7918
8571
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7919
8572
|
styleDefinition?: StyleDefinition;
|
|
7920
8573
|
readOnly?: boolean;
|
|
8574
|
+
enableModalRouting?: boolean;
|
|
7921
8575
|
className?: string;
|
|
7922
8576
|
}
|
|
7923
8577
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7943,6 +8597,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7943
8597
|
previewTheme?: CommentInputTheme;
|
|
7944
8598
|
buttons?: ReactNode;
|
|
7945
8599
|
groupIds?: string[];
|
|
8600
|
+
enableModalRouting?: boolean;
|
|
7946
8601
|
className?: string;
|
|
7947
8602
|
}>;
|
|
7948
8603
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7959,6 +8614,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7959
8614
|
attachments: Attachment[];
|
|
7960
8615
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7961
8616
|
previewTheme?: CommentInputTheme;
|
|
8617
|
+
enableModalRouting?: boolean;
|
|
7962
8618
|
className?: string;
|
|
7963
8619
|
}>;
|
|
7964
8620
|
}
|
|
@@ -7975,7 +8631,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
7975
8631
|
}
|
|
7976
8632
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
7977
8633
|
import { FC } from 'react';
|
|
7978
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8634
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7979
8635
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7980
8636
|
interface Props {
|
|
7981
8637
|
className?: string;
|
|
@@ -7985,6 +8641,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
7985
8641
|
previewTheme?: CommentInputTheme;
|
|
7986
8642
|
disableVideoPreview?: boolean;
|
|
7987
8643
|
disableEmbeddedObjectPreview?: boolean;
|
|
8644
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8645
|
+
parentId?: string;
|
|
7988
8646
|
}
|
|
7989
8647
|
export const AttachmentList: FC<Props>;
|
|
7990
8648
|
}
|
|
@@ -8001,6 +8659,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8001
8659
|
placeHolderStringResourceKey?: string;
|
|
8002
8660
|
disableAddGif?: boolean;
|
|
8003
8661
|
disableAddFiles?: boolean;
|
|
8662
|
+
parentId?: string;
|
|
8663
|
+
itemResourceType?: string;
|
|
8004
8664
|
} & {
|
|
8005
8665
|
disableVideoPreview?: boolean;
|
|
8006
8666
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8070,7 +8730,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8070
8730
|
}
|
|
8071
8731
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8072
8732
|
import { FC } from 'react';
|
|
8073
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8733
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8074
8734
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8075
8735
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8076
8736
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8102,6 +8762,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8102
8762
|
};
|
|
8103
8763
|
disableBoxShadow?: boolean;
|
|
8104
8764
|
ariaLabel?: string;
|
|
8765
|
+
parentId?: string;
|
|
8766
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8105
8767
|
}
|
|
8106
8768
|
interface Props extends BaseProps {
|
|
8107
8769
|
allowAttachments?: boolean;
|
|
@@ -8119,6 +8781,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8119
8781
|
import { FC, ReactNode } from 'react';
|
|
8120
8782
|
export const InlineObjectToolbar: FC<{
|
|
8121
8783
|
onDelete?: () => void;
|
|
8784
|
+
deleteAriaLabelResourceKey?: string;
|
|
8122
8785
|
additionalButtons?: ReactNode;
|
|
8123
8786
|
}>;
|
|
8124
8787
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8126,15 +8789,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8126
8789
|
}>;
|
|
8127
8790
|
}
|
|
8128
8791
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8129
|
-
import { FC } from 'react';
|
|
8792
|
+
import { FC, ReactNode } from 'react';
|
|
8793
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8130
8794
|
export const ImageToolbar: FC<{
|
|
8131
8795
|
onDelete?: () => void;
|
|
8132
8796
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8133
8797
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8134
8798
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8799
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8135
8800
|
showFullScreenButton?: boolean;
|
|
8136
8801
|
showCloseButton?: boolean;
|
|
8137
8802
|
showCropButton?: boolean;
|
|
8803
|
+
alignmentButtons?: ReactNode;
|
|
8138
8804
|
}>;
|
|
8139
8805
|
}
|
|
8140
8806
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8161,14 +8827,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8161
8827
|
}
|
|
8162
8828
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8163
8829
|
}
|
|
8164
|
-
declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
|
|
8165
|
-
import { FC } from 'react';
|
|
8166
|
-
import { ImageDetails } from "libs/reach/util/common/src/index";
|
|
8167
|
-
export const LegacyPostPhotoGallery: FC<{
|
|
8168
|
-
images: ImageDetails[];
|
|
8169
|
-
imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
|
|
8170
|
-
}>;
|
|
8171
|
-
}
|
|
8172
8830
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8173
8831
|
import { FC } from 'react';
|
|
8174
8832
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8176,12 +8834,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8176
8834
|
item: ItemWithAttachments;
|
|
8177
8835
|
basePath: string;
|
|
8178
8836
|
imagesGridBackgroundColor?: string;
|
|
8837
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8838
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8179
8839
|
className?: string;
|
|
8180
8840
|
}>;
|
|
8181
8841
|
}
|
|
8182
8842
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8183
8843
|
import { FC } from 'react';
|
|
8184
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8844
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8185
8845
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8186
8846
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8187
8847
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8197,6 +8857,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8197
8857
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8198
8858
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8199
8859
|
ariaLabel?: string;
|
|
8860
|
+
parentId?: string;
|
|
8861
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8200
8862
|
}
|
|
8201
8863
|
interface Props extends BaseProps {
|
|
8202
8864
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8261,6 +8923,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8261
8923
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8262
8924
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8263
8925
|
}
|
|
8926
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8927
|
+
import { FC } from 'react';
|
|
8928
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8929
|
+
export const BookmarkButton: FC<{
|
|
8930
|
+
item: PublishableItem;
|
|
8931
|
+
isReadOnly?: boolean;
|
|
8932
|
+
className?: string;
|
|
8933
|
+
}>;
|
|
8934
|
+
}
|
|
8264
8935
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8265
8936
|
import { FC } from 'react';
|
|
8266
8937
|
export const CardStatisticItem: FC<{
|
|
@@ -8278,13 +8949,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8278
8949
|
};
|
|
8279
8950
|
}>;
|
|
8280
8951
|
}
|
|
8281
|
-
declare module "libs/reach/feature/content/src/
|
|
8952
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8953
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8282
8954
|
import { FC } from 'react';
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8955
|
+
export const CardCommentButton: FC<{
|
|
8956
|
+
item: NewsItem | EventItem;
|
|
8957
|
+
itemResourceType: ItemResourceTypes;
|
|
8958
|
+
targetRoute: string;
|
|
8959
|
+
enableModalRouting?: boolean;
|
|
8288
8960
|
}>;
|
|
8289
8961
|
}
|
|
8290
8962
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8292,13 +8964,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8292
8964
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8293
8965
|
export const CardFooter: FC<{
|
|
8294
8966
|
item: NewsItem | EventItem;
|
|
8295
|
-
showComments: boolean;
|
|
8296
8967
|
targetRoute: string;
|
|
8297
8968
|
itemResourceType: ItemResourceTypes;
|
|
8298
|
-
|
|
8299
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8969
|
+
enableModalRouting?: boolean;
|
|
8300
8970
|
}>;
|
|
8301
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
8971
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8302
8972
|
}
|
|
8303
8973
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8304
8974
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8347,7 +9017,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8347
9017
|
target?: string;
|
|
8348
9018
|
language?: string;
|
|
8349
9019
|
hideCurrentPageNode?: boolean;
|
|
9020
|
+
homeTargetUrlOverride?: string;
|
|
8350
9021
|
className?: string;
|
|
9022
|
+
readonly?: boolean;
|
|
8351
9023
|
}>;
|
|
8352
9024
|
}
|
|
8353
9025
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
@@ -8407,6 +9079,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
|
8407
9079
|
hide?: boolean;
|
|
8408
9080
|
onPageSelected?: (pageId: string) => unknown;
|
|
8409
9081
|
selectedPageId?: string;
|
|
9082
|
+
readonly?: boolean;
|
|
8410
9083
|
}>;
|
|
8411
9084
|
}
|
|
8412
9085
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
@@ -8423,6 +9096,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
|
8423
9096
|
selectedPageId?: string;
|
|
8424
9097
|
isLoading?: boolean;
|
|
8425
9098
|
disableScrollableList?: boolean;
|
|
9099
|
+
readonly?: boolean;
|
|
8426
9100
|
}>;
|
|
8427
9101
|
export const PageTableOfContentsInPanel: FC<{
|
|
8428
9102
|
basePath?: string;
|
|
@@ -8445,6 +9119,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
|
|
|
8445
9119
|
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8446
9120
|
onDismiss: () => void;
|
|
8447
9121
|
basePath: string;
|
|
9122
|
+
readonly?: boolean;
|
|
8448
9123
|
}>;
|
|
8449
9124
|
}
|
|
8450
9125
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
|
|
@@ -8468,6 +9143,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
|
|
|
8468
9143
|
activePageId: string;
|
|
8469
9144
|
navigationContext: PageNavigationContext;
|
|
8470
9145
|
className?: string;
|
|
9146
|
+
readonly?: boolean;
|
|
8471
9147
|
}
|
|
8472
9148
|
export const PagesDetailViewNavigation: FC<Props>;
|
|
8473
9149
|
}
|
|
@@ -8546,6 +9222,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8546
9222
|
language?: string;
|
|
8547
9223
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8548
9224
|
clickableAvatar?: boolean;
|
|
9225
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8549
9226
|
}>;
|
|
8550
9227
|
}
|
|
8551
9228
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8595,7 +9272,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8595
9272
|
item: NewsItem;
|
|
8596
9273
|
baseRoute: string;
|
|
8597
9274
|
language: string;
|
|
8598
|
-
showComments: boolean;
|
|
8599
9275
|
highlight: boolean;
|
|
8600
9276
|
className?: string;
|
|
8601
9277
|
}
|
|
@@ -8628,6 +9304,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8628
9304
|
isLastPage: boolean;
|
|
8629
9305
|
unreadOnly?: boolean;
|
|
8630
9306
|
filter?: NewsFilterDefinition;
|
|
9307
|
+
activeChannel?: string;
|
|
8631
9308
|
}>;
|
|
8632
9309
|
}
|
|
8633
9310
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -8689,6 +9366,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
8689
9366
|
type?: ItemResourceTypes;
|
|
8690
9367
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8691
9368
|
isEditorPreview?: boolean;
|
|
9369
|
+
relatedItemIds?: string[];
|
|
8692
9370
|
}>;
|
|
8693
9371
|
}
|
|
8694
9372
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -8702,6 +9380,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8702
9380
|
}
|
|
8703
9381
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8704
9382
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9383
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8705
9384
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8706
9385
|
}
|
|
8707
9386
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8762,6 +9441,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
8762
9441
|
baseRoute: string;
|
|
8763
9442
|
filterBaseUrl?: string;
|
|
8764
9443
|
isInitialLoading?: boolean;
|
|
9444
|
+
readonly?: boolean;
|
|
8765
9445
|
}>;
|
|
8766
9446
|
}
|
|
8767
9447
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
|
|
@@ -8789,6 +9469,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
8789
9469
|
pagingProps?: ListPagingProps;
|
|
8790
9470
|
filterBaseUrl?: string;
|
|
8791
9471
|
emptyListMessage: string;
|
|
9472
|
+
readonly?: boolean;
|
|
8792
9473
|
}>;
|
|
8793
9474
|
}
|
|
8794
9475
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
@@ -8920,6 +9601,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
8920
9601
|
}
|
|
8921
9602
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8922
9603
|
}
|
|
9604
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9605
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9606
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9607
|
+
}
|
|
8923
9608
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8924
9609
|
import { FC } from 'react';
|
|
8925
9610
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -8932,6 +9617,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8932
9617
|
import { FC } from 'react';
|
|
8933
9618
|
export const EventDetailViewMetaInfo: FC<{
|
|
8934
9619
|
allowFilterByChannels?: boolean;
|
|
9620
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8935
9621
|
}>;
|
|
8936
9622
|
}
|
|
8937
9623
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -8975,6 +9661,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8975
9661
|
export const DetailViewCsvExportButton: FC<{
|
|
8976
9662
|
path: string;
|
|
8977
9663
|
stringResource: string;
|
|
9664
|
+
isReadOnly?: boolean;
|
|
8978
9665
|
className?: string;
|
|
8979
9666
|
}>;
|
|
8980
9667
|
}
|
|
@@ -9034,6 +9721,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9034
9721
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
|
|
9035
9722
|
import { FC } from 'react';
|
|
9036
9723
|
export const EventDetailViewResponseExportButton: FC<{
|
|
9724
|
+
isReadOnly?: boolean;
|
|
9037
9725
|
className?: string;
|
|
9038
9726
|
}>;
|
|
9039
9727
|
}
|
|
@@ -9046,8 +9734,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9046
9734
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
|
|
9047
9735
|
import { FC } from 'react';
|
|
9048
9736
|
export const EventDetailViewUserRegistration: FC<{
|
|
9049
|
-
className?: string;
|
|
9050
9737
|
hideInfoMessage?: boolean;
|
|
9738
|
+
isReadOnly?: boolean;
|
|
9739
|
+
className?: string;
|
|
9051
9740
|
}>;
|
|
9052
9741
|
}
|
|
9053
9742
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
@@ -9088,7 +9777,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9088
9777
|
}
|
|
9089
9778
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
|
|
9090
9779
|
import { FC } from 'react';
|
|
9091
|
-
export const EventRegistrationParticipantsLink: FC
|
|
9780
|
+
export const EventRegistrationParticipantsLink: FC<{
|
|
9781
|
+
isReadOnly?: boolean;
|
|
9782
|
+
}>;
|
|
9092
9783
|
}
|
|
9093
9784
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
|
|
9094
9785
|
import { FC } from 'react';
|
|
@@ -9139,6 +9830,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9139
9830
|
readOnly?: boolean;
|
|
9140
9831
|
trimContent?: boolean;
|
|
9141
9832
|
showReplyBox?: boolean;
|
|
9833
|
+
enableModalRouting?: boolean;
|
|
9142
9834
|
className?: string;
|
|
9143
9835
|
}>;
|
|
9144
9836
|
}
|
|
@@ -9161,6 +9853,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9161
9853
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9162
9854
|
readOnly?: boolean;
|
|
9163
9855
|
trimContent?: boolean;
|
|
9856
|
+
enableModalRouting?: boolean;
|
|
9164
9857
|
className?: string;
|
|
9165
9858
|
}
|
|
9166
9859
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9220,6 +9913,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9220
9913
|
showReplyBox?: boolean;
|
|
9221
9914
|
trimContent?: boolean;
|
|
9222
9915
|
title?: ReactNode;
|
|
9916
|
+
enableModalRouting?: boolean;
|
|
9223
9917
|
className?: string;
|
|
9224
9918
|
};
|
|
9225
9919
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9244,14 +9938,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9244
9938
|
}
|
|
9245
9939
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9246
9940
|
import { FC } from 'react';
|
|
9247
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9248
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9941
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9249
9942
|
export const PublishableItemComments: FC<{
|
|
9250
9943
|
item: PublishableItem;
|
|
9251
9944
|
readOnly?: boolean;
|
|
9252
9945
|
loadInReadOnlyMode?: boolean;
|
|
9253
9946
|
type: ItemResourceTypes;
|
|
9254
|
-
hideProfileUrl?: boolean;
|
|
9255
9947
|
disableLoginForPublicUser?: boolean;
|
|
9256
9948
|
}>;
|
|
9257
9949
|
}
|
|
@@ -9261,6 +9953,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9261
9953
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9262
9954
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9263
9955
|
import { Feedback } from "libs/reach/util/common/src/index";
|
|
9956
|
+
import { ReactNode } from 'hoist-non-react-statics/node_modules/@types/react';
|
|
9264
9957
|
export const FeedbackButtonContext: import("react").Context<{
|
|
9265
9958
|
statistics: ItemStatistics;
|
|
9266
9959
|
item: PublishableItem;
|
|
@@ -9273,6 +9966,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9273
9966
|
item: PublishableItem;
|
|
9274
9967
|
hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
|
|
9275
9968
|
language: string;
|
|
9969
|
+
warningMessage?: ReactNode;
|
|
9276
9970
|
className?: string;
|
|
9277
9971
|
}>;
|
|
9278
9972
|
}
|
|
@@ -9311,19 +10005,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9311
10005
|
}>;
|
|
9312
10006
|
}
|
|
9313
10007
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9314
|
-
import { FC } from 'react';
|
|
9315
|
-
import { FeedbackSettings } from "libs/reach/util/common/src/index";
|
|
9316
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9317
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10008
|
+
import { FC, ReactNode } from 'react';
|
|
10009
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9318
10010
|
export const FeedbackSection: FC<{
|
|
9319
10011
|
item: PublishableItem;
|
|
10012
|
+
buttons: ReactNode[];
|
|
9320
10013
|
language: string;
|
|
9321
10014
|
type: ItemResourceTypes;
|
|
9322
10015
|
feedbackSettings: FeedbackSettings;
|
|
9323
10016
|
hideComments?: boolean;
|
|
9324
|
-
hideProfileUrl?: boolean;
|
|
9325
10017
|
disableLoginForPublicUser?: boolean;
|
|
9326
10018
|
isReadOnly?: boolean;
|
|
10019
|
+
warningMessage?: ReactNode;
|
|
9327
10020
|
className?: string;
|
|
9328
10021
|
}>;
|
|
9329
10022
|
}
|
|
@@ -9346,12 +10039,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
|
|
|
9346
10039
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
9347
10040
|
export const EventDownloadCalendarFileButton: FC<{
|
|
9348
10041
|
item: EventItem;
|
|
10042
|
+
isReadOnly: boolean;
|
|
9349
10043
|
className?: string;
|
|
9350
10044
|
}>;
|
|
9351
10045
|
}
|
|
9352
10046
|
declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
|
|
9353
10047
|
import { FC } from 'react';
|
|
9354
|
-
export const EventFeedbackButtonDownloadCalendarFile: FC
|
|
10048
|
+
export const EventFeedbackButtonDownloadCalendarFile: FC<{
|
|
10049
|
+
isReadOnly: boolean;
|
|
10050
|
+
}>;
|
|
9355
10051
|
}
|
|
9356
10052
|
declare module "libs/reach/feature/content/src/feedback/ShareButton" {
|
|
9357
10053
|
import { FC } from 'react';
|
|
@@ -9376,14 +10072,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9376
10072
|
}
|
|
9377
10073
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9378
10074
|
import { FC } from 'react';
|
|
9379
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10075
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9380
10076
|
export const ConfirmationStatisticsExport: FC<{
|
|
9381
10077
|
item: PublishableItem;
|
|
10078
|
+
resourceType: ItemResourceTypes;
|
|
10079
|
+
isReadOnly?: boolean;
|
|
9382
10080
|
}>;
|
|
9383
10081
|
}
|
|
9384
10082
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
9385
10083
|
import { FC } from 'react';
|
|
9386
|
-
export const FeedbackButtonConfirmations: FC
|
|
10084
|
+
export const FeedbackButtonConfirmations: FC<{
|
|
10085
|
+
isReadOnly?: boolean;
|
|
10086
|
+
}>;
|
|
10087
|
+
}
|
|
10088
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
|
|
10089
|
+
export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
9387
10090
|
}
|
|
9388
10091
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
|
|
9389
10092
|
import { FC } from 'react';
|
|
@@ -9488,6 +10191,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9488
10191
|
layoutMode?: ItemTileLayoutMode;
|
|
9489
10192
|
bannerDefaultWidth?: number;
|
|
9490
10193
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10194
|
+
documentIconName?: string;
|
|
9491
10195
|
}>;
|
|
9492
10196
|
}
|
|
9493
10197
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9525,17 +10229,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9525
10229
|
isMobilePreview?: boolean;
|
|
9526
10230
|
}>;
|
|
9527
10231
|
}
|
|
9528
|
-
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9529
|
-
import { FC, ReactNode } from 'react';
|
|
9530
|
-
export const GutterMarkerIcon: FC<{
|
|
9531
|
-
iconName: string;
|
|
9532
|
-
children: ReactNode;
|
|
9533
|
-
isActive: boolean;
|
|
9534
|
-
color: string;
|
|
9535
|
-
tooltipResourceKey?: string;
|
|
9536
|
-
className?: string;
|
|
9537
|
-
}>;
|
|
9538
|
-
}
|
|
9539
10232
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9540
10233
|
import { FC } from 'react';
|
|
9541
10234
|
export const DetailViewTitle: FC;
|
|
@@ -9558,24 +10251,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9558
10251
|
import { FC } from 'react';
|
|
9559
10252
|
export const DetailViewKeywords: FC<{
|
|
9560
10253
|
filterBaseUrl: string;
|
|
9561
|
-
|
|
9562
|
-
}
|
|
9563
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9564
|
-
import { FC } from 'react';
|
|
9565
|
-
export const ConfirmationBox: FC<{
|
|
9566
|
-
disabled?: boolean;
|
|
9567
|
-
onChange?: (value: boolean) => void;
|
|
9568
|
-
checked: boolean;
|
|
9569
|
-
}>;
|
|
9570
|
-
}
|
|
9571
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9572
|
-
import { FC } from 'react';
|
|
9573
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9574
|
-
export const ConfirmationSection: FC<{
|
|
9575
|
-
item?: NewsItem;
|
|
9576
|
-
showDescription: boolean;
|
|
9577
|
-
readOnly?: boolean;
|
|
9578
|
-
className?: string;
|
|
10254
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9579
10255
|
}>;
|
|
9580
10256
|
}
|
|
9581
10257
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -9605,9 +10281,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9605
10281
|
import { FC, ReactNode } from 'react';
|
|
9606
10282
|
export const DetailViewNavigation: FC<{
|
|
9607
10283
|
offsetRight?: number;
|
|
9608
|
-
children?: ReactNode;
|
|
9609
10284
|
callout?: ReactNode;
|
|
10285
|
+
className?: string;
|
|
10286
|
+
children?: ReactNode;
|
|
9610
10287
|
}>;
|
|
10288
|
+
export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
|
|
10289
|
+
offsetRight?: number;
|
|
10290
|
+
callout?: ReactNode;
|
|
10291
|
+
className?: string;
|
|
10292
|
+
children?: ReactNode;
|
|
10293
|
+
}>, import("styled-components").DefaultTheme, {
|
|
10294
|
+
offsetRightOverride?: number;
|
|
10295
|
+
}, never>;
|
|
9611
10296
|
}
|
|
9612
10297
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9613
10298
|
import { FC } from 'react';
|
|
@@ -9649,481 +10334,48 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9649
10334
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9650
10335
|
};
|
|
9651
10336
|
}
|
|
9652
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
10337
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10338
|
+
interface IClickHandles {
|
|
10339
|
+
onInsideClick: () => void;
|
|
10340
|
+
onOutsideClick: () => void;
|
|
10341
|
+
}
|
|
10342
|
+
export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10343
|
+
}
|
|
10344
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10345
|
+
import { FC } from 'react';
|
|
10346
|
+
export const GroupNotificationsSettings: FC<{
|
|
10347
|
+
groupId: string;
|
|
9663
10348
|
className?: string;
|
|
9664
10349
|
}>;
|
|
9665
10350
|
}
|
|
9666
|
-
declare module "libs/reach/feature/content/src/
|
|
9667
|
-
import { FC
|
|
9668
|
-
import {
|
|
9669
|
-
import {
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
|
|
9684
|
-
onContentClick?: () => void;
|
|
9685
|
-
contentRoute?: LocationDescriptor;
|
|
9686
|
-
badgeInfo?: number | boolean;
|
|
9687
|
-
title?: string;
|
|
10351
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10352
|
+
import { FC } from 'react';
|
|
10353
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10354
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10355
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10356
|
+
export interface PostCreatorProps {
|
|
10357
|
+
groupId: string;
|
|
10358
|
+
disabled?: boolean;
|
|
10359
|
+
disableDragAndDrop?: boolean;
|
|
10360
|
+
onBeforeSave?: (post: Post) => void;
|
|
10361
|
+
onSaved: (post: Post) => void;
|
|
10362
|
+
keywordSettings?: {
|
|
10363
|
+
availableKeywords?: Keyword[];
|
|
10364
|
+
defaultKeywords?: Keyword[];
|
|
10365
|
+
mandatoryKeywords?: Keyword[];
|
|
10366
|
+
};
|
|
10367
|
+
disableAutoFocus?: boolean;
|
|
10368
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9688
10369
|
className?: string;
|
|
9689
10370
|
}
|
|
9690
|
-
export const
|
|
10371
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9691
10372
|
}
|
|
9692
|
-
declare module "libs/reach/feature/content/src/
|
|
10373
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9693
10374
|
import { FC } from 'react';
|
|
9694
|
-
import {
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
}
|
|
9699
|
-
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
9700
|
-
import { FC, ReactNode } from 'react';
|
|
9701
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
9702
|
-
import { LocationDescriptor } from 'history';
|
|
9703
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
9704
|
-
interface CommonSidebarItemProps {
|
|
9705
|
-
title?: string | JSX.Element;
|
|
9706
|
-
titleResource?: string;
|
|
9707
|
-
icon?: ReactNode;
|
|
9708
|
-
iconName?: string;
|
|
9709
|
-
iconTooltipResourceKey?: string;
|
|
9710
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
9711
|
-
secondaryIconName?: string;
|
|
9712
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9713
|
-
iconColor?: string;
|
|
9714
|
-
reverse?: boolean;
|
|
9715
|
-
notHighlightable?: boolean;
|
|
9716
|
-
onClick?: () => void;
|
|
9717
|
-
className?: string;
|
|
9718
|
-
isActive?: boolean;
|
|
9719
|
-
activeClassName?: string;
|
|
9720
|
-
readOnly?: boolean;
|
|
9721
|
-
submenu?: JSX.Element;
|
|
9722
|
-
submenuClassName?: string;
|
|
9723
|
-
submenuStyleDefinition?: ColorStyleDefinition;
|
|
9724
|
-
badgeInfo?: number | boolean;
|
|
9725
|
-
domIdentifier?: string;
|
|
9726
|
-
}
|
|
9727
|
-
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
9728
|
-
contentRoute?: LocationDescriptor;
|
|
9729
|
-
onIconClick?: () => void;
|
|
9730
|
-
iconRoute?: LocationDescriptor;
|
|
9731
|
-
onSecondaryIconClick?: () => void;
|
|
9732
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
9733
|
-
isHoverable?: boolean;
|
|
9734
|
-
}
|
|
9735
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
9736
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
9737
|
-
route: LocationDescriptor;
|
|
9738
|
-
exact?: boolean;
|
|
9739
|
-
linkClassName?: string;
|
|
9740
|
-
}
|
|
9741
|
-
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
9742
|
-
}
|
|
9743
|
-
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
9744
|
-
import { FC } from 'react';
|
|
9745
|
-
export const SidebarGroup: FC<{
|
|
9746
|
-
titleResource?: string;
|
|
9747
|
-
borderColor?: string;
|
|
9748
|
-
className?: string;
|
|
9749
|
-
}>;
|
|
9750
|
-
}
|
|
9751
|
-
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
9752
|
-
import { FC } from 'react';
|
|
9753
|
-
export const ContentWithShowMoreButton: FC<{
|
|
9754
|
-
domIdentifier: string;
|
|
9755
|
-
trimContent: boolean;
|
|
9756
|
-
className?: string;
|
|
9757
|
-
}>;
|
|
9758
|
-
}
|
|
9759
|
-
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
9760
|
-
import { FC } from 'react';
|
|
9761
|
-
import { Channel } from "libs/reach/util/common/src/index";
|
|
9762
|
-
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
9763
|
-
interface Props {
|
|
9764
|
-
selectedChannelNames?: string[];
|
|
9765
|
-
selectedChannelIds?: string[];
|
|
9766
|
-
mandatoryChannelIds?: string[];
|
|
9767
|
-
availableChannels?: Channel[];
|
|
9768
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
9769
|
-
className?: string;
|
|
9770
|
-
showOnlyUserChannels?: boolean;
|
|
9771
|
-
showSelectionToggle?: boolean;
|
|
9772
|
-
placeholder?: string;
|
|
9773
|
-
inlineControls?: boolean;
|
|
9774
|
-
required?: boolean;
|
|
9775
|
-
id?: string;
|
|
9776
|
-
showLogicalOperatorOptions?: boolean;
|
|
9777
|
-
selectedLogicalOperator?: LogicalOperator;
|
|
9778
|
-
}
|
|
9779
|
-
export const ChannelSelector: FC<Props>;
|
|
9780
|
-
}
|
|
9781
|
-
declare module "libs/reach/feature/content/src/common/index" {
|
|
9782
|
-
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
9783
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9784
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
9785
|
-
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
9786
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
9787
|
-
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
9788
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
9789
|
-
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
9790
|
-
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
9791
|
-
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
9792
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
9793
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
9794
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
9795
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
9796
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
9797
|
-
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
9798
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
9799
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
9800
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
9801
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
9802
|
-
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
9803
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
9804
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
9805
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
9806
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
9807
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
9808
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
9809
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
9810
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
9811
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9812
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
9813
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
9814
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
9815
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
9816
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
9817
|
-
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9818
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9819
|
-
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
9820
|
-
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
9821
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9822
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
9823
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
9824
|
-
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
9825
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
9826
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
9827
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
9828
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
9829
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
9830
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
9831
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
9832
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
9833
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9834
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
9835
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9836
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9837
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9838
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9839
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9840
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9841
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9842
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9843
|
-
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
9844
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9845
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9846
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9847
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9848
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9849
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9850
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9851
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9852
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
9853
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9854
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9855
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
9856
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9857
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
9858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
9859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9860
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9861
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9862
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
9863
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9864
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9865
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9866
|
-
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9867
|
-
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
9868
|
-
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
9869
|
-
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
9870
|
-
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
9871
|
-
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9872
|
-
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
9873
|
-
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
9874
|
-
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
9875
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
9876
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
9877
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
9878
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
9879
|
-
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
9880
|
-
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
9881
|
-
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
9882
|
-
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
9883
|
-
}
|
|
9884
|
-
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
9885
|
-
import { FC } from 'react';
|
|
9886
|
-
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
9887
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
9888
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9889
|
-
interface Props {
|
|
9890
|
-
type?: ItemResourceTypes;
|
|
9891
|
-
baseAttachmentPath?: string;
|
|
9892
|
-
message: Comment;
|
|
9893
|
-
showDelete?: boolean;
|
|
9894
|
-
showAutoTranslate?: boolean;
|
|
9895
|
-
showEdit?: boolean;
|
|
9896
|
-
onDelete?: (comment: Comment) => void;
|
|
9897
|
-
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
9898
|
-
scope: ConversationScope;
|
|
9899
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9900
|
-
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9901
|
-
highlight?: boolean;
|
|
9902
|
-
isInitialLiked?: boolean;
|
|
9903
|
-
hasUnreadReplies?: boolean;
|
|
9904
|
-
onReplyIconClick?: () => void;
|
|
9905
|
-
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9906
|
-
replyCount?: number;
|
|
9907
|
-
readOnly?: boolean;
|
|
9908
|
-
trimContent?: boolean;
|
|
9909
|
-
className?: string;
|
|
9910
|
-
}
|
|
9911
|
-
export const CommentDisplay: FC<Props>;
|
|
9912
|
-
}
|
|
9913
|
-
declare module "libs/reach/feature/content/src/comments/index" {
|
|
9914
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9915
|
-
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
9916
|
-
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
9917
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9918
|
-
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
9919
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9920
|
-
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
9921
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9922
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
9923
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9924
|
-
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
9925
|
-
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
9926
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
9927
|
-
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
9928
|
-
}
|
|
9929
|
-
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
9930
|
-
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
9931
|
-
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
9932
|
-
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9933
|
-
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9934
|
-
}
|
|
9935
|
-
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9936
|
-
import { FC, ReactNode } from 'react';
|
|
9937
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9938
|
-
interface Props {
|
|
9939
|
-
isOpen: boolean;
|
|
9940
|
-
preSelectedKeywords: Keyword[];
|
|
9941
|
-
onSave: (keywords: Keyword[]) => void;
|
|
9942
|
-
titleResource: string;
|
|
9943
|
-
onDismiss: () => void;
|
|
9944
|
-
availableKeywords?: Keyword[];
|
|
9945
|
-
mandatoryKeywordIds?: string[];
|
|
9946
|
-
}
|
|
9947
|
-
export const KeywordDialog: FC<Props>;
|
|
9948
|
-
export const StatefulKeywordPicker: FC<{
|
|
9949
|
-
preSelectedKeywords: Keyword[];
|
|
9950
|
-
availableKeywords?: Keyword[];
|
|
9951
|
-
mandatoryKeywordIds?: string[];
|
|
9952
|
-
showSelectionToggle?: boolean;
|
|
9953
|
-
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
9954
|
-
}>;
|
|
9955
|
-
}
|
|
9956
|
-
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
9957
|
-
import { FC, MutableRefObject } from 'react';
|
|
9958
|
-
export interface TextareaProps {
|
|
9959
|
-
rows?: number;
|
|
9960
|
-
placeholder?: string;
|
|
9961
|
-
readOnly?: boolean;
|
|
9962
|
-
onChange: (value: string) => void;
|
|
9963
|
-
className?: string;
|
|
9964
|
-
defaultValue?: string;
|
|
9965
|
-
disabled?: boolean;
|
|
9966
|
-
noDebouncing?: boolean;
|
|
9967
|
-
value?: string;
|
|
9968
|
-
onIconClick?: () => void;
|
|
9969
|
-
onEnter?: () => void;
|
|
9970
|
-
icon?: string;
|
|
9971
|
-
disableNewLines?: boolean;
|
|
9972
|
-
autoFocus?: boolean;
|
|
9973
|
-
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
9974
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
9975
|
-
inputType?: string;
|
|
9976
|
-
}
|
|
9977
|
-
/**
|
|
9978
|
-
* Textarea that expands vertically to fit content.
|
|
9979
|
-
* If maxLength is given, also displays a count of remaining characters when focused
|
|
9980
|
-
*/
|
|
9981
|
-
export const Textarea: FC<TextareaProps>;
|
|
9982
|
-
}
|
|
9983
|
-
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9984
|
-
import { FC } from 'react';
|
|
9985
|
-
interface Props {
|
|
9986
|
-
onInsert: (files: File[]) => void;
|
|
9987
|
-
accept?: string;
|
|
9988
|
-
captionKey?: string;
|
|
9989
|
-
captionIconName?: string;
|
|
9990
|
-
descriptionKey?: string;
|
|
9991
|
-
descriptionIconName?: string;
|
|
9992
|
-
singleMode?: boolean;
|
|
9993
|
-
}
|
|
9994
|
-
export const InsertFilesButton: FC<Props>;
|
|
9995
|
-
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9996
|
-
isActive?: boolean;
|
|
9997
|
-
}, never>;
|
|
9998
|
-
}
|
|
9999
|
-
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
10000
|
-
import { FC } from 'react';
|
|
10001
|
-
interface Props {
|
|
10002
|
-
onInsert: (files: File[]) => void;
|
|
10003
|
-
accept?: string;
|
|
10004
|
-
captionKey?: string;
|
|
10005
|
-
descriptionKey?: string;
|
|
10006
|
-
}
|
|
10007
|
-
export const InsertImagesButton: FC<Props>;
|
|
10008
|
-
}
|
|
10009
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
10010
|
-
import { FC } from 'react';
|
|
10011
|
-
interface DateTimePickerProps {
|
|
10012
|
-
date: string;
|
|
10013
|
-
maxDate?: string;
|
|
10014
|
-
minDate?: string;
|
|
10015
|
-
dateValidationResourceKey?: string;
|
|
10016
|
-
timeValidationResourceKey?: string;
|
|
10017
|
-
readOnly?: boolean;
|
|
10018
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
10019
|
-
noDateResourceKey: string;
|
|
10020
|
-
selectDateResourceKey: string;
|
|
10021
|
-
dateOnly?: boolean;
|
|
10022
|
-
initialPickerDate?: string;
|
|
10023
|
-
label?: string;
|
|
10024
|
-
isRequired?: boolean;
|
|
10025
|
-
className?: string;
|
|
10026
|
-
}
|
|
10027
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
10028
|
-
export default DateTimePicker;
|
|
10029
|
-
}
|
|
10030
|
-
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
10031
|
-
import moment, { Moment } from 'moment';
|
|
10032
|
-
export enum DateRange {
|
|
10033
|
-
TwoYears = 0,
|
|
10034
|
-
OneYear = 1,
|
|
10035
|
-
SixMonths = 2,
|
|
10036
|
-
TwoMonths = 3,
|
|
10037
|
-
OneMonth = 4,
|
|
10038
|
-
SevenDays = 5,
|
|
10039
|
-
YesterDay = 6,
|
|
10040
|
-
Today = 7
|
|
10041
|
-
}
|
|
10042
|
-
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
10043
|
-
export function dateToDateRange(date: string | moment.Moment): number;
|
|
10044
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
10045
|
-
}
|
|
10046
|
-
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
10047
|
-
import { FC } from 'react';
|
|
10048
|
-
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
10049
|
-
export const DateRangeSlider: FC<{
|
|
10050
|
-
value?: DateRange;
|
|
10051
|
-
onChange: (range: DateRange) => unknown;
|
|
10052
|
-
}>;
|
|
10053
|
-
}
|
|
10054
|
-
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
10055
|
-
import { FC } from 'react';
|
|
10056
|
-
import { WrappedComponentProps } from 'react-intl';
|
|
10057
|
-
import { SelectionMode } from 'office-ui-fabric-react';
|
|
10058
|
-
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
10059
|
-
interface PeoplePickerDialogProps {
|
|
10060
|
-
defaultSelectedItems: Account[];
|
|
10061
|
-
onChange: (items: Account[]) => void;
|
|
10062
|
-
onDismiss: () => void;
|
|
10063
|
-
titleResource: string;
|
|
10064
|
-
intl?: WrappedComponentProps;
|
|
10065
|
-
selectionMode?: SelectionMode;
|
|
10066
|
-
allowMailItems?: boolean;
|
|
10067
|
-
accountType: AccountType;
|
|
10068
|
-
showDialog: boolean;
|
|
10069
|
-
allowEmptyValue: boolean;
|
|
10070
|
-
includePendingInvitationUsers?: boolean;
|
|
10071
|
-
placeholderStringResourceKey?: string;
|
|
10072
|
-
inputAriaLabelResourceKey: string;
|
|
10073
|
-
}
|
|
10074
|
-
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
10075
|
-
}
|
|
10076
|
-
declare module "libs/reach/feature/content/src/forms/index" {
|
|
10077
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
10078
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
10079
|
-
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
10080
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
10081
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
10082
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
10083
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
10084
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
10085
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
10086
|
-
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
10087
|
-
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
10088
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
10089
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
10090
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
10091
|
-
}
|
|
10092
|
-
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10093
|
-
import { FC } from 'react';
|
|
10094
|
-
export const GroupNotificationsSettings: FC<{
|
|
10095
|
-
groupId: string;
|
|
10096
|
-
className?: string;
|
|
10097
|
-
}>;
|
|
10098
|
-
}
|
|
10099
|
-
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10100
|
-
import { FC } from 'react';
|
|
10101
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10102
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10103
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10104
|
-
export interface PostCreatorProps {
|
|
10105
|
-
groupId: string;
|
|
10106
|
-
disabled?: boolean;
|
|
10107
|
-
disableDragAndDrop?: boolean;
|
|
10108
|
-
onBeforeSave?: (post: Post) => void;
|
|
10109
|
-
onSaved: (post: Post) => void;
|
|
10110
|
-
keywordSettings?: {
|
|
10111
|
-
availableKeywords?: Keyword[];
|
|
10112
|
-
defaultKeywords?: Keyword[];
|
|
10113
|
-
mandatoryKeywords?: Keyword[];
|
|
10114
|
-
};
|
|
10115
|
-
disableAutoFocus?: boolean;
|
|
10116
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
10117
|
-
className?: string;
|
|
10118
|
-
}
|
|
10119
|
-
export const PostCreator: FC<PostCreatorProps>;
|
|
10120
|
-
}
|
|
10121
|
-
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10122
|
-
import { FC } from 'react';
|
|
10123
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10124
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
10125
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10126
|
-
interface Props {
|
|
10375
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10376
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10377
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10378
|
+
interface Props {
|
|
10127
10379
|
className?: string;
|
|
10128
10380
|
post: Post;
|
|
10129
10381
|
initialPageSize?: number;
|
|
@@ -10133,6 +10385,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
10133
10385
|
onReplyAdded: () => void;
|
|
10134
10386
|
onReplyDeleted: () => void;
|
|
10135
10387
|
trimContent?: boolean;
|
|
10388
|
+
enableModalRouting?: boolean;
|
|
10136
10389
|
}
|
|
10137
10390
|
export const PostReplies: FC<Props>;
|
|
10138
10391
|
}
|
|
@@ -10200,6 +10453,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
10200
10453
|
baseTargetUrl?: string;
|
|
10201
10454
|
}
|
|
10202
10455
|
export const PostDisplay: FC<Props>;
|
|
10456
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10203
10457
|
}
|
|
10204
10458
|
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10205
10459
|
import { FC } from 'react';
|
|
@@ -10218,8 +10472,75 @@ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
|
10218
10472
|
className?: string;
|
|
10219
10473
|
}>;
|
|
10220
10474
|
}
|
|
10475
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10476
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10477
|
+
import { DocumentNode } from '@apollo/client';
|
|
10478
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10479
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10480
|
+
export enum StreamEventResponse {
|
|
10481
|
+
NotSet = "NOTSET",
|
|
10482
|
+
Registered = "REGISTERED",
|
|
10483
|
+
Declined = "DECLINED"
|
|
10484
|
+
}
|
|
10485
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10486
|
+
}
|
|
10487
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10488
|
+
items: StreamItem[];
|
|
10489
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10490
|
+
loadMore: () => Promise<void>;
|
|
10491
|
+
pageInfo: {
|
|
10492
|
+
errors?: any;
|
|
10493
|
+
hasNextPage: boolean;
|
|
10494
|
+
skip: number;
|
|
10495
|
+
};
|
|
10496
|
+
refresh: () => Promise<void>;
|
|
10497
|
+
isLoadingFirstPage: boolean;
|
|
10498
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10499
|
+
};
|
|
10500
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10501
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10502
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10503
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10504
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10505
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10506
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10507
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10508
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10509
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10510
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10511
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10512
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10513
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10514
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10515
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10516
|
+
}
|
|
10517
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10518
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10519
|
+
import { DependencyList } from 'react';
|
|
10520
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10521
|
+
}
|
|
10522
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10523
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10524
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10525
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10526
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10527
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10528
|
+
};
|
|
10529
|
+
}
|
|
10530
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10531
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10532
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10533
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10534
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10535
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10536
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10537
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10538
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10539
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10540
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10541
|
+
}
|
|
10221
10542
|
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10222
|
-
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";
|
|
10543
|
+
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";
|
|
10223
10544
|
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10224
10545
|
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10225
10546
|
enum StreamItemTypes {
|
|
@@ -10436,7 +10757,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10436
10757
|
knownState: KnownNewsState;
|
|
10437
10758
|
hasNewComments?: boolean;
|
|
10438
10759
|
isLiked?: boolean;
|
|
10439
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10440
10760
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10441
10761
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10442
10762
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10646,6 +10966,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10646
10966
|
isUnlinked?: boolean;
|
|
10647
10967
|
pageType?: PageType;
|
|
10648
10968
|
firstChildId?: string;
|
|
10969
|
+
isGroupInheritanceBroken?: boolean;
|
|
10649
10970
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10650
10971
|
id?: string;
|
|
10651
10972
|
versionId?: string;
|
|
@@ -10725,7 +11046,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10725
11046
|
knownState: KnownNewsState;
|
|
10726
11047
|
hasNewComments?: boolean;
|
|
10727
11048
|
isLiked?: boolean;
|
|
10728
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10729
11049
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10730
11050
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10731
11051
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10833,6 +11153,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10833
11153
|
isUnlinked?: boolean;
|
|
10834
11154
|
pageType?: PageType;
|
|
10835
11155
|
firstChildId?: string;
|
|
11156
|
+
isGroupInheritanceBroken?: boolean;
|
|
10836
11157
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10837
11158
|
id?: string;
|
|
10838
11159
|
versionId?: string;
|
|
@@ -10956,7 +11277,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10956
11277
|
knownState: KnownNewsState;
|
|
10957
11278
|
hasNewComments?: boolean;
|
|
10958
11279
|
isLiked?: boolean;
|
|
10959
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10960
11280
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10961
11281
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10962
11282
|
id?: string;
|
|
@@ -11031,6 +11351,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11031
11351
|
isUnlinked?: boolean;
|
|
11032
11352
|
pageType?: PageType;
|
|
11033
11353
|
firstChildId?: string;
|
|
11354
|
+
isGroupInheritanceBroken?: boolean;
|
|
11034
11355
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11035
11356
|
id?: string;
|
|
11036
11357
|
versionId?: string;
|
|
@@ -11058,72 +11379,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11058
11379
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11059
11380
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11060
11381
|
})[];
|
|
11382
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11383
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11384
|
+
}
|
|
11385
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11386
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11387
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11388
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11389
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11390
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11391
|
+
}
|
|
11392
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11393
|
+
import { LocationDescriptor } from 'history';
|
|
11394
|
+
import { FC, ReactNode } from 'react';
|
|
11395
|
+
export const SidebarIcon: FC<{
|
|
11396
|
+
icon?: ReactNode;
|
|
11397
|
+
iconName?: string;
|
|
11398
|
+
color?: string;
|
|
11399
|
+
onClick?: () => any;
|
|
11400
|
+
route?: LocationDescriptor;
|
|
11401
|
+
iconTooltipResourceKey: string;
|
|
11402
|
+
iconTooltipResourceValues?: any;
|
|
11403
|
+
className?: string;
|
|
11404
|
+
}>;
|
|
11405
|
+
}
|
|
11406
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11407
|
+
import { FC, ReactNode } from 'react';
|
|
11408
|
+
import { LocationDescriptor } from 'history';
|
|
11409
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11410
|
+
export interface BaseSidebarItemProps {
|
|
11411
|
+
children?: any;
|
|
11412
|
+
icon?: ReactNode;
|
|
11413
|
+
iconName?: string;
|
|
11414
|
+
iconTooltipResourceKey?: string;
|
|
11415
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11416
|
+
secondaryIconName?: string;
|
|
11417
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11418
|
+
reverse?: boolean;
|
|
11419
|
+
onIconClick?: () => void;
|
|
11420
|
+
iconRoute?: LocationDescriptor;
|
|
11421
|
+
iconColor?: string;
|
|
11422
|
+
onSecondaryIconClick?: () => void;
|
|
11423
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11424
|
+
onContentClick?: () => void;
|
|
11425
|
+
contentRoute?: LocationDescriptor;
|
|
11426
|
+
badgeInfo?: number | boolean;
|
|
11427
|
+
title?: string;
|
|
11428
|
+
className?: string;
|
|
11429
|
+
}
|
|
11430
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11431
|
+
}
|
|
11432
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11433
|
+
import { FC } from 'react';
|
|
11434
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11435
|
+
export const SidebarItemSection: FC<{
|
|
11436
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11437
|
+
}>;
|
|
11438
|
+
}
|
|
11439
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11440
|
+
import { FC, ReactNode } from 'react';
|
|
11441
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11442
|
+
import { LocationDescriptor } from 'history';
|
|
11443
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11444
|
+
interface CommonSidebarItemProps {
|
|
11445
|
+
title?: string | JSX.Element;
|
|
11446
|
+
titleResource?: string;
|
|
11447
|
+
icon?: ReactNode;
|
|
11448
|
+
iconName?: string;
|
|
11449
|
+
iconTooltipResourceKey?: string;
|
|
11450
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11451
|
+
secondaryIconName?: string;
|
|
11452
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11453
|
+
iconColor?: string;
|
|
11454
|
+
reverse?: boolean;
|
|
11455
|
+
notHighlightable?: boolean;
|
|
11456
|
+
onClick?: () => void;
|
|
11457
|
+
className?: string;
|
|
11458
|
+
isActive?: boolean;
|
|
11459
|
+
activeClassName?: string;
|
|
11460
|
+
readOnly?: boolean;
|
|
11461
|
+
submenu?: JSX.Element;
|
|
11462
|
+
submenuClassName?: string;
|
|
11463
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11464
|
+
badgeInfo?: number | boolean;
|
|
11465
|
+
domIdentifier?: string;
|
|
11466
|
+
}
|
|
11467
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11468
|
+
contentRoute?: LocationDescriptor;
|
|
11469
|
+
onIconClick?: () => void;
|
|
11470
|
+
iconRoute?: LocationDescriptor;
|
|
11471
|
+
onSecondaryIconClick?: () => void;
|
|
11472
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11473
|
+
isHoverable?: boolean;
|
|
11474
|
+
}
|
|
11475
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11476
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11477
|
+
route: LocationDescriptor;
|
|
11478
|
+
exact?: boolean;
|
|
11479
|
+
linkClassName?: string;
|
|
11480
|
+
}
|
|
11481
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11482
|
+
}
|
|
11483
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11484
|
+
import { FC } from 'react';
|
|
11485
|
+
export const SidebarGroup: FC<{
|
|
11486
|
+
titleResource?: string;
|
|
11487
|
+
borderColor?: string;
|
|
11488
|
+
className?: string;
|
|
11489
|
+
}>;
|
|
11490
|
+
}
|
|
11491
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11492
|
+
import { FC } from 'react';
|
|
11493
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11494
|
+
domIdentifier: string;
|
|
11495
|
+
trimContent?: boolean;
|
|
11496
|
+
className?: string;
|
|
11497
|
+
}>;
|
|
11498
|
+
}
|
|
11499
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11500
|
+
import { FC } from 'react';
|
|
11501
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11502
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11503
|
+
interface Props {
|
|
11504
|
+
selectedChannelNames?: string[];
|
|
11505
|
+
selectedChannelIds?: string[];
|
|
11506
|
+
mandatoryChannelIds?: string[];
|
|
11507
|
+
availableChannels?: Channel[];
|
|
11508
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11509
|
+
className?: string;
|
|
11510
|
+
showOnlyUserChannels?: boolean;
|
|
11511
|
+
showSelectionToggle?: boolean;
|
|
11512
|
+
placeholder?: string;
|
|
11513
|
+
inlineControls?: boolean;
|
|
11514
|
+
required?: boolean;
|
|
11515
|
+
id?: string;
|
|
11516
|
+
showLogicalOperatorOptions?: boolean;
|
|
11517
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11518
|
+
}
|
|
11519
|
+
export const ChannelSelector: FC<Props>;
|
|
11520
|
+
}
|
|
11521
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11522
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11523
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11524
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11525
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11526
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11527
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11528
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11529
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11530
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11531
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11532
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11533
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11534
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11535
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11536
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11537
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11538
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11539
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11540
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11541
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11542
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11543
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11544
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11545
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11546
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11547
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11548
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11549
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11550
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11551
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11552
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11553
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11554
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11555
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11556
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11557
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11558
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11559
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11560
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11561
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11562
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11563
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11564
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11565
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11566
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11567
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11568
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11569
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11570
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11571
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11572
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11573
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11574
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11575
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11576
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11577
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11578
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11579
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11580
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11581
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11582
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11583
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11587
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11592
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11593
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11594
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11595
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11598
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11599
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11600
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11601
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11602
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11603
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11604
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11605
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11606
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11607
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11608
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11609
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11610
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11611
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11612
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11613
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11614
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11615
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11616
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11617
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11618
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11619
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11620
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11621
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11622
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11623
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11624
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11625
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11626
|
+
}
|
|
11627
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11628
|
+
import { FC } from 'react';
|
|
11629
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11630
|
+
interface Props {
|
|
11631
|
+
type?: ItemResourceTypes;
|
|
11632
|
+
baseAttachmentPath?: string;
|
|
11633
|
+
message: Comment;
|
|
11634
|
+
showDelete?: boolean;
|
|
11635
|
+
showAutoTranslate?: boolean;
|
|
11636
|
+
showEdit?: boolean;
|
|
11637
|
+
onDelete?: (comment: Comment) => void;
|
|
11638
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11639
|
+
scope: ConversationScope;
|
|
11640
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11641
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11642
|
+
highlight?: boolean;
|
|
11643
|
+
hasUnreadReplies?: boolean;
|
|
11644
|
+
onReplyIconClick?: () => void;
|
|
11645
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11646
|
+
replyCount?: number;
|
|
11647
|
+
readOnly?: boolean;
|
|
11648
|
+
trimContent?: boolean;
|
|
11649
|
+
enableModalRouting?: boolean;
|
|
11650
|
+
className?: string;
|
|
11651
|
+
}
|
|
11652
|
+
export const CommentDisplay: FC<Props>;
|
|
11061
11653
|
}
|
|
11062
|
-
declare module "libs/reach/feature/content/src/
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
export
|
|
11068
|
-
|
|
11069
|
-
|
|
11070
|
-
|
|
11654
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11655
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11656
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11657
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11658
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11659
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11660
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11661
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11662
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11663
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11664
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11665
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11666
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11667
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11668
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11669
|
+
}
|
|
11670
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11671
|
+
import { FC, ReactNode } from 'react';
|
|
11672
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11673
|
+
interface Props {
|
|
11674
|
+
isOpen: boolean;
|
|
11675
|
+
preSelectedKeywords: Keyword[];
|
|
11676
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11677
|
+
titleResource: string;
|
|
11678
|
+
onDismiss: () => void;
|
|
11679
|
+
availableKeywords?: Keyword[];
|
|
11680
|
+
mandatoryKeywordIds?: string[];
|
|
11071
11681
|
}
|
|
11072
|
-
export
|
|
11682
|
+
export const KeywordDialog: FC<Props>;
|
|
11683
|
+
export const StatefulKeywordPicker: FC<{
|
|
11684
|
+
preSelectedKeywords: Keyword[];
|
|
11685
|
+
availableKeywords?: Keyword[];
|
|
11686
|
+
mandatoryKeywordIds?: string[];
|
|
11687
|
+
showSelectionToggle?: boolean;
|
|
11688
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11689
|
+
}>;
|
|
11690
|
+
}
|
|
11691
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11692
|
+
import { FC, MutableRefObject } from 'react';
|
|
11693
|
+
export interface TextareaProps {
|
|
11694
|
+
rows?: number;
|
|
11695
|
+
placeholder?: string;
|
|
11696
|
+
readOnly?: boolean;
|
|
11697
|
+
onChange: (value: string) => void;
|
|
11698
|
+
className?: string;
|
|
11699
|
+
defaultValue?: string;
|
|
11700
|
+
disabled?: boolean;
|
|
11701
|
+
noDebouncing?: boolean;
|
|
11702
|
+
value?: string;
|
|
11703
|
+
onIconClick?: () => void;
|
|
11704
|
+
onEnter?: () => void;
|
|
11705
|
+
icon?: string;
|
|
11706
|
+
disableNewLines?: boolean;
|
|
11707
|
+
autoFocus?: boolean;
|
|
11708
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11709
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11710
|
+
inputType?: string;
|
|
11073
11711
|
}
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
11079
|
-
errors?: any;
|
|
11080
|
-
hasNextPage: boolean;
|
|
11081
|
-
skip: number;
|
|
11082
|
-
};
|
|
11083
|
-
refresh: () => Promise<void>;
|
|
11084
|
-
isLoadingFirstPage: boolean;
|
|
11085
|
-
};
|
|
11086
|
-
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11087
|
-
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11088
|
-
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11089
|
-
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
11090
|
-
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
11091
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11092
|
-
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11093
|
-
export const OWNER_CONDITION: (owner: string) => string;
|
|
11094
|
-
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11095
|
-
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11096
|
-
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
11097
|
-
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
11098
|
-
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
11099
|
-
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11100
|
-
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11101
|
-
export const POST_ITEM_FIELDS: DocumentNode;
|
|
11712
|
+
/**
|
|
11713
|
+
* Textarea that expands vertically to fit content.
|
|
11714
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11715
|
+
*/
|
|
11716
|
+
export const Textarea: FC<TextareaProps>;
|
|
11102
11717
|
}
|
|
11103
|
-
declare module "libs/reach/feature/content/src/
|
|
11104
|
-
import {
|
|
11105
|
-
|
|
11106
|
-
|
|
11718
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11719
|
+
import { FC } from 'react';
|
|
11720
|
+
interface Props {
|
|
11721
|
+
onInsert: (files: File[]) => void;
|
|
11722
|
+
accept?: string;
|
|
11723
|
+
captionKey?: string;
|
|
11724
|
+
captionIconName?: string;
|
|
11725
|
+
descriptionKey?: string;
|
|
11726
|
+
descriptionIconName?: string;
|
|
11727
|
+
singleMode?: boolean;
|
|
11728
|
+
}
|
|
11729
|
+
export const InsertFilesButton: FC<Props>;
|
|
11730
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11731
|
+
isActive?: boolean;
|
|
11732
|
+
}, never>;
|
|
11107
11733
|
}
|
|
11108
|
-
declare module "libs/reach/feature/content/src/
|
|
11109
|
-
import {
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11114
|
-
|
|
11734
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11735
|
+
import { FC } from 'react';
|
|
11736
|
+
interface Props {
|
|
11737
|
+
onInsert: (files: File[]) => void;
|
|
11738
|
+
accept?: string;
|
|
11739
|
+
captionKey?: string;
|
|
11740
|
+
descriptionKey?: string;
|
|
11741
|
+
}
|
|
11742
|
+
export const InsertImagesButton: FC<Props>;
|
|
11115
11743
|
}
|
|
11116
|
-
declare module "libs/reach/feature/content/src/
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11126
|
-
|
|
11744
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11745
|
+
import { FC } from 'react';
|
|
11746
|
+
interface DateTimePickerProps {
|
|
11747
|
+
date: string;
|
|
11748
|
+
maxDate?: string;
|
|
11749
|
+
minDate?: string;
|
|
11750
|
+
dateValidationResourceKey?: string;
|
|
11751
|
+
timeValidationResourceKey?: string;
|
|
11752
|
+
readOnly?: boolean;
|
|
11753
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11754
|
+
noDateResourceKey: string;
|
|
11755
|
+
selectDateResourceKey: string;
|
|
11756
|
+
dateOnly?: boolean;
|
|
11757
|
+
initialPickerDate?: string;
|
|
11758
|
+
label?: string;
|
|
11759
|
+
isRequired?: boolean;
|
|
11760
|
+
className?: string;
|
|
11761
|
+
}
|
|
11762
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11763
|
+
export default DateTimePicker;
|
|
11764
|
+
}
|
|
11765
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11766
|
+
import moment, { Moment } from 'moment';
|
|
11767
|
+
export enum DateRange {
|
|
11768
|
+
TwoYears = 0,
|
|
11769
|
+
OneYear = 1,
|
|
11770
|
+
SixMonths = 2,
|
|
11771
|
+
TwoMonths = 3,
|
|
11772
|
+
OneMonth = 4,
|
|
11773
|
+
SevenDays = 5,
|
|
11774
|
+
YesterDay = 6,
|
|
11775
|
+
Today = 7
|
|
11776
|
+
}
|
|
11777
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11778
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11779
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11780
|
+
}
|
|
11781
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11782
|
+
import { FC } from 'react';
|
|
11783
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11784
|
+
export const DateRangeSlider: FC<{
|
|
11785
|
+
value?: DateRange;
|
|
11786
|
+
onChange: (range: DateRange) => unknown;
|
|
11787
|
+
}>;
|
|
11788
|
+
}
|
|
11789
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11790
|
+
import { FC } from 'react';
|
|
11791
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11792
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11793
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11794
|
+
interface PeoplePickerDialogProps {
|
|
11795
|
+
defaultSelectedItems: Account[];
|
|
11796
|
+
onChange: (items: Account[]) => void;
|
|
11797
|
+
onDismiss: () => void;
|
|
11798
|
+
titleResource: string;
|
|
11799
|
+
intl?: WrappedComponentProps;
|
|
11800
|
+
selectionMode?: SelectionMode;
|
|
11801
|
+
allowMailItems?: boolean;
|
|
11802
|
+
accountType: AccountType;
|
|
11803
|
+
showDialog: boolean;
|
|
11804
|
+
allowEmptyValue: boolean;
|
|
11805
|
+
includePendingInvitationUsers?: boolean;
|
|
11806
|
+
placeholderStringResourceKey?: string;
|
|
11807
|
+
inputAriaLabelResourceKey: string;
|
|
11808
|
+
}
|
|
11809
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11810
|
+
}
|
|
11811
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11812
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11813
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11814
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11815
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11816
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11817
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11818
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11819
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11820
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11821
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11822
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11823
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11824
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11825
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11127
11826
|
}
|
|
11128
11827
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11129
11828
|
import { FC, ReactNode } from 'react';
|
|
@@ -11220,8 +11919,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11220
11919
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11221
11920
|
export type ShareTokenType = 'preview' | 'published';
|
|
11222
11921
|
export function useShareTokenEditorApi(): {
|
|
11223
|
-
activateShareToken: (
|
|
11224
|
-
deleteShareToken: (
|
|
11922
|
+
activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
|
|
11923
|
+
deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
|
|
11225
11924
|
};
|
|
11226
11925
|
}
|
|
11227
11926
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11232,9 +11931,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11232
11931
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11233
11932
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11234
11933
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11235
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11934
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11236
11935
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11237
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11936
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11238
11937
|
};
|
|
11239
11938
|
}
|
|
11240
11939
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11273,6 +11972,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11273
11972
|
event: EventStreamItem;
|
|
11274
11973
|
}>;
|
|
11275
11974
|
}
|
|
11975
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11976
|
+
import { FC } from 'react';
|
|
11977
|
+
export const GlobalSearchButton: FC<{
|
|
11978
|
+
className?: string;
|
|
11979
|
+
}>;
|
|
11980
|
+
}
|
|
11276
11981
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11277
11982
|
import { FC, ReactNode } from 'react';
|
|
11278
11983
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11340,12 +12045,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11340
12045
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11341
12046
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11342
12047
|
}
|
|
11343
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11344
|
-
import { FC } from 'react';
|
|
11345
|
-
export const GlobalSearchButton: FC<{
|
|
11346
|
-
className?: string;
|
|
11347
|
-
}>;
|
|
11348
|
-
}
|
|
11349
12048
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11350
12049
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11351
12050
|
}
|
|
@@ -11787,6 +12486,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
11787
12486
|
}) => string;
|
|
11788
12487
|
};
|
|
11789
12488
|
}
|
|
12489
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12490
|
+
import { Dispatch } from 'react';
|
|
12491
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12492
|
+
}
|
|
12493
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12494
|
+
import { FC } from 'react';
|
|
12495
|
+
export interface Dashboard {
|
|
12496
|
+
name: string;
|
|
12497
|
+
title: string;
|
|
12498
|
+
url: string;
|
|
12499
|
+
}
|
|
12500
|
+
export const DashboardPage: FC<{
|
|
12501
|
+
dashboard: Dashboard;
|
|
12502
|
+
}>;
|
|
12503
|
+
}
|
|
12504
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12505
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12506
|
+
export function useDashboards(): Dashboard[];
|
|
12507
|
+
export function hasDashboards(): boolean;
|
|
12508
|
+
}
|
|
12509
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12510
|
+
import { FC } from 'react';
|
|
12511
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12512
|
+
}
|
|
11790
12513
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
11791
12514
|
import { FC } from 'react';
|
|
11792
12515
|
interface Props {
|
|
@@ -11802,7 +12525,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11802
12525
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11803
12526
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11804
12527
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11805
|
-
export interface
|
|
12528
|
+
export interface PageProps extends SearchBoxProps {
|
|
11806
12529
|
className?: string;
|
|
11807
12530
|
headerContents?: JSX.Element;
|
|
11808
12531
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11820,12 +12543,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11820
12543
|
submenuContents?: JSX.Element;
|
|
11821
12544
|
submenuClassName?: string;
|
|
11822
12545
|
disableScrollableContainerFocus?: boolean;
|
|
12546
|
+
asModal?: boolean;
|
|
12547
|
+
domIdentifier?: string;
|
|
11823
12548
|
}
|
|
11824
12549
|
export enum MenuNavigationMode {
|
|
11825
12550
|
Collapse = 0,
|
|
11826
12551
|
KeepOpen = 1
|
|
11827
12552
|
}
|
|
11828
|
-
export const Page: FC<
|
|
12553
|
+
export const Page: FC<PageProps>;
|
|
11829
12554
|
}
|
|
11830
12555
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11831
12556
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|