@livetiles/reach-plugin-types 0.5.0-preview.6 → 0.5.0-preview.60
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 +422 -42
- 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 {
|
|
@@ -1443,6 +1671,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1443
1671
|
subscriptionId: string;
|
|
1444
1672
|
tenantId: string;
|
|
1445
1673
|
expires?: string;
|
|
1674
|
+
hasPrivateEmail?: boolean;
|
|
1446
1675
|
}
|
|
1447
1676
|
export interface HashUser {
|
|
1448
1677
|
id: string;
|
|
@@ -2520,6 +2749,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2520
2749
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2521
2750
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2522
2751
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
2752
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
2753
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2523
2754
|
};
|
|
2524
2755
|
}
|
|
2525
2756
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -3098,7 +3329,7 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3098
3329
|
export const videoAttachmentRoundedCornerSize = 20;
|
|
3099
3330
|
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3100
3331
|
export const feedbackButtonHeight = 32;
|
|
3101
|
-
export const mainScrollableContainerSelector = "lt-reach-main-content";
|
|
3332
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
3102
3333
|
export const statusColors: {
|
|
3103
3334
|
draft: string;
|
|
3104
3335
|
ready: string;
|
|
@@ -3214,6 +3445,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3214
3445
|
width?: number;
|
|
3215
3446
|
height?: number;
|
|
3216
3447
|
}
|
|
3448
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3449
|
+
alignment?: ImageAlignment;
|
|
3450
|
+
}
|
|
3451
|
+
export enum ImageAlignment {
|
|
3452
|
+
Default = "default",
|
|
3453
|
+
Left = "left",
|
|
3454
|
+
Right = "right",
|
|
3455
|
+
Center = "center"
|
|
3456
|
+
}
|
|
3217
3457
|
}
|
|
3218
3458
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3219
3459
|
export interface MainPanelContextType {
|
|
@@ -3264,6 +3504,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3264
3504
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3265
3505
|
}
|
|
3266
3506
|
}
|
|
3507
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3508
|
+
export interface ModalRouting {
|
|
3509
|
+
isActive: boolean;
|
|
3510
|
+
itemId: string;
|
|
3511
|
+
backgroundLocation: any;
|
|
3512
|
+
}
|
|
3513
|
+
export function useModalRouting(): {
|
|
3514
|
+
isModalRoutingActive: boolean;
|
|
3515
|
+
modalItemId: string;
|
|
3516
|
+
backgroundLocation: any;
|
|
3517
|
+
};
|
|
3518
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3519
|
+
modalRouting: {
|
|
3520
|
+
isActive: boolean;
|
|
3521
|
+
itemId: string;
|
|
3522
|
+
backgroundLocation: {
|
|
3523
|
+
state: {
|
|
3524
|
+
modalRouting: {
|
|
3525
|
+
isActive: boolean;
|
|
3526
|
+
};
|
|
3527
|
+
};
|
|
3528
|
+
pathname: string;
|
|
3529
|
+
search: string;
|
|
3530
|
+
hash: string;
|
|
3531
|
+
key?: string;
|
|
3532
|
+
};
|
|
3533
|
+
};
|
|
3534
|
+
};
|
|
3535
|
+
}
|
|
3267
3536
|
declare module "libs/reach/util/common/src/index" {
|
|
3268
3537
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3269
3538
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3273,6 +3542,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3273
3542
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3274
3543
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3275
3544
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3545
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3276
3546
|
export * from "libs/reach/util/common/src/user/index";
|
|
3277
3547
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3278
3548
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3291,6 +3561,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3291
3561
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3292
3562
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3293
3563
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3564
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3294
3565
|
}
|
|
3295
3566
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3296
3567
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3715,7 +3986,9 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3715
3986
|
}[]>;
|
|
3716
3987
|
export function getFileIcon(filename: string): string;
|
|
3717
3988
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
3989
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3718
3990
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3991
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
3719
3992
|
}
|
|
3720
3993
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
3721
3994
|
export function useFileAccessTokenApi(): {
|
|
@@ -4025,7 +4298,7 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4025
4298
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4026
4299
|
}
|
|
4027
4300
|
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>>;
|
|
4301
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4029
4302
|
}
|
|
4030
4303
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4031
4304
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4344,6 +4617,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4344
4617
|
className?: string;
|
|
4345
4618
|
}>;
|
|
4346
4619
|
}
|
|
4620
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4621
|
+
export const useIsMounted: () => () => boolean;
|
|
4622
|
+
}
|
|
4347
4623
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4348
4624
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4349
4625
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4824,6 +5100,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4824
5100
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4825
5101
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4826
5102
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5103
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4827
5104
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4828
5105
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4829
5106
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4907,7 +5184,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4907
5184
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4908
5185
|
}
|
|
4909
5186
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4910
|
-
import { FC } from 'react';
|
|
5187
|
+
import { FC, DependencyList } from 'react';
|
|
4911
5188
|
export interface Props {
|
|
4912
5189
|
navigateTo: string;
|
|
4913
5190
|
onClose?: () => void;
|
|
@@ -4916,7 +5193,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4916
5193
|
className?: string;
|
|
4917
5194
|
}
|
|
4918
5195
|
export const CloseButton: FC<Props>;
|
|
4919
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5196
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4920
5197
|
}
|
|
4921
5198
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4922
5199
|
export const LogoHostStyle: (size?: {
|
|
@@ -4980,8 +5257,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4980
5257
|
export const SkipLinksContextProvider: FC;
|
|
4981
5258
|
}
|
|
4982
5259
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5260
|
+
import { DependencyList } from 'react';
|
|
4983
5261
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4984
|
-
export function useAddSkipLinks(
|
|
5262
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4985
5263
|
}
|
|
4986
5264
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4987
5265
|
import { FC } from 'react';
|
|
@@ -5032,6 +5310,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5032
5310
|
closeButtonOptions?: CloseButtonOptions;
|
|
5033
5311
|
showSearchBox?: boolean;
|
|
5034
5312
|
disableScrollableContainerFocus?: boolean;
|
|
5313
|
+
asModal?: boolean;
|
|
5314
|
+
domIdentifier?: string;
|
|
5035
5315
|
}
|
|
5036
5316
|
export const BasicPage: FC<Props>;
|
|
5037
5317
|
}
|
|
@@ -6268,6 +6548,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6268
6548
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6269
6549
|
}>;
|
|
6270
6550
|
}
|
|
6551
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6552
|
+
import { FC } from 'react';
|
|
6553
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6554
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6555
|
+
onApiKeyAdded?: () => void;
|
|
6556
|
+
onDismiss: () => void;
|
|
6557
|
+
user?: UserItem;
|
|
6558
|
+
}>;
|
|
6559
|
+
}
|
|
6271
6560
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6272
6561
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6273
6562
|
import './UserList.scss';
|
|
@@ -6291,7 +6580,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6291
6580
|
isLoading?: boolean;
|
|
6292
6581
|
isEmpty?: boolean;
|
|
6293
6582
|
emptyPlaceholder?: ReactNode;
|
|
6583
|
+
onKeyChanged?: () => void;
|
|
6294
6584
|
}
|
|
6585
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6586
|
+
accountType: string;
|
|
6587
|
+
lastLogin: string | JSX.Element;
|
|
6588
|
+
};
|
|
6295
6589
|
export const UserList: FC<Props>;
|
|
6296
6590
|
}
|
|
6297
6591
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6324,13 +6618,7 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6324
6618
|
className?: string;
|
|
6325
6619
|
}>;
|
|
6326
6620
|
}
|
|
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" {
|
|
6621
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6334
6622
|
import { FC } from 'react';
|
|
6335
6623
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
6336
6624
|
export enum GenericErrorType {
|
|
@@ -6339,6 +6627,7 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
|
6339
6627
|
export interface UserImport {
|
|
6340
6628
|
displayName?: string;
|
|
6341
6629
|
email?: string;
|
|
6630
|
+
hasPrivateEmail?: boolean;
|
|
6342
6631
|
importResult?: SubscriptionJoinResultType | GenericErrorType;
|
|
6343
6632
|
errorMessage?: string;
|
|
6344
6633
|
}
|
|
@@ -6346,8 +6635,8 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
|
6346
6635
|
previewUsers: UserImport[];
|
|
6347
6636
|
}>;
|
|
6348
6637
|
}
|
|
6349
|
-
declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
|
|
6350
|
-
import { UserImport } from "apps/reach-app/src/app/admin/users/ImportUsersPreview";
|
|
6638
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6639
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6351
6640
|
export function useUserCsvInviter(): {
|
|
6352
6641
|
invitedUsers: UserImport[];
|
|
6353
6642
|
isValidating: boolean;
|
|
@@ -6357,10 +6646,11 @@ declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
|
|
|
6357
6646
|
setError: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
6358
6647
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6359
6648
|
isParserReady: boolean;
|
|
6360
|
-
|
|
6649
|
+
isInviting: boolean;
|
|
6650
|
+
canInvite: boolean;
|
|
6361
6651
|
};
|
|
6362
6652
|
}
|
|
6363
|
-
declare module "apps/reach-app/src/app/admin/users/ImportUserButton" {
|
|
6653
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6364
6654
|
import { FC } from 'react';
|
|
6365
6655
|
export const ImportUserButton: FC<{
|
|
6366
6656
|
onSuccessfulImport?: () => void;
|
|
@@ -6397,29 +6687,28 @@ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
|
6397
6687
|
}
|
|
6398
6688
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6399
6689
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6400
|
-
export class
|
|
6690
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6401
6691
|
static type: string;
|
|
6402
6692
|
type: string;
|
|
6403
6693
|
itemId: string;
|
|
6404
6694
|
response: EventResponse;
|
|
6405
6695
|
locationId: string;
|
|
6406
6696
|
onBehalfOfUpn: string;
|
|
6407
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6697
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6408
6698
|
}
|
|
6409
|
-
export class
|
|
6699
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6410
6700
|
static type: string;
|
|
6411
6701
|
type: string;
|
|
6412
|
-
|
|
6702
|
+
itemId: string;
|
|
6413
6703
|
response: EventResponse;
|
|
6414
|
-
static create(
|
|
6704
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6415
6705
|
}
|
|
6416
|
-
export class
|
|
6706
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6417
6707
|
static type: string;
|
|
6418
6708
|
type: string;
|
|
6419
6709
|
recurrenceSeriesId: string;
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6710
|
+
response: EventResponse;
|
|
6711
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6423
6712
|
}
|
|
6424
6713
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6425
6714
|
static type: string;
|
|
@@ -6434,6 +6723,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6434
6723
|
followByDefault: boolean;
|
|
6435
6724
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6436
6725
|
}
|
|
6726
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6727
|
+
static type: string;
|
|
6728
|
+
type: string;
|
|
6729
|
+
recurrenceSeriesId: string;
|
|
6730
|
+
isLiked: boolean;
|
|
6731
|
+
likeCount: number;
|
|
6732
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6733
|
+
}
|
|
6437
6734
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6438
6735
|
static type: string;
|
|
6439
6736
|
type: string;
|
|
@@ -6454,6 +6751,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6454
6751
|
type: string;
|
|
6455
6752
|
static create(): StreamMarkAllAsReadAction;
|
|
6456
6753
|
}
|
|
6754
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6755
|
+
static type: string;
|
|
6756
|
+
type: string;
|
|
6757
|
+
itemId: string;
|
|
6758
|
+
static create(itemId: string): RefetchItemAction;
|
|
6759
|
+
}
|
|
6760
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
6761
|
+
static type: string;
|
|
6762
|
+
type: string;
|
|
6763
|
+
itemId: string;
|
|
6764
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
6765
|
+
}
|
|
6457
6766
|
}
|
|
6458
6767
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6459
6768
|
export interface CommentFilter {
|
|
@@ -6613,7 +6922,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6613
6922
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6614
6923
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6615
6924
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6616
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
6925
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6617
6926
|
}
|
|
6618
6927
|
export interface BaseFilterDefinition {
|
|
6619
6928
|
search?: string;
|
|
@@ -6621,6 +6930,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6621
6930
|
pageSize?: string | number;
|
|
6622
6931
|
groupId?: string;
|
|
6623
6932
|
}
|
|
6933
|
+
export interface ItemIdsFilterDefinition {
|
|
6934
|
+
itemIds?: string;
|
|
6935
|
+
}
|
|
6624
6936
|
export interface IndexableFilterDefinition {
|
|
6625
6937
|
[key: string]: any;
|
|
6626
6938
|
}
|
|
@@ -7108,6 +7420,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7108
7420
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7109
7421
|
import { FC, MouseEvent } from 'react';
|
|
7110
7422
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7423
|
+
import { LocationState } from 'history';
|
|
7111
7424
|
export const ClickableOverlay: FC<{
|
|
7112
7425
|
itemId: string;
|
|
7113
7426
|
itemType: ItemResourceTypes;
|
|
@@ -7118,6 +7431,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7118
7431
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7119
7432
|
openTargetInNewWindow?: boolean;
|
|
7120
7433
|
isExternalContent?: boolean;
|
|
7434
|
+
locationState?: LocationState;
|
|
7435
|
+
}>;
|
|
7436
|
+
}
|
|
7437
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7438
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7439
|
+
import { FC } from 'react';
|
|
7440
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7441
|
+
itemId: string;
|
|
7442
|
+
itemType: ItemResourceTypes;
|
|
7443
|
+
baseRoute: string;
|
|
7444
|
+
title?: string;
|
|
7445
|
+
isExternalContent?: boolean;
|
|
7446
|
+
targetUrl?: string;
|
|
7121
7447
|
}>;
|
|
7122
7448
|
}
|
|
7123
7449
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7128,6 +7454,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7128
7454
|
targetUrl?: string;
|
|
7129
7455
|
readOnly?: boolean;
|
|
7130
7456
|
backgroundColor?: string;
|
|
7457
|
+
enableModalRouting?: boolean;
|
|
7131
7458
|
className?: string;
|
|
7132
7459
|
}>;
|
|
7133
7460
|
}
|
|
@@ -7224,6 +7551,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7224
7551
|
height?: number;
|
|
7225
7552
|
hidePlayerIfActive?: boolean;
|
|
7226
7553
|
className?: string;
|
|
7554
|
+
documentIconName?: string;
|
|
7227
7555
|
}
|
|
7228
7556
|
export const PublishableItemBanner: FC<Props>;
|
|
7229
7557
|
}
|
|
@@ -7462,10 +7790,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7462
7790
|
}
|
|
7463
7791
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7464
7792
|
import { FC } from 'react';
|
|
7793
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7465
7794
|
export const EventUserRegistration: FC<{
|
|
7466
7795
|
disabled?: boolean;
|
|
7467
7796
|
hideInfoMessage?: boolean;
|
|
7468
7797
|
showNoRegistrationRequired?: boolean;
|
|
7798
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7469
7799
|
className?: string;
|
|
7470
7800
|
}>;
|
|
7471
7801
|
}
|
|
@@ -7535,8 +7865,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7535
7865
|
export const CardLikeButton: FC<{
|
|
7536
7866
|
item: NewsItem | EventItem;
|
|
7537
7867
|
itemResourceType: ItemResourceTypes;
|
|
7538
|
-
|
|
7539
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
7868
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7540
7869
|
className?: string;
|
|
7541
7870
|
}>;
|
|
7542
7871
|
}
|
|
@@ -7558,6 +7887,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7558
7887
|
className?: string;
|
|
7559
7888
|
}>;
|
|
7560
7889
|
}
|
|
7890
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
7891
|
+
import { FC } from 'react';
|
|
7892
|
+
export const LinkWithModalRouting: FC<{
|
|
7893
|
+
url: string;
|
|
7894
|
+
itemId: string;
|
|
7895
|
+
hash?: string;
|
|
7896
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
7897
|
+
ariaHidden?: boolean;
|
|
7898
|
+
ariaLabel?: string;
|
|
7899
|
+
className?: string;
|
|
7900
|
+
}>;
|
|
7901
|
+
}
|
|
7561
7902
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7562
7903
|
import { FC } from 'react';
|
|
7563
7904
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7576,6 +7917,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7576
7917
|
allowFilterByChannels?: boolean;
|
|
7577
7918
|
showFeedbackButtons?: boolean;
|
|
7578
7919
|
readOnly?: boolean;
|
|
7920
|
+
enableModalRouting?: boolean;
|
|
7579
7921
|
className?: string;
|
|
7580
7922
|
}>;
|
|
7581
7923
|
}
|
|
@@ -7768,6 +8110,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7768
8110
|
resourceKey?: string;
|
|
7769
8111
|
resourceValues?: string;
|
|
7770
8112
|
className?: string;
|
|
8113
|
+
enableModalRouting?: boolean;
|
|
8114
|
+
itemId?: string;
|
|
7771
8115
|
isOverrideLink: boolean;
|
|
7772
8116
|
}>;
|
|
7773
8117
|
}
|
|
@@ -7827,6 +8171,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7827
8171
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7828
8172
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7829
8173
|
openTargetInNewWindow?: boolean;
|
|
8174
|
+
enableModalRouting?: boolean;
|
|
7830
8175
|
className?: string;
|
|
7831
8176
|
}
|
|
7832
8177
|
export const PageItemTile: FC<Props>;
|
|
@@ -7872,6 +8217,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7872
8217
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7873
8218
|
styleDefinition?: StyleDefinition;
|
|
7874
8219
|
readOnly?: boolean;
|
|
8220
|
+
enableModalRouting?: boolean;
|
|
7875
8221
|
className?: string;
|
|
7876
8222
|
}
|
|
7877
8223
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7915,6 +8261,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7915
8261
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7916
8262
|
styleDefinition?: StyleDefinition;
|
|
7917
8263
|
readOnly?: boolean;
|
|
8264
|
+
enableModalRouting?: boolean;
|
|
7918
8265
|
className?: string;
|
|
7919
8266
|
}
|
|
7920
8267
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7940,6 +8287,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7940
8287
|
previewTheme?: CommentInputTheme;
|
|
7941
8288
|
buttons?: ReactNode;
|
|
7942
8289
|
groupIds?: string[];
|
|
8290
|
+
enableModalRouting?: boolean;
|
|
7943
8291
|
className?: string;
|
|
7944
8292
|
}>;
|
|
7945
8293
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7956,6 +8304,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7956
8304
|
attachments: Attachment[];
|
|
7957
8305
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7958
8306
|
previewTheme?: CommentInputTheme;
|
|
8307
|
+
enableModalRouting?: boolean;
|
|
7959
8308
|
className?: string;
|
|
7960
8309
|
}>;
|
|
7961
8310
|
}
|
|
@@ -8258,6 +8607,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8258
8607
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8259
8608
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8260
8609
|
}
|
|
8610
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8611
|
+
import { FC } from 'react';
|
|
8612
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8613
|
+
export const BookmarkButton: FC<{
|
|
8614
|
+
item: PublishableItem;
|
|
8615
|
+
isReadOnly?: boolean;
|
|
8616
|
+
className?: string;
|
|
8617
|
+
}>;
|
|
8618
|
+
}
|
|
8261
8619
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8262
8620
|
import { FC } from 'react';
|
|
8263
8621
|
export const CardStatisticItem: FC<{
|
|
@@ -8275,13 +8633,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8275
8633
|
};
|
|
8276
8634
|
}>;
|
|
8277
8635
|
}
|
|
8278
|
-
declare module "libs/reach/feature/content/src/
|
|
8636
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8637
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8279
8638
|
import { FC } from 'react';
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8639
|
+
export const CardCommentButton: FC<{
|
|
8640
|
+
item: NewsItem | EventItem;
|
|
8641
|
+
itemResourceType: ItemResourceTypes;
|
|
8642
|
+
targetRoute: string;
|
|
8643
|
+
enableModalRouting?: boolean;
|
|
8285
8644
|
}>;
|
|
8286
8645
|
}
|
|
8287
8646
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8289,11 +8648,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8289
8648
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8290
8649
|
export const CardFooter: FC<{
|
|
8291
8650
|
item: NewsItem | EventItem;
|
|
8292
|
-
showComments: boolean;
|
|
8293
8651
|
targetRoute: string;
|
|
8294
8652
|
itemResourceType: ItemResourceTypes;
|
|
8295
|
-
|
|
8296
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8653
|
+
enableModalRouting?: boolean;
|
|
8297
8654
|
}>;
|
|
8298
8655
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
8299
8656
|
}
|
|
@@ -8592,7 +8949,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8592
8949
|
item: NewsItem;
|
|
8593
8950
|
baseRoute: string;
|
|
8594
8951
|
language: string;
|
|
8595
|
-
showComments: boolean;
|
|
8596
8952
|
highlight: boolean;
|
|
8597
8953
|
className?: string;
|
|
8598
8954
|
}
|
|
@@ -9136,6 +9492,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9136
9492
|
readOnly?: boolean;
|
|
9137
9493
|
trimContent?: boolean;
|
|
9138
9494
|
showReplyBox?: boolean;
|
|
9495
|
+
enableModalRouting?: boolean;
|
|
9139
9496
|
className?: string;
|
|
9140
9497
|
}>;
|
|
9141
9498
|
}
|
|
@@ -9158,6 +9515,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9158
9515
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9159
9516
|
readOnly?: boolean;
|
|
9160
9517
|
trimContent?: boolean;
|
|
9518
|
+
enableModalRouting?: boolean;
|
|
9161
9519
|
className?: string;
|
|
9162
9520
|
}
|
|
9163
9521
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9217,6 +9575,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9217
9575
|
showReplyBox?: boolean;
|
|
9218
9576
|
trimContent?: boolean;
|
|
9219
9577
|
title?: ReactNode;
|
|
9578
|
+
enableModalRouting?: boolean;
|
|
9220
9579
|
className?: string;
|
|
9221
9580
|
};
|
|
9222
9581
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9485,6 +9844,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9485
9844
|
layoutMode?: ItemTileLayoutMode;
|
|
9486
9845
|
bannerDefaultWidth?: number;
|
|
9487
9846
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
9847
|
+
documentIconName?: string;
|
|
9488
9848
|
}>;
|
|
9489
9849
|
}
|
|
9490
9850
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9749,7 +10109,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
|
|
|
9749
10109
|
import { FC } from 'react';
|
|
9750
10110
|
export const ContentWithShowMoreButton: FC<{
|
|
9751
10111
|
domIdentifier: string;
|
|
9752
|
-
trimContent
|
|
10112
|
+
trimContent?: boolean;
|
|
9753
10113
|
className?: string;
|
|
9754
10114
|
}>;
|
|
9755
10115
|
}
|
|
@@ -9896,13 +10256,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
|
9896
10256
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9897
10257
|
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9898
10258
|
highlight?: boolean;
|
|
9899
|
-
isInitialLiked?: boolean;
|
|
9900
10259
|
hasUnreadReplies?: boolean;
|
|
9901
10260
|
onReplyIconClick?: () => void;
|
|
9902
10261
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9903
10262
|
replyCount?: number;
|
|
9904
10263
|
readOnly?: boolean;
|
|
9905
10264
|
trimContent?: boolean;
|
|
10265
|
+
enableModalRouting?: boolean;
|
|
9906
10266
|
className?: string;
|
|
9907
10267
|
}
|
|
9908
10268
|
export const CommentDisplay: FC<Props>;
|
|
@@ -10130,6 +10490,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
10130
10490
|
onReplyAdded: () => void;
|
|
10131
10491
|
onReplyDeleted: () => void;
|
|
10132
10492
|
trimContent?: boolean;
|
|
10493
|
+
enableModalRouting?: boolean;
|
|
10133
10494
|
}
|
|
10134
10495
|
export const PostReplies: FC<Props>;
|
|
10135
10496
|
}
|
|
@@ -10197,6 +10558,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
10197
10558
|
baseTargetUrl?: string;
|
|
10198
10559
|
}
|
|
10199
10560
|
export const PostDisplay: FC<Props>;
|
|
10561
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10200
10562
|
}
|
|
10201
10563
|
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10202
10564
|
import { FC } from 'react';
|
|
@@ -11055,6 +11417,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11055
11417
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11056
11418
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11057
11419
|
})[];
|
|
11420
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11058
11421
|
}
|
|
11059
11422
|
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
11060
11423
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11079,6 +11442,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11079
11442
|
};
|
|
11080
11443
|
refresh: () => Promise<void>;
|
|
11081
11444
|
isLoadingFirstPage: boolean;
|
|
11445
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
11082
11446
|
};
|
|
11083
11447
|
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11084
11448
|
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
@@ -11221,6 +11585,19 @@ declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
|
11221
11585
|
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
|
|
11222
11586
|
};
|
|
11223
11587
|
}
|
|
11588
|
+
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
11589
|
+
import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
|
|
11590
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
11591
|
+
export function useEventsEditorApi(): {
|
|
11592
|
+
getEvent: (eventId: string) => Promise<EventItem>;
|
|
11593
|
+
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11594
|
+
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11595
|
+
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11596
|
+
deleteEventPermanently: (eventId: string) => any;
|
|
11597
|
+
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11598
|
+
deleteModifiedRecurrence: (eventId: string) => any;
|
|
11599
|
+
};
|
|
11600
|
+
}
|
|
11224
11601
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
11225
11602
|
export * from "libs/reach/feature/content/src/editor/EditorListItem";
|
|
11226
11603
|
export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
|
|
@@ -11230,6 +11607,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
11230
11607
|
export * from "libs/reach/feature/content/src/editor/useEditorApi";
|
|
11231
11608
|
export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
|
|
11232
11609
|
export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
|
|
11610
|
+
export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
|
|
11233
11611
|
}
|
|
11234
11612
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
11235
11613
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
@@ -11785,7 +12163,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11785
12163
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11786
12164
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11787
12165
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11788
|
-
export interface
|
|
12166
|
+
export interface PageProps extends SearchBoxProps {
|
|
11789
12167
|
className?: string;
|
|
11790
12168
|
headerContents?: JSX.Element;
|
|
11791
12169
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11803,12 +12181,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11803
12181
|
submenuContents?: JSX.Element;
|
|
11804
12182
|
submenuClassName?: string;
|
|
11805
12183
|
disableScrollableContainerFocus?: boolean;
|
|
12184
|
+
asModal?: boolean;
|
|
12185
|
+
domIdentifier?: string;
|
|
11806
12186
|
}
|
|
11807
12187
|
export enum MenuNavigationMode {
|
|
11808
12188
|
Collapse = 0,
|
|
11809
12189
|
KeepOpen = 1
|
|
11810
12190
|
}
|
|
11811
|
-
export const Page: FC<
|
|
12191
|
+
export const Page: FC<PageProps>;
|
|
11812
12192
|
}
|
|
11813
12193
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11814
12194
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|