@livetiles/reach-plugin-types 0.5.0-preview.24 → 0.5.0-preview.240
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 +1572 -917
- 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;
|
|
@@ -1931,6 +2196,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1931
2196
|
}
|
|
1932
2197
|
}
|
|
1933
2198
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2199
|
+
import { Api } from 'restful.js';
|
|
1934
2200
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
1935
2201
|
export class ClientFactoryInstance {
|
|
1936
2202
|
private env;
|
|
@@ -1941,7 +2207,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1941
2207
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
1942
2208
|
url: string;
|
|
1943
2209
|
}) => Promise<unknown>);
|
|
1944
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2210
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
1945
2211
|
private createApiInternal;
|
|
1946
2212
|
private addRequestTimeLogger;
|
|
1947
2213
|
createApiUrl: (url: string, query?: {
|
|
@@ -2448,6 +2714,223 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2448
2714
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2449
2715
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2450
2716
|
}
|
|
2717
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2718
|
+
export const maxContentWidth = 985;
|
|
2719
|
+
export const adminMaxWidth = 600;
|
|
2720
|
+
export const spacingXxs = 3;
|
|
2721
|
+
export const spacingXs = 6;
|
|
2722
|
+
export const spacingS = 10;
|
|
2723
|
+
export const spacingM = 20;
|
|
2724
|
+
export const spacingL = 30;
|
|
2725
|
+
export const spacingX = 40;
|
|
2726
|
+
export const spacingXl = 60;
|
|
2727
|
+
export const minScreenSize: {
|
|
2728
|
+
small: number;
|
|
2729
|
+
medium: number;
|
|
2730
|
+
large: number;
|
|
2731
|
+
xLarge: number;
|
|
2732
|
+
xxLarge: number;
|
|
2733
|
+
xxxLarge: number;
|
|
2734
|
+
};
|
|
2735
|
+
export const maxScreenSize: {
|
|
2736
|
+
small: number;
|
|
2737
|
+
medium: number;
|
|
2738
|
+
large: number;
|
|
2739
|
+
xLarge: number;
|
|
2740
|
+
xxLarge: number;
|
|
2741
|
+
};
|
|
2742
|
+
export const sidebarWidth = 285;
|
|
2743
|
+
export const sidebarWidthRight = 320;
|
|
2744
|
+
export const sidebarItemHeight = 50;
|
|
2745
|
+
export const headerHeight = 50;
|
|
2746
|
+
export const headerSecondaryHeight = 50;
|
|
2747
|
+
export const notificationHeight = 50;
|
|
2748
|
+
export const mainContentPanelWidth = 300;
|
|
2749
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2750
|
+
export const fontSizeLarger = 40;
|
|
2751
|
+
export const fontSizeLarge = 25;
|
|
2752
|
+
export const fontSizeMedium = 18;
|
|
2753
|
+
export const fontSizeNormal = 16;
|
|
2754
|
+
export const fontSizeSmall = 14;
|
|
2755
|
+
export const fontSizeSmaller = 12;
|
|
2756
|
+
export const socialIconSize = 26;
|
|
2757
|
+
export const lineHeight = 23;
|
|
2758
|
+
export const smallScreenLoginHeight = 40;
|
|
2759
|
+
export const bannerAspectRatio: number;
|
|
2760
|
+
export const bannerWidth = 980;
|
|
2761
|
+
export const bannerHeight = 420;
|
|
2762
|
+
export const HighlightBubbleSize = 12;
|
|
2763
|
+
export const StatusBubbleSize = 10;
|
|
2764
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2765
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2766
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2767
|
+
export const dialogSpacing = 24;
|
|
2768
|
+
export const detailViewSectionPadding = 20;
|
|
2769
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2770
|
+
export const postsSectionPadding = 20;
|
|
2771
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2772
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2773
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2774
|
+
export const feedbackButtonHeight = 32;
|
|
2775
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2776
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2777
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2778
|
+
export const statusColors: {
|
|
2779
|
+
draft: string;
|
|
2780
|
+
ready: string;
|
|
2781
|
+
rejected: string;
|
|
2782
|
+
};
|
|
2783
|
+
export const cardWidthS = 260;
|
|
2784
|
+
export const cardWidthM = 354;
|
|
2785
|
+
export const cardWidthL = 314;
|
|
2786
|
+
export const cardWidthXL = 423;
|
|
2787
|
+
export const managePagesRowWidth = 300;
|
|
2788
|
+
export const managePagesRowHeight = 40;
|
|
2789
|
+
export const mobilePreviewWidth = 414;
|
|
2790
|
+
}
|
|
2791
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2792
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2793
|
+
import { IntlShape } from 'react-intl';
|
|
2794
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2795
|
+
export enum LinkType {
|
|
2796
|
+
Internal = "internal",
|
|
2797
|
+
External = "external",
|
|
2798
|
+
Download = "download"
|
|
2799
|
+
}
|
|
2800
|
+
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}";
|
|
2801
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2802
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2803
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2804
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2805
|
+
logoInfo: LogoInfo;
|
|
2806
|
+
subscriptionName: string;
|
|
2807
|
+
};
|
|
2808
|
+
}
|
|
2809
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2810
|
+
export enum AnalyticsInteractionEvents {
|
|
2811
|
+
embeddedVideo = "embedded-video",
|
|
2812
|
+
embeddedAudio = "embedded-audio",
|
|
2813
|
+
languageChange = "language-change",
|
|
2814
|
+
eventRegistration = "event-registration",
|
|
2815
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2816
|
+
translateContent = "translate-content",
|
|
2817
|
+
downloadFile = "download-file",
|
|
2818
|
+
embeddedIframe = "embedded-iframe",
|
|
2819
|
+
externalLink = "external-link",
|
|
2820
|
+
follow = "follow",
|
|
2821
|
+
bookmark = "bookmark"
|
|
2822
|
+
}
|
|
2823
|
+
export enum AnalyticsActions {
|
|
2824
|
+
click = "click",
|
|
2825
|
+
navigate = "navigate",
|
|
2826
|
+
view = "view",
|
|
2827
|
+
search = "search"
|
|
2828
|
+
}
|
|
2829
|
+
export enum AnalyticsModuleType {
|
|
2830
|
+
Admin = "admin",
|
|
2831
|
+
Chat = "chat",
|
|
2832
|
+
Comments = "comments",
|
|
2833
|
+
Events = "events",
|
|
2834
|
+
GlobalSearch = "globalSearch",
|
|
2835
|
+
News = "news",
|
|
2836
|
+
Pages = "pages",
|
|
2837
|
+
People = "people",
|
|
2838
|
+
Posts = "posts",
|
|
2839
|
+
Stream = "stream",
|
|
2840
|
+
User = "user"
|
|
2841
|
+
}
|
|
2842
|
+
export enum AnalyticsModuleSubtype {
|
|
2843
|
+
AllChats = "allChats",
|
|
2844
|
+
AllNews = "allNews",
|
|
2845
|
+
AllPosts = "allPosts",
|
|
2846
|
+
Bookmarks = "bookmarks",
|
|
2847
|
+
Channel = "channel",
|
|
2848
|
+
Channels = "channels",
|
|
2849
|
+
ChatConversation = "conversation",
|
|
2850
|
+
Customization = "customization",
|
|
2851
|
+
DetailView = "detailView",
|
|
2852
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2853
|
+
Group = "group",
|
|
2854
|
+
Groups = "groups",
|
|
2855
|
+
Keywords = "keywords",
|
|
2856
|
+
Languages = "languages",
|
|
2857
|
+
MyNews = "myNews",
|
|
2858
|
+
Owners = "owners",
|
|
2859
|
+
Preview = "preview",
|
|
2860
|
+
RootPages = "rootPages",
|
|
2861
|
+
Search = "search",
|
|
2862
|
+
SelfRegistration = "selfRegistration",
|
|
2863
|
+
TargetAudience = "targetAudience",
|
|
2864
|
+
UpcomingEvents = "upcoming",
|
|
2865
|
+
Users = "users",
|
|
2866
|
+
WebHooks = "webHooks"
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2870
|
+
import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2871
|
+
export function useLinkInteraction(analyticsInstance: ReachAnalytics): void;
|
|
2872
|
+
}
|
|
2873
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2874
|
+
import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2875
|
+
export function useIframeInteraction(analyticsInstance: ReachAnalytics): void;
|
|
2876
|
+
}
|
|
2877
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2878
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2879
|
+
import { Analytics } from '@livetiles/analytics';
|
|
2880
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2881
|
+
export interface AnalyticsSearchData {
|
|
2882
|
+
searchTerm: string;
|
|
2883
|
+
results: {
|
|
2884
|
+
itemId: string;
|
|
2885
|
+
itemType: ItemResourceTypes;
|
|
2886
|
+
}[];
|
|
2887
|
+
itemRead?: string;
|
|
2888
|
+
isGlobalSearch?: boolean;
|
|
2889
|
+
}
|
|
2890
|
+
export enum AnalyticsSearchEventType {
|
|
2891
|
+
search = "search",
|
|
2892
|
+
searchSession = "searchSession"
|
|
2893
|
+
}
|
|
2894
|
+
export interface SearchAnalytics {
|
|
2895
|
+
data: AnalyticsSearchData[];
|
|
2896
|
+
onSearchTermChange: (newData: AnalyticsSearchData) => Promise<unknown>;
|
|
2897
|
+
trackSearchSession: () => Promise<unknown>;
|
|
2898
|
+
onItemRead: (itemId: string) => void;
|
|
2899
|
+
}
|
|
2900
|
+
interface Module {
|
|
2901
|
+
type: string;
|
|
2902
|
+
subtype?: string;
|
|
2903
|
+
value?: string;
|
|
2904
|
+
}
|
|
2905
|
+
export interface AnalyticsModule {
|
|
2906
|
+
module: Module;
|
|
2907
|
+
setModule: Dispatch<SetStateAction<Module>>;
|
|
2908
|
+
}
|
|
2909
|
+
interface ActivityAnalytics {
|
|
2910
|
+
trackActivity: (scrollContainer: HTMLElement) => void;
|
|
2911
|
+
}
|
|
2912
|
+
export type ReachAnalytics = Analytics & AnalyticsModule & SearchAnalytics & ActivityAnalytics;
|
|
2913
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2914
|
+
export function useAnalyticsContext(): ReachAnalytics;
|
|
2915
|
+
export const AnalyticsContextProvider: FC;
|
|
2916
|
+
}
|
|
2917
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2918
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
2919
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2920
|
+
}
|
|
2921
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2922
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2923
|
+
}
|
|
2924
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2925
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2926
|
+
}
|
|
2927
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2928
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2929
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2930
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2931
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2932
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2933
|
+
}
|
|
2451
2934
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2452
2935
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2453
2936
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2521,6 +3004,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2521
3004
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2522
3005
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2523
3006
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
3007
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
3008
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2524
3009
|
};
|
|
2525
3010
|
}
|
|
2526
3011
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2546,6 +3031,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2546
3031
|
customDomain?: string;
|
|
2547
3032
|
allowSelfRegistration?: boolean;
|
|
2548
3033
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3034
|
+
hideSubscriptionName?: boolean;
|
|
2549
3035
|
id: string;
|
|
2550
3036
|
subscriptionName: string;
|
|
2551
3037
|
subscriptionHandle?: string;
|
|
@@ -2711,7 +3197,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2711
3197
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2712
3198
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2713
3199
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2714
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3200
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2715
3201
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2716
3202
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2717
3203
|
};
|
|
@@ -2817,17 +3303,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2817
3303
|
}
|
|
2818
3304
|
}
|
|
2819
3305
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2820
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3306
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2821
3307
|
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
3308
|
export interface PluginNavigationNodeProps {
|
|
2829
3309
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2830
3310
|
}
|
|
3311
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3312
|
+
isEditMode?: boolean;
|
|
3313
|
+
componentInstanceId: string;
|
|
3314
|
+
};
|
|
2831
3315
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2832
3316
|
type DevPlugin = {
|
|
2833
3317
|
pluginId: string;
|
|
@@ -2881,22 +3365,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2881
3365
|
}
|
|
2882
3366
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2883
3367
|
import { FC } from 'react';
|
|
2884
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3368
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2885
3369
|
export const Plugins: FC<{
|
|
2886
3370
|
area: ExtensionArea;
|
|
2887
3371
|
} & any>;
|
|
2888
3372
|
}
|
|
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
3373
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2901
3374
|
export class Color {
|
|
2902
3375
|
private r;
|
|
@@ -3041,77 +3514,24 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3041
3514
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3042
3515
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3043
3516
|
}
|
|
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;
|
|
3517
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3518
|
+
import { FC } from 'react';
|
|
3519
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3520
|
+
export const Plugin: FC<PluginProps & {
|
|
3521
|
+
showDetailedErrorMessage?: boolean;
|
|
3522
|
+
} & any>;
|
|
3523
|
+
}
|
|
3524
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3525
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3526
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3527
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3528
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3529
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3530
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3531
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3532
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3533
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3534
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3115
3535
|
}
|
|
3116
3536
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3117
3537
|
import { FC, ReactNode } from 'react';
|
|
@@ -3215,6 +3635,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3215
3635
|
width?: number;
|
|
3216
3636
|
height?: number;
|
|
3217
3637
|
}
|
|
3638
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3639
|
+
imageAlignment?: ImageAlignment;
|
|
3640
|
+
}
|
|
3641
|
+
export enum ImageAlignment {
|
|
3642
|
+
Default = "default",
|
|
3643
|
+
Left = "left",
|
|
3644
|
+
Right = "right",
|
|
3645
|
+
Center = "center"
|
|
3646
|
+
}
|
|
3218
3647
|
}
|
|
3219
3648
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3220
3649
|
export interface MainPanelContextType {
|
|
@@ -3265,6 +3694,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3265
3694
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3266
3695
|
}
|
|
3267
3696
|
}
|
|
3697
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3698
|
+
export interface ModalRouting {
|
|
3699
|
+
isActive: boolean;
|
|
3700
|
+
itemId: string;
|
|
3701
|
+
backgroundLocation: any;
|
|
3702
|
+
}
|
|
3703
|
+
export function useModalRouting(): {
|
|
3704
|
+
isModalRoutingActive: boolean;
|
|
3705
|
+
modalItemId: string;
|
|
3706
|
+
backgroundLocation: any;
|
|
3707
|
+
};
|
|
3708
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3709
|
+
modalRouting: {
|
|
3710
|
+
isActive: boolean;
|
|
3711
|
+
itemId: string;
|
|
3712
|
+
backgroundLocation: {
|
|
3713
|
+
state: {
|
|
3714
|
+
modalRouting: {
|
|
3715
|
+
isActive: boolean;
|
|
3716
|
+
};
|
|
3717
|
+
};
|
|
3718
|
+
pathname: string;
|
|
3719
|
+
search: string;
|
|
3720
|
+
hash: string;
|
|
3721
|
+
key?: string;
|
|
3722
|
+
};
|
|
3723
|
+
};
|
|
3724
|
+
};
|
|
3725
|
+
}
|
|
3268
3726
|
declare module "libs/reach/util/common/src/index" {
|
|
3269
3727
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3270
3728
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3274,6 +3732,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3274
3732
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3275
3733
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3276
3734
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3735
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3277
3736
|
export * from "libs/reach/util/common/src/user/index";
|
|
3278
3737
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3279
3738
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3292,6 +3751,9 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3292
3751
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3293
3752
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3294
3753
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3754
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3755
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3756
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3295
3757
|
}
|
|
3296
3758
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3297
3759
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3348,7 +3810,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3348
3810
|
text?: string | JSX.Element;
|
|
3349
3811
|
resourceKey?: string;
|
|
3350
3812
|
values?: {
|
|
3351
|
-
[key: string]: string | number | boolean | Date;
|
|
3813
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3352
3814
|
};
|
|
3353
3815
|
width?: number;
|
|
3354
3816
|
onClick?: () => unknown;
|
|
@@ -3428,7 +3890,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3428
3890
|
export const PeoplePicker: FC<Props>;
|
|
3429
3891
|
}
|
|
3430
3892
|
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";
|
|
3893
|
+
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
3894
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3433
3895
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3434
3896
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3445,7 +3907,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3445
3907
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3446
3908
|
*/
|
|
3447
3909
|
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, };
|
|
3910
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3449
3911
|
}
|
|
3450
3912
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3451
3913
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3461,6 +3923,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3461
3923
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3462
3924
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3463
3925
|
}
|
|
3926
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3927
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3928
|
+
}
|
|
3464
3929
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3465
3930
|
import { FC } from 'react';
|
|
3466
3931
|
export const NotificationBar: FC;
|
|
@@ -3477,6 +3942,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3477
3942
|
export const AudioFile: FC<{
|
|
3478
3943
|
fileName: string;
|
|
3479
3944
|
url: string;
|
|
3945
|
+
onPlay?: (url: string) => void;
|
|
3480
3946
|
}>;
|
|
3481
3947
|
export function isAudioFile(fileName: string): boolean;
|
|
3482
3948
|
}
|
|
@@ -3500,37 +3966,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3500
3966
|
color?: string;
|
|
3501
3967
|
}, never>;
|
|
3502
3968
|
}
|
|
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
3969
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3535
3970
|
import { FC } from 'react';
|
|
3536
3971
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3694,6 +4129,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3694
4129
|
export const VideoFile: FC<{
|
|
3695
4130
|
fileName: string;
|
|
3696
4131
|
url: string;
|
|
4132
|
+
onPlay?: (url: string) => void;
|
|
3697
4133
|
}>;
|
|
3698
4134
|
export function isVideoFile(fileName: string): boolean;
|
|
3699
4135
|
}
|
|
@@ -3716,24 +4152,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3716
4152
|
}[]>;
|
|
3717
4153
|
export function getFileIcon(filename: string): string;
|
|
3718
4154
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4155
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3719
4156
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3720
4157
|
}
|
|
3721
4158
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4159
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3722
4160
|
export function useFileAccessTokenApi(): {
|
|
3723
4161
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3724
4162
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3725
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4163
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3726
4164
|
};
|
|
3727
4165
|
}
|
|
3728
4166
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3729
4167
|
import { FC } from 'react';
|
|
3730
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4168
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3731
4169
|
export const FileAttachmentList: FC<{
|
|
3732
4170
|
files: Attachment[];
|
|
3733
4171
|
onDeleteClick?: (file: Attachment) => void;
|
|
3734
4172
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4173
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4174
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3735
4175
|
fileAccessToken?: string;
|
|
3736
4176
|
disabled?: boolean;
|
|
4177
|
+
parentId?: string;
|
|
4178
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3737
4179
|
className?: string;
|
|
3738
4180
|
}>;
|
|
3739
4181
|
}
|
|
@@ -4026,13 +4468,35 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4026
4468
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4027
4469
|
}
|
|
4028
4470
|
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>>;
|
|
4471
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4030
4472
|
}
|
|
4031
4473
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4032
4474
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
4033
4475
|
import { IntlShape } from 'react-intl';
|
|
4034
4476
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4035
4477
|
}
|
|
4478
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4479
|
+
export const smallScreenSpacing = 10;
|
|
4480
|
+
export const smallMaxContentWidth: number;
|
|
4481
|
+
export const mediumMaxContentWidth: number;
|
|
4482
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4483
|
+
}
|
|
4484
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4485
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4486
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4487
|
+
export function isValidUrl(url: string): boolean;
|
|
4488
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4489
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4490
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4491
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4492
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4493
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4494
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4495
|
+
defaultWidth?: number;
|
|
4496
|
+
showPlaceholder?: boolean;
|
|
4497
|
+
}, never>;
|
|
4498
|
+
export function encodeChannelName(channelName: string): string;
|
|
4499
|
+
}
|
|
4036
4500
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4037
4501
|
import { FC, ReactNode } from 'react';
|
|
4038
4502
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4056,12 +4520,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4056
4520
|
}
|
|
4057
4521
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4058
4522
|
import { FC } from 'react';
|
|
4523
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4059
4524
|
export const AutoTranslateButton: FC<{
|
|
4060
4525
|
contentLanguageCode: string;
|
|
4061
4526
|
originalContent: string;
|
|
4062
4527
|
content: string;
|
|
4063
4528
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4064
4529
|
onContentChange: (content: string) => void;
|
|
4530
|
+
itemType: ItemResourceTypes;
|
|
4531
|
+
itemId: string;
|
|
4065
4532
|
tooltipResourceKey?: string;
|
|
4066
4533
|
showLabel?: boolean;
|
|
4067
4534
|
}>;
|
|
@@ -4345,6 +4812,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4345
4812
|
className?: string;
|
|
4346
4813
|
}>;
|
|
4347
4814
|
}
|
|
4815
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4816
|
+
export const useIsMounted: () => () => boolean;
|
|
4817
|
+
}
|
|
4348
4818
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4349
4819
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4350
4820
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4825,6 +5295,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4825
5295
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4826
5296
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4827
5297
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5298
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4828
5299
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4829
5300
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4830
5301
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4857,6 +5328,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4857
5328
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
4858
5329
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
4859
5330
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5331
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
4860
5332
|
}
|
|
4861
5333
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
4862
5334
|
import { ReactNode } from 'react';
|
|
@@ -4908,7 +5380,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4908
5380
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4909
5381
|
}
|
|
4910
5382
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4911
|
-
import { FC } from 'react';
|
|
5383
|
+
import { FC, DependencyList } from 'react';
|
|
4912
5384
|
export interface Props {
|
|
4913
5385
|
navigateTo: string;
|
|
4914
5386
|
onClose?: () => void;
|
|
@@ -4917,7 +5389,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4917
5389
|
className?: string;
|
|
4918
5390
|
}
|
|
4919
5391
|
export const CloseButton: FC<Props>;
|
|
4920
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5392
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4921
5393
|
}
|
|
4922
5394
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4923
5395
|
export const LogoHostStyle: (size?: {
|
|
@@ -4981,8 +5453,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4981
5453
|
export const SkipLinksContextProvider: FC;
|
|
4982
5454
|
}
|
|
4983
5455
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5456
|
+
import { DependencyList } from 'react';
|
|
4984
5457
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4985
|
-
export function useAddSkipLinks(
|
|
5458
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4986
5459
|
}
|
|
4987
5460
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4988
5461
|
import { FC } from 'react';
|
|
@@ -5008,9 +5481,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5008
5481
|
}
|
|
5009
5482
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5010
5483
|
import { FC, ReactNode } from 'react';
|
|
5484
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5011
5485
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5012
5486
|
import './BasicPage.scss';
|
|
5013
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5014
5487
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5015
5488
|
type HeaderToolbarObjectTypeHack = {
|
|
5016
5489
|
toolbarElement: JSX.Element;
|
|
@@ -5033,6 +5506,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5033
5506
|
closeButtonOptions?: CloseButtonOptions;
|
|
5034
5507
|
showSearchBox?: boolean;
|
|
5035
5508
|
disableScrollableContainerFocus?: boolean;
|
|
5509
|
+
asModal?: boolean;
|
|
5510
|
+
domIdentifier?: string;
|
|
5036
5511
|
}
|
|
5037
5512
|
export const BasicPage: FC<Props>;
|
|
5038
5513
|
}
|
|
@@ -5126,7 +5601,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5126
5601
|
addLanguage: (code: string) => Promise<Language>;
|
|
5127
5602
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5128
5603
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5129
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5604
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5605
|
+
name: string | null;
|
|
5606
|
+
hideName: boolean | null;
|
|
5607
|
+
}>;
|
|
5130
5608
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5131
5609
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5132
5610
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5432,11 +5910,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5432
5910
|
export { PushClient };
|
|
5433
5911
|
}
|
|
5434
5912
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5435
|
-
import { ConfigureOptions, MigrateResult,
|
|
5436
|
-
export class MobileHybridStorage implements
|
|
5913
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5914
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5437
5915
|
private pluginStorage;
|
|
5438
5916
|
private static memoryStorage;
|
|
5439
|
-
constructor(pluginStorage:
|
|
5917
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5440
5918
|
get(options: {
|
|
5441
5919
|
key: string;
|
|
5442
5920
|
}): Promise<any>;
|
|
@@ -5448,7 +5926,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5448
5926
|
key: string;
|
|
5449
5927
|
}): Promise<void>;
|
|
5450
5928
|
clear(): Promise<void>;
|
|
5451
|
-
keys(): Promise<import("@capacitor/
|
|
5929
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5452
5930
|
private static updateInMemoryStorage;
|
|
5453
5931
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5454
5932
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5484,7 +5962,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5484
5962
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5485
5963
|
}
|
|
5486
5964
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5487
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5965
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5488
5966
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5489
5967
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5490
5968
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5493,6 +5971,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5493
5971
|
getId(): Promise<DeviceId>;
|
|
5494
5972
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5495
5973
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
5974
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5496
5975
|
}
|
|
5497
5976
|
}
|
|
5498
5977
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5509,8 +5988,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5509
5988
|
}
|
|
5510
5989
|
}
|
|
5511
5990
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5512
|
-
import { ConfigureOptions, MigrateResult,
|
|
5513
|
-
export class WebStorage implements
|
|
5991
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5992
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5514
5993
|
storage: Storage;
|
|
5515
5994
|
get(options: {
|
|
5516
5995
|
key: string;
|
|
@@ -5544,14 +6023,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5544
6023
|
import { SharePlugin } from '@capacitor/share';
|
|
5545
6024
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5546
6025
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5547
|
-
import {
|
|
6026
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5548
6027
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5549
6028
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5550
6029
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5551
6030
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5552
6031
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5553
6032
|
export interface CondensePluginRegistry {
|
|
5554
|
-
Storage:
|
|
6033
|
+
Storage: PreferencesPlugin;
|
|
5555
6034
|
Device: DevicePlugin;
|
|
5556
6035
|
App: AppPlugin;
|
|
5557
6036
|
Keyboard: KeyboardPlugin;
|
|
@@ -6213,7 +6692,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6213
6692
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6214
6693
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6215
6694
|
export function useSelfRegistrationApi(): {
|
|
6216
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6695
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6217
6696
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6218
6697
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6219
6698
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6269,6 +6748,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6269
6748
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6270
6749
|
}>;
|
|
6271
6750
|
}
|
|
6751
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6752
|
+
import { FC } from 'react';
|
|
6753
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6754
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6755
|
+
onApiKeyAdded?: () => void;
|
|
6756
|
+
onDismiss: () => void;
|
|
6757
|
+
user?: UserItem;
|
|
6758
|
+
}>;
|
|
6759
|
+
}
|
|
6272
6760
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6273
6761
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6274
6762
|
import './UserList.scss';
|
|
@@ -6292,7 +6780,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6292
6780
|
isLoading?: boolean;
|
|
6293
6781
|
isEmpty?: boolean;
|
|
6294
6782
|
emptyPlaceholder?: ReactNode;
|
|
6783
|
+
onKeyChanged?: () => void;
|
|
6295
6784
|
}
|
|
6785
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6786
|
+
accountType: string;
|
|
6787
|
+
lastLogin: string | JSX.Element;
|
|
6788
|
+
};
|
|
6296
6789
|
export const UserList: FC<Props>;
|
|
6297
6790
|
}
|
|
6298
6791
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6325,12 +6818,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6325
6818
|
className?: string;
|
|
6326
6819
|
}>;
|
|
6327
6820
|
}
|
|
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
6821
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6335
6822
|
import { FC } from 'react';
|
|
6336
6823
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6350,18 +6837,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6350
6837
|
}
|
|
6351
6838
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6352
6839
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6840
|
+
export enum ValidationStatus {
|
|
6841
|
+
Valid = 0,
|
|
6842
|
+
WithErrors = 1,
|
|
6843
|
+
WithUserErrors = 2
|
|
6844
|
+
}
|
|
6845
|
+
export type CsvValidation = {
|
|
6846
|
+
Status?: ValidationStatus;
|
|
6847
|
+
Message?: string;
|
|
6848
|
+
InvalidItems?: string[];
|
|
6849
|
+
};
|
|
6353
6850
|
export function useUserCsvInviter(): {
|
|
6354
6851
|
invitedUsers: UserImport[];
|
|
6355
6852
|
isValidating: boolean;
|
|
6356
6853
|
isCsvValid: boolean;
|
|
6357
6854
|
parseCsvFile: (csvFile: File) => void;
|
|
6358
|
-
|
|
6359
|
-
|
|
6855
|
+
csvValidation: CsvValidation;
|
|
6856
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6360
6857
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6361
6858
|
isParserReady: boolean;
|
|
6362
|
-
|
|
6859
|
+
isInviting: boolean;
|
|
6860
|
+
canInvite: boolean;
|
|
6861
|
+
csvFile: File;
|
|
6363
6862
|
};
|
|
6364
6863
|
}
|
|
6864
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6865
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6866
|
+
}
|
|
6867
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6868
|
+
import { FC } from 'react';
|
|
6869
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6870
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6871
|
+
export const CsvFileValidationResult: FC<{
|
|
6872
|
+
csvValidation: CsvValidation;
|
|
6873
|
+
invitedUsers: UserImport[];
|
|
6874
|
+
}>;
|
|
6875
|
+
}
|
|
6365
6876
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6366
6877
|
import { FC } from 'react';
|
|
6367
6878
|
export const ImportUserButton: FC<{
|
|
@@ -6394,34 +6905,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6394
6905
|
children?: (content: string, index: number) => JSX.Element;
|
|
6395
6906
|
}>;
|
|
6396
6907
|
}
|
|
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
6908
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6401
6909
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6402
|
-
export class
|
|
6910
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6403
6911
|
static type: string;
|
|
6404
6912
|
type: string;
|
|
6405
6913
|
itemId: string;
|
|
6406
6914
|
response: EventResponse;
|
|
6407
6915
|
locationId: string;
|
|
6408
6916
|
onBehalfOfUpn: string;
|
|
6409
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6917
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6410
6918
|
}
|
|
6411
|
-
export class
|
|
6919
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6412
6920
|
static type: string;
|
|
6413
6921
|
type: string;
|
|
6414
|
-
|
|
6922
|
+
itemId: string;
|
|
6415
6923
|
response: EventResponse;
|
|
6416
|
-
static create(
|
|
6924
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6417
6925
|
}
|
|
6418
|
-
export class
|
|
6926
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6419
6927
|
static type: string;
|
|
6420
6928
|
type: string;
|
|
6421
6929
|
recurrenceSeriesId: string;
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6930
|
+
response: EventResponse;
|
|
6931
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6425
6932
|
}
|
|
6426
6933
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6427
6934
|
static type: string;
|
|
@@ -6436,6 +6943,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6436
6943
|
followByDefault: boolean;
|
|
6437
6944
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6438
6945
|
}
|
|
6946
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6947
|
+
static type: string;
|
|
6948
|
+
type: string;
|
|
6949
|
+
recurrenceSeriesId: string;
|
|
6950
|
+
isLiked: boolean;
|
|
6951
|
+
likeCount: number;
|
|
6952
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6953
|
+
}
|
|
6954
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
6955
|
+
static type: string;
|
|
6956
|
+
type: string;
|
|
6957
|
+
recurrenceSeriesId: string;
|
|
6958
|
+
isFollowed: boolean;
|
|
6959
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
6960
|
+
}
|
|
6439
6961
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6440
6962
|
static type: string;
|
|
6441
6963
|
type: string;
|
|
@@ -6456,6 +6978,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6456
6978
|
type: string;
|
|
6457
6979
|
static create(): StreamMarkAllAsReadAction;
|
|
6458
6980
|
}
|
|
6981
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6982
|
+
static type: string;
|
|
6983
|
+
type: string;
|
|
6984
|
+
itemId: string;
|
|
6985
|
+
static create(itemId: string): RefetchItemAction;
|
|
6986
|
+
}
|
|
6987
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
6988
|
+
static type: string;
|
|
6989
|
+
type: string;
|
|
6990
|
+
itemId: string;
|
|
6991
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
6992
|
+
}
|
|
6459
6993
|
}
|
|
6460
6994
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6461
6995
|
export interface CommentFilter {
|
|
@@ -6472,32 +7006,38 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6472
7006
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6473
7007
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6474
7008
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7009
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6475
7010
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6476
7011
|
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) =>
|
|
7012
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7013
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7014
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7015
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7016
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7017
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6483
7018
|
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) =>
|
|
7019
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7020
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6486
7021
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6487
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7022
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6488
7023
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6489
7024
|
};
|
|
6490
7025
|
}
|
|
7026
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7027
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
7028
|
+
}
|
|
6491
7029
|
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
6492
7030
|
import { FC } from 'react';
|
|
6493
|
-
import { ConversationScope } from "libs/reach/util/common/src/index";
|
|
6494
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7031
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6495
7032
|
interface Props {
|
|
6496
7033
|
type: ItemResourceTypes;
|
|
6497
7034
|
itemId: string;
|
|
7035
|
+
recurrenceSeriesId?: string;
|
|
6498
7036
|
className?: string;
|
|
6499
7037
|
scope: ConversationScope;
|
|
6500
7038
|
hideProfileUrl?: boolean;
|
|
7039
|
+
hideWarning?: boolean;
|
|
7040
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
6501
7041
|
}
|
|
6502
7042
|
export const FollowComments: FC<Props>;
|
|
6503
7043
|
}
|
|
@@ -6615,7 +7155,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6615
7155
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6616
7156
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6617
7157
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6618
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
7158
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6619
7159
|
}
|
|
6620
7160
|
export interface BaseFilterDefinition {
|
|
6621
7161
|
search?: string;
|
|
@@ -6623,6 +7163,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6623
7163
|
pageSize?: string | number;
|
|
6624
7164
|
groupId?: string;
|
|
6625
7165
|
}
|
|
7166
|
+
export interface ItemIdsFilterDefinition {
|
|
7167
|
+
itemIds?: string;
|
|
7168
|
+
}
|
|
6626
7169
|
export interface IndexableFilterDefinition {
|
|
6627
7170
|
[key: string]: any;
|
|
6628
7171
|
}
|
|
@@ -6927,6 +7470,43 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6927
7470
|
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
6928
7471
|
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
6929
7472
|
}
|
|
7473
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7474
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7475
|
+
export default interface FeedbackSummary {
|
|
7476
|
+
records: FeedbackItem[];
|
|
7477
|
+
}
|
|
7478
|
+
export enum FeedbackItemType {
|
|
7479
|
+
comment = "comment",
|
|
7480
|
+
like = "like",
|
|
7481
|
+
confirm = "confirm",
|
|
7482
|
+
poll = "poll",
|
|
7483
|
+
eventRegistration = "eventRegistration"
|
|
7484
|
+
}
|
|
7485
|
+
export interface FeedbackItem {
|
|
7486
|
+
type: FeedbackItemType;
|
|
7487
|
+
timestamp: string;
|
|
7488
|
+
}
|
|
7489
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7490
|
+
type: FeedbackItemType.poll;
|
|
7491
|
+
answers: PollQuestionAnswer[];
|
|
7492
|
+
}
|
|
7493
|
+
}
|
|
7494
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7495
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7496
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7497
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7498
|
+
export const feedbackCache: {
|
|
7499
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7500
|
+
};
|
|
7501
|
+
export function useFeedbackApi(): {
|
|
7502
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7503
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7504
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7505
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7506
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7507
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7508
|
+
};
|
|
7509
|
+
}
|
|
6930
7510
|
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
6931
7511
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6932
7512
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
@@ -6943,7 +7523,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
6943
7523
|
deletePost: (postId: string) => Promise<unknown>;
|
|
6944
7524
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
6945
7525
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
6946
|
-
translatePost: (postId: string, language: string) =>
|
|
7526
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
6947
7527
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
6948
7528
|
};
|
|
6949
7529
|
}
|
|
@@ -6953,7 +7533,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
|
|
|
6953
7533
|
}
|
|
6954
7534
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6955
7535
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6956
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7536
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6957
7537
|
export interface ClientAttachment extends Attachment {
|
|
6958
7538
|
file?: File;
|
|
6959
7539
|
}
|
|
@@ -6969,6 +7549,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6969
7549
|
placeHolderStringResourceKey?: string;
|
|
6970
7550
|
disableAddGif?: boolean;
|
|
6971
7551
|
disableAddFiles?: boolean;
|
|
7552
|
+
parentId?: string;
|
|
7553
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6972
7554
|
};
|
|
6973
7555
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
6974
7556
|
attachments: Attachment[];
|
|
@@ -6981,6 +7563,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6981
7563
|
placeHolderStringResourceKey?: string;
|
|
6982
7564
|
disableAddGif?: boolean;
|
|
6983
7565
|
disableAddFiles?: boolean;
|
|
7566
|
+
parentId?: string;
|
|
7567
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6984
7568
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
6985
7569
|
}
|
|
6986
7570
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7110,6 +7694,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7110
7694
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7111
7695
|
import { FC, MouseEvent } from 'react';
|
|
7112
7696
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7697
|
+
import { LocationState } from 'history';
|
|
7113
7698
|
export const ClickableOverlay: FC<{
|
|
7114
7699
|
itemId: string;
|
|
7115
7700
|
itemType: ItemResourceTypes;
|
|
@@ -7120,6 +7705,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7120
7705
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7121
7706
|
openTargetInNewWindow?: boolean;
|
|
7122
7707
|
isExternalContent?: boolean;
|
|
7708
|
+
locationState?: LocationState;
|
|
7709
|
+
}>;
|
|
7710
|
+
}
|
|
7711
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7712
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7713
|
+
import { FC } from 'react';
|
|
7714
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7715
|
+
itemId: string;
|
|
7716
|
+
itemType: ItemResourceTypes;
|
|
7717
|
+
baseRoute: string;
|
|
7718
|
+
title?: string;
|
|
7719
|
+
isExternalContent?: boolean;
|
|
7720
|
+
targetUrl?: string;
|
|
7123
7721
|
}>;
|
|
7124
7722
|
}
|
|
7125
7723
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7130,6 +7728,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7130
7728
|
targetUrl?: string;
|
|
7131
7729
|
readOnly?: boolean;
|
|
7132
7730
|
backgroundColor?: string;
|
|
7731
|
+
enableModalRouting?: boolean;
|
|
7133
7732
|
className?: string;
|
|
7134
7733
|
}>;
|
|
7135
7734
|
}
|
|
@@ -7167,6 +7766,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7167
7766
|
className?: string;
|
|
7168
7767
|
allowFilterByChannels?: boolean;
|
|
7169
7768
|
channelBackgroundColor?: string;
|
|
7769
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7170
7770
|
}>;
|
|
7171
7771
|
}
|
|
7172
7772
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7226,6 +7826,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7226
7826
|
height?: number;
|
|
7227
7827
|
hidePlayerIfActive?: boolean;
|
|
7228
7828
|
className?: string;
|
|
7829
|
+
documentIconName?: string;
|
|
7229
7830
|
}
|
|
7230
7831
|
export const PublishableItemBanner: FC<Props>;
|
|
7231
7832
|
}
|
|
@@ -7311,27 +7912,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7311
7912
|
}
|
|
7312
7913
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7313
7914
|
}
|
|
7314
|
-
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7315
|
-
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7316
|
-
export default interface FeedbackSummary {
|
|
7317
|
-
records: FeedbackItem[];
|
|
7318
|
-
}
|
|
7319
|
-
export enum FeedbackItemType {
|
|
7320
|
-
comment = "comment",
|
|
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
7915
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7336
7916
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7337
7917
|
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
@@ -7350,6 +7930,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7350
7930
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7351
7931
|
export const EventRegistrationButton: FC<{
|
|
7352
7932
|
isRegistered: boolean;
|
|
7933
|
+
eventId: string;
|
|
7353
7934
|
disabled?: boolean;
|
|
7354
7935
|
className?: string;
|
|
7355
7936
|
onClick?: () => void;
|
|
@@ -7433,25 +8014,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7433
8014
|
onDismiss: () => unknown;
|
|
7434
8015
|
}>;
|
|
7435
8016
|
}
|
|
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
8017
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7456
8018
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7457
8019
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7464,10 +8026,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7464
8026
|
}
|
|
7465
8027
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7466
8028
|
import { FC } from 'react';
|
|
8029
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7467
8030
|
export const EventUserRegistration: FC<{
|
|
7468
8031
|
disabled?: boolean;
|
|
7469
8032
|
hideInfoMessage?: boolean;
|
|
7470
8033
|
showNoRegistrationRequired?: boolean;
|
|
8034
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7471
8035
|
className?: string;
|
|
7472
8036
|
}>;
|
|
7473
8037
|
}
|
|
@@ -7537,8 +8101,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7537
8101
|
export const CardLikeButton: FC<{
|
|
7538
8102
|
item: NewsItem | EventItem;
|
|
7539
8103
|
itemResourceType: ItemResourceTypes;
|
|
7540
|
-
|
|
7541
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8104
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7542
8105
|
className?: string;
|
|
7543
8106
|
}>;
|
|
7544
8107
|
}
|
|
@@ -7560,6 +8123,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7560
8123
|
className?: string;
|
|
7561
8124
|
}>;
|
|
7562
8125
|
}
|
|
8126
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
8127
|
+
import { FC } from 'react';
|
|
8128
|
+
export const LinkWithModalRouting: FC<{
|
|
8129
|
+
url: string;
|
|
8130
|
+
itemId: string;
|
|
8131
|
+
hash?: string;
|
|
8132
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
8133
|
+
ariaHidden?: boolean;
|
|
8134
|
+
ariaLabel?: string;
|
|
8135
|
+
className?: string;
|
|
8136
|
+
}>;
|
|
8137
|
+
}
|
|
7563
8138
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7564
8139
|
import { FC } from 'react';
|
|
7565
8140
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7578,6 +8153,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7578
8153
|
allowFilterByChannels?: boolean;
|
|
7579
8154
|
showFeedbackButtons?: boolean;
|
|
7580
8155
|
readOnly?: boolean;
|
|
8156
|
+
enableModalRouting?: boolean;
|
|
7581
8157
|
className?: string;
|
|
7582
8158
|
}>;
|
|
7583
8159
|
}
|
|
@@ -7628,7 +8204,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7628
8204
|
Contact = "contact",
|
|
7629
8205
|
InlinePageList = "inline-page-list",
|
|
7630
8206
|
UrlPreview = "url-preview",
|
|
7631
|
-
ActionButton = "action-button"
|
|
8207
|
+
ActionButton = "action-button",
|
|
8208
|
+
InlinePlugin = "inline-plugin"
|
|
7632
8209
|
}
|
|
7633
8210
|
export interface HtmlComponentMapper {
|
|
7634
8211
|
component: FC<any>;
|
|
@@ -7770,7 +8347,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7770
8347
|
resourceKey?: string;
|
|
7771
8348
|
resourceValues?: string;
|
|
7772
8349
|
className?: string;
|
|
8350
|
+
enableModalRouting?: boolean;
|
|
8351
|
+
itemId?: string;
|
|
7773
8352
|
isOverrideLink: boolean;
|
|
8353
|
+
icon?: string;
|
|
7774
8354
|
}>;
|
|
7775
8355
|
}
|
|
7776
8356
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -7829,6 +8409,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7829
8409
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7830
8410
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7831
8411
|
openTargetInNewWindow?: boolean;
|
|
8412
|
+
enableModalRouting?: boolean;
|
|
7832
8413
|
className?: string;
|
|
7833
8414
|
}
|
|
7834
8415
|
export const PageItemTile: FC<Props>;
|
|
@@ -7874,6 +8455,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7874
8455
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7875
8456
|
styleDefinition?: StyleDefinition;
|
|
7876
8457
|
readOnly?: boolean;
|
|
8458
|
+
enableModalRouting?: boolean;
|
|
7877
8459
|
className?: string;
|
|
7878
8460
|
}
|
|
7879
8461
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7917,6 +8499,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7917
8499
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7918
8500
|
styleDefinition?: StyleDefinition;
|
|
7919
8501
|
readOnly?: boolean;
|
|
8502
|
+
enableModalRouting?: boolean;
|
|
7920
8503
|
className?: string;
|
|
7921
8504
|
}
|
|
7922
8505
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7942,6 +8525,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7942
8525
|
previewTheme?: CommentInputTheme;
|
|
7943
8526
|
buttons?: ReactNode;
|
|
7944
8527
|
groupIds?: string[];
|
|
8528
|
+
enableModalRouting?: boolean;
|
|
7945
8529
|
className?: string;
|
|
7946
8530
|
}>;
|
|
7947
8531
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7958,6 +8542,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7958
8542
|
attachments: Attachment[];
|
|
7959
8543
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7960
8544
|
previewTheme?: CommentInputTheme;
|
|
8545
|
+
enableModalRouting?: boolean;
|
|
7961
8546
|
className?: string;
|
|
7962
8547
|
}>;
|
|
7963
8548
|
}
|
|
@@ -7974,7 +8559,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
7974
8559
|
}
|
|
7975
8560
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
7976
8561
|
import { FC } from 'react';
|
|
7977
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8562
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7978
8563
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7979
8564
|
interface Props {
|
|
7980
8565
|
className?: string;
|
|
@@ -7984,6 +8569,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
7984
8569
|
previewTheme?: CommentInputTheme;
|
|
7985
8570
|
disableVideoPreview?: boolean;
|
|
7986
8571
|
disableEmbeddedObjectPreview?: boolean;
|
|
8572
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8573
|
+
parentId?: string;
|
|
7987
8574
|
}
|
|
7988
8575
|
export const AttachmentList: FC<Props>;
|
|
7989
8576
|
}
|
|
@@ -8000,6 +8587,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8000
8587
|
placeHolderStringResourceKey?: string;
|
|
8001
8588
|
disableAddGif?: boolean;
|
|
8002
8589
|
disableAddFiles?: boolean;
|
|
8590
|
+
parentId?: string;
|
|
8591
|
+
itemResourceType?: string;
|
|
8003
8592
|
} & {
|
|
8004
8593
|
disableVideoPreview?: boolean;
|
|
8005
8594
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8069,7 +8658,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8069
8658
|
}
|
|
8070
8659
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8071
8660
|
import { FC } from 'react';
|
|
8072
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8661
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8073
8662
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8074
8663
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8075
8664
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8101,6 +8690,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8101
8690
|
};
|
|
8102
8691
|
disableBoxShadow?: boolean;
|
|
8103
8692
|
ariaLabel?: string;
|
|
8693
|
+
parentId?: string;
|
|
8694
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8104
8695
|
}
|
|
8105
8696
|
interface Props extends BaseProps {
|
|
8106
8697
|
allowAttachments?: boolean;
|
|
@@ -8118,6 +8709,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8118
8709
|
import { FC, ReactNode } from 'react';
|
|
8119
8710
|
export const InlineObjectToolbar: FC<{
|
|
8120
8711
|
onDelete?: () => void;
|
|
8712
|
+
deleteAriaLabelResourceKey?: string;
|
|
8121
8713
|
additionalButtons?: ReactNode;
|
|
8122
8714
|
}>;
|
|
8123
8715
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8125,15 +8717,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8125
8717
|
}>;
|
|
8126
8718
|
}
|
|
8127
8719
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8720
|
+
import { FC, ReactNode } from 'react';
|
|
8721
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8129
8722
|
export const ImageToolbar: FC<{
|
|
8130
8723
|
onDelete?: () => void;
|
|
8131
8724
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8132
8725
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8133
8726
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8727
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8134
8728
|
showFullScreenButton?: boolean;
|
|
8135
8729
|
showCloseButton?: boolean;
|
|
8136
8730
|
showCropButton?: boolean;
|
|
8731
|
+
alignmentButtons?: ReactNode;
|
|
8137
8732
|
}>;
|
|
8138
8733
|
}
|
|
8139
8734
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8160,14 +8755,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8160
8755
|
}
|
|
8161
8756
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8162
8757
|
}
|
|
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
8758
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8172
8759
|
import { FC } from 'react';
|
|
8173
8760
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8175,12 +8762,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8175
8762
|
item: ItemWithAttachments;
|
|
8176
8763
|
basePath: string;
|
|
8177
8764
|
imagesGridBackgroundColor?: string;
|
|
8765
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8766
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8178
8767
|
className?: string;
|
|
8179
8768
|
}>;
|
|
8180
8769
|
}
|
|
8181
8770
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8182
8771
|
import { FC } from 'react';
|
|
8183
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8772
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8184
8773
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8185
8774
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8186
8775
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8196,6 +8785,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8196
8785
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8197
8786
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8198
8787
|
ariaLabel?: string;
|
|
8788
|
+
parentId?: string;
|
|
8789
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8199
8790
|
}
|
|
8200
8791
|
interface Props extends BaseProps {
|
|
8201
8792
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8260,6 +8851,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8260
8851
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8261
8852
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8262
8853
|
}
|
|
8854
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8855
|
+
import { FC } from 'react';
|
|
8856
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8857
|
+
export const BookmarkButton: FC<{
|
|
8858
|
+
item: PublishableItem;
|
|
8859
|
+
isReadOnly?: boolean;
|
|
8860
|
+
className?: string;
|
|
8861
|
+
}>;
|
|
8862
|
+
}
|
|
8263
8863
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8264
8864
|
import { FC } from 'react';
|
|
8265
8865
|
export const CardStatisticItem: FC<{
|
|
@@ -8277,13 +8877,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8277
8877
|
};
|
|
8278
8878
|
}>;
|
|
8279
8879
|
}
|
|
8280
|
-
declare module "libs/reach/feature/content/src/
|
|
8880
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8881
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8281
8882
|
import { FC } from 'react';
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8883
|
+
export const CardCommentButton: FC<{
|
|
8884
|
+
item: NewsItem | EventItem;
|
|
8885
|
+
itemResourceType: ItemResourceTypes;
|
|
8886
|
+
targetRoute: string;
|
|
8887
|
+
enableModalRouting?: boolean;
|
|
8287
8888
|
}>;
|
|
8288
8889
|
}
|
|
8289
8890
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8291,13 +8892,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8291
8892
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8292
8893
|
export const CardFooter: FC<{
|
|
8293
8894
|
item: NewsItem | EventItem;
|
|
8294
|
-
showComments: boolean;
|
|
8295
8895
|
targetRoute: string;
|
|
8296
8896
|
itemResourceType: ItemResourceTypes;
|
|
8297
|
-
|
|
8298
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8897
|
+
enableModalRouting?: boolean;
|
|
8299
8898
|
}>;
|
|
8300
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
8899
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8301
8900
|
}
|
|
8302
8901
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8303
8902
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8346,6 +8945,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8346
8945
|
target?: string;
|
|
8347
8946
|
language?: string;
|
|
8348
8947
|
hideCurrentPageNode?: boolean;
|
|
8948
|
+
homeTargetUrlOverride?: string;
|
|
8349
8949
|
className?: string;
|
|
8350
8950
|
}>;
|
|
8351
8951
|
}
|
|
@@ -8545,6 +9145,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8545
9145
|
language?: string;
|
|
8546
9146
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8547
9147
|
clickableAvatar?: boolean;
|
|
9148
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8548
9149
|
}>;
|
|
8549
9150
|
}
|
|
8550
9151
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8594,7 +9195,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8594
9195
|
item: NewsItem;
|
|
8595
9196
|
baseRoute: string;
|
|
8596
9197
|
language: string;
|
|
8597
|
-
showComments: boolean;
|
|
8598
9198
|
highlight: boolean;
|
|
8599
9199
|
className?: string;
|
|
8600
9200
|
}
|
|
@@ -8627,6 +9227,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8627
9227
|
isLastPage: boolean;
|
|
8628
9228
|
unreadOnly?: boolean;
|
|
8629
9229
|
filter?: NewsFilterDefinition;
|
|
9230
|
+
activeChannel?: string;
|
|
8630
9231
|
}>;
|
|
8631
9232
|
}
|
|
8632
9233
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -8701,6 +9302,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8701
9302
|
}
|
|
8702
9303
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8703
9304
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9305
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8704
9306
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8705
9307
|
}
|
|
8706
9308
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8919,6 +9521,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
8919
9521
|
}
|
|
8920
9522
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8921
9523
|
}
|
|
9524
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9525
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9526
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9527
|
+
}
|
|
8922
9528
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8923
9529
|
import { FC } from 'react';
|
|
8924
9530
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -8931,6 +9537,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8931
9537
|
import { FC } from 'react';
|
|
8932
9538
|
export const EventDetailViewMetaInfo: FC<{
|
|
8933
9539
|
allowFilterByChannels?: boolean;
|
|
9540
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8934
9541
|
}>;
|
|
8935
9542
|
}
|
|
8936
9543
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9138,6 +9745,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9138
9745
|
readOnly?: boolean;
|
|
9139
9746
|
trimContent?: boolean;
|
|
9140
9747
|
showReplyBox?: boolean;
|
|
9748
|
+
enableModalRouting?: boolean;
|
|
9141
9749
|
className?: string;
|
|
9142
9750
|
}>;
|
|
9143
9751
|
}
|
|
@@ -9160,6 +9768,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9160
9768
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9161
9769
|
readOnly?: boolean;
|
|
9162
9770
|
trimContent?: boolean;
|
|
9771
|
+
enableModalRouting?: boolean;
|
|
9163
9772
|
className?: string;
|
|
9164
9773
|
}
|
|
9165
9774
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9219,6 +9828,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9219
9828
|
showReplyBox?: boolean;
|
|
9220
9829
|
trimContent?: boolean;
|
|
9221
9830
|
title?: ReactNode;
|
|
9831
|
+
enableModalRouting?: boolean;
|
|
9222
9832
|
className?: string;
|
|
9223
9833
|
};
|
|
9224
9834
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9243,14 +9853,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9243
9853
|
}
|
|
9244
9854
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9245
9855
|
import { FC } from 'react';
|
|
9246
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9247
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9856
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9248
9857
|
export const PublishableItemComments: FC<{
|
|
9249
9858
|
item: PublishableItem;
|
|
9250
9859
|
readOnly?: boolean;
|
|
9251
9860
|
loadInReadOnlyMode?: boolean;
|
|
9252
9861
|
type: ItemResourceTypes;
|
|
9253
|
-
hideProfileUrl?: boolean;
|
|
9254
9862
|
disableLoginForPublicUser?: boolean;
|
|
9255
9863
|
}>;
|
|
9256
9864
|
}
|
|
@@ -9311,16 +9919,13 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9311
9919
|
}
|
|
9312
9920
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9313
9921
|
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";
|
|
9922
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9317
9923
|
export const FeedbackSection: FC<{
|
|
9318
9924
|
item: PublishableItem;
|
|
9319
9925
|
language: string;
|
|
9320
9926
|
type: ItemResourceTypes;
|
|
9321
9927
|
feedbackSettings: FeedbackSettings;
|
|
9322
9928
|
hideComments?: boolean;
|
|
9323
|
-
hideProfileUrl?: boolean;
|
|
9324
9929
|
disableLoginForPublicUser?: boolean;
|
|
9325
9930
|
isReadOnly?: boolean;
|
|
9326
9931
|
className?: string;
|
|
@@ -9375,9 +9980,10 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9375
9980
|
}
|
|
9376
9981
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9377
9982
|
import { FC } from 'react';
|
|
9378
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9983
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9379
9984
|
export const ConfirmationStatisticsExport: FC<{
|
|
9380
9985
|
item: PublishableItem;
|
|
9986
|
+
resourceType: ItemResourceTypes;
|
|
9381
9987
|
}>;
|
|
9382
9988
|
}
|
|
9383
9989
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
@@ -9487,6 +10093,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9487
10093
|
layoutMode?: ItemTileLayoutMode;
|
|
9488
10094
|
bannerDefaultWidth?: number;
|
|
9489
10095
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10096
|
+
documentIconName?: string;
|
|
9490
10097
|
}>;
|
|
9491
10098
|
}
|
|
9492
10099
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9557,6 +10164,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9557
10164
|
import { FC } from 'react';
|
|
9558
10165
|
export const DetailViewKeywords: FC<{
|
|
9559
10166
|
filterBaseUrl: string;
|
|
10167
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9560
10168
|
}>;
|
|
9561
10169
|
}
|
|
9562
10170
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
@@ -9604,8 +10212,9 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9604
10212
|
import { FC, ReactNode } from 'react';
|
|
9605
10213
|
export const DetailViewNavigation: FC<{
|
|
9606
10214
|
offsetRight?: number;
|
|
9607
|
-
children?: ReactNode;
|
|
9608
10215
|
callout?: ReactNode;
|
|
10216
|
+
className?: string;
|
|
10217
|
+
children?: ReactNode;
|
|
9609
10218
|
}>;
|
|
9610
10219
|
}
|
|
9611
10220
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
@@ -9648,626 +10257,262 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9648
10257
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9649
10258
|
};
|
|
9650
10259
|
}
|
|
9651
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
10260
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10261
|
+
interface IClickHandles {
|
|
10262
|
+
onInsideClick: () => void;
|
|
10263
|
+
onOutsideClick: () => void;
|
|
10264
|
+
}
|
|
10265
|
+
export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10266
|
+
}
|
|
10267
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10268
|
+
import { FC } from 'react';
|
|
10269
|
+
export const GroupNotificationsSettings: FC<{
|
|
10270
|
+
groupId: string;
|
|
9662
10271
|
className?: string;
|
|
9663
10272
|
}>;
|
|
9664
10273
|
}
|
|
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;
|
|
10274
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10275
|
+
import { FC } from 'react';
|
|
10276
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10277
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10278
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10279
|
+
export interface PostCreatorProps {
|
|
10280
|
+
groupId: string;
|
|
10281
|
+
disabled?: boolean;
|
|
10282
|
+
disableDragAndDrop?: boolean;
|
|
10283
|
+
onBeforeSave?: (post: Post) => void;
|
|
10284
|
+
onSaved: (post: Post) => void;
|
|
10285
|
+
keywordSettings?: {
|
|
10286
|
+
availableKeywords?: Keyword[];
|
|
10287
|
+
defaultKeywords?: Keyword[];
|
|
10288
|
+
mandatoryKeywords?: Keyword[];
|
|
10289
|
+
};
|
|
10290
|
+
disableAutoFocus?: boolean;
|
|
10291
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9687
10292
|
className?: string;
|
|
9688
10293
|
}
|
|
9689
|
-
export const
|
|
10294
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9690
10295
|
}
|
|
9691
|
-
declare module "libs/reach/feature/content/src/
|
|
10296
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9692
10297
|
import { FC } from 'react';
|
|
9693
|
-
import {
|
|
9694
|
-
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
}
|
|
9698
|
-
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
9699
|
-
import { FC, ReactNode } from 'react';
|
|
9700
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
9701
|
-
import { LocationDescriptor } from 'history';
|
|
9702
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
9703
|
-
interface CommonSidebarItemProps {
|
|
9704
|
-
title?: string | JSX.Element;
|
|
9705
|
-
titleResource?: string;
|
|
9706
|
-
icon?: ReactNode;
|
|
9707
|
-
iconName?: string;
|
|
9708
|
-
iconTooltipResourceKey?: string;
|
|
9709
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
9710
|
-
secondaryIconName?: string;
|
|
9711
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9712
|
-
iconColor?: string;
|
|
9713
|
-
reverse?: boolean;
|
|
9714
|
-
notHighlightable?: boolean;
|
|
9715
|
-
onClick?: () => void;
|
|
10298
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10299
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10300
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10301
|
+
interface Props {
|
|
9716
10302
|
className?: string;
|
|
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;
|
|
10303
|
+
post: Post;
|
|
10304
|
+
initialPageSize?: number;
|
|
10305
|
+
comments?: PaginatedList<Comment>;
|
|
10306
|
+
autoFocusReplyField?: boolean;
|
|
10307
|
+
showReplyBox?: boolean;
|
|
10308
|
+
onReplyAdded: () => void;
|
|
10309
|
+
onReplyDeleted: () => void;
|
|
10310
|
+
trimContent?: boolean;
|
|
10311
|
+
enableModalRouting?: boolean;
|
|
9739
10312
|
}
|
|
9740
|
-
export const
|
|
10313
|
+
export const PostReplies: FC<Props>;
|
|
9741
10314
|
}
|
|
9742
|
-
declare module "libs/reach/feature/content/src/
|
|
10315
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9743
10316
|
import { FC } from 'react';
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
10317
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10318
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10319
|
+
export const PostEditor: FC<{
|
|
9747
10320
|
className?: string;
|
|
10321
|
+
post: Post;
|
|
10322
|
+
onCancel: () => void;
|
|
10323
|
+
onBeforeSave: (post: Post) => void;
|
|
10324
|
+
onSaved: (post: Post) => void;
|
|
10325
|
+
keywordSettings?: {
|
|
10326
|
+
availableKeywords?: Keyword[];
|
|
10327
|
+
defaultKeywords?: Keyword[];
|
|
10328
|
+
mandatoryKeywords?: Keyword[];
|
|
10329
|
+
};
|
|
9748
10330
|
}>;
|
|
9749
10331
|
}
|
|
9750
|
-
declare module "libs/reach/feature/content/src/
|
|
10332
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9751
10333
|
import { FC } from 'react';
|
|
9752
|
-
export const
|
|
9753
|
-
|
|
9754
|
-
|
|
10334
|
+
export const PostFollowButton: FC<{
|
|
10335
|
+
itemId: string;
|
|
10336
|
+
isFollowing: boolean;
|
|
10337
|
+
}>;
|
|
10338
|
+
}
|
|
10339
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10340
|
+
import { FC } from 'react';
|
|
10341
|
+
import { NavLink } from 'react-router-dom';
|
|
10342
|
+
export const PostGroup: FC<{
|
|
10343
|
+
groupId: string;
|
|
10344
|
+
target?: string;
|
|
9755
10345
|
className?: string;
|
|
9756
10346
|
}>;
|
|
10347
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9757
10348
|
}
|
|
9758
|
-
declare module "libs/reach/feature/content/src/
|
|
10349
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9759
10350
|
import { FC } from 'react';
|
|
9760
|
-
import {
|
|
9761
|
-
import {
|
|
10351
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10352
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9762
10353
|
interface Props {
|
|
9763
|
-
|
|
9764
|
-
|
|
9765
|
-
mandatoryChannelIds?: string[];
|
|
9766
|
-
availableChannels?: Channel[];
|
|
9767
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
10354
|
+
post: Post;
|
|
10355
|
+
targetUrl?: string;
|
|
9768
10356
|
className?: string;
|
|
9769
|
-
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9776
|
-
|
|
10357
|
+
threadId?: string;
|
|
10358
|
+
onCustomPostDelete?: () => void;
|
|
10359
|
+
comments?: PaginatedList<Comment>;
|
|
10360
|
+
initialCommentsPageSize?: number;
|
|
10361
|
+
onThreadCommentDelete?: () => void;
|
|
10362
|
+
onThreadReply?: (threadId: string) => void;
|
|
10363
|
+
keywordSettings?: {
|
|
10364
|
+
availableKeywords?: Keyword[];
|
|
10365
|
+
defaultKeywords?: Keyword[];
|
|
10366
|
+
mandatoryKeywords?: Keyword[];
|
|
10367
|
+
};
|
|
10368
|
+
showGroup?: boolean;
|
|
10369
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10370
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10371
|
+
onItemClick?: (postId: string) => unknown;
|
|
10372
|
+
openTargetInNewWindow?: boolean;
|
|
10373
|
+
trimContent?: boolean;
|
|
10374
|
+
postGroupTargetUrl?: string;
|
|
10375
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10376
|
+
baseTargetUrl?: string;
|
|
9777
10377
|
}
|
|
9778
|
-
export const
|
|
10378
|
+
export const PostDisplay: FC<Props>;
|
|
10379
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
9779
10380
|
}
|
|
9780
|
-
declare module "libs/reach/feature/content/src/
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
export
|
|
9784
|
-
|
|
9785
|
-
|
|
9786
|
-
|
|
9787
|
-
|
|
9788
|
-
|
|
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";
|
|
10381
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10382
|
+
import { FC } from 'react';
|
|
10383
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10384
|
+
export const PostGroupsPicker: FC<{
|
|
10385
|
+
groups: UserGroup[];
|
|
10386
|
+
selectedGroupId: string;
|
|
10387
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10388
|
+
className?: string;
|
|
10389
|
+
}>;
|
|
9882
10390
|
}
|
|
9883
|
-
declare module "libs/reach/feature/content/src/
|
|
10391
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9884
10392
|
import { FC } from 'react';
|
|
9885
|
-
|
|
9886
|
-
|
|
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;
|
|
10393
|
+
export const PostGroupSelector: FC<{
|
|
10394
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
9908
10395
|
className?: string;
|
|
10396
|
+
}>;
|
|
10397
|
+
}
|
|
10398
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10399
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10400
|
+
import { DocumentNode } from '@apollo/client';
|
|
10401
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10402
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10403
|
+
export enum StreamEventResponse {
|
|
10404
|
+
NotSet = "NOTSET",
|
|
10405
|
+
Registered = "REGISTERED",
|
|
10406
|
+
Declined = "DECLINED"
|
|
9909
10407
|
}
|
|
9910
|
-
export
|
|
10408
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10409
|
+
}
|
|
10410
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10411
|
+
items: StreamItem[];
|
|
10412
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10413
|
+
loadMore: () => Promise<void>;
|
|
10414
|
+
pageInfo: {
|
|
10415
|
+
errors?: any;
|
|
10416
|
+
hasNextPage: boolean;
|
|
10417
|
+
skip: number;
|
|
10418
|
+
};
|
|
10419
|
+
refresh: () => Promise<void>;
|
|
10420
|
+
isLoadingFirstPage: boolean;
|
|
10421
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10422
|
+
};
|
|
10423
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10424
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10425
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10426
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10427
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10428
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10429
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10430
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10431
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10432
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10433
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10434
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10435
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10436
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10437
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10438
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
9911
10439
|
}
|
|
9912
|
-
declare module "libs/reach/feature/content/src/
|
|
9913
|
-
|
|
9914
|
-
|
|
9915
|
-
export
|
|
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";
|
|
10440
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10441
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10442
|
+
import { DependencyList } from 'react';
|
|
10443
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9927
10444
|
}
|
|
9928
|
-
declare module "libs/reach/feature/content/src/
|
|
9929
|
-
|
|
9930
|
-
export
|
|
9931
|
-
|
|
9932
|
-
|
|
10445
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10446
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10447
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10448
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10449
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10450
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10451
|
+
};
|
|
9933
10452
|
}
|
|
9934
|
-
declare module "libs/reach/feature/content/src/
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
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
|
-
}>;
|
|
10453
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10454
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10455
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10456
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10457
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10458
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10459
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10460
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10461
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10462
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10463
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
9954
10464
|
}
|
|
9955
|
-
declare module "libs/reach/feature/content/src/
|
|
9956
|
-
import {
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
|
|
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;
|
|
10465
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10466
|
+
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";
|
|
10467
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10468
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10469
|
+
enum StreamItemTypes {
|
|
10470
|
+
Post = "POST",
|
|
10471
|
+
News = "NEWS",
|
|
10472
|
+
Event = "EVENT",
|
|
10473
|
+
Page = "PAGE"
|
|
9975
10474
|
}
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
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;
|
|
10475
|
+
export enum StreamConversationScope {
|
|
10476
|
+
Public = "PUBLIC",
|
|
10477
|
+
Editor = "EDITOR",
|
|
10478
|
+
Posts = "POSTS"
|
|
9992
10479
|
}
|
|
9993
|
-
export
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
onInsert: (files: File[]) => void;
|
|
10002
|
-
accept?: string;
|
|
10003
|
-
captionKey?: string;
|
|
10004
|
-
descriptionKey?: string;
|
|
10480
|
+
export interface PostStreamItem extends Post {
|
|
10481
|
+
type: StreamItemTypes.Post;
|
|
10482
|
+
isUnread: boolean;
|
|
10483
|
+
keywordsList?: Keyword[];
|
|
10484
|
+
groupIds?: string[];
|
|
10485
|
+
postAttachments?: StreamAttachment[];
|
|
10486
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10487
|
+
hasMoreUnreadComments: boolean;
|
|
10005
10488
|
}
|
|
10006
|
-
export
|
|
10007
|
-
|
|
10008
|
-
|
|
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;
|
|
10489
|
+
export interface StreamPostComment extends Comment {
|
|
10490
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10491
|
+
streamConversationScope?: StreamConversationScope;
|
|
10025
10492
|
}
|
|
10026
|
-
export
|
|
10027
|
-
|
|
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
|
|
10493
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
10494
|
+
type: GraphQLAttachmentType;
|
|
10040
10495
|
}
|
|
10041
|
-
export
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
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;
|
|
10496
|
+
export interface NewsStreamItem extends NewsItem {
|
|
10497
|
+
type: StreamItemTypes.News;
|
|
10498
|
+
contentsList: StreamPublishableItemContents[];
|
|
10499
|
+
channelsList: string[];
|
|
10500
|
+
isUnread: boolean;
|
|
10501
|
+
keywordsList?: Keyword[];
|
|
10502
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10072
10503
|
}
|
|
10073
|
-
export
|
|
10074
|
-
|
|
10075
|
-
|
|
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;
|
|
10504
|
+
export enum StreamKnownNewsState {
|
|
10505
|
+
Unconfirmed = "UNCONFIRMED",
|
|
10506
|
+
Alert = "ALERT"
|
|
10117
10507
|
}
|
|
10118
|
-
export
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
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
|
-
};
|
|
10153
|
-
}>;
|
|
10154
|
-
}
|
|
10155
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10156
|
-
import { FC } from 'react';
|
|
10157
|
-
export const PostFollowButton: FC<{
|
|
10158
|
-
itemId: string;
|
|
10159
|
-
isFollowing: boolean;
|
|
10160
|
-
}>;
|
|
10161
|
-
}
|
|
10162
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10163
|
-
import { FC } from 'react';
|
|
10164
|
-
import { NavLink } from 'react-router-dom';
|
|
10165
|
-
export const PostGroup: FC<{
|
|
10166
|
-
groupId: string;
|
|
10167
|
-
target?: string;
|
|
10168
|
-
className?: string;
|
|
10169
|
-
}>;
|
|
10170
|
-
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10171
|
-
}
|
|
10172
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10173
|
-
import { FC } from 'react';
|
|
10174
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10175
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10176
|
-
interface Props {
|
|
10177
|
-
post: Post;
|
|
10178
|
-
targetUrl?: string;
|
|
10179
|
-
className?: string;
|
|
10180
|
-
threadId?: string;
|
|
10181
|
-
onCustomPostDelete?: () => void;
|
|
10182
|
-
comments?: PaginatedList<Comment>;
|
|
10183
|
-
initialCommentsPageSize?: number;
|
|
10184
|
-
onThreadCommentDelete?: () => void;
|
|
10185
|
-
onThreadReply?: (threadId: string) => void;
|
|
10186
|
-
keywordSettings?: {
|
|
10187
|
-
availableKeywords?: Keyword[];
|
|
10188
|
-
defaultKeywords?: Keyword[];
|
|
10189
|
-
mandatoryKeywords?: Keyword[];
|
|
10190
|
-
};
|
|
10191
|
-
showGroup?: boolean;
|
|
10192
|
-
onBeforeDelete?: (id: string) => unknown;
|
|
10193
|
-
onAfterDelete?: (id: string) => unknown;
|
|
10194
|
-
onItemClick?: (postId: string) => unknown;
|
|
10195
|
-
openTargetInNewWindow?: boolean;
|
|
10196
|
-
trimContent?: boolean;
|
|
10197
|
-
postGroupTargetUrl?: string;
|
|
10198
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
10199
|
-
baseTargetUrl?: string;
|
|
10200
|
-
}
|
|
10201
|
-
export const PostDisplay: FC<Props>;
|
|
10202
|
-
}
|
|
10203
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10204
|
-
import { FC } from 'react';
|
|
10205
|
-
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10206
|
-
export const PostGroupsPicker: FC<{
|
|
10207
|
-
groups: UserGroup[];
|
|
10208
|
-
selectedGroupId: string;
|
|
10209
|
-
onGroupSelected?: (groupId: string) => unknown;
|
|
10210
|
-
className?: string;
|
|
10211
|
-
}>;
|
|
10212
|
-
}
|
|
10213
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10214
|
-
import { FC } from 'react';
|
|
10215
|
-
export const PostGroupSelector: FC<{
|
|
10216
|
-
onPostGroupClick?: (groupId: string) => void;
|
|
10217
|
-
className?: string;
|
|
10218
|
-
}>;
|
|
10219
|
-
}
|
|
10220
|
-
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";
|
|
10222
|
-
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10223
|
-
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10224
|
-
enum StreamItemTypes {
|
|
10225
|
-
Post = "POST",
|
|
10226
|
-
News = "NEWS",
|
|
10227
|
-
Event = "EVENT",
|
|
10228
|
-
Page = "PAGE"
|
|
10229
|
-
}
|
|
10230
|
-
export enum StreamConversationScope {
|
|
10231
|
-
Public = "PUBLIC",
|
|
10232
|
-
Editor = "EDITOR",
|
|
10233
|
-
Posts = "POSTS"
|
|
10234
|
-
}
|
|
10235
|
-
export interface PostStreamItem extends Post {
|
|
10236
|
-
type: StreamItemTypes.Post;
|
|
10237
|
-
isUnread: boolean;
|
|
10238
|
-
keywordsList?: Keyword[];
|
|
10239
|
-
groupIds?: string[];
|
|
10240
|
-
postAttachments?: StreamAttachment[];
|
|
10241
|
-
postComments?: PaginatedList<StreamPostComment>;
|
|
10242
|
-
hasMoreUnreadComments: boolean;
|
|
10243
|
-
}
|
|
10244
|
-
export interface StreamPostComment extends Comment {
|
|
10245
|
-
postCommentAttachments?: StreamAttachment[];
|
|
10246
|
-
streamConversationScope?: StreamConversationScope;
|
|
10247
|
-
}
|
|
10248
|
-
export interface StreamAttachment extends BaseAttachment {
|
|
10249
|
-
type: GraphQLAttachmentType;
|
|
10250
|
-
}
|
|
10251
|
-
export interface NewsStreamItem extends NewsItem {
|
|
10252
|
-
type: StreamItemTypes.News;
|
|
10253
|
-
contentsList: StreamPublishableItemContents[];
|
|
10254
|
-
channelsList: string[];
|
|
10255
|
-
isUnread: boolean;
|
|
10256
|
-
keywordsList?: Keyword[];
|
|
10257
|
-
knownNewsState?: StreamKnownNewsState[];
|
|
10258
|
-
}
|
|
10259
|
-
export enum StreamKnownNewsState {
|
|
10260
|
-
Unconfirmed = "UNCONFIRMED",
|
|
10261
|
-
Alert = "ALERT"
|
|
10262
|
-
}
|
|
10263
|
-
export interface EventStreamItem extends EventItem {
|
|
10264
|
-
type: StreamItemTypes.Event;
|
|
10265
|
-
contentsList: StreamPublishableItemContents[];
|
|
10266
|
-
channelsList: string[];
|
|
10267
|
-
isUnread: boolean;
|
|
10268
|
-
keywordsList?: Keyword[];
|
|
10269
|
-
userResponseType?: StreamEventResponse;
|
|
10270
|
-
eventCancelInformation?: StreamEventCancelInformation;
|
|
10508
|
+
export interface EventStreamItem extends EventItem {
|
|
10509
|
+
type: StreamItemTypes.Event;
|
|
10510
|
+
contentsList: StreamPublishableItemContents[];
|
|
10511
|
+
channelsList: string[];
|
|
10512
|
+
isUnread: boolean;
|
|
10513
|
+
keywordsList?: Keyword[];
|
|
10514
|
+
userResponseType?: StreamEventResponse;
|
|
10515
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10271
10516
|
}
|
|
10272
10517
|
export interface PageStreamItem extends PageItem {
|
|
10273
10518
|
type: StreamItemTypes.Page;
|
|
@@ -11057,72 +11302,456 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11057
11302
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11058
11303
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11059
11304
|
})[];
|
|
11305
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11306
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11307
|
+
}
|
|
11308
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11309
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11310
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11311
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11312
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, isGlobalSearch?: boolean, itemType?: ItemResourceTypes): void;
|
|
11313
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11314
|
+
}
|
|
11315
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11316
|
+
import { LocationDescriptor } from 'history';
|
|
11317
|
+
import { FC, ReactNode } from 'react';
|
|
11318
|
+
export const SidebarIcon: FC<{
|
|
11319
|
+
icon?: ReactNode;
|
|
11320
|
+
iconName?: string;
|
|
11321
|
+
color?: string;
|
|
11322
|
+
onClick?: () => any;
|
|
11323
|
+
route?: LocationDescriptor;
|
|
11324
|
+
iconTooltipResourceKey: string;
|
|
11325
|
+
iconTooltipResourceValues?: any;
|
|
11326
|
+
className?: string;
|
|
11327
|
+
}>;
|
|
11328
|
+
}
|
|
11329
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11330
|
+
import { FC, ReactNode } from 'react';
|
|
11331
|
+
import { LocationDescriptor } from 'history';
|
|
11332
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11333
|
+
export interface BaseSidebarItemProps {
|
|
11334
|
+
children?: any;
|
|
11335
|
+
icon?: ReactNode;
|
|
11336
|
+
iconName?: string;
|
|
11337
|
+
iconTooltipResourceKey?: string;
|
|
11338
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11339
|
+
secondaryIconName?: string;
|
|
11340
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11341
|
+
reverse?: boolean;
|
|
11342
|
+
onIconClick?: () => void;
|
|
11343
|
+
iconRoute?: LocationDescriptor;
|
|
11344
|
+
iconColor?: string;
|
|
11345
|
+
onSecondaryIconClick?: () => void;
|
|
11346
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11347
|
+
onContentClick?: () => void;
|
|
11348
|
+
contentRoute?: LocationDescriptor;
|
|
11349
|
+
badgeInfo?: number | boolean;
|
|
11350
|
+
title?: string;
|
|
11351
|
+
className?: string;
|
|
11352
|
+
}
|
|
11353
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11354
|
+
}
|
|
11355
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11356
|
+
import { FC } from 'react';
|
|
11357
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11358
|
+
export const SidebarItemSection: FC<{
|
|
11359
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11360
|
+
}>;
|
|
11361
|
+
}
|
|
11362
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11363
|
+
import { FC, ReactNode } from 'react';
|
|
11364
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11365
|
+
import { LocationDescriptor } from 'history';
|
|
11366
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11367
|
+
interface CommonSidebarItemProps {
|
|
11368
|
+
title?: string | JSX.Element;
|
|
11369
|
+
titleResource?: string;
|
|
11370
|
+
icon?: ReactNode;
|
|
11371
|
+
iconName?: string;
|
|
11372
|
+
iconTooltipResourceKey?: string;
|
|
11373
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11374
|
+
secondaryIconName?: string;
|
|
11375
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11376
|
+
iconColor?: string;
|
|
11377
|
+
reverse?: boolean;
|
|
11378
|
+
notHighlightable?: boolean;
|
|
11379
|
+
onClick?: () => void;
|
|
11380
|
+
className?: string;
|
|
11381
|
+
isActive?: boolean;
|
|
11382
|
+
activeClassName?: string;
|
|
11383
|
+
readOnly?: boolean;
|
|
11384
|
+
submenu?: JSX.Element;
|
|
11385
|
+
submenuClassName?: string;
|
|
11386
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11387
|
+
badgeInfo?: number | boolean;
|
|
11388
|
+
domIdentifier?: string;
|
|
11389
|
+
}
|
|
11390
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11391
|
+
contentRoute?: LocationDescriptor;
|
|
11392
|
+
onIconClick?: () => void;
|
|
11393
|
+
iconRoute?: LocationDescriptor;
|
|
11394
|
+
onSecondaryIconClick?: () => void;
|
|
11395
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11396
|
+
isHoverable?: boolean;
|
|
11397
|
+
}
|
|
11398
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11399
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11400
|
+
route: LocationDescriptor;
|
|
11401
|
+
exact?: boolean;
|
|
11402
|
+
linkClassName?: string;
|
|
11403
|
+
}
|
|
11404
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11405
|
+
}
|
|
11406
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11407
|
+
import { FC } from 'react';
|
|
11408
|
+
export const SidebarGroup: FC<{
|
|
11409
|
+
titleResource?: string;
|
|
11410
|
+
borderColor?: string;
|
|
11411
|
+
className?: string;
|
|
11412
|
+
}>;
|
|
11413
|
+
}
|
|
11414
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11415
|
+
import { FC } from 'react';
|
|
11416
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11417
|
+
domIdentifier: string;
|
|
11418
|
+
trimContent?: boolean;
|
|
11419
|
+
className?: string;
|
|
11420
|
+
}>;
|
|
11421
|
+
}
|
|
11422
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11423
|
+
import { FC } from 'react';
|
|
11424
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11425
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11426
|
+
interface Props {
|
|
11427
|
+
selectedChannelNames?: string[];
|
|
11428
|
+
selectedChannelIds?: string[];
|
|
11429
|
+
mandatoryChannelIds?: string[];
|
|
11430
|
+
availableChannels?: Channel[];
|
|
11431
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11432
|
+
className?: string;
|
|
11433
|
+
showOnlyUserChannels?: boolean;
|
|
11434
|
+
showSelectionToggle?: boolean;
|
|
11435
|
+
placeholder?: string;
|
|
11436
|
+
inlineControls?: boolean;
|
|
11437
|
+
required?: boolean;
|
|
11438
|
+
id?: string;
|
|
11439
|
+
showLogicalOperatorOptions?: boolean;
|
|
11440
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11441
|
+
}
|
|
11442
|
+
export const ChannelSelector: FC<Props>;
|
|
11443
|
+
}
|
|
11444
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11445
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11446
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11447
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11448
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11449
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11450
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11451
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11452
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11453
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11454
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11455
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11456
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11457
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11458
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11459
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11460
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11461
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11462
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11463
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11464
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11465
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11466
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11467
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11468
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11469
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11470
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11471
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11472
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11473
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11474
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11475
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11476
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11477
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11478
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11479
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11480
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11481
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11482
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11483
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11484
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11485
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11486
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11487
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11488
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11489
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11490
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11491
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11492
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11493
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11494
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11495
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11496
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11497
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11498
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11499
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11500
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11501
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11502
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11503
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11504
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11505
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11506
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11507
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11508
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11509
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11510
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11511
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11512
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11513
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11514
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11515
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11516
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11517
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11518
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11519
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11520
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11521
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11522
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11523
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11524
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11525
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11526
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11527
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11528
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11529
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11530
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11531
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11532
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11533
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11534
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11535
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11536
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11537
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11538
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11539
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11540
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11541
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11542
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11543
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11544
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11545
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11546
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11547
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11548
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11549
|
+
}
|
|
11550
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11551
|
+
import { FC } from 'react';
|
|
11552
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11553
|
+
interface Props {
|
|
11554
|
+
type?: ItemResourceTypes;
|
|
11555
|
+
baseAttachmentPath?: string;
|
|
11556
|
+
message: Comment;
|
|
11557
|
+
showDelete?: boolean;
|
|
11558
|
+
showAutoTranslate?: boolean;
|
|
11559
|
+
showEdit?: boolean;
|
|
11560
|
+
onDelete?: (comment: Comment) => void;
|
|
11561
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11562
|
+
scope: ConversationScope;
|
|
11563
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11564
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11565
|
+
highlight?: boolean;
|
|
11566
|
+
hasUnreadReplies?: boolean;
|
|
11567
|
+
onReplyIconClick?: () => void;
|
|
11568
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11569
|
+
replyCount?: number;
|
|
11570
|
+
readOnly?: boolean;
|
|
11571
|
+
trimContent?: boolean;
|
|
11572
|
+
enableModalRouting?: boolean;
|
|
11573
|
+
className?: string;
|
|
11574
|
+
}
|
|
11575
|
+
export const CommentDisplay: FC<Props>;
|
|
11576
|
+
}
|
|
11577
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11578
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11579
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11580
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11581
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11582
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11583
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11587
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11060
11592
|
}
|
|
11061
|
-
declare module "libs/reach/feature/content/src/
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
|
|
11593
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
11594
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
11595
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
11598
|
+
}
|
|
11599
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11600
|
+
import { FC, ReactNode } from 'react';
|
|
11601
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11602
|
+
interface Props {
|
|
11603
|
+
isOpen: boolean;
|
|
11604
|
+
preSelectedKeywords: Keyword[];
|
|
11605
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11606
|
+
titleResource: string;
|
|
11607
|
+
onDismiss: () => void;
|
|
11608
|
+
availableKeywords?: Keyword[];
|
|
11609
|
+
mandatoryKeywordIds?: string[];
|
|
11070
11610
|
}
|
|
11071
|
-
export
|
|
11611
|
+
export const KeywordDialog: FC<Props>;
|
|
11612
|
+
export const StatefulKeywordPicker: FC<{
|
|
11613
|
+
preSelectedKeywords: Keyword[];
|
|
11614
|
+
availableKeywords?: Keyword[];
|
|
11615
|
+
mandatoryKeywordIds?: string[];
|
|
11616
|
+
showSelectionToggle?: boolean;
|
|
11617
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11618
|
+
}>;
|
|
11619
|
+
}
|
|
11620
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11621
|
+
import { FC, MutableRefObject } from 'react';
|
|
11622
|
+
export interface TextareaProps {
|
|
11623
|
+
rows?: number;
|
|
11624
|
+
placeholder?: string;
|
|
11625
|
+
readOnly?: boolean;
|
|
11626
|
+
onChange: (value: string) => void;
|
|
11627
|
+
className?: string;
|
|
11628
|
+
defaultValue?: string;
|
|
11629
|
+
disabled?: boolean;
|
|
11630
|
+
noDebouncing?: boolean;
|
|
11631
|
+
value?: string;
|
|
11632
|
+
onIconClick?: () => void;
|
|
11633
|
+
onEnter?: () => void;
|
|
11634
|
+
icon?: string;
|
|
11635
|
+
disableNewLines?: boolean;
|
|
11636
|
+
autoFocus?: boolean;
|
|
11637
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11638
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11639
|
+
inputType?: string;
|
|
11072
11640
|
}
|
|
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;
|
|
11641
|
+
/**
|
|
11642
|
+
* Textarea that expands vertically to fit content.
|
|
11643
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11644
|
+
*/
|
|
11645
|
+
export const Textarea: FC<TextareaProps>;
|
|
11101
11646
|
}
|
|
11102
|
-
declare module "libs/reach/feature/content/src/
|
|
11103
|
-
import {
|
|
11104
|
-
|
|
11105
|
-
|
|
11647
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11648
|
+
import { FC } from 'react';
|
|
11649
|
+
interface Props {
|
|
11650
|
+
onInsert: (files: File[]) => void;
|
|
11651
|
+
accept?: string;
|
|
11652
|
+
captionKey?: string;
|
|
11653
|
+
captionIconName?: string;
|
|
11654
|
+
descriptionKey?: string;
|
|
11655
|
+
descriptionIconName?: string;
|
|
11656
|
+
singleMode?: boolean;
|
|
11657
|
+
}
|
|
11658
|
+
export const InsertFilesButton: FC<Props>;
|
|
11659
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11660
|
+
isActive?: boolean;
|
|
11661
|
+
}, never>;
|
|
11106
11662
|
}
|
|
11107
|
-
declare module "libs/reach/feature/content/src/
|
|
11108
|
-
import {
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11663
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11664
|
+
import { FC } from 'react';
|
|
11665
|
+
interface Props {
|
|
11666
|
+
onInsert: (files: File[]) => void;
|
|
11667
|
+
accept?: string;
|
|
11668
|
+
captionKey?: string;
|
|
11669
|
+
descriptionKey?: string;
|
|
11670
|
+
}
|
|
11671
|
+
export const InsertImagesButton: FC<Props>;
|
|
11114
11672
|
}
|
|
11115
|
-
declare module "libs/reach/feature/content/src/
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11673
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11674
|
+
import { FC } from 'react';
|
|
11675
|
+
interface DateTimePickerProps {
|
|
11676
|
+
date: string;
|
|
11677
|
+
maxDate?: string;
|
|
11678
|
+
minDate?: string;
|
|
11679
|
+
dateValidationResourceKey?: string;
|
|
11680
|
+
timeValidationResourceKey?: string;
|
|
11681
|
+
readOnly?: boolean;
|
|
11682
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11683
|
+
noDateResourceKey: string;
|
|
11684
|
+
selectDateResourceKey: string;
|
|
11685
|
+
dateOnly?: boolean;
|
|
11686
|
+
initialPickerDate?: string;
|
|
11687
|
+
label?: string;
|
|
11688
|
+
isRequired?: boolean;
|
|
11689
|
+
className?: string;
|
|
11690
|
+
}
|
|
11691
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11692
|
+
export default DateTimePicker;
|
|
11693
|
+
}
|
|
11694
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11695
|
+
import moment, { Moment } from 'moment';
|
|
11696
|
+
export enum DateRange {
|
|
11697
|
+
TwoYears = 0,
|
|
11698
|
+
OneYear = 1,
|
|
11699
|
+
SixMonths = 2,
|
|
11700
|
+
TwoMonths = 3,
|
|
11701
|
+
OneMonth = 4,
|
|
11702
|
+
SevenDays = 5,
|
|
11703
|
+
YesterDay = 6,
|
|
11704
|
+
Today = 7
|
|
11705
|
+
}
|
|
11706
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11707
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11708
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11709
|
+
}
|
|
11710
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11711
|
+
import { FC } from 'react';
|
|
11712
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11713
|
+
export const DateRangeSlider: FC<{
|
|
11714
|
+
value?: DateRange;
|
|
11715
|
+
onChange: (range: DateRange) => unknown;
|
|
11716
|
+
}>;
|
|
11717
|
+
}
|
|
11718
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11719
|
+
import { FC } from 'react';
|
|
11720
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11721
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11722
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11723
|
+
interface PeoplePickerDialogProps {
|
|
11724
|
+
defaultSelectedItems: Account[];
|
|
11725
|
+
onChange: (items: Account[]) => void;
|
|
11726
|
+
onDismiss: () => void;
|
|
11727
|
+
titleResource: string;
|
|
11728
|
+
intl?: WrappedComponentProps;
|
|
11729
|
+
selectionMode?: SelectionMode;
|
|
11730
|
+
allowMailItems?: boolean;
|
|
11731
|
+
accountType: AccountType;
|
|
11732
|
+
showDialog: boolean;
|
|
11733
|
+
allowEmptyValue: boolean;
|
|
11734
|
+
includePendingInvitationUsers?: boolean;
|
|
11735
|
+
placeholderStringResourceKey?: string;
|
|
11736
|
+
inputAriaLabelResourceKey: string;
|
|
11737
|
+
}
|
|
11738
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11739
|
+
}
|
|
11740
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11741
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11742
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11743
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11744
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11745
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11746
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11747
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11748
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11749
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11750
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11751
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11752
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11753
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11754
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11126
11755
|
}
|
|
11127
11756
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11128
11757
|
import { FC, ReactNode } from 'react';
|
|
@@ -11219,8 +11848,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11219
11848
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11220
11849
|
export type ShareTokenType = 'preview' | 'published';
|
|
11221
11850
|
export function useShareTokenEditorApi(): {
|
|
11222
|
-
activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<
|
|
11223
|
-
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<
|
|
11851
|
+
activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<string>;
|
|
11852
|
+
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<unknown>;
|
|
11224
11853
|
};
|
|
11225
11854
|
}
|
|
11226
11855
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11231,9 +11860,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11231
11860
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11232
11861
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11233
11862
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11234
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11863
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11235
11864
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11236
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11865
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11237
11866
|
};
|
|
11238
11867
|
}
|
|
11239
11868
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11272,6 +11901,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11272
11901
|
event: EventStreamItem;
|
|
11273
11902
|
}>;
|
|
11274
11903
|
}
|
|
11904
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11905
|
+
import { FC } from 'react';
|
|
11906
|
+
export const GlobalSearchButton: FC<{
|
|
11907
|
+
className?: string;
|
|
11908
|
+
}>;
|
|
11909
|
+
}
|
|
11275
11910
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11276
11911
|
import { FC, ReactNode } from 'react';
|
|
11277
11912
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11339,12 +11974,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11339
11974
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11340
11975
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11341
11976
|
}
|
|
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
11977
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11349
11978
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11350
11979
|
}
|
|
@@ -11786,6 +12415,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
11786
12415
|
}) => string;
|
|
11787
12416
|
};
|
|
11788
12417
|
}
|
|
12418
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12419
|
+
import { Dispatch } from 'react';
|
|
12420
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12421
|
+
}
|
|
12422
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12423
|
+
import { FC } from 'react';
|
|
12424
|
+
export interface Dashboard {
|
|
12425
|
+
name: string;
|
|
12426
|
+
title: string;
|
|
12427
|
+
url: string;
|
|
12428
|
+
}
|
|
12429
|
+
export const DashboardPage: FC<{
|
|
12430
|
+
dashboard: Dashboard;
|
|
12431
|
+
}>;
|
|
12432
|
+
}
|
|
12433
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12434
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12435
|
+
export function useDashboards(): Dashboard[];
|
|
12436
|
+
export function hasDashboards(): boolean;
|
|
12437
|
+
}
|
|
12438
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12439
|
+
import { FC } from 'react';
|
|
12440
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12441
|
+
}
|
|
11789
12442
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
11790
12443
|
import { FC } from 'react';
|
|
11791
12444
|
interface Props {
|
|
@@ -11801,7 +12454,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11801
12454
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11802
12455
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11803
12456
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11804
|
-
export interface
|
|
12457
|
+
export interface PageProps extends SearchBoxProps {
|
|
11805
12458
|
className?: string;
|
|
11806
12459
|
headerContents?: JSX.Element;
|
|
11807
12460
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11819,12 +12472,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11819
12472
|
submenuContents?: JSX.Element;
|
|
11820
12473
|
submenuClassName?: string;
|
|
11821
12474
|
disableScrollableContainerFocus?: boolean;
|
|
12475
|
+
asModal?: boolean;
|
|
12476
|
+
domIdentifier?: string;
|
|
11822
12477
|
}
|
|
11823
12478
|
export enum MenuNavigationMode {
|
|
11824
12479
|
Collapse = 0,
|
|
11825
12480
|
KeepOpen = 1
|
|
11826
12481
|
}
|
|
11827
|
-
export const Page: FC<
|
|
12482
|
+
export const Page: FC<PageProps>;
|
|
11828
12483
|
}
|
|
11829
12484
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11830
12485
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|