@livetiles/reach-plugin-types 0.5.0-preview.7 → 0.5.0-preview.70

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 +451 -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;
@@ -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
+ imageAlignment?: 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(...skipLinks: SkipLink[]): void;
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/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" {
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,21 +6635,44 @@ 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";
6640
+ export enum ValidationStatus {
6641
+ Valid = 0,
6642
+ WithErrors = 1,
6643
+ WithUserErrors = 2
6644
+ }
6645
+ export type CsvValidation = {
6646
+ Status?: ValidationStatus;
6647
+ Message?: string;
6648
+ };
6351
6649
  export function useUserCsvInviter(): {
6352
6650
  invitedUsers: UserImport[];
6353
6651
  isValidating: boolean;
6354
6652
  isCsvValid: boolean;
6355
6653
  parseCsvFile: (csvFile: File) => void;
6356
- error: string;
6357
- setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6654
+ csvValidation: CsvValidation;
6655
+ setCsvValidation: (status: ValidationStatus, message: string) => void;
6358
6656
  inviteUsers: (onSuccess?: () => void) => Promise<void>;
6359
6657
  isParserReady: boolean;
6360
- isImporting: boolean;
6658
+ isInviting: boolean;
6659
+ canInvite: boolean;
6660
+ csvFile: File;
6361
6661
  };
6362
6662
  }
6363
- declare module "apps/reach-app/src/app/admin/users/ImportUserButton" {
6663
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
6664
+ export function createCsvUrl(header: string, content: string): string;
6665
+ }
6666
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
6667
+ import { FC } from 'react';
6668
+ import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
6669
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6670
+ export const CsvFileValidationResult: FC<{
6671
+ csvValidation: CsvValidation;
6672
+ invitedUsers: UserImport[];
6673
+ }>;
6674
+ }
6675
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6364
6676
  import { FC } from 'react';
6365
6677
  export const ImportUserButton: FC<{
6366
6678
  onSuccessfulImport?: () => void;
@@ -6397,29 +6709,28 @@ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6397
6709
  }
6398
6710
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6399
6711
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6400
- export class EventResponseTriggerAction implements AppTriggerAction {
6712
+ export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
6401
6713
  static type: string;
6402
6714
  type: string;
6403
6715
  itemId: string;
6404
6716
  response: EventResponse;
6405
6717
  locationId: string;
6406
6718
  onBehalfOfUpn: string;
6407
- static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventResponseTriggerAction;
6719
+ static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
6408
6720
  }
6409
- export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6721
+ export class EventResponseTriggerAction implements AppTriggerAction {
6410
6722
  static type: string;
6411
6723
  type: string;
6412
- recurrenceSeriesId: string;
6724
+ itemId: string;
6413
6725
  response: EventResponse;
6414
- static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6726
+ static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
6415
6727
  }
6416
- export class LikeFullSeriesTriggerAction implements AppTriggerAction {
6728
+ export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6417
6729
  static type: string;
6418
6730
  type: string;
6419
6731
  recurrenceSeriesId: string;
6420
- itemId: string;
6421
- isLiked: boolean;
6422
- static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
6732
+ response: EventResponse;
6733
+ static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6423
6734
  }
6424
6735
  export class FollowCommentsTriggerAction implements AppTriggerAction {
6425
6736
  static type: string;
@@ -6434,6 +6745,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6434
6745
  followByDefault: boolean;
6435
6746
  static create(followState: boolean): AutoFollowPostsTriggerAction;
6436
6747
  }
6748
+ export class AutoLikeItemTriggerAction implements AppTriggerAction {
6749
+ static type: string;
6750
+ type: string;
6751
+ recurrenceSeriesId: string;
6752
+ isLiked: boolean;
6753
+ likeCount: number;
6754
+ static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6755
+ }
6437
6756
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6438
6757
  static type: string;
6439
6758
  type: string;
@@ -6454,6 +6773,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6454
6773
  type: string;
6455
6774
  static create(): StreamMarkAllAsReadAction;
6456
6775
  }
6776
+ export class RefetchItemAction implements AppTriggerAction {
6777
+ static type: string;
6778
+ type: string;
6779
+ itemId: string;
6780
+ static create(itemId: string): RefetchItemAction;
6781
+ }
6782
+ export class RefetchStreamItemAction implements AppTriggerAction {
6783
+ static type: string;
6784
+ type: string;
6785
+ itemId: string;
6786
+ static create(itemId: string): RefetchStreamItemAction;
6787
+ }
6457
6788
  }
6458
6789
  declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6459
6790
  export interface CommentFilter {
@@ -6613,7 +6944,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6613
6944
  import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6614
6945
  import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6615
6946
  import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6616
- export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
6947
+ export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
6617
6948
  }
6618
6949
  export interface BaseFilterDefinition {
6619
6950
  search?: string;
@@ -6621,6 +6952,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6621
6952
  pageSize?: string | number;
6622
6953
  groupId?: string;
6623
6954
  }
6955
+ export interface ItemIdsFilterDefinition {
6956
+ itemIds?: string;
6957
+ }
6624
6958
  export interface IndexableFilterDefinition {
6625
6959
  [key: string]: any;
6626
6960
  }
@@ -7108,6 +7442,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
7108
7442
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7109
7443
  import { FC, MouseEvent } from 'react';
7110
7444
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7445
+ import { LocationState } from 'history';
7111
7446
  export const ClickableOverlay: FC<{
7112
7447
  itemId: string;
7113
7448
  itemType: ItemResourceTypes;
@@ -7118,6 +7453,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7118
7453
  onClick?: (event: MouseEvent<unknown>) => unknown;
7119
7454
  openTargetInNewWindow?: boolean;
7120
7455
  isExternalContent?: boolean;
7456
+ locationState?: LocationState;
7457
+ }>;
7458
+ }
7459
+ declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
7460
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7461
+ import { FC } from 'react';
7462
+ export const ClickableOverlayWithModalRouting: FC<{
7463
+ itemId: string;
7464
+ itemType: ItemResourceTypes;
7465
+ baseRoute: string;
7466
+ title?: string;
7467
+ isExternalContent?: boolean;
7468
+ targetUrl?: string;
7121
7469
  }>;
7122
7470
  }
7123
7471
  declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
@@ -7128,6 +7476,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
7128
7476
  targetUrl?: string;
7129
7477
  readOnly?: boolean;
7130
7478
  backgroundColor?: string;
7479
+ enableModalRouting?: boolean;
7131
7480
  className?: string;
7132
7481
  }>;
7133
7482
  }
@@ -7224,6 +7573,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7224
7573
  height?: number;
7225
7574
  hidePlayerIfActive?: boolean;
7226
7575
  className?: string;
7576
+ documentIconName?: string;
7227
7577
  }
7228
7578
  export const PublishableItemBanner: FC<Props>;
7229
7579
  }
@@ -7462,10 +7812,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
7462
7812
  }
7463
7813
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
7464
7814
  import { FC } from 'react';
7815
+ import { EventResponse } from "libs/reach/util/common/src/index";
7465
7816
  export const EventUserRegistration: FC<{
7466
7817
  disabled?: boolean;
7467
7818
  hideInfoMessage?: boolean;
7468
7819
  showNoRegistrationRequired?: boolean;
7820
+ onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7469
7821
  className?: string;
7470
7822
  }>;
7471
7823
  }
@@ -7535,8 +7887,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7535
7887
  export const CardLikeButton: FC<{
7536
7888
  item: NewsItem | EventItem;
7537
7889
  itemResourceType: ItemResourceTypes;
7538
- isAutoLiked?: boolean;
7539
- onLiked?: (isLiked: boolean) => unknown;
7890
+ onToggleLike?: (isLiked: boolean, likeCount: number) => void;
7540
7891
  className?: string;
7541
7892
  }>;
7542
7893
  }
@@ -7558,6 +7909,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
7558
7909
  className?: string;
7559
7910
  }>;
7560
7911
  }
7912
+ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
7913
+ import { FC } from 'react';
7914
+ export const LinkWithModalRouting: FC<{
7915
+ url: string;
7916
+ itemId: string;
7917
+ hash?: string;
7918
+ onClick?: (e: React.MouseEvent) => unknown;
7919
+ ariaHidden?: boolean;
7920
+ ariaLabel?: string;
7921
+ className?: string;
7922
+ }>;
7923
+ }
7561
7924
  declare module "libs/reach/feature/content/src/events/list/EventCard" {
7562
7925
  import { FC } from 'react';
7563
7926
  import { EventItem } from "libs/reach/util/common/src/index";
@@ -7576,6 +7939,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7576
7939
  allowFilterByChannels?: boolean;
7577
7940
  showFeedbackButtons?: boolean;
7578
7941
  readOnly?: boolean;
7942
+ enableModalRouting?: boolean;
7579
7943
  className?: string;
7580
7944
  }>;
7581
7945
  }
@@ -7768,6 +8132,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
7768
8132
  resourceKey?: string;
7769
8133
  resourceValues?: string;
7770
8134
  className?: string;
8135
+ enableModalRouting?: boolean;
8136
+ itemId?: string;
7771
8137
  isOverrideLink: boolean;
7772
8138
  }>;
7773
8139
  }
@@ -7827,6 +8193,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7827
8193
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7828
8194
  onKeywordClick?: (keyword: string) => unknown;
7829
8195
  openTargetInNewWindow?: boolean;
8196
+ enableModalRouting?: boolean;
7830
8197
  className?: string;
7831
8198
  }
7832
8199
  export const PageItemTile: FC<Props>;
@@ -7872,6 +8239,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
7872
8239
  onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7873
8240
  styleDefinition?: StyleDefinition;
7874
8241
  readOnly?: boolean;
8242
+ enableModalRouting?: boolean;
7875
8243
  className?: string;
7876
8244
  }
7877
8245
  export const PublishableItemTileWrapper: FC<Props>;
@@ -7915,6 +8283,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7915
8283
  onKeywordClick?: (keyword: string) => unknown;
7916
8284
  styleDefinition?: StyleDefinition;
7917
8285
  readOnly?: boolean;
8286
+ enableModalRouting?: boolean;
7918
8287
  className?: string;
7919
8288
  }
7920
8289
  export const NewsItemTile: FC<Props>;
@@ -7940,6 +8309,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
7940
8309
  previewTheme?: CommentInputTheme;
7941
8310
  buttons?: ReactNode;
7942
8311
  groupIds?: string[];
8312
+ enableModalRouting?: boolean;
7943
8313
  className?: string;
7944
8314
  }>;
7945
8315
  export const EmbeddedObjectAccessDeniedTile: FC<{
@@ -7956,6 +8326,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
7956
8326
  attachments: Attachment[];
7957
8327
  onDeleteClick?: (attachment: Attachment) => void;
7958
8328
  previewTheme?: CommentInputTheme;
8329
+ enableModalRouting?: boolean;
7959
8330
  className?: string;
7960
8331
  }>;
7961
8332
  }
@@ -8123,15 +8494,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8123
8494
  }>;
8124
8495
  }
8125
8496
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8126
- import { FC } from 'react';
8497
+ import { FC, ReactNode } from 'react';
8498
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8127
8499
  export const ImageToolbar: FC<{
8128
8500
  onDelete?: () => void;
8129
8501
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8130
8502
  onClose?: (e: React.MouseEvent<any>) => void;
8131
8503
  onCrop?: (e: React.MouseEvent<any>) => void;
8504
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8132
8505
  showFullScreenButton?: boolean;
8133
8506
  showCloseButton?: boolean;
8134
8507
  showCropButton?: boolean;
8508
+ alignmentButtons?: ReactNode;
8135
8509
  }>;
8136
8510
  }
8137
8511
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8258,6 +8632,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8258
8632
  export const EditCommentWithAttachments: FC<Props>;
8259
8633
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
8260
8634
  }
8635
+ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8636
+ import { FC } from 'react';
8637
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8638
+ export const BookmarkButton: FC<{
8639
+ item: PublishableItem;
8640
+ isReadOnly?: boolean;
8641
+ className?: string;
8642
+ }>;
8643
+ }
8261
8644
  declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8262
8645
  import { FC } from 'react';
8263
8646
  export const CardStatisticItem: FC<{
@@ -8275,13 +8658,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8275
8658
  };
8276
8659
  }>;
8277
8660
  }
8278
- declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8661
+ declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
8662
+ import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8279
8663
  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;
8664
+ export const CardCommentButton: FC<{
8665
+ item: NewsItem | EventItem;
8666
+ itemResourceType: ItemResourceTypes;
8667
+ targetRoute: string;
8668
+ enableModalRouting?: boolean;
8285
8669
  }>;
8286
8670
  }
8287
8671
  declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
@@ -8289,11 +8673,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8289
8673
  import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8290
8674
  export const CardFooter: FC<{
8291
8675
  item: NewsItem | EventItem;
8292
- showComments: boolean;
8293
8676
  targetRoute: string;
8294
8677
  itemResourceType: ItemResourceTypes;
8295
- isAutoLiked?: boolean;
8296
- onLiked?: (isLiked: boolean) => unknown;
8678
+ enableModalRouting?: boolean;
8297
8679
  }>;
8298
8680
  export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8299
8681
  }
@@ -8592,7 +8974,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8592
8974
  item: NewsItem;
8593
8975
  baseRoute: string;
8594
8976
  language: string;
8595
- showComments: boolean;
8596
8977
  highlight: boolean;
8597
8978
  className?: string;
8598
8979
  }
@@ -8699,6 +9080,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8699
9080
  }
8700
9081
  declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8701
9082
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9083
+ export const ImageAlignmentStyles: (alignment: string, width: number) => import("styled-components").FlattenSimpleInterpolation | "";
8702
9084
  export const InlineImageMapper: HtmlComponentMapper;
8703
9085
  }
8704
9086
  declare module "libs/reach/feature/content/src/common/body/InlineContact" {
@@ -9136,6 +9518,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9136
9518
  readOnly?: boolean;
9137
9519
  trimContent?: boolean;
9138
9520
  showReplyBox?: boolean;
9521
+ enableModalRouting?: boolean;
9139
9522
  className?: string;
9140
9523
  }>;
9141
9524
  }
@@ -9158,6 +9541,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9158
9541
  onReply?: (comment: Comment, commentSender?: Account) => void;
9159
9542
  readOnly?: boolean;
9160
9543
  trimContent?: boolean;
9544
+ enableModalRouting?: boolean;
9161
9545
  className?: string;
9162
9546
  }
9163
9547
  export const CommentList: FC<CommentListProps>;
@@ -9217,6 +9601,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9217
9601
  showReplyBox?: boolean;
9218
9602
  trimContent?: boolean;
9219
9603
  title?: ReactNode;
9604
+ enableModalRouting?: boolean;
9220
9605
  className?: string;
9221
9606
  };
9222
9607
  export const PagedCommentsSection: FC<Props>;
@@ -9485,6 +9870,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9485
9870
  layoutMode?: ItemTileLayoutMode;
9486
9871
  bannerDefaultWidth?: number;
9487
9872
  showPlaceholderIfNoBannerInfo?: boolean;
9873
+ documentIconName?: string;
9488
9874
  }>;
9489
9875
  }
9490
9876
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9749,7 +10135,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
9749
10135
  import { FC } from 'react';
9750
10136
  export const ContentWithShowMoreButton: FC<{
9751
10137
  domIdentifier: string;
9752
- trimContent: boolean;
10138
+ trimContent?: boolean;
9753
10139
  className?: string;
9754
10140
  }>;
9755
10141
  }
@@ -9896,13 +10282,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
9896
10282
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
9897
10283
  getHashtagFilterRoute?: (hashtag: string) => string;
9898
10284
  highlight?: boolean;
9899
- isInitialLiked?: boolean;
9900
10285
  hasUnreadReplies?: boolean;
9901
10286
  onReplyIconClick?: () => void;
9902
10287
  onReply?: (comment: Comment, commentSender?: Account) => void;
9903
10288
  replyCount?: number;
9904
10289
  readOnly?: boolean;
9905
10290
  trimContent?: boolean;
10291
+ enableModalRouting?: boolean;
9906
10292
  className?: string;
9907
10293
  }
9908
10294
  export const CommentDisplay: FC<Props>;
@@ -10130,6 +10516,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
10130
10516
  onReplyAdded: () => void;
10131
10517
  onReplyDeleted: () => void;
10132
10518
  trimContent?: boolean;
10519
+ enableModalRouting?: boolean;
10133
10520
  }
10134
10521
  export const PostReplies: FC<Props>;
10135
10522
  }
@@ -10197,6 +10584,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10197
10584
  baseTargetUrl?: string;
10198
10585
  }
10199
10586
  export const PostDisplay: FC<Props>;
10587
+ export const PostDisplayWithModalRouting: FC<Props>;
10200
10588
  }
10201
10589
  declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10202
10590
  import { FC } from 'react';
@@ -11055,6 +11443,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11055
11443
  poll?: import("@livetiles/reach/util/common").Poll;
11056
11444
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11057
11445
  })[];
11446
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11058
11447
  }
11059
11448
  declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11060
11449
  import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11079,6 +11468,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11079
11468
  };
11080
11469
  refresh: () => Promise<void>;
11081
11470
  isLoadingFirstPage: boolean;
11471
+ refetchItem: (itemId: string) => Promise<void>;
11082
11472
  };
11083
11473
  export function hasFilter(filter?: StreamFilterDefinition): boolean;
11084
11474
  export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
@@ -11221,6 +11611,19 @@ declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11221
11611
  deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11222
11612
  };
11223
11613
  }
11614
+ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11615
+ import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
11616
+ import { PublishableItem } from "libs/reach/util/common/src/index";
11617
+ export function useEventsEditorApi(): {
11618
+ getEvent: (eventId: string) => Promise<EventItem>;
11619
+ cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11620
+ uncancelEvent: (id: string) => Promise<unknown>;
11621
+ unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11622
+ deleteEventPermanently: (eventId: string) => any;
11623
+ saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11624
+ deleteModifiedRecurrence: (eventId: string) => any;
11625
+ };
11626
+ }
11224
11627
  declare module "libs/reach/feature/content/src/editor/index" {
11225
11628
  export * from "libs/reach/feature/content/src/editor/EditorListItem";
11226
11629
  export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
@@ -11230,6 +11633,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
11230
11633
  export * from "libs/reach/feature/content/src/editor/useEditorApi";
11231
11634
  export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
11232
11635
  export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
11636
+ export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
11233
11637
  }
11234
11638
  declare module "libs/reach/feature/content/src/public-user/index" {
11235
11639
  export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
@@ -11785,7 +12189,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11785
12189
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
11786
12190
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
11787
12191
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
11788
- export interface Props extends SearchBoxProps {
12192
+ export interface PageProps extends SearchBoxProps {
11789
12193
  className?: string;
11790
12194
  headerContents?: JSX.Element;
11791
12195
  headerToolbar?: HeaderToolbarTypeHack;
@@ -11803,12 +12207,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11803
12207
  submenuContents?: JSX.Element;
11804
12208
  submenuClassName?: string;
11805
12209
  disableScrollableContainerFocus?: boolean;
12210
+ asModal?: boolean;
12211
+ domIdentifier?: string;
11806
12212
  }
11807
12213
  export enum MenuNavigationMode {
11808
12214
  Collapse = 0,
11809
12215
  KeepOpen = 1
11810
12216
  }
11811
- export const Page: FC<Props>;
12217
+ export const Page: FC<PageProps>;
11812
12218
  }
11813
12219
  declare module "apps/reach-app/src/plugins/reach-chrome" {
11814
12220
  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.7",
7
+ "version": "0.5.0-preview.70",
8
8
  "dependencies": {}
9
9
  }