@livetiles/reach-plugin-types 0.5.0-preview.14 → 0.5.0-preview.141
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 +524 -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 {
|
|
@@ -1236,6 +1464,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1236
1464
|
primaryColor: string;
|
|
1237
1465
|
secondaryColor: string;
|
|
1238
1466
|
useHighlightColorOnWhiteBackground?: boolean;
|
|
1467
|
+
customFontColors?: string[];
|
|
1239
1468
|
}
|
|
1240
1469
|
export interface WebHook {
|
|
1241
1470
|
id: string;
|
|
@@ -1274,9 +1503,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1274
1503
|
subscriptionId: string;
|
|
1275
1504
|
subscriptionName: string;
|
|
1276
1505
|
}
|
|
1277
|
-
export
|
|
1278
|
-
|
|
1279
|
-
|
|
1506
|
+
export enum ExtensionArea {
|
|
1507
|
+
global = "Global",
|
|
1508
|
+
page = "Page",
|
|
1509
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
1510
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
1511
|
+
itemEditor = "ItemEditor"
|
|
1512
|
+
}
|
|
1513
|
+
export type InlinePlugin = {
|
|
1514
|
+
area: ExtensionArea.itemEditor;
|
|
1515
|
+
objectButton: PluginObjectButton;
|
|
1516
|
+
};
|
|
1517
|
+
export type PagePlugin = {
|
|
1518
|
+
area: ExtensionArea.page;
|
|
1280
1519
|
route: string;
|
|
1281
1520
|
navigationNode?: {
|
|
1282
1521
|
componentName?: string;
|
|
@@ -1286,7 +1525,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1286
1525
|
[key: string]: string;
|
|
1287
1526
|
};
|
|
1288
1527
|
};
|
|
1289
|
-
}
|
|
1528
|
+
};
|
|
1529
|
+
export type PluginExtension = {
|
|
1530
|
+
area: ExtensionArea;
|
|
1531
|
+
componentName: string;
|
|
1532
|
+
} & (InlinePlugin | PagePlugin);
|
|
1533
|
+
export type PluginObjectButton = {
|
|
1534
|
+
buttonLabel: {
|
|
1535
|
+
defaultLabel: string;
|
|
1536
|
+
translations?: {
|
|
1537
|
+
[key: string]: string;
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
iconName: string;
|
|
1541
|
+
};
|
|
1290
1542
|
export interface PluginNotificationDefinitions {
|
|
1291
1543
|
key: string;
|
|
1292
1544
|
title: string;
|
|
@@ -1390,6 +1642,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1390
1642
|
pluginNotifications: {
|
|
1391
1643
|
[key: string]: NotificationType;
|
|
1392
1644
|
};
|
|
1645
|
+
newsEditor: NotificationType;
|
|
1646
|
+
eventEditor: NotificationType;
|
|
1393
1647
|
}
|
|
1394
1648
|
export interface RequestUser extends BasicUserInformation {
|
|
1395
1649
|
tenantId: string;
|
|
@@ -1490,6 +1744,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1490
1744
|
user: UserSummary;
|
|
1491
1745
|
type: SubscriptionJoinResultType;
|
|
1492
1746
|
message?: string;
|
|
1747
|
+
isSuccess?: boolean;
|
|
1493
1748
|
}
|
|
1494
1749
|
export interface UserActivationResult {
|
|
1495
1750
|
type: UserActivationResultType;
|
|
@@ -2521,6 +2776,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2521
2776
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2522
2777
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2523
2778
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
2779
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
2780
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2524
2781
|
};
|
|
2525
2782
|
}
|
|
2526
2783
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2817,17 +3074,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2817
3074
|
}
|
|
2818
3075
|
}
|
|
2819
3076
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2820
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3077
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2821
3078
|
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
3079
|
export interface PluginNavigationNodeProps {
|
|
2829
3080
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2830
3081
|
}
|
|
3082
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3083
|
+
isEditMode?: boolean;
|
|
3084
|
+
componentInstanceId: string;
|
|
3085
|
+
};
|
|
2831
3086
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2832
3087
|
type DevPlugin = {
|
|
2833
3088
|
pluginId: string;
|
|
@@ -2881,22 +3136,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2881
3136
|
}
|
|
2882
3137
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2883
3138
|
import { FC } from 'react';
|
|
2884
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3139
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2885
3140
|
export const Plugins: FC<{
|
|
2886
3141
|
area: ExtensionArea;
|
|
2887
3142
|
} & any>;
|
|
2888
3143
|
}
|
|
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
3144
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2901
3145
|
export class Color {
|
|
2902
3146
|
private r;
|
|
@@ -3012,6 +3256,14 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
3012
3256
|
onSecondary?: string;
|
|
3013
3257
|
onAccent?: string;
|
|
3014
3258
|
default?: string;
|
|
3259
|
+
customOne?: string;
|
|
3260
|
+
customTwo?: string;
|
|
3261
|
+
customThree?: string;
|
|
3262
|
+
customFour?: string;
|
|
3263
|
+
customFive?: string;
|
|
3264
|
+
customSix?: string;
|
|
3265
|
+
customSeven?: string;
|
|
3266
|
+
customEight?: string;
|
|
3015
3267
|
}
|
|
3016
3268
|
export function getDarkAltColor(color: string): string;
|
|
3017
3269
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
@@ -3099,7 +3351,7 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3099
3351
|
export const videoAttachmentRoundedCornerSize = 20;
|
|
3100
3352
|
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3101
3353
|
export const feedbackButtonHeight = 32;
|
|
3102
|
-
export const mainScrollableContainerSelector = "lt-reach-main-content";
|
|
3354
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
3103
3355
|
export const statusColors: {
|
|
3104
3356
|
draft: string;
|
|
3105
3357
|
ready: string;
|
|
@@ -3113,6 +3365,25 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3113
3365
|
export const managePagesRowHeight = 40;
|
|
3114
3366
|
export const mobilePreviewWidth = 414;
|
|
3115
3367
|
}
|
|
3368
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3369
|
+
import { FC } from 'react';
|
|
3370
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3371
|
+
export const Plugin: FC<PluginProps & {
|
|
3372
|
+
showDetailedErrorMessage?: boolean;
|
|
3373
|
+
} & any>;
|
|
3374
|
+
}
|
|
3375
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3376
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3377
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3378
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3379
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3380
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3381
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3382
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3383
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3384
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3385
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3386
|
+
}
|
|
3116
3387
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3117
3388
|
import { FC, ReactNode } from 'react';
|
|
3118
3389
|
import { ToastOptions } from 'react-toastify';
|
|
@@ -3215,6 +3486,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3215
3486
|
width?: number;
|
|
3216
3487
|
height?: number;
|
|
3217
3488
|
}
|
|
3489
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3490
|
+
imageAlignment?: ImageAlignment;
|
|
3491
|
+
}
|
|
3492
|
+
export enum ImageAlignment {
|
|
3493
|
+
Default = "default",
|
|
3494
|
+
Left = "left",
|
|
3495
|
+
Right = "right",
|
|
3496
|
+
Center = "center"
|
|
3497
|
+
}
|
|
3218
3498
|
}
|
|
3219
3499
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3220
3500
|
export interface MainPanelContextType {
|
|
@@ -3265,6 +3545,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3265
3545
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3266
3546
|
}
|
|
3267
3547
|
}
|
|
3548
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3549
|
+
export interface ModalRouting {
|
|
3550
|
+
isActive: boolean;
|
|
3551
|
+
itemId: string;
|
|
3552
|
+
backgroundLocation: any;
|
|
3553
|
+
}
|
|
3554
|
+
export function useModalRouting(): {
|
|
3555
|
+
isModalRoutingActive: boolean;
|
|
3556
|
+
modalItemId: string;
|
|
3557
|
+
backgroundLocation: any;
|
|
3558
|
+
};
|
|
3559
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3560
|
+
modalRouting: {
|
|
3561
|
+
isActive: boolean;
|
|
3562
|
+
itemId: string;
|
|
3563
|
+
backgroundLocation: {
|
|
3564
|
+
state: {
|
|
3565
|
+
modalRouting: {
|
|
3566
|
+
isActive: boolean;
|
|
3567
|
+
};
|
|
3568
|
+
};
|
|
3569
|
+
pathname: string;
|
|
3570
|
+
search: string;
|
|
3571
|
+
hash: string;
|
|
3572
|
+
key?: string;
|
|
3573
|
+
};
|
|
3574
|
+
};
|
|
3575
|
+
};
|
|
3576
|
+
}
|
|
3268
3577
|
declare module "libs/reach/util/common/src/index" {
|
|
3269
3578
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3270
3579
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3274,6 +3583,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3274
3583
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3275
3584
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3276
3585
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3586
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3277
3587
|
export * from "libs/reach/util/common/src/user/index";
|
|
3278
3588
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3279
3589
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3292,6 +3602,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3292
3602
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3293
3603
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3294
3604
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3605
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3295
3606
|
}
|
|
3296
3607
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3297
3608
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3428,7 +3739,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3428
3739
|
export const PeoplePicker: FC<Props>;
|
|
3429
3740
|
}
|
|
3430
3741
|
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";
|
|
3742
|
+
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
3743
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3433
3744
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3434
3745
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3445,7 +3756,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3445
3756
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3446
3757
|
*/
|
|
3447
3758
|
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, };
|
|
3759
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3449
3760
|
}
|
|
3450
3761
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3451
3762
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3716,7 +4027,9 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3716
4027
|
}[]>;
|
|
3717
4028
|
export function getFileIcon(filename: string): string;
|
|
3718
4029
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4030
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3719
4031
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
4032
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
3720
4033
|
}
|
|
3721
4034
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
3722
4035
|
export function useFileAccessTokenApi(): {
|
|
@@ -4026,7 +4339,7 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4026
4339
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4027
4340
|
}
|
|
4028
4341
|
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>>;
|
|
4342
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4030
4343
|
}
|
|
4031
4344
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4032
4345
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4345,6 +4658,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4345
4658
|
className?: string;
|
|
4346
4659
|
}>;
|
|
4347
4660
|
}
|
|
4661
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4662
|
+
export const useIsMounted: () => () => boolean;
|
|
4663
|
+
}
|
|
4348
4664
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4349
4665
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4350
4666
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4825,6 +5141,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4825
5141
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4826
5142
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4827
5143
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5144
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4828
5145
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4829
5146
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4830
5147
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4908,7 +5225,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4908
5225
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4909
5226
|
}
|
|
4910
5227
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4911
|
-
import { FC } from 'react';
|
|
5228
|
+
import { FC, DependencyList } from 'react';
|
|
4912
5229
|
export interface Props {
|
|
4913
5230
|
navigateTo: string;
|
|
4914
5231
|
onClose?: () => void;
|
|
@@ -4917,7 +5234,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4917
5234
|
className?: string;
|
|
4918
5235
|
}
|
|
4919
5236
|
export const CloseButton: FC<Props>;
|
|
4920
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5237
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4921
5238
|
}
|
|
4922
5239
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4923
5240
|
export const LogoHostStyle: (size?: {
|
|
@@ -4981,8 +5298,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4981
5298
|
export const SkipLinksContextProvider: FC;
|
|
4982
5299
|
}
|
|
4983
5300
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5301
|
+
import { DependencyList } from 'react';
|
|
4984
5302
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4985
|
-
export function useAddSkipLinks(
|
|
5303
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4986
5304
|
}
|
|
4987
5305
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4988
5306
|
import { FC } from 'react';
|
|
@@ -5033,6 +5351,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5033
5351
|
closeButtonOptions?: CloseButtonOptions;
|
|
5034
5352
|
showSearchBox?: boolean;
|
|
5035
5353
|
disableScrollableContainerFocus?: boolean;
|
|
5354
|
+
asModal?: boolean;
|
|
5355
|
+
domIdentifier?: string;
|
|
5036
5356
|
}
|
|
5037
5357
|
export const BasicPage: FC<Props>;
|
|
5038
5358
|
}
|
|
@@ -5189,6 +5509,14 @@ declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
|
5189
5509
|
foregroundColor: string;
|
|
5190
5510
|
}>;
|
|
5191
5511
|
}
|
|
5512
|
+
declare module "apps/reach-app/src/app/admin/themes/CustomFontColors" {
|
|
5513
|
+
import { FC } from 'react';
|
|
5514
|
+
import { Theme } from "libs/reach/util/common/src/index";
|
|
5515
|
+
export const CustomFontColors: FC<{
|
|
5516
|
+
theme: Theme;
|
|
5517
|
+
onApply?: (colors: string[]) => void;
|
|
5518
|
+
}>;
|
|
5519
|
+
}
|
|
5192
5520
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
5193
5521
|
import { FC } from 'react';
|
|
5194
5522
|
export const Themes: FC;
|
|
@@ -6269,6 +6597,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6269
6597
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6270
6598
|
}>;
|
|
6271
6599
|
}
|
|
6600
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6601
|
+
import { FC } from 'react';
|
|
6602
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6603
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6604
|
+
onApiKeyAdded?: () => void;
|
|
6605
|
+
onDismiss: () => void;
|
|
6606
|
+
user?: UserItem;
|
|
6607
|
+
}>;
|
|
6608
|
+
}
|
|
6272
6609
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6273
6610
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6274
6611
|
import './UserList.scss';
|
|
@@ -6292,7 +6629,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6292
6629
|
isLoading?: boolean;
|
|
6293
6630
|
isEmpty?: boolean;
|
|
6294
6631
|
emptyPlaceholder?: ReactNode;
|
|
6632
|
+
onKeyChanged?: () => void;
|
|
6295
6633
|
}
|
|
6634
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6635
|
+
accountType: string;
|
|
6636
|
+
lastLogin: string | JSX.Element;
|
|
6637
|
+
};
|
|
6296
6638
|
export const UserList: FC<Props>;
|
|
6297
6639
|
}
|
|
6298
6640
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6325,12 +6667,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6325
6667
|
className?: string;
|
|
6326
6668
|
}>;
|
|
6327
6669
|
}
|
|
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
6670
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6335
6671
|
import { FC } from 'react';
|
|
6336
6672
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6350,18 +6686,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6350
6686
|
}
|
|
6351
6687
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6352
6688
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6689
|
+
export enum ValidationStatus {
|
|
6690
|
+
Valid = 0,
|
|
6691
|
+
WithErrors = 1,
|
|
6692
|
+
WithUserErrors = 2
|
|
6693
|
+
}
|
|
6694
|
+
export type CsvValidation = {
|
|
6695
|
+
Status?: ValidationStatus;
|
|
6696
|
+
Message?: string;
|
|
6697
|
+
InvalidItems?: string[];
|
|
6698
|
+
};
|
|
6353
6699
|
export function useUserCsvInviter(): {
|
|
6354
6700
|
invitedUsers: UserImport[];
|
|
6355
6701
|
isValidating: boolean;
|
|
6356
6702
|
isCsvValid: boolean;
|
|
6357
6703
|
parseCsvFile: (csvFile: File) => void;
|
|
6358
|
-
|
|
6359
|
-
|
|
6704
|
+
csvValidation: CsvValidation;
|
|
6705
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6360
6706
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6361
6707
|
isParserReady: boolean;
|
|
6362
|
-
|
|
6708
|
+
isInviting: boolean;
|
|
6709
|
+
canInvite: boolean;
|
|
6710
|
+
csvFile: File;
|
|
6363
6711
|
};
|
|
6364
6712
|
}
|
|
6713
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6714
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6715
|
+
}
|
|
6716
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6717
|
+
import { FC } from 'react';
|
|
6718
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6719
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6720
|
+
export const CsvFileValidationResult: FC<{
|
|
6721
|
+
csvValidation: CsvValidation;
|
|
6722
|
+
invitedUsers: UserImport[];
|
|
6723
|
+
}>;
|
|
6724
|
+
}
|
|
6365
6725
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6366
6726
|
import { FC } from 'react';
|
|
6367
6727
|
export const ImportUserButton: FC<{
|
|
@@ -6399,29 +6759,28 @@ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
|
6399
6759
|
}
|
|
6400
6760
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6401
6761
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6402
|
-
export class
|
|
6762
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6403
6763
|
static type: string;
|
|
6404
6764
|
type: string;
|
|
6405
6765
|
itemId: string;
|
|
6406
6766
|
response: EventResponse;
|
|
6407
6767
|
locationId: string;
|
|
6408
6768
|
onBehalfOfUpn: string;
|
|
6409
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6769
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6410
6770
|
}
|
|
6411
|
-
export class
|
|
6771
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6412
6772
|
static type: string;
|
|
6413
6773
|
type: string;
|
|
6414
|
-
|
|
6774
|
+
itemId: string;
|
|
6415
6775
|
response: EventResponse;
|
|
6416
|
-
static create(
|
|
6776
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6417
6777
|
}
|
|
6418
|
-
export class
|
|
6778
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6419
6779
|
static type: string;
|
|
6420
6780
|
type: string;
|
|
6421
6781
|
recurrenceSeriesId: string;
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6782
|
+
response: EventResponse;
|
|
6783
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6425
6784
|
}
|
|
6426
6785
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6427
6786
|
static type: string;
|
|
@@ -6436,6 +6795,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6436
6795
|
followByDefault: boolean;
|
|
6437
6796
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6438
6797
|
}
|
|
6798
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6799
|
+
static type: string;
|
|
6800
|
+
type: string;
|
|
6801
|
+
recurrenceSeriesId: string;
|
|
6802
|
+
isLiked: boolean;
|
|
6803
|
+
likeCount: number;
|
|
6804
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6805
|
+
}
|
|
6439
6806
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6440
6807
|
static type: string;
|
|
6441
6808
|
type: string;
|
|
@@ -6456,6 +6823,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6456
6823
|
type: string;
|
|
6457
6824
|
static create(): StreamMarkAllAsReadAction;
|
|
6458
6825
|
}
|
|
6826
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6827
|
+
static type: string;
|
|
6828
|
+
type: string;
|
|
6829
|
+
itemId: string;
|
|
6830
|
+
static create(itemId: string): RefetchItemAction;
|
|
6831
|
+
}
|
|
6832
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
6833
|
+
static type: string;
|
|
6834
|
+
type: string;
|
|
6835
|
+
itemId: string;
|
|
6836
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
6837
|
+
}
|
|
6459
6838
|
}
|
|
6460
6839
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6461
6840
|
export interface CommentFilter {
|
|
@@ -6615,7 +6994,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6615
6994
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6616
6995
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6617
6996
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6618
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
6997
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6619
6998
|
}
|
|
6620
6999
|
export interface BaseFilterDefinition {
|
|
6621
7000
|
search?: string;
|
|
@@ -6623,6 +7002,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6623
7002
|
pageSize?: string | number;
|
|
6624
7003
|
groupId?: string;
|
|
6625
7004
|
}
|
|
7005
|
+
export interface ItemIdsFilterDefinition {
|
|
7006
|
+
itemIds?: string;
|
|
7007
|
+
}
|
|
6626
7008
|
export interface IndexableFilterDefinition {
|
|
6627
7009
|
[key: string]: any;
|
|
6628
7010
|
}
|
|
@@ -7110,6 +7492,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7110
7492
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7111
7493
|
import { FC, MouseEvent } from 'react';
|
|
7112
7494
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7495
|
+
import { LocationState } from 'history';
|
|
7113
7496
|
export const ClickableOverlay: FC<{
|
|
7114
7497
|
itemId: string;
|
|
7115
7498
|
itemType: ItemResourceTypes;
|
|
@@ -7120,6 +7503,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7120
7503
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7121
7504
|
openTargetInNewWindow?: boolean;
|
|
7122
7505
|
isExternalContent?: boolean;
|
|
7506
|
+
locationState?: LocationState;
|
|
7507
|
+
}>;
|
|
7508
|
+
}
|
|
7509
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7510
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7511
|
+
import { FC } from 'react';
|
|
7512
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7513
|
+
itemId: string;
|
|
7514
|
+
itemType: ItemResourceTypes;
|
|
7515
|
+
baseRoute: string;
|
|
7516
|
+
title?: string;
|
|
7517
|
+
isExternalContent?: boolean;
|
|
7518
|
+
targetUrl?: string;
|
|
7123
7519
|
}>;
|
|
7124
7520
|
}
|
|
7125
7521
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7130,6 +7526,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7130
7526
|
targetUrl?: string;
|
|
7131
7527
|
readOnly?: boolean;
|
|
7132
7528
|
backgroundColor?: string;
|
|
7529
|
+
enableModalRouting?: boolean;
|
|
7133
7530
|
className?: string;
|
|
7134
7531
|
}>;
|
|
7135
7532
|
}
|
|
@@ -7226,6 +7623,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7226
7623
|
height?: number;
|
|
7227
7624
|
hidePlayerIfActive?: boolean;
|
|
7228
7625
|
className?: string;
|
|
7626
|
+
documentIconName?: string;
|
|
7229
7627
|
}
|
|
7230
7628
|
export const PublishableItemBanner: FC<Props>;
|
|
7231
7629
|
}
|
|
@@ -7464,10 +7862,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7464
7862
|
}
|
|
7465
7863
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7466
7864
|
import { FC } from 'react';
|
|
7865
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7467
7866
|
export const EventUserRegistration: FC<{
|
|
7468
7867
|
disabled?: boolean;
|
|
7469
7868
|
hideInfoMessage?: boolean;
|
|
7470
7869
|
showNoRegistrationRequired?: boolean;
|
|
7870
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7471
7871
|
className?: string;
|
|
7472
7872
|
}>;
|
|
7473
7873
|
}
|
|
@@ -7537,8 +7937,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7537
7937
|
export const CardLikeButton: FC<{
|
|
7538
7938
|
item: NewsItem | EventItem;
|
|
7539
7939
|
itemResourceType: ItemResourceTypes;
|
|
7540
|
-
|
|
7541
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
7940
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7542
7941
|
className?: string;
|
|
7543
7942
|
}>;
|
|
7544
7943
|
}
|
|
@@ -7560,6 +7959,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7560
7959
|
className?: string;
|
|
7561
7960
|
}>;
|
|
7562
7961
|
}
|
|
7962
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
7963
|
+
import { FC } from 'react';
|
|
7964
|
+
export const LinkWithModalRouting: FC<{
|
|
7965
|
+
url: string;
|
|
7966
|
+
itemId: string;
|
|
7967
|
+
hash?: string;
|
|
7968
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
7969
|
+
ariaHidden?: boolean;
|
|
7970
|
+
ariaLabel?: string;
|
|
7971
|
+
className?: string;
|
|
7972
|
+
}>;
|
|
7973
|
+
}
|
|
7563
7974
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7564
7975
|
import { FC } from 'react';
|
|
7565
7976
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7578,6 +7989,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7578
7989
|
allowFilterByChannels?: boolean;
|
|
7579
7990
|
showFeedbackButtons?: boolean;
|
|
7580
7991
|
readOnly?: boolean;
|
|
7992
|
+
enableModalRouting?: boolean;
|
|
7581
7993
|
className?: string;
|
|
7582
7994
|
}>;
|
|
7583
7995
|
}
|
|
@@ -7628,7 +8040,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7628
8040
|
Contact = "contact",
|
|
7629
8041
|
InlinePageList = "inline-page-list",
|
|
7630
8042
|
UrlPreview = "url-preview",
|
|
7631
|
-
ActionButton = "action-button"
|
|
8043
|
+
ActionButton = "action-button",
|
|
8044
|
+
InlinePlugin = "inline-plugin"
|
|
7632
8045
|
}
|
|
7633
8046
|
export interface HtmlComponentMapper {
|
|
7634
8047
|
component: FC<any>;
|
|
@@ -7770,7 +8183,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7770
8183
|
resourceKey?: string;
|
|
7771
8184
|
resourceValues?: string;
|
|
7772
8185
|
className?: string;
|
|
8186
|
+
enableModalRouting?: boolean;
|
|
8187
|
+
itemId?: string;
|
|
7773
8188
|
isOverrideLink: boolean;
|
|
8189
|
+
icon?: string;
|
|
7774
8190
|
}>;
|
|
7775
8191
|
}
|
|
7776
8192
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -7829,6 +8245,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7829
8245
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7830
8246
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7831
8247
|
openTargetInNewWindow?: boolean;
|
|
8248
|
+
enableModalRouting?: boolean;
|
|
7832
8249
|
className?: string;
|
|
7833
8250
|
}
|
|
7834
8251
|
export const PageItemTile: FC<Props>;
|
|
@@ -7874,6 +8291,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7874
8291
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7875
8292
|
styleDefinition?: StyleDefinition;
|
|
7876
8293
|
readOnly?: boolean;
|
|
8294
|
+
enableModalRouting?: boolean;
|
|
7877
8295
|
className?: string;
|
|
7878
8296
|
}
|
|
7879
8297
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7917,6 +8335,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7917
8335
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7918
8336
|
styleDefinition?: StyleDefinition;
|
|
7919
8337
|
readOnly?: boolean;
|
|
8338
|
+
enableModalRouting?: boolean;
|
|
7920
8339
|
className?: string;
|
|
7921
8340
|
}
|
|
7922
8341
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7942,6 +8361,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7942
8361
|
previewTheme?: CommentInputTheme;
|
|
7943
8362
|
buttons?: ReactNode;
|
|
7944
8363
|
groupIds?: string[];
|
|
8364
|
+
enableModalRouting?: boolean;
|
|
7945
8365
|
className?: string;
|
|
7946
8366
|
}>;
|
|
7947
8367
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7958,6 +8378,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7958
8378
|
attachments: Attachment[];
|
|
7959
8379
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7960
8380
|
previewTheme?: CommentInputTheme;
|
|
8381
|
+
enableModalRouting?: boolean;
|
|
7961
8382
|
className?: string;
|
|
7962
8383
|
}>;
|
|
7963
8384
|
}
|
|
@@ -8118,6 +8539,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8118
8539
|
import { FC, ReactNode } from 'react';
|
|
8119
8540
|
export const InlineObjectToolbar: FC<{
|
|
8120
8541
|
onDelete?: () => void;
|
|
8542
|
+
deleteAriaLabelResourceKey?: string;
|
|
8121
8543
|
additionalButtons?: ReactNode;
|
|
8122
8544
|
}>;
|
|
8123
8545
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8125,15 +8547,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8125
8547
|
}>;
|
|
8126
8548
|
}
|
|
8127
8549
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8550
|
+
import { FC, ReactNode } from 'react';
|
|
8551
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8129
8552
|
export const ImageToolbar: FC<{
|
|
8130
8553
|
onDelete?: () => void;
|
|
8131
8554
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8132
8555
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8133
8556
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8557
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8134
8558
|
showFullScreenButton?: boolean;
|
|
8135
8559
|
showCloseButton?: boolean;
|
|
8136
8560
|
showCropButton?: boolean;
|
|
8561
|
+
alignmentButtons?: ReactNode;
|
|
8137
8562
|
}>;
|
|
8138
8563
|
}
|
|
8139
8564
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8260,6 +8685,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8260
8685
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8261
8686
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8262
8687
|
}
|
|
8688
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8689
|
+
import { FC } from 'react';
|
|
8690
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8691
|
+
export const BookmarkButton: FC<{
|
|
8692
|
+
item: PublishableItem;
|
|
8693
|
+
isReadOnly?: boolean;
|
|
8694
|
+
className?: string;
|
|
8695
|
+
}>;
|
|
8696
|
+
}
|
|
8263
8697
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8264
8698
|
import { FC } from 'react';
|
|
8265
8699
|
export const CardStatisticItem: FC<{
|
|
@@ -8277,13 +8711,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8277
8711
|
};
|
|
8278
8712
|
}>;
|
|
8279
8713
|
}
|
|
8280
|
-
declare module "libs/reach/feature/content/src/
|
|
8714
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8715
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8281
8716
|
import { FC } from 'react';
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8717
|
+
export const CardCommentButton: FC<{
|
|
8718
|
+
item: NewsItem | EventItem;
|
|
8719
|
+
itemResourceType: ItemResourceTypes;
|
|
8720
|
+
targetRoute: string;
|
|
8721
|
+
enableModalRouting?: boolean;
|
|
8287
8722
|
}>;
|
|
8288
8723
|
}
|
|
8289
8724
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8291,11 +8726,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8291
8726
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8292
8727
|
export const CardFooter: FC<{
|
|
8293
8728
|
item: NewsItem | EventItem;
|
|
8294
|
-
showComments: boolean;
|
|
8295
8729
|
targetRoute: string;
|
|
8296
8730
|
itemResourceType: ItemResourceTypes;
|
|
8297
|
-
|
|
8298
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8731
|
+
enableModalRouting?: boolean;
|
|
8299
8732
|
}>;
|
|
8300
8733
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
8301
8734
|
}
|
|
@@ -8346,6 +8779,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8346
8779
|
target?: string;
|
|
8347
8780
|
language?: string;
|
|
8348
8781
|
hideCurrentPageNode?: boolean;
|
|
8782
|
+
homeTargetUrlOverride?: string;
|
|
8349
8783
|
className?: string;
|
|
8350
8784
|
}>;
|
|
8351
8785
|
}
|
|
@@ -8594,7 +9028,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8594
9028
|
item: NewsItem;
|
|
8595
9029
|
baseRoute: string;
|
|
8596
9030
|
language: string;
|
|
8597
|
-
showComments: boolean;
|
|
8598
9031
|
highlight: boolean;
|
|
8599
9032
|
className?: string;
|
|
8600
9033
|
}
|
|
@@ -8701,6 +9134,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8701
9134
|
}
|
|
8702
9135
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8703
9136
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9137
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8704
9138
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8705
9139
|
}
|
|
8706
9140
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8919,6 +9353,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
8919
9353
|
}
|
|
8920
9354
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8921
9355
|
}
|
|
9356
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9357
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9358
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9359
|
+
}
|
|
8922
9360
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8923
9361
|
import { FC } from 'react';
|
|
8924
9362
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9138,6 +9576,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9138
9576
|
readOnly?: boolean;
|
|
9139
9577
|
trimContent?: boolean;
|
|
9140
9578
|
showReplyBox?: boolean;
|
|
9579
|
+
enableModalRouting?: boolean;
|
|
9141
9580
|
className?: string;
|
|
9142
9581
|
}>;
|
|
9143
9582
|
}
|
|
@@ -9160,6 +9599,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9160
9599
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9161
9600
|
readOnly?: boolean;
|
|
9162
9601
|
trimContent?: boolean;
|
|
9602
|
+
enableModalRouting?: boolean;
|
|
9163
9603
|
className?: string;
|
|
9164
9604
|
}
|
|
9165
9605
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9219,6 +9659,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9219
9659
|
showReplyBox?: boolean;
|
|
9220
9660
|
trimContent?: boolean;
|
|
9221
9661
|
title?: ReactNode;
|
|
9662
|
+
enableModalRouting?: boolean;
|
|
9222
9663
|
className?: string;
|
|
9223
9664
|
};
|
|
9224
9665
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9487,6 +9928,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9487
9928
|
layoutMode?: ItemTileLayoutMode;
|
|
9488
9929
|
bannerDefaultWidth?: number;
|
|
9489
9930
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
9931
|
+
documentIconName?: string;
|
|
9490
9932
|
}>;
|
|
9491
9933
|
}
|
|
9492
9934
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9648,6 +10090,13 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9648
10090
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9649
10091
|
};
|
|
9650
10092
|
}
|
|
10093
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10094
|
+
interface IClickHandles {
|
|
10095
|
+
onInsideClick: () => void;
|
|
10096
|
+
onOutsideClick: () => void;
|
|
10097
|
+
}
|
|
10098
|
+
export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10099
|
+
}
|
|
9651
10100
|
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
9652
10101
|
import { LocationDescriptor } from 'history';
|
|
9653
10102
|
import { FC, ReactNode } from 'react';
|
|
@@ -9751,7 +10200,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
|
|
|
9751
10200
|
import { FC } from 'react';
|
|
9752
10201
|
export const ContentWithShowMoreButton: FC<{
|
|
9753
10202
|
domIdentifier: string;
|
|
9754
|
-
trimContent
|
|
10203
|
+
trimContent?: boolean;
|
|
9755
10204
|
className?: string;
|
|
9756
10205
|
}>;
|
|
9757
10206
|
}
|
|
@@ -9816,6 +10265,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9816
10265
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9817
10266
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9818
10267
|
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
10268
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
9819
10269
|
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
9820
10270
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9821
10271
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
@@ -9869,6 +10319,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9869
10319
|
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
9870
10320
|
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9871
10321
|
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
10322
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
9872
10323
|
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
9873
10324
|
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
9874
10325
|
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
@@ -9898,13 +10349,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
|
9898
10349
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9899
10350
|
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9900
10351
|
highlight?: boolean;
|
|
9901
|
-
isInitialLiked?: boolean;
|
|
9902
10352
|
hasUnreadReplies?: boolean;
|
|
9903
10353
|
onReplyIconClick?: () => void;
|
|
9904
10354
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9905
10355
|
replyCount?: number;
|
|
9906
10356
|
readOnly?: boolean;
|
|
9907
10357
|
trimContent?: boolean;
|
|
10358
|
+
enableModalRouting?: boolean;
|
|
9908
10359
|
className?: string;
|
|
9909
10360
|
}
|
|
9910
10361
|
export const CommentDisplay: FC<Props>;
|
|
@@ -10132,6 +10583,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
10132
10583
|
onReplyAdded: () => void;
|
|
10133
10584
|
onReplyDeleted: () => void;
|
|
10134
10585
|
trimContent?: boolean;
|
|
10586
|
+
enableModalRouting?: boolean;
|
|
10135
10587
|
}
|
|
10136
10588
|
export const PostReplies: FC<Props>;
|
|
10137
10589
|
}
|
|
@@ -10199,6 +10651,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
10199
10651
|
baseTargetUrl?: string;
|
|
10200
10652
|
}
|
|
10201
10653
|
export const PostDisplay: FC<Props>;
|
|
10654
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10202
10655
|
}
|
|
10203
10656
|
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10204
10657
|
import { FC } from 'react';
|
|
@@ -11057,6 +11510,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11057
11510
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11058
11511
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11059
11512
|
})[];
|
|
11513
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11060
11514
|
}
|
|
11061
11515
|
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
11062
11516
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11081,6 +11535,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11081
11535
|
};
|
|
11082
11536
|
refresh: () => Promise<void>;
|
|
11083
11537
|
isLoadingFirstPage: boolean;
|
|
11538
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
11084
11539
|
};
|
|
11085
11540
|
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11086
11541
|
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
@@ -11801,7 +12256,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11801
12256
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11802
12257
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11803
12258
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11804
|
-
export interface
|
|
12259
|
+
export interface PageProps extends SearchBoxProps {
|
|
11805
12260
|
className?: string;
|
|
11806
12261
|
headerContents?: JSX.Element;
|
|
11807
12262
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11819,12 +12274,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11819
12274
|
submenuContents?: JSX.Element;
|
|
11820
12275
|
submenuClassName?: string;
|
|
11821
12276
|
disableScrollableContainerFocus?: boolean;
|
|
12277
|
+
asModal?: boolean;
|
|
12278
|
+
domIdentifier?: string;
|
|
11822
12279
|
}
|
|
11823
12280
|
export enum MenuNavigationMode {
|
|
11824
12281
|
Collapse = 0,
|
|
11825
12282
|
KeepOpen = 1
|
|
11826
12283
|
}
|
|
11827
|
-
export const Page: FC<
|
|
12284
|
+
export const Page: FC<PageProps>;
|
|
11828
12285
|
}
|
|
11829
12286
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11830
12287
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|