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