@livetiles/reach-plugin-types 0.5.0-preview.21 → 0.5.0-preview.210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +564 -108
- 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 {
|
|
@@ -1274,9 +1502,19 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1274
1502
|
subscriptionId: string;
|
|
1275
1503
|
subscriptionName: string;
|
|
1276
1504
|
}
|
|
1277
|
-
export
|
|
1278
|
-
|
|
1279
|
-
|
|
1505
|
+
export enum ExtensionArea {
|
|
1506
|
+
global = "Global",
|
|
1507
|
+
page = "Page",
|
|
1508
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
1509
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
1510
|
+
itemEditor = "ItemEditor"
|
|
1511
|
+
}
|
|
1512
|
+
export type InlinePlugin = {
|
|
1513
|
+
area: ExtensionArea.itemEditor;
|
|
1514
|
+
objectButton: PluginObjectButton;
|
|
1515
|
+
};
|
|
1516
|
+
export type PagePlugin = {
|
|
1517
|
+
area: ExtensionArea.page;
|
|
1280
1518
|
route: string;
|
|
1281
1519
|
navigationNode?: {
|
|
1282
1520
|
componentName?: string;
|
|
@@ -1286,7 +1524,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1286
1524
|
[key: string]: string;
|
|
1287
1525
|
};
|
|
1288
1526
|
};
|
|
1289
|
-
}
|
|
1527
|
+
};
|
|
1528
|
+
export type PluginExtension = {
|
|
1529
|
+
area: ExtensionArea;
|
|
1530
|
+
componentName: string;
|
|
1531
|
+
} & (InlinePlugin | PagePlugin);
|
|
1532
|
+
export type PluginObjectButton = {
|
|
1533
|
+
buttonLabel: {
|
|
1534
|
+
defaultLabel: string;
|
|
1535
|
+
translations?: {
|
|
1536
|
+
[key: string]: string;
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
iconName: string;
|
|
1540
|
+
};
|
|
1290
1541
|
export interface PluginNotificationDefinitions {
|
|
1291
1542
|
key: string;
|
|
1292
1543
|
title: string;
|
|
@@ -1390,6 +1641,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1390
1641
|
pluginNotifications: {
|
|
1391
1642
|
[key: string]: NotificationType;
|
|
1392
1643
|
};
|
|
1644
|
+
newsEditor: NotificationType;
|
|
1645
|
+
eventEditor: NotificationType;
|
|
1393
1646
|
}
|
|
1394
1647
|
export interface RequestUser extends BasicUserInformation {
|
|
1395
1648
|
tenantId: string;
|
|
@@ -1490,6 +1743,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1490
1743
|
user: UserSummary;
|
|
1491
1744
|
type: SubscriptionJoinResultType;
|
|
1492
1745
|
message?: string;
|
|
1746
|
+
isSuccess?: boolean;
|
|
1493
1747
|
}
|
|
1494
1748
|
export interface UserActivationResult {
|
|
1495
1749
|
type: UserActivationResultType;
|
|
@@ -1931,6 +2185,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1931
2185
|
}
|
|
1932
2186
|
}
|
|
1933
2187
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2188
|
+
import { Api } from 'restful.js';
|
|
1934
2189
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
1935
2190
|
export class ClientFactoryInstance {
|
|
1936
2191
|
private env;
|
|
@@ -1941,7 +2196,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1941
2196
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
1942
2197
|
url: string;
|
|
1943
2198
|
}) => Promise<unknown>);
|
|
1944
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2199
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
1945
2200
|
private createApiInternal;
|
|
1946
2201
|
private addRequestTimeLogger;
|
|
1947
2202
|
createApiUrl: (url: string, query?: {
|
|
@@ -2521,6 +2776,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2521
2776
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2522
2777
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2523
2778
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
2779
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
2780
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2524
2781
|
};
|
|
2525
2782
|
}
|
|
2526
2783
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2711,7 +2968,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2711
2968
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2712
2969
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2713
2970
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2714
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
2971
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2715
2972
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2716
2973
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2717
2974
|
};
|
|
@@ -2817,17 +3074,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2817
3074
|
}
|
|
2818
3075
|
}
|
|
2819
3076
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2820
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3077
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2821
3078
|
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
3079
|
export interface PluginNavigationNodeProps {
|
|
2829
3080
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
2830
3081
|
}
|
|
3082
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3083
|
+
isEditMode?: boolean;
|
|
3084
|
+
componentInstanceId: string;
|
|
3085
|
+
};
|
|
2831
3086
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2832
3087
|
type DevPlugin = {
|
|
2833
3088
|
pluginId: string;
|
|
@@ -2881,22 +3136,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
2881
3136
|
}
|
|
2882
3137
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2883
3138
|
import { FC } from 'react';
|
|
2884
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3139
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
2885
3140
|
export const Plugins: FC<{
|
|
2886
3141
|
area: ExtensionArea;
|
|
2887
3142
|
} & any>;
|
|
2888
3143
|
}
|
|
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
3144
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2901
3145
|
export class Color {
|
|
2902
3146
|
private r;
|
|
@@ -3099,7 +3343,7 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3099
3343
|
export const videoAttachmentRoundedCornerSize = 20;
|
|
3100
3344
|
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3101
3345
|
export const feedbackButtonHeight = 32;
|
|
3102
|
-
export const mainScrollableContainerSelector = "lt-reach-main-content";
|
|
3346
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
3103
3347
|
export const statusColors: {
|
|
3104
3348
|
draft: string;
|
|
3105
3349
|
ready: string;
|
|
@@ -3113,6 +3357,25 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3113
3357
|
export const managePagesRowHeight = 40;
|
|
3114
3358
|
export const mobilePreviewWidth = 414;
|
|
3115
3359
|
}
|
|
3360
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3361
|
+
import { FC } from 'react';
|
|
3362
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3363
|
+
export const Plugin: FC<PluginProps & {
|
|
3364
|
+
showDetailedErrorMessage?: boolean;
|
|
3365
|
+
} & any>;
|
|
3366
|
+
}
|
|
3367
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3368
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3369
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3370
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3371
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3372
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3373
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3374
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3375
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3376
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3377
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3378
|
+
}
|
|
3116
3379
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3117
3380
|
import { FC, ReactNode } from 'react';
|
|
3118
3381
|
import { ToastOptions } from 'react-toastify';
|
|
@@ -3215,6 +3478,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3215
3478
|
width?: number;
|
|
3216
3479
|
height?: number;
|
|
3217
3480
|
}
|
|
3481
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3482
|
+
imageAlignment?: ImageAlignment;
|
|
3483
|
+
}
|
|
3484
|
+
export enum ImageAlignment {
|
|
3485
|
+
Default = "default",
|
|
3486
|
+
Left = "left",
|
|
3487
|
+
Right = "right",
|
|
3488
|
+
Center = "center"
|
|
3489
|
+
}
|
|
3218
3490
|
}
|
|
3219
3491
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3220
3492
|
export interface MainPanelContextType {
|
|
@@ -3265,6 +3537,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3265
3537
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3266
3538
|
}
|
|
3267
3539
|
}
|
|
3540
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3541
|
+
export interface ModalRouting {
|
|
3542
|
+
isActive: boolean;
|
|
3543
|
+
itemId: string;
|
|
3544
|
+
backgroundLocation: any;
|
|
3545
|
+
}
|
|
3546
|
+
export function useModalRouting(): {
|
|
3547
|
+
isModalRoutingActive: boolean;
|
|
3548
|
+
modalItemId: string;
|
|
3549
|
+
backgroundLocation: any;
|
|
3550
|
+
};
|
|
3551
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3552
|
+
modalRouting: {
|
|
3553
|
+
isActive: boolean;
|
|
3554
|
+
itemId: string;
|
|
3555
|
+
backgroundLocation: {
|
|
3556
|
+
state: {
|
|
3557
|
+
modalRouting: {
|
|
3558
|
+
isActive: boolean;
|
|
3559
|
+
};
|
|
3560
|
+
};
|
|
3561
|
+
pathname: string;
|
|
3562
|
+
search: string;
|
|
3563
|
+
hash: string;
|
|
3564
|
+
key?: string;
|
|
3565
|
+
};
|
|
3566
|
+
};
|
|
3567
|
+
};
|
|
3568
|
+
}
|
|
3268
3569
|
declare module "libs/reach/util/common/src/index" {
|
|
3269
3570
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3270
3571
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3274,6 +3575,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3274
3575
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3275
3576
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3276
3577
|
export * from "libs/reach/util/common/src/resources/ResourceContextProvider";
|
|
3578
|
+
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3277
3579
|
export * from "libs/reach/util/common/src/user/index";
|
|
3278
3580
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3279
3581
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -3292,6 +3594,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3292
3594
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3293
3595
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3294
3596
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3597
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3295
3598
|
}
|
|
3296
3599
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3297
3600
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3348,7 +3651,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3348
3651
|
text?: string | JSX.Element;
|
|
3349
3652
|
resourceKey?: string;
|
|
3350
3653
|
values?: {
|
|
3351
|
-
[key: string]: string | number | boolean | Date;
|
|
3654
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3352
3655
|
};
|
|
3353
3656
|
width?: number;
|
|
3354
3657
|
onClick?: () => unknown;
|
|
@@ -3428,7 +3731,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3428
3731
|
export const PeoplePicker: FC<Props>;
|
|
3429
3732
|
}
|
|
3430
3733
|
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";
|
|
3734
|
+
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
3735
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3433
3736
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3434
3737
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3445,7 +3748,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3445
3748
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3446
3749
|
*/
|
|
3447
3750
|
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, };
|
|
3751
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3449
3752
|
}
|
|
3450
3753
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3451
3754
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3461,6 +3764,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3461
3764
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3462
3765
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3463
3766
|
}
|
|
3767
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3768
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3769
|
+
}
|
|
3464
3770
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3465
3771
|
import { FC } from 'react';
|
|
3466
3772
|
export const NotificationBar: FC;
|
|
@@ -3716,7 +4022,9 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3716
4022
|
}[]>;
|
|
3717
4023
|
export function getFileIcon(filename: string): string;
|
|
3718
4024
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4025
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3719
4026
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
4027
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
3720
4028
|
}
|
|
3721
4029
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
3722
4030
|
export function useFileAccessTokenApi(): {
|
|
@@ -4026,7 +4334,7 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4026
4334
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4027
4335
|
}
|
|
4028
4336
|
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>>;
|
|
4337
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4030
4338
|
}
|
|
4031
4339
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4032
4340
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4345,6 +4653,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4345
4653
|
className?: string;
|
|
4346
4654
|
}>;
|
|
4347
4655
|
}
|
|
4656
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4657
|
+
export const useIsMounted: () => () => boolean;
|
|
4658
|
+
}
|
|
4348
4659
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4349
4660
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4350
4661
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4825,6 +5136,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4825
5136
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
4826
5137
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
4827
5138
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5139
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
4828
5140
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
4829
5141
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
4830
5142
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -4857,6 +5169,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4857
5169
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
4858
5170
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
4859
5171
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5172
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
4860
5173
|
}
|
|
4861
5174
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
4862
5175
|
import { ReactNode } from 'react';
|
|
@@ -4908,7 +5221,7 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
4908
5221
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
4909
5222
|
}
|
|
4910
5223
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
4911
|
-
import { FC } from 'react';
|
|
5224
|
+
import { FC, DependencyList } from 'react';
|
|
4912
5225
|
export interface Props {
|
|
4913
5226
|
navigateTo: string;
|
|
4914
5227
|
onClose?: () => void;
|
|
@@ -4917,7 +5230,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4917
5230
|
className?: string;
|
|
4918
5231
|
}
|
|
4919
5232
|
export const CloseButton: FC<Props>;
|
|
4920
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5233
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
4921
5234
|
}
|
|
4922
5235
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
4923
5236
|
export const LogoHostStyle: (size?: {
|
|
@@ -4981,8 +5294,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4981
5294
|
export const SkipLinksContextProvider: FC;
|
|
4982
5295
|
}
|
|
4983
5296
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5297
|
+
import { DependencyList } from 'react';
|
|
4984
5298
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4985
|
-
export function useAddSkipLinks(
|
|
5299
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4986
5300
|
}
|
|
4987
5301
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4988
5302
|
import { FC } from 'react';
|
|
@@ -5033,6 +5347,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5033
5347
|
closeButtonOptions?: CloseButtonOptions;
|
|
5034
5348
|
showSearchBox?: boolean;
|
|
5035
5349
|
disableScrollableContainerFocus?: boolean;
|
|
5350
|
+
asModal?: boolean;
|
|
5351
|
+
domIdentifier?: string;
|
|
5036
5352
|
}
|
|
5037
5353
|
export const BasicPage: FC<Props>;
|
|
5038
5354
|
}
|
|
@@ -5432,11 +5748,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5432
5748
|
export { PushClient };
|
|
5433
5749
|
}
|
|
5434
5750
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5435
|
-
import { ConfigureOptions, MigrateResult,
|
|
5436
|
-
export class MobileHybridStorage implements
|
|
5751
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5752
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5437
5753
|
private pluginStorage;
|
|
5438
5754
|
private static memoryStorage;
|
|
5439
|
-
constructor(pluginStorage:
|
|
5755
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5440
5756
|
get(options: {
|
|
5441
5757
|
key: string;
|
|
5442
5758
|
}): Promise<any>;
|
|
@@ -5448,7 +5764,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5448
5764
|
key: string;
|
|
5449
5765
|
}): Promise<void>;
|
|
5450
5766
|
clear(): Promise<void>;
|
|
5451
|
-
keys(): Promise<import("@capacitor/
|
|
5767
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5452
5768
|
private static updateInMemoryStorage;
|
|
5453
5769
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5454
5770
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5484,7 +5800,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5484
5800
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5485
5801
|
}
|
|
5486
5802
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5487
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5803
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5488
5804
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5489
5805
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5490
5806
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5493,6 +5809,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5493
5809
|
getId(): Promise<DeviceId>;
|
|
5494
5810
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5495
5811
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
5812
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5496
5813
|
}
|
|
5497
5814
|
}
|
|
5498
5815
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5509,8 +5826,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5509
5826
|
}
|
|
5510
5827
|
}
|
|
5511
5828
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5512
|
-
import { ConfigureOptions, MigrateResult,
|
|
5513
|
-
export class WebStorage implements
|
|
5829
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5830
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5514
5831
|
storage: Storage;
|
|
5515
5832
|
get(options: {
|
|
5516
5833
|
key: string;
|
|
@@ -5544,14 +5861,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5544
5861
|
import { SharePlugin } from '@capacitor/share';
|
|
5545
5862
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5546
5863
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5547
|
-
import {
|
|
5864
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5548
5865
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5549
5866
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5550
5867
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5551
5868
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5552
5869
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5553
5870
|
export interface CondensePluginRegistry {
|
|
5554
|
-
Storage:
|
|
5871
|
+
Storage: PreferencesPlugin;
|
|
5555
5872
|
Device: DevicePlugin;
|
|
5556
5873
|
App: AppPlugin;
|
|
5557
5874
|
Keyboard: KeyboardPlugin;
|
|
@@ -6213,7 +6530,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6213
6530
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6214
6531
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6215
6532
|
export function useSelfRegistrationApi(): {
|
|
6216
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6533
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6217
6534
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6218
6535
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6219
6536
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6269,6 +6586,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6269
6586
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6270
6587
|
}>;
|
|
6271
6588
|
}
|
|
6589
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6590
|
+
import { FC } from 'react';
|
|
6591
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6592
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6593
|
+
onApiKeyAdded?: () => void;
|
|
6594
|
+
onDismiss: () => void;
|
|
6595
|
+
user?: UserItem;
|
|
6596
|
+
}>;
|
|
6597
|
+
}
|
|
6272
6598
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6273
6599
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6274
6600
|
import './UserList.scss';
|
|
@@ -6292,7 +6618,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6292
6618
|
isLoading?: boolean;
|
|
6293
6619
|
isEmpty?: boolean;
|
|
6294
6620
|
emptyPlaceholder?: ReactNode;
|
|
6621
|
+
onKeyChanged?: () => void;
|
|
6295
6622
|
}
|
|
6623
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6624
|
+
accountType: string;
|
|
6625
|
+
lastLogin: string | JSX.Element;
|
|
6626
|
+
};
|
|
6296
6627
|
export const UserList: FC<Props>;
|
|
6297
6628
|
}
|
|
6298
6629
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6325,12 +6656,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6325
6656
|
className?: string;
|
|
6326
6657
|
}>;
|
|
6327
6658
|
}
|
|
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
6659
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6335
6660
|
import { FC } from 'react';
|
|
6336
6661
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6350,18 +6675,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6350
6675
|
}
|
|
6351
6676
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6352
6677
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6678
|
+
export enum ValidationStatus {
|
|
6679
|
+
Valid = 0,
|
|
6680
|
+
WithErrors = 1,
|
|
6681
|
+
WithUserErrors = 2
|
|
6682
|
+
}
|
|
6683
|
+
export type CsvValidation = {
|
|
6684
|
+
Status?: ValidationStatus;
|
|
6685
|
+
Message?: string;
|
|
6686
|
+
InvalidItems?: string[];
|
|
6687
|
+
};
|
|
6353
6688
|
export function useUserCsvInviter(): {
|
|
6354
6689
|
invitedUsers: UserImport[];
|
|
6355
6690
|
isValidating: boolean;
|
|
6356
6691
|
isCsvValid: boolean;
|
|
6357
6692
|
parseCsvFile: (csvFile: File) => void;
|
|
6358
|
-
|
|
6359
|
-
|
|
6693
|
+
csvValidation: CsvValidation;
|
|
6694
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6360
6695
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6361
6696
|
isParserReady: boolean;
|
|
6362
|
-
|
|
6697
|
+
isInviting: boolean;
|
|
6698
|
+
canInvite: boolean;
|
|
6699
|
+
csvFile: File;
|
|
6363
6700
|
};
|
|
6364
6701
|
}
|
|
6702
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6703
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6704
|
+
}
|
|
6705
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6706
|
+
import { FC } from 'react';
|
|
6707
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6708
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6709
|
+
export const CsvFileValidationResult: FC<{
|
|
6710
|
+
csvValidation: CsvValidation;
|
|
6711
|
+
invitedUsers: UserImport[];
|
|
6712
|
+
}>;
|
|
6713
|
+
}
|
|
6365
6714
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6366
6715
|
import { FC } from 'react';
|
|
6367
6716
|
export const ImportUserButton: FC<{
|
|
@@ -6394,34 +6743,30 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6394
6743
|
children?: (content: string, index: number) => JSX.Element;
|
|
6395
6744
|
}>;
|
|
6396
6745
|
}
|
|
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
6746
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6401
6747
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6402
|
-
export class
|
|
6748
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6403
6749
|
static type: string;
|
|
6404
6750
|
type: string;
|
|
6405
6751
|
itemId: string;
|
|
6406
6752
|
response: EventResponse;
|
|
6407
6753
|
locationId: string;
|
|
6408
6754
|
onBehalfOfUpn: string;
|
|
6409
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6755
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6410
6756
|
}
|
|
6411
|
-
export class
|
|
6757
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6412
6758
|
static type: string;
|
|
6413
6759
|
type: string;
|
|
6414
|
-
|
|
6760
|
+
itemId: string;
|
|
6415
6761
|
response: EventResponse;
|
|
6416
|
-
static create(
|
|
6762
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6417
6763
|
}
|
|
6418
|
-
export class
|
|
6764
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6419
6765
|
static type: string;
|
|
6420
6766
|
type: string;
|
|
6421
6767
|
recurrenceSeriesId: string;
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6768
|
+
response: EventResponse;
|
|
6769
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6425
6770
|
}
|
|
6426
6771
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6427
6772
|
static type: string;
|
|
@@ -6436,6 +6781,21 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6436
6781
|
followByDefault: boolean;
|
|
6437
6782
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6438
6783
|
}
|
|
6784
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6785
|
+
static type: string;
|
|
6786
|
+
type: string;
|
|
6787
|
+
recurrenceSeriesId: string;
|
|
6788
|
+
isLiked: boolean;
|
|
6789
|
+
likeCount: number;
|
|
6790
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6791
|
+
}
|
|
6792
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
6793
|
+
static type: string;
|
|
6794
|
+
type: string;
|
|
6795
|
+
recurrenceSeriesId: string;
|
|
6796
|
+
isFollowed: boolean;
|
|
6797
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
6798
|
+
}
|
|
6439
6799
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6440
6800
|
static type: string;
|
|
6441
6801
|
type: string;
|
|
@@ -6456,6 +6816,18 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6456
6816
|
type: string;
|
|
6457
6817
|
static create(): StreamMarkAllAsReadAction;
|
|
6458
6818
|
}
|
|
6819
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6820
|
+
static type: string;
|
|
6821
|
+
type: string;
|
|
6822
|
+
itemId: string;
|
|
6823
|
+
static create(itemId: string): RefetchItemAction;
|
|
6824
|
+
}
|
|
6825
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
6826
|
+
static type: string;
|
|
6827
|
+
type: string;
|
|
6828
|
+
itemId: string;
|
|
6829
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
6830
|
+
}
|
|
6459
6831
|
}
|
|
6460
6832
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6461
6833
|
export interface CommentFilter {
|
|
@@ -6472,32 +6844,38 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6472
6844
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6473
6845
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6474
6846
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6847
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6475
6848
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6476
6849
|
export function useCommentApi(): {
|
|
6477
|
-
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) =>
|
|
6478
|
-
createEditorComment: (itemId: string, comment: Partial<Comment>) =>
|
|
6479
|
-
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) =>
|
|
6480
|
-
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) =>
|
|
6481
|
-
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) =>
|
|
6482
|
-
getEditorConversations: (itemId: string) =>
|
|
6850
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
6851
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
6852
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
6853
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
6854
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
6855
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6483
6856
|
translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
|
|
6484
|
-
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) =>
|
|
6485
|
-
deleteEditorComment: (itemId: string, commentId: string) =>
|
|
6857
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6858
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6486
6859
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6487
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
6860
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6488
6861
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6489
6862
|
};
|
|
6490
6863
|
}
|
|
6864
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
6865
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6866
|
+
}
|
|
6491
6867
|
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
6492
6868
|
import { FC } from 'react';
|
|
6493
|
-
import { ConversationScope } from "libs/reach/util/common/src/index";
|
|
6494
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6869
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6495
6870
|
interface Props {
|
|
6496
6871
|
type: ItemResourceTypes;
|
|
6497
6872
|
itemId: string;
|
|
6873
|
+
recurrenceSeriesId?: string;
|
|
6498
6874
|
className?: string;
|
|
6499
6875
|
scope: ConversationScope;
|
|
6500
6876
|
hideProfileUrl?: boolean;
|
|
6877
|
+
hideWarning?: boolean;
|
|
6878
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
6501
6879
|
}
|
|
6502
6880
|
export const FollowComments: FC<Props>;
|
|
6503
6881
|
}
|
|
@@ -6615,7 +6993,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6615
6993
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6616
6994
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6617
6995
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6618
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
6996
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6619
6997
|
}
|
|
6620
6998
|
export interface BaseFilterDefinition {
|
|
6621
6999
|
search?: string;
|
|
@@ -6623,6 +7001,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6623
7001
|
pageSize?: string | number;
|
|
6624
7002
|
groupId?: string;
|
|
6625
7003
|
}
|
|
7004
|
+
export interface ItemIdsFilterDefinition {
|
|
7005
|
+
itemIds?: string;
|
|
7006
|
+
}
|
|
6626
7007
|
export interface IndexableFilterDefinition {
|
|
6627
7008
|
[key: string]: any;
|
|
6628
7009
|
}
|
|
@@ -6943,7 +7324,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
6943
7324
|
deletePost: (postId: string) => Promise<unknown>;
|
|
6944
7325
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
6945
7326
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
6946
|
-
translatePost: (postId: string, language: string) =>
|
|
7327
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
6947
7328
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
6948
7329
|
};
|
|
6949
7330
|
}
|
|
@@ -7110,6 +7491,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7110
7491
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7111
7492
|
import { FC, MouseEvent } from 'react';
|
|
7112
7493
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7494
|
+
import { LocationState } from 'history';
|
|
7113
7495
|
export const ClickableOverlay: FC<{
|
|
7114
7496
|
itemId: string;
|
|
7115
7497
|
itemType: ItemResourceTypes;
|
|
@@ -7120,6 +7502,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7120
7502
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7121
7503
|
openTargetInNewWindow?: boolean;
|
|
7122
7504
|
isExternalContent?: boolean;
|
|
7505
|
+
locationState?: LocationState;
|
|
7506
|
+
}>;
|
|
7507
|
+
}
|
|
7508
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7509
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7510
|
+
import { FC } from 'react';
|
|
7511
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7512
|
+
itemId: string;
|
|
7513
|
+
itemType: ItemResourceTypes;
|
|
7514
|
+
baseRoute: string;
|
|
7515
|
+
title?: string;
|
|
7516
|
+
isExternalContent?: boolean;
|
|
7517
|
+
targetUrl?: string;
|
|
7123
7518
|
}>;
|
|
7124
7519
|
}
|
|
7125
7520
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7130,6 +7525,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7130
7525
|
targetUrl?: string;
|
|
7131
7526
|
readOnly?: boolean;
|
|
7132
7527
|
backgroundColor?: string;
|
|
7528
|
+
enableModalRouting?: boolean;
|
|
7133
7529
|
className?: string;
|
|
7134
7530
|
}>;
|
|
7135
7531
|
}
|
|
@@ -7167,6 +7563,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7167
7563
|
className?: string;
|
|
7168
7564
|
allowFilterByChannels?: boolean;
|
|
7169
7565
|
channelBackgroundColor?: string;
|
|
7566
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7170
7567
|
}>;
|
|
7171
7568
|
}
|
|
7172
7569
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7226,6 +7623,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7226
7623
|
height?: number;
|
|
7227
7624
|
hidePlayerIfActive?: boolean;
|
|
7228
7625
|
className?: string;
|
|
7626
|
+
documentIconName?: string;
|
|
7229
7627
|
}
|
|
7230
7628
|
export const PublishableItemBanner: FC<Props>;
|
|
7231
7629
|
}
|
|
@@ -7464,10 +7862,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7464
7862
|
}
|
|
7465
7863
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7466
7864
|
import { FC } from 'react';
|
|
7865
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7467
7866
|
export const EventUserRegistration: FC<{
|
|
7468
7867
|
disabled?: boolean;
|
|
7469
7868
|
hideInfoMessage?: boolean;
|
|
7470
7869
|
showNoRegistrationRequired?: boolean;
|
|
7870
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7471
7871
|
className?: string;
|
|
7472
7872
|
}>;
|
|
7473
7873
|
}
|
|
@@ -7537,8 +7937,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7537
7937
|
export const CardLikeButton: FC<{
|
|
7538
7938
|
item: NewsItem | EventItem;
|
|
7539
7939
|
itemResourceType: ItemResourceTypes;
|
|
7540
|
-
|
|
7541
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
7940
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7542
7941
|
className?: string;
|
|
7543
7942
|
}>;
|
|
7544
7943
|
}
|
|
@@ -7560,6 +7959,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7560
7959
|
className?: string;
|
|
7561
7960
|
}>;
|
|
7562
7961
|
}
|
|
7962
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
7963
|
+
import { FC } from 'react';
|
|
7964
|
+
export const LinkWithModalRouting: FC<{
|
|
7965
|
+
url: string;
|
|
7966
|
+
itemId: string;
|
|
7967
|
+
hash?: string;
|
|
7968
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
7969
|
+
ariaHidden?: boolean;
|
|
7970
|
+
ariaLabel?: string;
|
|
7971
|
+
className?: string;
|
|
7972
|
+
}>;
|
|
7973
|
+
}
|
|
7563
7974
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7564
7975
|
import { FC } from 'react';
|
|
7565
7976
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7578,6 +7989,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7578
7989
|
allowFilterByChannels?: boolean;
|
|
7579
7990
|
showFeedbackButtons?: boolean;
|
|
7580
7991
|
readOnly?: boolean;
|
|
7992
|
+
enableModalRouting?: boolean;
|
|
7581
7993
|
className?: string;
|
|
7582
7994
|
}>;
|
|
7583
7995
|
}
|
|
@@ -7628,7 +8040,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7628
8040
|
Contact = "contact",
|
|
7629
8041
|
InlinePageList = "inline-page-list",
|
|
7630
8042
|
UrlPreview = "url-preview",
|
|
7631
|
-
ActionButton = "action-button"
|
|
8043
|
+
ActionButton = "action-button",
|
|
8044
|
+
InlinePlugin = "inline-plugin"
|
|
7632
8045
|
}
|
|
7633
8046
|
export interface HtmlComponentMapper {
|
|
7634
8047
|
component: FC<any>;
|
|
@@ -7770,7 +8183,10 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7770
8183
|
resourceKey?: string;
|
|
7771
8184
|
resourceValues?: string;
|
|
7772
8185
|
className?: string;
|
|
8186
|
+
enableModalRouting?: boolean;
|
|
8187
|
+
itemId?: string;
|
|
7773
8188
|
isOverrideLink: boolean;
|
|
8189
|
+
icon?: string;
|
|
7774
8190
|
}>;
|
|
7775
8191
|
}
|
|
7776
8192
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -7829,6 +8245,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7829
8245
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7830
8246
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7831
8247
|
openTargetInNewWindow?: boolean;
|
|
8248
|
+
enableModalRouting?: boolean;
|
|
7832
8249
|
className?: string;
|
|
7833
8250
|
}
|
|
7834
8251
|
export const PageItemTile: FC<Props>;
|
|
@@ -7874,6 +8291,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7874
8291
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7875
8292
|
styleDefinition?: StyleDefinition;
|
|
7876
8293
|
readOnly?: boolean;
|
|
8294
|
+
enableModalRouting?: boolean;
|
|
7877
8295
|
className?: string;
|
|
7878
8296
|
}
|
|
7879
8297
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7917,6 +8335,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7917
8335
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7918
8336
|
styleDefinition?: StyleDefinition;
|
|
7919
8337
|
readOnly?: boolean;
|
|
8338
|
+
enableModalRouting?: boolean;
|
|
7920
8339
|
className?: string;
|
|
7921
8340
|
}
|
|
7922
8341
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7942,6 +8361,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7942
8361
|
previewTheme?: CommentInputTheme;
|
|
7943
8362
|
buttons?: ReactNode;
|
|
7944
8363
|
groupIds?: string[];
|
|
8364
|
+
enableModalRouting?: boolean;
|
|
7945
8365
|
className?: string;
|
|
7946
8366
|
}>;
|
|
7947
8367
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7958,6 +8378,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7958
8378
|
attachments: Attachment[];
|
|
7959
8379
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7960
8380
|
previewTheme?: CommentInputTheme;
|
|
8381
|
+
enableModalRouting?: boolean;
|
|
7961
8382
|
className?: string;
|
|
7962
8383
|
}>;
|
|
7963
8384
|
}
|
|
@@ -8118,6 +8539,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8118
8539
|
import { FC, ReactNode } from 'react';
|
|
8119
8540
|
export const InlineObjectToolbar: FC<{
|
|
8120
8541
|
onDelete?: () => void;
|
|
8542
|
+
deleteAriaLabelResourceKey?: string;
|
|
8121
8543
|
additionalButtons?: ReactNode;
|
|
8122
8544
|
}>;
|
|
8123
8545
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8125,15 +8547,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8125
8547
|
}>;
|
|
8126
8548
|
}
|
|
8127
8549
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8550
|
+
import { FC, ReactNode } from 'react';
|
|
8551
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8129
8552
|
export const ImageToolbar: FC<{
|
|
8130
8553
|
onDelete?: () => void;
|
|
8131
8554
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8132
8555
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8133
8556
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8557
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8134
8558
|
showFullScreenButton?: boolean;
|
|
8135
8559
|
showCloseButton?: boolean;
|
|
8136
8560
|
showCropButton?: boolean;
|
|
8561
|
+
alignmentButtons?: ReactNode;
|
|
8137
8562
|
}>;
|
|
8138
8563
|
}
|
|
8139
8564
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8260,6 +8685,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8260
8685
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8261
8686
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8262
8687
|
}
|
|
8688
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8689
|
+
import { FC } from 'react';
|
|
8690
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8691
|
+
export const BookmarkButton: FC<{
|
|
8692
|
+
item: PublishableItem;
|
|
8693
|
+
isReadOnly?: boolean;
|
|
8694
|
+
className?: string;
|
|
8695
|
+
}>;
|
|
8696
|
+
}
|
|
8263
8697
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8264
8698
|
import { FC } from 'react';
|
|
8265
8699
|
export const CardStatisticItem: FC<{
|
|
@@ -8277,13 +8711,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8277
8711
|
};
|
|
8278
8712
|
}>;
|
|
8279
8713
|
}
|
|
8280
|
-
declare module "libs/reach/feature/content/src/
|
|
8714
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8715
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8281
8716
|
import { FC } from 'react';
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8717
|
+
export const CardCommentButton: FC<{
|
|
8718
|
+
item: NewsItem | EventItem;
|
|
8719
|
+
itemResourceType: ItemResourceTypes;
|
|
8720
|
+
targetRoute: string;
|
|
8721
|
+
enableModalRouting?: boolean;
|
|
8287
8722
|
}>;
|
|
8288
8723
|
}
|
|
8289
8724
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8291,13 +8726,11 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8291
8726
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8292
8727
|
export const CardFooter: FC<{
|
|
8293
8728
|
item: NewsItem | EventItem;
|
|
8294
|
-
showComments: boolean;
|
|
8295
8729
|
targetRoute: string;
|
|
8296
8730
|
itemResourceType: ItemResourceTypes;
|
|
8297
|
-
|
|
8298
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8731
|
+
enableModalRouting?: boolean;
|
|
8299
8732
|
}>;
|
|
8300
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
8733
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8301
8734
|
}
|
|
8302
8735
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8303
8736
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8346,6 +8779,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8346
8779
|
target?: string;
|
|
8347
8780
|
language?: string;
|
|
8348
8781
|
hideCurrentPageNode?: boolean;
|
|
8782
|
+
homeTargetUrlOverride?: string;
|
|
8349
8783
|
className?: string;
|
|
8350
8784
|
}>;
|
|
8351
8785
|
}
|
|
@@ -8545,6 +8979,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8545
8979
|
language?: string;
|
|
8546
8980
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8547
8981
|
clickableAvatar?: boolean;
|
|
8982
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8548
8983
|
}>;
|
|
8549
8984
|
}
|
|
8550
8985
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8594,7 +9029,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8594
9029
|
item: NewsItem;
|
|
8595
9030
|
baseRoute: string;
|
|
8596
9031
|
language: string;
|
|
8597
|
-
showComments: boolean;
|
|
8598
9032
|
highlight: boolean;
|
|
8599
9033
|
className?: string;
|
|
8600
9034
|
}
|
|
@@ -8701,6 +9135,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
8701
9135
|
}
|
|
8702
9136
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8703
9137
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9138
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
8704
9139
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
8705
9140
|
}
|
|
8706
9141
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -8919,6 +9354,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
8919
9354
|
}
|
|
8920
9355
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8921
9356
|
}
|
|
9357
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9358
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9359
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9360
|
+
}
|
|
8922
9361
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8923
9362
|
import { FC } from 'react';
|
|
8924
9363
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -8931,6 +9370,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8931
9370
|
import { FC } from 'react';
|
|
8932
9371
|
export const EventDetailViewMetaInfo: FC<{
|
|
8933
9372
|
allowFilterByChannels?: boolean;
|
|
9373
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8934
9374
|
}>;
|
|
8935
9375
|
}
|
|
8936
9376
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9138,6 +9578,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9138
9578
|
readOnly?: boolean;
|
|
9139
9579
|
trimContent?: boolean;
|
|
9140
9580
|
showReplyBox?: boolean;
|
|
9581
|
+
enableModalRouting?: boolean;
|
|
9141
9582
|
className?: string;
|
|
9142
9583
|
}>;
|
|
9143
9584
|
}
|
|
@@ -9160,6 +9601,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9160
9601
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9161
9602
|
readOnly?: boolean;
|
|
9162
9603
|
trimContent?: boolean;
|
|
9604
|
+
enableModalRouting?: boolean;
|
|
9163
9605
|
className?: string;
|
|
9164
9606
|
}
|
|
9165
9607
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9219,6 +9661,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9219
9661
|
showReplyBox?: boolean;
|
|
9220
9662
|
trimContent?: boolean;
|
|
9221
9663
|
title?: ReactNode;
|
|
9664
|
+
enableModalRouting?: boolean;
|
|
9222
9665
|
className?: string;
|
|
9223
9666
|
};
|
|
9224
9667
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9243,14 +9686,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9243
9686
|
}
|
|
9244
9687
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9245
9688
|
import { FC } from 'react';
|
|
9246
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9247
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9689
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9248
9690
|
export const PublishableItemComments: FC<{
|
|
9249
9691
|
item: PublishableItem;
|
|
9250
9692
|
readOnly?: boolean;
|
|
9251
9693
|
loadInReadOnlyMode?: boolean;
|
|
9252
9694
|
type: ItemResourceTypes;
|
|
9253
|
-
hideProfileUrl?: boolean;
|
|
9254
9695
|
disableLoginForPublicUser?: boolean;
|
|
9255
9696
|
}>;
|
|
9256
9697
|
}
|
|
@@ -9311,16 +9752,13 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9311
9752
|
}
|
|
9312
9753
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9313
9754
|
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";
|
|
9755
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9317
9756
|
export const FeedbackSection: FC<{
|
|
9318
9757
|
item: PublishableItem;
|
|
9319
9758
|
language: string;
|
|
9320
9759
|
type: ItemResourceTypes;
|
|
9321
9760
|
feedbackSettings: FeedbackSettings;
|
|
9322
9761
|
hideComments?: boolean;
|
|
9323
|
-
hideProfileUrl?: boolean;
|
|
9324
9762
|
disableLoginForPublicUser?: boolean;
|
|
9325
9763
|
isReadOnly?: boolean;
|
|
9326
9764
|
className?: string;
|
|
@@ -9487,6 +9925,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9487
9925
|
layoutMode?: ItemTileLayoutMode;
|
|
9488
9926
|
bannerDefaultWidth?: number;
|
|
9489
9927
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
9928
|
+
documentIconName?: string;
|
|
9490
9929
|
}>;
|
|
9491
9930
|
}
|
|
9492
9931
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9557,6 +9996,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9557
9996
|
import { FC } from 'react';
|
|
9558
9997
|
export const DetailViewKeywords: FC<{
|
|
9559
9998
|
filterBaseUrl: string;
|
|
9999
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9560
10000
|
}>;
|
|
9561
10001
|
}
|
|
9562
10002
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
@@ -9604,8 +10044,9 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9604
10044
|
import { FC, ReactNode } from 'react';
|
|
9605
10045
|
export const DetailViewNavigation: FC<{
|
|
9606
10046
|
offsetRight?: number;
|
|
9607
|
-
children?: ReactNode;
|
|
9608
10047
|
callout?: ReactNode;
|
|
10048
|
+
className?: string;
|
|
10049
|
+
children?: ReactNode;
|
|
9609
10050
|
}>;
|
|
9610
10051
|
}
|
|
9611
10052
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
@@ -9648,6 +10089,13 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9648
10089
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9649
10090
|
};
|
|
9650
10091
|
}
|
|
10092
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10093
|
+
interface IClickHandles {
|
|
10094
|
+
onInsideClick: () => void;
|
|
10095
|
+
onOutsideClick: () => void;
|
|
10096
|
+
}
|
|
10097
|
+
export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10098
|
+
}
|
|
9651
10099
|
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
9652
10100
|
import { LocationDescriptor } from 'history';
|
|
9653
10101
|
import { FC, ReactNode } from 'react';
|
|
@@ -9751,7 +10199,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
|
|
|
9751
10199
|
import { FC } from 'react';
|
|
9752
10200
|
export const ContentWithShowMoreButton: FC<{
|
|
9753
10201
|
domIdentifier: string;
|
|
9754
|
-
trimContent
|
|
10202
|
+
trimContent?: boolean;
|
|
9755
10203
|
className?: string;
|
|
9756
10204
|
}>;
|
|
9757
10205
|
}
|
|
@@ -9816,6 +10264,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9816
10264
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9817
10265
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9818
10266
|
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
10267
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
9819
10268
|
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
9820
10269
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9821
10270
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
@@ -9869,6 +10318,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9869
10318
|
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
9870
10319
|
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9871
10320
|
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
10321
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
9872
10322
|
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
9873
10323
|
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
9874
10324
|
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
@@ -9898,13 +10348,13 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
|
9898
10348
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9899
10349
|
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9900
10350
|
highlight?: boolean;
|
|
9901
|
-
isInitialLiked?: boolean;
|
|
9902
10351
|
hasUnreadReplies?: boolean;
|
|
9903
10352
|
onReplyIconClick?: () => void;
|
|
9904
10353
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9905
10354
|
replyCount?: number;
|
|
9906
10355
|
readOnly?: boolean;
|
|
9907
10356
|
trimContent?: boolean;
|
|
10357
|
+
enableModalRouting?: boolean;
|
|
9908
10358
|
className?: string;
|
|
9909
10359
|
}
|
|
9910
10360
|
export const CommentDisplay: FC<Props>;
|
|
@@ -10132,6 +10582,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
10132
10582
|
onReplyAdded: () => void;
|
|
10133
10583
|
onReplyDeleted: () => void;
|
|
10134
10584
|
trimContent?: boolean;
|
|
10585
|
+
enableModalRouting?: boolean;
|
|
10135
10586
|
}
|
|
10136
10587
|
export const PostReplies: FC<Props>;
|
|
10137
10588
|
}
|
|
@@ -10199,6 +10650,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
10199
10650
|
baseTargetUrl?: string;
|
|
10200
10651
|
}
|
|
10201
10652
|
export const PostDisplay: FC<Props>;
|
|
10653
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10202
10654
|
}
|
|
10203
10655
|
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10204
10656
|
import { FC } from 'react';
|
|
@@ -11057,6 +11509,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11057
11509
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11058
11510
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11059
11511
|
})[];
|
|
11512
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11060
11513
|
}
|
|
11061
11514
|
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
11062
11515
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11081,6 +11534,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11081
11534
|
};
|
|
11082
11535
|
refresh: () => Promise<void>;
|
|
11083
11536
|
isLoadingFirstPage: boolean;
|
|
11537
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
11084
11538
|
};
|
|
11085
11539
|
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11086
11540
|
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
@@ -11219,8 +11673,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11219
11673
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11220
11674
|
export type ShareTokenType = 'preview' | 'published';
|
|
11221
11675
|
export function useShareTokenEditorApi(): {
|
|
11222
|
-
activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<
|
|
11223
|
-
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<
|
|
11676
|
+
activateShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<string>;
|
|
11677
|
+
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<unknown>;
|
|
11224
11678
|
};
|
|
11225
11679
|
}
|
|
11226
11680
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11231,9 +11685,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11231
11685
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11232
11686
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11233
11687
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11234
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11688
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11235
11689
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11236
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11690
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11237
11691
|
};
|
|
11238
11692
|
}
|
|
11239
11693
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11801,7 +12255,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11801
12255
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11802
12256
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11803
12257
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11804
|
-
export interface
|
|
12258
|
+
export interface PageProps extends SearchBoxProps {
|
|
11805
12259
|
className?: string;
|
|
11806
12260
|
headerContents?: JSX.Element;
|
|
11807
12261
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11819,12 +12273,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11819
12273
|
submenuContents?: JSX.Element;
|
|
11820
12274
|
submenuClassName?: string;
|
|
11821
12275
|
disableScrollableContainerFocus?: boolean;
|
|
12276
|
+
asModal?: boolean;
|
|
12277
|
+
domIdentifier?: string;
|
|
11822
12278
|
}
|
|
11823
12279
|
export enum MenuNavigationMode {
|
|
11824
12280
|
Collapse = 0,
|
|
11825
12281
|
KeepOpen = 1
|
|
11826
12282
|
}
|
|
11827
|
-
export const Page: FC<
|
|
12283
|
+
export const Page: FC<PageProps>;
|
|
11828
12284
|
}
|
|
11829
12285
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11830
12286
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|