@livetiles/reach-plugin-types 0.5.0-preview.12 → 0.5.0-preview.120
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 +511 -67
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -306,6 +306,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
306
306
|
buildId: string;
|
|
307
307
|
useAzureAdFunctionality: boolean;
|
|
308
308
|
envName: string;
|
|
309
|
+
mobileTeamsHost?: string;
|
|
309
310
|
}
|
|
310
311
|
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
311
312
|
interface DeviceInfo {
|
|
@@ -1026,6 +1027,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
|
1026
1027
|
language?: string;
|
|
1027
1028
|
}>;
|
|
1028
1029
|
}
|
|
1030
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1031
|
+
import locale from 'date-fns/locale/ar-DZ';
|
|
1032
|
+
export default locale;
|
|
1033
|
+
}
|
|
1034
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
|
|
1035
|
+
import locale from 'date-fns/locale/ar-MA';
|
|
1036
|
+
export default locale;
|
|
1037
|
+
}
|
|
1038
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
|
|
1039
|
+
import locale from 'date-fns/locale/ar-SA';
|
|
1040
|
+
export default locale;
|
|
1041
|
+
}
|
|
1042
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
|
|
1043
|
+
import locale from 'date-fns/locale/bg';
|
|
1044
|
+
export default locale;
|
|
1045
|
+
}
|
|
1046
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
|
|
1047
|
+
import locale from 'date-fns/locale/bn';
|
|
1048
|
+
export default locale;
|
|
1049
|
+
}
|
|
1050
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
|
|
1051
|
+
import locale from 'date-fns/locale/ca';
|
|
1052
|
+
export default locale;
|
|
1053
|
+
}
|
|
1054
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
|
|
1055
|
+
import locale from 'date-fns/locale/cs';
|
|
1056
|
+
export default locale;
|
|
1057
|
+
}
|
|
1058
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
|
|
1059
|
+
import locale from 'date-fns/locale/da';
|
|
1060
|
+
export default locale;
|
|
1061
|
+
}
|
|
1062
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
|
|
1063
|
+
import locale from 'date-fns/locale/de';
|
|
1064
|
+
export default locale;
|
|
1065
|
+
}
|
|
1066
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
|
|
1067
|
+
import locale from 'date-fns/locale/el';
|
|
1068
|
+
export default locale;
|
|
1069
|
+
}
|
|
1070
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
|
|
1071
|
+
import locale from 'date-fns/locale/en-AU';
|
|
1072
|
+
export default locale;
|
|
1073
|
+
}
|
|
1074
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
|
|
1075
|
+
import locale from 'date-fns/locale/en-CA';
|
|
1076
|
+
export default locale;
|
|
1077
|
+
}
|
|
1078
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
|
|
1079
|
+
import locale from 'date-fns/locale/en-GB';
|
|
1080
|
+
export default locale;
|
|
1081
|
+
}
|
|
1082
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
|
|
1083
|
+
import locale from 'date-fns/locale/en-NZ';
|
|
1084
|
+
export default locale;
|
|
1085
|
+
}
|
|
1086
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
|
|
1087
|
+
import locale from 'date-fns/locale/es';
|
|
1088
|
+
export default locale;
|
|
1089
|
+
}
|
|
1090
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
|
|
1091
|
+
import locale from 'date-fns/locale/et';
|
|
1092
|
+
export default locale;
|
|
1093
|
+
}
|
|
1094
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
|
|
1095
|
+
import locale from 'date-fns/locale/fa-IR';
|
|
1096
|
+
export default locale;
|
|
1097
|
+
}
|
|
1098
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
|
|
1099
|
+
import locale from 'date-fns/locale/fi';
|
|
1100
|
+
export default locale;
|
|
1101
|
+
}
|
|
1102
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
|
|
1103
|
+
import locale from 'date-fns/locale/fr-CA';
|
|
1104
|
+
export default locale;
|
|
1105
|
+
}
|
|
1106
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
|
|
1107
|
+
import locale from 'date-fns/locale/fr-CH';
|
|
1108
|
+
export default locale;
|
|
1109
|
+
}
|
|
1110
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
|
|
1111
|
+
import locale from 'date-fns/locale/fr';
|
|
1112
|
+
export default locale;
|
|
1113
|
+
}
|
|
1114
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
|
|
1115
|
+
import locale from 'date-fns/locale/gu';
|
|
1116
|
+
export default locale;
|
|
1117
|
+
}
|
|
1118
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
|
|
1119
|
+
import locale from 'date-fns/locale/he';
|
|
1120
|
+
export default locale;
|
|
1121
|
+
}
|
|
1122
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
|
|
1123
|
+
import locale from 'date-fns/locale/hi';
|
|
1124
|
+
export default locale;
|
|
1125
|
+
}
|
|
1126
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
|
|
1127
|
+
import locale from 'date-fns/locale/hr';
|
|
1128
|
+
export default locale;
|
|
1129
|
+
}
|
|
1130
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
|
|
1131
|
+
import locale from 'date-fns/locale/hu';
|
|
1132
|
+
export default locale;
|
|
1133
|
+
}
|
|
1134
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
|
|
1135
|
+
import locale from 'date-fns/locale/id';
|
|
1136
|
+
export default locale;
|
|
1137
|
+
}
|
|
1138
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
|
|
1139
|
+
import locale from 'date-fns/locale/it';
|
|
1140
|
+
export default locale;
|
|
1141
|
+
}
|
|
1142
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
|
|
1143
|
+
import locale from 'date-fns/locale/ja';
|
|
1144
|
+
export default locale;
|
|
1145
|
+
}
|
|
1146
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
|
|
1147
|
+
import locale from 'date-fns/locale/kn';
|
|
1148
|
+
export default locale;
|
|
1149
|
+
}
|
|
1150
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
|
|
1151
|
+
import locale from 'date-fns/locale/ko';
|
|
1152
|
+
export default locale;
|
|
1153
|
+
}
|
|
1154
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
|
|
1155
|
+
import locale from 'date-fns/locale/lt';
|
|
1156
|
+
export default locale;
|
|
1157
|
+
}
|
|
1158
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
|
|
1159
|
+
import locale from 'date-fns/locale/lv';
|
|
1160
|
+
export default locale;
|
|
1161
|
+
}
|
|
1162
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
|
|
1163
|
+
import locale from 'date-fns/locale/ms';
|
|
1164
|
+
export default locale;
|
|
1165
|
+
}
|
|
1166
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
|
|
1167
|
+
import locale from 'date-fns/locale/nb';
|
|
1168
|
+
export default locale;
|
|
1169
|
+
}
|
|
1170
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
|
|
1171
|
+
import locale from 'date-fns/locale/nl-BE';
|
|
1172
|
+
export default locale;
|
|
1173
|
+
}
|
|
1174
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
|
|
1175
|
+
import locale from 'date-fns/locale/nl';
|
|
1176
|
+
export default locale;
|
|
1177
|
+
}
|
|
1178
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
|
|
1179
|
+
import locale from 'date-fns/locale/pl';
|
|
1180
|
+
export default locale;
|
|
1181
|
+
}
|
|
1182
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
|
|
1183
|
+
import locale from 'date-fns/locale/pt-BR';
|
|
1184
|
+
export default locale;
|
|
1185
|
+
}
|
|
1186
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
|
|
1187
|
+
import locale from 'date-fns/locale/pt';
|
|
1188
|
+
export default locale;
|
|
1189
|
+
}
|
|
1190
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
|
|
1191
|
+
import locale from 'date-fns/locale/ro';
|
|
1192
|
+
export default locale;
|
|
1193
|
+
}
|
|
1194
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
|
|
1195
|
+
import locale from 'date-fns/locale/ru';
|
|
1196
|
+
export default locale;
|
|
1197
|
+
}
|
|
1198
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
|
|
1199
|
+
import locale from 'date-fns/locale/sk';
|
|
1200
|
+
export default locale;
|
|
1201
|
+
}
|
|
1202
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
|
|
1203
|
+
import locale from 'date-fns/locale/sl';
|
|
1204
|
+
export default locale;
|
|
1205
|
+
}
|
|
1206
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
|
|
1207
|
+
import locale from 'date-fns/locale/sr-Latn';
|
|
1208
|
+
export default locale;
|
|
1209
|
+
}
|
|
1210
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
|
|
1211
|
+
import locale from 'date-fns/locale/sr';
|
|
1212
|
+
export default locale;
|
|
1213
|
+
}
|
|
1214
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
|
|
1215
|
+
import locale from 'date-fns/locale/sv';
|
|
1216
|
+
export default locale;
|
|
1217
|
+
}
|
|
1218
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
|
|
1219
|
+
import locale from 'date-fns/locale/ta';
|
|
1220
|
+
export default locale;
|
|
1221
|
+
}
|
|
1222
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
|
|
1223
|
+
import locale from 'date-fns/locale/te';
|
|
1224
|
+
export default locale;
|
|
1225
|
+
}
|
|
1226
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
|
|
1227
|
+
import locale from 'date-fns/locale/th';
|
|
1228
|
+
export default locale;
|
|
1229
|
+
}
|
|
1230
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
|
|
1231
|
+
import locale from 'date-fns/locale/tr';
|
|
1232
|
+
export default locale;
|
|
1233
|
+
}
|
|
1234
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
|
|
1235
|
+
import locale from 'date-fns/locale/uk';
|
|
1236
|
+
export default locale;
|
|
1237
|
+
}
|
|
1238
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
|
|
1239
|
+
import locale from 'date-fns/locale/vi';
|
|
1240
|
+
export default locale;
|
|
1241
|
+
}
|
|
1242
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
|
|
1243
|
+
import locale from 'date-fns/locale/zh-CN';
|
|
1244
|
+
export default locale;
|
|
1245
|
+
}
|
|
1246
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
|
|
1247
|
+
import locale from 'date-fns/locale/zh-TW';
|
|
1248
|
+
export default locale;
|
|
1249
|
+
}
|
|
1250
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
|
|
1251
|
+
import locale from 'date-fns/locale/en-US';
|
|
1252
|
+
export default locale;
|
|
1253
|
+
}
|
|
1254
|
+
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1255
|
+
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1256
|
+
}
|
|
1029
1257
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1030
1258
|
export const orderedFeatureSet: string[];
|
|
1031
1259
|
export class FeatureSet {
|
|
@@ -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;
|
|
@@ -2521,6 +2775,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2521
2775
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2522
2776
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2523
2777
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
2778
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
2779
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2524
2780
|
};
|
|
2525
2781
|
}
|
|
2526
2782
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2817,17 +3073,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2817
3073
|
}
|
|
2818
3074
|
}
|
|
2819
3075
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2820
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3076
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2821
3077
|
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
3078
|
export interface PluginNavigationNodeProps {
|
|
2829
3079
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2830
3080
|
}
|
|
3081
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3082
|
+
isEditMode?: boolean;
|
|
3083
|
+
componentInstanceId: string;
|
|
3084
|
+
};
|
|
2831
3085
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2832
3086
|
type DevPlugin = {
|
|
2833
3087
|
pluginId: string;
|
|
@@ -2881,22 +3135,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2881
3135
|
}
|
|
2882
3136
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2883
3137
|
import { FC } from 'react';
|
|
2884
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3138
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2885
3139
|
export const Plugins: FC<{
|
|
2886
3140
|
area: ExtensionArea;
|
|
2887
3141
|
} & any>;
|
|
2888
3142
|
}
|
|
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
3143
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2901
3144
|
export class Color {
|
|
2902
3145
|
private r;
|
|
@@ -3099,7 +3342,7 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3099
3342
|
export const videoAttachmentRoundedCornerSize = 20;
|
|
3100
3343
|
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3101
3344
|
export const feedbackButtonHeight = 32;
|
|
3102
|
-
export const mainScrollableContainerSelector = "lt-reach-main-content";
|
|
3345
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
3103
3346
|
export const statusColors: {
|
|
3104
3347
|
draft: string;
|
|
3105
3348
|
ready: string;
|
|
@@ -3113,6 +3356,25 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3113
3356
|
export const managePagesRowHeight = 40;
|
|
3114
3357
|
export const mobilePreviewWidth = 414;
|
|
3115
3358
|
}
|
|
3359
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3360
|
+
import { FC } from 'react';
|
|
3361
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3362
|
+
export const Plugin: FC<PluginProps & {
|
|
3363
|
+
showDetailedErrorMessage?: boolean;
|
|
3364
|
+
} & any>;
|
|
3365
|
+
}
|
|
3366
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3367
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3368
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3369
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3370
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3371
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3372
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3373
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3374
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3375
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3376
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3377
|
+
}
|
|
3116
3378
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3117
3379
|
import { FC, ReactNode } from 'react';
|
|
3118
3380
|
import { ToastOptions } from 'react-toastify';
|
|
@@ -3215,6 +3477,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3215
3477
|
width?: number;
|
|
3216
3478
|
height?: number;
|
|
3217
3479
|
}
|
|
3480
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3481
|
+
imageAlignment?: ImageAlignment;
|
|
3482
|
+
}
|
|
3483
|
+
export enum ImageAlignment {
|
|
3484
|
+
Default = "default",
|
|
3485
|
+
Left = "left",
|
|
3486
|
+
Right = "right",
|
|
3487
|
+
Center = "center"
|
|
3488
|
+
}
|
|
3218
3489
|
}
|
|
3219
3490
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3220
3491
|
export interface MainPanelContextType {
|
|
@@ -3265,6 +3536,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3265
3536
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3266
3537
|
}
|
|
3267
3538
|
}
|
|
3539
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3540
|
+
export interface ModalRouting {
|
|
3541
|
+
isActive: boolean;
|
|
3542
|
+
itemId: string;
|
|
3543
|
+
backgroundLocation: any;
|
|
3544
|
+
}
|
|
3545
|
+
export function useModalRouting(): {
|
|
3546
|
+
isModalRoutingActive: boolean;
|
|
3547
|
+
modalItemId: string;
|
|
3548
|
+
backgroundLocation: any;
|
|
3549
|
+
};
|
|
3550
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3551
|
+
modalRouting: {
|
|
3552
|
+
isActive: boolean;
|
|
3553
|
+
itemId: string;
|
|
3554
|
+
backgroundLocation: {
|
|
3555
|
+
state: {
|
|
3556
|
+
modalRouting: {
|
|
3557
|
+
isActive: boolean;
|
|
3558
|
+
};
|
|
3559
|
+
};
|
|
3560
|
+
pathname: string;
|
|
3561
|
+
search: string;
|
|
3562
|
+
hash: string;
|
|
3563
|
+
key?: string;
|
|
3564
|
+
};
|
|
3565
|
+
};
|
|
3566
|
+
};
|
|
3567
|
+
}
|
|
3268
3568
|
declare module "libs/reach/util/common/src/index" {
|
|
3269
3569
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3270
3570
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3274,6 +3574,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3274
3574
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3275
3575
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3276
3576
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3577
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3277
3578
|
export * from "libs/reach/util/common/src/user/index";
|
|
3278
3579
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3279
3580
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3292,6 +3593,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3292
3593
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3293
3594
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3294
3595
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3596
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3295
3597
|
}
|
|
3296
3598
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3297
3599
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3428,7 +3730,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3428
3730
|
export const PeoplePicker: FC<Props>;
|
|
3429
3731
|
}
|
|
3430
3732
|
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";
|
|
3733
|
+
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
3734
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3433
3735
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3434
3736
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3445,7 +3747,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3445
3747
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3446
3748
|
*/
|
|
3447
3749
|
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, };
|
|
3750
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3449
3751
|
}
|
|
3450
3752
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3451
3753
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3716,7 +4018,9 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3716
4018
|
}[]>;
|
|
3717
4019
|
export function getFileIcon(filename: string): string;
|
|
3718
4020
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4021
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3719
4022
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
4023
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
3720
4024
|
}
|
|
3721
4025
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
3722
4026
|
export function useFileAccessTokenApi(): {
|
|
@@ -4026,7 +4330,7 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4026
4330
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4027
4331
|
}
|
|
4028
4332
|
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>>;
|
|
4333
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4030
4334
|
}
|
|
4031
4335
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4032
4336
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4345,6 +4649,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4345
4649
|
className?: string;
|
|
4346
4650
|
}>;
|
|
4347
4651
|
}
|
|
4652
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4653
|
+
export const useIsMounted: () => () => boolean;
|
|
4654
|
+
}
|
|
4348
4655
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4349
4656
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4350
4657
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4825,6 +5132,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4825
5132
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4826
5133
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4827
5134
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5135
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4828
5136
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4829
5137
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4830
5138
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4908,7 +5216,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4908
5216
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4909
5217
|
}
|
|
4910
5218
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4911
|
-
import { FC } from 'react';
|
|
5219
|
+
import { FC, DependencyList } from 'react';
|
|
4912
5220
|
export interface Props {
|
|
4913
5221
|
navigateTo: string;
|
|
4914
5222
|
onClose?: () => void;
|
|
@@ -4917,7 +5225,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4917
5225
|
className?: string;
|
|
4918
5226
|
}
|
|
4919
5227
|
export const CloseButton: FC<Props>;
|
|
4920
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5228
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4921
5229
|
}
|
|
4922
5230
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4923
5231
|
export const LogoHostStyle: (size?: {
|
|
@@ -4981,8 +5289,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4981
5289
|
export const SkipLinksContextProvider: FC;
|
|
4982
5290
|
}
|
|
4983
5291
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5292
|
+
import { DependencyList } from 'react';
|
|
4984
5293
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4985
|
-
export function useAddSkipLinks(
|
|
5294
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4986
5295
|
}
|
|
4987
5296
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4988
5297
|
import { FC } from 'react';
|
|
@@ -5033,6 +5342,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5033
5342
|
closeButtonOptions?: CloseButtonOptions;
|
|
5034
5343
|
showSearchBox?: boolean;
|
|
5035
5344
|
disableScrollableContainerFocus?: boolean;
|
|
5345
|
+
asModal?: boolean;
|
|
5346
|
+
domIdentifier?: string;
|
|
5036
5347
|
}
|
|
5037
5348
|
export const BasicPage: FC<Props>;
|
|
5038
5349
|
}
|
|
@@ -6269,6 +6580,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6269
6580
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6270
6581
|
}>;
|
|
6271
6582
|
}
|
|
6583
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6584
|
+
import { FC } from 'react';
|
|
6585
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6586
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6587
|
+
onApiKeyAdded?: () => void;
|
|
6588
|
+
onDismiss: () => void;
|
|
6589
|
+
user?: UserItem;
|
|
6590
|
+
}>;
|
|
6591
|
+
}
|
|
6272
6592
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6273
6593
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6274
6594
|
import './UserList.scss';
|
|
@@ -6292,7 +6612,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6292
6612
|
isLoading?: boolean;
|
|
6293
6613
|
isEmpty?: boolean;
|
|
6294
6614
|
emptyPlaceholder?: ReactNode;
|
|
6615
|
+
onKeyChanged?: () => void;
|
|
6295
6616
|
}
|
|
6617
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6618
|
+
accountType: string;
|
|
6619
|
+
lastLogin: string | JSX.Element;
|
|
6620
|
+
};
|
|
6296
6621
|
export const UserList: FC<Props>;
|
|
6297
6622
|
}
|
|
6298
6623
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6325,12 +6650,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6325
6650
|
className?: string;
|
|
6326
6651
|
}>;
|
|
6327
6652
|
}
|
|
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
6653
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6335
6654
|
import { FC } from 'react';
|
|
6336
6655
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6350,18 +6669,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6350
6669
|
}
|
|
6351
6670
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6352
6671
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6672
|
+
export enum ValidationStatus {
|
|
6673
|
+
Valid = 0,
|
|
6674
|
+
WithErrors = 1,
|
|
6675
|
+
WithUserErrors = 2
|
|
6676
|
+
}
|
|
6677
|
+
export type CsvValidation = {
|
|
6678
|
+
Status?: ValidationStatus;
|
|
6679
|
+
Message?: string;
|
|
6680
|
+
InvalidItems?: string[];
|
|
6681
|
+
};
|
|
6353
6682
|
export function useUserCsvInviter(): {
|
|
6354
6683
|
invitedUsers: UserImport[];
|
|
6355
6684
|
isValidating: boolean;
|
|
6356
6685
|
isCsvValid: boolean;
|
|
6357
6686
|
parseCsvFile: (csvFile: File) => void;
|
|
6358
|
-
|
|
6359
|
-
|
|
6687
|
+
csvValidation: CsvValidation;
|
|
6688
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6360
6689
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6361
6690
|
isParserReady: boolean;
|
|
6362
|
-
|
|
6691
|
+
isInviting: boolean;
|
|
6692
|
+
canInvite: boolean;
|
|
6693
|
+
csvFile: File;
|
|
6363
6694
|
};
|
|
6364
6695
|
}
|
|
6696
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6697
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6698
|
+
}
|
|
6699
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6700
|
+
import { FC } from 'react';
|
|
6701
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6702
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6703
|
+
export const CsvFileValidationResult: FC<{
|
|
6704
|
+
csvValidation: CsvValidation;
|
|
6705
|
+
invitedUsers: UserImport[];
|
|
6706
|
+
}>;
|
|
6707
|
+
}
|
|
6365
6708
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6366
6709
|
import { FC } from 'react';
|
|
6367
6710
|
export const ImportUserButton: FC<{
|
|
@@ -6399,29 +6742,28 @@ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
|
6399
6742
|
}
|
|
6400
6743
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6401
6744
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6402
|
-
export class
|
|
6745
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6403
6746
|
static type: string;
|
|
6404
6747
|
type: string;
|
|
6405
6748
|
itemId: string;
|
|
6406
6749
|
response: EventResponse;
|
|
6407
6750
|
locationId: string;
|
|
6408
6751
|
onBehalfOfUpn: string;
|
|
6409
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6752
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6410
6753
|
}
|
|
6411
|
-
export class
|
|
6754
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6412
6755
|
static type: string;
|
|
6413
6756
|
type: string;
|
|
6414
|
-
|
|
6757
|
+
itemId: string;
|
|
6415
6758
|
response: EventResponse;
|
|
6416
|
-
static create(
|
|
6759
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6417
6760
|
}
|
|
6418
|
-
export class
|
|
6761
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6419
6762
|
static type: string;
|
|
6420
6763
|
type: string;
|
|
6421
6764
|
recurrenceSeriesId: string;
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6765
|
+
response: EventResponse;
|
|
6766
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6425
6767
|
}
|
|
6426
6768
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6427
6769
|
static type: string;
|
|
@@ -6436,6 +6778,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6436
6778
|
followByDefault: boolean;
|
|
6437
6779
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6438
6780
|
}
|
|
6781
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6782
|
+
static type: string;
|
|
6783
|
+
type: string;
|
|
6784
|
+
recurrenceSeriesId: string;
|
|
6785
|
+
isLiked: boolean;
|
|
6786
|
+
likeCount: number;
|
|
6787
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6788
|
+
}
|
|
6439
6789
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6440
6790
|
static type: string;
|
|
6441
6791
|
type: string;
|
|
@@ -6456,6 +6806,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6456
6806
|
type: string;
|
|
6457
6807
|
static create(): StreamMarkAllAsReadAction;
|
|
6458
6808
|
}
|
|
6809
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6810
|
+
static type: string;
|
|
6811
|
+
type: string;
|
|
6812
|
+
itemId: string;
|
|
6813
|
+
static create(itemId: string): RefetchItemAction;
|
|
6814
|
+
}
|
|
6815
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
6816
|
+
static type: string;
|
|
6817
|
+
type: string;
|
|
6818
|
+
itemId: string;
|
|
6819
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
6820
|
+
}
|
|
6459
6821
|
}
|
|
6460
6822
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6461
6823
|
export interface CommentFilter {
|
|
@@ -6615,7 +6977,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6615
6977
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6616
6978
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6617
6979
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6618
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
6980
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6619
6981
|
}
|
|
6620
6982
|
export interface BaseFilterDefinition {
|
|
6621
6983
|
search?: string;
|
|
@@ -6623,6 +6985,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6623
6985
|
pageSize?: string | number;
|
|
6624
6986
|
groupId?: string;
|
|
6625
6987
|
}
|
|
6988
|
+
export interface ItemIdsFilterDefinition {
|
|
6989
|
+
itemIds?: string;
|
|
6990
|
+
}
|
|
6626
6991
|
export interface IndexableFilterDefinition {
|
|
6627
6992
|
[key: string]: any;
|
|
6628
6993
|
}
|
|
@@ -7110,6 +7475,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7110
7475
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7111
7476
|
import { FC, MouseEvent } from 'react';
|
|
7112
7477
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7478
|
+
import { LocationState } from 'history';
|
|
7113
7479
|
export const ClickableOverlay: FC<{
|
|
7114
7480
|
itemId: string;
|
|
7115
7481
|
itemType: ItemResourceTypes;
|
|
@@ -7120,6 +7486,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7120
7486
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7121
7487
|
openTargetInNewWindow?: boolean;
|
|
7122
7488
|
isExternalContent?: boolean;
|
|
7489
|
+
locationState?: LocationState;
|
|
7490
|
+
}>;
|
|
7491
|
+
}
|
|
7492
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7493
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7494
|
+
import { FC } from 'react';
|
|
7495
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7496
|
+
itemId: string;
|
|
7497
|
+
itemType: ItemResourceTypes;
|
|
7498
|
+
baseRoute: string;
|
|
7499
|
+
title?: string;
|
|
7500
|
+
isExternalContent?: boolean;
|
|
7501
|
+
targetUrl?: string;
|
|
7123
7502
|
}>;
|
|
7124
7503
|
}
|
|
7125
7504
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7130,6 +7509,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7130
7509
|
targetUrl?: string;
|
|
7131
7510
|
readOnly?: boolean;
|
|
7132
7511
|
backgroundColor?: string;
|
|
7512
|
+
enableModalRouting?: boolean;
|
|
7133
7513
|
className?: string;
|
|
7134
7514
|
}>;
|
|
7135
7515
|
}
|
|
@@ -7226,6 +7606,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7226
7606
|
height?: number;
|
|
7227
7607
|
hidePlayerIfActive?: boolean;
|
|
7228
7608
|
className?: string;
|
|
7609
|
+
documentIconName?: string;
|
|
7229
7610
|
}
|
|
7230
7611
|
export const PublishableItemBanner: FC<Props>;
|
|
7231
7612
|
}
|
|
@@ -7464,10 +7845,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7464
7845
|
}
|
|
7465
7846
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7466
7847
|
import { FC } from 'react';
|
|
7848
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7467
7849
|
export const EventUserRegistration: FC<{
|
|
7468
7850
|
disabled?: boolean;
|
|
7469
7851
|
hideInfoMessage?: boolean;
|
|
7470
7852
|
showNoRegistrationRequired?: boolean;
|
|
7853
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7471
7854
|
className?: string;
|
|
7472
7855
|
}>;
|
|
7473
7856
|
}
|
|
@@ -7537,8 +7920,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7537
7920
|
export const CardLikeButton: FC<{
|
|
7538
7921
|
item: NewsItem | EventItem;
|
|
7539
7922
|
itemResourceType: ItemResourceTypes;
|
|
7540
|
-
|
|
7541
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
7923
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7542
7924
|
className?: string;
|
|
7543
7925
|
}>;
|
|
7544
7926
|
}
|
|
@@ -7560,6 +7942,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7560
7942
|
className?: string;
|
|
7561
7943
|
}>;
|
|
7562
7944
|
}
|
|
7945
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
7946
|
+
import { FC } from 'react';
|
|
7947
|
+
export const LinkWithModalRouting: FC<{
|
|
7948
|
+
url: string;
|
|
7949
|
+
itemId: string;
|
|
7950
|
+
hash?: string;
|
|
7951
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
7952
|
+
ariaHidden?: boolean;
|
|
7953
|
+
ariaLabel?: string;
|
|
7954
|
+
className?: string;
|
|
7955
|
+
}>;
|
|
7956
|
+
}
|
|
7563
7957
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7564
7958
|
import { FC } from 'react';
|
|
7565
7959
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7578,6 +7972,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7578
7972
|
allowFilterByChannels?: boolean;
|
|
7579
7973
|
showFeedbackButtons?: boolean;
|
|
7580
7974
|
readOnly?: boolean;
|
|
7975
|
+
enableModalRouting?: boolean;
|
|
7581
7976
|
className?: string;
|
|
7582
7977
|
}>;
|
|
7583
7978
|
}
|
|
@@ -7628,7 +8023,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7628
8023
|
Contact = "contact",
|
|
7629
8024
|
InlinePageList = "inline-page-list",
|
|
7630
8025
|
UrlPreview = "url-preview",
|
|
7631
|
-
ActionButton = "action-button"
|
|
8026
|
+
ActionButton = "action-button",
|
|
8027
|
+
InlinePlugin = "inline-plugin"
|
|
7632
8028
|
}
|
|
7633
8029
|
export interface HtmlComponentMapper {
|
|
7634
8030
|
component: FC<any>;
|
|
@@ -7770,7 +8166,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7770
8166
|
resourceKey?: string;
|
|
7771
8167
|
resourceValues?: string;
|
|
7772
8168
|
className?: string;
|
|
8169
|
+
enableModalRouting?: boolean;
|
|
8170
|
+
itemId?: string;
|
|
7773
8171
|
isOverrideLink: boolean;
|
|
8172
|
+
icon?: string;
|
|
7774
8173
|
}>;
|
|
7775
8174
|
}
|
|
7776
8175
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -7829,6 +8228,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7829
8228
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7830
8229
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7831
8230
|
openTargetInNewWindow?: boolean;
|
|
8231
|
+
enableModalRouting?: boolean;
|
|
7832
8232
|
className?: string;
|
|
7833
8233
|
}
|
|
7834
8234
|
export const PageItemTile: FC<Props>;
|
|
@@ -7874,6 +8274,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7874
8274
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7875
8275
|
styleDefinition?: StyleDefinition;
|
|
7876
8276
|
readOnly?: boolean;
|
|
8277
|
+
enableModalRouting?: boolean;
|
|
7877
8278
|
className?: string;
|
|
7878
8279
|
}
|
|
7879
8280
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7917,6 +8318,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7917
8318
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7918
8319
|
styleDefinition?: StyleDefinition;
|
|
7919
8320
|
readOnly?: boolean;
|
|
8321
|
+
enableModalRouting?: boolean;
|
|
7920
8322
|
className?: string;
|
|
7921
8323
|
}
|
|
7922
8324
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7942,6 +8344,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7942
8344
|
previewTheme?: CommentInputTheme;
|
|
7943
8345
|
buttons?: ReactNode;
|
|
7944
8346
|
groupIds?: string[];
|
|
8347
|
+
enableModalRouting?: boolean;
|
|
7945
8348
|
className?: string;
|
|
7946
8349
|
}>;
|
|
7947
8350
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7958,6 +8361,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7958
8361
|
attachments: Attachment[];
|
|
7959
8362
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7960
8363
|
previewTheme?: CommentInputTheme;
|
|
8364
|
+
enableModalRouting?: boolean;
|
|
7961
8365
|
className?: string;
|
|
7962
8366
|
}>;
|
|
7963
8367
|
}
|
|
@@ -8118,6 +8522,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8118
8522
|
import { FC, ReactNode } from 'react';
|
|
8119
8523
|
export const InlineObjectToolbar: FC<{
|
|
8120
8524
|
onDelete?: () => void;
|
|
8525
|
+
deleteAriaLabelResourceKey?: string;
|
|
8121
8526
|
additionalButtons?: ReactNode;
|
|
8122
8527
|
}>;
|
|
8123
8528
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8125,15 +8530,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8125
8530
|
}>;
|
|
8126
8531
|
}
|
|
8127
8532
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8533
|
+
import { FC, ReactNode } from 'react';
|
|
8534
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8129
8535
|
export const ImageToolbar: FC<{
|
|
8130
8536
|
onDelete?: () => void;
|
|
8131
8537
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8132
8538
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8133
8539
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8540
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8134
8541
|
showFullScreenButton?: boolean;
|
|
8135
8542
|
showCloseButton?: boolean;
|
|
8136
8543
|
showCropButton?: boolean;
|
|
8544
|
+
alignmentButtons?: ReactNode;
|
|
8137
8545
|
}>;
|
|
8138
8546
|
}
|
|
8139
8547
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8260,6 +8668,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8260
8668
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8261
8669
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8262
8670
|
}
|
|
8671
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8672
|
+
import { FC } from 'react';
|
|
8673
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8674
|
+
export const BookmarkButton: FC<{
|
|
8675
|
+
item: PublishableItem;
|
|
8676
|
+
isReadOnly?: boolean;
|
|
8677
|
+
className?: string;
|
|
8678
|
+
}>;
|
|
8679
|
+
}
|
|
8263
8680
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8264
8681
|
import { FC } from 'react';
|
|
8265
8682
|
export const CardStatisticItem: FC<{
|
|
@@ -8277,13 +8694,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8277
8694
|
};
|
|
8278
8695
|
}>;
|
|
8279
8696
|
}
|
|
8280
|
-
declare module "libs/reach/feature/content/src/
|
|
8697
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8698
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8281
8699
|
import { FC } from 'react';
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8700
|
+
export const CardCommentButton: FC<{
|
|
8701
|
+
item: NewsItem | EventItem;
|
|
8702
|
+
itemResourceType: ItemResourceTypes;
|
|
8703
|
+
targetRoute: string;
|
|
8704
|
+
enableModalRouting?: boolean;
|
|
8287
8705
|
}>;
|
|
8288
8706
|
}
|
|
8289
8707
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8291,11 +8709,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8291
8709
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8292
8710
|
export const CardFooter: FC<{
|
|
8293
8711
|
item: NewsItem | EventItem;
|
|
8294
|
-
showComments: boolean;
|
|
8295
8712
|
targetRoute: string;
|
|
8296
8713
|
itemResourceType: ItemResourceTypes;
|
|
8297
|
-
|
|
8298
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8714
|
+
enableModalRouting?: boolean;
|
|
8299
8715
|
}>;
|
|
8300
8716
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
8301
8717
|
}
|
|
@@ -8346,6 +8762,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8346
8762
|
target?: string;
|
|
8347
8763
|
language?: string;
|
|
8348
8764
|
hideCurrentPageNode?: boolean;
|
|
8765
|
+
onPageRedirect?: (id: string) => void;
|
|
8349
8766
|
className?: string;
|
|
8350
8767
|
}>;
|
|
8351
8768
|
}
|
|
@@ -8406,6 +8823,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
|
8406
8823
|
hide?: boolean;
|
|
8407
8824
|
onPageSelected?: (pageId: string) => unknown;
|
|
8408
8825
|
selectedPageId?: string;
|
|
8826
|
+
onPageRedirect?: (id: string) => void;
|
|
8409
8827
|
}>;
|
|
8410
8828
|
}
|
|
8411
8829
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
@@ -8422,6 +8840,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
|
8422
8840
|
selectedPageId?: string;
|
|
8423
8841
|
isLoading?: boolean;
|
|
8424
8842
|
disableScrollableList?: boolean;
|
|
8843
|
+
onPageRedirect?: (id: string) => void;
|
|
8425
8844
|
}>;
|
|
8426
8845
|
export const PageTableOfContentsInPanel: FC<{
|
|
8427
8846
|
basePath?: string;
|
|
@@ -8443,6 +8862,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
|
|
|
8443
8862
|
loadChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
8444
8863
|
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8445
8864
|
onDismiss: () => void;
|
|
8865
|
+
onPageRedirect?: (id: string) => void;
|
|
8446
8866
|
basePath: string;
|
|
8447
8867
|
}>;
|
|
8448
8868
|
}
|
|
@@ -8456,6 +8876,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton"
|
|
|
8456
8876
|
loadChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
8457
8877
|
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8458
8878
|
basePath: string;
|
|
8879
|
+
onPageRedirect?: (id: string) => void;
|
|
8459
8880
|
className?: string;
|
|
8460
8881
|
}>;
|
|
8461
8882
|
}
|
|
@@ -8594,7 +9015,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8594
9015
|
item: NewsItem;
|
|
8595
9016
|
baseRoute: string;
|
|
8596
9017
|
language: string;
|
|
8597
|
-
showComments: boolean;
|
|
8598
9018
|
highlight: boolean;
|
|
8599
9019
|
className?: string;
|
|
8600
9020
|
}
|
|
@@ -8701,6 +9121,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8701
9121
|
}
|
|
8702
9122
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8703
9123
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9124
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8704
9125
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8705
9126
|
}
|
|
8706
9127
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8919,6 +9340,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
8919
9340
|
}
|
|
8920
9341
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8921
9342
|
}
|
|
9343
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9344
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9345
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9346
|
+
}
|
|
8922
9347
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8923
9348
|
import { FC } from 'react';
|
|
8924
9349
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9138,6 +9563,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9138
9563
|
readOnly?: boolean;
|
|
9139
9564
|
trimContent?: boolean;
|
|
9140
9565
|
showReplyBox?: boolean;
|
|
9566
|
+
enableModalRouting?: boolean;
|
|
9141
9567
|
className?: string;
|
|
9142
9568
|
}>;
|
|
9143
9569
|
}
|
|
@@ -9160,6 +9586,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9160
9586
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9161
9587
|
readOnly?: boolean;
|
|
9162
9588
|
trimContent?: boolean;
|
|
9589
|
+
enableModalRouting?: boolean;
|
|
9163
9590
|
className?: string;
|
|
9164
9591
|
}
|
|
9165
9592
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9219,6 +9646,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9219
9646
|
showReplyBox?: boolean;
|
|
9220
9647
|
trimContent?: boolean;
|
|
9221
9648
|
title?: ReactNode;
|
|
9649
|
+
enableModalRouting?: boolean;
|
|
9222
9650
|
className?: string;
|
|
9223
9651
|
};
|
|
9224
9652
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9487,6 +9915,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9487
9915
|
layoutMode?: ItemTileLayoutMode;
|
|
9488
9916
|
bannerDefaultWidth?: number;
|
|
9489
9917
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
9918
|
+
documentIconName?: string;
|
|
9490
9919
|
}>;
|
|
9491
9920
|
}
|
|
9492
9921
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9648,6 +10077,13 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9648
10077
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9649
10078
|
};
|
|
9650
10079
|
}
|
|
10080
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10081
|
+
interface IClickHandles {
|
|
10082
|
+
onInsideClick: () => void;
|
|
10083
|
+
onOutsideClick: () => void;
|
|
10084
|
+
}
|
|
10085
|
+
export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10086
|
+
}
|
|
9651
10087
|
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
9652
10088
|
import { LocationDescriptor } from 'history';
|
|
9653
10089
|
import { FC, ReactNode } from 'react';
|
|
@@ -9751,7 +10187,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
|
|
|
9751
10187
|
import { FC } from 'react';
|
|
9752
10188
|
export const ContentWithShowMoreButton: FC<{
|
|
9753
10189
|
domIdentifier: string;
|
|
9754
|
-
trimContent
|
|
10190
|
+
trimContent?: boolean;
|
|
9755
10191
|
className?: string;
|
|
9756
10192
|
}>;
|
|
9757
10193
|
}
|
|
@@ -9816,6 +10252,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9816
10252
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9817
10253
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9818
10254
|
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
10255
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
9819
10256
|
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
9820
10257
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9821
10258
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
@@ -9869,6 +10306,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9869
10306
|
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
9870
10307
|
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9871
10308
|
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
10309
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
9872
10310
|
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
9873
10311
|
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
9874
10312
|
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
@@ -9898,13 +10336,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
|
9898
10336
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9899
10337
|
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9900
10338
|
highlight?: boolean;
|
|
9901
|
-
isInitialLiked?: boolean;
|
|
9902
10339
|
hasUnreadReplies?: boolean;
|
|
9903
10340
|
onReplyIconClick?: () => void;
|
|
9904
10341
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9905
10342
|
replyCount?: number;
|
|
9906
10343
|
readOnly?: boolean;
|
|
9907
10344
|
trimContent?: boolean;
|
|
10345
|
+
enableModalRouting?: boolean;
|
|
9908
10346
|
className?: string;
|
|
9909
10347
|
}
|
|
9910
10348
|
export const CommentDisplay: FC<Props>;
|
|
@@ -10132,6 +10570,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
10132
10570
|
onReplyAdded: () => void;
|
|
10133
10571
|
onReplyDeleted: () => void;
|
|
10134
10572
|
trimContent?: boolean;
|
|
10573
|
+
enableModalRouting?: boolean;
|
|
10135
10574
|
}
|
|
10136
10575
|
export const PostReplies: FC<Props>;
|
|
10137
10576
|
}
|
|
@@ -10199,6 +10638,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
10199
10638
|
baseTargetUrl?: string;
|
|
10200
10639
|
}
|
|
10201
10640
|
export const PostDisplay: FC<Props>;
|
|
10641
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10202
10642
|
}
|
|
10203
10643
|
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10204
10644
|
import { FC } from 'react';
|
|
@@ -11057,6 +11497,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11057
11497
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11058
11498
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11059
11499
|
})[];
|
|
11500
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11060
11501
|
}
|
|
11061
11502
|
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
11062
11503
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11081,6 +11522,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11081
11522
|
};
|
|
11082
11523
|
refresh: () => Promise<void>;
|
|
11083
11524
|
isLoadingFirstPage: boolean;
|
|
11525
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
11084
11526
|
};
|
|
11085
11527
|
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11086
11528
|
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
@@ -11801,7 +12243,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11801
12243
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11802
12244
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11803
12245
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11804
|
-
export interface
|
|
12246
|
+
export interface PageProps extends SearchBoxProps {
|
|
11805
12247
|
className?: string;
|
|
11806
12248
|
headerContents?: JSX.Element;
|
|
11807
12249
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11819,12 +12261,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11819
12261
|
submenuContents?: JSX.Element;
|
|
11820
12262
|
submenuClassName?: string;
|
|
11821
12263
|
disableScrollableContainerFocus?: boolean;
|
|
12264
|
+
asModal?: boolean;
|
|
12265
|
+
domIdentifier?: string;
|
|
11822
12266
|
}
|
|
11823
12267
|
export enum MenuNavigationMode {
|
|
11824
12268
|
Collapse = 0,
|
|
11825
12269
|
KeepOpen = 1
|
|
11826
12270
|
}
|
|
11827
|
-
export const Page: FC<
|
|
12271
|
+
export const Page: FC<PageProps>;
|
|
11828
12272
|
}
|
|
11829
12273
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11830
12274
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|