@livetiles/reach-plugin-types 0.5.0-preview.5 → 0.5.0-preview.52
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 +406 -40
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1026,6 +1026,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
|
1026
1026
|
language?: string;
|
|
1027
1027
|
}>;
|
|
1028
1028
|
}
|
|
1029
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1030
|
+
import locale from 'date-fns/locale/ar-DZ';
|
|
1031
|
+
export default locale;
|
|
1032
|
+
}
|
|
1033
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
|
|
1034
|
+
import locale from 'date-fns/locale/ar-MA';
|
|
1035
|
+
export default locale;
|
|
1036
|
+
}
|
|
1037
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
|
|
1038
|
+
import locale from 'date-fns/locale/ar-SA';
|
|
1039
|
+
export default locale;
|
|
1040
|
+
}
|
|
1041
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
|
|
1042
|
+
import locale from 'date-fns/locale/bg';
|
|
1043
|
+
export default locale;
|
|
1044
|
+
}
|
|
1045
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
|
|
1046
|
+
import locale from 'date-fns/locale/bn';
|
|
1047
|
+
export default locale;
|
|
1048
|
+
}
|
|
1049
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
|
|
1050
|
+
import locale from 'date-fns/locale/ca';
|
|
1051
|
+
export default locale;
|
|
1052
|
+
}
|
|
1053
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
|
|
1054
|
+
import locale from 'date-fns/locale/cs';
|
|
1055
|
+
export default locale;
|
|
1056
|
+
}
|
|
1057
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
|
|
1058
|
+
import locale from 'date-fns/locale/da';
|
|
1059
|
+
export default locale;
|
|
1060
|
+
}
|
|
1061
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
|
|
1062
|
+
import locale from 'date-fns/locale/de';
|
|
1063
|
+
export default locale;
|
|
1064
|
+
}
|
|
1065
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
|
|
1066
|
+
import locale from 'date-fns/locale/el';
|
|
1067
|
+
export default locale;
|
|
1068
|
+
}
|
|
1069
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
|
|
1070
|
+
import locale from 'date-fns/locale/en-AU';
|
|
1071
|
+
export default locale;
|
|
1072
|
+
}
|
|
1073
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
|
|
1074
|
+
import locale from 'date-fns/locale/en-CA';
|
|
1075
|
+
export default locale;
|
|
1076
|
+
}
|
|
1077
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
|
|
1078
|
+
import locale from 'date-fns/locale/en-GB';
|
|
1079
|
+
export default locale;
|
|
1080
|
+
}
|
|
1081
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
|
|
1082
|
+
import locale from 'date-fns/locale/en-NZ';
|
|
1083
|
+
export default locale;
|
|
1084
|
+
}
|
|
1085
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
|
|
1086
|
+
import locale from 'date-fns/locale/es';
|
|
1087
|
+
export default locale;
|
|
1088
|
+
}
|
|
1089
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
|
|
1090
|
+
import locale from 'date-fns/locale/et';
|
|
1091
|
+
export default locale;
|
|
1092
|
+
}
|
|
1093
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
|
|
1094
|
+
import locale from 'date-fns/locale/fa-IR';
|
|
1095
|
+
export default locale;
|
|
1096
|
+
}
|
|
1097
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
|
|
1098
|
+
import locale from 'date-fns/locale/fi';
|
|
1099
|
+
export default locale;
|
|
1100
|
+
}
|
|
1101
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
|
|
1102
|
+
import locale from 'date-fns/locale/fr-CA';
|
|
1103
|
+
export default locale;
|
|
1104
|
+
}
|
|
1105
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
|
|
1106
|
+
import locale from 'date-fns/locale/fr-CH';
|
|
1107
|
+
export default locale;
|
|
1108
|
+
}
|
|
1109
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
|
|
1110
|
+
import locale from 'date-fns/locale/fr';
|
|
1111
|
+
export default locale;
|
|
1112
|
+
}
|
|
1113
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
|
|
1114
|
+
import locale from 'date-fns/locale/gu';
|
|
1115
|
+
export default locale;
|
|
1116
|
+
}
|
|
1117
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
|
|
1118
|
+
import locale from 'date-fns/locale/he';
|
|
1119
|
+
export default locale;
|
|
1120
|
+
}
|
|
1121
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
|
|
1122
|
+
import locale from 'date-fns/locale/hi';
|
|
1123
|
+
export default locale;
|
|
1124
|
+
}
|
|
1125
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
|
|
1126
|
+
import locale from 'date-fns/locale/hr';
|
|
1127
|
+
export default locale;
|
|
1128
|
+
}
|
|
1129
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
|
|
1130
|
+
import locale from 'date-fns/locale/hu';
|
|
1131
|
+
export default locale;
|
|
1132
|
+
}
|
|
1133
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
|
|
1134
|
+
import locale from 'date-fns/locale/id';
|
|
1135
|
+
export default locale;
|
|
1136
|
+
}
|
|
1137
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
|
|
1138
|
+
import locale from 'date-fns/locale/it';
|
|
1139
|
+
export default locale;
|
|
1140
|
+
}
|
|
1141
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
|
|
1142
|
+
import locale from 'date-fns/locale/ja';
|
|
1143
|
+
export default locale;
|
|
1144
|
+
}
|
|
1145
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
|
|
1146
|
+
import locale from 'date-fns/locale/kn';
|
|
1147
|
+
export default locale;
|
|
1148
|
+
}
|
|
1149
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
|
|
1150
|
+
import locale from 'date-fns/locale/ko';
|
|
1151
|
+
export default locale;
|
|
1152
|
+
}
|
|
1153
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
|
|
1154
|
+
import locale from 'date-fns/locale/lt';
|
|
1155
|
+
export default locale;
|
|
1156
|
+
}
|
|
1157
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
|
|
1158
|
+
import locale from 'date-fns/locale/lv';
|
|
1159
|
+
export default locale;
|
|
1160
|
+
}
|
|
1161
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
|
|
1162
|
+
import locale from 'date-fns/locale/ms';
|
|
1163
|
+
export default locale;
|
|
1164
|
+
}
|
|
1165
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
|
|
1166
|
+
import locale from 'date-fns/locale/nb';
|
|
1167
|
+
export default locale;
|
|
1168
|
+
}
|
|
1169
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
|
|
1170
|
+
import locale from 'date-fns/locale/nl-BE';
|
|
1171
|
+
export default locale;
|
|
1172
|
+
}
|
|
1173
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
|
|
1174
|
+
import locale from 'date-fns/locale/nl';
|
|
1175
|
+
export default locale;
|
|
1176
|
+
}
|
|
1177
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
|
|
1178
|
+
import locale from 'date-fns/locale/pl';
|
|
1179
|
+
export default locale;
|
|
1180
|
+
}
|
|
1181
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
|
|
1182
|
+
import locale from 'date-fns/locale/pt-BR';
|
|
1183
|
+
export default locale;
|
|
1184
|
+
}
|
|
1185
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
|
|
1186
|
+
import locale from 'date-fns/locale/pt';
|
|
1187
|
+
export default locale;
|
|
1188
|
+
}
|
|
1189
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
|
|
1190
|
+
import locale from 'date-fns/locale/ro';
|
|
1191
|
+
export default locale;
|
|
1192
|
+
}
|
|
1193
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
|
|
1194
|
+
import locale from 'date-fns/locale/ru';
|
|
1195
|
+
export default locale;
|
|
1196
|
+
}
|
|
1197
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
|
|
1198
|
+
import locale from 'date-fns/locale/sk';
|
|
1199
|
+
export default locale;
|
|
1200
|
+
}
|
|
1201
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
|
|
1202
|
+
import locale from 'date-fns/locale/sl';
|
|
1203
|
+
export default locale;
|
|
1204
|
+
}
|
|
1205
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
|
|
1206
|
+
import locale from 'date-fns/locale/sr-Latn';
|
|
1207
|
+
export default locale;
|
|
1208
|
+
}
|
|
1209
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
|
|
1210
|
+
import locale from 'date-fns/locale/sr';
|
|
1211
|
+
export default locale;
|
|
1212
|
+
}
|
|
1213
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
|
|
1214
|
+
import locale from 'date-fns/locale/sv';
|
|
1215
|
+
export default locale;
|
|
1216
|
+
}
|
|
1217
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
|
|
1218
|
+
import locale from 'date-fns/locale/ta';
|
|
1219
|
+
export default locale;
|
|
1220
|
+
}
|
|
1221
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
|
|
1222
|
+
import locale from 'date-fns/locale/te';
|
|
1223
|
+
export default locale;
|
|
1224
|
+
}
|
|
1225
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
|
|
1226
|
+
import locale from 'date-fns/locale/th';
|
|
1227
|
+
export default locale;
|
|
1228
|
+
}
|
|
1229
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
|
|
1230
|
+
import locale from 'date-fns/locale/tr';
|
|
1231
|
+
export default locale;
|
|
1232
|
+
}
|
|
1233
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
|
|
1234
|
+
import locale from 'date-fns/locale/uk';
|
|
1235
|
+
export default locale;
|
|
1236
|
+
}
|
|
1237
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
|
|
1238
|
+
import locale from 'date-fns/locale/vi';
|
|
1239
|
+
export default locale;
|
|
1240
|
+
}
|
|
1241
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
|
|
1242
|
+
import locale from 'date-fns/locale/zh-CN';
|
|
1243
|
+
export default locale;
|
|
1244
|
+
}
|
|
1245
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
|
|
1246
|
+
import locale from 'date-fns/locale/zh-TW';
|
|
1247
|
+
export default locale;
|
|
1248
|
+
}
|
|
1249
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
|
|
1250
|
+
import locale from 'date-fns/locale/en-US';
|
|
1251
|
+
export default locale;
|
|
1252
|
+
}
|
|
1253
|
+
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1254
|
+
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1255
|
+
}
|
|
1029
1256
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1030
1257
|
export const orderedFeatureSet: string[];
|
|
1031
1258
|
export class FeatureSet {
|
|
@@ -1443,6 +1670,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1443
1670
|
subscriptionId: string;
|
|
1444
1671
|
tenantId: string;
|
|
1445
1672
|
expires?: string;
|
|
1673
|
+
hasPrivateEmail?: boolean;
|
|
1446
1674
|
}
|
|
1447
1675
|
export interface HashUser {
|
|
1448
1676
|
id: string;
|
|
@@ -2520,6 +2748,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2520
2748
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2521
2749
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2522
2750
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
2751
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
2752
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2523
2753
|
};
|
|
2524
2754
|
}
|
|
2525
2755
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -3098,7 +3328,7 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3098
3328
|
export const videoAttachmentRoundedCornerSize = 20;
|
|
3099
3329
|
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3100
3330
|
export const feedbackButtonHeight = 32;
|
|
3101
|
-
export const mainScrollableContainerSelector = "lt-reach-main-content";
|
|
3331
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
3102
3332
|
export const statusColors: {
|
|
3103
3333
|
draft: string;
|
|
3104
3334
|
ready: string;
|
|
@@ -3264,6 +3494,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3264
3494
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3265
3495
|
}
|
|
3266
3496
|
}
|
|
3497
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3498
|
+
export interface ModalRouting {
|
|
3499
|
+
isActive: boolean;
|
|
3500
|
+
itemId: string;
|
|
3501
|
+
backgroundLocation: any;
|
|
3502
|
+
}
|
|
3503
|
+
export function useModalRouting(): {
|
|
3504
|
+
isModalRoutingActive: boolean;
|
|
3505
|
+
modalItemId: string;
|
|
3506
|
+
backgroundLocation: any;
|
|
3507
|
+
};
|
|
3508
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3509
|
+
modalRouting: {
|
|
3510
|
+
isActive: boolean;
|
|
3511
|
+
itemId: string;
|
|
3512
|
+
backgroundLocation: {
|
|
3513
|
+
state: {
|
|
3514
|
+
modalRouting: {
|
|
3515
|
+
isActive: boolean;
|
|
3516
|
+
};
|
|
3517
|
+
};
|
|
3518
|
+
pathname: string;
|
|
3519
|
+
search: string;
|
|
3520
|
+
hash: string;
|
|
3521
|
+
key?: string;
|
|
3522
|
+
};
|
|
3523
|
+
};
|
|
3524
|
+
};
|
|
3525
|
+
}
|
|
3267
3526
|
declare module "libs/reach/util/common/src/index" {
|
|
3268
3527
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3269
3528
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3273,6 +3532,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3273
3532
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3274
3533
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3275
3534
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3535
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3276
3536
|
export * from "libs/reach/util/common/src/user/index";
|
|
3277
3537
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3278
3538
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3291,6 +3551,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3291
3551
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3292
3552
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3293
3553
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3554
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3294
3555
|
}
|
|
3295
3556
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3296
3557
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3715,7 +3976,9 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3715
3976
|
}[]>;
|
|
3716
3977
|
export function getFileIcon(filename: string): string;
|
|
3717
3978
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
3979
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3718
3980
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3981
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
3719
3982
|
}
|
|
3720
3983
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
3721
3984
|
export function useFileAccessTokenApi(): {
|
|
@@ -4025,7 +4288,7 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4025
4288
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4026
4289
|
}
|
|
4027
4290
|
declare module "libs/reach/ui/common/src/common/UnreadCommentHighlight" {
|
|
4028
|
-
export const unreadCommentHighlight: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4291
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4029
4292
|
}
|
|
4030
4293
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4031
4294
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4980,8 +5243,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4980
5243
|
export const SkipLinksContextProvider: FC;
|
|
4981
5244
|
}
|
|
4982
5245
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5246
|
+
import { DependencyList } from 'react';
|
|
4983
5247
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4984
|
-
export function useAddSkipLinks(
|
|
5248
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4985
5249
|
}
|
|
4986
5250
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4987
5251
|
import { FC } from 'react';
|
|
@@ -5032,6 +5296,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5032
5296
|
closeButtonOptions?: CloseButtonOptions;
|
|
5033
5297
|
showSearchBox?: boolean;
|
|
5034
5298
|
disableScrollableContainerFocus?: boolean;
|
|
5299
|
+
asModal?: boolean;
|
|
5300
|
+
domIdentifier?: string;
|
|
5035
5301
|
}
|
|
5036
5302
|
export const BasicPage: FC<Props>;
|
|
5037
5303
|
}
|
|
@@ -6268,6 +6534,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6268
6534
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6269
6535
|
}>;
|
|
6270
6536
|
}
|
|
6537
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6538
|
+
import { FC } from 'react';
|
|
6539
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6540
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6541
|
+
onApiKeyAdded?: () => void;
|
|
6542
|
+
onDismiss: () => void;
|
|
6543
|
+
user?: UserItem;
|
|
6544
|
+
}>;
|
|
6545
|
+
}
|
|
6271
6546
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6272
6547
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6273
6548
|
import './UserList.scss';
|
|
@@ -6291,7 +6566,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6291
6566
|
isLoading?: boolean;
|
|
6292
6567
|
isEmpty?: boolean;
|
|
6293
6568
|
emptyPlaceholder?: ReactNode;
|
|
6569
|
+
onKeyChanged?: () => void;
|
|
6294
6570
|
}
|
|
6571
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6572
|
+
accountType: string;
|
|
6573
|
+
lastLogin: string | JSX.Element;
|
|
6574
|
+
};
|
|
6295
6575
|
export const UserList: FC<Props>;
|
|
6296
6576
|
}
|
|
6297
6577
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6324,13 +6604,7 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6324
6604
|
className?: string;
|
|
6325
6605
|
}>;
|
|
6326
6606
|
}
|
|
6327
|
-
declare module "apps/reach-app/src/app/admin/users/
|
|
6328
|
-
import { FC } from 'react';
|
|
6329
|
-
export const GenerateApiKeyButton: FC<{
|
|
6330
|
-
onApiKeyAdded: () => void;
|
|
6331
|
-
}>;
|
|
6332
|
-
}
|
|
6333
|
-
declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
6607
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6334
6608
|
import { FC } from 'react';
|
|
6335
6609
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
6336
6610
|
export enum GenericErrorType {
|
|
@@ -6339,6 +6613,7 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
|
6339
6613
|
export interface UserImport {
|
|
6340
6614
|
displayName?: string;
|
|
6341
6615
|
email?: string;
|
|
6616
|
+
hasPrivateEmail?: boolean;
|
|
6342
6617
|
importResult?: SubscriptionJoinResultType | GenericErrorType;
|
|
6343
6618
|
errorMessage?: string;
|
|
6344
6619
|
}
|
|
@@ -6346,8 +6621,8 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
|
6346
6621
|
previewUsers: UserImport[];
|
|
6347
6622
|
}>;
|
|
6348
6623
|
}
|
|
6349
|
-
declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
|
|
6350
|
-
import { UserImport } from "apps/reach-app/src/app/admin/users/ImportUsersPreview";
|
|
6624
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6625
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6351
6626
|
export function useUserCsvInviter(): {
|
|
6352
6627
|
invitedUsers: UserImport[];
|
|
6353
6628
|
isValidating: boolean;
|
|
@@ -6357,10 +6632,11 @@ declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
|
|
|
6357
6632
|
setError: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
6358
6633
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6359
6634
|
isParserReady: boolean;
|
|
6360
|
-
|
|
6635
|
+
isInviting: boolean;
|
|
6636
|
+
canInvite: boolean;
|
|
6361
6637
|
};
|
|
6362
6638
|
}
|
|
6363
|
-
declare module "apps/reach-app/src/app/admin/users/ImportUserButton" {
|
|
6639
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6364
6640
|
import { FC } from 'react';
|
|
6365
6641
|
export const ImportUserButton: FC<{
|
|
6366
6642
|
onSuccessfulImport?: () => void;
|
|
@@ -6397,29 +6673,28 @@ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
|
6397
6673
|
}
|
|
6398
6674
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6399
6675
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6400
|
-
export class
|
|
6676
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6401
6677
|
static type: string;
|
|
6402
6678
|
type: string;
|
|
6403
6679
|
itemId: string;
|
|
6404
6680
|
response: EventResponse;
|
|
6405
6681
|
locationId: string;
|
|
6406
6682
|
onBehalfOfUpn: string;
|
|
6407
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6683
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6408
6684
|
}
|
|
6409
|
-
export class
|
|
6685
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6410
6686
|
static type: string;
|
|
6411
6687
|
type: string;
|
|
6412
|
-
|
|
6688
|
+
itemId: string;
|
|
6413
6689
|
response: EventResponse;
|
|
6414
|
-
static create(
|
|
6690
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6415
6691
|
}
|
|
6416
|
-
export class
|
|
6692
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6417
6693
|
static type: string;
|
|
6418
6694
|
type: string;
|
|
6419
6695
|
recurrenceSeriesId: string;
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6696
|
+
response: EventResponse;
|
|
6697
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6423
6698
|
}
|
|
6424
6699
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6425
6700
|
static type: string;
|
|
@@ -6434,6 +6709,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6434
6709
|
followByDefault: boolean;
|
|
6435
6710
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6436
6711
|
}
|
|
6712
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6713
|
+
static type: string;
|
|
6714
|
+
type: string;
|
|
6715
|
+
recurrenceSeriesId: string;
|
|
6716
|
+
isLiked: boolean;
|
|
6717
|
+
likeCount: number;
|
|
6718
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6719
|
+
}
|
|
6437
6720
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6438
6721
|
static type: string;
|
|
6439
6722
|
type: string;
|
|
@@ -6454,6 +6737,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6454
6737
|
type: string;
|
|
6455
6738
|
static create(): StreamMarkAllAsReadAction;
|
|
6456
6739
|
}
|
|
6740
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6741
|
+
static type: string;
|
|
6742
|
+
type: string;
|
|
6743
|
+
itemId: string;
|
|
6744
|
+
static create(itemId: string): RefetchItemAction;
|
|
6745
|
+
}
|
|
6746
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
6747
|
+
static type: string;
|
|
6748
|
+
type: string;
|
|
6749
|
+
itemId: string;
|
|
6750
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
6751
|
+
}
|
|
6457
6752
|
}
|
|
6458
6753
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6459
6754
|
export interface CommentFilter {
|
|
@@ -6613,7 +6908,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6613
6908
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6614
6909
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6615
6910
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6616
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
6911
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6617
6912
|
}
|
|
6618
6913
|
export interface BaseFilterDefinition {
|
|
6619
6914
|
search?: string;
|
|
@@ -6621,6 +6916,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6621
6916
|
pageSize?: string | number;
|
|
6622
6917
|
groupId?: string;
|
|
6623
6918
|
}
|
|
6919
|
+
export interface ItemIdsFilterDefinition {
|
|
6920
|
+
itemIds?: string;
|
|
6921
|
+
}
|
|
6624
6922
|
export interface IndexableFilterDefinition {
|
|
6625
6923
|
[key: string]: any;
|
|
6626
6924
|
}
|
|
@@ -7108,6 +7406,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7108
7406
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7109
7407
|
import { FC, MouseEvent } from 'react';
|
|
7110
7408
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7409
|
+
import { LocationState } from 'history';
|
|
7111
7410
|
export const ClickableOverlay: FC<{
|
|
7112
7411
|
itemId: string;
|
|
7113
7412
|
itemType: ItemResourceTypes;
|
|
@@ -7118,6 +7417,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7118
7417
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7119
7418
|
openTargetInNewWindow?: boolean;
|
|
7120
7419
|
isExternalContent?: boolean;
|
|
7420
|
+
locationState?: LocationState;
|
|
7421
|
+
}>;
|
|
7422
|
+
}
|
|
7423
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7424
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7425
|
+
import { FC } from 'react';
|
|
7426
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7427
|
+
itemId: string;
|
|
7428
|
+
itemType: ItemResourceTypes;
|
|
7429
|
+
baseRoute: string;
|
|
7430
|
+
title?: string;
|
|
7431
|
+
isExternalContent?: boolean;
|
|
7432
|
+
targetUrl?: string;
|
|
7121
7433
|
}>;
|
|
7122
7434
|
}
|
|
7123
7435
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7128,6 +7440,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7128
7440
|
targetUrl?: string;
|
|
7129
7441
|
readOnly?: boolean;
|
|
7130
7442
|
backgroundColor?: string;
|
|
7443
|
+
enableModalRouting?: boolean;
|
|
7131
7444
|
className?: string;
|
|
7132
7445
|
}>;
|
|
7133
7446
|
}
|
|
@@ -7224,6 +7537,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7224
7537
|
height?: number;
|
|
7225
7538
|
hidePlayerIfActive?: boolean;
|
|
7226
7539
|
className?: string;
|
|
7540
|
+
documentIconName?: string;
|
|
7227
7541
|
}
|
|
7228
7542
|
export const PublishableItemBanner: FC<Props>;
|
|
7229
7543
|
}
|
|
@@ -7462,10 +7776,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7462
7776
|
}
|
|
7463
7777
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7464
7778
|
import { FC } from 'react';
|
|
7779
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7465
7780
|
export const EventUserRegistration: FC<{
|
|
7466
7781
|
disabled?: boolean;
|
|
7467
7782
|
hideInfoMessage?: boolean;
|
|
7468
7783
|
showNoRegistrationRequired?: boolean;
|
|
7784
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7469
7785
|
className?: string;
|
|
7470
7786
|
}>;
|
|
7471
7787
|
}
|
|
@@ -7535,8 +7851,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7535
7851
|
export const CardLikeButton: FC<{
|
|
7536
7852
|
item: NewsItem | EventItem;
|
|
7537
7853
|
itemResourceType: ItemResourceTypes;
|
|
7538
|
-
|
|
7539
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
7854
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7540
7855
|
className?: string;
|
|
7541
7856
|
}>;
|
|
7542
7857
|
}
|
|
@@ -7558,6 +7873,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7558
7873
|
className?: string;
|
|
7559
7874
|
}>;
|
|
7560
7875
|
}
|
|
7876
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
7877
|
+
import { FC } from 'react';
|
|
7878
|
+
export const LinkWithModalRouting: FC<{
|
|
7879
|
+
url: string;
|
|
7880
|
+
itemId: string;
|
|
7881
|
+
hash?: string;
|
|
7882
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
7883
|
+
ariaHidden?: boolean;
|
|
7884
|
+
ariaLabel?: string;
|
|
7885
|
+
className?: string;
|
|
7886
|
+
}>;
|
|
7887
|
+
}
|
|
7561
7888
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7562
7889
|
import { FC } from 'react';
|
|
7563
7890
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7576,6 +7903,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7576
7903
|
allowFilterByChannels?: boolean;
|
|
7577
7904
|
showFeedbackButtons?: boolean;
|
|
7578
7905
|
readOnly?: boolean;
|
|
7906
|
+
enableModalRouting?: boolean;
|
|
7579
7907
|
className?: string;
|
|
7580
7908
|
}>;
|
|
7581
7909
|
}
|
|
@@ -7768,6 +8096,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7768
8096
|
resourceKey?: string;
|
|
7769
8097
|
resourceValues?: string;
|
|
7770
8098
|
className?: string;
|
|
8099
|
+
enableModalRouting?: boolean;
|
|
8100
|
+
itemId?: string;
|
|
7771
8101
|
isOverrideLink: boolean;
|
|
7772
8102
|
}>;
|
|
7773
8103
|
}
|
|
@@ -7827,6 +8157,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7827
8157
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7828
8158
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7829
8159
|
openTargetInNewWindow?: boolean;
|
|
8160
|
+
enableModalRouting?: boolean;
|
|
7830
8161
|
className?: string;
|
|
7831
8162
|
}
|
|
7832
8163
|
export const PageItemTile: FC<Props>;
|
|
@@ -7872,6 +8203,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7872
8203
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7873
8204
|
styleDefinition?: StyleDefinition;
|
|
7874
8205
|
readOnly?: boolean;
|
|
8206
|
+
enableModalRouting?: boolean;
|
|
7875
8207
|
className?: string;
|
|
7876
8208
|
}
|
|
7877
8209
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7915,6 +8247,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7915
8247
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7916
8248
|
styleDefinition?: StyleDefinition;
|
|
7917
8249
|
readOnly?: boolean;
|
|
8250
|
+
enableModalRouting?: boolean;
|
|
7918
8251
|
className?: string;
|
|
7919
8252
|
}
|
|
7920
8253
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7940,6 +8273,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7940
8273
|
previewTheme?: CommentInputTheme;
|
|
7941
8274
|
buttons?: ReactNode;
|
|
7942
8275
|
groupIds?: string[];
|
|
8276
|
+
enableModalRouting?: boolean;
|
|
7943
8277
|
className?: string;
|
|
7944
8278
|
}>;
|
|
7945
8279
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7956,6 +8290,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7956
8290
|
attachments: Attachment[];
|
|
7957
8291
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7958
8292
|
previewTheme?: CommentInputTheme;
|
|
8293
|
+
enableModalRouting?: boolean;
|
|
7959
8294
|
className?: string;
|
|
7960
8295
|
}>;
|
|
7961
8296
|
}
|
|
@@ -8258,6 +8593,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8258
8593
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8259
8594
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8260
8595
|
}
|
|
8596
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8597
|
+
import { FC } from 'react';
|
|
8598
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8599
|
+
export const BookmarkButton: FC<{
|
|
8600
|
+
item: PublishableItem;
|
|
8601
|
+
isReadOnly?: boolean;
|
|
8602
|
+
className?: string;
|
|
8603
|
+
}>;
|
|
8604
|
+
}
|
|
8261
8605
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8262
8606
|
import { FC } from 'react';
|
|
8263
8607
|
export const CardStatisticItem: FC<{
|
|
@@ -8275,13 +8619,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8275
8619
|
};
|
|
8276
8620
|
}>;
|
|
8277
8621
|
}
|
|
8278
|
-
declare module "libs/reach/feature/content/src/
|
|
8622
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8623
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8279
8624
|
import { FC } from 'react';
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8625
|
+
export const CardCommentButton: FC<{
|
|
8626
|
+
item: NewsItem | EventItem;
|
|
8627
|
+
itemResourceType: ItemResourceTypes;
|
|
8628
|
+
targetRoute: string;
|
|
8629
|
+
enableModalRouting?: boolean;
|
|
8285
8630
|
}>;
|
|
8286
8631
|
}
|
|
8287
8632
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8289,11 +8634,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8289
8634
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8290
8635
|
export const CardFooter: FC<{
|
|
8291
8636
|
item: NewsItem | EventItem;
|
|
8292
|
-
showComments: boolean;
|
|
8293
8637
|
targetRoute: string;
|
|
8294
8638
|
itemResourceType: ItemResourceTypes;
|
|
8295
|
-
|
|
8296
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8639
|
+
enableModalRouting?: boolean;
|
|
8297
8640
|
}>;
|
|
8298
8641
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
8299
8642
|
}
|
|
@@ -8592,7 +8935,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8592
8935
|
item: NewsItem;
|
|
8593
8936
|
baseRoute: string;
|
|
8594
8937
|
language: string;
|
|
8595
|
-
showComments: boolean;
|
|
8596
8938
|
highlight: boolean;
|
|
8597
8939
|
className?: string;
|
|
8598
8940
|
}
|
|
@@ -9136,6 +9478,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9136
9478
|
readOnly?: boolean;
|
|
9137
9479
|
trimContent?: boolean;
|
|
9138
9480
|
showReplyBox?: boolean;
|
|
9481
|
+
enableModalRouting?: boolean;
|
|
9139
9482
|
className?: string;
|
|
9140
9483
|
}>;
|
|
9141
9484
|
}
|
|
@@ -9158,6 +9501,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9158
9501
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9159
9502
|
readOnly?: boolean;
|
|
9160
9503
|
trimContent?: boolean;
|
|
9504
|
+
enableModalRouting?: boolean;
|
|
9161
9505
|
className?: string;
|
|
9162
9506
|
}
|
|
9163
9507
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9217,6 +9561,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9217
9561
|
showReplyBox?: boolean;
|
|
9218
9562
|
trimContent?: boolean;
|
|
9219
9563
|
title?: ReactNode;
|
|
9564
|
+
enableModalRouting?: boolean;
|
|
9220
9565
|
className?: string;
|
|
9221
9566
|
};
|
|
9222
9567
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9485,6 +9830,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9485
9830
|
layoutMode?: ItemTileLayoutMode;
|
|
9486
9831
|
bannerDefaultWidth?: number;
|
|
9487
9832
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
9833
|
+
documentIconName?: string;
|
|
9488
9834
|
}>;
|
|
9489
9835
|
}
|
|
9490
9836
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9749,7 +10095,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
|
|
|
9749
10095
|
import { FC } from 'react';
|
|
9750
10096
|
export const ContentWithShowMoreButton: FC<{
|
|
9751
10097
|
domIdentifier: string;
|
|
9752
|
-
trimContent
|
|
10098
|
+
trimContent?: boolean;
|
|
9753
10099
|
className?: string;
|
|
9754
10100
|
}>;
|
|
9755
10101
|
}
|
|
@@ -9896,13 +10242,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
|
9896
10242
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9897
10243
|
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9898
10244
|
highlight?: boolean;
|
|
9899
|
-
isInitialLiked?: boolean;
|
|
9900
10245
|
hasUnreadReplies?: boolean;
|
|
9901
10246
|
onReplyIconClick?: () => void;
|
|
9902
10247
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9903
10248
|
replyCount?: number;
|
|
9904
10249
|
readOnly?: boolean;
|
|
9905
10250
|
trimContent?: boolean;
|
|
10251
|
+
enableModalRouting?: boolean;
|
|
9906
10252
|
className?: string;
|
|
9907
10253
|
}
|
|
9908
10254
|
export const CommentDisplay: FC<Props>;
|
|
@@ -10130,6 +10476,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
10130
10476
|
onReplyAdded: () => void;
|
|
10131
10477
|
onReplyDeleted: () => void;
|
|
10132
10478
|
trimContent?: boolean;
|
|
10479
|
+
enableModalRouting?: boolean;
|
|
10133
10480
|
}
|
|
10134
10481
|
export const PostReplies: FC<Props>;
|
|
10135
10482
|
}
|
|
@@ -10197,6 +10544,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
10197
10544
|
baseTargetUrl?: string;
|
|
10198
10545
|
}
|
|
10199
10546
|
export const PostDisplay: FC<Props>;
|
|
10547
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10200
10548
|
}
|
|
10201
10549
|
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10202
10550
|
import { FC } from 'react';
|
|
@@ -11055,6 +11403,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11055
11403
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11056
11404
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11057
11405
|
})[];
|
|
11406
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11058
11407
|
}
|
|
11059
11408
|
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
11060
11409
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11079,6 +11428,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11079
11428
|
};
|
|
11080
11429
|
refresh: () => Promise<void>;
|
|
11081
11430
|
isLoadingFirstPage: boolean;
|
|
11431
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
11082
11432
|
};
|
|
11083
11433
|
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11084
11434
|
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
@@ -11221,6 +11571,19 @@ declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
|
11221
11571
|
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
|
|
11222
11572
|
};
|
|
11223
11573
|
}
|
|
11574
|
+
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
11575
|
+
import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
|
|
11576
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
11577
|
+
export function useEventsEditorApi(): {
|
|
11578
|
+
getEvent: (eventId: string) => Promise<EventItem>;
|
|
11579
|
+
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11580
|
+
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11581
|
+
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11582
|
+
deleteEventPermanently: (eventId: string) => any;
|
|
11583
|
+
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11584
|
+
deleteModifiedRecurrence: (eventId: string) => any;
|
|
11585
|
+
};
|
|
11586
|
+
}
|
|
11224
11587
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
11225
11588
|
export * from "libs/reach/feature/content/src/editor/EditorListItem";
|
|
11226
11589
|
export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
|
|
@@ -11230,6 +11593,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
11230
11593
|
export * from "libs/reach/feature/content/src/editor/useEditorApi";
|
|
11231
11594
|
export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
|
|
11232
11595
|
export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
|
|
11233
11597
|
}
|
|
11234
11598
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
11235
11599
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
@@ -11785,7 +12149,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11785
12149
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11786
12150
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11787
12151
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11788
|
-
export interface
|
|
12152
|
+
export interface PageProps extends SearchBoxProps {
|
|
11789
12153
|
className?: string;
|
|
11790
12154
|
headerContents?: JSX.Element;
|
|
11791
12155
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11803,12 +12167,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11803
12167
|
submenuContents?: JSX.Element;
|
|
11804
12168
|
submenuClassName?: string;
|
|
11805
12169
|
disableScrollableContainerFocus?: boolean;
|
|
12170
|
+
asModal?: boolean;
|
|
12171
|
+
domIdentifier?: string;
|
|
11806
12172
|
}
|
|
11807
12173
|
export enum MenuNavigationMode {
|
|
11808
12174
|
Collapse = 0,
|
|
11809
12175
|
KeepOpen = 1
|
|
11810
12176
|
}
|
|
11811
|
-
export const Page: FC<
|
|
12177
|
+
export const Page: FC<PageProps>;
|
|
11812
12178
|
}
|
|
11813
12179
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11814
12180
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|