@livetiles/reach-plugin-types 0.5.0-preview.23 → 0.5.0-preview.231
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 +1536 -893
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -266,6 +266,9 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
266
266
|
oneSignal?: {
|
|
267
267
|
appId: string;
|
|
268
268
|
};
|
|
269
|
+
analytics: {
|
|
270
|
+
hostName: string;
|
|
271
|
+
};
|
|
269
272
|
}
|
|
270
273
|
}
|
|
271
274
|
declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
@@ -289,6 +292,7 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
|
289
292
|
}
|
|
290
293
|
}
|
|
291
294
|
declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
295
|
+
import { DeviceInfo } from '@capacitor/device';
|
|
292
296
|
export interface EnvironmentConfig {
|
|
293
297
|
isCustomerBuild: boolean;
|
|
294
298
|
isProduction: boolean;
|
|
@@ -306,11 +310,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
306
310
|
buildId: string;
|
|
307
311
|
useAzureAdFunctionality: boolean;
|
|
308
312
|
envName: string;
|
|
309
|
-
|
|
310
|
-
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
311
|
-
interface DeviceInfo {
|
|
312
|
-
platform: 'ios' | 'android' | 'web';
|
|
313
|
-
operatingSystem: OperatingSystem;
|
|
313
|
+
mobileTeamsHost?: string;
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
declare module "libs/shared/util/environment/src/environment" {
|
|
@@ -1026,6 +1026,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
|
1026
1026
|
language?: string;
|
|
1027
1027
|
}>;
|
|
1028
1028
|
}
|
|
1029
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1030
|
+
import locale from 'date-fns/locale/ar-DZ';
|
|
1031
|
+
export default locale;
|
|
1032
|
+
}
|
|
1033
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
|
|
1034
|
+
import locale from 'date-fns/locale/ar-MA';
|
|
1035
|
+
export default locale;
|
|
1036
|
+
}
|
|
1037
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
|
|
1038
|
+
import locale from 'date-fns/locale/ar-SA';
|
|
1039
|
+
export default locale;
|
|
1040
|
+
}
|
|
1041
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
|
|
1042
|
+
import locale from 'date-fns/locale/bg';
|
|
1043
|
+
export default locale;
|
|
1044
|
+
}
|
|
1045
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
|
|
1046
|
+
import locale from 'date-fns/locale/bn';
|
|
1047
|
+
export default locale;
|
|
1048
|
+
}
|
|
1049
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
|
|
1050
|
+
import locale from 'date-fns/locale/ca';
|
|
1051
|
+
export default locale;
|
|
1052
|
+
}
|
|
1053
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
|
|
1054
|
+
import locale from 'date-fns/locale/cs';
|
|
1055
|
+
export default locale;
|
|
1056
|
+
}
|
|
1057
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
|
|
1058
|
+
import locale from 'date-fns/locale/da';
|
|
1059
|
+
export default locale;
|
|
1060
|
+
}
|
|
1061
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
|
|
1062
|
+
import locale from 'date-fns/locale/de';
|
|
1063
|
+
export default locale;
|
|
1064
|
+
}
|
|
1065
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
|
|
1066
|
+
import locale from 'date-fns/locale/el';
|
|
1067
|
+
export default locale;
|
|
1068
|
+
}
|
|
1069
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
|
|
1070
|
+
import locale from 'date-fns/locale/en-AU';
|
|
1071
|
+
export default locale;
|
|
1072
|
+
}
|
|
1073
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
|
|
1074
|
+
import locale from 'date-fns/locale/en-CA';
|
|
1075
|
+
export default locale;
|
|
1076
|
+
}
|
|
1077
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
|
|
1078
|
+
import locale from 'date-fns/locale/en-GB';
|
|
1079
|
+
export default locale;
|
|
1080
|
+
}
|
|
1081
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
|
|
1082
|
+
import locale from 'date-fns/locale/en-NZ';
|
|
1083
|
+
export default locale;
|
|
1084
|
+
}
|
|
1085
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
|
|
1086
|
+
import locale from 'date-fns/locale/es';
|
|
1087
|
+
export default locale;
|
|
1088
|
+
}
|
|
1089
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
|
|
1090
|
+
import locale from 'date-fns/locale/et';
|
|
1091
|
+
export default locale;
|
|
1092
|
+
}
|
|
1093
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
|
|
1094
|
+
import locale from 'date-fns/locale/fa-IR';
|
|
1095
|
+
export default locale;
|
|
1096
|
+
}
|
|
1097
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
|
|
1098
|
+
import locale from 'date-fns/locale/fi';
|
|
1099
|
+
export default locale;
|
|
1100
|
+
}
|
|
1101
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
|
|
1102
|
+
import locale from 'date-fns/locale/fr-CA';
|
|
1103
|
+
export default locale;
|
|
1104
|
+
}
|
|
1105
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
|
|
1106
|
+
import locale from 'date-fns/locale/fr-CH';
|
|
1107
|
+
export default locale;
|
|
1108
|
+
}
|
|
1109
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
|
|
1110
|
+
import locale from 'date-fns/locale/fr';
|
|
1111
|
+
export default locale;
|
|
1112
|
+
}
|
|
1113
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
|
|
1114
|
+
import locale from 'date-fns/locale/gu';
|
|
1115
|
+
export default locale;
|
|
1116
|
+
}
|
|
1117
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
|
|
1118
|
+
import locale from 'date-fns/locale/he';
|
|
1119
|
+
export default locale;
|
|
1120
|
+
}
|
|
1121
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
|
|
1122
|
+
import locale from 'date-fns/locale/hi';
|
|
1123
|
+
export default locale;
|
|
1124
|
+
}
|
|
1125
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
|
|
1126
|
+
import locale from 'date-fns/locale/hr';
|
|
1127
|
+
export default locale;
|
|
1128
|
+
}
|
|
1129
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
|
|
1130
|
+
import locale from 'date-fns/locale/hu';
|
|
1131
|
+
export default locale;
|
|
1132
|
+
}
|
|
1133
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
|
|
1134
|
+
import locale from 'date-fns/locale/id';
|
|
1135
|
+
export default locale;
|
|
1136
|
+
}
|
|
1137
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
|
|
1138
|
+
import locale from 'date-fns/locale/it';
|
|
1139
|
+
export default locale;
|
|
1140
|
+
}
|
|
1141
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
|
|
1142
|
+
import locale from 'date-fns/locale/ja';
|
|
1143
|
+
export default locale;
|
|
1144
|
+
}
|
|
1145
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
|
|
1146
|
+
import locale from 'date-fns/locale/kn';
|
|
1147
|
+
export default locale;
|
|
1148
|
+
}
|
|
1149
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
|
|
1150
|
+
import locale from 'date-fns/locale/ko';
|
|
1151
|
+
export default locale;
|
|
1152
|
+
}
|
|
1153
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
|
|
1154
|
+
import locale from 'date-fns/locale/lt';
|
|
1155
|
+
export default locale;
|
|
1156
|
+
}
|
|
1157
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
|
|
1158
|
+
import locale from 'date-fns/locale/lv';
|
|
1159
|
+
export default locale;
|
|
1160
|
+
}
|
|
1161
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
|
|
1162
|
+
import locale from 'date-fns/locale/ms';
|
|
1163
|
+
export default locale;
|
|
1164
|
+
}
|
|
1165
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
|
|
1166
|
+
import locale from 'date-fns/locale/nb';
|
|
1167
|
+
export default locale;
|
|
1168
|
+
}
|
|
1169
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
|
|
1170
|
+
import locale from 'date-fns/locale/nl-BE';
|
|
1171
|
+
export default locale;
|
|
1172
|
+
}
|
|
1173
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
|
|
1174
|
+
import locale from 'date-fns/locale/nl';
|
|
1175
|
+
export default locale;
|
|
1176
|
+
}
|
|
1177
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
|
|
1178
|
+
import locale from 'date-fns/locale/pl';
|
|
1179
|
+
export default locale;
|
|
1180
|
+
}
|
|
1181
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
|
|
1182
|
+
import locale from 'date-fns/locale/pt-BR';
|
|
1183
|
+
export default locale;
|
|
1184
|
+
}
|
|
1185
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
|
|
1186
|
+
import locale from 'date-fns/locale/pt';
|
|
1187
|
+
export default locale;
|
|
1188
|
+
}
|
|
1189
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
|
|
1190
|
+
import locale from 'date-fns/locale/ro';
|
|
1191
|
+
export default locale;
|
|
1192
|
+
}
|
|
1193
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
|
|
1194
|
+
import locale from 'date-fns/locale/ru';
|
|
1195
|
+
export default locale;
|
|
1196
|
+
}
|
|
1197
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
|
|
1198
|
+
import locale from 'date-fns/locale/sk';
|
|
1199
|
+
export default locale;
|
|
1200
|
+
}
|
|
1201
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
|
|
1202
|
+
import locale from 'date-fns/locale/sl';
|
|
1203
|
+
export default locale;
|
|
1204
|
+
}
|
|
1205
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
|
|
1206
|
+
import locale from 'date-fns/locale/sr-Latn';
|
|
1207
|
+
export default locale;
|
|
1208
|
+
}
|
|
1209
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
|
|
1210
|
+
import locale from 'date-fns/locale/sr';
|
|
1211
|
+
export default locale;
|
|
1212
|
+
}
|
|
1213
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
|
|
1214
|
+
import locale from 'date-fns/locale/sv';
|
|
1215
|
+
export default locale;
|
|
1216
|
+
}
|
|
1217
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
|
|
1218
|
+
import locale from 'date-fns/locale/ta';
|
|
1219
|
+
export default locale;
|
|
1220
|
+
}
|
|
1221
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
|
|
1222
|
+
import locale from 'date-fns/locale/te';
|
|
1223
|
+
export default locale;
|
|
1224
|
+
}
|
|
1225
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
|
|
1226
|
+
import locale from 'date-fns/locale/th';
|
|
1227
|
+
export default locale;
|
|
1228
|
+
}
|
|
1229
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
|
|
1230
|
+
import locale from 'date-fns/locale/tr';
|
|
1231
|
+
export default locale;
|
|
1232
|
+
}
|
|
1233
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
|
|
1234
|
+
import locale from 'date-fns/locale/uk';
|
|
1235
|
+
export default locale;
|
|
1236
|
+
}
|
|
1237
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
|
|
1238
|
+
import locale from 'date-fns/locale/vi';
|
|
1239
|
+
export default locale;
|
|
1240
|
+
}
|
|
1241
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
|
|
1242
|
+
import locale from 'date-fns/locale/zh-CN';
|
|
1243
|
+
export default locale;
|
|
1244
|
+
}
|
|
1245
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
|
|
1246
|
+
import locale from 'date-fns/locale/zh-TW';
|
|
1247
|
+
export default locale;
|
|
1248
|
+
}
|
|
1249
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
|
|
1250
|
+
import locale from 'date-fns/locale/en-US';
|
|
1251
|
+
export default locale;
|
|
1252
|
+
}
|
|
1253
|
+
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1254
|
+
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1255
|
+
}
|
|
1029
1256
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1030
1257
|
export const orderedFeatureSet: string[];
|
|
1031
1258
|
export class FeatureSet {
|
|
@@ -1198,6 +1425,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1198
1425
|
customDomain?: string;
|
|
1199
1426
|
allowSelfRegistration?: boolean;
|
|
1200
1427
|
brandFolderConfig?: BrandFolderConfig;
|
|
1428
|
+
hideSubscriptionName?: boolean;
|
|
1201
1429
|
}
|
|
1202
1430
|
export interface BrandFolderConfig {
|
|
1203
1431
|
sections?: string[];
|
|
@@ -1274,9 +1502,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1274
1502
|
subscriptionId: string;
|
|
1275
1503
|
subscriptionName: string;
|
|
1276
1504
|
}
|
|
1277
|
-
export
|
|
1278
|
-
|
|
1279
|
-
|
|
1505
|
+
export enum ExtensionArea {
|
|
1506
|
+
global = "Global",
|
|
1507
|
+
page = "Page",
|
|
1508
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
1509
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
1510
|
+
itemEditor = "ItemEditor"
|
|
1511
|
+
}
|
|
1512
|
+
export type InlinePlugin = {
|
|
1513
|
+
area: ExtensionArea.itemEditor;
|
|
1514
|
+
objectButton: PluginObjectButton;
|
|
1515
|
+
};
|
|
1516
|
+
export type PagePlugin = {
|
|
1517
|
+
area: ExtensionArea.page;
|
|
1280
1518
|
route: string;
|
|
1281
1519
|
navigationNode?: {
|
|
1282
1520
|
componentName?: string;
|
|
@@ -1286,7 +1524,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1286
1524
|
[key: string]: string;
|
|
1287
1525
|
};
|
|
1288
1526
|
};
|
|
1289
|
-
}
|
|
1527
|
+
};
|
|
1528
|
+
export type PluginExtension = {
|
|
1529
|
+
area: ExtensionArea;
|
|
1530
|
+
componentName: string;
|
|
1531
|
+
} & (InlinePlugin | PagePlugin);
|
|
1532
|
+
export type PluginObjectButton = {
|
|
1533
|
+
buttonLabel: {
|
|
1534
|
+
defaultLabel: string;
|
|
1535
|
+
translations?: {
|
|
1536
|
+
[key: string]: string;
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
iconName: string;
|
|
1540
|
+
};
|
|
1290
1541
|
export interface PluginNotificationDefinitions {
|
|
1291
1542
|
key: string;
|
|
1292
1543
|
title: string;
|
|
@@ -1390,6 +1641,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1390
1641
|
pluginNotifications: {
|
|
1391
1642
|
[key: string]: NotificationType;
|
|
1392
1643
|
};
|
|
1644
|
+
newsEditor: NotificationType;
|
|
1645
|
+
eventEditor: NotificationType;
|
|
1393
1646
|
}
|
|
1394
1647
|
export interface RequestUser extends BasicUserInformation {
|
|
1395
1648
|
tenantId: string;
|
|
@@ -1490,6 +1743,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1490
1743
|
user: UserSummary;
|
|
1491
1744
|
type: SubscriptionJoinResultType;
|
|
1492
1745
|
message?: string;
|
|
1746
|
+
isSuccess?: boolean;
|
|
1493
1747
|
}
|
|
1494
1748
|
export interface UserActivationResult {
|
|
1495
1749
|
type: UserActivationResultType;
|
|
@@ -1931,6 +2185,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1931
2185
|
}
|
|
1932
2186
|
}
|
|
1933
2187
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2188
|
+
import { Api } from 'restful.js';
|
|
1934
2189
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
1935
2190
|
export class ClientFactoryInstance {
|
|
1936
2191
|
private env;
|
|
@@ -1941,7 +2196,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1941
2196
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
1942
2197
|
url: string;
|
|
1943
2198
|
}) => Promise<unknown>);
|
|
1944
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2199
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
1945
2200
|
private createApiInternal;
|
|
1946
2201
|
private addRequestTimeLogger;
|
|
1947
2202
|
createApiUrl: (url: string, query?: {
|
|
@@ -2448,6 +2703,223 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2448
2703
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2449
2704
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2450
2705
|
}
|
|
2706
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2707
|
+
export const maxContentWidth = 985;
|
|
2708
|
+
export const adminMaxWidth = 600;
|
|
2709
|
+
export const spacingXxs = 3;
|
|
2710
|
+
export const spacingXs = 6;
|
|
2711
|
+
export const spacingS = 10;
|
|
2712
|
+
export const spacingM = 20;
|
|
2713
|
+
export const spacingL = 30;
|
|
2714
|
+
export const spacingX = 40;
|
|
2715
|
+
export const spacingXl = 60;
|
|
2716
|
+
export const minScreenSize: {
|
|
2717
|
+
small: number;
|
|
2718
|
+
medium: number;
|
|
2719
|
+
large: number;
|
|
2720
|
+
xLarge: number;
|
|
2721
|
+
xxLarge: number;
|
|
2722
|
+
xxxLarge: number;
|
|
2723
|
+
};
|
|
2724
|
+
export const maxScreenSize: {
|
|
2725
|
+
small: number;
|
|
2726
|
+
medium: number;
|
|
2727
|
+
large: number;
|
|
2728
|
+
xLarge: number;
|
|
2729
|
+
xxLarge: number;
|
|
2730
|
+
};
|
|
2731
|
+
export const sidebarWidth = 285;
|
|
2732
|
+
export const sidebarWidthRight = 320;
|
|
2733
|
+
export const sidebarItemHeight = 50;
|
|
2734
|
+
export const headerHeight = 50;
|
|
2735
|
+
export const headerSecondaryHeight = 50;
|
|
2736
|
+
export const notificationHeight = 50;
|
|
2737
|
+
export const mainContentPanelWidth = 300;
|
|
2738
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2739
|
+
export const fontSizeLarger = 40;
|
|
2740
|
+
export const fontSizeLarge = 25;
|
|
2741
|
+
export const fontSizeMedium = 18;
|
|
2742
|
+
export const fontSizeNormal = 16;
|
|
2743
|
+
export const fontSizeSmall = 14;
|
|
2744
|
+
export const fontSizeSmaller = 12;
|
|
2745
|
+
export const socialIconSize = 26;
|
|
2746
|
+
export const lineHeight = 23;
|
|
2747
|
+
export const smallScreenLoginHeight = 40;
|
|
2748
|
+
export const bannerAspectRatio: number;
|
|
2749
|
+
export const bannerWidth = 980;
|
|
2750
|
+
export const bannerHeight = 420;
|
|
2751
|
+
export const HighlightBubbleSize = 12;
|
|
2752
|
+
export const StatusBubbleSize = 10;
|
|
2753
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2754
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2755
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2756
|
+
export const dialogSpacing = 24;
|
|
2757
|
+
export const detailViewSectionPadding = 20;
|
|
2758
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2759
|
+
export const postsSectionPadding = 20;
|
|
2760
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2761
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2762
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2763
|
+
export const feedbackButtonHeight = 32;
|
|
2764
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2765
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2766
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2767
|
+
export const statusColors: {
|
|
2768
|
+
draft: string;
|
|
2769
|
+
ready: string;
|
|
2770
|
+
rejected: string;
|
|
2771
|
+
};
|
|
2772
|
+
export const cardWidthS = 260;
|
|
2773
|
+
export const cardWidthM = 354;
|
|
2774
|
+
export const cardWidthL = 314;
|
|
2775
|
+
export const cardWidthXL = 423;
|
|
2776
|
+
export const managePagesRowWidth = 300;
|
|
2777
|
+
export const managePagesRowHeight = 40;
|
|
2778
|
+
export const mobilePreviewWidth = 414;
|
|
2779
|
+
}
|
|
2780
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2781
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2782
|
+
import { IntlShape } from 'react-intl';
|
|
2783
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2784
|
+
export enum LinkType {
|
|
2785
|
+
Internal = "internal",
|
|
2786
|
+
External = "external",
|
|
2787
|
+
Download = "download"
|
|
2788
|
+
}
|
|
2789
|
+
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}";
|
|
2790
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2791
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2792
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2793
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2794
|
+
logoInfo: LogoInfo;
|
|
2795
|
+
subscriptionName: string;
|
|
2796
|
+
};
|
|
2797
|
+
}
|
|
2798
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2799
|
+
export enum AnalyticsInteractionEvents {
|
|
2800
|
+
embeddedVideo = "embedded-video",
|
|
2801
|
+
embeddedAudio = "embedded-audio",
|
|
2802
|
+
languageChange = "language-change",
|
|
2803
|
+
eventRegistration = "event-registration",
|
|
2804
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2805
|
+
translateContent = "translate-content",
|
|
2806
|
+
downloadFile = "download-file",
|
|
2807
|
+
embeddedIframe = "embedded-iframe",
|
|
2808
|
+
externalLink = "external-link",
|
|
2809
|
+
follow = "follow",
|
|
2810
|
+
bookmark = "bookmark"
|
|
2811
|
+
}
|
|
2812
|
+
export enum AnalyticsActions {
|
|
2813
|
+
click = "click",
|
|
2814
|
+
navigate = "navigate",
|
|
2815
|
+
view = "view",
|
|
2816
|
+
search = "search"
|
|
2817
|
+
}
|
|
2818
|
+
export enum AnalyticsModuleType {
|
|
2819
|
+
Admin = "admin",
|
|
2820
|
+
Chat = "chat",
|
|
2821
|
+
Comments = "comments",
|
|
2822
|
+
Events = "events",
|
|
2823
|
+
GlobalSearch = "globalSearch",
|
|
2824
|
+
News = "news",
|
|
2825
|
+
Pages = "pages",
|
|
2826
|
+
People = "people",
|
|
2827
|
+
Posts = "posts",
|
|
2828
|
+
Stream = "stream",
|
|
2829
|
+
User = "user"
|
|
2830
|
+
}
|
|
2831
|
+
export enum AnalyticsModuleSubtype {
|
|
2832
|
+
AllChats = "allChats",
|
|
2833
|
+
AllNews = "allNews",
|
|
2834
|
+
AllPosts = "allPosts",
|
|
2835
|
+
Bookmarks = "bookmarks",
|
|
2836
|
+
Channel = "channel",
|
|
2837
|
+
Channels = "channels",
|
|
2838
|
+
ChatConversation = "conversation",
|
|
2839
|
+
Customization = "customization",
|
|
2840
|
+
DetailView = "detailView",
|
|
2841
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2842
|
+
Group = "group",
|
|
2843
|
+
Groups = "groups",
|
|
2844
|
+
Keywords = "keywords",
|
|
2845
|
+
Languages = "languages",
|
|
2846
|
+
MyNews = "myNews",
|
|
2847
|
+
Owners = "owners",
|
|
2848
|
+
Preview = "preview",
|
|
2849
|
+
RootPages = "rootPages",
|
|
2850
|
+
Search = "search",
|
|
2851
|
+
SelfRegistration = "selfRegistration",
|
|
2852
|
+
TargetAudience = "targetAudience",
|
|
2853
|
+
UpcomingEvents = "upcoming",
|
|
2854
|
+
Users = "users",
|
|
2855
|
+
WebHooks = "webHooks"
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2859
|
+
import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2860
|
+
export function useLinkInteraction(analyticsInstance: ReachAnalytics): void;
|
|
2861
|
+
}
|
|
2862
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2863
|
+
import { ReachAnalytics } from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2864
|
+
export function useIframeInteraction(analyticsInstance: ReachAnalytics): void;
|
|
2865
|
+
}
|
|
2866
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2867
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2868
|
+
import { Analytics } from '@livetiles/analytics';
|
|
2869
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2870
|
+
export interface AnalyticsSearchData {
|
|
2871
|
+
searchTerm: string;
|
|
2872
|
+
results: {
|
|
2873
|
+
itemId: string;
|
|
2874
|
+
itemType: ItemResourceTypes;
|
|
2875
|
+
}[];
|
|
2876
|
+
itemRead?: string;
|
|
2877
|
+
isGlobalSearch?: boolean;
|
|
2878
|
+
}
|
|
2879
|
+
export enum AnalyticsSearchEventType {
|
|
2880
|
+
search = "search",
|
|
2881
|
+
searchSession = "searchSession"
|
|
2882
|
+
}
|
|
2883
|
+
export interface SearchAnalytics {
|
|
2884
|
+
data: AnalyticsSearchData[];
|
|
2885
|
+
onSearchTermChange: (newData: AnalyticsSearchData) => Promise<unknown>;
|
|
2886
|
+
trackSearchSession: () => Promise<unknown>;
|
|
2887
|
+
onItemRead: (itemId: string) => void;
|
|
2888
|
+
}
|
|
2889
|
+
interface Module {
|
|
2890
|
+
type: string;
|
|
2891
|
+
subtype?: string;
|
|
2892
|
+
value?: string;
|
|
2893
|
+
}
|
|
2894
|
+
export interface AnalyticsModule {
|
|
2895
|
+
module: Module;
|
|
2896
|
+
setModule: Dispatch<SetStateAction<Module>>;
|
|
2897
|
+
}
|
|
2898
|
+
interface ActivityAnalytics {
|
|
2899
|
+
trackActivity: (scrollContainer: HTMLElement) => void;
|
|
2900
|
+
}
|
|
2901
|
+
export type ReachAnalytics = Analytics & AnalyticsModule & SearchAnalytics & ActivityAnalytics;
|
|
2902
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2903
|
+
export function useAnalyticsContext(): ReachAnalytics;
|
|
2904
|
+
export const AnalyticsContextProvider: FC;
|
|
2905
|
+
}
|
|
2906
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2907
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
2908
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2909
|
+
}
|
|
2910
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2911
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2912
|
+
}
|
|
2913
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2914
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2915
|
+
}
|
|
2916
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2917
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2918
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2919
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2920
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2921
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2922
|
+
}
|
|
2451
2923
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2452
2924
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2453
2925
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2521,6 +2993,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2521
2993
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2522
2994
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2523
2995
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
2996
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
2997
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2524
2998
|
};
|
|
2525
2999
|
}
|
|
2526
3000
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2546,6 +3020,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2546
3020
|
customDomain?: string;
|
|
2547
3021
|
allowSelfRegistration?: boolean;
|
|
2548
3022
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3023
|
+
hideSubscriptionName?: boolean;
|
|
2549
3024
|
id: string;
|
|
2550
3025
|
subscriptionName: string;
|
|
2551
3026
|
subscriptionHandle?: string;
|
|
@@ -2711,7 +3186,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2711
3186
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2712
3187
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2713
3188
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2714
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3189
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2715
3190
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2716
3191
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2717
3192
|
};
|
|
@@ -2817,17 +3292,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2817
3292
|
}
|
|
2818
3293
|
}
|
|
2819
3294
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2820
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3295
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2821
3296
|
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
3297
|
export interface PluginNavigationNodeProps {
|
|
2829
3298
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2830
3299
|
}
|
|
3300
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3301
|
+
isEditMode?: boolean;
|
|
3302
|
+
componentInstanceId: string;
|
|
3303
|
+
};
|
|
2831
3304
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2832
3305
|
type DevPlugin = {
|
|
2833
3306
|
pluginId: string;
|
|
@@ -2881,22 +3354,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2881
3354
|
}
|
|
2882
3355
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2883
3356
|
import { FC } from 'react';
|
|
2884
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3357
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2885
3358
|
export const Plugins: FC<{
|
|
2886
3359
|
area: ExtensionArea;
|
|
2887
3360
|
} & any>;
|
|
2888
3361
|
}
|
|
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
3362
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2901
3363
|
export class Color {
|
|
2902
3364
|
private r;
|
|
@@ -3041,77 +3503,24 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3041
3503
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3042
3504
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3043
3505
|
}
|
|
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;
|
|
3506
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3507
|
+
import { FC } from 'react';
|
|
3508
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3509
|
+
export const Plugin: FC<PluginProps & {
|
|
3510
|
+
showDetailedErrorMessage?: boolean;
|
|
3511
|
+
} & any>;
|
|
3512
|
+
}
|
|
3513
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3514
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3515
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3516
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3517
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3518
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3519
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3520
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3521
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3522
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3523
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3115
3524
|
}
|
|
3116
3525
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3117
3526
|
import { FC, ReactNode } from 'react';
|
|
@@ -3215,6 +3624,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3215
3624
|
width?: number;
|
|
3216
3625
|
height?: number;
|
|
3217
3626
|
}
|
|
3627
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3628
|
+
imageAlignment?: ImageAlignment;
|
|
3629
|
+
}
|
|
3630
|
+
export enum ImageAlignment {
|
|
3631
|
+
Default = "default",
|
|
3632
|
+
Left = "left",
|
|
3633
|
+
Right = "right",
|
|
3634
|
+
Center = "center"
|
|
3635
|
+
}
|
|
3218
3636
|
}
|
|
3219
3637
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3220
3638
|
export interface MainPanelContextType {
|
|
@@ -3265,6 +3683,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3265
3683
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3266
3684
|
}
|
|
3267
3685
|
}
|
|
3686
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3687
|
+
export interface ModalRouting {
|
|
3688
|
+
isActive: boolean;
|
|
3689
|
+
itemId: string;
|
|
3690
|
+
backgroundLocation: any;
|
|
3691
|
+
}
|
|
3692
|
+
export function useModalRouting(): {
|
|
3693
|
+
isModalRoutingActive: boolean;
|
|
3694
|
+
modalItemId: string;
|
|
3695
|
+
backgroundLocation: any;
|
|
3696
|
+
};
|
|
3697
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3698
|
+
modalRouting: {
|
|
3699
|
+
isActive: boolean;
|
|
3700
|
+
itemId: string;
|
|
3701
|
+
backgroundLocation: {
|
|
3702
|
+
state: {
|
|
3703
|
+
modalRouting: {
|
|
3704
|
+
isActive: boolean;
|
|
3705
|
+
};
|
|
3706
|
+
};
|
|
3707
|
+
pathname: string;
|
|
3708
|
+
search: string;
|
|
3709
|
+
hash: string;
|
|
3710
|
+
key?: string;
|
|
3711
|
+
};
|
|
3712
|
+
};
|
|
3713
|
+
};
|
|
3714
|
+
}
|
|
3268
3715
|
declare module "libs/reach/util/common/src/index" {
|
|
3269
3716
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3270
3717
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3274,6 +3721,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3274
3721
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3275
3722
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3276
3723
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3724
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3277
3725
|
export * from "libs/reach/util/common/src/user/index";
|
|
3278
3726
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3279
3727
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3292,6 +3740,9 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3292
3740
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3293
3741
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3294
3742
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3743
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3744
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3745
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3295
3746
|
}
|
|
3296
3747
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3297
3748
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3348,7 +3799,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3348
3799
|
text?: string | JSX.Element;
|
|
3349
3800
|
resourceKey?: string;
|
|
3350
3801
|
values?: {
|
|
3351
|
-
[key: string]: string | number | boolean | Date;
|
|
3802
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3352
3803
|
};
|
|
3353
3804
|
width?: number;
|
|
3354
3805
|
onClick?: () => unknown;
|
|
@@ -3428,7 +3879,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3428
3879
|
export const PeoplePicker: FC<Props>;
|
|
3429
3880
|
}
|
|
3430
3881
|
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";
|
|
3882
|
+
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
3883
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3433
3884
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3434
3885
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3445,7 +3896,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3445
3896
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3446
3897
|
*/
|
|
3447
3898
|
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, };
|
|
3899
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3449
3900
|
}
|
|
3450
3901
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3451
3902
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3461,6 +3912,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3461
3912
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3462
3913
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3463
3914
|
}
|
|
3915
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3916
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3917
|
+
}
|
|
3464
3918
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3465
3919
|
import { FC } from 'react';
|
|
3466
3920
|
export const NotificationBar: FC;
|
|
@@ -3477,6 +3931,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3477
3931
|
export const AudioFile: FC<{
|
|
3478
3932
|
fileName: string;
|
|
3479
3933
|
url: string;
|
|
3934
|
+
onPlay?: (url: string) => void;
|
|
3480
3935
|
}>;
|
|
3481
3936
|
export function isAudioFile(fileName: string): boolean;
|
|
3482
3937
|
}
|
|
@@ -3500,37 +3955,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3500
3955
|
color?: string;
|
|
3501
3956
|
}, never>;
|
|
3502
3957
|
}
|
|
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
3958
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3535
3959
|
import { FC } from 'react';
|
|
3536
3960
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3694,6 +4118,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3694
4118
|
export const VideoFile: FC<{
|
|
3695
4119
|
fileName: string;
|
|
3696
4120
|
url: string;
|
|
4121
|
+
onPlay?: (url: string) => void;
|
|
3697
4122
|
}>;
|
|
3698
4123
|
export function isVideoFile(fileName: string): boolean;
|
|
3699
4124
|
}
|
|
@@ -3716,24 +4141,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3716
4141
|
}[]>;
|
|
3717
4142
|
export function getFileIcon(filename: string): string;
|
|
3718
4143
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4144
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3719
4145
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3720
4146
|
}
|
|
3721
4147
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4148
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3722
4149
|
export function useFileAccessTokenApi(): {
|
|
3723
4150
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3724
4151
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3725
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4152
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3726
4153
|
};
|
|
3727
4154
|
}
|
|
3728
4155
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3729
4156
|
import { FC } from 'react';
|
|
3730
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4157
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3731
4158
|
export const FileAttachmentList: FC<{
|
|
3732
4159
|
files: Attachment[];
|
|
3733
4160
|
onDeleteClick?: (file: Attachment) => void;
|
|
3734
4161
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4162
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4163
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3735
4164
|
fileAccessToken?: string;
|
|
3736
4165
|
disabled?: boolean;
|
|
4166
|
+
parentId?: string;
|
|
4167
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3737
4168
|
className?: string;
|
|
3738
4169
|
}>;
|
|
3739
4170
|
}
|
|
@@ -4026,13 +4457,35 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4026
4457
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4027
4458
|
}
|
|
4028
4459
|
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>>;
|
|
4460
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4030
4461
|
}
|
|
4031
4462
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4032
4463
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
4033
4464
|
import { IntlShape } from 'react-intl';
|
|
4034
4465
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4035
4466
|
}
|
|
4467
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4468
|
+
export const smallScreenSpacing = 10;
|
|
4469
|
+
export const smallMaxContentWidth: number;
|
|
4470
|
+
export const mediumMaxContentWidth: number;
|
|
4471
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4472
|
+
}
|
|
4473
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4474
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4475
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4476
|
+
export function isValidUrl(url: string): boolean;
|
|
4477
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4478
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4479
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4480
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4481
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4482
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4483
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4484
|
+
defaultWidth?: number;
|
|
4485
|
+
showPlaceholder?: boolean;
|
|
4486
|
+
}, never>;
|
|
4487
|
+
export function encodeChannelName(channelName: string): string;
|
|
4488
|
+
}
|
|
4036
4489
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4037
4490
|
import { FC, ReactNode } from 'react';
|
|
4038
4491
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4056,12 +4509,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4056
4509
|
}
|
|
4057
4510
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4058
4511
|
import { FC } from 'react';
|
|
4512
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4059
4513
|
export const AutoTranslateButton: FC<{
|
|
4060
4514
|
contentLanguageCode: string;
|
|
4061
4515
|
originalContent: string;
|
|
4062
4516
|
content: string;
|
|
4063
4517
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4064
4518
|
onContentChange: (content: string) => void;
|
|
4519
|
+
itemType: ItemResourceTypes;
|
|
4520
|
+
itemId: string;
|
|
4065
4521
|
tooltipResourceKey?: string;
|
|
4066
4522
|
showLabel?: boolean;
|
|
4067
4523
|
}>;
|
|
@@ -4345,6 +4801,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4345
4801
|
className?: string;
|
|
4346
4802
|
}>;
|
|
4347
4803
|
}
|
|
4804
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4805
|
+
export const useIsMounted: () => () => boolean;
|
|
4806
|
+
}
|
|
4348
4807
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4349
4808
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4350
4809
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4825,6 +5284,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4825
5284
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4826
5285
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4827
5286
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5287
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4828
5288
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4829
5289
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4830
5290
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4857,6 +5317,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4857
5317
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
4858
5318
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
4859
5319
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5320
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
4860
5321
|
}
|
|
4861
5322
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
4862
5323
|
import { ReactNode } from 'react';
|
|
@@ -4908,7 +5369,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4908
5369
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4909
5370
|
}
|
|
4910
5371
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4911
|
-
import { FC } from 'react';
|
|
5372
|
+
import { FC, DependencyList } from 'react';
|
|
4912
5373
|
export interface Props {
|
|
4913
5374
|
navigateTo: string;
|
|
4914
5375
|
onClose?: () => void;
|
|
@@ -4917,7 +5378,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4917
5378
|
className?: string;
|
|
4918
5379
|
}
|
|
4919
5380
|
export const CloseButton: FC<Props>;
|
|
4920
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5381
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4921
5382
|
}
|
|
4922
5383
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4923
5384
|
export const LogoHostStyle: (size?: {
|
|
@@ -4981,8 +5442,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4981
5442
|
export const SkipLinksContextProvider: FC;
|
|
4982
5443
|
}
|
|
4983
5444
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5445
|
+
import { DependencyList } from 'react';
|
|
4984
5446
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4985
|
-
export function useAddSkipLinks(
|
|
5447
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4986
5448
|
}
|
|
4987
5449
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4988
5450
|
import { FC } from 'react';
|
|
@@ -5008,9 +5470,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5008
5470
|
}
|
|
5009
5471
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5010
5472
|
import { FC, ReactNode } from 'react';
|
|
5473
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5011
5474
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5012
5475
|
import './BasicPage.scss';
|
|
5013
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5014
5476
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5015
5477
|
type HeaderToolbarObjectTypeHack = {
|
|
5016
5478
|
toolbarElement: JSX.Element;
|
|
@@ -5033,6 +5495,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5033
5495
|
closeButtonOptions?: CloseButtonOptions;
|
|
5034
5496
|
showSearchBox?: boolean;
|
|
5035
5497
|
disableScrollableContainerFocus?: boolean;
|
|
5498
|
+
asModal?: boolean;
|
|
5499
|
+
domIdentifier?: string;
|
|
5036
5500
|
}
|
|
5037
5501
|
export const BasicPage: FC<Props>;
|
|
5038
5502
|
}
|
|
@@ -5126,7 +5590,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5126
5590
|
addLanguage: (code: string) => Promise<Language>;
|
|
5127
5591
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5128
5592
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5129
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5593
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5594
|
+
name: string | null;
|
|
5595
|
+
hideName: boolean | null;
|
|
5596
|
+
}>;
|
|
5130
5597
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5131
5598
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5132
5599
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5432,11 +5899,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5432
5899
|
export { PushClient };
|
|
5433
5900
|
}
|
|
5434
5901
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5435
|
-
import { ConfigureOptions, MigrateResult,
|
|
5436
|
-
export class MobileHybridStorage implements
|
|
5902
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5903
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5437
5904
|
private pluginStorage;
|
|
5438
5905
|
private static memoryStorage;
|
|
5439
|
-
constructor(pluginStorage:
|
|
5906
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5440
5907
|
get(options: {
|
|
5441
5908
|
key: string;
|
|
5442
5909
|
}): Promise<any>;
|
|
@@ -5448,7 +5915,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5448
5915
|
key: string;
|
|
5449
5916
|
}): Promise<void>;
|
|
5450
5917
|
clear(): Promise<void>;
|
|
5451
|
-
keys(): Promise<import("@capacitor/
|
|
5918
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5452
5919
|
private static updateInMemoryStorage;
|
|
5453
5920
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5454
5921
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5484,7 +5951,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5484
5951
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5485
5952
|
}
|
|
5486
5953
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5487
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5954
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5488
5955
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5489
5956
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5490
5957
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5493,6 +5960,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5493
5960
|
getId(): Promise<DeviceId>;
|
|
5494
5961
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5495
5962
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
5963
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5496
5964
|
}
|
|
5497
5965
|
}
|
|
5498
5966
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5509,8 +5977,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5509
5977
|
}
|
|
5510
5978
|
}
|
|
5511
5979
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5512
|
-
import { ConfigureOptions, MigrateResult,
|
|
5513
|
-
export class WebStorage implements
|
|
5980
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5981
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5514
5982
|
storage: Storage;
|
|
5515
5983
|
get(options: {
|
|
5516
5984
|
key: string;
|
|
@@ -5544,14 +6012,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5544
6012
|
import { SharePlugin } from '@capacitor/share';
|
|
5545
6013
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5546
6014
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5547
|
-
import {
|
|
6015
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5548
6016
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5549
6017
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5550
6018
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5551
6019
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5552
6020
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5553
6021
|
export interface CondensePluginRegistry {
|
|
5554
|
-
Storage:
|
|
6022
|
+
Storage: PreferencesPlugin;
|
|
5555
6023
|
Device: DevicePlugin;
|
|
5556
6024
|
App: AppPlugin;
|
|
5557
6025
|
Keyboard: KeyboardPlugin;
|
|
@@ -6213,7 +6681,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6213
6681
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6214
6682
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6215
6683
|
export function useSelfRegistrationApi(): {
|
|
6216
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6684
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6217
6685
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6218
6686
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6219
6687
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6269,6 +6737,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6269
6737
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6270
6738
|
}>;
|
|
6271
6739
|
}
|
|
6740
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6741
|
+
import { FC } from 'react';
|
|
6742
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6743
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6744
|
+
onApiKeyAdded?: () => void;
|
|
6745
|
+
onDismiss: () => void;
|
|
6746
|
+
user?: UserItem;
|
|
6747
|
+
}>;
|
|
6748
|
+
}
|
|
6272
6749
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6273
6750
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6274
6751
|
import './UserList.scss';
|
|
@@ -6292,7 +6769,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6292
6769
|
isLoading?: boolean;
|
|
6293
6770
|
isEmpty?: boolean;
|
|
6294
6771
|
emptyPlaceholder?: ReactNode;
|
|
6772
|
+
onKeyChanged?: () => void;
|
|
6295
6773
|
}
|
|
6774
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6775
|
+
accountType: string;
|
|
6776
|
+
lastLogin: string | JSX.Element;
|
|
6777
|
+
};
|
|
6296
6778
|
export const UserList: FC<Props>;
|
|
6297
6779
|
}
|
|
6298
6780
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6325,12 +6807,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6325
6807
|
className?: string;
|
|
6326
6808
|
}>;
|
|
6327
6809
|
}
|
|
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
6810
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6335
6811
|
import { FC } from 'react';
|
|
6336
6812
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6350,18 +6826,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6350
6826
|
}
|
|
6351
6827
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6352
6828
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6829
|
+
export enum ValidationStatus {
|
|
6830
|
+
Valid = 0,
|
|
6831
|
+
WithErrors = 1,
|
|
6832
|
+
WithUserErrors = 2
|
|
6833
|
+
}
|
|
6834
|
+
export type CsvValidation = {
|
|
6835
|
+
Status?: ValidationStatus;
|
|
6836
|
+
Message?: string;
|
|
6837
|
+
InvalidItems?: string[];
|
|
6838
|
+
};
|
|
6353
6839
|
export function useUserCsvInviter(): {
|
|
6354
6840
|
invitedUsers: UserImport[];
|
|
6355
6841
|
isValidating: boolean;
|
|
6356
6842
|
isCsvValid: boolean;
|
|
6357
6843
|
parseCsvFile: (csvFile: File) => void;
|
|
6358
|
-
|
|
6359
|
-
|
|
6844
|
+
csvValidation: CsvValidation;
|
|
6845
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6360
6846
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6361
6847
|
isParserReady: boolean;
|
|
6362
|
-
|
|
6848
|
+
isInviting: boolean;
|
|
6849
|
+
canInvite: boolean;
|
|
6850
|
+
csvFile: File;
|
|
6363
6851
|
};
|
|
6364
6852
|
}
|
|
6853
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6854
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6855
|
+
}
|
|
6856
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6857
|
+
import { FC } from 'react';
|
|
6858
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6859
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6860
|
+
export const CsvFileValidationResult: FC<{
|
|
6861
|
+
csvValidation: CsvValidation;
|
|
6862
|
+
invitedUsers: UserImport[];
|
|
6863
|
+
}>;
|
|
6864
|
+
}
|
|
6365
6865
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6366
6866
|
import { FC } from 'react';
|
|
6367
6867
|
export const ImportUserButton: FC<{
|
|
@@ -6394,34 +6894,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6394
6894
|
children?: (content: string, index: number) => JSX.Element;
|
|
6395
6895
|
}>;
|
|
6396
6896
|
}
|
|
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
6897
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6401
6898
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6402
|
-
export class
|
|
6899
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6403
6900
|
static type: string;
|
|
6404
6901
|
type: string;
|
|
6405
6902
|
itemId: string;
|
|
6406
6903
|
response: EventResponse;
|
|
6407
6904
|
locationId: string;
|
|
6408
6905
|
onBehalfOfUpn: string;
|
|
6409
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6906
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6410
6907
|
}
|
|
6411
|
-
export class
|
|
6908
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6412
6909
|
static type: string;
|
|
6413
6910
|
type: string;
|
|
6414
|
-
|
|
6911
|
+
itemId: string;
|
|
6415
6912
|
response: EventResponse;
|
|
6416
|
-
static create(
|
|
6913
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6417
6914
|
}
|
|
6418
|
-
export class
|
|
6915
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6419
6916
|
static type: string;
|
|
6420
6917
|
type: string;
|
|
6421
6918
|
recurrenceSeriesId: string;
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6919
|
+
response: EventResponse;
|
|
6920
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6425
6921
|
}
|
|
6426
6922
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6427
6923
|
static type: string;
|
|
@@ -6436,6 +6932,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6436
6932
|
followByDefault: boolean;
|
|
6437
6933
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6438
6934
|
}
|
|
6935
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6936
|
+
static type: string;
|
|
6937
|
+
type: string;
|
|
6938
|
+
recurrenceSeriesId: string;
|
|
6939
|
+
isLiked: boolean;
|
|
6940
|
+
likeCount: number;
|
|
6941
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6942
|
+
}
|
|
6943
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
6944
|
+
static type: string;
|
|
6945
|
+
type: string;
|
|
6946
|
+
recurrenceSeriesId: string;
|
|
6947
|
+
isFollowed: boolean;
|
|
6948
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
6949
|
+
}
|
|
6439
6950
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6440
6951
|
static type: string;
|
|
6441
6952
|
type: string;
|
|
@@ -6456,6 +6967,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6456
6967
|
type: string;
|
|
6457
6968
|
static create(): StreamMarkAllAsReadAction;
|
|
6458
6969
|
}
|
|
6970
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6971
|
+
static type: string;
|
|
6972
|
+
type: string;
|
|
6973
|
+
itemId: string;
|
|
6974
|
+
static create(itemId: string): RefetchItemAction;
|
|
6975
|
+
}
|
|
6976
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
6977
|
+
static type: string;
|
|
6978
|
+
type: string;
|
|
6979
|
+
itemId: string;
|
|
6980
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
6981
|
+
}
|
|
6459
6982
|
}
|
|
6460
6983
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6461
6984
|
export interface CommentFilter {
|
|
@@ -6472,32 +6995,38 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6472
6995
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6473
6996
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6474
6997
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6998
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6475
6999
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6476
7000
|
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) =>
|
|
7001
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7002
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7003
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7004
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7005
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7006
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6483
7007
|
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) =>
|
|
7008
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7009
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6486
7010
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6487
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7011
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6488
7012
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6489
7013
|
};
|
|
6490
7014
|
}
|
|
7015
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7016
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
7017
|
+
}
|
|
6491
7018
|
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
6492
7019
|
import { FC } from 'react';
|
|
6493
|
-
import { ConversationScope } from "libs/reach/util/common/src/index";
|
|
6494
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7020
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6495
7021
|
interface Props {
|
|
6496
7022
|
type: ItemResourceTypes;
|
|
6497
7023
|
itemId: string;
|
|
7024
|
+
recurrenceSeriesId?: string;
|
|
6498
7025
|
className?: string;
|
|
6499
7026
|
scope: ConversationScope;
|
|
6500
7027
|
hideProfileUrl?: boolean;
|
|
7028
|
+
hideWarning?: boolean;
|
|
7029
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
6501
7030
|
}
|
|
6502
7031
|
export const FollowComments: FC<Props>;
|
|
6503
7032
|
}
|
|
@@ -6615,7 +7144,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6615
7144
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6616
7145
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6617
7146
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6618
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
7147
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6619
7148
|
}
|
|
6620
7149
|
export interface BaseFilterDefinition {
|
|
6621
7150
|
search?: string;
|
|
@@ -6623,6 +7152,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6623
7152
|
pageSize?: string | number;
|
|
6624
7153
|
groupId?: string;
|
|
6625
7154
|
}
|
|
7155
|
+
export interface ItemIdsFilterDefinition {
|
|
7156
|
+
itemIds?: string;
|
|
7157
|
+
}
|
|
6626
7158
|
export interface IndexableFilterDefinition {
|
|
6627
7159
|
[key: string]: any;
|
|
6628
7160
|
}
|
|
@@ -6927,6 +7459,43 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6927
7459
|
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
6928
7460
|
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
6929
7461
|
}
|
|
7462
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7463
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7464
|
+
export default interface FeedbackSummary {
|
|
7465
|
+
records: FeedbackItem[];
|
|
7466
|
+
}
|
|
7467
|
+
export enum FeedbackItemType {
|
|
7468
|
+
comment = "comment",
|
|
7469
|
+
like = "like",
|
|
7470
|
+
confirm = "confirm",
|
|
7471
|
+
poll = "poll",
|
|
7472
|
+
eventRegistration = "eventRegistration"
|
|
7473
|
+
}
|
|
7474
|
+
export interface FeedbackItem {
|
|
7475
|
+
type: FeedbackItemType;
|
|
7476
|
+
timestamp: string;
|
|
7477
|
+
}
|
|
7478
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7479
|
+
type: FeedbackItemType.poll;
|
|
7480
|
+
answers: PollQuestionAnswer[];
|
|
7481
|
+
}
|
|
7482
|
+
}
|
|
7483
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7484
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7485
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7486
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7487
|
+
export const feedbackCache: {
|
|
7488
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7489
|
+
};
|
|
7490
|
+
export function useFeedbackApi(): {
|
|
7491
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7492
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7493
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7494
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7495
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7496
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7497
|
+
};
|
|
7498
|
+
}
|
|
6930
7499
|
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
6931
7500
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6932
7501
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
@@ -6943,7 +7512,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
6943
7512
|
deletePost: (postId: string) => Promise<unknown>;
|
|
6944
7513
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
6945
7514
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
6946
|
-
translatePost: (postId: string, language: string) =>
|
|
7515
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
6947
7516
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
6948
7517
|
};
|
|
6949
7518
|
}
|
|
@@ -6953,7 +7522,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
|
|
|
6953
7522
|
}
|
|
6954
7523
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6955
7524
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6956
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7525
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6957
7526
|
export interface ClientAttachment extends Attachment {
|
|
6958
7527
|
file?: File;
|
|
6959
7528
|
}
|
|
@@ -6969,6 +7538,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6969
7538
|
placeHolderStringResourceKey?: string;
|
|
6970
7539
|
disableAddGif?: boolean;
|
|
6971
7540
|
disableAddFiles?: boolean;
|
|
7541
|
+
parentId?: string;
|
|
7542
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6972
7543
|
};
|
|
6973
7544
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
6974
7545
|
attachments: Attachment[];
|
|
@@ -6981,6 +7552,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6981
7552
|
placeHolderStringResourceKey?: string;
|
|
6982
7553
|
disableAddGif?: boolean;
|
|
6983
7554
|
disableAddFiles?: boolean;
|
|
7555
|
+
parentId?: string;
|
|
7556
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
6984
7557
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
6985
7558
|
}
|
|
6986
7559
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7110,6 +7683,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7110
7683
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7111
7684
|
import { FC, MouseEvent } from 'react';
|
|
7112
7685
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7686
|
+
import { LocationState } from 'history';
|
|
7113
7687
|
export const ClickableOverlay: FC<{
|
|
7114
7688
|
itemId: string;
|
|
7115
7689
|
itemType: ItemResourceTypes;
|
|
@@ -7120,9 +7694,22 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7120
7694
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7121
7695
|
openTargetInNewWindow?: boolean;
|
|
7122
7696
|
isExternalContent?: boolean;
|
|
7697
|
+
locationState?: LocationState;
|
|
7123
7698
|
}>;
|
|
7124
7699
|
}
|
|
7125
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7700
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7701
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7702
|
+
import { FC } from 'react';
|
|
7703
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7704
|
+
itemId: string;
|
|
7705
|
+
itemType: ItemResourceTypes;
|
|
7706
|
+
baseRoute: string;
|
|
7707
|
+
title?: string;
|
|
7708
|
+
isExternalContent?: boolean;
|
|
7709
|
+
targetUrl?: string;
|
|
7710
|
+
}>;
|
|
7711
|
+
}
|
|
7712
|
+
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
7126
7713
|
import { FC } from 'react';
|
|
7127
7714
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
7128
7715
|
export const PostItemTile: FC<{
|
|
@@ -7130,6 +7717,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7130
7717
|
targetUrl?: string;
|
|
7131
7718
|
readOnly?: boolean;
|
|
7132
7719
|
backgroundColor?: string;
|
|
7720
|
+
enableModalRouting?: boolean;
|
|
7133
7721
|
className?: string;
|
|
7134
7722
|
}>;
|
|
7135
7723
|
}
|
|
@@ -7167,6 +7755,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7167
7755
|
className?: string;
|
|
7168
7756
|
allowFilterByChannels?: boolean;
|
|
7169
7757
|
channelBackgroundColor?: string;
|
|
7758
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7170
7759
|
}>;
|
|
7171
7760
|
}
|
|
7172
7761
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7226,6 +7815,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7226
7815
|
height?: number;
|
|
7227
7816
|
hidePlayerIfActive?: boolean;
|
|
7228
7817
|
className?: string;
|
|
7818
|
+
documentIconName?: string;
|
|
7229
7819
|
}
|
|
7230
7820
|
export const PublishableItemBanner: FC<Props>;
|
|
7231
7821
|
}
|
|
@@ -7311,27 +7901,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7311
7901
|
}
|
|
7312
7902
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7313
7903
|
}
|
|
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
7904
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7336
7905
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7337
7906
|
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
@@ -7350,6 +7919,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7350
7919
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7351
7920
|
export const EventRegistrationButton: FC<{
|
|
7352
7921
|
isRegistered: boolean;
|
|
7922
|
+
eventId: string;
|
|
7353
7923
|
disabled?: boolean;
|
|
7354
7924
|
className?: string;
|
|
7355
7925
|
onClick?: () => void;
|
|
@@ -7433,25 +8003,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7433
8003
|
onDismiss: () => unknown;
|
|
7434
8004
|
}>;
|
|
7435
8005
|
}
|
|
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
8006
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7456
8007
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7457
8008
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7464,10 +8015,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7464
8015
|
}
|
|
7465
8016
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7466
8017
|
import { FC } from 'react';
|
|
8018
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7467
8019
|
export const EventUserRegistration: FC<{
|
|
7468
8020
|
disabled?: boolean;
|
|
7469
8021
|
hideInfoMessage?: boolean;
|
|
7470
8022
|
showNoRegistrationRequired?: boolean;
|
|
8023
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7471
8024
|
className?: string;
|
|
7472
8025
|
}>;
|
|
7473
8026
|
}
|
|
@@ -7537,8 +8090,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7537
8090
|
export const CardLikeButton: FC<{
|
|
7538
8091
|
item: NewsItem | EventItem;
|
|
7539
8092
|
itemResourceType: ItemResourceTypes;
|
|
7540
|
-
|
|
7541
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8093
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7542
8094
|
className?: string;
|
|
7543
8095
|
}>;
|
|
7544
8096
|
}
|
|
@@ -7560,6 +8112,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7560
8112
|
className?: string;
|
|
7561
8113
|
}>;
|
|
7562
8114
|
}
|
|
8115
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
8116
|
+
import { FC } from 'react';
|
|
8117
|
+
export const LinkWithModalRouting: FC<{
|
|
8118
|
+
url: string;
|
|
8119
|
+
itemId: string;
|
|
8120
|
+
hash?: string;
|
|
8121
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
8122
|
+
ariaHidden?: boolean;
|
|
8123
|
+
ariaLabel?: string;
|
|
8124
|
+
className?: string;
|
|
8125
|
+
}>;
|
|
8126
|
+
}
|
|
7563
8127
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7564
8128
|
import { FC } from 'react';
|
|
7565
8129
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7578,6 +8142,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7578
8142
|
allowFilterByChannels?: boolean;
|
|
7579
8143
|
showFeedbackButtons?: boolean;
|
|
7580
8144
|
readOnly?: boolean;
|
|
8145
|
+
enableModalRouting?: boolean;
|
|
7581
8146
|
className?: string;
|
|
7582
8147
|
}>;
|
|
7583
8148
|
}
|
|
@@ -7628,7 +8193,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7628
8193
|
Contact = "contact",
|
|
7629
8194
|
InlinePageList = "inline-page-list",
|
|
7630
8195
|
UrlPreview = "url-preview",
|
|
7631
|
-
ActionButton = "action-button"
|
|
8196
|
+
ActionButton = "action-button",
|
|
8197
|
+
InlinePlugin = "inline-plugin"
|
|
7632
8198
|
}
|
|
7633
8199
|
export interface HtmlComponentMapper {
|
|
7634
8200
|
component: FC<any>;
|
|
@@ -7770,7 +8336,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7770
8336
|
resourceKey?: string;
|
|
7771
8337
|
resourceValues?: string;
|
|
7772
8338
|
className?: string;
|
|
8339
|
+
enableModalRouting?: boolean;
|
|
8340
|
+
itemId?: string;
|
|
7773
8341
|
isOverrideLink: boolean;
|
|
8342
|
+
icon?: string;
|
|
7774
8343
|
}>;
|
|
7775
8344
|
}
|
|
7776
8345
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -7829,6 +8398,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7829
8398
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7830
8399
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7831
8400
|
openTargetInNewWindow?: boolean;
|
|
8401
|
+
enableModalRouting?: boolean;
|
|
7832
8402
|
className?: string;
|
|
7833
8403
|
}
|
|
7834
8404
|
export const PageItemTile: FC<Props>;
|
|
@@ -7874,6 +8444,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7874
8444
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7875
8445
|
styleDefinition?: StyleDefinition;
|
|
7876
8446
|
readOnly?: boolean;
|
|
8447
|
+
enableModalRouting?: boolean;
|
|
7877
8448
|
className?: string;
|
|
7878
8449
|
}
|
|
7879
8450
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7917,6 +8488,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7917
8488
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7918
8489
|
styleDefinition?: StyleDefinition;
|
|
7919
8490
|
readOnly?: boolean;
|
|
8491
|
+
enableModalRouting?: boolean;
|
|
7920
8492
|
className?: string;
|
|
7921
8493
|
}
|
|
7922
8494
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7942,6 +8514,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7942
8514
|
previewTheme?: CommentInputTheme;
|
|
7943
8515
|
buttons?: ReactNode;
|
|
7944
8516
|
groupIds?: string[];
|
|
8517
|
+
enableModalRouting?: boolean;
|
|
7945
8518
|
className?: string;
|
|
7946
8519
|
}>;
|
|
7947
8520
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7958,6 +8531,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7958
8531
|
attachments: Attachment[];
|
|
7959
8532
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7960
8533
|
previewTheme?: CommentInputTheme;
|
|
8534
|
+
enableModalRouting?: boolean;
|
|
7961
8535
|
className?: string;
|
|
7962
8536
|
}>;
|
|
7963
8537
|
}
|
|
@@ -7974,7 +8548,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
7974
8548
|
}
|
|
7975
8549
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
7976
8550
|
import { FC } from 'react';
|
|
7977
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8551
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7978
8552
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7979
8553
|
interface Props {
|
|
7980
8554
|
className?: string;
|
|
@@ -7984,6 +8558,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
7984
8558
|
previewTheme?: CommentInputTheme;
|
|
7985
8559
|
disableVideoPreview?: boolean;
|
|
7986
8560
|
disableEmbeddedObjectPreview?: boolean;
|
|
8561
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8562
|
+
parentId?: string;
|
|
7987
8563
|
}
|
|
7988
8564
|
export const AttachmentList: FC<Props>;
|
|
7989
8565
|
}
|
|
@@ -8000,6 +8576,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8000
8576
|
placeHolderStringResourceKey?: string;
|
|
8001
8577
|
disableAddGif?: boolean;
|
|
8002
8578
|
disableAddFiles?: boolean;
|
|
8579
|
+
parentId?: string;
|
|
8580
|
+
itemResourceType?: string;
|
|
8003
8581
|
} & {
|
|
8004
8582
|
disableVideoPreview?: boolean;
|
|
8005
8583
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8069,7 +8647,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8069
8647
|
}
|
|
8070
8648
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8071
8649
|
import { FC } from 'react';
|
|
8072
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8650
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8073
8651
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8074
8652
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8075
8653
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8101,6 +8679,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8101
8679
|
};
|
|
8102
8680
|
disableBoxShadow?: boolean;
|
|
8103
8681
|
ariaLabel?: string;
|
|
8682
|
+
parentId?: string;
|
|
8683
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8104
8684
|
}
|
|
8105
8685
|
interface Props extends BaseProps {
|
|
8106
8686
|
allowAttachments?: boolean;
|
|
@@ -8118,6 +8698,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8118
8698
|
import { FC, ReactNode } from 'react';
|
|
8119
8699
|
export const InlineObjectToolbar: FC<{
|
|
8120
8700
|
onDelete?: () => void;
|
|
8701
|
+
deleteAriaLabelResourceKey?: string;
|
|
8121
8702
|
additionalButtons?: ReactNode;
|
|
8122
8703
|
}>;
|
|
8123
8704
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8125,15 +8706,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8125
8706
|
}>;
|
|
8126
8707
|
}
|
|
8127
8708
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8709
|
+
import { FC, ReactNode } from 'react';
|
|
8710
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8129
8711
|
export const ImageToolbar: FC<{
|
|
8130
8712
|
onDelete?: () => void;
|
|
8131
8713
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8132
8714
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8133
8715
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8716
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8134
8717
|
showFullScreenButton?: boolean;
|
|
8135
8718
|
showCloseButton?: boolean;
|
|
8136
8719
|
showCropButton?: boolean;
|
|
8720
|
+
alignmentButtons?: ReactNode;
|
|
8137
8721
|
}>;
|
|
8138
8722
|
}
|
|
8139
8723
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8160,14 +8744,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8160
8744
|
}
|
|
8161
8745
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8162
8746
|
}
|
|
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
8747
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8172
8748
|
import { FC } from 'react';
|
|
8173
8749
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8175,12 +8751,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8175
8751
|
item: ItemWithAttachments;
|
|
8176
8752
|
basePath: string;
|
|
8177
8753
|
imagesGridBackgroundColor?: string;
|
|
8754
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8755
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8178
8756
|
className?: string;
|
|
8179
8757
|
}>;
|
|
8180
8758
|
}
|
|
8181
8759
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8182
8760
|
import { FC } from 'react';
|
|
8183
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8761
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8184
8762
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8185
8763
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8186
8764
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8196,6 +8774,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8196
8774
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8197
8775
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8198
8776
|
ariaLabel?: string;
|
|
8777
|
+
parentId?: string;
|
|
8778
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8199
8779
|
}
|
|
8200
8780
|
interface Props extends BaseProps {
|
|
8201
8781
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8260,6 +8840,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8260
8840
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8261
8841
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8262
8842
|
}
|
|
8843
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8844
|
+
import { FC } from 'react';
|
|
8845
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8846
|
+
export const BookmarkButton: FC<{
|
|
8847
|
+
item: PublishableItem;
|
|
8848
|
+
isReadOnly?: boolean;
|
|
8849
|
+
className?: string;
|
|
8850
|
+
}>;
|
|
8851
|
+
}
|
|
8263
8852
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8264
8853
|
import { FC } from 'react';
|
|
8265
8854
|
export const CardStatisticItem: FC<{
|
|
@@ -8277,13 +8866,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8277
8866
|
};
|
|
8278
8867
|
}>;
|
|
8279
8868
|
}
|
|
8280
|
-
declare module "libs/reach/feature/content/src/
|
|
8869
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8870
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8281
8871
|
import { FC } from 'react';
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8872
|
+
export const CardCommentButton: FC<{
|
|
8873
|
+
item: NewsItem | EventItem;
|
|
8874
|
+
itemResourceType: ItemResourceTypes;
|
|
8875
|
+
targetRoute: string;
|
|
8876
|
+
enableModalRouting?: boolean;
|
|
8287
8877
|
}>;
|
|
8288
8878
|
}
|
|
8289
8879
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8291,13 +8881,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8291
8881
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8292
8882
|
export const CardFooter: FC<{
|
|
8293
8883
|
item: NewsItem | EventItem;
|
|
8294
|
-
showComments: boolean;
|
|
8295
8884
|
targetRoute: string;
|
|
8296
8885
|
itemResourceType: ItemResourceTypes;
|
|
8297
|
-
|
|
8298
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8886
|
+
enableModalRouting?: boolean;
|
|
8299
8887
|
}>;
|
|
8300
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
8888
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8301
8889
|
}
|
|
8302
8890
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8303
8891
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8346,6 +8934,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8346
8934
|
target?: string;
|
|
8347
8935
|
language?: string;
|
|
8348
8936
|
hideCurrentPageNode?: boolean;
|
|
8937
|
+
homeTargetUrlOverride?: string;
|
|
8349
8938
|
className?: string;
|
|
8350
8939
|
}>;
|
|
8351
8940
|
}
|
|
@@ -8545,6 +9134,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8545
9134
|
language?: string;
|
|
8546
9135
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8547
9136
|
clickableAvatar?: boolean;
|
|
9137
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8548
9138
|
}>;
|
|
8549
9139
|
}
|
|
8550
9140
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8594,7 +9184,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8594
9184
|
item: NewsItem;
|
|
8595
9185
|
baseRoute: string;
|
|
8596
9186
|
language: string;
|
|
8597
|
-
showComments: boolean;
|
|
8598
9187
|
highlight: boolean;
|
|
8599
9188
|
className?: string;
|
|
8600
9189
|
}
|
|
@@ -8627,6 +9216,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8627
9216
|
isLastPage: boolean;
|
|
8628
9217
|
unreadOnly?: boolean;
|
|
8629
9218
|
filter?: NewsFilterDefinition;
|
|
9219
|
+
activeChannel?: string;
|
|
8630
9220
|
}>;
|
|
8631
9221
|
}
|
|
8632
9222
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -8701,6 +9291,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8701
9291
|
}
|
|
8702
9292
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8703
9293
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9294
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8704
9295
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8705
9296
|
}
|
|
8706
9297
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8919,6 +9510,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
8919
9510
|
}
|
|
8920
9511
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8921
9512
|
}
|
|
9513
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9514
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9515
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9516
|
+
}
|
|
8922
9517
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8923
9518
|
import { FC } from 'react';
|
|
8924
9519
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -8931,6 +9526,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8931
9526
|
import { FC } from 'react';
|
|
8932
9527
|
export const EventDetailViewMetaInfo: FC<{
|
|
8933
9528
|
allowFilterByChannels?: boolean;
|
|
9529
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8934
9530
|
}>;
|
|
8935
9531
|
}
|
|
8936
9532
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9138,6 +9734,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9138
9734
|
readOnly?: boolean;
|
|
9139
9735
|
trimContent?: boolean;
|
|
9140
9736
|
showReplyBox?: boolean;
|
|
9737
|
+
enableModalRouting?: boolean;
|
|
9141
9738
|
className?: string;
|
|
9142
9739
|
}>;
|
|
9143
9740
|
}
|
|
@@ -9160,6 +9757,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9160
9757
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9161
9758
|
readOnly?: boolean;
|
|
9162
9759
|
trimContent?: boolean;
|
|
9760
|
+
enableModalRouting?: boolean;
|
|
9163
9761
|
className?: string;
|
|
9164
9762
|
}
|
|
9165
9763
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9219,6 +9817,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9219
9817
|
showReplyBox?: boolean;
|
|
9220
9818
|
trimContent?: boolean;
|
|
9221
9819
|
title?: ReactNode;
|
|
9820
|
+
enableModalRouting?: boolean;
|
|
9222
9821
|
className?: string;
|
|
9223
9822
|
};
|
|
9224
9823
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9243,14 +9842,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9243
9842
|
}
|
|
9244
9843
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9245
9844
|
import { FC } from 'react';
|
|
9246
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9247
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9845
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9248
9846
|
export const PublishableItemComments: FC<{
|
|
9249
9847
|
item: PublishableItem;
|
|
9250
9848
|
readOnly?: boolean;
|
|
9251
9849
|
loadInReadOnlyMode?: boolean;
|
|
9252
9850
|
type: ItemResourceTypes;
|
|
9253
|
-
hideProfileUrl?: boolean;
|
|
9254
9851
|
disableLoginForPublicUser?: boolean;
|
|
9255
9852
|
}>;
|
|
9256
9853
|
}
|
|
@@ -9311,16 +9908,13 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9311
9908
|
}
|
|
9312
9909
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9313
9910
|
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";
|
|
9911
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9317
9912
|
export const FeedbackSection: FC<{
|
|
9318
9913
|
item: PublishableItem;
|
|
9319
9914
|
language: string;
|
|
9320
9915
|
type: ItemResourceTypes;
|
|
9321
9916
|
feedbackSettings: FeedbackSettings;
|
|
9322
9917
|
hideComments?: boolean;
|
|
9323
|
-
hideProfileUrl?: boolean;
|
|
9324
9918
|
disableLoginForPublicUser?: boolean;
|
|
9325
9919
|
isReadOnly?: boolean;
|
|
9326
9920
|
className?: string;
|
|
@@ -9375,9 +9969,10 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9375
9969
|
}
|
|
9376
9970
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9377
9971
|
import { FC } from 'react';
|
|
9378
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9972
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9379
9973
|
export const ConfirmationStatisticsExport: FC<{
|
|
9380
9974
|
item: PublishableItem;
|
|
9975
|
+
resourceType: ItemResourceTypes;
|
|
9381
9976
|
}>;
|
|
9382
9977
|
}
|
|
9383
9978
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
@@ -9487,6 +10082,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9487
10082
|
layoutMode?: ItemTileLayoutMode;
|
|
9488
10083
|
bannerDefaultWidth?: number;
|
|
9489
10084
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10085
|
+
documentIconName?: string;
|
|
9490
10086
|
}>;
|
|
9491
10087
|
}
|
|
9492
10088
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9557,6 +10153,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9557
10153
|
import { FC } from 'react';
|
|
9558
10154
|
export const DetailViewKeywords: FC<{
|
|
9559
10155
|
filterBaseUrl: string;
|
|
10156
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9560
10157
|
}>;
|
|
9561
10158
|
}
|
|
9562
10159
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
@@ -9604,8 +10201,9 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9604
10201
|
import { FC, ReactNode } from 'react';
|
|
9605
10202
|
export const DetailViewNavigation: FC<{
|
|
9606
10203
|
offsetRight?: number;
|
|
9607
|
-
children?: ReactNode;
|
|
9608
10204
|
callout?: ReactNode;
|
|
10205
|
+
className?: string;
|
|
10206
|
+
children?: ReactNode;
|
|
9609
10207
|
}>;
|
|
9610
10208
|
}
|
|
9611
10209
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
@@ -9648,598 +10246,234 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9648
10246
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9649
10247
|
};
|
|
9650
10248
|
}
|
|
9651
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
icon?: ReactNode;
|
|
9656
|
-
iconName?: string;
|
|
9657
|
-
color?: string;
|
|
9658
|
-
onClick?: () => any;
|
|
9659
|
-
route?: LocationDescriptor;
|
|
9660
|
-
iconTooltipResourceKey: string;
|
|
9661
|
-
iconTooltipResourceValues?: any;
|
|
9662
|
-
className?: string;
|
|
9663
|
-
}>;
|
|
9664
|
-
}
|
|
9665
|
-
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
9666
|
-
import { FC, ReactNode } from 'react';
|
|
9667
|
-
import { LocationDescriptor } from 'history';
|
|
9668
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
9669
|
-
export interface BaseSidebarItemProps {
|
|
9670
|
-
children?: any;
|
|
9671
|
-
icon?: ReactNode;
|
|
9672
|
-
iconName?: string;
|
|
9673
|
-
iconTooltipResourceKey?: string;
|
|
9674
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
9675
|
-
secondaryIconName?: string;
|
|
9676
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9677
|
-
reverse?: boolean;
|
|
9678
|
-
onIconClick?: () => void;
|
|
9679
|
-
iconRoute?: LocationDescriptor;
|
|
9680
|
-
iconColor?: string;
|
|
9681
|
-
onSecondaryIconClick?: () => void;
|
|
9682
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
9683
|
-
onContentClick?: () => void;
|
|
9684
|
-
contentRoute?: LocationDescriptor;
|
|
9685
|
-
badgeInfo?: number | boolean;
|
|
9686
|
-
title?: string;
|
|
9687
|
-
className?: string;
|
|
10249
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10250
|
+
interface IClickHandles {
|
|
10251
|
+
onInsideClick: () => void;
|
|
10252
|
+
onOutsideClick: () => void;
|
|
9688
10253
|
}
|
|
9689
|
-
export
|
|
10254
|
+
export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
|
|
9690
10255
|
}
|
|
9691
|
-
declare module "libs/reach/feature/content/src/
|
|
10256
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
9692
10257
|
import { FC } from 'react';
|
|
9693
|
-
|
|
9694
|
-
|
|
9695
|
-
|
|
10258
|
+
export const GroupNotificationsSettings: FC<{
|
|
10259
|
+
groupId: string;
|
|
10260
|
+
className?: string;
|
|
9696
10261
|
}>;
|
|
9697
10262
|
}
|
|
9698
|
-
declare module "libs/reach/feature/content/src/
|
|
9699
|
-
import { FC
|
|
9700
|
-
import {
|
|
9701
|
-
import {
|
|
9702
|
-
import {
|
|
9703
|
-
interface
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
10263
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10264
|
+
import { FC } from 'react';
|
|
10265
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10266
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10267
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10268
|
+
export interface PostCreatorProps {
|
|
10269
|
+
groupId: string;
|
|
10270
|
+
disabled?: boolean;
|
|
10271
|
+
disableDragAndDrop?: boolean;
|
|
10272
|
+
onBeforeSave?: (post: Post) => void;
|
|
10273
|
+
onSaved: (post: Post) => void;
|
|
10274
|
+
keywordSettings?: {
|
|
10275
|
+
availableKeywords?: Keyword[];
|
|
10276
|
+
defaultKeywords?: Keyword[];
|
|
10277
|
+
mandatoryKeywords?: Keyword[];
|
|
10278
|
+
};
|
|
10279
|
+
disableAutoFocus?: boolean;
|
|
10280
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9716
10281
|
className?: string;
|
|
9717
|
-
isActive?: boolean;
|
|
9718
|
-
activeClassName?: string;
|
|
9719
|
-
readOnly?: boolean;
|
|
9720
|
-
submenu?: JSX.Element;
|
|
9721
|
-
submenuClassName?: string;
|
|
9722
|
-
submenuStyleDefinition?: ColorStyleDefinition;
|
|
9723
|
-
badgeInfo?: number | boolean;
|
|
9724
|
-
domIdentifier?: string;
|
|
9725
|
-
}
|
|
9726
|
-
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
9727
|
-
contentRoute?: LocationDescriptor;
|
|
9728
|
-
onIconClick?: () => void;
|
|
9729
|
-
iconRoute?: LocationDescriptor;
|
|
9730
|
-
onSecondaryIconClick?: () => void;
|
|
9731
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
9732
|
-
isHoverable?: boolean;
|
|
9733
|
-
}
|
|
9734
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
9735
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
9736
|
-
route: LocationDescriptor;
|
|
9737
|
-
exact?: boolean;
|
|
9738
|
-
linkClassName?: string;
|
|
9739
10282
|
}
|
|
9740
|
-
export const
|
|
10283
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9741
10284
|
}
|
|
9742
|
-
declare module "libs/reach/feature/content/src/
|
|
10285
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9743
10286
|
import { FC } from 'react';
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
10287
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10288
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10289
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10290
|
+
interface Props {
|
|
9747
10291
|
className?: string;
|
|
9748
|
-
|
|
10292
|
+
post: Post;
|
|
10293
|
+
initialPageSize?: number;
|
|
10294
|
+
comments?: PaginatedList<Comment>;
|
|
10295
|
+
autoFocusReplyField?: boolean;
|
|
10296
|
+
showReplyBox?: boolean;
|
|
10297
|
+
onReplyAdded: () => void;
|
|
10298
|
+
onReplyDeleted: () => void;
|
|
10299
|
+
trimContent?: boolean;
|
|
10300
|
+
enableModalRouting?: boolean;
|
|
10301
|
+
}
|
|
10302
|
+
export const PostReplies: FC<Props>;
|
|
9749
10303
|
}
|
|
9750
|
-
declare module "libs/reach/feature/content/src/
|
|
10304
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9751
10305
|
import { FC } from 'react';
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
10306
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10307
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10308
|
+
export const PostEditor: FC<{
|
|
9755
10309
|
className?: string;
|
|
10310
|
+
post: Post;
|
|
10311
|
+
onCancel: () => void;
|
|
10312
|
+
onBeforeSave: (post: Post) => void;
|
|
10313
|
+
onSaved: (post: Post) => void;
|
|
10314
|
+
keywordSettings?: {
|
|
10315
|
+
availableKeywords?: Keyword[];
|
|
10316
|
+
defaultKeywords?: Keyword[];
|
|
10317
|
+
mandatoryKeywords?: Keyword[];
|
|
10318
|
+
};
|
|
9756
10319
|
}>;
|
|
9757
10320
|
}
|
|
9758
|
-
declare module "libs/reach/feature/content/src/
|
|
10321
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9759
10322
|
import { FC } from 'react';
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
selectedChannelIds?: string[];
|
|
9765
|
-
mandatoryChannelIds?: string[];
|
|
9766
|
-
availableChannels?: Channel[];
|
|
9767
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
9768
|
-
className?: string;
|
|
9769
|
-
showOnlyUserChannels?: boolean;
|
|
9770
|
-
showSelectionToggle?: boolean;
|
|
9771
|
-
placeholder?: string;
|
|
9772
|
-
inlineControls?: boolean;
|
|
9773
|
-
required?: boolean;
|
|
9774
|
-
id?: string;
|
|
9775
|
-
showLogicalOperatorOptions?: boolean;
|
|
9776
|
-
selectedLogicalOperator?: LogicalOperator;
|
|
9777
|
-
}
|
|
9778
|
-
export const ChannelSelector: FC<Props>;
|
|
10323
|
+
export const PostFollowButton: FC<{
|
|
10324
|
+
itemId: string;
|
|
10325
|
+
isFollowing: boolean;
|
|
10326
|
+
}>;
|
|
9779
10327
|
}
|
|
9780
|
-
declare module "libs/reach/feature/content/src/
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
export
|
|
9784
|
-
|
|
9785
|
-
|
|
9786
|
-
|
|
9787
|
-
|
|
9788
|
-
export
|
|
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";
|
|
10328
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10329
|
+
import { FC } from 'react';
|
|
10330
|
+
import { NavLink } from 'react-router-dom';
|
|
10331
|
+
export const PostGroup: FC<{
|
|
10332
|
+
groupId: string;
|
|
10333
|
+
target?: string;
|
|
10334
|
+
className?: string;
|
|
10335
|
+
}>;
|
|
10336
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9882
10337
|
}
|
|
9883
|
-
declare module "libs/reach/feature/content/src/
|
|
10338
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9884
10339
|
import { FC } from 'react';
|
|
9885
|
-
import {
|
|
9886
|
-
import {
|
|
9887
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10340
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10341
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9888
10342
|
interface Props {
|
|
9889
|
-
|
|
9890
|
-
|
|
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;
|
|
10343
|
+
post: Post;
|
|
10344
|
+
targetUrl?: string;
|
|
9908
10345
|
className?: string;
|
|
10346
|
+
threadId?: string;
|
|
10347
|
+
onCustomPostDelete?: () => void;
|
|
10348
|
+
comments?: PaginatedList<Comment>;
|
|
10349
|
+
initialCommentsPageSize?: number;
|
|
10350
|
+
onThreadCommentDelete?: () => void;
|
|
10351
|
+
onThreadReply?: (threadId: string) => void;
|
|
10352
|
+
keywordSettings?: {
|
|
10353
|
+
availableKeywords?: Keyword[];
|
|
10354
|
+
defaultKeywords?: Keyword[];
|
|
10355
|
+
mandatoryKeywords?: Keyword[];
|
|
10356
|
+
};
|
|
10357
|
+
showGroup?: boolean;
|
|
10358
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10359
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10360
|
+
onItemClick?: (postId: string) => unknown;
|
|
10361
|
+
openTargetInNewWindow?: boolean;
|
|
10362
|
+
trimContent?: boolean;
|
|
10363
|
+
postGroupTargetUrl?: string;
|
|
10364
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10365
|
+
baseTargetUrl?: string;
|
|
9909
10366
|
}
|
|
9910
|
-
export const
|
|
9911
|
-
|
|
9912
|
-
declare module "libs/reach/feature/content/src/comments/index" {
|
|
9913
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9914
|
-
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
9915
|
-
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
9916
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9917
|
-
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
9918
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9919
|
-
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
9920
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9921
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
9922
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9923
|
-
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
9924
|
-
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
9925
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
9926
|
-
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
9927
|
-
}
|
|
9928
|
-
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
9929
|
-
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
9930
|
-
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
9931
|
-
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9932
|
-
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
10367
|
+
export const PostDisplay: FC<Props>;
|
|
10368
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
9933
10369
|
}
|
|
9934
|
-
declare module "libs/reach/feature/content/src/
|
|
9935
|
-
import { FC
|
|
9936
|
-
import {
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
onDismiss: () => void;
|
|
9943
|
-
availableKeywords?: Keyword[];
|
|
9944
|
-
mandatoryKeywordIds?: string[];
|
|
9945
|
-
}
|
|
9946
|
-
export const KeywordDialog: FC<Props>;
|
|
9947
|
-
export const StatefulKeywordPicker: FC<{
|
|
9948
|
-
preSelectedKeywords: Keyword[];
|
|
9949
|
-
availableKeywords?: Keyword[];
|
|
9950
|
-
mandatoryKeywordIds?: string[];
|
|
9951
|
-
showSelectionToggle?: boolean;
|
|
9952
|
-
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
10370
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10371
|
+
import { FC } from 'react';
|
|
10372
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10373
|
+
export const PostGroupsPicker: FC<{
|
|
10374
|
+
groups: UserGroup[];
|
|
10375
|
+
selectedGroupId: string;
|
|
10376
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10377
|
+
className?: string;
|
|
9953
10378
|
}>;
|
|
9954
10379
|
}
|
|
9955
|
-
declare module "libs/reach/feature/content/src/
|
|
9956
|
-
import { FC
|
|
9957
|
-
export
|
|
9958
|
-
|
|
9959
|
-
placeholder?: string;
|
|
9960
|
-
readOnly?: boolean;
|
|
9961
|
-
onChange: (value: string) => void;
|
|
10380
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10381
|
+
import { FC } from 'react';
|
|
10382
|
+
export const PostGroupSelector: FC<{
|
|
10383
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
9962
10384
|
className?: string;
|
|
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;
|
|
9975
|
-
}
|
|
9976
|
-
/**
|
|
9977
|
-
* Textarea that expands vertically to fit content.
|
|
9978
|
-
* If maxLength is given, also displays a count of remaining characters when focused
|
|
9979
|
-
*/
|
|
9980
|
-
export const Textarea: FC<TextareaProps>;
|
|
10385
|
+
}>;
|
|
9981
10386
|
}
|
|
9982
|
-
declare module "libs/reach/feature/content/src/
|
|
9983
|
-
import {
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
singleMode?: boolean;
|
|
10387
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10388
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10389
|
+
import { DocumentNode } from '@apollo/client';
|
|
10390
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10391
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10392
|
+
export enum StreamEventResponse {
|
|
10393
|
+
NotSet = "NOTSET",
|
|
10394
|
+
Registered = "REGISTERED",
|
|
10395
|
+
Declined = "DECLINED"
|
|
9992
10396
|
}
|
|
9993
|
-
export
|
|
9994
|
-
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9995
|
-
isActive?: boolean;
|
|
9996
|
-
}, never>;
|
|
9997
|
-
}
|
|
9998
|
-
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
9999
|
-
import { FC } from 'react';
|
|
10000
|
-
interface Props {
|
|
10001
|
-
onInsert: (files: File[]) => void;
|
|
10002
|
-
accept?: string;
|
|
10003
|
-
captionKey?: string;
|
|
10004
|
-
descriptionKey?: string;
|
|
10397
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10005
10398
|
}
|
|
10006
|
-
export
|
|
10399
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10400
|
+
items: StreamItem[];
|
|
10401
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10402
|
+
loadMore: () => Promise<void>;
|
|
10403
|
+
pageInfo: {
|
|
10404
|
+
errors?: any;
|
|
10405
|
+
hasNextPage: boolean;
|
|
10406
|
+
skip: number;
|
|
10407
|
+
};
|
|
10408
|
+
refresh: () => Promise<void>;
|
|
10409
|
+
isLoadingFirstPage: boolean;
|
|
10410
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10411
|
+
};
|
|
10412
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10413
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10414
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10415
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10416
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10417
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10418
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10419
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10420
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10421
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10422
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10423
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10424
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10425
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10426
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10427
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10007
10428
|
}
|
|
10008
|
-
declare module "libs/reach/feature/content/src/
|
|
10009
|
-
import {
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
maxDate?: string;
|
|
10013
|
-
minDate?: string;
|
|
10014
|
-
dateValidationResourceKey?: string;
|
|
10015
|
-
timeValidationResourceKey?: string;
|
|
10016
|
-
readOnly?: boolean;
|
|
10017
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
10018
|
-
noDateResourceKey: string;
|
|
10019
|
-
selectDateResourceKey: string;
|
|
10020
|
-
dateOnly?: boolean;
|
|
10021
|
-
initialPickerDate?: string;
|
|
10022
|
-
label?: string;
|
|
10023
|
-
isRequired?: boolean;
|
|
10024
|
-
className?: string;
|
|
10025
|
-
}
|
|
10026
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
10027
|
-
export default DateTimePicker;
|
|
10429
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10430
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10431
|
+
import { DependencyList } from 'react';
|
|
10432
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10028
10433
|
}
|
|
10029
|
-
declare module "libs/reach/feature/content/src/
|
|
10030
|
-
import
|
|
10031
|
-
export
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10036
|
-
OneMonth = 4,
|
|
10037
|
-
SevenDays = 5,
|
|
10038
|
-
YesterDay = 6,
|
|
10039
|
-
Today = 7
|
|
10040
|
-
}
|
|
10041
|
-
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
10042
|
-
export function dateToDateRange(date: string | moment.Moment): number;
|
|
10043
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
10434
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10435
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10436
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10437
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10438
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10439
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10440
|
+
};
|
|
10044
10441
|
}
|
|
10045
|
-
declare module "libs/reach/feature/content/src/
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
export
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10442
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10443
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10444
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10445
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10446
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10447
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10448
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10449
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10450
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10451
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10452
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10052
10453
|
}
|
|
10053
|
-
declare module "libs/reach/feature/content/src/
|
|
10054
|
-
import {
|
|
10055
|
-
import {
|
|
10056
|
-
import {
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
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;
|
|
10454
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10455
|
+
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";
|
|
10456
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10457
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10458
|
+
enum StreamItemTypes {
|
|
10459
|
+
Post = "POST",
|
|
10460
|
+
News = "NEWS",
|
|
10461
|
+
Event = "EVENT",
|
|
10462
|
+
Page = "PAGE"
|
|
10072
10463
|
}
|
|
10073
|
-
export
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
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;
|
|
10464
|
+
export enum StreamConversationScope {
|
|
10465
|
+
Public = "PUBLIC",
|
|
10466
|
+
Editor = "EDITOR",
|
|
10467
|
+
Posts = "POSTS"
|
|
10117
10468
|
}
|
|
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;
|
|
10469
|
+
export interface PostStreamItem extends Post {
|
|
10470
|
+
type: StreamItemTypes.Post;
|
|
10471
|
+
isUnread: boolean;
|
|
10472
|
+
keywordsList?: Keyword[];
|
|
10473
|
+
groupIds?: string[];
|
|
10474
|
+
postAttachments?: StreamAttachment[];
|
|
10475
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10476
|
+
hasMoreUnreadComments: boolean;
|
|
10243
10477
|
}
|
|
10244
10478
|
export interface StreamPostComment extends Comment {
|
|
10245
10479
|
postCommentAttachments?: StreamAttachment[];
|
|
@@ -11057,72 +11291,456 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11057
11291
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11058
11292
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11059
11293
|
})[];
|
|
11294
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11295
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11296
|
+
}
|
|
11297
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11298
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11299
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11300
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11301
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, isGlobalSearch?: boolean, itemType?: ItemResourceTypes): void;
|
|
11302
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11303
|
+
}
|
|
11304
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11305
|
+
import { LocationDescriptor } from 'history';
|
|
11306
|
+
import { FC, ReactNode } from 'react';
|
|
11307
|
+
export const SidebarIcon: FC<{
|
|
11308
|
+
icon?: ReactNode;
|
|
11309
|
+
iconName?: string;
|
|
11310
|
+
color?: string;
|
|
11311
|
+
onClick?: () => any;
|
|
11312
|
+
route?: LocationDescriptor;
|
|
11313
|
+
iconTooltipResourceKey: string;
|
|
11314
|
+
iconTooltipResourceValues?: any;
|
|
11315
|
+
className?: string;
|
|
11316
|
+
}>;
|
|
11317
|
+
}
|
|
11318
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11319
|
+
import { FC, ReactNode } from 'react';
|
|
11320
|
+
import { LocationDescriptor } from 'history';
|
|
11321
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11322
|
+
export interface BaseSidebarItemProps {
|
|
11323
|
+
children?: any;
|
|
11324
|
+
icon?: ReactNode;
|
|
11325
|
+
iconName?: string;
|
|
11326
|
+
iconTooltipResourceKey?: string;
|
|
11327
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11328
|
+
secondaryIconName?: string;
|
|
11329
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11330
|
+
reverse?: boolean;
|
|
11331
|
+
onIconClick?: () => void;
|
|
11332
|
+
iconRoute?: LocationDescriptor;
|
|
11333
|
+
iconColor?: string;
|
|
11334
|
+
onSecondaryIconClick?: () => void;
|
|
11335
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11336
|
+
onContentClick?: () => void;
|
|
11337
|
+
contentRoute?: LocationDescriptor;
|
|
11338
|
+
badgeInfo?: number | boolean;
|
|
11339
|
+
title?: string;
|
|
11340
|
+
className?: string;
|
|
11341
|
+
}
|
|
11342
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11343
|
+
}
|
|
11344
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11345
|
+
import { FC } from 'react';
|
|
11346
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11347
|
+
export const SidebarItemSection: FC<{
|
|
11348
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11349
|
+
}>;
|
|
11350
|
+
}
|
|
11351
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11352
|
+
import { FC, ReactNode } from 'react';
|
|
11353
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11354
|
+
import { LocationDescriptor } from 'history';
|
|
11355
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11356
|
+
interface CommonSidebarItemProps {
|
|
11357
|
+
title?: string | JSX.Element;
|
|
11358
|
+
titleResource?: string;
|
|
11359
|
+
icon?: ReactNode;
|
|
11360
|
+
iconName?: string;
|
|
11361
|
+
iconTooltipResourceKey?: string;
|
|
11362
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11363
|
+
secondaryIconName?: string;
|
|
11364
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11365
|
+
iconColor?: string;
|
|
11366
|
+
reverse?: boolean;
|
|
11367
|
+
notHighlightable?: boolean;
|
|
11368
|
+
onClick?: () => void;
|
|
11369
|
+
className?: string;
|
|
11370
|
+
isActive?: boolean;
|
|
11371
|
+
activeClassName?: string;
|
|
11372
|
+
readOnly?: boolean;
|
|
11373
|
+
submenu?: JSX.Element;
|
|
11374
|
+
submenuClassName?: string;
|
|
11375
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11376
|
+
badgeInfo?: number | boolean;
|
|
11377
|
+
domIdentifier?: string;
|
|
11378
|
+
}
|
|
11379
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11380
|
+
contentRoute?: LocationDescriptor;
|
|
11381
|
+
onIconClick?: () => void;
|
|
11382
|
+
iconRoute?: LocationDescriptor;
|
|
11383
|
+
onSecondaryIconClick?: () => void;
|
|
11384
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11385
|
+
isHoverable?: boolean;
|
|
11386
|
+
}
|
|
11387
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11388
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11389
|
+
route: LocationDescriptor;
|
|
11390
|
+
exact?: boolean;
|
|
11391
|
+
linkClassName?: string;
|
|
11392
|
+
}
|
|
11393
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11394
|
+
}
|
|
11395
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11396
|
+
import { FC } from 'react';
|
|
11397
|
+
export const SidebarGroup: FC<{
|
|
11398
|
+
titleResource?: string;
|
|
11399
|
+
borderColor?: string;
|
|
11400
|
+
className?: string;
|
|
11401
|
+
}>;
|
|
11402
|
+
}
|
|
11403
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11404
|
+
import { FC } from 'react';
|
|
11405
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11406
|
+
domIdentifier: string;
|
|
11407
|
+
trimContent?: boolean;
|
|
11408
|
+
className?: string;
|
|
11409
|
+
}>;
|
|
11410
|
+
}
|
|
11411
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11412
|
+
import { FC } from 'react';
|
|
11413
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11414
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11415
|
+
interface Props {
|
|
11416
|
+
selectedChannelNames?: string[];
|
|
11417
|
+
selectedChannelIds?: string[];
|
|
11418
|
+
mandatoryChannelIds?: string[];
|
|
11419
|
+
availableChannels?: Channel[];
|
|
11420
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11421
|
+
className?: string;
|
|
11422
|
+
showOnlyUserChannels?: boolean;
|
|
11423
|
+
showSelectionToggle?: boolean;
|
|
11424
|
+
placeholder?: string;
|
|
11425
|
+
inlineControls?: boolean;
|
|
11426
|
+
required?: boolean;
|
|
11427
|
+
id?: string;
|
|
11428
|
+
showLogicalOperatorOptions?: boolean;
|
|
11429
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11430
|
+
}
|
|
11431
|
+
export const ChannelSelector: FC<Props>;
|
|
11432
|
+
}
|
|
11433
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11434
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11435
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11436
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11437
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11438
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11439
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11440
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11441
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11442
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11443
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11444
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11445
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11446
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11447
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11448
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11449
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11450
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11451
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11452
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11453
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11454
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11455
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11456
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11457
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11458
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11459
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11460
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11461
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11462
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11463
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11464
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11465
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11466
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11467
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11468
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11469
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11470
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11471
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11472
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11473
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11474
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11475
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11476
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11477
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11478
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11479
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11480
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11481
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11482
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11483
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11484
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11485
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11486
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11487
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11488
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11489
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11490
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11491
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11492
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11493
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11494
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11495
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11496
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11497
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11498
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11499
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11500
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11501
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11502
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11503
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11504
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11505
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11506
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11507
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11508
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11509
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11510
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11511
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11512
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11513
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11514
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11515
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11516
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11517
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11518
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11519
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11520
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11521
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11522
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11523
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11524
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11525
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11526
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11527
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11528
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11529
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11530
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11531
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11532
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11533
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11534
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11535
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11536
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11537
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11538
|
+
}
|
|
11539
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11540
|
+
import { FC } from 'react';
|
|
11541
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11542
|
+
interface Props {
|
|
11543
|
+
type?: ItemResourceTypes;
|
|
11544
|
+
baseAttachmentPath?: string;
|
|
11545
|
+
message: Comment;
|
|
11546
|
+
showDelete?: boolean;
|
|
11547
|
+
showAutoTranslate?: boolean;
|
|
11548
|
+
showEdit?: boolean;
|
|
11549
|
+
onDelete?: (comment: Comment) => void;
|
|
11550
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11551
|
+
scope: ConversationScope;
|
|
11552
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11553
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11554
|
+
highlight?: boolean;
|
|
11555
|
+
hasUnreadReplies?: boolean;
|
|
11556
|
+
onReplyIconClick?: () => void;
|
|
11557
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11558
|
+
replyCount?: number;
|
|
11559
|
+
readOnly?: boolean;
|
|
11560
|
+
trimContent?: boolean;
|
|
11561
|
+
enableModalRouting?: boolean;
|
|
11562
|
+
className?: string;
|
|
11563
|
+
}
|
|
11564
|
+
export const CommentDisplay: FC<Props>;
|
|
11565
|
+
}
|
|
11566
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11567
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11568
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11569
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11570
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11571
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11572
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11573
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11574
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11575
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11576
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11577
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11578
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11579
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11580
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11060
11581
|
}
|
|
11061
|
-
declare module "libs/reach/feature/content/src/
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
|
|
11582
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
11583
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
11587
|
+
}
|
|
11588
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11589
|
+
import { FC, ReactNode } from 'react';
|
|
11590
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11591
|
+
interface Props {
|
|
11592
|
+
isOpen: boolean;
|
|
11593
|
+
preSelectedKeywords: Keyword[];
|
|
11594
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11595
|
+
titleResource: string;
|
|
11596
|
+
onDismiss: () => void;
|
|
11597
|
+
availableKeywords?: Keyword[];
|
|
11598
|
+
mandatoryKeywordIds?: string[];
|
|
11070
11599
|
}
|
|
11071
|
-
export
|
|
11600
|
+
export const KeywordDialog: FC<Props>;
|
|
11601
|
+
export const StatefulKeywordPicker: FC<{
|
|
11602
|
+
preSelectedKeywords: Keyword[];
|
|
11603
|
+
availableKeywords?: Keyword[];
|
|
11604
|
+
mandatoryKeywordIds?: string[];
|
|
11605
|
+
showSelectionToggle?: boolean;
|
|
11606
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11607
|
+
}>;
|
|
11608
|
+
}
|
|
11609
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11610
|
+
import { FC, MutableRefObject } from 'react';
|
|
11611
|
+
export interface TextareaProps {
|
|
11612
|
+
rows?: number;
|
|
11613
|
+
placeholder?: string;
|
|
11614
|
+
readOnly?: boolean;
|
|
11615
|
+
onChange: (value: string) => void;
|
|
11616
|
+
className?: string;
|
|
11617
|
+
defaultValue?: string;
|
|
11618
|
+
disabled?: boolean;
|
|
11619
|
+
noDebouncing?: boolean;
|
|
11620
|
+
value?: string;
|
|
11621
|
+
onIconClick?: () => void;
|
|
11622
|
+
onEnter?: () => void;
|
|
11623
|
+
icon?: string;
|
|
11624
|
+
disableNewLines?: boolean;
|
|
11625
|
+
autoFocus?: boolean;
|
|
11626
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11627
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11628
|
+
inputType?: string;
|
|
11072
11629
|
}
|
|
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;
|
|
11630
|
+
/**
|
|
11631
|
+
* Textarea that expands vertically to fit content.
|
|
11632
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11633
|
+
*/
|
|
11634
|
+
export const Textarea: FC<TextareaProps>;
|
|
11101
11635
|
}
|
|
11102
|
-
declare module "libs/reach/feature/content/src/
|
|
11103
|
-
import {
|
|
11104
|
-
|
|
11105
|
-
|
|
11636
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11637
|
+
import { FC } from 'react';
|
|
11638
|
+
interface Props {
|
|
11639
|
+
onInsert: (files: File[]) => void;
|
|
11640
|
+
accept?: string;
|
|
11641
|
+
captionKey?: string;
|
|
11642
|
+
captionIconName?: string;
|
|
11643
|
+
descriptionKey?: string;
|
|
11644
|
+
descriptionIconName?: string;
|
|
11645
|
+
singleMode?: boolean;
|
|
11646
|
+
}
|
|
11647
|
+
export const InsertFilesButton: FC<Props>;
|
|
11648
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11649
|
+
isActive?: boolean;
|
|
11650
|
+
}, never>;
|
|
11106
11651
|
}
|
|
11107
|
-
declare module "libs/reach/feature/content/src/
|
|
11108
|
-
import {
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11652
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11653
|
+
import { FC } from 'react';
|
|
11654
|
+
interface Props {
|
|
11655
|
+
onInsert: (files: File[]) => void;
|
|
11656
|
+
accept?: string;
|
|
11657
|
+
captionKey?: string;
|
|
11658
|
+
descriptionKey?: string;
|
|
11659
|
+
}
|
|
11660
|
+
export const InsertImagesButton: FC<Props>;
|
|
11114
11661
|
}
|
|
11115
|
-
declare module "libs/reach/feature/content/src/
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11662
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11663
|
+
import { FC } from 'react';
|
|
11664
|
+
interface DateTimePickerProps {
|
|
11665
|
+
date: string;
|
|
11666
|
+
maxDate?: string;
|
|
11667
|
+
minDate?: string;
|
|
11668
|
+
dateValidationResourceKey?: string;
|
|
11669
|
+
timeValidationResourceKey?: string;
|
|
11670
|
+
readOnly?: boolean;
|
|
11671
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11672
|
+
noDateResourceKey: string;
|
|
11673
|
+
selectDateResourceKey: string;
|
|
11674
|
+
dateOnly?: boolean;
|
|
11675
|
+
initialPickerDate?: string;
|
|
11676
|
+
label?: string;
|
|
11677
|
+
isRequired?: boolean;
|
|
11678
|
+
className?: string;
|
|
11679
|
+
}
|
|
11680
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11681
|
+
export default DateTimePicker;
|
|
11682
|
+
}
|
|
11683
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11684
|
+
import moment, { Moment } from 'moment';
|
|
11685
|
+
export enum DateRange {
|
|
11686
|
+
TwoYears = 0,
|
|
11687
|
+
OneYear = 1,
|
|
11688
|
+
SixMonths = 2,
|
|
11689
|
+
TwoMonths = 3,
|
|
11690
|
+
OneMonth = 4,
|
|
11691
|
+
SevenDays = 5,
|
|
11692
|
+
YesterDay = 6,
|
|
11693
|
+
Today = 7
|
|
11694
|
+
}
|
|
11695
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11696
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11697
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11698
|
+
}
|
|
11699
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11700
|
+
import { FC } from 'react';
|
|
11701
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11702
|
+
export const DateRangeSlider: FC<{
|
|
11703
|
+
value?: DateRange;
|
|
11704
|
+
onChange: (range: DateRange) => unknown;
|
|
11705
|
+
}>;
|
|
11706
|
+
}
|
|
11707
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11708
|
+
import { FC } from 'react';
|
|
11709
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11710
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11711
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11712
|
+
interface PeoplePickerDialogProps {
|
|
11713
|
+
defaultSelectedItems: Account[];
|
|
11714
|
+
onChange: (items: Account[]) => void;
|
|
11715
|
+
onDismiss: () => void;
|
|
11716
|
+
titleResource: string;
|
|
11717
|
+
intl?: WrappedComponentProps;
|
|
11718
|
+
selectionMode?: SelectionMode;
|
|
11719
|
+
allowMailItems?: boolean;
|
|
11720
|
+
accountType: AccountType;
|
|
11721
|
+
showDialog: boolean;
|
|
11722
|
+
allowEmptyValue: boolean;
|
|
11723
|
+
includePendingInvitationUsers?: boolean;
|
|
11724
|
+
placeholderStringResourceKey?: string;
|
|
11725
|
+
inputAriaLabelResourceKey: string;
|
|
11726
|
+
}
|
|
11727
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11728
|
+
}
|
|
11729
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11730
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11731
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11732
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11733
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11734
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11735
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11736
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11737
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11738
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11739
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11740
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11741
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11742
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11743
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11126
11744
|
}
|
|
11127
11745
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11128
11746
|
import { FC, ReactNode } from 'react';
|
|
@@ -11219,8 +11837,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11219
11837
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11220
11838
|
export type ShareTokenType = 'preview' | 'published';
|
|
11221
11839
|
export function useShareTokenEditorApi(): {
|
|
11222
|
-
activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<
|
|
11223
|
-
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<
|
|
11840
|
+
activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<string>;
|
|
11841
|
+
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<unknown>;
|
|
11224
11842
|
};
|
|
11225
11843
|
}
|
|
11226
11844
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11231,9 +11849,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11231
11849
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11232
11850
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11233
11851
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11234
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11852
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11235
11853
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11236
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11854
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11237
11855
|
};
|
|
11238
11856
|
}
|
|
11239
11857
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11272,6 +11890,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11272
11890
|
event: EventStreamItem;
|
|
11273
11891
|
}>;
|
|
11274
11892
|
}
|
|
11893
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11894
|
+
import { FC } from 'react';
|
|
11895
|
+
export const GlobalSearchButton: FC<{
|
|
11896
|
+
className?: string;
|
|
11897
|
+
}>;
|
|
11898
|
+
}
|
|
11275
11899
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11276
11900
|
import { FC, ReactNode } from 'react';
|
|
11277
11901
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11339,12 +11963,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11339
11963
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11340
11964
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11341
11965
|
}
|
|
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
11966
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11349
11967
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11350
11968
|
}
|
|
@@ -11786,6 +12404,29 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
11786
12404
|
}) => string;
|
|
11787
12405
|
};
|
|
11788
12406
|
}
|
|
12407
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12408
|
+
import { Dispatch } from 'react';
|
|
12409
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12410
|
+
}
|
|
12411
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12412
|
+
import { FC } from 'react';
|
|
12413
|
+
export interface Dashboard {
|
|
12414
|
+
name: string;
|
|
12415
|
+
title: string;
|
|
12416
|
+
url: string;
|
|
12417
|
+
}
|
|
12418
|
+
export const DashboardPage: FC<{
|
|
12419
|
+
dashboard: Dashboard;
|
|
12420
|
+
}>;
|
|
12421
|
+
}
|
|
12422
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12423
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12424
|
+
export function useDashboards(): Dashboard[];
|
|
12425
|
+
}
|
|
12426
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12427
|
+
import { FC } from 'react';
|
|
12428
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12429
|
+
}
|
|
11789
12430
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
11790
12431
|
import { FC } from 'react';
|
|
11791
12432
|
interface Props {
|
|
@@ -11801,7 +12442,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11801
12442
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11802
12443
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11803
12444
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11804
|
-
export interface
|
|
12445
|
+
export interface PageProps extends SearchBoxProps {
|
|
11805
12446
|
className?: string;
|
|
11806
12447
|
headerContents?: JSX.Element;
|
|
11807
12448
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11819,12 +12460,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11819
12460
|
submenuContents?: JSX.Element;
|
|
11820
12461
|
submenuClassName?: string;
|
|
11821
12462
|
disableScrollableContainerFocus?: boolean;
|
|
12463
|
+
asModal?: boolean;
|
|
12464
|
+
domIdentifier?: string;
|
|
11822
12465
|
}
|
|
11823
12466
|
export enum MenuNavigationMode {
|
|
11824
12467
|
Collapse = 0,
|
|
11825
12468
|
KeepOpen = 1
|
|
11826
12469
|
}
|
|
11827
|
-
export const Page: FC<
|
|
12470
|
+
export const Page: FC<PageProps>;
|
|
11828
12471
|
}
|
|
11829
12472
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11830
12473
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|