@livetiles/reach-plugin-types 0.5.0-preview.8 → 0.5.0-preview.80

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +455 -45
  2. 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;
@@ -1489,6 +1718,7 @@ declare module "libs/reach/util/common/src/user/User" {
1489
1718
  user: UserSummary;
1490
1719
  type: SubscriptionJoinResultType;
1491
1720
  message?: string;
1721
+ isSuccess?: boolean;
1492
1722
  }
1493
1723
  export interface UserActivationResult {
1494
1724
  type: UserActivationResultType;
@@ -2520,6 +2750,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2520
2750
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2521
2751
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2522
2752
  importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
2753
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
2754
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2523
2755
  };
2524
2756
  }
2525
2757
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -3098,7 +3330,7 @@ declare module "libs/reach/util/common/src/Variables" {
3098
3330
  export const videoAttachmentRoundedCornerSize = 20;
3099
3331
  export const inlinePageBannerRoundedCornerSize = 5;
3100
3332
  export const feedbackButtonHeight = 32;
3101
- export const mainScrollableContainerSelector = "lt-reach-main-content";
3333
+ export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
3102
3334
  export const statusColors: {
3103
3335
  draft: string;
3104
3336
  ready: string;
@@ -3214,6 +3446,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
3214
3446
  width?: number;
3215
3447
  height?: number;
3216
3448
  }
3449
+ export interface ImageWithAlignment extends ImageDetails {
3450
+ imageAlignment?: ImageAlignment;
3451
+ }
3452
+ export enum ImageAlignment {
3453
+ Default = "default",
3454
+ Left = "left",
3455
+ Right = "right",
3456
+ Center = "center"
3457
+ }
3217
3458
  }
3218
3459
  declare module "libs/reach/util/common/src/MainContentPanelContext" {
3219
3460
  export interface MainPanelContextType {
@@ -3264,6 +3505,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
3264
3505
  static create(): GenericAccessDeniedTriggerAction;
3265
3506
  }
3266
3507
  }
3508
+ declare module "libs/reach/util/common/src/useModalRouting" {
3509
+ export interface ModalRouting {
3510
+ isActive: boolean;
3511
+ itemId: string;
3512
+ backgroundLocation: any;
3513
+ }
3514
+ export function useModalRouting(): {
3515
+ isModalRoutingActive: boolean;
3516
+ modalItemId: string;
3517
+ backgroundLocation: any;
3518
+ };
3519
+ export function useModalRoutingSettings(): (itemId: string) => {
3520
+ modalRouting: {
3521
+ isActive: boolean;
3522
+ itemId: string;
3523
+ backgroundLocation: {
3524
+ state: {
3525
+ modalRouting: {
3526
+ isActive: boolean;
3527
+ };
3528
+ };
3529
+ pathname: string;
3530
+ search: string;
3531
+ hash: string;
3532
+ key?: string;
3533
+ };
3534
+ };
3535
+ };
3536
+ }
3267
3537
  declare module "libs/reach/util/common/src/index" {
3268
3538
  export { initializeIcons } from 'office-ui-fabric-react';
3269
3539
  export * from "libs/reach/util/common/src/FocusStyles";
@@ -3273,6 +3543,7 @@ declare module "libs/reach/util/common/src/index" {
3273
3543
  export * from "libs/reach/util/common/src/SortDirection";
3274
3544
  export * from "libs/reach/util/common/src/useCacheLanguageApi";
3275
3545
  export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
3546
+ export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
3276
3547
  export * from "libs/reach/util/common/src/user/index";
3277
3548
  export * from "libs/reach/util/common/src/plugins/index";
3278
3549
  export * from "libs/reach/util/common/src/theme/index";
@@ -3291,6 +3562,7 @@ declare module "libs/reach/util/common/src/index" {
3291
3562
  export * from "libs/reach/util/common/src/useBaseRoute";
3292
3563
  export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
3293
3564
  export * from "libs/reach/util/common/src/AccessDeniedIntercept";
3565
+ export * from "libs/reach/util/common/src/useModalRouting";
3294
3566
  }
3295
3567
  declare module "libs/reach/ui/common/src/Link" {
3296
3568
  import { Link as RouterLink } from 'react-router-dom';
@@ -3715,7 +3987,9 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3715
3987
  }[]>;
3716
3988
  export function getFileIcon(filename: string): string;
3717
3989
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
3990
+ export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
3718
3991
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
3992
+ export function getMainScrollableContainer(): HTMLElement;
3719
3993
  }
3720
3994
  declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
3721
3995
  export function useFileAccessTokenApi(): {
@@ -4025,7 +4299,7 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
4025
4299
  export const ToggleWithLabel: FC<IToggleProps>;
4026
4300
  }
4027
4301
  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>>;
4302
+ export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4029
4303
  }
4030
4304
  declare module "libs/reach/ui/common/src/common/UserUtility" {
4031
4305
  import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
@@ -4344,6 +4618,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
4344
4618
  className?: string;
4345
4619
  }>;
4346
4620
  }
4621
+ declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
4622
+ export const useIsMounted: () => () => boolean;
4623
+ }
4347
4624
  declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
4348
4625
  import { PaginatedList } from "libs/reach/util/common/src/index";
4349
4626
  import { DependencyList, SetStateAction } from 'react';
@@ -4824,6 +5101,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4824
5101
  export * from "libs/reach/ui/common/src/common/grid/Grid";
4825
5102
  export * from "libs/reach/ui/common/src/common/hooks/usePagination";
4826
5103
  export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
5104
+ export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
4827
5105
  export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
4828
5106
  export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
4829
5107
  export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
@@ -4907,7 +5185,7 @@ declare module "libs/reach/ui/common/src/index" {
4907
5185
  export * from "libs/reach/ui/common/src/ColorEditor";
4908
5186
  }
4909
5187
  declare module "apps/reach-app/src/app/chrome/CloseButton" {
4910
- import { FC } from 'react';
5188
+ import { FC, DependencyList } from 'react';
4911
5189
  export interface Props {
4912
5190
  navigateTo: string;
4913
5191
  onClose?: () => void;
@@ -4916,7 +5194,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
4916
5194
  className?: string;
4917
5195
  }
4918
5196
  export const CloseButton: FC<Props>;
4919
- export function useEscapeOnClose(onClose: () => void): void;
5197
+ export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
4920
5198
  }
4921
5199
  declare module "apps/reach-app/src/app/common/LogoStyles" {
4922
5200
  export const LogoHostStyle: (size?: {
@@ -4980,8 +5258,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
4980
5258
  export const SkipLinksContextProvider: FC;
4981
5259
  }
4982
5260
  declare module "apps/reach-app/src/app/useAddSkipLinks" {
5261
+ import { DependencyList } from 'react';
4983
5262
  import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
4984
- export function useAddSkipLinks(...skipLinks: SkipLink[]): void;
5263
+ export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
4985
5264
  }
4986
5265
  declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
4987
5266
  import { FC } from 'react';
@@ -5032,6 +5311,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
5032
5311
  closeButtonOptions?: CloseButtonOptions;
5033
5312
  showSearchBox?: boolean;
5034
5313
  disableScrollableContainerFocus?: boolean;
5314
+ asModal?: boolean;
5315
+ domIdentifier?: string;
5035
5316
  }
5036
5317
  export const BasicPage: FC<Props>;
5037
5318
  }
@@ -6268,6 +6549,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6268
6549
  onSaved: (newProperties: UpdatableUserProperties) => void;
6269
6550
  }>;
6270
6551
  }
6552
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6553
+ import { FC } from 'react';
6554
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6555
+ export const GenerateApiKeyDialog: FC<{
6556
+ onApiKeyAdded?: () => void;
6557
+ onDismiss: () => void;
6558
+ user?: UserItem;
6559
+ }>;
6560
+ }
6271
6561
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6272
6562
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6273
6563
  import './UserList.scss';
@@ -6291,7 +6581,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6291
6581
  isLoading?: boolean;
6292
6582
  isEmpty?: boolean;
6293
6583
  emptyPlaceholder?: ReactNode;
6584
+ onKeyChanged?: () => void;
6294
6585
  }
6586
+ export type UserItem = Account & UserSummary & GroupUser & {
6587
+ accountType: string;
6588
+ lastLogin: string | JSX.Element;
6589
+ };
6295
6590
  export const UserList: FC<Props>;
6296
6591
  }
6297
6592
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6324,13 +6619,7 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6324
6619
  className?: string;
6325
6620
  }>;
6326
6621
  }
6327
- declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
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" {
6622
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6334
6623
  import { FC } from 'react';
6335
6624
  import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
6336
6625
  export enum GenericErrorType {
@@ -6339,6 +6628,7 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
6339
6628
  export interface UserImport {
6340
6629
  displayName?: string;
6341
6630
  email?: string;
6631
+ hasPrivateEmail?: boolean;
6342
6632
  importResult?: SubscriptionJoinResultType | GenericErrorType;
6343
6633
  errorMessage?: string;
6344
6634
  }
@@ -6346,21 +6636,45 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
6346
6636
  previewUsers: UserImport[];
6347
6637
  }>;
6348
6638
  }
6349
- declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
6350
- import { UserImport } from "apps/reach-app/src/app/admin/users/ImportUsersPreview";
6639
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
6640
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6641
+ export enum ValidationStatus {
6642
+ Valid = 0,
6643
+ WithErrors = 1,
6644
+ WithUserErrors = 2
6645
+ }
6646
+ export type CsvValidation = {
6647
+ Status?: ValidationStatus;
6648
+ Message?: string;
6649
+ InvalidItems?: string[];
6650
+ };
6351
6651
  export function useUserCsvInviter(): {
6352
6652
  invitedUsers: UserImport[];
6353
6653
  isValidating: boolean;
6354
6654
  isCsvValid: boolean;
6355
6655
  parseCsvFile: (csvFile: File) => void;
6356
- error: string;
6357
- setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6656
+ csvValidation: CsvValidation;
6657
+ setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
6358
6658
  inviteUsers: (onSuccess?: () => void) => Promise<void>;
6359
6659
  isParserReady: boolean;
6360
- isImporting: boolean;
6660
+ isInviting: boolean;
6661
+ canInvite: boolean;
6662
+ csvFile: File;
6361
6663
  };
6362
6664
  }
6363
- declare module "apps/reach-app/src/app/admin/users/ImportUserButton" {
6665
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
6666
+ export function createCsvUrl(header: string, content: string): string;
6667
+ }
6668
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
6669
+ import { FC } from 'react';
6670
+ import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
6671
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6672
+ export const CsvFileValidationResult: FC<{
6673
+ csvValidation: CsvValidation;
6674
+ invitedUsers: UserImport[];
6675
+ }>;
6676
+ }
6677
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6364
6678
  import { FC } from 'react';
6365
6679
  export const ImportUserButton: FC<{
6366
6680
  onSuccessfulImport?: () => void;
@@ -6397,29 +6711,28 @@ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6397
6711
  }
6398
6712
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6399
6713
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6400
- export class EventResponseTriggerAction implements AppTriggerAction {
6714
+ export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
6401
6715
  static type: string;
6402
6716
  type: string;
6403
6717
  itemId: string;
6404
6718
  response: EventResponse;
6405
6719
  locationId: string;
6406
6720
  onBehalfOfUpn: string;
6407
- static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventResponseTriggerAction;
6721
+ static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
6408
6722
  }
6409
- export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6723
+ export class EventResponseTriggerAction implements AppTriggerAction {
6410
6724
  static type: string;
6411
6725
  type: string;
6412
- recurrenceSeriesId: string;
6726
+ itemId: string;
6413
6727
  response: EventResponse;
6414
- static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6728
+ static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
6415
6729
  }
6416
- export class LikeFullSeriesTriggerAction implements AppTriggerAction {
6730
+ export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6417
6731
  static type: string;
6418
6732
  type: string;
6419
6733
  recurrenceSeriesId: string;
6420
- itemId: string;
6421
- isLiked: boolean;
6422
- static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
6734
+ response: EventResponse;
6735
+ static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6423
6736
  }
6424
6737
  export class FollowCommentsTriggerAction implements AppTriggerAction {
6425
6738
  static type: string;
@@ -6434,6 +6747,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6434
6747
  followByDefault: boolean;
6435
6748
  static create(followState: boolean): AutoFollowPostsTriggerAction;
6436
6749
  }
6750
+ export class AutoLikeItemTriggerAction implements AppTriggerAction {
6751
+ static type: string;
6752
+ type: string;
6753
+ recurrenceSeriesId: string;
6754
+ isLiked: boolean;
6755
+ likeCount: number;
6756
+ static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6757
+ }
6437
6758
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6438
6759
  static type: string;
6439
6760
  type: string;
@@ -6454,6 +6775,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6454
6775
  type: string;
6455
6776
  static create(): StreamMarkAllAsReadAction;
6456
6777
  }
6778
+ export class RefetchItemAction implements AppTriggerAction {
6779
+ static type: string;
6780
+ type: string;
6781
+ itemId: string;
6782
+ static create(itemId: string): RefetchItemAction;
6783
+ }
6784
+ export class RefetchStreamItemAction implements AppTriggerAction {
6785
+ static type: string;
6786
+ type: string;
6787
+ itemId: string;
6788
+ static create(itemId: string): RefetchStreamItemAction;
6789
+ }
6457
6790
  }
6458
6791
  declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6459
6792
  export interface CommentFilter {
@@ -6613,7 +6946,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6613
6946
  import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6614
6947
  import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6615
6948
  import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6616
- export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
6949
+ export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
6617
6950
  }
6618
6951
  export interface BaseFilterDefinition {
6619
6952
  search?: string;
@@ -6621,6 +6954,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6621
6954
  pageSize?: string | number;
6622
6955
  groupId?: string;
6623
6956
  }
6957
+ export interface ItemIdsFilterDefinition {
6958
+ itemIds?: string;
6959
+ }
6624
6960
  export interface IndexableFilterDefinition {
6625
6961
  [key: string]: any;
6626
6962
  }
@@ -7108,6 +7444,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
7108
7444
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7109
7445
  import { FC, MouseEvent } from 'react';
7110
7446
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7447
+ import { LocationState } from 'history';
7111
7448
  export const ClickableOverlay: FC<{
7112
7449
  itemId: string;
7113
7450
  itemType: ItemResourceTypes;
@@ -7118,6 +7455,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7118
7455
  onClick?: (event: MouseEvent<unknown>) => unknown;
7119
7456
  openTargetInNewWindow?: boolean;
7120
7457
  isExternalContent?: boolean;
7458
+ locationState?: LocationState;
7459
+ }>;
7460
+ }
7461
+ declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
7462
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7463
+ import { FC } from 'react';
7464
+ export const ClickableOverlayWithModalRouting: FC<{
7465
+ itemId: string;
7466
+ itemType: ItemResourceTypes;
7467
+ baseRoute: string;
7468
+ title?: string;
7469
+ isExternalContent?: boolean;
7470
+ targetUrl?: string;
7121
7471
  }>;
7122
7472
  }
7123
7473
  declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
@@ -7128,6 +7478,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
7128
7478
  targetUrl?: string;
7129
7479
  readOnly?: boolean;
7130
7480
  backgroundColor?: string;
7481
+ enableModalRouting?: boolean;
7131
7482
  className?: string;
7132
7483
  }>;
7133
7484
  }
@@ -7224,6 +7575,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7224
7575
  height?: number;
7225
7576
  hidePlayerIfActive?: boolean;
7226
7577
  className?: string;
7578
+ documentIconName?: string;
7227
7579
  }
7228
7580
  export const PublishableItemBanner: FC<Props>;
7229
7581
  }
@@ -7462,10 +7814,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
7462
7814
  }
7463
7815
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
7464
7816
  import { FC } from 'react';
7817
+ import { EventResponse } from "libs/reach/util/common/src/index";
7465
7818
  export const EventUserRegistration: FC<{
7466
7819
  disabled?: boolean;
7467
7820
  hideInfoMessage?: boolean;
7468
7821
  showNoRegistrationRequired?: boolean;
7822
+ onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7469
7823
  className?: string;
7470
7824
  }>;
7471
7825
  }
@@ -7535,8 +7889,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7535
7889
  export const CardLikeButton: FC<{
7536
7890
  item: NewsItem | EventItem;
7537
7891
  itemResourceType: ItemResourceTypes;
7538
- isAutoLiked?: boolean;
7539
- onLiked?: (isLiked: boolean) => unknown;
7892
+ onToggleLike?: (isLiked: boolean, likeCount: number) => void;
7540
7893
  className?: string;
7541
7894
  }>;
7542
7895
  }
@@ -7558,6 +7911,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
7558
7911
  className?: string;
7559
7912
  }>;
7560
7913
  }
7914
+ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
7915
+ import { FC } from 'react';
7916
+ export const LinkWithModalRouting: FC<{
7917
+ url: string;
7918
+ itemId: string;
7919
+ hash?: string;
7920
+ onClick?: (e: React.MouseEvent) => unknown;
7921
+ ariaHidden?: boolean;
7922
+ ariaLabel?: string;
7923
+ className?: string;
7924
+ }>;
7925
+ }
7561
7926
  declare module "libs/reach/feature/content/src/events/list/EventCard" {
7562
7927
  import { FC } from 'react';
7563
7928
  import { EventItem } from "libs/reach/util/common/src/index";
@@ -7576,6 +7941,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7576
7941
  allowFilterByChannels?: boolean;
7577
7942
  showFeedbackButtons?: boolean;
7578
7943
  readOnly?: boolean;
7944
+ enableModalRouting?: boolean;
7579
7945
  className?: string;
7580
7946
  }>;
7581
7947
  }
@@ -7768,7 +8134,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
7768
8134
  resourceKey?: string;
7769
8135
  resourceValues?: string;
7770
8136
  className?: string;
8137
+ enableModalRouting?: boolean;
8138
+ itemId?: string;
7771
8139
  isOverrideLink: boolean;
8140
+ icon?: string;
7772
8141
  }>;
7773
8142
  }
7774
8143
  declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
@@ -7827,6 +8196,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7827
8196
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7828
8197
  onKeywordClick?: (keyword: string) => unknown;
7829
8198
  openTargetInNewWindow?: boolean;
8199
+ enableModalRouting?: boolean;
7830
8200
  className?: string;
7831
8201
  }
7832
8202
  export const PageItemTile: FC<Props>;
@@ -7872,6 +8242,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
7872
8242
  onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7873
8243
  styleDefinition?: StyleDefinition;
7874
8244
  readOnly?: boolean;
8245
+ enableModalRouting?: boolean;
7875
8246
  className?: string;
7876
8247
  }
7877
8248
  export const PublishableItemTileWrapper: FC<Props>;
@@ -7915,6 +8286,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7915
8286
  onKeywordClick?: (keyword: string) => unknown;
7916
8287
  styleDefinition?: StyleDefinition;
7917
8288
  readOnly?: boolean;
8289
+ enableModalRouting?: boolean;
7918
8290
  className?: string;
7919
8291
  }
7920
8292
  export const NewsItemTile: FC<Props>;
@@ -7940,6 +8312,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
7940
8312
  previewTheme?: CommentInputTheme;
7941
8313
  buttons?: ReactNode;
7942
8314
  groupIds?: string[];
8315
+ enableModalRouting?: boolean;
7943
8316
  className?: string;
7944
8317
  }>;
7945
8318
  export const EmbeddedObjectAccessDeniedTile: FC<{
@@ -7956,6 +8329,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
7956
8329
  attachments: Attachment[];
7957
8330
  onDeleteClick?: (attachment: Attachment) => void;
7958
8331
  previewTheme?: CommentInputTheme;
8332
+ enableModalRouting?: boolean;
7959
8333
  className?: string;
7960
8334
  }>;
7961
8335
  }
@@ -8116,6 +8490,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8116
8490
  import { FC, ReactNode } from 'react';
8117
8491
  export const InlineObjectToolbar: FC<{
8118
8492
  onDelete?: () => void;
8493
+ deleteAriaLabelResourceKey?: string;
8119
8494
  additionalButtons?: ReactNode;
8120
8495
  }>;
8121
8496
  export const InlineObjectToolbarWrapper: FC<{
@@ -8123,15 +8498,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8123
8498
  }>;
8124
8499
  }
8125
8500
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8126
- import { FC } from 'react';
8501
+ import { FC, ReactNode } from 'react';
8502
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8127
8503
  export const ImageToolbar: FC<{
8128
8504
  onDelete?: () => void;
8129
8505
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8130
8506
  onClose?: (e: React.MouseEvent<any>) => void;
8131
8507
  onCrop?: (e: React.MouseEvent<any>) => void;
8508
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8132
8509
  showFullScreenButton?: boolean;
8133
8510
  showCloseButton?: boolean;
8134
8511
  showCropButton?: boolean;
8512
+ alignmentButtons?: ReactNode;
8135
8513
  }>;
8136
8514
  }
8137
8515
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8258,6 +8636,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8258
8636
  export const EditCommentWithAttachments: FC<Props>;
8259
8637
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
8260
8638
  }
8639
+ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8640
+ import { FC } from 'react';
8641
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8642
+ export const BookmarkButton: FC<{
8643
+ item: PublishableItem;
8644
+ isReadOnly?: boolean;
8645
+ className?: string;
8646
+ }>;
8647
+ }
8261
8648
  declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8262
8649
  import { FC } from 'react';
8263
8650
  export const CardStatisticItem: FC<{
@@ -8275,13 +8662,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8275
8662
  };
8276
8663
  }>;
8277
8664
  }
8278
- declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8665
+ declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
8666
+ import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8279
8667
  import { FC } from 'react';
8280
- import { PublishableItem } from "libs/reach/util/common/src/index";
8281
- export const BookmarkButton: FC<{
8282
- item: PublishableItem;
8283
- isReadOnly?: boolean;
8284
- className?: string;
8668
+ export const CardCommentButton: FC<{
8669
+ item: NewsItem | EventItem;
8670
+ itemResourceType: ItemResourceTypes;
8671
+ targetRoute: string;
8672
+ enableModalRouting?: boolean;
8285
8673
  }>;
8286
8674
  }
8287
8675
  declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
@@ -8289,11 +8677,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8289
8677
  import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8290
8678
  export const CardFooter: FC<{
8291
8679
  item: NewsItem | EventItem;
8292
- showComments: boolean;
8293
8680
  targetRoute: string;
8294
8681
  itemResourceType: ItemResourceTypes;
8295
- isAutoLiked?: boolean;
8296
- onLiked?: (isLiked: boolean) => unknown;
8682
+ enableModalRouting?: boolean;
8297
8683
  }>;
8298
8684
  export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8299
8685
  }
@@ -8592,7 +8978,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8592
8978
  item: NewsItem;
8593
8979
  baseRoute: string;
8594
8980
  language: string;
8595
- showComments: boolean;
8596
8981
  highlight: boolean;
8597
8982
  className?: string;
8598
8983
  }
@@ -8699,6 +9084,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8699
9084
  }
8700
9085
  declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8701
9086
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9087
+ export const ImageAlignmentStyles: (alignment: string, width: number) => import("styled-components").FlattenSimpleInterpolation | "";
8702
9088
  export const InlineImageMapper: HtmlComponentMapper;
8703
9089
  }
8704
9090
  declare module "libs/reach/feature/content/src/common/body/InlineContact" {
@@ -9136,6 +9522,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9136
9522
  readOnly?: boolean;
9137
9523
  trimContent?: boolean;
9138
9524
  showReplyBox?: boolean;
9525
+ enableModalRouting?: boolean;
9139
9526
  className?: string;
9140
9527
  }>;
9141
9528
  }
@@ -9158,6 +9545,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9158
9545
  onReply?: (comment: Comment, commentSender?: Account) => void;
9159
9546
  readOnly?: boolean;
9160
9547
  trimContent?: boolean;
9548
+ enableModalRouting?: boolean;
9161
9549
  className?: string;
9162
9550
  }
9163
9551
  export const CommentList: FC<CommentListProps>;
@@ -9217,6 +9605,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9217
9605
  showReplyBox?: boolean;
9218
9606
  trimContent?: boolean;
9219
9607
  title?: ReactNode;
9608
+ enableModalRouting?: boolean;
9220
9609
  className?: string;
9221
9610
  };
9222
9611
  export const PagedCommentsSection: FC<Props>;
@@ -9485,6 +9874,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9485
9874
  layoutMode?: ItemTileLayoutMode;
9486
9875
  bannerDefaultWidth?: number;
9487
9876
  showPlaceholderIfNoBannerInfo?: boolean;
9877
+ documentIconName?: string;
9488
9878
  }>;
9489
9879
  }
9490
9880
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9749,7 +10139,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
9749
10139
  import { FC } from 'react';
9750
10140
  export const ContentWithShowMoreButton: FC<{
9751
10141
  domIdentifier: string;
9752
- trimContent: boolean;
10142
+ trimContent?: boolean;
9753
10143
  className?: string;
9754
10144
  }>;
9755
10145
  }
@@ -9896,13 +10286,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
9896
10286
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
9897
10287
  getHashtagFilterRoute?: (hashtag: string) => string;
9898
10288
  highlight?: boolean;
9899
- isInitialLiked?: boolean;
9900
10289
  hasUnreadReplies?: boolean;
9901
10290
  onReplyIconClick?: () => void;
9902
10291
  onReply?: (comment: Comment, commentSender?: Account) => void;
9903
10292
  replyCount?: number;
9904
10293
  readOnly?: boolean;
9905
10294
  trimContent?: boolean;
10295
+ enableModalRouting?: boolean;
9906
10296
  className?: string;
9907
10297
  }
9908
10298
  export const CommentDisplay: FC<Props>;
@@ -10130,6 +10520,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
10130
10520
  onReplyAdded: () => void;
10131
10521
  onReplyDeleted: () => void;
10132
10522
  trimContent?: boolean;
10523
+ enableModalRouting?: boolean;
10133
10524
  }
10134
10525
  export const PostReplies: FC<Props>;
10135
10526
  }
@@ -10197,6 +10588,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10197
10588
  baseTargetUrl?: string;
10198
10589
  }
10199
10590
  export const PostDisplay: FC<Props>;
10591
+ export const PostDisplayWithModalRouting: FC<Props>;
10200
10592
  }
10201
10593
  declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10202
10594
  import { FC } from 'react';
@@ -11055,6 +11447,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11055
11447
  poll?: import("@livetiles/reach/util/common").Poll;
11056
11448
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11057
11449
  })[];
11450
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11058
11451
  }
11059
11452
  declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11060
11453
  import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11079,6 +11472,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11079
11472
  };
11080
11473
  refresh: () => Promise<void>;
11081
11474
  isLoadingFirstPage: boolean;
11475
+ refetchItem: (itemId: string) => Promise<void>;
11082
11476
  };
11083
11477
  export function hasFilter(filter?: StreamFilterDefinition): boolean;
11084
11478
  export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
@@ -11221,6 +11615,19 @@ declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11221
11615
  deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11222
11616
  };
11223
11617
  }
11618
+ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11619
+ import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
11620
+ import { PublishableItem } from "libs/reach/util/common/src/index";
11621
+ export function useEventsEditorApi(): {
11622
+ getEvent: (eventId: string) => Promise<EventItem>;
11623
+ cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11624
+ uncancelEvent: (id: string) => Promise<unknown>;
11625
+ unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11626
+ deleteEventPermanently: (eventId: string) => any;
11627
+ saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11628
+ deleteModifiedRecurrence: (eventId: string) => any;
11629
+ };
11630
+ }
11224
11631
  declare module "libs/reach/feature/content/src/editor/index" {
11225
11632
  export * from "libs/reach/feature/content/src/editor/EditorListItem";
11226
11633
  export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
@@ -11230,6 +11637,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
11230
11637
  export * from "libs/reach/feature/content/src/editor/useEditorApi";
11231
11638
  export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
11232
11639
  export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
11640
+ export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
11233
11641
  }
11234
11642
  declare module "libs/reach/feature/content/src/public-user/index" {
11235
11643
  export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
@@ -11785,7 +12193,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11785
12193
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
11786
12194
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
11787
12195
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
11788
- export interface Props extends SearchBoxProps {
12196
+ export interface PageProps extends SearchBoxProps {
11789
12197
  className?: string;
11790
12198
  headerContents?: JSX.Element;
11791
12199
  headerToolbar?: HeaderToolbarTypeHack;
@@ -11803,12 +12211,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11803
12211
  submenuContents?: JSX.Element;
11804
12212
  submenuClassName?: string;
11805
12213
  disableScrollableContainerFocus?: boolean;
12214
+ asModal?: boolean;
12215
+ domIdentifier?: string;
11806
12216
  }
11807
12217
  export enum MenuNavigationMode {
11808
12218
  Collapse = 0,
11809
12219
  KeepOpen = 1
11810
12220
  }
11811
- export const Page: FC<Props>;
12221
+ export const Page: FC<PageProps>;
11812
12222
  }
11813
12223
  declare module "apps/reach-app/src/plugins/reach-chrome" {
11814
12224
  import { Page } from "apps/reach-app/src/app/chrome/Page";
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.8",
7
+ "version": "0.5.0-preview.80",
8
8
  "dependencies": {}
9
9
  }