@livetiles/reach-plugin-types 0.5.0-preview.6 → 0.5.0-preview.63

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 +426 -43
  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,8 +6635,8 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
6346
6635
  previewUsers: UserImport[];
6347
6636
  }>;
6348
6637
  }
6349
- declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
6350
- import { UserImport } from "apps/reach-app/src/app/admin/users/ImportUsersPreview";
6638
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
6639
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6351
6640
  export function useUserCsvInviter(): {
6352
6641
  invitedUsers: UserImport[];
6353
6642
  isValidating: boolean;
@@ -6357,10 +6646,11 @@ declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
6357
6646
  setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6358
6647
  inviteUsers: (onSuccess?: () => void) => Promise<void>;
6359
6648
  isParserReady: boolean;
6360
- isImporting: boolean;
6649
+ isInviting: boolean;
6650
+ canInvite: boolean;
6361
6651
  };
6362
6652
  }
6363
- declare module "apps/reach-app/src/app/admin/users/ImportUserButton" {
6653
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6364
6654
  import { FC } from 'react';
6365
6655
  export const ImportUserButton: FC<{
6366
6656
  onSuccessfulImport?: () => void;
@@ -6397,29 +6687,28 @@ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6397
6687
  }
6398
6688
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6399
6689
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6400
- export class EventResponseTriggerAction implements AppTriggerAction {
6690
+ export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
6401
6691
  static type: string;
6402
6692
  type: string;
6403
6693
  itemId: string;
6404
6694
  response: EventResponse;
6405
6695
  locationId: string;
6406
6696
  onBehalfOfUpn: string;
6407
- static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventResponseTriggerAction;
6697
+ static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
6408
6698
  }
6409
- export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6699
+ export class EventResponseTriggerAction implements AppTriggerAction {
6410
6700
  static type: string;
6411
6701
  type: string;
6412
- recurrenceSeriesId: string;
6702
+ itemId: string;
6413
6703
  response: EventResponse;
6414
- static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6704
+ static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
6415
6705
  }
6416
- export class LikeFullSeriesTriggerAction implements AppTriggerAction {
6706
+ export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6417
6707
  static type: string;
6418
6708
  type: string;
6419
6709
  recurrenceSeriesId: string;
6420
- itemId: string;
6421
- isLiked: boolean;
6422
- static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
6710
+ response: EventResponse;
6711
+ static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6423
6712
  }
6424
6713
  export class FollowCommentsTriggerAction implements AppTriggerAction {
6425
6714
  static type: string;
@@ -6434,6 +6723,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6434
6723
  followByDefault: boolean;
6435
6724
  static create(followState: boolean): AutoFollowPostsTriggerAction;
6436
6725
  }
6726
+ export class AutoLikeItemTriggerAction implements AppTriggerAction {
6727
+ static type: string;
6728
+ type: string;
6729
+ recurrenceSeriesId: string;
6730
+ isLiked: boolean;
6731
+ likeCount: number;
6732
+ static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6733
+ }
6437
6734
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6438
6735
  static type: string;
6439
6736
  type: string;
@@ -6454,6 +6751,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6454
6751
  type: string;
6455
6752
  static create(): StreamMarkAllAsReadAction;
6456
6753
  }
6754
+ export class RefetchItemAction implements AppTriggerAction {
6755
+ static type: string;
6756
+ type: string;
6757
+ itemId: string;
6758
+ static create(itemId: string): RefetchItemAction;
6759
+ }
6760
+ export class RefetchStreamItemAction implements AppTriggerAction {
6761
+ static type: string;
6762
+ type: string;
6763
+ itemId: string;
6764
+ static create(itemId: string): RefetchStreamItemAction;
6765
+ }
6457
6766
  }
6458
6767
  declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6459
6768
  export interface CommentFilter {
@@ -6613,7 +6922,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6613
6922
  import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6614
6923
  import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6615
6924
  import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6616
- export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
6925
+ export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
6617
6926
  }
6618
6927
  export interface BaseFilterDefinition {
6619
6928
  search?: string;
@@ -6621,6 +6930,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6621
6930
  pageSize?: string | number;
6622
6931
  groupId?: string;
6623
6932
  }
6933
+ export interface ItemIdsFilterDefinition {
6934
+ itemIds?: string;
6935
+ }
6624
6936
  export interface IndexableFilterDefinition {
6625
6937
  [key: string]: any;
6626
6938
  }
@@ -7108,6 +7420,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
7108
7420
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7109
7421
  import { FC, MouseEvent } from 'react';
7110
7422
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7423
+ import { LocationState } from 'history';
7111
7424
  export const ClickableOverlay: FC<{
7112
7425
  itemId: string;
7113
7426
  itemType: ItemResourceTypes;
@@ -7118,6 +7431,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7118
7431
  onClick?: (event: MouseEvent<unknown>) => unknown;
7119
7432
  openTargetInNewWindow?: boolean;
7120
7433
  isExternalContent?: boolean;
7434
+ locationState?: LocationState;
7435
+ }>;
7436
+ }
7437
+ declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
7438
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7439
+ import { FC } from 'react';
7440
+ export const ClickableOverlayWithModalRouting: FC<{
7441
+ itemId: string;
7442
+ itemType: ItemResourceTypes;
7443
+ baseRoute: string;
7444
+ title?: string;
7445
+ isExternalContent?: boolean;
7446
+ targetUrl?: string;
7121
7447
  }>;
7122
7448
  }
7123
7449
  declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
@@ -7128,6 +7454,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
7128
7454
  targetUrl?: string;
7129
7455
  readOnly?: boolean;
7130
7456
  backgroundColor?: string;
7457
+ enableModalRouting?: boolean;
7131
7458
  className?: string;
7132
7459
  }>;
7133
7460
  }
@@ -7224,6 +7551,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7224
7551
  height?: number;
7225
7552
  hidePlayerIfActive?: boolean;
7226
7553
  className?: string;
7554
+ documentIconName?: string;
7227
7555
  }
7228
7556
  export const PublishableItemBanner: FC<Props>;
7229
7557
  }
@@ -7462,10 +7790,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
7462
7790
  }
7463
7791
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
7464
7792
  import { FC } from 'react';
7793
+ import { EventResponse } from "libs/reach/util/common/src/index";
7465
7794
  export const EventUserRegistration: FC<{
7466
7795
  disabled?: boolean;
7467
7796
  hideInfoMessage?: boolean;
7468
7797
  showNoRegistrationRequired?: boolean;
7798
+ onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7469
7799
  className?: string;
7470
7800
  }>;
7471
7801
  }
@@ -7535,8 +7865,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7535
7865
  export const CardLikeButton: FC<{
7536
7866
  item: NewsItem | EventItem;
7537
7867
  itemResourceType: ItemResourceTypes;
7538
- isAutoLiked?: boolean;
7539
- onLiked?: (isLiked: boolean) => unknown;
7868
+ onToggleLike?: (isLiked: boolean, likeCount: number) => void;
7540
7869
  className?: string;
7541
7870
  }>;
7542
7871
  }
@@ -7558,6 +7887,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
7558
7887
  className?: string;
7559
7888
  }>;
7560
7889
  }
7890
+ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
7891
+ import { FC } from 'react';
7892
+ export const LinkWithModalRouting: FC<{
7893
+ url: string;
7894
+ itemId: string;
7895
+ hash?: string;
7896
+ onClick?: (e: React.MouseEvent) => unknown;
7897
+ ariaHidden?: boolean;
7898
+ ariaLabel?: string;
7899
+ className?: string;
7900
+ }>;
7901
+ }
7561
7902
  declare module "libs/reach/feature/content/src/events/list/EventCard" {
7562
7903
  import { FC } from 'react';
7563
7904
  import { EventItem } from "libs/reach/util/common/src/index";
@@ -7576,6 +7917,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7576
7917
  allowFilterByChannels?: boolean;
7577
7918
  showFeedbackButtons?: boolean;
7578
7919
  readOnly?: boolean;
7920
+ enableModalRouting?: boolean;
7579
7921
  className?: string;
7580
7922
  }>;
7581
7923
  }
@@ -7768,6 +8110,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
7768
8110
  resourceKey?: string;
7769
8111
  resourceValues?: string;
7770
8112
  className?: string;
8113
+ enableModalRouting?: boolean;
8114
+ itemId?: string;
7771
8115
  isOverrideLink: boolean;
7772
8116
  }>;
7773
8117
  }
@@ -7827,6 +8171,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7827
8171
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7828
8172
  onKeywordClick?: (keyword: string) => unknown;
7829
8173
  openTargetInNewWindow?: boolean;
8174
+ enableModalRouting?: boolean;
7830
8175
  className?: string;
7831
8176
  }
7832
8177
  export const PageItemTile: FC<Props>;
@@ -7872,6 +8217,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
7872
8217
  onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7873
8218
  styleDefinition?: StyleDefinition;
7874
8219
  readOnly?: boolean;
8220
+ enableModalRouting?: boolean;
7875
8221
  className?: string;
7876
8222
  }
7877
8223
  export const PublishableItemTileWrapper: FC<Props>;
@@ -7915,6 +8261,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7915
8261
  onKeywordClick?: (keyword: string) => unknown;
7916
8262
  styleDefinition?: StyleDefinition;
7917
8263
  readOnly?: boolean;
8264
+ enableModalRouting?: boolean;
7918
8265
  className?: string;
7919
8266
  }
7920
8267
  export const NewsItemTile: FC<Props>;
@@ -7940,6 +8287,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
7940
8287
  previewTheme?: CommentInputTheme;
7941
8288
  buttons?: ReactNode;
7942
8289
  groupIds?: string[];
8290
+ enableModalRouting?: boolean;
7943
8291
  className?: string;
7944
8292
  }>;
7945
8293
  export const EmbeddedObjectAccessDeniedTile: FC<{
@@ -7956,6 +8304,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
7956
8304
  attachments: Attachment[];
7957
8305
  onDeleteClick?: (attachment: Attachment) => void;
7958
8306
  previewTheme?: CommentInputTheme;
8307
+ enableModalRouting?: boolean;
7959
8308
  className?: string;
7960
8309
  }>;
7961
8310
  }
@@ -8123,15 +8472,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8123
8472
  }>;
8124
8473
  }
8125
8474
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8126
- import { FC } from 'react';
8475
+ import { FC, ReactNode } from 'react';
8476
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8127
8477
  export const ImageToolbar: FC<{
8128
8478
  onDelete?: () => void;
8129
8479
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8130
8480
  onClose?: (e: React.MouseEvent<any>) => void;
8131
8481
  onCrop?: (e: React.MouseEvent<any>) => void;
8482
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8132
8483
  showFullScreenButton?: boolean;
8133
8484
  showCloseButton?: boolean;
8134
8485
  showCropButton?: boolean;
8486
+ alignmentButtons?: ReactNode;
8135
8487
  }>;
8136
8488
  }
8137
8489
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8258,6 +8610,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8258
8610
  export const EditCommentWithAttachments: FC<Props>;
8259
8611
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
8260
8612
  }
8613
+ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8614
+ import { FC } from 'react';
8615
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8616
+ export const BookmarkButton: FC<{
8617
+ item: PublishableItem;
8618
+ isReadOnly?: boolean;
8619
+ className?: string;
8620
+ }>;
8621
+ }
8261
8622
  declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8262
8623
  import { FC } from 'react';
8263
8624
  export const CardStatisticItem: FC<{
@@ -8275,13 +8636,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8275
8636
  };
8276
8637
  }>;
8277
8638
  }
8278
- declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8639
+ declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
8640
+ import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8279
8641
  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;
8642
+ export const CardCommentButton: FC<{
8643
+ item: NewsItem | EventItem;
8644
+ itemResourceType: ItemResourceTypes;
8645
+ targetRoute: string;
8646
+ enableModalRouting?: boolean;
8285
8647
  }>;
8286
8648
  }
8287
8649
  declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
@@ -8289,11 +8651,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8289
8651
  import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8290
8652
  export const CardFooter: FC<{
8291
8653
  item: NewsItem | EventItem;
8292
- showComments: boolean;
8293
8654
  targetRoute: string;
8294
8655
  itemResourceType: ItemResourceTypes;
8295
- isAutoLiked?: boolean;
8296
- onLiked?: (isLiked: boolean) => unknown;
8656
+ enableModalRouting?: boolean;
8297
8657
  }>;
8298
8658
  export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8299
8659
  }
@@ -8592,7 +8952,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8592
8952
  item: NewsItem;
8593
8953
  baseRoute: string;
8594
8954
  language: string;
8595
- showComments: boolean;
8596
8955
  highlight: boolean;
8597
8956
  className?: string;
8598
8957
  }
@@ -9136,6 +9495,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9136
9495
  readOnly?: boolean;
9137
9496
  trimContent?: boolean;
9138
9497
  showReplyBox?: boolean;
9498
+ enableModalRouting?: boolean;
9139
9499
  className?: string;
9140
9500
  }>;
9141
9501
  }
@@ -9158,6 +9518,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9158
9518
  onReply?: (comment: Comment, commentSender?: Account) => void;
9159
9519
  readOnly?: boolean;
9160
9520
  trimContent?: boolean;
9521
+ enableModalRouting?: boolean;
9161
9522
  className?: string;
9162
9523
  }
9163
9524
  export const CommentList: FC<CommentListProps>;
@@ -9217,6 +9578,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9217
9578
  showReplyBox?: boolean;
9218
9579
  trimContent?: boolean;
9219
9580
  title?: ReactNode;
9581
+ enableModalRouting?: boolean;
9220
9582
  className?: string;
9221
9583
  };
9222
9584
  export const PagedCommentsSection: FC<Props>;
@@ -9485,6 +9847,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9485
9847
  layoutMode?: ItemTileLayoutMode;
9486
9848
  bannerDefaultWidth?: number;
9487
9849
  showPlaceholderIfNoBannerInfo?: boolean;
9850
+ documentIconName?: string;
9488
9851
  }>;
9489
9852
  }
9490
9853
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9749,7 +10112,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
9749
10112
  import { FC } from 'react';
9750
10113
  export const ContentWithShowMoreButton: FC<{
9751
10114
  domIdentifier: string;
9752
- trimContent: boolean;
10115
+ trimContent?: boolean;
9753
10116
  className?: string;
9754
10117
  }>;
9755
10118
  }
@@ -9896,13 +10259,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
9896
10259
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
9897
10260
  getHashtagFilterRoute?: (hashtag: string) => string;
9898
10261
  highlight?: boolean;
9899
- isInitialLiked?: boolean;
9900
10262
  hasUnreadReplies?: boolean;
9901
10263
  onReplyIconClick?: () => void;
9902
10264
  onReply?: (comment: Comment, commentSender?: Account) => void;
9903
10265
  replyCount?: number;
9904
10266
  readOnly?: boolean;
9905
10267
  trimContent?: boolean;
10268
+ enableModalRouting?: boolean;
9906
10269
  className?: string;
9907
10270
  }
9908
10271
  export const CommentDisplay: FC<Props>;
@@ -10130,6 +10493,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
10130
10493
  onReplyAdded: () => void;
10131
10494
  onReplyDeleted: () => void;
10132
10495
  trimContent?: boolean;
10496
+ enableModalRouting?: boolean;
10133
10497
  }
10134
10498
  export const PostReplies: FC<Props>;
10135
10499
  }
@@ -10197,6 +10561,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10197
10561
  baseTargetUrl?: string;
10198
10562
  }
10199
10563
  export const PostDisplay: FC<Props>;
10564
+ export const PostDisplayWithModalRouting: FC<Props>;
10200
10565
  }
10201
10566
  declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10202
10567
  import { FC } from 'react';
@@ -11055,6 +11420,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11055
11420
  poll?: import("@livetiles/reach/util/common").Poll;
11056
11421
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11057
11422
  })[];
11423
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11058
11424
  }
11059
11425
  declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11060
11426
  import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11079,6 +11445,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11079
11445
  };
11080
11446
  refresh: () => Promise<void>;
11081
11447
  isLoadingFirstPage: boolean;
11448
+ refetchItem: (itemId: string) => Promise<void>;
11082
11449
  };
11083
11450
  export function hasFilter(filter?: StreamFilterDefinition): boolean;
11084
11451
  export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
@@ -11221,6 +11588,19 @@ declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11221
11588
  deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11222
11589
  };
11223
11590
  }
11591
+ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11592
+ import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
11593
+ import { PublishableItem } from "libs/reach/util/common/src/index";
11594
+ export function useEventsEditorApi(): {
11595
+ getEvent: (eventId: string) => Promise<EventItem>;
11596
+ cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11597
+ uncancelEvent: (id: string) => Promise<unknown>;
11598
+ unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11599
+ deleteEventPermanently: (eventId: string) => any;
11600
+ saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11601
+ deleteModifiedRecurrence: (eventId: string) => any;
11602
+ };
11603
+ }
11224
11604
  declare module "libs/reach/feature/content/src/editor/index" {
11225
11605
  export * from "libs/reach/feature/content/src/editor/EditorListItem";
11226
11606
  export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
@@ -11230,6 +11610,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
11230
11610
  export * from "libs/reach/feature/content/src/editor/useEditorApi";
11231
11611
  export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
11232
11612
  export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
11613
+ export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
11233
11614
  }
11234
11615
  declare module "libs/reach/feature/content/src/public-user/index" {
11235
11616
  export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
@@ -11785,7 +12166,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11785
12166
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
11786
12167
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
11787
12168
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
11788
- export interface Props extends SearchBoxProps {
12169
+ export interface PageProps extends SearchBoxProps {
11789
12170
  className?: string;
11790
12171
  headerContents?: JSX.Element;
11791
12172
  headerToolbar?: HeaderToolbarTypeHack;
@@ -11803,12 +12184,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11803
12184
  submenuContents?: JSX.Element;
11804
12185
  submenuClassName?: string;
11805
12186
  disableScrollableContainerFocus?: boolean;
12187
+ asModal?: boolean;
12188
+ domIdentifier?: string;
11806
12189
  }
11807
12190
  export enum MenuNavigationMode {
11808
12191
  Collapse = 0,
11809
12192
  KeepOpen = 1
11810
12193
  }
11811
- export const Page: FC<Props>;
12194
+ export const Page: FC<PageProps>;
11812
12195
  }
11813
12196
  declare module "apps/reach-app/src/plugins/reach-chrome" {
11814
12197
  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.6",
7
+ "version": "0.5.0-preview.63",
8
8
  "dependencies": {}
9
9
  }