@livetiles/reach-plugin-types 0.5.0-preview.20 → 0.5.0-preview.201

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 +607 -115
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="moment" />
3
3
  /// <reference types="draft-js" />
4
+ /// <reference types="draft-convert" />
4
5
  declare module "libs/reach/util/common/src/FocusStyles" {
5
6
  export const FocusStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
6
7
  export const applyFocusStyle: (input: string) => string;
@@ -306,6 +307,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
306
307
  buildId: string;
307
308
  useAzureAdFunctionality: boolean;
308
309
  envName: string;
310
+ mobileTeamsHost?: string;
309
311
  }
310
312
  type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
311
313
  interface DeviceInfo {
@@ -1026,6 +1028,233 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
1026
1028
  language?: string;
1027
1029
  }>;
1028
1030
  }
1031
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
1032
+ import locale from 'date-fns/locale/ar-DZ';
1033
+ export default locale;
1034
+ }
1035
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
1036
+ import locale from 'date-fns/locale/ar-MA';
1037
+ export default locale;
1038
+ }
1039
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-sa.async" {
1040
+ import locale from 'date-fns/locale/ar-SA';
1041
+ export default locale;
1042
+ }
1043
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bg.async" {
1044
+ import locale from 'date-fns/locale/bg';
1045
+ export default locale;
1046
+ }
1047
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/bn.async" {
1048
+ import locale from 'date-fns/locale/bn';
1049
+ export default locale;
1050
+ }
1051
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ca.async" {
1052
+ import locale from 'date-fns/locale/ca';
1053
+ export default locale;
1054
+ }
1055
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/cs.async" {
1056
+ import locale from 'date-fns/locale/cs';
1057
+ export default locale;
1058
+ }
1059
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/da.async" {
1060
+ import locale from 'date-fns/locale/da';
1061
+ export default locale;
1062
+ }
1063
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.async" {
1064
+ import locale from 'date-fns/locale/de';
1065
+ export default locale;
1066
+ }
1067
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
1068
+ import locale from 'date-fns/locale/el';
1069
+ export default locale;
1070
+ }
1071
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-au.async" {
1072
+ import locale from 'date-fns/locale/en-AU';
1073
+ export default locale;
1074
+ }
1075
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ca.async" {
1076
+ import locale from 'date-fns/locale/en-CA';
1077
+ export default locale;
1078
+ }
1079
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb.async" {
1080
+ import locale from 'date-fns/locale/en-GB';
1081
+ export default locale;
1082
+ }
1083
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
1084
+ import locale from 'date-fns/locale/en-NZ';
1085
+ export default locale;
1086
+ }
1087
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/es.async" {
1088
+ import locale from 'date-fns/locale/es';
1089
+ export default locale;
1090
+ }
1091
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/et.async" {
1092
+ import locale from 'date-fns/locale/et';
1093
+ export default locale;
1094
+ }
1095
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fa-ir.async" {
1096
+ import locale from 'date-fns/locale/fa-IR';
1097
+ export default locale;
1098
+ }
1099
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fi.async" {
1100
+ import locale from 'date-fns/locale/fi';
1101
+ export default locale;
1102
+ }
1103
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ca.async" {
1104
+ import locale from 'date-fns/locale/fr-CA';
1105
+ export default locale;
1106
+ }
1107
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr-ch.async" {
1108
+ import locale from 'date-fns/locale/fr-CH';
1109
+ export default locale;
1110
+ }
1111
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/fr.async" {
1112
+ import locale from 'date-fns/locale/fr';
1113
+ export default locale;
1114
+ }
1115
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/gu.async" {
1116
+ import locale from 'date-fns/locale/gu';
1117
+ export default locale;
1118
+ }
1119
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/he.async" {
1120
+ import locale from 'date-fns/locale/he';
1121
+ export default locale;
1122
+ }
1123
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hi.async" {
1124
+ import locale from 'date-fns/locale/hi';
1125
+ export default locale;
1126
+ }
1127
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hr.async" {
1128
+ import locale from 'date-fns/locale/hr';
1129
+ export default locale;
1130
+ }
1131
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/hu.async" {
1132
+ import locale from 'date-fns/locale/hu';
1133
+ export default locale;
1134
+ }
1135
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.async" {
1136
+ import locale from 'date-fns/locale/id';
1137
+ export default locale;
1138
+ }
1139
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
1140
+ import locale from 'date-fns/locale/it';
1141
+ export default locale;
1142
+ }
1143
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ja.async" {
1144
+ import locale from 'date-fns/locale/ja';
1145
+ export default locale;
1146
+ }
1147
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/kn.async" {
1148
+ import locale from 'date-fns/locale/kn';
1149
+ export default locale;
1150
+ }
1151
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ko.async" {
1152
+ import locale from 'date-fns/locale/ko';
1153
+ export default locale;
1154
+ }
1155
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lt.async" {
1156
+ import locale from 'date-fns/locale/lt';
1157
+ export default locale;
1158
+ }
1159
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/lv.async" {
1160
+ import locale from 'date-fns/locale/lv';
1161
+ export default locale;
1162
+ }
1163
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ms.async" {
1164
+ import locale from 'date-fns/locale/ms';
1165
+ export default locale;
1166
+ }
1167
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nb.async" {
1168
+ import locale from 'date-fns/locale/nb';
1169
+ export default locale;
1170
+ }
1171
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl-be.async" {
1172
+ import locale from 'date-fns/locale/nl-BE';
1173
+ export default locale;
1174
+ }
1175
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/nl.async" {
1176
+ import locale from 'date-fns/locale/nl';
1177
+ export default locale;
1178
+ }
1179
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pl.async" {
1180
+ import locale from 'date-fns/locale/pl';
1181
+ export default locale;
1182
+ }
1183
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt-br.async" {
1184
+ import locale from 'date-fns/locale/pt-BR';
1185
+ export default locale;
1186
+ }
1187
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/pt.async" {
1188
+ import locale from 'date-fns/locale/pt';
1189
+ export default locale;
1190
+ }
1191
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ro.async" {
1192
+ import locale from 'date-fns/locale/ro';
1193
+ export default locale;
1194
+ }
1195
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ru.async" {
1196
+ import locale from 'date-fns/locale/ru';
1197
+ export default locale;
1198
+ }
1199
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sk.async" {
1200
+ import locale from 'date-fns/locale/sk';
1201
+ export default locale;
1202
+ }
1203
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sl.async" {
1204
+ import locale from 'date-fns/locale/sl';
1205
+ export default locale;
1206
+ }
1207
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr-latn.async" {
1208
+ import locale from 'date-fns/locale/sr-Latn';
1209
+ export default locale;
1210
+ }
1211
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sr.async" {
1212
+ import locale from 'date-fns/locale/sr';
1213
+ export default locale;
1214
+ }
1215
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/sv.async" {
1216
+ import locale from 'date-fns/locale/sv';
1217
+ export default locale;
1218
+ }
1219
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ta.async" {
1220
+ import locale from 'date-fns/locale/ta';
1221
+ export default locale;
1222
+ }
1223
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/te.async" {
1224
+ import locale from 'date-fns/locale/te';
1225
+ export default locale;
1226
+ }
1227
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/th.async" {
1228
+ import locale from 'date-fns/locale/th';
1229
+ export default locale;
1230
+ }
1231
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/tr.async" {
1232
+ import locale from 'date-fns/locale/tr';
1233
+ export default locale;
1234
+ }
1235
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/uk.async" {
1236
+ import locale from 'date-fns/locale/uk';
1237
+ export default locale;
1238
+ }
1239
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/vi.async" {
1240
+ import locale from 'date-fns/locale/vi';
1241
+ export default locale;
1242
+ }
1243
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn.async" {
1244
+ import locale from 'date-fns/locale/zh-CN';
1245
+ export default locale;
1246
+ }
1247
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
1248
+ import locale from 'date-fns/locale/zh-TW';
1249
+ export default locale;
1250
+ }
1251
+ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us.async" {
1252
+ import locale from 'date-fns/locale/en-US';
1253
+ export default locale;
1254
+ }
1255
+ declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
1256
+ export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
1257
+ }
1029
1258
  declare module "libs/reach/util/common/src/user/features/FeatureSet" {
1030
1259
  export const orderedFeatureSet: string[];
1031
1260
  export class FeatureSet {
@@ -1236,6 +1465,11 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1236
1465
  primaryColor: string;
1237
1466
  secondaryColor: string;
1238
1467
  useHighlightColorOnWhiteBackground?: boolean;
1468
+ customFontColors?: CustomColor[];
1469
+ }
1470
+ export interface CustomColor {
1471
+ id: string;
1472
+ value: string;
1239
1473
  }
1240
1474
  export interface WebHook {
1241
1475
  id: string;
@@ -1274,9 +1508,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1274
1508
  subscriptionId: string;
1275
1509
  subscriptionName: string;
1276
1510
  }
1277
- export interface PluginExtension {
1278
- area: string;
1279
- componentName: string;
1511
+ export enum ExtensionArea {
1512
+ global = "Global",
1513
+ page = "Page",
1514
+ eventEditorFeedbackSection = "EventEditorFeedbackSection",
1515
+ eventDetailViewSection = "EventDetailViewSection",
1516
+ itemEditor = "ItemEditor"
1517
+ }
1518
+ export type InlinePlugin = {
1519
+ area: ExtensionArea.itemEditor;
1520
+ objectButton: PluginObjectButton;
1521
+ };
1522
+ export type PagePlugin = {
1523
+ area: ExtensionArea.page;
1280
1524
  route: string;
1281
1525
  navigationNode?: {
1282
1526
  componentName?: string;
@@ -1286,7 +1530,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1286
1530
  [key: string]: string;
1287
1531
  };
1288
1532
  };
1289
- }
1533
+ };
1534
+ export type PluginExtension = {
1535
+ area: ExtensionArea;
1536
+ componentName: string;
1537
+ } & (InlinePlugin | PagePlugin);
1538
+ export type PluginObjectButton = {
1539
+ buttonLabel: {
1540
+ defaultLabel: string;
1541
+ translations?: {
1542
+ [key: string]: string;
1543
+ };
1544
+ };
1545
+ iconName: string;
1546
+ };
1290
1547
  export interface PluginNotificationDefinitions {
1291
1548
  key: string;
1292
1549
  title: string;
@@ -1390,6 +1647,8 @@ declare module "libs/reach/util/common/src/user/User" {
1390
1647
  pluginNotifications: {
1391
1648
  [key: string]: NotificationType;
1392
1649
  };
1650
+ newsEditor: NotificationType;
1651
+ eventEditor: NotificationType;
1393
1652
  }
1394
1653
  export interface RequestUser extends BasicUserInformation {
1395
1654
  tenantId: string;
@@ -1490,6 +1749,7 @@ declare module "libs/reach/util/common/src/user/User" {
1490
1749
  user: UserSummary;
1491
1750
  type: SubscriptionJoinResultType;
1492
1751
  message?: string;
1752
+ isSuccess?: boolean;
1493
1753
  }
1494
1754
  export interface UserActivationResult {
1495
1755
  type: UserActivationResultType;
@@ -1931,6 +2191,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1931
2191
  }
1932
2192
  }
1933
2193
  declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
2194
+ import { Api } from 'restful.js';
1934
2195
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
1935
2196
  export class ClientFactoryInstance {
1936
2197
  private env;
@@ -1941,7 +2202,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
1941
2202
  constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
1942
2203
  url: string;
1943
2204
  }) => Promise<unknown>);
1944
- createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => any;
2205
+ createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
1945
2206
  private createApiInternal;
1946
2207
  private addRequestTimeLogger;
1947
2208
  createApiUrl: (url: string, query?: {
@@ -2521,6 +2782,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2521
2782
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2522
2783
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2523
2784
  importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
2785
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
2786
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2524
2787
  };
2525
2788
  }
2526
2789
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -2711,7 +2974,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
2711
2974
  getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
2712
2975
  saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
2713
2976
  saveFile: (pluginId: string, file: File) => Promise<Response>;
2714
- generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<any>;
2977
+ generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
2715
2978
  linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
2716
2979
  unlinkPlugin: (pluginId: string) => Promise<any>;
2717
2980
  };
@@ -2817,17 +3080,15 @@ declare module "libs/reach/util/common/src/Models" {
2817
3080
  }
2818
3081
  }
2819
3082
  declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2820
- import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
3083
+ import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
2821
3084
  import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
2822
- export enum ExtensionArea {
2823
- global = "Global",
2824
- page = "Page",
2825
- eventEditorFeedbackSection = "EventEditorFeedbackSection",
2826
- eventDetailViewSection = "EventDetailViewSection"
2827
- }
2828
3085
  export interface PluginNavigationNodeProps {
2829
3086
  navigationNodeProps?: PageNavigationNodeProps;
2830
3087
  }
3088
+ export type EmbeddedPluginProps = PluginProps & {
3089
+ isEditMode?: boolean;
3090
+ componentInstanceId: string;
3091
+ };
2831
3092
  export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
2832
3093
  type DevPlugin = {
2833
3094
  pluginId: string;
@@ -2881,22 +3142,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2881
3142
  }
2882
3143
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2883
3144
  import { FC } from 'react';
2884
- import { ExtensionArea } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3145
+ import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
2885
3146
  export const Plugins: FC<{
2886
3147
  area: ExtensionArea;
2887
3148
  } & any>;
2888
3149
  }
2889
- declare module "libs/reach/util/common/src/plugins/index" {
2890
- export * from "libs/reach/util/common/src/plugins/PluginContext";
2891
- export * from "libs/reach/util/common/src/plugins/PluginWrapper";
2892
- export * from "libs/reach/util/common/src/plugins/Plugins";
2893
- export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
2894
- export * from "libs/reach/util/common/src/plugins/usePluginApi";
2895
- export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
2896
- export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
2897
- export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
2898
- export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
2899
- }
2900
3150
  declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2901
3151
  export class Color {
2902
3152
  private r;
@@ -2946,11 +3196,6 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
2946
3196
  neutralTertiary: string;
2947
3197
  neutralTertiaryAlt: string;
2948
3198
  neutralQuaternary: string;
2949
- /**
2950
- * Theme Service applies custom themes.
2951
- * Accommodates overriding the custom UI Fabric default styles which
2952
- * are not automatically applied (e.g. ms-bgColor-themePrimary) via load-themed-styles
2953
- */
2954
3199
  neutralQuaternaryAlt: string;
2955
3200
  neutralLight: string;
2956
3201
  neutralLighter: string;
@@ -3012,6 +3257,10 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
3012
3257
  onSecondary?: string;
3013
3258
  onAccent?: string;
3014
3259
  default?: string;
3260
+ custom?: {
3261
+ key: string;
3262
+ value: string;
3263
+ }[];
3015
3264
  }
3016
3265
  export function getDarkAltColor(color: string): string;
3017
3266
  export function getTextColor(bgColor: string): "#333333" | "#ffffff";
@@ -3099,7 +3348,7 @@ declare module "libs/reach/util/common/src/Variables" {
3099
3348
  export const videoAttachmentRoundedCornerSize = 20;
3100
3349
  export const inlinePageBannerRoundedCornerSize = 5;
3101
3350
  export const feedbackButtonHeight = 32;
3102
- export const mainScrollableContainerSelector = "lt-reach-main-content";
3351
+ export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
3103
3352
  export const statusColors: {
3104
3353
  draft: string;
3105
3354
  ready: string;
@@ -3113,6 +3362,25 @@ declare module "libs/reach/util/common/src/Variables" {
3113
3362
  export const managePagesRowHeight = 40;
3114
3363
  export const mobilePreviewWidth = 414;
3115
3364
  }
3365
+ declare module "libs/reach/util/common/src/plugins/Plugin" {
3366
+ import { FC } from 'react';
3367
+ import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
3368
+ export const Plugin: FC<PluginProps & {
3369
+ showDetailedErrorMessage?: boolean;
3370
+ } & any>;
3371
+ }
3372
+ declare module "libs/reach/util/common/src/plugins/index" {
3373
+ export * from "libs/reach/util/common/src/plugins/PluginContext";
3374
+ export * from "libs/reach/util/common/src/plugins/PluginWrapper";
3375
+ export * from "libs/reach/util/common/src/plugins/Plugins";
3376
+ export * from "libs/reach/util/common/src/plugins/Plugin";
3377
+ export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
3378
+ export * from "libs/reach/util/common/src/plugins/usePluginApi";
3379
+ export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
3380
+ export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
3381
+ export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
3382
+ export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
3383
+ }
3116
3384
  declare module "libs/reach/util/common/src/notification/NotificationContext" {
3117
3385
  import { FC, ReactNode } from 'react';
3118
3386
  import { ToastOptions } from 'react-toastify';
@@ -3215,6 +3483,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
3215
3483
  width?: number;
3216
3484
  height?: number;
3217
3485
  }
3486
+ export interface ImageWithAlignment extends ImageDetails {
3487
+ imageAlignment?: ImageAlignment;
3488
+ }
3489
+ export enum ImageAlignment {
3490
+ Default = "default",
3491
+ Left = "left",
3492
+ Right = "right",
3493
+ Center = "center"
3494
+ }
3218
3495
  }
3219
3496
  declare module "libs/reach/util/common/src/MainContentPanelContext" {
3220
3497
  export interface MainPanelContextType {
@@ -3265,6 +3542,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
3265
3542
  static create(): GenericAccessDeniedTriggerAction;
3266
3543
  }
3267
3544
  }
3545
+ declare module "libs/reach/util/common/src/useModalRouting" {
3546
+ export interface ModalRouting {
3547
+ isActive: boolean;
3548
+ itemId: string;
3549
+ backgroundLocation: any;
3550
+ }
3551
+ export function useModalRouting(): {
3552
+ isModalRoutingActive: boolean;
3553
+ modalItemId: string;
3554
+ backgroundLocation: any;
3555
+ };
3556
+ export function useModalRoutingSettings(): (itemId: string) => {
3557
+ modalRouting: {
3558
+ isActive: boolean;
3559
+ itemId: string;
3560
+ backgroundLocation: {
3561
+ state: {
3562
+ modalRouting: {
3563
+ isActive: boolean;
3564
+ };
3565
+ };
3566
+ pathname: string;
3567
+ search: string;
3568
+ hash: string;
3569
+ key?: string;
3570
+ };
3571
+ };
3572
+ };
3573
+ }
3268
3574
  declare module "libs/reach/util/common/src/index" {
3269
3575
  export { initializeIcons } from 'office-ui-fabric-react';
3270
3576
  export * from "libs/reach/util/common/src/FocusStyles";
@@ -3274,6 +3580,7 @@ declare module "libs/reach/util/common/src/index" {
3274
3580
  export * from "libs/reach/util/common/src/SortDirection";
3275
3581
  export * from "libs/reach/util/common/src/useCacheLanguageApi";
3276
3582
  export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
3583
+ export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
3277
3584
  export * from "libs/reach/util/common/src/user/index";
3278
3585
  export * from "libs/reach/util/common/src/plugins/index";
3279
3586
  export * from "libs/reach/util/common/src/theme/index";
@@ -3292,6 +3599,7 @@ declare module "libs/reach/util/common/src/index" {
3292
3599
  export * from "libs/reach/util/common/src/useBaseRoute";
3293
3600
  export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
3294
3601
  export * from "libs/reach/util/common/src/AccessDeniedIntercept";
3602
+ export * from "libs/reach/util/common/src/useModalRouting";
3295
3603
  }
3296
3604
  declare module "libs/reach/ui/common/src/Link" {
3297
3605
  import { Link as RouterLink } from 'react-router-dom';
@@ -3348,7 +3656,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
3348
3656
  text?: string | JSX.Element;
3349
3657
  resourceKey?: string;
3350
3658
  values?: {
3351
- [key: string]: string | number | boolean | Date;
3659
+ [key: string]: string | number | boolean | Date | any;
3352
3660
  };
3353
3661
  width?: number;
3354
3662
  onClick?: () => unknown;
@@ -3428,7 +3736,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3428
3736
  export const PeoplePicker: FC<Props>;
3429
3737
  }
3430
3738
  declare module "libs/reach/ui/common/src/plugins/reach-core" {
3431
- import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme } from "libs/reach/util/common/src/index";
3739
+ import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme, EmbeddedPluginProps } from "libs/reach/util/common/src/index";
3432
3740
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3433
3741
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3434
3742
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3445,7 +3753,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3445
3753
  * @deprecated Please use `usePluginDeviceStore` instead
3446
3754
  */
3447
3755
  usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
3448
- export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
3756
+ export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
3449
3757
  }
3450
3758
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3451
3759
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3461,6 +3769,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3461
3769
  export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
3462
3770
  export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
3463
3771
  }
3772
+ declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
3773
+ export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
3774
+ }
3464
3775
  declare module "libs/reach/ui/common/src/NotificationBar" {
3465
3776
  import { FC } from 'react';
3466
3777
  export const NotificationBar: FC;
@@ -3554,12 +3865,13 @@ declare module "libs/reach/ui/common/src/common/ConfirmDeleteDialog" {
3554
3865
  titleResourceValues?: any;
3555
3866
  infoResourceKey: string;
3556
3867
  infoResourceValues?: any;
3557
- inputAriaLabelResourceKey: string;
3558
- compareValue: string;
3868
+ inputAriaLabelResourceKey?: string;
3869
+ compareValue?: string;
3559
3870
  onConfirm: () => any;
3560
3871
  onCancel: () => any;
3561
3872
  disabled?: boolean;
3562
3873
  hideCloseButton?: boolean;
3874
+ withValueConfirmation?: boolean;
3563
3875
  }
3564
3876
  export const ConfirmDeleteDialog: FC<ConfirmDeleteDialogProps>;
3565
3877
  }
@@ -3716,7 +4028,9 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3716
4028
  }[]>;
3717
4029
  export function getFileIcon(filename: string): string;
3718
4030
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
4031
+ export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
3719
4032
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
4033
+ export function getMainScrollableContainer(): HTMLElement;
3720
4034
  }
3721
4035
  declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
3722
4036
  export function useFileAccessTokenApi(): {
@@ -4026,7 +4340,7 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
4026
4340
  export const ToggleWithLabel: FC<IToggleProps>;
4027
4341
  }
4028
4342
  declare module "libs/reach/ui/common/src/common/UnreadCommentHighlight" {
4029
- export const unreadCommentHighlight: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4343
+ export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
4030
4344
  }
4031
4345
  declare module "libs/reach/ui/common/src/common/UserUtility" {
4032
4346
  import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
@@ -4345,6 +4659,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
4345
4659
  className?: string;
4346
4660
  }>;
4347
4661
  }
4662
+ declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
4663
+ export const useIsMounted: () => () => boolean;
4664
+ }
4348
4665
  declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
4349
4666
  import { PaginatedList } from "libs/reach/util/common/src/index";
4350
4667
  import { DependencyList, SetStateAction } from 'react';
@@ -4825,6 +5142,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4825
5142
  export * from "libs/reach/ui/common/src/common/grid/Grid";
4826
5143
  export * from "libs/reach/ui/common/src/common/hooks/usePagination";
4827
5144
  export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
5145
+ export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
4828
5146
  export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
4829
5147
  export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
4830
5148
  export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
@@ -4857,6 +5175,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4857
5175
  export * from "libs/reach/ui/common/src/common/error-states/index";
4858
5176
  export * from "libs/reach/ui/common/src/common/MenuItemBadge";
4859
5177
  export * from "libs/reach/ui/common/src/common/editor-svg/index";
5178
+ export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
4860
5179
  }
4861
5180
  declare module "libs/reach/ui/common/src/error/PageAlert" {
4862
5181
  import { ReactNode } from 'react';
@@ -4908,7 +5227,7 @@ declare module "libs/reach/ui/common/src/index" {
4908
5227
  export * from "libs/reach/ui/common/src/ColorEditor";
4909
5228
  }
4910
5229
  declare module "apps/reach-app/src/app/chrome/CloseButton" {
4911
- import { FC } from 'react';
5230
+ import { FC, DependencyList } from 'react';
4912
5231
  export interface Props {
4913
5232
  navigateTo: string;
4914
5233
  onClose?: () => void;
@@ -4917,7 +5236,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
4917
5236
  className?: string;
4918
5237
  }
4919
5238
  export const CloseButton: FC<Props>;
4920
- export function useEscapeOnClose(onClose: () => void): void;
5239
+ export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
4921
5240
  }
4922
5241
  declare module "apps/reach-app/src/app/common/LogoStyles" {
4923
5242
  export const LogoHostStyle: (size?: {
@@ -4981,8 +5300,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
4981
5300
  export const SkipLinksContextProvider: FC;
4982
5301
  }
4983
5302
  declare module "apps/reach-app/src/app/useAddSkipLinks" {
5303
+ import { DependencyList } from 'react';
4984
5304
  import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
4985
- export function useAddSkipLinks(...skipLinks: SkipLink[]): void;
5305
+ export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
4986
5306
  }
4987
5307
  declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
4988
5308
  import { FC } from 'react';
@@ -5033,6 +5353,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
5033
5353
  closeButtonOptions?: CloseButtonOptions;
5034
5354
  showSearchBox?: boolean;
5035
5355
  disableScrollableContainerFocus?: boolean;
5356
+ asModal?: boolean;
5357
+ domIdentifier?: string;
5036
5358
  }
5037
5359
  export const BasicPage: FC<Props>;
5038
5360
  }
@@ -5167,6 +5489,7 @@ declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
5167
5489
  foregroundColor: string;
5168
5490
  backgroundColor: string;
5169
5491
  className?: string;
5492
+ showInfoIcon?: boolean;
5170
5493
  }>;
5171
5494
  }
5172
5495
  declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
@@ -5189,6 +5512,14 @@ declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
5189
5512
  foregroundColor: string;
5190
5513
  }>;
5191
5514
  }
5515
+ declare module "apps/reach-app/src/app/admin/themes/CustomFontColors" {
5516
+ import { FC } from 'react';
5517
+ import { CustomColor, Theme } from "libs/reach/util/common/src/index";
5518
+ export const CustomFontColors: FC<{
5519
+ theme: Theme;
5520
+ onApply?: (colors: CustomColor[]) => void;
5521
+ }>;
5522
+ }
5192
5523
  declare module "apps/reach-app/src/app/admin/themes/Themes" {
5193
5524
  import { FC } from 'react';
5194
5525
  export const Themes: FC;
@@ -5432,11 +5763,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
5432
5763
  export { PushClient };
5433
5764
  }
5434
5765
  declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5435
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5436
- export class MobileHybridStorage implements StoragePlugin {
5766
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5767
+ export class MobileHybridStorage implements PreferencesPlugin {
5437
5768
  private pluginStorage;
5438
5769
  private static memoryStorage;
5439
- constructor(pluginStorage: StoragePlugin);
5770
+ constructor(pluginStorage: PreferencesPlugin);
5440
5771
  get(options: {
5441
5772
  key: string;
5442
5773
  }): Promise<any>;
@@ -5448,7 +5779,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5448
5779
  key: string;
5449
5780
  }): Promise<void>;
5450
5781
  clear(): Promise<void>;
5451
- keys(): Promise<import("@capacitor/storage").KeysResult>;
5782
+ keys(): Promise<import("@capacitor/preferences").KeysResult>;
5452
5783
  private static updateInMemoryStorage;
5453
5784
  configure(options: ConfigureOptions): Promise<void>;
5454
5785
  migrate(): Promise<MigrateResult>;
@@ -5484,7 +5815,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
5484
5815
  export const mockStatusBarPlugin: StatusBarPlugin;
5485
5816
  }
5486
5817
  declare module "libs/shared/util/capacitor/src/WebDevice" {
5487
- import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
5818
+ import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
5488
5819
  import { PluginListenerHandle } from '@capacitor/core';
5489
5820
  export class WebDeviceFallback implements DevicePlugin {
5490
5821
  addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
@@ -5493,6 +5824,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
5493
5824
  getId(): Promise<DeviceId>;
5494
5825
  getBatteryInfo(): Promise<BatteryInfo>;
5495
5826
  getLanguageCode(): Promise<GetLanguageCodeResult>;
5827
+ getLanguageTag(): Promise<LanguageTag>;
5496
5828
  }
5497
5829
  }
5498
5830
  declare module "libs/shared/util/capacitor/src/WebNetwork" {
@@ -5509,8 +5841,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
5509
5841
  }
5510
5842
  }
5511
5843
  declare module "libs/shared/util/capacitor/src/WebStorage" {
5512
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5513
- export class WebStorage implements StoragePlugin {
5844
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5845
+ export class WebStorage implements PreferencesPlugin {
5514
5846
  storage: Storage;
5515
5847
  get(options: {
5516
5848
  key: string;
@@ -5544,14 +5876,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
5544
5876
  import { SharePlugin } from '@capacitor/share';
5545
5877
  import { SplashScreenPlugin } from '@capacitor/splash-screen';
5546
5878
  import { StatusBarPlugin } from '@capacitor/status-bar';
5547
- import { StoragePlugin } from '@capacitor/storage';
5879
+ import { PreferencesPlugin } from '@capacitor/preferences';
5548
5880
  import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
5549
5881
  import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
5550
5882
  import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
5551
5883
  import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
5552
5884
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
5553
5885
  export interface CondensePluginRegistry {
5554
- Storage: StoragePlugin;
5886
+ Storage: PreferencesPlugin;
5555
5887
  Device: DevicePlugin;
5556
5888
  App: AppPlugin;
5557
5889
  Keyboard: KeyboardPlugin;
@@ -6213,7 +6545,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
6213
6545
  import { UserRegistrationResult } from "libs/reach/util/common/src/index";
6214
6546
  import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
6215
6547
  export function useSelfRegistrationApi(): {
6216
- changeRegistrationStatus: (upn: string, doAccept: boolean) => any;
6548
+ changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
6217
6549
  hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
6218
6550
  register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
6219
6551
  updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
@@ -6269,6 +6601,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6269
6601
  onSaved: (newProperties: UpdatableUserProperties) => void;
6270
6602
  }>;
6271
6603
  }
6604
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6605
+ import { FC } from 'react';
6606
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6607
+ export const GenerateApiKeyDialog: FC<{
6608
+ onApiKeyAdded?: () => void;
6609
+ onDismiss: () => void;
6610
+ user?: UserItem;
6611
+ }>;
6612
+ }
6272
6613
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6273
6614
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6274
6615
  import './UserList.scss';
@@ -6292,7 +6633,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6292
6633
  isLoading?: boolean;
6293
6634
  isEmpty?: boolean;
6294
6635
  emptyPlaceholder?: ReactNode;
6636
+ onKeyChanged?: () => void;
6295
6637
  }
6638
+ export type UserItem = Account & UserSummary & GroupUser & {
6639
+ accountType: string;
6640
+ lastLogin: string | JSX.Element;
6641
+ };
6296
6642
  export const UserList: FC<Props>;
6297
6643
  }
6298
6644
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6325,12 +6671,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6325
6671
  className?: string;
6326
6672
  }>;
6327
6673
  }
6328
- declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
6329
- import { FC } from 'react';
6330
- export const GenerateApiKeyButton: FC<{
6331
- onApiKeyAdded: () => void;
6332
- }>;
6333
- }
6334
6674
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6335
6675
  import { FC } from 'react';
6336
6676
  import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
@@ -6350,18 +6690,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
6350
6690
  }
6351
6691
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
6352
6692
  import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6693
+ export enum ValidationStatus {
6694
+ Valid = 0,
6695
+ WithErrors = 1,
6696
+ WithUserErrors = 2
6697
+ }
6698
+ export type CsvValidation = {
6699
+ Status?: ValidationStatus;
6700
+ Message?: string;
6701
+ InvalidItems?: string[];
6702
+ };
6353
6703
  export function useUserCsvInviter(): {
6354
6704
  invitedUsers: UserImport[];
6355
6705
  isValidating: boolean;
6356
6706
  isCsvValid: boolean;
6357
6707
  parseCsvFile: (csvFile: File) => void;
6358
- error: string;
6359
- setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6708
+ csvValidation: CsvValidation;
6709
+ setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
6360
6710
  inviteUsers: (onSuccess?: () => void) => Promise<void>;
6361
6711
  isParserReady: boolean;
6362
- isImporting: boolean;
6712
+ isInviting: boolean;
6713
+ canInvite: boolean;
6714
+ csvFile: File;
6363
6715
  };
6364
6716
  }
6717
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
6718
+ export function createCsvUrl(header: string, content: string): string;
6719
+ }
6720
+ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
6721
+ import { FC } from 'react';
6722
+ import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
6723
+ import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
6724
+ export const CsvFileValidationResult: FC<{
6725
+ csvValidation: CsvValidation;
6726
+ invitedUsers: UserImport[];
6727
+ }>;
6728
+ }
6365
6729
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
6366
6730
  import { FC } from 'react';
6367
6731
  export const ImportUserButton: FC<{
@@ -6394,34 +6758,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
6394
6758
  children?: (content: string, index: number) => JSX.Element;
6395
6759
  }>;
6396
6760
  }
6397
- declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6398
- export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
6399
- }
6400
6761
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6401
6762
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6402
- export class EventResponseTriggerAction implements AppTriggerAction {
6763
+ export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
6403
6764
  static type: string;
6404
6765
  type: string;
6405
6766
  itemId: string;
6406
6767
  response: EventResponse;
6407
6768
  locationId: string;
6408
6769
  onBehalfOfUpn: string;
6409
- static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventResponseTriggerAction;
6770
+ static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
6410
6771
  }
6411
- export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6772
+ export class EventResponseTriggerAction implements AppTriggerAction {
6412
6773
  static type: string;
6413
6774
  type: string;
6414
- recurrenceSeriesId: string;
6775
+ itemId: string;
6415
6776
  response: EventResponse;
6416
- static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6777
+ static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
6417
6778
  }
6418
- export class LikeFullSeriesTriggerAction implements AppTriggerAction {
6779
+ export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
6419
6780
  static type: string;
6420
6781
  type: string;
6421
6782
  recurrenceSeriesId: string;
6422
- itemId: string;
6423
- isLiked: boolean;
6424
- static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
6783
+ response: EventResponse;
6784
+ static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
6425
6785
  }
6426
6786
  export class FollowCommentsTriggerAction implements AppTriggerAction {
6427
6787
  static type: string;
@@ -6436,6 +6796,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6436
6796
  followByDefault: boolean;
6437
6797
  static create(followState: boolean): AutoFollowPostsTriggerAction;
6438
6798
  }
6799
+ export class AutoLikeItemTriggerAction implements AppTriggerAction {
6800
+ static type: string;
6801
+ type: string;
6802
+ recurrenceSeriesId: string;
6803
+ isLiked: boolean;
6804
+ likeCount: number;
6805
+ static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6806
+ }
6439
6807
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6440
6808
  static type: string;
6441
6809
  type: string;
@@ -6456,6 +6824,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6456
6824
  type: string;
6457
6825
  static create(): StreamMarkAllAsReadAction;
6458
6826
  }
6827
+ export class RefetchItemAction implements AppTriggerAction {
6828
+ static type: string;
6829
+ type: string;
6830
+ itemId: string;
6831
+ static create(itemId: string): RefetchItemAction;
6832
+ }
6833
+ export class RefetchStreamItemAction implements AppTriggerAction {
6834
+ static type: string;
6835
+ type: string;
6836
+ itemId: string;
6837
+ static create(itemId: string): RefetchStreamItemAction;
6838
+ }
6459
6839
  }
6460
6840
  declare module "libs/reach/feature/content/src/comments/CommentFilter" {
6461
6841
  export interface CommentFilter {
@@ -6472,26 +6852,29 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
6472
6852
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6473
6853
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
6474
6854
  import { Attachment } from "libs/reach/util/common/src/index";
6855
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6475
6856
  import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
6476
6857
  export function useCommentApi(): {
6477
- createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => any;
6478
- createEditorComment: (itemId: string, comment: Partial<Comment>) => any;
6479
- listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => any;
6480
- getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => any;
6481
- getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => any;
6482
- getEditorConversations: (itemId: string) => any;
6858
+ createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
6859
+ createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
6860
+ listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
6861
+ getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
6862
+ getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
6863
+ getEditorConversations: (itemId: string) => Promise<Comment[]>;
6483
6864
  translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
6484
- deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => any;
6485
- deleteEditorComment: (itemId: string, commentId: string) => any;
6865
+ deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
6866
+ deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
6486
6867
  toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
6487
- updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => any;
6868
+ updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
6488
6869
  onCommentCreated$: import("rxjs").Observable<string>;
6489
6870
  };
6490
6871
  }
6872
+ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6873
+ export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
6874
+ }
6491
6875
  declare module "libs/reach/feature/content/src/comments/FollowComments" {
6492
6876
  import { FC } from 'react';
6493
- import { ConversationScope } from "libs/reach/util/common/src/index";
6494
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
6877
+ import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
6495
6878
  interface Props {
6496
6879
  type: ItemResourceTypes;
6497
6880
  itemId: string;
@@ -6615,7 +6998,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6615
6998
  import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6616
6999
  import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6617
7000
  import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6618
- export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
7001
+ export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
6619
7002
  }
6620
7003
  export interface BaseFilterDefinition {
6621
7004
  search?: string;
@@ -6623,6 +7006,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6623
7006
  pageSize?: string | number;
6624
7007
  groupId?: string;
6625
7008
  }
7009
+ export interface ItemIdsFilterDefinition {
7010
+ itemIds?: string;
7011
+ }
6626
7012
  export interface IndexableFilterDefinition {
6627
7013
  [key: string]: any;
6628
7014
  }
@@ -6943,7 +7329,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
6943
7329
  deletePost: (postId: string) => Promise<unknown>;
6944
7330
  getPost: (postId: string, commentCount?: number) => Promise<Post>;
6945
7331
  getPostThread: (postId: string, threadId: string) => Promise<Post>;
6946
- translatePost: (postId: string, language: string) => any;
7332
+ translatePost: (postId: string, language: string) => Promise<string>;
6947
7333
  searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
6948
7334
  };
6949
7335
  }
@@ -7110,6 +7496,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
7110
7496
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7111
7497
  import { FC, MouseEvent } from 'react';
7112
7498
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7499
+ import { LocationState } from 'history';
7113
7500
  export const ClickableOverlay: FC<{
7114
7501
  itemId: string;
7115
7502
  itemType: ItemResourceTypes;
@@ -7120,6 +7507,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7120
7507
  onClick?: (event: MouseEvent<unknown>) => unknown;
7121
7508
  openTargetInNewWindow?: boolean;
7122
7509
  isExternalContent?: boolean;
7510
+ locationState?: LocationState;
7511
+ }>;
7512
+ }
7513
+ declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
7514
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7515
+ import { FC } from 'react';
7516
+ export const ClickableOverlayWithModalRouting: FC<{
7517
+ itemId: string;
7518
+ itemType: ItemResourceTypes;
7519
+ baseRoute: string;
7520
+ title?: string;
7521
+ isExternalContent?: boolean;
7522
+ targetUrl?: string;
7123
7523
  }>;
7124
7524
  }
7125
7525
  declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
@@ -7130,6 +7530,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
7130
7530
  targetUrl?: string;
7131
7531
  readOnly?: boolean;
7132
7532
  backgroundColor?: string;
7533
+ enableModalRouting?: boolean;
7133
7534
  className?: string;
7134
7535
  }>;
7135
7536
  }
@@ -7167,6 +7568,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7167
7568
  className?: string;
7168
7569
  allowFilterByChannels?: boolean;
7169
7570
  channelBackgroundColor?: string;
7571
+ onChannelClick?: (channel: string) => unknown;
7170
7572
  }>;
7171
7573
  }
7172
7574
  declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
@@ -7226,6 +7628,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7226
7628
  height?: number;
7227
7629
  hidePlayerIfActive?: boolean;
7228
7630
  className?: string;
7631
+ documentIconName?: string;
7229
7632
  }
7230
7633
  export const PublishableItemBanner: FC<Props>;
7231
7634
  }
@@ -7464,10 +7867,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
7464
7867
  }
7465
7868
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
7466
7869
  import { FC } from 'react';
7870
+ import { EventResponse } from "libs/reach/util/common/src/index";
7467
7871
  export const EventUserRegistration: FC<{
7468
7872
  disabled?: boolean;
7469
7873
  hideInfoMessage?: boolean;
7470
7874
  showNoRegistrationRequired?: boolean;
7875
+ onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
7471
7876
  className?: string;
7472
7877
  }>;
7473
7878
  }
@@ -7537,8 +7942,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7537
7942
  export const CardLikeButton: FC<{
7538
7943
  item: NewsItem | EventItem;
7539
7944
  itemResourceType: ItemResourceTypes;
7540
- isAutoLiked?: boolean;
7541
- onLiked?: (isLiked: boolean) => unknown;
7945
+ onToggleLike?: (isLiked: boolean, likeCount: number) => void;
7542
7946
  className?: string;
7543
7947
  }>;
7544
7948
  }
@@ -7560,6 +7964,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
7560
7964
  className?: string;
7561
7965
  }>;
7562
7966
  }
7967
+ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
7968
+ import { FC } from 'react';
7969
+ export const LinkWithModalRouting: FC<{
7970
+ url: string;
7971
+ itemId: string;
7972
+ hash?: string;
7973
+ onClick?: (e: React.MouseEvent) => unknown;
7974
+ ariaHidden?: boolean;
7975
+ ariaLabel?: string;
7976
+ className?: string;
7977
+ }>;
7978
+ }
7563
7979
  declare module "libs/reach/feature/content/src/events/list/EventCard" {
7564
7980
  import { FC } from 'react';
7565
7981
  import { EventItem } from "libs/reach/util/common/src/index";
@@ -7578,6 +7994,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
7578
7994
  allowFilterByChannels?: boolean;
7579
7995
  showFeedbackButtons?: boolean;
7580
7996
  readOnly?: boolean;
7997
+ enableModalRouting?: boolean;
7581
7998
  className?: string;
7582
7999
  }>;
7583
8000
  }
@@ -7613,6 +8030,36 @@ declare module "libs/reach/feature/content/src/common/body/inline-file-list/Inli
7613
8030
  className?: string;
7614
8031
  }>;
7615
8032
  }
8033
+ declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/ColoredText" {
8034
+ import { ContentState } from 'draft-js';
8035
+ import { FC } from 'react';
8036
+ export const ColoredText: FC<{
8037
+ entityKey: string;
8038
+ contentState: ContentState;
8039
+ }>;
8040
+ }
8041
+ declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextStrategy" {
8042
+ import { ContentBlock, ContentState } from 'draft-js';
8043
+ export const ColoredTextType = "colored-text";
8044
+ export function findColoredTextEntities(contentBlock: ContentBlock, callback: (start: number, end: number) => void, contentState: ContentState): void;
8045
+ }
8046
+ declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextUtils" {
8047
+ import { CompositeDecorator, EditorState } from 'draft-js';
8048
+ import { EditorPlugin } from '@draft-js-plugins/editor';
8049
+ import { EntityKey } from 'draft-convert';
8050
+ type ColoredTextPlugin = EditorPlugin & {
8051
+ decorators: CompositeDecorator[];
8052
+ };
8053
+ export function createColoredTextPlugin(): ColoredTextPlugin;
8054
+ export function createColoredTextEntity(node: HTMLElement, createEntity: (type: string, mutability: string, data: object) => EntityKey): string;
8055
+ export function createColoredTextAtSelection(editorState: EditorState, colorId: string): EditorState;
8056
+ export function removeColoredTextAtSelection(editorState: EditorState): EditorState;
8057
+ }
8058
+ declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/index" {
8059
+ export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/ColoredText";
8060
+ export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextStrategy";
8061
+ export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextUtils";
8062
+ }
7616
8063
  declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7617
8064
  import { FC } from 'react';
7618
8065
  import { DraftBlockType } from 'draft-js';
@@ -7628,7 +8075,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7628
8075
  Contact = "contact",
7629
8076
  InlinePageList = "inline-page-list",
7630
8077
  UrlPreview = "url-preview",
7631
- ActionButton = "action-button"
8078
+ ActionButton = "action-button",
8079
+ InlinePlugin = "inline-plugin"
7632
8080
  }
7633
8081
  export interface HtmlComponentMapper {
7634
8082
  component: FC<any>;
@@ -7770,7 +8218,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
7770
8218
  resourceKey?: string;
7771
8219
  resourceValues?: string;
7772
8220
  className?: string;
8221
+ enableModalRouting?: boolean;
8222
+ itemId?: string;
7773
8223
  isOverrideLink: boolean;
8224
+ icon?: string;
7774
8225
  }>;
7775
8226
  }
7776
8227
  declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
@@ -7829,6 +8280,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7829
8280
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7830
8281
  onKeywordClick?: (keyword: string) => unknown;
7831
8282
  openTargetInNewWindow?: boolean;
8283
+ enableModalRouting?: boolean;
7832
8284
  className?: string;
7833
8285
  }
7834
8286
  export const PageItemTile: FC<Props>;
@@ -7874,6 +8326,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
7874
8326
  onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7875
8327
  styleDefinition?: StyleDefinition;
7876
8328
  readOnly?: boolean;
8329
+ enableModalRouting?: boolean;
7877
8330
  className?: string;
7878
8331
  }
7879
8332
  export const PublishableItemTileWrapper: FC<Props>;
@@ -7917,6 +8370,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7917
8370
  onKeywordClick?: (keyword: string) => unknown;
7918
8371
  styleDefinition?: StyleDefinition;
7919
8372
  readOnly?: boolean;
8373
+ enableModalRouting?: boolean;
7920
8374
  className?: string;
7921
8375
  }
7922
8376
  export const NewsItemTile: FC<Props>;
@@ -7942,6 +8396,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
7942
8396
  previewTheme?: CommentInputTheme;
7943
8397
  buttons?: ReactNode;
7944
8398
  groupIds?: string[];
8399
+ enableModalRouting?: boolean;
7945
8400
  className?: string;
7946
8401
  }>;
7947
8402
  export const EmbeddedObjectAccessDeniedTile: FC<{
@@ -7958,6 +8413,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
7958
8413
  attachments: Attachment[];
7959
8414
  onDeleteClick?: (attachment: Attachment) => void;
7960
8415
  previewTheme?: CommentInputTheme;
8416
+ enableModalRouting?: boolean;
7961
8417
  className?: string;
7962
8418
  }>;
7963
8419
  }
@@ -8118,6 +8574,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8118
8574
  import { FC, ReactNode } from 'react';
8119
8575
  export const InlineObjectToolbar: FC<{
8120
8576
  onDelete?: () => void;
8577
+ deleteAriaLabelResourceKey?: string;
8121
8578
  additionalButtons?: ReactNode;
8122
8579
  }>;
8123
8580
  export const InlineObjectToolbarWrapper: FC<{
@@ -8125,15 +8582,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
8125
8582
  }>;
8126
8583
  }
8127
8584
  declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
8128
- import { FC } from 'react';
8585
+ import { FC, ReactNode } from 'react';
8586
+ import { ImageAlignment } from "libs/reach/util/common/src/index";
8129
8587
  export const ImageToolbar: FC<{
8130
8588
  onDelete?: () => void;
8131
8589
  onFullScreen?: (e: React.MouseEvent<any>) => void;
8132
8590
  onClose?: (e: React.MouseEvent<any>) => void;
8133
8591
  onCrop?: (e: React.MouseEvent<any>) => void;
8592
+ onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
8134
8593
  showFullScreenButton?: boolean;
8135
8594
  showCloseButton?: boolean;
8136
8595
  showCropButton?: boolean;
8596
+ alignmentButtons?: ReactNode;
8137
8597
  }>;
8138
8598
  }
8139
8599
  declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
@@ -8260,6 +8720,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8260
8720
  export const EditCommentWithAttachments: FC<Props>;
8261
8721
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
8262
8722
  }
8723
+ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8724
+ import { FC } from 'react';
8725
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8726
+ export const BookmarkButton: FC<{
8727
+ item: PublishableItem;
8728
+ isReadOnly?: boolean;
8729
+ className?: string;
8730
+ }>;
8731
+ }
8263
8732
  declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8264
8733
  import { FC } from 'react';
8265
8734
  export const CardStatisticItem: FC<{
@@ -8277,13 +8746,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8277
8746
  };
8278
8747
  }>;
8279
8748
  }
8280
- declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
8749
+ declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
8750
+ import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8281
8751
  import { FC } from 'react';
8282
- import { PublishableItem } from "libs/reach/util/common/src/index";
8283
- export const BookmarkButton: FC<{
8284
- item: PublishableItem;
8285
- isReadOnly?: boolean;
8286
- className?: string;
8752
+ export const CardCommentButton: FC<{
8753
+ item: NewsItem | EventItem;
8754
+ itemResourceType: ItemResourceTypes;
8755
+ targetRoute: string;
8756
+ enableModalRouting?: boolean;
8287
8757
  }>;
8288
8758
  }
8289
8759
  declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
@@ -8291,13 +8761,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8291
8761
  import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8292
8762
  export const CardFooter: FC<{
8293
8763
  item: NewsItem | EventItem;
8294
- showComments: boolean;
8295
8764
  targetRoute: string;
8296
8765
  itemResourceType: ItemResourceTypes;
8297
- isAutoLiked?: boolean;
8298
- onLiked?: (isLiked: boolean) => unknown;
8766
+ enableModalRouting?: boolean;
8299
8767
  }>;
8300
- export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8768
+ export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8301
8769
  }
8302
8770
  declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8303
8771
  export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -8346,6 +8814,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
8346
8814
  target?: string;
8347
8815
  language?: string;
8348
8816
  hideCurrentPageNode?: boolean;
8817
+ homeTargetUrlOverride?: string;
8349
8818
  className?: string;
8350
8819
  }>;
8351
8820
  }
@@ -8545,6 +9014,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8545
9014
  language?: string;
8546
9015
  buildChannelFilterUrl?: (channelName: string) => string;
8547
9016
  clickableAvatar?: boolean;
9017
+ onChannelClick?: (channel: string) => unknown;
8548
9018
  }>;
8549
9019
  }
8550
9020
  declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
@@ -8594,7 +9064,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8594
9064
  item: NewsItem;
8595
9065
  baseRoute: string;
8596
9066
  language: string;
8597
- showComments: boolean;
8598
9067
  highlight: boolean;
8599
9068
  className?: string;
8600
9069
  }
@@ -8701,6 +9170,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8701
9170
  }
8702
9171
  declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8703
9172
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9173
+ export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
8704
9174
  export const InlineImageMapper: HtmlComponentMapper;
8705
9175
  }
8706
9176
  declare module "libs/reach/feature/content/src/common/body/InlineContact" {
@@ -8919,6 +9389,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
8919
9389
  }
8920
9390
  export const InlineActionButtonMapper: HtmlComponentMapper;
8921
9391
  }
9392
+ declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
9393
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
9394
+ export const InlineObjectPluginMapper: HtmlComponentMapper;
9395
+ }
8922
9396
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8923
9397
  import { FC } from 'react';
8924
9398
  export const EventDetailViewPeopleInfo: FC;
@@ -8931,6 +9405,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8931
9405
  import { FC } from 'react';
8932
9406
  export const EventDetailViewMetaInfo: FC<{
8933
9407
  allowFilterByChannels?: boolean;
9408
+ onChannelClick?: (channel: string) => unknown;
8934
9409
  }>;
8935
9410
  }
8936
9411
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
@@ -9138,6 +9613,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
9138
9613
  readOnly?: boolean;
9139
9614
  trimContent?: boolean;
9140
9615
  showReplyBox?: boolean;
9616
+ enableModalRouting?: boolean;
9141
9617
  className?: string;
9142
9618
  }>;
9143
9619
  }
@@ -9160,6 +9636,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
9160
9636
  onReply?: (comment: Comment, commentSender?: Account) => void;
9161
9637
  readOnly?: boolean;
9162
9638
  trimContent?: boolean;
9639
+ enableModalRouting?: boolean;
9163
9640
  className?: string;
9164
9641
  }
9165
9642
  export const CommentList: FC<CommentListProps>;
@@ -9219,6 +9696,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
9219
9696
  showReplyBox?: boolean;
9220
9697
  trimContent?: boolean;
9221
9698
  title?: ReactNode;
9699
+ enableModalRouting?: boolean;
9222
9700
  className?: string;
9223
9701
  };
9224
9702
  export const PagedCommentsSection: FC<Props>;
@@ -9243,14 +9721,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
9243
9721
  }
9244
9722
  declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
9245
9723
  import { FC } from 'react';
9246
- import { PublishableItem } from "libs/reach/util/common/src/index";
9247
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9724
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9248
9725
  export const PublishableItemComments: FC<{
9249
9726
  item: PublishableItem;
9250
9727
  readOnly?: boolean;
9251
9728
  loadInReadOnlyMode?: boolean;
9252
9729
  type: ItemResourceTypes;
9253
- hideProfileUrl?: boolean;
9254
9730
  disableLoginForPublicUser?: boolean;
9255
9731
  }>;
9256
9732
  }
@@ -9311,16 +9787,13 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
9311
9787
  }
9312
9788
  declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
9313
9789
  import { FC } from 'react';
9314
- import { FeedbackSettings } from "libs/reach/util/common/src/index";
9315
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9316
- import { PublishableItem } from "libs/reach/util/common/src/index";
9790
+ import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9317
9791
  export const FeedbackSection: FC<{
9318
9792
  item: PublishableItem;
9319
9793
  language: string;
9320
9794
  type: ItemResourceTypes;
9321
9795
  feedbackSettings: FeedbackSettings;
9322
9796
  hideComments?: boolean;
9323
- hideProfileUrl?: boolean;
9324
9797
  disableLoginForPublicUser?: boolean;
9325
9798
  isReadOnly?: boolean;
9326
9799
  className?: string;
@@ -9487,6 +9960,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9487
9960
  layoutMode?: ItemTileLayoutMode;
9488
9961
  bannerDefaultWidth?: number;
9489
9962
  showPlaceholderIfNoBannerInfo?: boolean;
9963
+ documentIconName?: string;
9490
9964
  }>;
9491
9965
  }
9492
9966
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
@@ -9557,6 +10031,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9557
10031
  import { FC } from 'react';
9558
10032
  export const DetailViewKeywords: FC<{
9559
10033
  filterBaseUrl: string;
10034
+ onKeywordClick?: (keyword: string) => unknown;
9560
10035
  }>;
9561
10036
  }
9562
10037
  declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
@@ -9604,8 +10079,9 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9604
10079
  import { FC, ReactNode } from 'react';
9605
10080
  export const DetailViewNavigation: FC<{
9606
10081
  offsetRight?: number;
9607
- children?: ReactNode;
9608
10082
  callout?: ReactNode;
10083
+ className?: string;
10084
+ children?: ReactNode;
9609
10085
  }>;
9610
10086
  }
9611
10087
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
@@ -9648,6 +10124,13 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
9648
10124
  getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
9649
10125
  };
9650
10126
  }
10127
+ declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
10128
+ interface IClickHandles {
10129
+ onInsideClick: () => void;
10130
+ onOutsideClick: () => void;
10131
+ }
10132
+ export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
10133
+ }
9651
10134
  declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
9652
10135
  import { LocationDescriptor } from 'history';
9653
10136
  import { FC, ReactNode } from 'react';
@@ -9751,7 +10234,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
9751
10234
  import { FC } from 'react';
9752
10235
  export const ContentWithShowMoreButton: FC<{
9753
10236
  domIdentifier: string;
9754
- trimContent: boolean;
10237
+ trimContent?: boolean;
9755
10238
  className?: string;
9756
10239
  }>;
9757
10240
  }
@@ -9816,6 +10299,7 @@ declare module "libs/reach/feature/content/src/common/index" {
9816
10299
  export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
9817
10300
  export * from "libs/reach/feature/content/src/common/body/InlineFileList";
9818
10301
  export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
10302
+ export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
9819
10303
  export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
9820
10304
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
9821
10305
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
@@ -9869,6 +10353,7 @@ declare module "libs/reach/feature/content/src/common/index" {
9869
10353
  export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
9870
10354
  export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
9871
10355
  export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
10356
+ export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
9872
10357
  export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
9873
10358
  export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
9874
10359
  export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
@@ -9879,6 +10364,7 @@ declare module "libs/reach/feature/content/src/common/index" {
9879
10364
  export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
9880
10365
  export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
9881
10366
  export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
10367
+ export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/index";
9882
10368
  }
9883
10369
  declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
9884
10370
  import { FC } from 'react';
@@ -9898,13 +10384,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
9898
10384
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
9899
10385
  getHashtagFilterRoute?: (hashtag: string) => string;
9900
10386
  highlight?: boolean;
9901
- isInitialLiked?: boolean;
9902
10387
  hasUnreadReplies?: boolean;
9903
10388
  onReplyIconClick?: () => void;
9904
10389
  onReply?: (comment: Comment, commentSender?: Account) => void;
9905
10390
  replyCount?: number;
9906
10391
  readOnly?: boolean;
9907
10392
  trimContent?: boolean;
10393
+ enableModalRouting?: boolean;
9908
10394
  className?: string;
9909
10395
  }
9910
10396
  export const CommentDisplay: FC<Props>;
@@ -10132,6 +10618,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
10132
10618
  onReplyAdded: () => void;
10133
10619
  onReplyDeleted: () => void;
10134
10620
  trimContent?: boolean;
10621
+ enableModalRouting?: boolean;
10135
10622
  }
10136
10623
  export const PostReplies: FC<Props>;
10137
10624
  }
@@ -10199,6 +10686,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10199
10686
  baseTargetUrl?: string;
10200
10687
  }
10201
10688
  export const PostDisplay: FC<Props>;
10689
+ export const PostDisplayWithModalRouting: FC<Props>;
10202
10690
  }
10203
10691
  declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
10204
10692
  import { FC } from 'react';
@@ -11057,6 +11545,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11057
11545
  poll?: import("@livetiles/reach/util/common").Poll;
11058
11546
  searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11059
11547
  })[];
11548
+ export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
11060
11549
  }
11061
11550
  declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11062
11551
  import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11081,6 +11570,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11081
11570
  };
11082
11571
  refresh: () => Promise<void>;
11083
11572
  isLoadingFirstPage: boolean;
11573
+ refetchItem: (itemId: string) => Promise<void>;
11084
11574
  };
11085
11575
  export function hasFilter(filter?: StreamFilterDefinition): boolean;
11086
11576
  export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
@@ -11219,8 +11709,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
11219
11709
  declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11220
11710
  export type ShareTokenType = 'preview' | 'published';
11221
11711
  export function useShareTokenEditorApi(): {
11222
- activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11223
- deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11712
+ activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<string>;
11713
+ deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<unknown>;
11224
11714
  };
11225
11715
  }
11226
11716
  declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
@@ -11231,9 +11721,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11231
11721
  cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11232
11722
  uncancelEvent: (id: string) => Promise<unknown>;
11233
11723
  unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11234
- deleteEventPermanently: (eventId: string) => any;
11724
+ deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11235
11725
  saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11236
- deleteModifiedRecurrence: (eventId: string) => any;
11726
+ deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
11237
11727
  };
11238
11728
  }
11239
11729
  declare module "libs/reach/feature/content/src/editor/index" {
@@ -11801,7 +12291,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11801
12291
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
11802
12292
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
11803
12293
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
11804
- export interface Props extends SearchBoxProps {
12294
+ export interface PageProps extends SearchBoxProps {
11805
12295
  className?: string;
11806
12296
  headerContents?: JSX.Element;
11807
12297
  headerToolbar?: HeaderToolbarTypeHack;
@@ -11819,12 +12309,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
11819
12309
  submenuContents?: JSX.Element;
11820
12310
  submenuClassName?: string;
11821
12311
  disableScrollableContainerFocus?: boolean;
12312
+ asModal?: boolean;
12313
+ domIdentifier?: string;
11822
12314
  }
11823
12315
  export enum MenuNavigationMode {
11824
12316
  Collapse = 0,
11825
12317
  KeepOpen = 1
11826
12318
  }
11827
- export const Page: FC<Props>;
12319
+ export const Page: FC<PageProps>;
11828
12320
  }
11829
12321
  declare module "apps/reach-app/src/plugins/reach-chrome" {
11830
12322
  import { Page } from "apps/reach-app/src/app/chrome/Page";