@livetiles/reach-plugin-types 0.4.0-preview.43 → 0.4.0-preview.430
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/index.d.ts +2 -2
- package/lib/index.d.ts +2463 -1023
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
207
207
|
clientId: string;
|
|
208
208
|
basePolicyUrl: string;
|
|
209
209
|
signInPolicy: string;
|
|
210
|
-
forgotPasswordPolicy
|
|
210
|
+
forgotPasswordPolicy?: string;
|
|
211
211
|
apiScope: string;
|
|
212
212
|
scopes: string[];
|
|
213
213
|
extraScopes: string[];
|
|
@@ -233,12 +233,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
233
233
|
export interface AppConfiguration {
|
|
234
234
|
configType: ConfigType;
|
|
235
235
|
authentication: {
|
|
236
|
-
useSingleAuthType
|
|
236
|
+
useSingleAuthType?: AuthenticationType;
|
|
237
237
|
azuread: MsalConfiguration;
|
|
238
|
-
b2c
|
|
239
|
-
keycloak
|
|
240
|
-
teams
|
|
241
|
-
teamsAustralia
|
|
238
|
+
b2c?: MsalConfiguration;
|
|
239
|
+
keycloak?: KeycloakConfiguration;
|
|
240
|
+
teams?: MsalConfiguration;
|
|
241
|
+
teamsAustralia?: MsalConfiguration;
|
|
242
242
|
};
|
|
243
243
|
apiEndpoint: string;
|
|
244
244
|
api2Endpoint: string;
|
|
@@ -247,6 +247,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
247
247
|
webAppUrl: string;
|
|
248
248
|
productWebsite: string;
|
|
249
249
|
supportUrl: string;
|
|
250
|
+
releaseNotesUrl: string;
|
|
250
251
|
privacyUrl: string;
|
|
251
252
|
eulaUrl: string;
|
|
252
253
|
appInsightsKey: string;
|
|
@@ -415,6 +416,7 @@ declare module "libs/reach/util/common/src/PaginatedList" {
|
|
|
415
416
|
paginationToken?: any;
|
|
416
417
|
nextItem?: TItem;
|
|
417
418
|
hasMoreUnreadComments?: boolean;
|
|
419
|
+
hasNextPage?: boolean;
|
|
418
420
|
}
|
|
419
421
|
}
|
|
420
422
|
declare module "libs/reach/util/common/src/SortDirection" {
|
|
@@ -520,6 +522,12 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
|
|
|
520
522
|
getLocaleFromLocalStorage: () => Promise<string>;
|
|
521
523
|
};
|
|
522
524
|
}
|
|
525
|
+
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
526
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
527
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
528
|
+
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
529
|
+
export default da;
|
|
530
|
+
}
|
|
523
531
|
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
524
532
|
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
525
533
|
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
@@ -575,7 +583,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
|
575
583
|
export default en;
|
|
576
584
|
}
|
|
577
585
|
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
578
|
-
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/
|
|
586
|
+
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
579
587
|
}
|
|
580
588
|
declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
|
|
581
589
|
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
@@ -1068,6 +1076,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
|
|
|
1068
1076
|
[key: string]: string;
|
|
1069
1077
|
};
|
|
1070
1078
|
mode: AudienceMatchMode;
|
|
1079
|
+
includeDirectoryUsers?: boolean;
|
|
1080
|
+
includeNonDirectoryUsers?: boolean;
|
|
1071
1081
|
}
|
|
1072
1082
|
}
|
|
1073
1083
|
declare module "libs/reach/util/common/src/content/Language" {
|
|
@@ -1093,7 +1103,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1093
1103
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1094
1104
|
import { Audience } from "libs/reach/util/common/src/user/Audience";
|
|
1095
1105
|
import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
|
|
1096
|
-
import { SubscriptionInfo as BaseSubscriptionInfo
|
|
1106
|
+
import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
|
|
1097
1107
|
import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
|
|
1098
1108
|
export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
1099
1109
|
domains?: string[];
|
|
@@ -1126,11 +1136,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1126
1136
|
useInAppBrowser?: boolean;
|
|
1127
1137
|
tenantId?: string;
|
|
1128
1138
|
signInSettings?: SignInSettings;
|
|
1129
|
-
logoUrl?: string;
|
|
1130
1139
|
faviconUrl?: string;
|
|
1131
1140
|
theme?: Theme;
|
|
1132
1141
|
allowPublicAccess?: boolean;
|
|
1133
1142
|
redirectToContent?: boolean;
|
|
1143
|
+
allowZendesk?: boolean;
|
|
1144
|
+
logoInfo: LogoInfo;
|
|
1134
1145
|
}
|
|
1135
1146
|
export interface SignInSettings {
|
|
1136
1147
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -1144,7 +1155,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1144
1155
|
contact: Account;
|
|
1145
1156
|
theme: Theme;
|
|
1146
1157
|
defaultLanguage: string;
|
|
1147
|
-
logoUrl: string;
|
|
1148
1158
|
faviconUrl?: string;
|
|
1149
1159
|
navigation: NavigationNode[];
|
|
1150
1160
|
regionSettings?: RegionSettings;
|
|
@@ -1153,6 +1163,16 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1153
1163
|
hasUnreadItems: boolean;
|
|
1154
1164
|
pageTrackingInfo: PageTrackingInfo;
|
|
1155
1165
|
termsAndConditionsHash?: string;
|
|
1166
|
+
logoInfo: LogoInfo;
|
|
1167
|
+
}
|
|
1168
|
+
export enum LogoSize {
|
|
1169
|
+
large = "large",
|
|
1170
|
+
small = "small"
|
|
1171
|
+
}
|
|
1172
|
+
export interface LogoInfo {
|
|
1173
|
+
smallUrl: string;
|
|
1174
|
+
largeUrl: string;
|
|
1175
|
+
isLegacyLogo: boolean;
|
|
1156
1176
|
}
|
|
1157
1177
|
export interface TermsAndConditions {
|
|
1158
1178
|
value?: string;
|
|
@@ -1252,6 +1272,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1252
1272
|
componentName: string;
|
|
1253
1273
|
route: string;
|
|
1254
1274
|
navigationNode?: {
|
|
1275
|
+
componentName?: string;
|
|
1255
1276
|
iconName?: string;
|
|
1256
1277
|
label?: string;
|
|
1257
1278
|
translations?: {
|
|
@@ -1388,6 +1409,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1388
1409
|
itemId: string;
|
|
1389
1410
|
}[];
|
|
1390
1411
|
unreadFeedItemsCount?: number;
|
|
1412
|
+
mostRecentPostGroups: string[];
|
|
1391
1413
|
notificationTypeSettings: NotificationTypeSettings;
|
|
1392
1414
|
hasPendingRegistration?: boolean;
|
|
1393
1415
|
minRoles: UserMinRoles;
|
|
@@ -1475,7 +1497,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1475
1497
|
export interface UserInvitationResult {
|
|
1476
1498
|
type: UserInvitationResultType;
|
|
1477
1499
|
message?: string;
|
|
1478
|
-
user?:
|
|
1500
|
+
user?: Account;
|
|
1479
1501
|
isSuccess: boolean;
|
|
1480
1502
|
}
|
|
1481
1503
|
export enum UserRegistrationResultType {
|
|
@@ -1705,6 +1727,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
|
1705
1727
|
GenericUrl = 3,
|
|
1706
1728
|
Kaltura = 4
|
|
1707
1729
|
}
|
|
1730
|
+
export function convertStringToVideoSource(videoSource: string): VideoSource;
|
|
1708
1731
|
}
|
|
1709
1732
|
declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
1710
1733
|
import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
|
|
@@ -1712,6 +1735,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1712
1735
|
id?: string;
|
|
1713
1736
|
statistics?: ItemStatistics;
|
|
1714
1737
|
poll?: Poll;
|
|
1738
|
+
searchHighlights?: SearchHighlightSummary;
|
|
1739
|
+
}
|
|
1740
|
+
export interface SearchHighlightSummary {
|
|
1741
|
+
title: SearchHighlight[];
|
|
1742
|
+
content: SearchHighlight[];
|
|
1743
|
+
}
|
|
1744
|
+
export interface SearchHighlight {
|
|
1745
|
+
language: string;
|
|
1746
|
+
texts: {
|
|
1747
|
+
value: string;
|
|
1748
|
+
type: 'text' | 'hit';
|
|
1749
|
+
}[];
|
|
1750
|
+
score: number;
|
|
1715
1751
|
}
|
|
1716
1752
|
export interface Poll {
|
|
1717
1753
|
questions: PollQuestion[];
|
|
@@ -1779,7 +1815,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1779
1815
|
headline?: string;
|
|
1780
1816
|
intro?: string;
|
|
1781
1817
|
body?: string;
|
|
1782
|
-
bodyRaw?: string;
|
|
1783
1818
|
customProperties?: {
|
|
1784
1819
|
[key: string]: any;
|
|
1785
1820
|
};
|
|
@@ -2049,7 +2084,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
|
|
|
2049
2084
|
hasUnreadReplies?: boolean;
|
|
2050
2085
|
isDemoContent?: boolean;
|
|
2051
2086
|
}
|
|
2052
|
-
interface CommentStatistics {
|
|
2087
|
+
export interface CommentStatistics {
|
|
2053
2088
|
likeCount?: number;
|
|
2054
2089
|
replyCount?: number;
|
|
2055
2090
|
}
|
|
@@ -2135,14 +2170,83 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2135
2170
|
}
|
|
2136
2171
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
2137
2172
|
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
2173
|
+
import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2138
2174
|
export function useCurrentUserCache(): {
|
|
2139
2175
|
clear: () => Promise<void>;
|
|
2140
2176
|
setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2141
2177
|
setUser: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2142
|
-
get: () => Promise<
|
|
2178
|
+
get: () => Promise<{
|
|
2179
|
+
subscription: {
|
|
2180
|
+
logoInfo: {
|
|
2181
|
+
smallUrl: any;
|
|
2182
|
+
largeUrl: string;
|
|
2183
|
+
isLegacyLogo: boolean;
|
|
2184
|
+
};
|
|
2185
|
+
languages: import("@livetiles/reach/util/common").LanguageBase[];
|
|
2186
|
+
featureMask: string;
|
|
2187
|
+
company: string;
|
|
2188
|
+
directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
|
|
2189
|
+
webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
|
|
2190
|
+
userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
|
|
2191
|
+
userFlowSettings?: import("libs/reach/util/common/src/user/Subscription").UserFlowSettings;
|
|
2192
|
+
customDomain?: string;
|
|
2193
|
+
allowSelfRegistration?: boolean;
|
|
2194
|
+
id: string;
|
|
2195
|
+
subscriptionName: string;
|
|
2196
|
+
subscriptionHandle?: string;
|
|
2197
|
+
contact: import("@livetiles/reach/util/common").Account;
|
|
2198
|
+
theme: import("libs/reach/util/common/src/user/Subscription").Theme;
|
|
2199
|
+
defaultLanguage: string;
|
|
2200
|
+
faviconUrl?: string;
|
|
2201
|
+
navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
|
|
2202
|
+
regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
|
|
2203
|
+
signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
|
|
2204
|
+
useInAppBrowser?: boolean;
|
|
2205
|
+
hasUnreadItems: boolean;
|
|
2206
|
+
pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
|
|
2207
|
+
termsAndConditionsHash?: string;
|
|
2208
|
+
};
|
|
2209
|
+
isEmailVerificationPending?: boolean;
|
|
2210
|
+
isSubscriptionOwner: boolean;
|
|
2211
|
+
givenName: string;
|
|
2212
|
+
surname: string;
|
|
2213
|
+
preferredUiLanguage: string;
|
|
2214
|
+
preferredContentLanguage?: string;
|
|
2215
|
+
preferredLocale?: string;
|
|
2216
|
+
bookmarks: string[];
|
|
2217
|
+
groups: import("libs/reach/util/common/src/user/User").UserGroup[];
|
|
2218
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2219
|
+
channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
|
|
2220
|
+
userHash: string;
|
|
2221
|
+
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2222
|
+
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2223
|
+
unreadPosts: {
|
|
2224
|
+
groupId: string;
|
|
2225
|
+
itemId: string;
|
|
2226
|
+
}[];
|
|
2227
|
+
unreadFeedItemsCount?: number;
|
|
2228
|
+
mostRecentPostGroups: string[];
|
|
2229
|
+
notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
|
|
2230
|
+
hasPendingRegistration?: boolean;
|
|
2231
|
+
minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
|
|
2232
|
+
hasDirectory: boolean;
|
|
2233
|
+
contacts: import("libs/reach/util/common/src/user/User").UserContact[];
|
|
2234
|
+
termsAndConditionsApprovedHash: string;
|
|
2235
|
+
isPublicUser?: boolean;
|
|
2236
|
+
hasUnreadChats?: boolean;
|
|
2237
|
+
id?: string;
|
|
2238
|
+
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2239
|
+
tenantId?: string;
|
|
2240
|
+
displayName?: string;
|
|
2241
|
+
userPrincipalName?: string;
|
|
2242
|
+
mail?: string;
|
|
2243
|
+
tokenUniqueId?: string;
|
|
2244
|
+
authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
|
|
2245
|
+
created?: string;
|
|
2246
|
+
}>;
|
|
2143
2247
|
};
|
|
2144
2248
|
export function getUserDetailFields(user: Partial<CurrentUser>): {
|
|
2145
|
-
availableSubscriptions:
|
|
2249
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2146
2250
|
bookmarks: string[];
|
|
2147
2251
|
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2148
2252
|
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
@@ -2152,6 +2256,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2152
2256
|
}[];
|
|
2153
2257
|
hasUnreadChats: boolean;
|
|
2154
2258
|
unreadFeedItemsCount: number;
|
|
2259
|
+
mostRecentPostGroups: string[];
|
|
2155
2260
|
};
|
|
2156
2261
|
}
|
|
2157
2262
|
declare module "libs/reach/util/common/src/user/CurrentUserDetailContextProvider" {
|
|
@@ -2222,9 +2327,9 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2222
2327
|
export * from "libs/reach/util/common/src/user/LanguageUtils";
|
|
2223
2328
|
export * from "libs/reach/util/common/src/user/content-languages-util";
|
|
2224
2329
|
}
|
|
2225
|
-
declare module "libs/reach/util/common/src/plugins/
|
|
2330
|
+
declare module "libs/reach/util/common/src/plugins/usePluginDeviceStore" {
|
|
2226
2331
|
import { Storage } from "libs/reach/util/context/src/index";
|
|
2227
|
-
export function
|
|
2332
|
+
export function usePluginDeviceStore(): PluginStorage;
|
|
2228
2333
|
export function getStorageWrapper(pluginId: string, storage: Storage): PluginStorage;
|
|
2229
2334
|
export interface PluginStorage {
|
|
2230
2335
|
getAllKeys(): Promise<string[]>;
|
|
@@ -2234,12 +2339,54 @@ declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
|
|
|
2234
2339
|
clearAll(): Promise<void>;
|
|
2235
2340
|
}
|
|
2236
2341
|
}
|
|
2342
|
+
declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
|
|
2343
|
+
import { DependencyList } from 'react';
|
|
2344
|
+
import { Api } from 'restful.js';
|
|
2345
|
+
export function usePluginUserStore(): PluginUserStore;
|
|
2346
|
+
export function usePluginUserStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2347
|
+
data: T;
|
|
2348
|
+
set: (newValue: T) => Promise<unknown>;
|
|
2349
|
+
isLoading: boolean;
|
|
2350
|
+
error: any;
|
|
2351
|
+
refresh: () => void;
|
|
2352
|
+
remove: () => Promise<unknown>;
|
|
2353
|
+
};
|
|
2354
|
+
export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginUserStore;
|
|
2355
|
+
export interface PluginUserStore {
|
|
2356
|
+
getPluginUserValue<T>(key: string): Promise<T>;
|
|
2357
|
+
setPluginUserValue<T>(key: string, value: T): Promise<unknown>;
|
|
2358
|
+
deletePluginUserValue(key: string): Promise<unknown>;
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
|
|
2362
|
+
import { DependencyList } from 'react';
|
|
2363
|
+
import { Api } from 'restful.js';
|
|
2364
|
+
export function usePluginSubscriptionStore(): PluginSubscriptionStore;
|
|
2365
|
+
export function usePluginSubscriptionStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2366
|
+
data: T;
|
|
2367
|
+
set: (newValue: T) => Promise<unknown>;
|
|
2368
|
+
isLoading: boolean;
|
|
2369
|
+
error: any;
|
|
2370
|
+
refresh: () => void;
|
|
2371
|
+
remove: () => Promise<unknown>;
|
|
2372
|
+
};
|
|
2373
|
+
export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginSubscriptionStore;
|
|
2374
|
+
export interface PluginSubscriptionStore {
|
|
2375
|
+
getPluginSubscriptionValue<T>(key: string): Promise<T>;
|
|
2376
|
+
setPluginSubscriptionValue<T>(key: string, value: T): Promise<unknown>;
|
|
2377
|
+
deletePluginSubscriptionValue(key: string): Promise<unknown>;
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2237
2380
|
declare module "libs/reach/util/common/src/plugins/PluginContext" {
|
|
2238
2381
|
import { PluginSettings } from "libs/reach/util/common/src/user/Subscription";
|
|
2239
|
-
import { PluginStorage } from "libs/reach/util/common/src/plugins/
|
|
2382
|
+
import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2383
|
+
import { PluginUserStore } from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2384
|
+
import { PluginSubscriptionStore } from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2240
2385
|
export const PluginContext: import("react").Context<{
|
|
2241
2386
|
settings: PluginSettings;
|
|
2242
2387
|
storage: PluginStorage;
|
|
2388
|
+
userStore: PluginUserStore;
|
|
2389
|
+
subscriptionStore: PluginSubscriptionStore;
|
|
2243
2390
|
}>;
|
|
2244
2391
|
export function usePluginSettings<T>(): T;
|
|
2245
2392
|
export function useReachApiEndPoints(): {
|
|
@@ -2265,15 +2412,133 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2265
2412
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2266
2413
|
};
|
|
2267
2414
|
}
|
|
2415
|
+
declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
2416
|
+
export enum GraphQLAttachmentType {
|
|
2417
|
+
Image = "IMAGE",
|
|
2418
|
+
File = "FILE",
|
|
2419
|
+
YouTubeVideo = "YOU_TUBE_VIDEO",
|
|
2420
|
+
VimeoVideo = "VIMEO_VIDEO",
|
|
2421
|
+
News = "NEWS",
|
|
2422
|
+
Event = "EVENT",
|
|
2423
|
+
Page = "PAGE",
|
|
2424
|
+
Post = "POST",
|
|
2425
|
+
Giphy = "GIPHY"
|
|
2426
|
+
}
|
|
2427
|
+
}
|
|
2428
|
+
declare module "libs/reach/util/common/src/Models" {
|
|
2429
|
+
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2430
|
+
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2431
|
+
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2432
|
+
export interface ColorStyleDefinition {
|
|
2433
|
+
backgroundColor: string;
|
|
2434
|
+
color: string;
|
|
2435
|
+
}
|
|
2436
|
+
export interface PageNavigationNodeProps {
|
|
2437
|
+
title?: string;
|
|
2438
|
+
iconName?: string;
|
|
2439
|
+
to?: string;
|
|
2440
|
+
onClick?: () => void;
|
|
2441
|
+
isActive?: boolean;
|
|
2442
|
+
exact?: boolean;
|
|
2443
|
+
cannotBeActive?: boolean;
|
|
2444
|
+
submenuContents?: JSX.Element;
|
|
2445
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
2446
|
+
badgeInfo?: number | boolean;
|
|
2447
|
+
domIdentifier?: string;
|
|
2448
|
+
secondaryIconName?: string;
|
|
2449
|
+
secondaryIconTooltipResourceKey?: string;
|
|
2450
|
+
onSecondaryIconClick?: () => void;
|
|
2451
|
+
iconColor?: string;
|
|
2452
|
+
className?: string;
|
|
2453
|
+
}
|
|
2454
|
+
export interface Chat {
|
|
2455
|
+
id: string;
|
|
2456
|
+
members: (Account & ChatMember)[];
|
|
2457
|
+
memberIds: string[];
|
|
2458
|
+
groupName?: string;
|
|
2459
|
+
lastMessageInfo?: {
|
|
2460
|
+
received: string;
|
|
2461
|
+
senderId: string;
|
|
2462
|
+
content?: string;
|
|
2463
|
+
attachments: ChatAttachment[];
|
|
2464
|
+
deleteDate?: string;
|
|
2465
|
+
deleteState?: DeleteState;
|
|
2466
|
+
messageType?: ChatMessageType;
|
|
2467
|
+
messageValues?: {
|
|
2468
|
+
groupName?: string;
|
|
2469
|
+
userId?: string;
|
|
2470
|
+
};
|
|
2471
|
+
};
|
|
2472
|
+
messages: ChatMessage[];
|
|
2473
|
+
hasNewMessages: boolean;
|
|
2474
|
+
fileAccessToken: string;
|
|
2475
|
+
}
|
|
2476
|
+
export enum DeleteState {
|
|
2477
|
+
NotDeleted = "NOT_DELETED",
|
|
2478
|
+
RecycleBin = "RECYCLE_BIN",
|
|
2479
|
+
Deleted = "DELETED"
|
|
2480
|
+
}
|
|
2481
|
+
export enum ChatMessageType {
|
|
2482
|
+
Default = "DEFAULT",
|
|
2483
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2484
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2485
|
+
}
|
|
2486
|
+
export enum MemberStatus {
|
|
2487
|
+
Normal = "NORMAL",
|
|
2488
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2489
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2490
|
+
}
|
|
2491
|
+
export interface ChatMember {
|
|
2492
|
+
id?: string;
|
|
2493
|
+
status?: MemberStatus;
|
|
2494
|
+
joinDate?: string;
|
|
2495
|
+
leftDate?: string;
|
|
2496
|
+
}
|
|
2497
|
+
export interface ChatMessage {
|
|
2498
|
+
itemId: string;
|
|
2499
|
+
content: string;
|
|
2500
|
+
senderId?: string;
|
|
2501
|
+
chatId?: string;
|
|
2502
|
+
received?: string;
|
|
2503
|
+
attachments?: ChatAttachment[];
|
|
2504
|
+
attachmentContainerId?: string;
|
|
2505
|
+
fileAccessToken?: string;
|
|
2506
|
+
deleteDate?: string;
|
|
2507
|
+
deleteState?: DeleteState;
|
|
2508
|
+
modifiedDate?: string;
|
|
2509
|
+
chat?: Chat;
|
|
2510
|
+
messageType?: ChatMessageType;
|
|
2511
|
+
messageValues?: {
|
|
2512
|
+
groupName?: string;
|
|
2513
|
+
};
|
|
2514
|
+
}
|
|
2515
|
+
export interface ChatIsTypingInfo {
|
|
2516
|
+
sender: Account;
|
|
2517
|
+
chatId: string;
|
|
2518
|
+
sentOn: string;
|
|
2519
|
+
}
|
|
2520
|
+
export interface ChatView {
|
|
2521
|
+
chatId: string;
|
|
2522
|
+
timestamp: Date;
|
|
2523
|
+
isActive: boolean;
|
|
2524
|
+
}
|
|
2525
|
+
export interface ChatAttachment extends BaseAttachment {
|
|
2526
|
+
type: GraphQLAttachmentType;
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2268
2529
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2269
2530
|
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2531
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
2270
2532
|
export enum ExtensionArea {
|
|
2271
2533
|
global = "Global",
|
|
2272
2534
|
page = "Page",
|
|
2273
2535
|
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
2274
2536
|
eventDetailViewSection = "EventDetailViewSection"
|
|
2275
2537
|
}
|
|
2276
|
-
export
|
|
2538
|
+
export interface PluginNavigationNodeProps {
|
|
2539
|
+
navigationNodeProps?: PageNavigationNodeProps;
|
|
2540
|
+
}
|
|
2541
|
+
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2277
2542
|
type DevPlugin = {
|
|
2278
2543
|
pluginId: string;
|
|
2279
2544
|
port: number;
|
|
@@ -2281,15 +2546,15 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2281
2546
|
linkPlugin?: boolean;
|
|
2282
2547
|
};
|
|
2283
2548
|
export function usePlugins(): WebPluginDefinition[];
|
|
2284
|
-
export function usePluginExtensions(area?: ExtensionArea):
|
|
2549
|
+
export function usePluginExtensions(area?: ExtensionArea): PluginProps[];
|
|
2285
2550
|
export function removeInjectedRemotePlugin(pluginId: string): void;
|
|
2286
2551
|
export function useInjectedRemotePlugins(): DevPlugin[];
|
|
2287
2552
|
export function useRemotePlugins(): WebPluginDefinition[];
|
|
2288
2553
|
}
|
|
2289
2554
|
declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
2290
2555
|
import { FC } from 'react';
|
|
2291
|
-
import {
|
|
2292
|
-
export const PluginWrapper: FC<
|
|
2556
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2557
|
+
export const PluginWrapper: FC<PluginProps & any>;
|
|
2293
2558
|
}
|
|
2294
2559
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2295
2560
|
import { FC } from 'react';
|
|
@@ -2305,7 +2570,9 @@ declare module "libs/reach/util/common/src/plugins/index" {
|
|
|
2305
2570
|
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
2306
2571
|
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
2307
2572
|
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2308
|
-
export * from "libs/reach/util/common/src/plugins/
|
|
2573
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2574
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2575
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2309
2576
|
}
|
|
2310
2577
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2311
2578
|
export class Color {
|
|
@@ -2324,6 +2591,7 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
|
2324
2591
|
declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
2325
2592
|
import { IPartialTheme } from 'office-ui-fabric-react';
|
|
2326
2593
|
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
2594
|
+
import * as wcag from 'wcag-contrast';
|
|
2327
2595
|
export const defaultThemeColors: Theme;
|
|
2328
2596
|
export const defaultPageBackgroundColor: string;
|
|
2329
2597
|
export const defaultLightColor = "#ffffff";
|
|
@@ -2420,6 +2688,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2420
2688
|
}
|
|
2421
2689
|
export function getDarkAltColor(color: string): string;
|
|
2422
2690
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2691
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2692
|
+
export function getContrastInfo(backgroundColor: string, foregroundColor: string): {
|
|
2693
|
+
contrast: string;
|
|
2694
|
+
score: wcag.Score;
|
|
2695
|
+
isGood: boolean;
|
|
2696
|
+
};
|
|
2423
2697
|
}
|
|
2424
2698
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2425
2699
|
import { FC, ReactNode } from 'react';
|
|
@@ -2440,19 +2714,6 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
2440
2714
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
2441
2715
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
2442
2716
|
}
|
|
2443
|
-
declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
2444
|
-
export enum GraphQLAttachmentType {
|
|
2445
|
-
Image = "IMAGE",
|
|
2446
|
-
File = "FILE",
|
|
2447
|
-
YouTubeVideo = "YOU_TUBE_VIDEO",
|
|
2448
|
-
VimeoVideo = "VIMEO_VIDEO",
|
|
2449
|
-
News = "NEWS",
|
|
2450
|
-
Event = "EVENT",
|
|
2451
|
-
Page = "PAGE",
|
|
2452
|
-
Post = "POST",
|
|
2453
|
-
Giphy = "GIPHY"
|
|
2454
|
-
}
|
|
2455
|
-
}
|
|
2456
2717
|
declare module "libs/reach/util/common/src/content/EventItem" {
|
|
2457
2718
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2458
2719
|
import { PollResult } from "libs/reach/util/common/src/content/BaseItem";
|
|
@@ -2610,10 +2871,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2610
2871
|
useExternalContent?: boolean;
|
|
2611
2872
|
isSearchMatch?: boolean;
|
|
2612
2873
|
topLevelFolderName?: string;
|
|
2874
|
+
uploadToken?: string;
|
|
2613
2875
|
}
|
|
2614
2876
|
export interface PageNavigationContext {
|
|
2615
2877
|
parent?: PageNavigationNode;
|
|
2616
|
-
siblings
|
|
2878
|
+
siblings?: PageNavigationNode[];
|
|
2617
2879
|
children?: PageNavigationNode[];
|
|
2618
2880
|
}
|
|
2619
2881
|
export enum PageType {
|
|
@@ -2715,7 +2977,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2715
2977
|
onStarted?: () => unknown;
|
|
2716
2978
|
onFinished?: () => unknown;
|
|
2717
2979
|
}
|
|
2718
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2980
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2981
|
+
}
|
|
2982
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2983
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2984
|
+
clearUnreadOnlyFilter: () => void;
|
|
2985
|
+
};
|
|
2986
|
+
}
|
|
2987
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2988
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2989
|
+
toggleUnreadItems: () => void;
|
|
2990
|
+
};
|
|
2719
2991
|
}
|
|
2720
2992
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2721
2993
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2740,6 +3012,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2740
3012
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2741
3013
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2742
3014
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
3015
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
3016
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2743
3017
|
}
|
|
2744
3018
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2745
3019
|
export const maxContentWidth = 985;
|
|
@@ -2840,6 +3114,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2840
3114
|
}
|
|
2841
3115
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2842
3116
|
import { FC } from 'react';
|
|
3117
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2843
3118
|
export const ToastNotificationHost: FC;
|
|
2844
3119
|
}
|
|
2845
3120
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2858,6 +3133,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2858
3133
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2859
3134
|
}
|
|
2860
3135
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
3136
|
+
getChannels: () => Promise<Channel[]>;
|
|
2861
3137
|
refreshSubscription: () => void;
|
|
2862
3138
|
}>;
|
|
2863
3139
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -2903,69 +3179,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
2903
3179
|
}
|
|
2904
3180
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
2905
3181
|
}
|
|
2906
|
-
declare module "libs/reach/util/common/src/Models" {
|
|
2907
|
-
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2908
|
-
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2909
|
-
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2910
|
-
export interface Chat {
|
|
2911
|
-
id: string;
|
|
2912
|
-
members: Account[];
|
|
2913
|
-
memberIds: string[];
|
|
2914
|
-
groupName?: string;
|
|
2915
|
-
lastMessageInfo?: {
|
|
2916
|
-
received: string;
|
|
2917
|
-
senderId: string;
|
|
2918
|
-
content?: string;
|
|
2919
|
-
attachments: ChatAttachment[];
|
|
2920
|
-
deleteDate?: string;
|
|
2921
|
-
deleteState?: DeleteState;
|
|
2922
|
-
messageType?: ChatMessageType;
|
|
2923
|
-
};
|
|
2924
|
-
messages: ChatMessage[];
|
|
2925
|
-
hasNewMessages: boolean;
|
|
2926
|
-
fileAccessToken: string;
|
|
2927
|
-
}
|
|
2928
|
-
export enum DeleteState {
|
|
2929
|
-
NotDeleted = "NOT_DELETED",
|
|
2930
|
-
RecycleBin = "RECYCLE_BIN",
|
|
2931
|
-
Deleted = "DELETED"
|
|
2932
|
-
}
|
|
2933
|
-
export enum ChatMessageType {
|
|
2934
|
-
Default = "DEFAULT",
|
|
2935
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
2936
|
-
}
|
|
2937
|
-
export interface ChatMessage {
|
|
2938
|
-
itemId: string;
|
|
2939
|
-
content: string;
|
|
2940
|
-
senderId?: string;
|
|
2941
|
-
chatId?: string;
|
|
2942
|
-
received?: string;
|
|
2943
|
-
attachments?: ChatAttachment[];
|
|
2944
|
-
attachmentContainerId?: string;
|
|
2945
|
-
fileAccessToken?: string;
|
|
2946
|
-
deleteDate?: string;
|
|
2947
|
-
deleteState?: DeleteState;
|
|
2948
|
-
modifiedDate?: string;
|
|
2949
|
-
chat?: Chat;
|
|
2950
|
-
messageType?: ChatMessageType;
|
|
2951
|
-
messageValues?: {
|
|
2952
|
-
groupName?: string;
|
|
2953
|
-
};
|
|
2954
|
-
}
|
|
2955
|
-
export interface ChatIsTypingInfo {
|
|
2956
|
-
sender: Account;
|
|
2957
|
-
chatId: string;
|
|
2958
|
-
sentOn: string;
|
|
2959
|
-
}
|
|
2960
|
-
export interface ChatView {
|
|
2961
|
-
chatId: string;
|
|
2962
|
-
timestamp: Date;
|
|
2963
|
-
isActive: boolean;
|
|
2964
|
-
}
|
|
2965
|
-
export interface ChatAttachment extends BaseAttachment {
|
|
2966
|
-
type: GraphQLAttachmentType;
|
|
2967
|
-
}
|
|
2968
|
-
}
|
|
2969
3182
|
declare module "libs/reach/util/common/src/PagingService" {
|
|
2970
3183
|
import { Observable } from 'rxjs';
|
|
2971
3184
|
export const onPageScroll: Observable<number>;
|
|
@@ -3069,13 +3282,13 @@ declare module "libs/reach/ui/common/src/EditorSettingsDialog" {
|
|
|
3069
3282
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
3070
3283
|
}
|
|
3071
3284
|
declare module "libs/reach/ui/common/src/Tooltip" {
|
|
3072
|
-
|
|
3285
|
+
import { ITooltipHostProps } from 'office-ui-fabric-react';
|
|
3286
|
+
export interface TooltipProps extends ITooltipHostProps {
|
|
3073
3287
|
text?: string;
|
|
3074
3288
|
resourceKey?: string;
|
|
3075
3289
|
values?: {
|
|
3076
3290
|
[key: string]: string | number | boolean | Date;
|
|
3077
3291
|
};
|
|
3078
|
-
className?: string;
|
|
3079
3292
|
width?: number;
|
|
3080
3293
|
onClick?: () => unknown;
|
|
3081
3294
|
role?: string;
|
|
@@ -3146,12 +3359,14 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3146
3359
|
placeholderStringResourceKey?: string;
|
|
3147
3360
|
autoFocus?: boolean;
|
|
3148
3361
|
inputId?: string;
|
|
3362
|
+
inputAriaLabelResourceKey?: string;
|
|
3363
|
+
required?: boolean;
|
|
3149
3364
|
className?: string;
|
|
3150
3365
|
}
|
|
3151
3366
|
export const PeoplePicker: FC<Props>;
|
|
3152
3367
|
}
|
|
3153
3368
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3154
|
-
import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings,
|
|
3369
|
+
import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginDeviceStore, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme, usePluginSubscriptionStoreValue, usePluginUserStoreValue, usePluginUserStore, usePluginSubscriptionStore } from "libs/reach/util/common/src/index";
|
|
3155
3370
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3156
3371
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3157
3372
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3164,8 +3379,12 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3164
3379
|
import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
|
|
3165
3380
|
import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
|
|
3166
3381
|
import { useAccountApi } from "libs/reach/util/common/src/index";
|
|
3167
|
-
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3168
|
-
|
|
3382
|
+
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3383
|
+
/**
|
|
3384
|
+
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3385
|
+
*/
|
|
3386
|
+
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3387
|
+
export type { Account, PluginNavigationNodeProps, PluginProps };
|
|
3169
3388
|
}
|
|
3170
3389
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3171
3390
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3183,7 +3402,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3183
3402
|
}
|
|
3184
3403
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3185
3404
|
import { FC } from 'react';
|
|
3186
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3187
3405
|
export const NotificationBar: FC;
|
|
3188
3406
|
}
|
|
3189
3407
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3228,7 +3446,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3228
3446
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3229
3447
|
}
|
|
3230
3448
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3231
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3449
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3232
3450
|
import { IntlShape } from 'react-intl';
|
|
3233
3451
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3234
3452
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3240,9 +3458,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3240
3458
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3241
3459
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3242
3460
|
export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
|
|
3243
|
-
export function
|
|
3244
|
-
|
|
3245
|
-
subscriptionName:
|
|
3461
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3462
|
+
logoInfo: LogoInfo;
|
|
3463
|
+
subscriptionName: string;
|
|
3246
3464
|
};
|
|
3247
3465
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3248
3466
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3262,8 +3480,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3262
3480
|
}
|
|
3263
3481
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3264
3482
|
import { FC } from 'react';
|
|
3265
|
-
import {
|
|
3266
|
-
export const Callout: FC<
|
|
3483
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3484
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3267
3485
|
}
|
|
3268
3486
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3269
3487
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3275,6 +3493,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDeleteDialog" {
|
|
|
3275
3493
|
titleResourceValues?: any;
|
|
3276
3494
|
infoResourceKey: string;
|
|
3277
3495
|
infoResourceValues?: any;
|
|
3496
|
+
inputAriaLabelResourceKey: string;
|
|
3278
3497
|
compareValue: string;
|
|
3279
3498
|
onConfirm: () => any;
|
|
3280
3499
|
onCancel: () => any;
|
|
@@ -3340,12 +3559,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3340
3559
|
export const Dropdown: FC<IDropdownProps>;
|
|
3341
3560
|
}
|
|
3342
3561
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3562
|
+
import { FC } from 'react';
|
|
3343
3563
|
interface EmptyListProps {
|
|
3344
3564
|
icon?: string;
|
|
3345
3565
|
emptyMessageResources?: string[];
|
|
3346
3566
|
className?: string;
|
|
3347
3567
|
}
|
|
3348
|
-
export const EmptyList:
|
|
3568
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3349
3569
|
}
|
|
3350
3570
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3351
3571
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3445,6 +3665,11 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
|
3445
3665
|
className?: string;
|
|
3446
3666
|
}>;
|
|
3447
3667
|
}
|
|
3668
|
+
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3669
|
+
import { FC } from 'react';
|
|
3670
|
+
import { IDialogProps } from 'office-ui-fabric-react';
|
|
3671
|
+
export const MobileFullHeightDialog: FC<IDialogProps>;
|
|
3672
|
+
}
|
|
3448
3673
|
declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
3449
3674
|
import { FC } from 'react';
|
|
3450
3675
|
export enum FabNavigationPosition {
|
|
@@ -3475,9 +3700,11 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
|
3475
3700
|
export const FabButtonWithCallout: FC<{
|
|
3476
3701
|
iconName: string;
|
|
3477
3702
|
tooltipResourceKey: string;
|
|
3703
|
+
titleResourceKey?: string;
|
|
3478
3704
|
showCloseButton?: boolean;
|
|
3479
3705
|
useSecondaryBgColor?: boolean;
|
|
3480
3706
|
domIdentifier?: string;
|
|
3707
|
+
useMobileFullHeight?: boolean;
|
|
3481
3708
|
}>;
|
|
3482
3709
|
export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
3483
3710
|
}
|
|
@@ -3496,18 +3723,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3496
3723
|
date: string;
|
|
3497
3724
|
}>;
|
|
3498
3725
|
}
|
|
3499
|
-
declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
|
|
3500
|
-
import { FC } from 'react';
|
|
3501
|
-
export const IconHeaderButton: FC<{
|
|
3502
|
-
icon: string;
|
|
3503
|
-
isActive?: boolean;
|
|
3504
|
-
disabled?: boolean;
|
|
3505
|
-
tooltipResourceKey?: string;
|
|
3506
|
-
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3507
|
-
link?: string;
|
|
3508
|
-
className?: string;
|
|
3509
|
-
}>;
|
|
3510
|
-
}
|
|
3511
3726
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3512
3727
|
import { FC, ReactNode } from 'react';
|
|
3513
3728
|
export const IconLabel: FC<{
|
|
@@ -3546,8 +3761,11 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
3546
3761
|
groupName?: string;
|
|
3547
3762
|
groupId?: string;
|
|
3548
3763
|
keywordName?: string;
|
|
3764
|
+
keywordId?: string;
|
|
3549
3765
|
language?: string;
|
|
3550
3766
|
underlined?: boolean;
|
|
3767
|
+
onClick?: (keyword: string) => unknown;
|
|
3768
|
+
tabIndex?: number;
|
|
3551
3769
|
}
|
|
3552
3770
|
export const KeywordTitle: FC<Props>;
|
|
3553
3771
|
export const GridKeywordTitle: FC<{
|
|
@@ -3562,12 +3780,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3562
3780
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3563
3781
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3564
3782
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3565
|
-
export { ReactComponent as
|
|
3566
|
-
}
|
|
3567
|
-
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3568
|
-
import { FC } from 'react';
|
|
3569
|
-
import { IDialogProps } from 'office-ui-fabric-react';
|
|
3570
|
-
export const MobileFullHeightDialog: FC<IDialogProps>;
|
|
3783
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3571
3784
|
}
|
|
3572
3785
|
declare module "libs/reach/ui/common/src/common/Modified" {
|
|
3573
3786
|
import { FC } from 'react';
|
|
@@ -3622,6 +3835,18 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3622
3835
|
}
|
|
3623
3836
|
export const Prompt: FC<Props>;
|
|
3624
3837
|
}
|
|
3838
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3839
|
+
import { FC } from 'react';
|
|
3840
|
+
export const IconHeaderButton: FC<{
|
|
3841
|
+
icon: string;
|
|
3842
|
+
isActive?: boolean;
|
|
3843
|
+
disabled?: boolean;
|
|
3844
|
+
tooltipResourceKey?: string;
|
|
3845
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3846
|
+
link?: string;
|
|
3847
|
+
className?: string;
|
|
3848
|
+
}>;
|
|
3849
|
+
}
|
|
3625
3850
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3626
3851
|
import { FC } from 'react';
|
|
3627
3852
|
export interface ToolbarIconButtonProps {
|
|
@@ -3656,6 +3881,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3656
3881
|
onSearchTextChange?: (text: string) => void;
|
|
3657
3882
|
onExecuteSearch?: (text: string) => void;
|
|
3658
3883
|
searchText?: string;
|
|
3884
|
+
showSearchBoxInput?: boolean;
|
|
3659
3885
|
}
|
|
3660
3886
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3661
3887
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3734,8 +3960,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3734
3960
|
}
|
|
3735
3961
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3736
3962
|
import { FC } from 'react';
|
|
3737
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3738
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3963
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3739
3964
|
export const CommentActionMenu: FC<{
|
|
3740
3965
|
comment: Comment;
|
|
3741
3966
|
showEdit: boolean;
|
|
@@ -3781,13 +4006,28 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3781
4006
|
}
|
|
3782
4007
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3783
4008
|
}
|
|
3784
|
-
declare module "libs/reach/ui/common/src/common/
|
|
4009
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3785
4010
|
import { FC } from 'react';
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
4011
|
+
export const UnreadItemsToggler: FC<{
|
|
4012
|
+
disabled: boolean;
|
|
4013
|
+
className?: string;
|
|
4014
|
+
}>;
|
|
4015
|
+
}
|
|
4016
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
4017
|
+
import { FC } from 'react';
|
|
4018
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
4019
|
+
export const HeaderMenuButton: FC<{
|
|
4020
|
+
items: IContextualMenuItem[];
|
|
4021
|
+
className?: string;
|
|
4022
|
+
}>;
|
|
4023
|
+
}
|
|
4024
|
+
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
4025
|
+
import { FC } from 'react';
|
|
4026
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
4027
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
4028
|
+
interface Props {
|
|
4029
|
+
channel: Channel | string;
|
|
4030
|
+
language?: string;
|
|
3791
4031
|
applyChannelBubbleStyle?: boolean;
|
|
3792
4032
|
role?: string;
|
|
3793
4033
|
className?: string;
|
|
@@ -3831,6 +4071,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
|
3831
4071
|
language: string;
|
|
3832
4072
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
3833
4073
|
visibleChannelsCount?: number;
|
|
4074
|
+
onChannelClick?: (channel: string) => unknown;
|
|
3834
4075
|
className?: string;
|
|
3835
4076
|
}>;
|
|
3836
4077
|
}
|
|
@@ -3849,6 +4090,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3849
4090
|
showSelectionToggle?: boolean;
|
|
3850
4091
|
placeholder?: string;
|
|
3851
4092
|
inlineControls?: boolean;
|
|
4093
|
+
required?: boolean;
|
|
4094
|
+
id?: string;
|
|
3852
4095
|
}
|
|
3853
4096
|
export const ChannelSelector: FC<Props>;
|
|
3854
4097
|
}
|
|
@@ -3860,6 +4103,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
3860
4103
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
3861
4104
|
language?: string;
|
|
3862
4105
|
channelBackgroundColor?: string;
|
|
4106
|
+
onClick?: (channel: string) => unknown;
|
|
3863
4107
|
className?: string;
|
|
3864
4108
|
}>;
|
|
3865
4109
|
}
|
|
@@ -4105,7 +4349,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4105
4349
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4106
4350
|
import { DependencyList } from 'react';
|
|
4107
4351
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4108
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4352
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4109
4353
|
items: any[];
|
|
4110
4354
|
isInitialLoading: boolean;
|
|
4111
4355
|
isLoadingNextPage: boolean;
|
|
@@ -4118,6 +4362,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4118
4362
|
isEmpty: boolean;
|
|
4119
4363
|
};
|
|
4120
4364
|
}
|
|
4365
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4366
|
+
import { FC } from 'react';
|
|
4367
|
+
export const PaginationStatus: FC<{
|
|
4368
|
+
allLoadedResourceId: string;
|
|
4369
|
+
showAllLoaded: boolean;
|
|
4370
|
+
showSpinner?: boolean;
|
|
4371
|
+
showPlaceholder?: boolean;
|
|
4372
|
+
}>;
|
|
4373
|
+
}
|
|
4374
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4375
|
+
import { DependencyList } from 'react';
|
|
4376
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4377
|
+
isLoadingMore: boolean;
|
|
4378
|
+
};
|
|
4379
|
+
}
|
|
4121
4380
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4122
4381
|
import { FC, ReactNode } from 'react';
|
|
4123
4382
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4169,6 +4428,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4169
4428
|
onMarkAsReadStarted?: () => unknown;
|
|
4170
4429
|
onMarkAsReadFinished?: () => unknown;
|
|
4171
4430
|
disabled?: boolean;
|
|
4431
|
+
unreadCount?: number;
|
|
4172
4432
|
}
|
|
4173
4433
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4174
4434
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4352,7 +4612,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4352
4612
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4353
4613
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4354
4614
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4355
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4356
4615
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4357
4616
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4358
4617
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4383,6 +4642,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4383
4642
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4384
4643
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4385
4644
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4645
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4646
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4647
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4386
4648
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4387
4649
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4388
4650
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4411,6 +4673,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4411
4673
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4412
4674
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4413
4675
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4676
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4677
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4414
4678
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4415
4679
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4416
4680
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4491,10 +4755,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4491
4755
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4492
4756
|
}
|
|
4493
4757
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4494
|
-
import { FC, ReactNode } from 'react';
|
|
4758
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4495
4759
|
import './Header.scss';
|
|
4496
4760
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4497
|
-
interface Props extends
|
|
4761
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4498
4762
|
iconLeft?: string;
|
|
4499
4763
|
onToggleLeft?: () => void;
|
|
4500
4764
|
onToggleRight?: () => void;
|
|
@@ -4510,6 +4774,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4510
4774
|
disableGoBack?: boolean;
|
|
4511
4775
|
route?: string;
|
|
4512
4776
|
}
|
|
4777
|
+
export interface HeaderContextType {
|
|
4778
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4779
|
+
isSearchInputFieldVisible: boolean;
|
|
4780
|
+
}
|
|
4781
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4782
|
+
export const HeaderContextProvider: FC<{
|
|
4783
|
+
children: ReactNode;
|
|
4784
|
+
}>;
|
|
4513
4785
|
export const Header: FC<Props>;
|
|
4514
4786
|
}
|
|
4515
4787
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4624,17 +4896,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4624
4896
|
icon?: string;
|
|
4625
4897
|
tooltipResourceKey?: string;
|
|
4626
4898
|
labelResourceKey?: string;
|
|
4899
|
+
domIdentifier?: string;
|
|
4627
4900
|
className?: string;
|
|
4628
4901
|
}
|
|
4629
4902
|
export const AddButton: FC<AddButtonProps>;
|
|
4630
4903
|
}
|
|
4631
4904
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4632
|
-
|
|
4633
|
-
|
|
4905
|
+
import { FC, ReactNode } from 'react';
|
|
4906
|
+
export const AdminPage: FC<{
|
|
4907
|
+
children: ReactNode;
|
|
4634
4908
|
className?: string;
|
|
4635
4909
|
domIdentifier?: string;
|
|
4636
4910
|
}>;
|
|
4637
|
-
export const
|
|
4911
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4638
4912
|
}
|
|
4639
4913
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4640
4914
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4666,7 +4940,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4666
4940
|
}
|
|
4667
4941
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4668
4942
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4669
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4943
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4670
4944
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4671
4945
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4672
4946
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4681,7 +4955,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4681
4955
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4682
4956
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4683
4957
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4684
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4958
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4685
4959
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4686
4960
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4687
4961
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4721,6 +4995,34 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
|
|
|
4721
4995
|
className?: string;
|
|
4722
4996
|
}>;
|
|
4723
4997
|
}
|
|
4998
|
+
declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
|
|
4999
|
+
import { FC } from 'react';
|
|
5000
|
+
export const ContrastInfo: FC<{
|
|
5001
|
+
foregroundColor: string;
|
|
5002
|
+
backgroundColor: string;
|
|
5003
|
+
className?: string;
|
|
5004
|
+
}>;
|
|
5005
|
+
}
|
|
5006
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
|
|
5007
|
+
import { FC } from 'react';
|
|
5008
|
+
export const ColorButton: FC<{
|
|
5009
|
+
onClick: () => void;
|
|
5010
|
+
text: string;
|
|
5011
|
+
backgroundColor: string;
|
|
5012
|
+
color: string;
|
|
5013
|
+
}>;
|
|
5014
|
+
}
|
|
5015
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorOnWhitePreview" {
|
|
5016
|
+
import { FC } from 'react';
|
|
5017
|
+
export const ColorOnWhitePreview: FC;
|
|
5018
|
+
}
|
|
5019
|
+
declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
5020
|
+
import { FC } from 'react';
|
|
5021
|
+
export const ThemeContrastPreview: FC<{
|
|
5022
|
+
backgroundColor: string;
|
|
5023
|
+
foregroundColor: string;
|
|
5024
|
+
}>;
|
|
5025
|
+
}
|
|
4724
5026
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
4725
5027
|
import { FC } from 'react';
|
|
4726
5028
|
export const Themes: FC;
|
|
@@ -4730,6 +5032,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4730
5032
|
import './ApplicationName.scss';
|
|
4731
5033
|
export const ApplicationName: FC;
|
|
4732
5034
|
}
|
|
5035
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
5036
|
+
import { FC } from 'react';
|
|
5037
|
+
export const AppBarLogoPreview: FC<{
|
|
5038
|
+
src: string;
|
|
5039
|
+
subscriptionName: string;
|
|
5040
|
+
}>;
|
|
5041
|
+
export const SidePanelLogoPreview: FC<{
|
|
5042
|
+
src: string;
|
|
5043
|
+
subscriptionName: string;
|
|
5044
|
+
}>;
|
|
5045
|
+
export const EmailLogoPreview: FC<{
|
|
5046
|
+
src: string;
|
|
5047
|
+
subscriptionName: string;
|
|
5048
|
+
}>;
|
|
5049
|
+
export const SignInLogoPreview: FC<{
|
|
5050
|
+
src: string;
|
|
5051
|
+
}>;
|
|
5052
|
+
}
|
|
5053
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
5054
|
+
import { FC } from 'react';
|
|
5055
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5056
|
+
export const LogoPreviewDialog: FC<{
|
|
5057
|
+
canSave: boolean;
|
|
5058
|
+
onDismiss: () => unknown;
|
|
5059
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
5060
|
+
source: string;
|
|
5061
|
+
logoType: LogoSize;
|
|
5062
|
+
}>;
|
|
5063
|
+
}
|
|
5064
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5065
|
+
import { FC } from 'react';
|
|
5066
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5067
|
+
export const LogoEditor: FC<{
|
|
5068
|
+
logoType: LogoSize;
|
|
5069
|
+
}>;
|
|
5070
|
+
}
|
|
4733
5071
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4734
5072
|
import { FC } from 'react';
|
|
4735
5073
|
export const ApplicationLogo: FC;
|
|
@@ -5491,6 +5829,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5491
5829
|
}
|
|
5492
5830
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5493
5831
|
}
|
|
5832
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5833
|
+
import { IntlShape } from 'react-intl';
|
|
5834
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5835
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5836
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5837
|
+
export const systemAccountGroupIds: {
|
|
5838
|
+
everyone: string;
|
|
5839
|
+
directoryUsers: string;
|
|
5840
|
+
nonDirectoryUsers: string;
|
|
5841
|
+
allGroups: string[];
|
|
5842
|
+
};
|
|
5843
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5844
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5845
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5846
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5847
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5848
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5849
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5850
|
+
export const isUser: (account: Account) => boolean;
|
|
5851
|
+
}
|
|
5494
5852
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5495
5853
|
import { FC } from 'react';
|
|
5496
5854
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5856,23 +6214,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
|
5856
6214
|
}
|
|
5857
6215
|
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
5858
6216
|
import { FC } from 'react';
|
|
5859
|
-
|
|
5860
|
-
backgroundColor: string;
|
|
5861
|
-
color: string;
|
|
5862
|
-
}
|
|
6217
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5863
6218
|
export const SidebarItemSection: FC<{
|
|
5864
|
-
styleDefinition?:
|
|
6219
|
+
styleDefinition?: ColorStyleDefinition;
|
|
5865
6220
|
}>;
|
|
5866
6221
|
}
|
|
5867
6222
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5868
|
-
import
|
|
6223
|
+
import { FC, ReactNode } from 'react';
|
|
6224
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5869
6225
|
import './SidebarItem.scss';
|
|
5870
|
-
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5871
6226
|
import { LocationDescriptor } from 'history';
|
|
5872
|
-
import {
|
|
5873
|
-
import { ReactNode } from 'react';
|
|
6227
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5874
6228
|
interface CommonSidebarItemProps {
|
|
5875
|
-
title?:
|
|
6229
|
+
title?: string | JSX.Element;
|
|
5876
6230
|
titleResource?: string;
|
|
5877
6231
|
icon?: ReactNode;
|
|
5878
6232
|
iconName?: string;
|
|
@@ -5884,14 +6238,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5884
6238
|
reverse?: boolean;
|
|
5885
6239
|
notHighlightable?: boolean;
|
|
5886
6240
|
onClick?: () => void;
|
|
5887
|
-
children?: any;
|
|
5888
6241
|
className?: string;
|
|
5889
6242
|
isActive?: boolean;
|
|
5890
6243
|
activeClassName?: string;
|
|
5891
6244
|
readOnly?: boolean;
|
|
5892
6245
|
submenu?: JSX.Element;
|
|
5893
6246
|
submenuClassName?: string;
|
|
5894
|
-
submenuStyleDefinition?:
|
|
6247
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
5895
6248
|
badgeInfo?: number | boolean;
|
|
5896
6249
|
domIdentifier?: string;
|
|
5897
6250
|
}
|
|
@@ -5903,13 +6256,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5903
6256
|
secondaryIconRoute?: LocationDescriptor;
|
|
5904
6257
|
isHoverable?: boolean;
|
|
5905
6258
|
}
|
|
5906
|
-
export const SidebarItem:
|
|
6259
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5907
6260
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5908
|
-
route:
|
|
6261
|
+
route: LocationDescriptor;
|
|
5909
6262
|
exact?: boolean;
|
|
5910
6263
|
linkClassName?: string;
|
|
5911
6264
|
}
|
|
5912
|
-
export const NavLinkSidebarItem:
|
|
6265
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5913
6266
|
}
|
|
5914
6267
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5915
6268
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6002,24 +6355,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6002
6355
|
import { FC } from 'react';
|
|
6003
6356
|
export const GroupListPage: FC;
|
|
6004
6357
|
}
|
|
6005
|
-
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
6006
|
-
import { IntlShape } from 'react-intl';
|
|
6007
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6008
|
-
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
6009
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6010
|
-
export const systemAccountGroupIds: {
|
|
6011
|
-
everyone: string;
|
|
6012
|
-
directoryUsers: string;
|
|
6013
|
-
nonDirectoryUsers: string;
|
|
6014
|
-
allGroups: string[];
|
|
6015
|
-
};
|
|
6016
|
-
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
6017
|
-
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
6018
|
-
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
6019
|
-
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
6020
|
-
export const isAdGroup: (account: Account) => boolean;
|
|
6021
|
-
export const isUser: (account: Account) => boolean;
|
|
6022
|
-
}
|
|
6023
6358
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6024
6359
|
import { FC } from 'react';
|
|
6025
6360
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6198,7 +6533,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6198
6533
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6199
6534
|
import { ReactNode } from 'react';
|
|
6200
6535
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6201
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6202
6536
|
export interface UserSuggestion {
|
|
6203
6537
|
id: string;
|
|
6204
6538
|
upn: string;
|
|
@@ -6218,13 +6552,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6218
6552
|
onCtrlEnter?: () => unknown;
|
|
6219
6553
|
onChange?: (value: string) => void;
|
|
6220
6554
|
onFocus?: () => void;
|
|
6221
|
-
|
|
6555
|
+
additionalInputControl?: ReactNode;
|
|
6556
|
+
buttons?: {
|
|
6557
|
+
leftSide?: ReactNode;
|
|
6558
|
+
rightSide?: ReactNode;
|
|
6559
|
+
};
|
|
6222
6560
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6223
|
-
inputTheme?: CommentInputTheme;
|
|
6224
6561
|
placeHolderStringResourceKey?: string;
|
|
6225
6562
|
placeHolderStringResourceValues?: {
|
|
6226
6563
|
[key: string]: string | number | boolean | Date;
|
|
6227
6564
|
};
|
|
6565
|
+
disableBoxShadow?: boolean;
|
|
6566
|
+
ariaLabel?: string;
|
|
6228
6567
|
}
|
|
6229
6568
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6230
6569
|
}
|
|
@@ -6238,18 +6577,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6238
6577
|
isLarge: boolean;
|
|
6239
6578
|
}>;
|
|
6240
6579
|
}
|
|
6241
|
-
declare module "libs/reach/feature/content/src/comments/KeywordsPicker" {
|
|
6242
|
-
import { FC } from 'react';
|
|
6243
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6244
|
-
export const KeywordsPicker: FC<{
|
|
6245
|
-
defaultKeywords?: {
|
|
6246
|
-
[key: string]: Keyword[];
|
|
6247
|
-
};
|
|
6248
|
-
availableKeywords?: Keyword[];
|
|
6249
|
-
mandatoryKeywords?: Keyword[];
|
|
6250
|
-
onChangeKeywords: (keywords: Keyword[]) => void;
|
|
6251
|
-
}>;
|
|
6252
|
-
}
|
|
6253
6580
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6254
6581
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6255
6582
|
export interface KalturaProperties {
|
|
@@ -6264,6 +6591,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6264
6591
|
private static vimeoRegex;
|
|
6265
6592
|
private static microsoftStreamRegex;
|
|
6266
6593
|
private static vimeoDirectLinkRegex;
|
|
6594
|
+
private static vimeoRedirectLinkRegex;
|
|
6267
6595
|
private static kalturaRegex;
|
|
6268
6596
|
readonly source: VideoSource | null;
|
|
6269
6597
|
readonly id: string | null;
|
|
@@ -6271,9 +6599,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6271
6599
|
readonly videoProperties: any;
|
|
6272
6600
|
readonly thumbnailUrl: string;
|
|
6273
6601
|
constructor(url: string);
|
|
6274
|
-
isValid(): boolean;
|
|
6602
|
+
isValid(features?: any): boolean;
|
|
6275
6603
|
}
|
|
6604
|
+
export function getVideoSources(features: any): any[];
|
|
6276
6605
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6606
|
+
export function getAllVideoSources(features: any): any[];
|
|
6277
6607
|
}
|
|
6278
6608
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6279
6609
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6301,9 +6631,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6301
6631
|
}
|
|
6302
6632
|
}
|
|
6303
6633
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6304
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6634
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6305
6635
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6306
|
-
keywords?:
|
|
6636
|
+
keywords?: FilterWithLogicalOperator;
|
|
6307
6637
|
}
|
|
6308
6638
|
}
|
|
6309
6639
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6328,6 +6658,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6328
6658
|
export interface IndexableFilterDefinition {
|
|
6329
6659
|
[key: string]: any;
|
|
6330
6660
|
}
|
|
6661
|
+
export interface FilterWithLogicalOperator {
|
|
6662
|
+
items?: string[];
|
|
6663
|
+
operator?: LogicalOperator;
|
|
6664
|
+
}
|
|
6665
|
+
export enum LogicalOperator {
|
|
6666
|
+
Or = "or",
|
|
6667
|
+
And = "and"
|
|
6668
|
+
}
|
|
6331
6669
|
}
|
|
6332
6670
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6333
6671
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6350,12 +6688,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6350
6688
|
contacts?: string[];
|
|
6351
6689
|
}
|
|
6352
6690
|
}
|
|
6691
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6692
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6693
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6694
|
+
channels?: FilterWithLogicalOperator;
|
|
6695
|
+
}
|
|
6696
|
+
}
|
|
6353
6697
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6354
6698
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6355
6699
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6356
6700
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6357
6701
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6358
|
-
|
|
6702
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6703
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6359
6704
|
excludePastEvents?: boolean;
|
|
6360
6705
|
pastEventsOnly?: boolean;
|
|
6361
6706
|
}
|
|
@@ -6366,26 +6711,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6366
6711
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6712
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6368
6713
|
}
|
|
6369
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6370
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6371
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6372
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6373
|
-
export function useEventsApi(): {
|
|
6374
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6375
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6376
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6377
|
-
};
|
|
6378
|
-
}
|
|
6379
6714
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6380
6715
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6381
6716
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6382
6717
|
author?: string;
|
|
6383
6718
|
}
|
|
6384
6719
|
}
|
|
6385
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6720
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6386
6721
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6387
|
-
export interface
|
|
6388
|
-
|
|
6722
|
+
export interface FilteringProps {
|
|
6723
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6724
|
+
onShowFilterPanel?: () => unknown;
|
|
6725
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6726
|
+
isFilterActive?: boolean;
|
|
6389
6727
|
}
|
|
6390
6728
|
}
|
|
6391
6729
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6406,6 +6744,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6406
6744
|
unreadOnly?: boolean;
|
|
6407
6745
|
}
|
|
6408
6746
|
}
|
|
6747
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6748
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6749
|
+
export enum ItemType {
|
|
6750
|
+
None = 0,
|
|
6751
|
+
News = 1,
|
|
6752
|
+
Post = 2,
|
|
6753
|
+
Page = 4,
|
|
6754
|
+
Event = 8
|
|
6755
|
+
}
|
|
6756
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6757
|
+
itemType?: ItemType;
|
|
6758
|
+
}
|
|
6759
|
+
}
|
|
6760
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6761
|
+
import { FC } from 'react';
|
|
6762
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6763
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6764
|
+
export interface InjectedFilterProps {
|
|
6765
|
+
filter: IndexableFilterDefinition;
|
|
6766
|
+
hasFilter: boolean;
|
|
6767
|
+
isSearchActive: boolean;
|
|
6768
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6769
|
+
onSearchChange: (text: string) => void;
|
|
6770
|
+
onClearFilter: () => void;
|
|
6771
|
+
}
|
|
6772
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6773
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6774
|
+
hasFilter: boolean;
|
|
6775
|
+
isSearchActive: boolean;
|
|
6776
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6777
|
+
onSearchChange: (search: string) => void;
|
|
6778
|
+
onClearFilter: () => void;
|
|
6779
|
+
};
|
|
6780
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6781
|
+
export const FilterContextProvider: FC<{
|
|
6782
|
+
addFilters?: (locationParams: {
|
|
6783
|
+
[paramName: string]: any;
|
|
6784
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6785
|
+
additionalExcludedFilterProperties?: string[];
|
|
6786
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6787
|
+
}>;
|
|
6788
|
+
export interface FilterVisibilityState {
|
|
6789
|
+
showFilterAsPanel?: boolean;
|
|
6790
|
+
showFilterSidebar?: boolean;
|
|
6791
|
+
}
|
|
6792
|
+
}
|
|
6793
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6794
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6795
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6796
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6797
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6798
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6799
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6800
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6801
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6802
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6803
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6804
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6805
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6806
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6807
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6808
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6809
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6810
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6811
|
+
}
|
|
6812
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6813
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6814
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6815
|
+
channels?: undefined;
|
|
6816
|
+
} | {
|
|
6817
|
+
channels: string;
|
|
6818
|
+
};
|
|
6819
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6820
|
+
keywords?: undefined;
|
|
6821
|
+
} | {
|
|
6822
|
+
keywords: string;
|
|
6823
|
+
};
|
|
6824
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6825
|
+
}
|
|
6826
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6827
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6828
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6829
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6830
|
+
export function useEventsApi(): {
|
|
6831
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6832
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6833
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6834
|
+
};
|
|
6835
|
+
}
|
|
6409
6836
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6410
6837
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6411
6838
|
import { Observable } from 'rxjs';
|
|
@@ -6495,6 +6922,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6495
6922
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6496
6923
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6497
6924
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6925
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6498
6926
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6499
6927
|
id: string;
|
|
6500
6928
|
comments?: PaginatedList<Comment>;
|
|
@@ -6517,6 +6945,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6517
6945
|
token?: string;
|
|
6518
6946
|
pageSize?: string;
|
|
6519
6947
|
search?: string;
|
|
6948
|
+
keywords?: FilterWithLogicalOperator;
|
|
6520
6949
|
}
|
|
6521
6950
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6522
6951
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6549,7 +6978,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6549
6978
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6550
6979
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6551
6980
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6552
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6553
6981
|
export interface ClientAttachment extends Attachment {
|
|
6554
6982
|
file?: File;
|
|
6555
6983
|
}
|
|
@@ -6563,14 +6991,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6563
6991
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6564
6992
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6565
6993
|
placeHolderStringResourceKey?: string;
|
|
6566
|
-
allowKeywords?: boolean;
|
|
6567
|
-
defaultKeywords?: {
|
|
6568
|
-
[key: string]: Keyword[];
|
|
6569
|
-
};
|
|
6570
|
-
availableKeywords?: Keyword[];
|
|
6571
|
-
mandatoryKeywords?: Keyword[];
|
|
6572
|
-
showKeywordsPicker?: boolean;
|
|
6573
|
-
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
6574
6994
|
disableAddGif?: boolean;
|
|
6575
6995
|
disableAddFiles?: boolean;
|
|
6576
6996
|
};
|
|
@@ -6583,14 +7003,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6583
7003
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6584
7004
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6585
7005
|
placeHolderStringResourceKey?: string;
|
|
6586
|
-
allowKeywords?: boolean;
|
|
6587
|
-
defaultKeywords?: {
|
|
6588
|
-
[key: string]: Keyword[];
|
|
6589
|
-
};
|
|
6590
|
-
availableKeywords?: Keyword[];
|
|
6591
|
-
mandatoryKeywords?: Keyword[];
|
|
6592
|
-
showKeywordsPicker?: boolean;
|
|
6593
|
-
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
6594
7006
|
disableAddGif?: boolean;
|
|
6595
7007
|
disableAddFiles?: boolean;
|
|
6596
7008
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -6619,7 +7031,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
7031
|
private getVideoElement;
|
|
6620
7032
|
private getNotSupportedElement;
|
|
6621
7033
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
7034
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
7035
|
}
|
|
6624
7036
|
}
|
|
6625
7037
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6668,8 +7080,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
|
6668
7080
|
}
|
|
6669
7081
|
declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
6670
7082
|
import { FC } from 'react';
|
|
6671
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6672
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
7083
|
+
import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
|
|
6673
7084
|
export interface KeywordsInfoProps {
|
|
6674
7085
|
keywords: {
|
|
6675
7086
|
[key: string]: Keyword[];
|
|
@@ -6689,18 +7100,21 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6689
7100
|
className?: string;
|
|
6690
7101
|
filterBaseUrl?: string;
|
|
6691
7102
|
}>;
|
|
6692
|
-
export const FlatKeywords:
|
|
7103
|
+
export const FlatKeywords: FC<{
|
|
6693
7104
|
item: PublishableItem;
|
|
6694
7105
|
filterBaseUrl?: string;
|
|
6695
7106
|
className?: string;
|
|
6696
7107
|
useGridKeywordTitle?: boolean;
|
|
6697
|
-
|
|
7108
|
+
onClick?: (keyword: string) => unknown;
|
|
7109
|
+
showAllKeywordsInCallout?: boolean;
|
|
7110
|
+
}>;
|
|
6698
7111
|
}
|
|
6699
7112
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
6700
7113
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6701
7114
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
7115
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
7116
|
export class NewsService {
|
|
7117
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
7118
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
7119
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
7120
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +7222,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
7222
|
}
|
|
6809
7223
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
7224
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7225
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
7226
|
interface Props {
|
|
6814
7227
|
itemId: string;
|
|
6815
7228
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
7229
|
+
useEditorRoutes?: boolean;
|
|
6817
7230
|
width: number;
|
|
6818
7231
|
resourceType: ItemResourceTypes;
|
|
6819
7232
|
token?: string;
|
|
@@ -7211,7 +7624,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7211
7624
|
Table = "table",
|
|
7212
7625
|
Contact = "contact",
|
|
7213
7626
|
InlinePageList = "inline-page-list",
|
|
7214
|
-
UrlPreview = "url-preview"
|
|
7627
|
+
UrlPreview = "url-preview",
|
|
7628
|
+
ActionButton = "action-button"
|
|
7215
7629
|
}
|
|
7216
7630
|
export interface HtmlComponentMapper {
|
|
7217
7631
|
component: FC<any>;
|
|
@@ -7244,7 +7658,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7658
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7659
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7660
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7661
|
+
isEditorPreview?: boolean;
|
|
7248
7662
|
}
|
|
7249
7663
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7664
|
}
|
|
@@ -7440,6 +7854,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7440
7854
|
buttons?: ReactNode;
|
|
7441
7855
|
openTargetInNewWindow?: boolean;
|
|
7442
7856
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7857
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7858
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7443
7859
|
styleDefinition?: StyleDefinition;
|
|
7444
7860
|
readOnly?: boolean;
|
|
7445
7861
|
className?: string;
|
|
@@ -7526,14 +7942,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7526
7942
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7527
7943
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7528
7944
|
placeHolderStringResourceKey?: string;
|
|
7529
|
-
allowKeywords?: boolean;
|
|
7530
|
-
defaultKeywords?: {
|
|
7531
|
-
[key: string]: import("@livetiles/reach/util/common").Keyword[];
|
|
7532
|
-
};
|
|
7533
|
-
availableKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7534
|
-
mandatoryKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7535
|
-
showKeywordsPicker?: boolean;
|
|
7536
|
-
onKeywordsChange?: (keywords: import("@livetiles/reach/util/common").Keyword[]) => void;
|
|
7537
7945
|
disableAddGif?: boolean;
|
|
7538
7946
|
disableAddFiles?: boolean;
|
|
7539
7947
|
} & {
|
|
@@ -7542,10 +7950,57 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7542
7950
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7543
7951
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7544
7952
|
}
|
|
7545
|
-
declare module "libs/reach/feature/content/src/
|
|
7953
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7954
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7955
|
+
import { FC } from 'react';
|
|
7956
|
+
interface Props {
|
|
7957
|
+
group: KeywordGroup;
|
|
7958
|
+
keywords?: Keyword[];
|
|
7959
|
+
expanded?: boolean;
|
|
7960
|
+
selectedKeywords: Keyword[];
|
|
7961
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7962
|
+
mandatoryKeywordIds?: string[];
|
|
7963
|
+
}
|
|
7964
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7965
|
+
}
|
|
7966
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7546
7967
|
import { FC } from 'react';
|
|
7547
|
-
import {
|
|
7548
|
-
|
|
7968
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7969
|
+
interface Props {
|
|
7970
|
+
value?: Keyword[] | string[];
|
|
7971
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7972
|
+
showSelectionToggle?: boolean;
|
|
7973
|
+
availableKeywords?: Keyword[];
|
|
7974
|
+
mandatoryKeywordIds?: string[];
|
|
7975
|
+
className?: string;
|
|
7976
|
+
}
|
|
7977
|
+
export const KeywordPicker: FC<Props>;
|
|
7978
|
+
}
|
|
7979
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7980
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7981
|
+
import { FC } from 'react';
|
|
7982
|
+
export const AddKeywordsButton: FC<{
|
|
7983
|
+
availableKeywords?: Keyword[];
|
|
7984
|
+
mandatoryKeywords?: Keyword[];
|
|
7985
|
+
preselectedKeywords?: Keyword[];
|
|
7986
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7987
|
+
disabled?: boolean;
|
|
7988
|
+
keywordPickerTitleResourceKey?: string;
|
|
7989
|
+
}>;
|
|
7990
|
+
}
|
|
7991
|
+
declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
|
|
7992
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7993
|
+
import { FC } from 'react';
|
|
7994
|
+
export const EditableKeywordsList: FC<{
|
|
7995
|
+
keywords?: Keyword[];
|
|
7996
|
+
mandatoryKeywordIds?: string[];
|
|
7997
|
+
onRemoveKeyword?: (id: string) => void;
|
|
7998
|
+
}>;
|
|
7999
|
+
}
|
|
8000
|
+
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8001
|
+
import { FC } from 'react';
|
|
8002
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
8003
|
+
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7549
8004
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7550
8005
|
export interface BaseProps {
|
|
7551
8006
|
readOnly?: boolean;
|
|
@@ -7573,6 +8028,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7573
8028
|
defaultKeywords?: Keyword[];
|
|
7574
8029
|
mandatoryKeywords?: Keyword[];
|
|
7575
8030
|
};
|
|
8031
|
+
disableBoxShadow?: boolean;
|
|
8032
|
+
ariaLabel?: string;
|
|
7576
8033
|
}
|
|
7577
8034
|
interface Props extends BaseProps {
|
|
7578
8035
|
allowAttachments?: boolean;
|
|
@@ -7663,9 +8120,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7663
8120
|
deletedFileUrls?: string[];
|
|
7664
8121
|
onCancel?: () => void;
|
|
7665
8122
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7666
|
-
inputTheme?: CommentInputTheme;
|
|
7667
8123
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7668
8124
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8125
|
+
ariaLabel?: string;
|
|
7669
8126
|
}
|
|
7670
8127
|
interface Props extends BaseProps {
|
|
7671
8128
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7673,14 +8130,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7673
8130
|
}) => void;
|
|
7674
8131
|
allowAttachments?: boolean;
|
|
7675
8132
|
allowKeywords?: boolean;
|
|
7676
|
-
|
|
7677
|
-
|
|
8133
|
+
keywordSettings?: {
|
|
8134
|
+
availableKeywords?: Keyword[];
|
|
8135
|
+
defaultKeywords?: Keyword[];
|
|
8136
|
+
mandatoryKeywords?: Keyword[];
|
|
8137
|
+
};
|
|
7678
8138
|
keywords?: {
|
|
7679
8139
|
[key: string]: Keyword[];
|
|
7680
8140
|
};
|
|
7681
8141
|
allowSaveWithoutContent?: boolean;
|
|
7682
8142
|
saveOnEnter?: boolean;
|
|
7683
8143
|
saveOnCtrlEnter?: boolean;
|
|
8144
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7684
8145
|
}
|
|
7685
8146
|
export const EditComment: FC<Props>;
|
|
7686
8147
|
}
|
|
@@ -7702,6 +8163,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7702
8163
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7703
8164
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7704
8165
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8166
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7705
8167
|
interface Props extends CreateCommentProps {
|
|
7706
8168
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7707
8169
|
[key: string]: Keyword[];
|
|
@@ -7709,14 +8171,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7709
8171
|
item: ItemWithAttachments;
|
|
7710
8172
|
basePath: string;
|
|
7711
8173
|
allowKeywords?: boolean;
|
|
7712
|
-
|
|
7713
|
-
|
|
8174
|
+
keywordSettings?: {
|
|
8175
|
+
availableKeywords?: Keyword[];
|
|
8176
|
+
defaultKeywords?: Keyword[];
|
|
8177
|
+
mandatoryKeywords?: Keyword[];
|
|
8178
|
+
};
|
|
7714
8179
|
keywords?: {
|
|
7715
8180
|
[key: string]: Keyword[];
|
|
7716
8181
|
};
|
|
7717
8182
|
allowSaveWithoutContent?: boolean;
|
|
7718
8183
|
saveOnEnter?: boolean;
|
|
7719
8184
|
saveOnCtrlEnter?: boolean;
|
|
8185
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7720
8186
|
}
|
|
7721
8187
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7722
8188
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7796,34 +8262,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
8262
|
}>;
|
|
7797
8263
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
8264
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
className?: string;
|
|
8265
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8266
|
+
import { FC } from 'react';
|
|
8267
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8268
|
+
export const DetailViewContextProvider: FC<{
|
|
8269
|
+
itemId: string;
|
|
8270
|
+
type?: ItemResourceTypes;
|
|
8271
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8272
|
+
isEditorPreview?: boolean;
|
|
7808
8273
|
}>;
|
|
7809
8274
|
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7811
|
-
import {
|
|
7812
|
-
export
|
|
8275
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8276
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8277
|
+
export interface EmbeddedObjectPreviewData {
|
|
8278
|
+
itemId: string;
|
|
8279
|
+
type: string;
|
|
8280
|
+
subscriptionIdentifier: string;
|
|
8281
|
+
}
|
|
8282
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7813
8283
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export const
|
|
8284
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8285
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8286
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7817
8287
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export
|
|
8288
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8289
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8290
|
+
export interface ContactDetails {
|
|
8291
|
+
id: string;
|
|
8292
|
+
upn?: string;
|
|
8293
|
+
tenantId?: string;
|
|
8294
|
+
properties?: {
|
|
8295
|
+
[key: string]: {
|
|
8296
|
+
value: string;
|
|
8297
|
+
shouldAutoLoad?: boolean;
|
|
8298
|
+
};
|
|
8299
|
+
};
|
|
8300
|
+
}
|
|
8301
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7821
8302
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import { FC
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
8303
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8304
|
+
import { FC } from 'react';
|
|
8305
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8306
|
+
export const InlineContactViewer: FC<{
|
|
8307
|
+
contact: ContactDetails;
|
|
7827
8308
|
}>;
|
|
7828
8309
|
}
|
|
7829
8310
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +8330,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
8330
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
8331
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
8332
|
}
|
|
8333
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8334
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8335
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8336
|
+
}
|
|
8337
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8338
|
+
import { FC } from 'react';
|
|
8339
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8340
|
+
export const InlinePageListViewer: FC<{
|
|
8341
|
+
items: PageItem[];
|
|
8342
|
+
baseRoute: string;
|
|
8343
|
+
filterBaseUrl?: string;
|
|
8344
|
+
isInitialLoading?: boolean;
|
|
8345
|
+
}>;
|
|
8346
|
+
}
|
|
8347
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8348
|
+
import { FC } from 'react';
|
|
8349
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8350
|
+
export interface ListPagingProps {
|
|
8351
|
+
getNextPage: () => unknown;
|
|
8352
|
+
getPrevPage: () => unknown;
|
|
8353
|
+
getFirstPage: () => unknown;
|
|
8354
|
+
isLoadingNextPage: boolean;
|
|
8355
|
+
isInitialLoading: boolean;
|
|
8356
|
+
isFirstPage: boolean;
|
|
8357
|
+
hideNextButton: boolean;
|
|
8358
|
+
}
|
|
8359
|
+
export const InlinePageListWithPaging: FC<{
|
|
8360
|
+
pages: PageItem[];
|
|
8361
|
+
baseRoute: string;
|
|
8362
|
+
pagingProps?: ListPagingProps;
|
|
8363
|
+
filterBaseUrl?: string;
|
|
8364
|
+
}>;
|
|
8365
|
+
}
|
|
8366
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8367
|
+
import { DependencyList } from 'react';
|
|
8368
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8369
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8370
|
+
showPages: boolean;
|
|
8371
|
+
showDocuments: boolean;
|
|
8372
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8373
|
+
pageItems: any[];
|
|
8374
|
+
pagingProps: {
|
|
8375
|
+
hideNextButton: boolean;
|
|
8376
|
+
isInitialLoading: boolean;
|
|
8377
|
+
isLoadingNextPage: boolean;
|
|
8378
|
+
error: any;
|
|
8379
|
+
getFirstPage: () => void;
|
|
8380
|
+
getPrevPage: () => void;
|
|
8381
|
+
getNextPage: () => Promise<void>;
|
|
8382
|
+
isFirstPage: boolean;
|
|
8383
|
+
isLastPage: boolean;
|
|
8384
|
+
isEmpty: boolean;
|
|
8385
|
+
};
|
|
8386
|
+
};
|
|
8387
|
+
}
|
|
8388
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8389
|
+
import { FC } from 'react';
|
|
8390
|
+
export const InlinePageListSkeleton: FC<{
|
|
8391
|
+
isDataLoaded: boolean;
|
|
8392
|
+
pageSize?: number;
|
|
8393
|
+
}>;
|
|
8394
|
+
}
|
|
7852
8395
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8396
|
export interface CodeDetails {
|
|
7854
8397
|
id: string;
|
|
@@ -7870,20 +8413,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8413
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8414
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8415
|
}
|
|
7873
|
-
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7874
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7875
|
-
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7876
|
-
}
|
|
7877
|
-
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7878
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7879
|
-
export const InlineImageMapper: HtmlComponentMapper;
|
|
7880
|
-
}
|
|
7881
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
7882
|
-
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
7883
|
-
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
7884
|
-
format: TableFormat;
|
|
7885
|
-
}, never>;
|
|
7886
|
-
}
|
|
7887
8416
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8417
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8418
|
import { CSSProperties } from 'react';
|
|
@@ -7924,156 +8453,45 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8453
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8454
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8455
|
}
|
|
7927
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7928
|
-
import {
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
8456
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8457
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8458
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8459
|
+
format: TableFormat;
|
|
8460
|
+
}, never>;
|
|
8461
|
+
}
|
|
8462
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8463
|
+
import { FC, ReactNode } from 'react';
|
|
8464
|
+
export const ItemBodyWrapper: FC<{
|
|
8465
|
+
className?: string;
|
|
8466
|
+
children?: ReactNode;
|
|
7932
8467
|
}>;
|
|
7933
8468
|
}
|
|
7934
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
8469
|
+
declare module "libs/reach/feature/content/src/common/body/InlineActionButtonList" {
|
|
7935
8470
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7936
|
-
export interface
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
};
|
|
8471
|
+
export interface ActionButtonBlock {
|
|
8472
|
+
blockId: string;
|
|
8473
|
+
actionButtons: {
|
|
8474
|
+
label: string;
|
|
8475
|
+
url: string;
|
|
8476
|
+
isPrimary: boolean;
|
|
8477
|
+
id: string;
|
|
8478
|
+
}[];
|
|
8479
|
+
entityKey?: string;
|
|
7946
8480
|
}
|
|
7947
|
-
export const
|
|
8481
|
+
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
7948
8482
|
}
|
|
7949
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8483
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
7950
8484
|
import { FC } from 'react';
|
|
7951
|
-
|
|
7952
|
-
export const InlinePageListViewer: FC<{
|
|
7953
|
-
items: PageItem[];
|
|
7954
|
-
baseRoute: string;
|
|
7955
|
-
filterBaseUrl?: string;
|
|
7956
|
-
isInitialLoading?: boolean;
|
|
7957
|
-
}>;
|
|
8485
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7958
8486
|
}
|
|
7959
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8487
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7960
8488
|
import { FC } from 'react';
|
|
7961
|
-
|
|
7962
|
-
export interface ListPagingProps {
|
|
7963
|
-
getNextPage: () => unknown;
|
|
7964
|
-
getPrevPage: () => unknown;
|
|
7965
|
-
getFirstPage: () => unknown;
|
|
7966
|
-
isLoadingNextPage: boolean;
|
|
7967
|
-
isInitialLoading: boolean;
|
|
7968
|
-
isFirstPage: boolean;
|
|
7969
|
-
hideNextButton: boolean;
|
|
7970
|
-
}
|
|
7971
|
-
export const InlinePageListWithPaging: FC<{
|
|
7972
|
-
pages: PageItem[];
|
|
7973
|
-
baseRoute: string;
|
|
7974
|
-
pagingProps?: ListPagingProps;
|
|
7975
|
-
filterBaseUrl?: string;
|
|
7976
|
-
}>;
|
|
7977
|
-
}
|
|
7978
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
7979
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7980
|
-
export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
8489
|
+
export const EventDetailViewLocationInfo: FC;
|
|
7981
8490
|
}
|
|
7982
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8491
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
7983
8492
|
import { FC } from 'react';
|
|
7984
|
-
export const
|
|
7985
|
-
|
|
7986
|
-
pageSize?: number;
|
|
7987
|
-
}>;
|
|
7988
|
-
}
|
|
7989
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
7990
|
-
import { FC } from 'react';
|
|
7991
|
-
export const InlinePageListByKeywords: FC<{
|
|
7992
|
-
keywords: string;
|
|
7993
|
-
showDocuments?: boolean;
|
|
7994
|
-
showPages?: boolean;
|
|
7995
|
-
}>;
|
|
7996
|
-
}
|
|
7997
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
7998
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7999
|
-
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
8000
|
-
}
|
|
8001
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8002
|
-
import { FC } from 'react';
|
|
8003
|
-
export const InlinePageListByPageId: FC<{
|
|
8004
|
-
pageId: string;
|
|
8005
|
-
showDocuments: boolean;
|
|
8006
|
-
showPages: boolean;
|
|
8007
|
-
}>;
|
|
8008
|
-
}
|
|
8009
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8010
|
-
import { DependencyList } from 'react';
|
|
8011
|
-
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8012
|
-
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8013
|
-
showPages: boolean;
|
|
8014
|
-
showDocuments: boolean;
|
|
8015
|
-
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8016
|
-
pageItems: any[];
|
|
8017
|
-
pagingProps: {
|
|
8018
|
-
hideNextButton: boolean;
|
|
8019
|
-
isInitialLoading: boolean;
|
|
8020
|
-
isLoadingNextPage: boolean;
|
|
8021
|
-
error: any;
|
|
8022
|
-
getFirstPage: () => void;
|
|
8023
|
-
getPrevPage: () => void;
|
|
8024
|
-
getNextPage: () => Promise<void>;
|
|
8025
|
-
isFirstPage: boolean;
|
|
8026
|
-
isLastPage: boolean;
|
|
8027
|
-
isEmpty: boolean;
|
|
8028
|
-
};
|
|
8029
|
-
};
|
|
8030
|
-
}
|
|
8031
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8032
|
-
import { FC } from 'react';
|
|
8033
|
-
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8034
|
-
export const InlinePageListByCurrentPage: FC<{
|
|
8035
|
-
blockProps?: PageListDetails;
|
|
8036
|
-
}>;
|
|
8037
|
-
}
|
|
8038
|
-
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8039
|
-
import { FC } from 'react';
|
|
8040
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8041
|
-
export interface PageListDetails {
|
|
8042
|
-
id?: string;
|
|
8043
|
-
showChildren?: boolean;
|
|
8044
|
-
showDocuments?: boolean;
|
|
8045
|
-
showPages?: boolean;
|
|
8046
|
-
pageId?: string;
|
|
8047
|
-
keywords?: string;
|
|
8048
|
-
}
|
|
8049
|
-
export const InlinePageList: FC<{
|
|
8050
|
-
blockProps?: PageListDetails;
|
|
8051
|
-
}>;
|
|
8052
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8053
|
-
}
|
|
8054
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8055
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8056
|
-
export interface EmbeddedObjectPreviewData {
|
|
8057
|
-
itemId: string;
|
|
8058
|
-
type: string;
|
|
8059
|
-
subscriptionIdentifier: string;
|
|
8060
|
-
}
|
|
8061
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8062
|
-
}
|
|
8063
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8064
|
-
import { FC } from 'react';
|
|
8065
|
-
export const RichTextViewer: FC<{
|
|
8066
|
-
html: string;
|
|
8067
|
-
}>;
|
|
8068
|
-
}
|
|
8069
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8070
|
-
import { FC } from 'react';
|
|
8071
|
-
export const DetailViewBody: FC;
|
|
8072
|
-
}
|
|
8073
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8074
|
-
import { FC } from 'react';
|
|
8075
|
-
export const DetailViewKeywords: FC<{
|
|
8076
|
-
filterBaseUrl: string;
|
|
8493
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8494
|
+
allowFilterByChannels?: boolean;
|
|
8077
8495
|
}>;
|
|
8078
8496
|
}
|
|
8079
8497
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -8082,24 +8500,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8082
8500
|
className?: string;
|
|
8083
8501
|
}>;
|
|
8084
8502
|
}
|
|
8085
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8086
|
-
import { FC } from 'react';
|
|
8087
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8088
|
-
}
|
|
8089
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8090
|
-
import { FC } from 'react';
|
|
8091
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8092
|
-
}
|
|
8093
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8094
|
-
import { FC } from 'react';
|
|
8095
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8096
|
-
allowFilterByChannels?: boolean;
|
|
8097
|
-
}>;
|
|
8098
|
-
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8100
|
-
import { FC } from 'react';
|
|
8101
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8102
|
-
}
|
|
8103
8503
|
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
8504
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8105
8505
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -8210,8 +8610,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8210
8610
|
}
|
|
8211
8611
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
8212
8612
|
import { FC } from 'react';
|
|
8213
|
-
import { EventParticipant } from "libs/reach/util/common/src/index";
|
|
8214
|
-
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
8613
|
+
import { EventParticipant, EventResponse } from "libs/reach/util/common/src/index";
|
|
8215
8614
|
export const EventRegistrationRegisterSomeoneElseDialog: FC<{
|
|
8216
8615
|
show: boolean;
|
|
8217
8616
|
onDismiss: () => unknown;
|
|
@@ -8257,6 +8656,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8656
|
import { FC } from 'react';
|
|
8258
8657
|
export const EventDetailViewRegistration: FC;
|
|
8259
8658
|
}
|
|
8659
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8660
|
+
import { FC } from 'react';
|
|
8661
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8662
|
+
}
|
|
8260
8663
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8664
|
import { FC } from 'react';
|
|
8262
8665
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,92 +8915,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8915
|
eventItem: EventItem;
|
|
8513
8916
|
}>;
|
|
8514
8917
|
}
|
|
8515
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8516
|
-
import { FC } from 'react';
|
|
8517
|
-
export const DetailViewPageViewTracker: FC;
|
|
8518
|
-
}
|
|
8519
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8520
|
-
import { FC } from 'react';
|
|
8521
|
-
export const DetailViewIntro: FC;
|
|
8522
|
-
}
|
|
8523
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8524
|
-
import { FC } from 'react';
|
|
8525
|
-
export const ConfirmationBox: FC<{
|
|
8526
|
-
disabled?: boolean;
|
|
8527
|
-
onChange?: (value: boolean) => void;
|
|
8528
|
-
checked: boolean;
|
|
8529
|
-
}>;
|
|
8530
|
-
}
|
|
8531
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8532
|
-
import { FC } from 'react';
|
|
8533
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8534
|
-
export const ConfirmationSection: FC<{
|
|
8535
|
-
item?: NewsItem;
|
|
8536
|
-
showDescription: boolean;
|
|
8537
|
-
readOnly?: boolean;
|
|
8538
|
-
className?: string;
|
|
8539
|
-
}>;
|
|
8540
|
-
}
|
|
8541
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8542
|
-
import { FC } from 'react';
|
|
8543
|
-
export const DetailViewConfirmations: FC;
|
|
8544
|
-
}
|
|
8545
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8546
|
-
import { FC } from 'react';
|
|
8547
|
-
export const FeedbackButtonBookmark: FC<{
|
|
8548
|
-
isReadOnly?: boolean;
|
|
8549
|
-
}>;
|
|
8550
|
-
}
|
|
8551
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8552
|
-
import { FC } from 'react';
|
|
8553
|
-
export const NewsDetailViewFeedbackSection: FC<{
|
|
8554
|
-
hideLikes?: boolean;
|
|
8555
|
-
hideComments?: boolean;
|
|
8556
|
-
hideProfileUrl?: boolean;
|
|
8557
|
-
disableLoginForPublicUser?: boolean;
|
|
8558
|
-
}>;
|
|
8559
|
-
}
|
|
8560
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8561
|
-
import { FC } from 'react';
|
|
8562
|
-
export const DetailViewHeadline: FC;
|
|
8563
|
-
}
|
|
8564
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8565
|
-
import { FC } from 'react';
|
|
8566
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8567
|
-
export const DetailViewBodyExternalContent: FC<{
|
|
8568
|
-
itemType: ItemResourceTypes;
|
|
8569
|
-
}>;
|
|
8570
|
-
}
|
|
8571
|
-
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8572
|
-
import { FC } from 'react';
|
|
8573
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8574
|
-
export const DetailViewContextProvider: FC<{
|
|
8575
|
-
itemId: string;
|
|
8576
|
-
type?: ItemResourceTypes;
|
|
8577
|
-
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8578
|
-
isReadOnly?: boolean;
|
|
8579
|
-
}>;
|
|
8580
|
-
}
|
|
8581
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8582
|
-
import { FC } from 'react';
|
|
8583
|
-
export const PageDetailViewFeedbackSection: FC<{
|
|
8584
|
-
hideLikes?: boolean;
|
|
8585
|
-
hideComments?: boolean;
|
|
8586
|
-
hideProfileUrl?: boolean;
|
|
8587
|
-
disableLoginForPublicUser?: boolean;
|
|
8588
|
-
}>;
|
|
8589
|
-
}
|
|
8590
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8591
|
-
import { FC } from 'react';
|
|
8592
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8593
|
-
export const PageBreadcrumb: FC<{
|
|
8594
|
-
page: PageItem;
|
|
8595
|
-
target?: string;
|
|
8596
|
-
language?: string;
|
|
8597
|
-
hideCurrentPageNode?: boolean;
|
|
8598
|
-
className?: string;
|
|
8599
|
-
}>;
|
|
8600
|
-
}
|
|
8601
8918
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8602
8919
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8603
8920
|
interface DateInfoProps {
|
|
@@ -8637,51 +8954,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8637
8954
|
import { FC } from 'react';
|
|
8638
8955
|
export const PageDetailViewMetaInfo: FC;
|
|
8639
8956
|
}
|
|
8640
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8957
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8641
8958
|
import { FC } from 'react';
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
content: PublishableItemContent;
|
|
8648
|
-
basePath?: string;
|
|
8649
|
-
}>;
|
|
8650
|
-
}
|
|
8651
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8652
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8653
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8654
|
-
interface Props {
|
|
8655
|
-
id: string;
|
|
8656
|
-
item: PublishableItem;
|
|
8657
|
-
itemResourceType: ItemResourceTypes;
|
|
8658
|
-
}
|
|
8659
|
-
export const CardBanner: React.FC<Props>;
|
|
8660
|
-
}
|
|
8661
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8662
|
-
import { FC, ReactNode } from 'react';
|
|
8663
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8664
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8665
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8666
|
-
interface CardProps {
|
|
8667
|
-
item: PublishableItem;
|
|
8668
|
-
itemResourceType: ItemResourceTypes;
|
|
8669
|
-
additionalMetadata?: ReactNode;
|
|
8670
|
-
highlight?: boolean;
|
|
8671
|
-
className?: string;
|
|
8672
|
-
}
|
|
8673
|
-
export const Card: FC<CardProps>;
|
|
8674
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8675
|
-
item: TItem;
|
|
8676
|
-
language: string;
|
|
8677
|
-
}
|
|
8678
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8679
|
-
}
|
|
8680
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8681
|
-
import { FC, ReactNode } from 'react';
|
|
8682
|
-
export const DetailViewNavigation: FC<{
|
|
8683
|
-
children?: ReactNode;
|
|
8684
|
-
callout?: ReactNode;
|
|
8959
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8960
|
+
hideLikes?: boolean;
|
|
8961
|
+
hideComments?: boolean;
|
|
8962
|
+
hideProfileUrl?: boolean;
|
|
8963
|
+
disableLoginForPublicUser?: boolean;
|
|
8685
8964
|
}>;
|
|
8686
8965
|
}
|
|
8687
8966
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
@@ -8790,12 +9069,110 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
9069
|
import { FC } from 'react';
|
|
8791
9070
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
9071
|
}
|
|
8793
|
-
declare module "libs/reach/feature/content/src/
|
|
9072
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
9073
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9074
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9075
|
+
}
|
|
9076
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8794
9077
|
import { FC } from 'react';
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
9078
|
+
export const InlinePageListByKeywords: FC<{
|
|
9079
|
+
keywords: string[];
|
|
9080
|
+
showDocuments?: boolean;
|
|
9081
|
+
showPages?: boolean;
|
|
9082
|
+
}>;
|
|
9083
|
+
}
|
|
9084
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
9085
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9086
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9087
|
+
}
|
|
9088
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
9089
|
+
import { FC } from 'react';
|
|
9090
|
+
export const InlinePageListByPageId: FC<{
|
|
9091
|
+
pageId: string;
|
|
9092
|
+
showDocuments: boolean;
|
|
9093
|
+
showPages: boolean;
|
|
9094
|
+
}>;
|
|
9095
|
+
}
|
|
9096
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
9097
|
+
import { FC } from 'react';
|
|
9098
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9099
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
9100
|
+
blockProps?: PageListDetails;
|
|
9101
|
+
}>;
|
|
9102
|
+
}
|
|
9103
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
9104
|
+
import { FC } from 'react';
|
|
9105
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9106
|
+
export interface PageListDetails {
|
|
9107
|
+
id?: string;
|
|
9108
|
+
showChildren?: boolean;
|
|
9109
|
+
showDocuments?: boolean;
|
|
9110
|
+
showPages?: boolean;
|
|
9111
|
+
pageId?: string;
|
|
9112
|
+
keywords?: string;
|
|
9113
|
+
}
|
|
9114
|
+
export const InlinePageList: FC<{
|
|
9115
|
+
blockProps?: PageListDetails;
|
|
9116
|
+
}>;
|
|
9117
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9118
|
+
}
|
|
9119
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
9120
|
+
import { FC } from 'react';
|
|
9121
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9122
|
+
export const PageBreadcrumb: FC<{
|
|
9123
|
+
page: PageItem;
|
|
9124
|
+
target?: string;
|
|
9125
|
+
language?: string;
|
|
9126
|
+
hideCurrentPageNode?: boolean;
|
|
9127
|
+
className?: string;
|
|
9128
|
+
}>;
|
|
9129
|
+
}
|
|
9130
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9131
|
+
import { FC } from 'react';
|
|
9132
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9133
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9134
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
9135
|
+
export const PageDocumentDownloadButton: FC<{
|
|
9136
|
+
item: PageItem;
|
|
9137
|
+
content: PublishableItemContent;
|
|
9138
|
+
basePath?: string;
|
|
9139
|
+
}>;
|
|
9140
|
+
}
|
|
9141
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9142
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9143
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9144
|
+
interface Props {
|
|
9145
|
+
id: string;
|
|
9146
|
+
item: PublishableItem;
|
|
9147
|
+
itemResourceType: ItemResourceTypes;
|
|
9148
|
+
}
|
|
9149
|
+
export const CardBanner: React.FC<Props>;
|
|
9150
|
+
}
|
|
9151
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9152
|
+
import { FC, ReactNode } from 'react';
|
|
9153
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9154
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9155
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9156
|
+
interface CardProps {
|
|
9157
|
+
item: PublishableItem;
|
|
9158
|
+
itemResourceType: ItemResourceTypes;
|
|
9159
|
+
additionalMetadata?: ReactNode;
|
|
9160
|
+
highlight?: boolean;
|
|
9161
|
+
className?: string;
|
|
9162
|
+
}
|
|
9163
|
+
export const Card: FC<CardProps>;
|
|
9164
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9165
|
+
item: TItem;
|
|
9166
|
+
language: string;
|
|
9167
|
+
}
|
|
9168
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9169
|
+
}
|
|
9170
|
+
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
9171
|
+
import { FC } from 'react';
|
|
9172
|
+
interface LanguageSelectorProps {
|
|
9173
|
+
languages: string[];
|
|
9174
|
+
selectedLanguage: string;
|
|
9175
|
+
onLanguageChange: (selected: string) => void;
|
|
8799
9176
|
onTranslateClick?: (language: string) => void;
|
|
8800
9177
|
onEditLanguagePreferencesClick?: () => void;
|
|
8801
9178
|
chromeless?: boolean;
|
|
@@ -8811,10 +9188,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
9188
|
className?: string;
|
|
8812
9189
|
}>;
|
|
8813
9190
|
}
|
|
9191
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9192
|
+
import { FC } from 'react';
|
|
9193
|
+
export const DetailViewBanner: FC;
|
|
9194
|
+
}
|
|
9195
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9196
|
+
import { FC } from 'react';
|
|
9197
|
+
export const DetailViewIntro: FC;
|
|
9198
|
+
}
|
|
9199
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9200
|
+
import { FC } from 'react';
|
|
9201
|
+
export const DetailMainSection: FC;
|
|
9202
|
+
}
|
|
9203
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9204
|
+
import { FC, ReactNode } from 'react';
|
|
9205
|
+
export const GutterMarkerIcon: FC<{
|
|
9206
|
+
iconName: string;
|
|
9207
|
+
children: ReactNode;
|
|
9208
|
+
isActive: boolean;
|
|
9209
|
+
color: string;
|
|
9210
|
+
tooltipResourceKey?: string;
|
|
9211
|
+
className?: string;
|
|
9212
|
+
}>;
|
|
9213
|
+
}
|
|
9214
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9215
|
+
import { FC } from 'react';
|
|
9216
|
+
export const DetailViewTitle: FC;
|
|
9217
|
+
}
|
|
8814
9218
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
9219
|
import { FC } from 'react';
|
|
8816
9220
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
9221
|
}
|
|
9222
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9223
|
+
import { FC } from 'react';
|
|
9224
|
+
export const RichTextViewer: FC<{
|
|
9225
|
+
html: string;
|
|
9226
|
+
}>;
|
|
9227
|
+
}
|
|
9228
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9229
|
+
import { FC } from 'react';
|
|
9230
|
+
export const DetailViewBody: FC;
|
|
9231
|
+
}
|
|
9232
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9233
|
+
import { FC } from 'react';
|
|
9234
|
+
export const DetailViewKeywords: FC<{
|
|
9235
|
+
filterBaseUrl: string;
|
|
9236
|
+
}>;
|
|
9237
|
+
}
|
|
9238
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9239
|
+
import { FC } from 'react';
|
|
9240
|
+
export const ConfirmationBox: FC<{
|
|
9241
|
+
disabled?: boolean;
|
|
9242
|
+
onChange?: (value: boolean) => void;
|
|
9243
|
+
checked: boolean;
|
|
9244
|
+
}>;
|
|
9245
|
+
}
|
|
9246
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9247
|
+
import { FC } from 'react';
|
|
9248
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9249
|
+
export const ConfirmationSection: FC<{
|
|
9250
|
+
item?: NewsItem;
|
|
9251
|
+
showDescription: boolean;
|
|
9252
|
+
readOnly?: boolean;
|
|
9253
|
+
className?: string;
|
|
9254
|
+
}>;
|
|
9255
|
+
}
|
|
9256
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9257
|
+
import { FC } from 'react';
|
|
9258
|
+
export const DetailViewConfirmations: FC;
|
|
9259
|
+
}
|
|
9260
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9261
|
+
import { FC } from 'react';
|
|
9262
|
+
export const DetailViewPageViewTracker: FC;
|
|
9263
|
+
}
|
|
9264
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9265
|
+
import { FC } from 'react';
|
|
9266
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9267
|
+
isReadOnly?: boolean;
|
|
9268
|
+
}>;
|
|
9269
|
+
}
|
|
9270
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9271
|
+
import { FC } from 'react';
|
|
9272
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9273
|
+
hideLikes?: boolean;
|
|
9274
|
+
hideComments?: boolean;
|
|
9275
|
+
hideProfileUrl?: boolean;
|
|
9276
|
+
disableLoginForPublicUser?: boolean;
|
|
9277
|
+
}>;
|
|
9278
|
+
}
|
|
9279
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9280
|
+
import { FC, ReactNode } from 'react';
|
|
9281
|
+
export const DetailViewNavigation: FC<{
|
|
9282
|
+
children?: ReactNode;
|
|
9283
|
+
callout?: ReactNode;
|
|
9284
|
+
}>;
|
|
9285
|
+
}
|
|
9286
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9287
|
+
import { FC } from 'react';
|
|
9288
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9289
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9290
|
+
itemType: ItemResourceTypes;
|
|
9291
|
+
}>;
|
|
9292
|
+
}
|
|
9293
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9294
|
+
import { FC } from 'react';
|
|
9295
|
+
export const DetailViewHeadline: FC;
|
|
9296
|
+
}
|
|
8818
9297
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8819
9298
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8820
9299
|
export const StateIcon: React.FC<{
|
|
@@ -8835,205 +9314,66 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8835
9314
|
}
|
|
8836
9315
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8837
9316
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8838
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8839
9317
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8840
9318
|
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
8841
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
8842
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8843
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8844
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8845
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8846
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8847
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8848
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8849
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8850
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8851
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8852
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
8853
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8854
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8856
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8860
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8861
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8862
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8863
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
8864
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
8865
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8866
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8867
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8868
9319
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
8869
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8870
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8871
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
8872
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8873
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
8874
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8875
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8876
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8877
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8878
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8879
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8880
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8881
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8882
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8883
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8884
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
8885
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8886
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
8887
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8888
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8889
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8890
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8891
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8892
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8893
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8894
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
8895
9320
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
9321
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
9322
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
9323
|
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
8901
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8902
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8903
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8904
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8905
9324
|
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
8906
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8907
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8908
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8909
9325
|
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
8910
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8911
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8912
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8913
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8914
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8915
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8916
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8917
9326
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
8918
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8919
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8920
9327
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
9328
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
9329
|
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
8923
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8924
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8925
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8926
9330
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
9331
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
8929
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8930
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8931
9332
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
8932
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8933
9333
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8934
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8935
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8936
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8937
9334
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
9335
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
9336
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
9337
|
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
8943
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8944
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8945
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8946
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8947
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8948
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8949
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8950
9338
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
9339
|
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8953
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8954
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8955
9340
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
9341
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
9342
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
9343
|
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8961
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8962
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8963
9344
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8964
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8965
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8966
9345
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
9346
|
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8968
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8969
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8970
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8971
9347
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
9348
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
9349
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9350
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
8975
9351
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8976
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8977
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8978
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8979
9352
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
9353
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
9354
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
9355
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
9356
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
9357
|
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8986
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8987
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8988
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8989
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8990
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8991
9358
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
9359
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8993
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8994
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8995
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8996
9360
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
9361
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
9362
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8999
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9000
9363
|
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9001
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9002
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9003
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9004
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9005
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9006
9364
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9007
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9008
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9009
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9010
9365
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9011
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9012
9366
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
9367
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
9368
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
9369
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
9370
|
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9018
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9019
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9020
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9021
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9022
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9023
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9024
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9025
9371
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
9372
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9027
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9028
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9029
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9030
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9031
9373
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
9374
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9375
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9376
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9035
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9036
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9037
9377
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9378
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9379
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9390,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9390
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9391
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9392
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9393
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9394
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9395
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9072,91 +9411,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9072
9411
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9073
9412
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9074
9413
|
}
|
|
9075
|
-
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
9076
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9077
|
-
export interface FilteringProps {
|
|
9078
|
-
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9079
|
-
onShowFilterPanel?: () => unknown;
|
|
9080
|
-
onToggleFilterSidebar?: () => unknown;
|
|
9081
|
-
isFilterActive?: boolean;
|
|
9082
|
-
}
|
|
9083
|
-
}
|
|
9084
|
-
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9085
|
-
import { FC } from 'react';
|
|
9086
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9087
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9088
|
-
export interface InjectedFilterProps {
|
|
9089
|
-
filter: IndexableFilterDefinition;
|
|
9090
|
-
hasFilter: boolean;
|
|
9091
|
-
isSearchActive: boolean;
|
|
9092
|
-
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9093
|
-
onSearchChange: (text: string) => void;
|
|
9094
|
-
onClearFilter: () => void;
|
|
9095
|
-
}
|
|
9096
|
-
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
9097
|
-
filter: Partial<IndexableFilterDefinition>;
|
|
9098
|
-
hasFilter: boolean;
|
|
9099
|
-
isSearchActive: boolean;
|
|
9100
|
-
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
9101
|
-
onSearchChange: (search: string) => void;
|
|
9102
|
-
onClearFilter: () => void;
|
|
9103
|
-
};
|
|
9104
|
-
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
9105
|
-
export const FilterContextProvider: FC<{
|
|
9106
|
-
addFilters?: (locationParams: {
|
|
9107
|
-
[paramName: string]: any;
|
|
9108
|
-
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
9109
|
-
additionalExcludedFilterProperties?: string[];
|
|
9110
|
-
onClearQueryString?: (prev: any, next: any) => any;
|
|
9111
|
-
}>;
|
|
9112
|
-
export interface FilterVisibilityState {
|
|
9113
|
-
showFilterAsPanel?: boolean;
|
|
9114
|
-
showFilterSidebar?: boolean;
|
|
9115
|
-
}
|
|
9116
|
-
}
|
|
9117
|
-
declare module "libs/reach/feature/content/src/filter/index" {
|
|
9118
|
-
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
9119
|
-
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9120
|
-
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
9121
|
-
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
9122
|
-
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
9123
|
-
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
9124
|
-
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
9125
|
-
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
9126
|
-
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
9127
|
-
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
9128
|
-
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
9129
|
-
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9130
|
-
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9131
|
-
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9132
|
-
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9133
|
-
}
|
|
9134
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9135
|
-
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
9136
|
-
import { FC } from 'react';
|
|
9137
|
-
interface Props {
|
|
9138
|
-
group: KeywordGroup;
|
|
9139
|
-
keywords?: Keyword[];
|
|
9140
|
-
expanded?: boolean;
|
|
9141
|
-
selectedKeywords: Keyword[];
|
|
9142
|
-
onChange?: (keywords: Keyword[]) => void;
|
|
9143
|
-
mandatoryKeywordIds?: string[];
|
|
9144
|
-
}
|
|
9145
|
-
export const KeywordPickerGroup: FC<Props>;
|
|
9146
|
-
}
|
|
9147
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
9148
|
-
import { FC } from 'react';
|
|
9149
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9150
|
-
interface Props {
|
|
9151
|
-
value?: Keyword[] | string[];
|
|
9152
|
-
onChange: (keywords: Keyword[]) => void;
|
|
9153
|
-
showSelectionToggle?: boolean;
|
|
9154
|
-
availableKeywords?: Keyword[];
|
|
9155
|
-
mandatoryKeywordIds?: string[];
|
|
9156
|
-
className?: string;
|
|
9157
|
-
}
|
|
9158
|
-
export const KeywordPicker: FC<Props>;
|
|
9159
|
-
}
|
|
9160
9414
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9161
9415
|
import { FC, ReactNode } from 'react';
|
|
9162
9416
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9205,33 +9459,15 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9459
|
*/
|
|
9206
9460
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9461
|
}
|
|
9208
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9209
|
-
import { FC } from 'react';
|
|
9210
|
-
interface DateTimePickerProps {
|
|
9211
|
-
date: string;
|
|
9212
|
-
maxDate?: string;
|
|
9213
|
-
minDate?: string;
|
|
9214
|
-
dateValidationResourceKey?: string;
|
|
9215
|
-
timeValidationResourceKey?: string;
|
|
9216
|
-
readOnly?: boolean;
|
|
9217
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
9218
|
-
noDateResourceKey: string;
|
|
9219
|
-
selectDateResourceKey: string;
|
|
9220
|
-
dateOnly?: boolean;
|
|
9221
|
-
initialPickerDate?: string;
|
|
9222
|
-
label?: string;
|
|
9223
|
-
className?: string;
|
|
9224
|
-
}
|
|
9225
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9226
|
-
export default DateTimePicker;
|
|
9227
|
-
}
|
|
9228
9462
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9463
|
import { FC } from 'react';
|
|
9230
9464
|
interface Props {
|
|
9231
9465
|
onInsert: (files: File[]) => void;
|
|
9232
9466
|
accept?: string;
|
|
9233
9467
|
captionKey?: string;
|
|
9468
|
+
captionIconName?: string;
|
|
9234
9469
|
descriptionKey?: string;
|
|
9470
|
+
descriptionIconName?: string;
|
|
9235
9471
|
singleMode?: boolean;
|
|
9236
9472
|
}
|
|
9237
9473
|
export const InsertFilesButton: FC<Props>;
|
|
@@ -9249,6 +9485,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9485
|
}
|
|
9250
9486
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9487
|
}
|
|
9488
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9489
|
+
import { FC } from 'react';
|
|
9490
|
+
interface DateTimePickerProps {
|
|
9491
|
+
date: string;
|
|
9492
|
+
maxDate?: string;
|
|
9493
|
+
minDate?: string;
|
|
9494
|
+
dateValidationResourceKey?: string;
|
|
9495
|
+
timeValidationResourceKey?: string;
|
|
9496
|
+
readOnly?: boolean;
|
|
9497
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9498
|
+
noDateResourceKey: string;
|
|
9499
|
+
selectDateResourceKey: string;
|
|
9500
|
+
dateOnly?: boolean;
|
|
9501
|
+
initialPickerDate?: string;
|
|
9502
|
+
label?: string;
|
|
9503
|
+
isRequired?: boolean;
|
|
9504
|
+
className?: string;
|
|
9505
|
+
}
|
|
9506
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9507
|
+
export default DateTimePicker;
|
|
9508
|
+
}
|
|
9252
9509
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9253
9510
|
import moment, { Moment } from 'moment';
|
|
9254
9511
|
export enum DateRange {
|
|
@@ -9291,37 +9548,22 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9291
9548
|
allowEmptyValue: boolean;
|
|
9292
9549
|
includePendingInvitationUsers?: boolean;
|
|
9293
9550
|
placeholderStringResourceKey?: string;
|
|
9551
|
+
inputAriaLabelResourceKey: string;
|
|
9294
9552
|
}
|
|
9295
9553
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9554
|
}
|
|
9297
9555
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9299
9556
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9300
9557
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9304
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9305
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9306
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9307
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9308
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9558
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9559
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9560
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9561
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9562
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9563
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9564
|
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9320
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9321
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9322
9565
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9566
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9567
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9568
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9569
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9643,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9643
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9644
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9645
|
}
|
|
9646
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9647
|
+
import { FC } from 'react';
|
|
9648
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9649
|
+
export const SearchHighlighter: FC<{
|
|
9650
|
+
highlight: SearchHighlight;
|
|
9651
|
+
}>;
|
|
9652
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9653
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9654
|
+
}
|
|
9404
9655
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9656
|
import { FC } from 'react';
|
|
9406
9657
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9680,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9680
|
}
|
|
9430
9681
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9682
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9683
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9684
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9685
|
+
page: PageItem;
|
|
9437
9686
|
search?: string;
|
|
9438
9687
|
}>;
|
|
9439
9688
|
}
|
|
@@ -9499,7 +9748,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9748
|
import { FC } from 'react';
|
|
9500
9749
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9750
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9751
|
+
export interface PostCreatorProps {
|
|
9503
9752
|
groupId: string;
|
|
9504
9753
|
disabled: boolean;
|
|
9505
9754
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,129 +9759,1294 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9759
|
defaultKeywords?: Keyword[];
|
|
9511
9760
|
mandatoryKeywords?: Keyword[];
|
|
9512
9761
|
};
|
|
9513
|
-
|
|
9514
|
-
}
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
import {
|
|
9519
|
-
import {
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
}
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
import {
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9762
|
+
disableAutoFocus?: boolean;
|
|
9763
|
+
}
|
|
9764
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9765
|
+
}
|
|
9766
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9767
|
+
import { FC } from 'react';
|
|
9768
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9769
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9770
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9771
|
+
interface Props {
|
|
9772
|
+
className?: string;
|
|
9773
|
+
post: Post;
|
|
9774
|
+
initialPageSize?: number;
|
|
9775
|
+
comments?: PaginatedList<Comment>;
|
|
9776
|
+
autoFocusReplyField?: boolean;
|
|
9777
|
+
onReplyAdded: () => void;
|
|
9778
|
+
onReplyDeleted: () => void;
|
|
9779
|
+
onThreadReply?: (threadId: string) => void;
|
|
9780
|
+
}
|
|
9781
|
+
export const PostReplies: FC<Props>;
|
|
9782
|
+
}
|
|
9783
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9784
|
+
import { FC } from 'react';
|
|
9785
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9786
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9787
|
+
export const PostEditor: FC<{
|
|
9788
|
+
className?: string;
|
|
9789
|
+
post: Post;
|
|
9790
|
+
onCancel: () => void;
|
|
9791
|
+
onBeforeSave: (post: Post) => void;
|
|
9792
|
+
onSaved: (post: Post) => void;
|
|
9793
|
+
keywordSettings?: {
|
|
9794
|
+
availableKeywords?: Keyword[];
|
|
9795
|
+
defaultKeywords?: Keyword[];
|
|
9796
|
+
mandatoryKeywords?: Keyword[];
|
|
9797
|
+
};
|
|
9798
|
+
}>;
|
|
9799
|
+
}
|
|
9800
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9801
|
+
import { FC } from 'react';
|
|
9802
|
+
export const PostFollowButton: FC<{
|
|
9803
|
+
itemId: string;
|
|
9804
|
+
}>;
|
|
9805
|
+
}
|
|
9806
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9807
|
+
import { FC } from 'react';
|
|
9808
|
+
import { NavLink } from 'react-router-dom';
|
|
9809
|
+
export const PostGroup: FC<{
|
|
9810
|
+
groupId: string;
|
|
9811
|
+
to: string;
|
|
9812
|
+
className?: string;
|
|
9813
|
+
}>;
|
|
9814
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9815
|
+
}
|
|
9816
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9817
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9818
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9819
|
+
interface Props {
|
|
9820
|
+
post: Post;
|
|
9821
|
+
className?: string;
|
|
9822
|
+
threadId?: string;
|
|
9823
|
+
onCustomPostDelete?: () => void;
|
|
9824
|
+
comments?: PaginatedList<Comment>;
|
|
9825
|
+
initialCommentsPageSize?: number;
|
|
9826
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9827
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9828
|
+
onThreadCommentDelete?: () => void;
|
|
9829
|
+
onThreadReply?: (threadId: string) => void;
|
|
9830
|
+
keywordSettings?: {
|
|
9831
|
+
availableKeywords?: Keyword[];
|
|
9832
|
+
defaultKeywords?: Keyword[];
|
|
9833
|
+
mandatoryKeywords?: Keyword[];
|
|
9834
|
+
};
|
|
9835
|
+
showGroup?: boolean;
|
|
9836
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9837
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9838
|
+
}
|
|
9839
|
+
export const PostDisplay: React.FC<Props>;
|
|
9840
|
+
}
|
|
9841
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9842
|
+
import { FC } from 'react';
|
|
9843
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9844
|
+
export const PostGroupsSelector: FC<{
|
|
9845
|
+
groups: UserGroup[];
|
|
9846
|
+
}>;
|
|
9847
|
+
}
|
|
9848
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9849
|
+
import { FC } from 'react';
|
|
9850
|
+
export const PostGroupSelector: FC;
|
|
9851
|
+
}
|
|
9852
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9853
|
+
import { FC } from 'react';
|
|
9854
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9855
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9856
|
+
interface Props {
|
|
9857
|
+
post: Post;
|
|
9858
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9859
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9860
|
+
keywordSettings?: {
|
|
9861
|
+
availableKeywords?: Keyword[];
|
|
9862
|
+
defaultKeywords?: Keyword[];
|
|
9863
|
+
mandatoryKeywords?: Keyword[];
|
|
9864
|
+
};
|
|
9865
|
+
showGroup: boolean;
|
|
9866
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9867
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9868
|
+
}
|
|
9869
|
+
export const PostListItem: FC<Props>;
|
|
9870
|
+
}
|
|
9871
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9872
|
+
import { FC } from 'react';
|
|
9873
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9874
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9875
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9876
|
+
post: Post;
|
|
9877
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9878
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9879
|
+
keywordSettings?: {
|
|
9880
|
+
availableKeywords?: Keyword[];
|
|
9881
|
+
defaultKeywords?: Keyword[];
|
|
9882
|
+
mandatoryKeywords?: Keyword[];
|
|
9883
|
+
};
|
|
9884
|
+
showGroup: boolean;
|
|
9885
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9886
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9887
|
+
}>;
|
|
9888
|
+
}
|
|
9889
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9890
|
+
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9891
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9892
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9893
|
+
enum StreamItemTypes {
|
|
9894
|
+
Post = "POST",
|
|
9895
|
+
News = "NEWS",
|
|
9896
|
+
Event = "EVENT",
|
|
9897
|
+
Page = "PAGE"
|
|
9898
|
+
}
|
|
9899
|
+
export enum StreamConversationScope {
|
|
9900
|
+
Public = "PUBLIC",
|
|
9901
|
+
Editor = "EDITOR",
|
|
9902
|
+
Posts = "POSTS"
|
|
9903
|
+
}
|
|
9904
|
+
export interface PostStreamItem extends Post {
|
|
9905
|
+
type: StreamItemTypes.Post;
|
|
9906
|
+
isUnread: boolean;
|
|
9907
|
+
keywordsList?: Keyword[];
|
|
9908
|
+
groupIds?: string[];
|
|
9909
|
+
postAttachments?: StreamAttachment[];
|
|
9910
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9911
|
+
hasMoreUnreadComments: boolean;
|
|
9912
|
+
}
|
|
9913
|
+
export interface StreamPostComment extends Comment {
|
|
9914
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9915
|
+
streamConversationScope?: StreamConversationScope;
|
|
9916
|
+
}
|
|
9917
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9918
|
+
type: GraphQLAttachmentType;
|
|
9919
|
+
}
|
|
9920
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9921
|
+
type: StreamItemTypes.News;
|
|
9922
|
+
contentsList: StreamPublishableItemContents[];
|
|
9923
|
+
channelsList: string[];
|
|
9924
|
+
isUnread: boolean;
|
|
9925
|
+
keywordsList?: Keyword[];
|
|
9926
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9927
|
+
}
|
|
9928
|
+
export enum StreamKnownNewsState {
|
|
9929
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9930
|
+
Alert = "ALERT"
|
|
9931
|
+
}
|
|
9932
|
+
export interface EventStreamItem extends EventItem {
|
|
9933
|
+
type: StreamItemTypes.Event;
|
|
9934
|
+
contentsList: StreamPublishableItemContents[];
|
|
9935
|
+
channelsList: string[];
|
|
9936
|
+
isUnread: boolean;
|
|
9937
|
+
keywordsList?: Keyword[];
|
|
9938
|
+
userResponseType?: StreamEventResponse;
|
|
9939
|
+
}
|
|
9940
|
+
export interface PageStreamItem extends PageItem {
|
|
9941
|
+
type: StreamItemTypes.Page;
|
|
9942
|
+
contentsList: StreamPublishableItemContents[];
|
|
9943
|
+
channelsList: string[];
|
|
9944
|
+
isUnread: boolean;
|
|
9945
|
+
keywordsList?: Keyword[];
|
|
9946
|
+
streamPageType?: string;
|
|
9947
|
+
path?: (PageNavigationNode & {
|
|
9948
|
+
parentId?: string;
|
|
9949
|
+
})[];
|
|
9950
|
+
}
|
|
9951
|
+
interface StreamPublishableItemContents {
|
|
9952
|
+
language: string;
|
|
9953
|
+
title: string;
|
|
9954
|
+
intro?: string;
|
|
9955
|
+
headline?: string;
|
|
9956
|
+
}
|
|
9957
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9958
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9959
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9960
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9961
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9962
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9963
|
+
groupId: string;
|
|
9964
|
+
attachments: {
|
|
9965
|
+
type: AttachmentType;
|
|
9966
|
+
id: string;
|
|
9967
|
+
filename?: string;
|
|
9968
|
+
previewUrl?: string;
|
|
9969
|
+
url?: string;
|
|
9970
|
+
isUploadInProgress?: boolean;
|
|
9971
|
+
hasError?: boolean;
|
|
9972
|
+
width?: number;
|
|
9973
|
+
height?: number;
|
|
9974
|
+
}[];
|
|
9975
|
+
comments: {
|
|
9976
|
+
items: {
|
|
9977
|
+
conversationScope: ConversationScope;
|
|
9978
|
+
fileAccessToken: string;
|
|
9979
|
+
attachments: {
|
|
9980
|
+
type: AttachmentType;
|
|
9981
|
+
id: string;
|
|
9982
|
+
filename?: string;
|
|
9983
|
+
previewUrl?: string;
|
|
9984
|
+
url?: string;
|
|
9985
|
+
isUploadInProgress?: boolean;
|
|
9986
|
+
hasError?: boolean;
|
|
9987
|
+
width?: number;
|
|
9988
|
+
height?: number;
|
|
9989
|
+
}[];
|
|
9990
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9991
|
+
streamConversationScope?: StreamConversationScope;
|
|
9992
|
+
id: string;
|
|
9993
|
+
parentItemId: string;
|
|
9994
|
+
content: string;
|
|
9995
|
+
contentLanguageCode?: string;
|
|
9996
|
+
receivedDateTime: string;
|
|
9997
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9998
|
+
modified?: string;
|
|
9999
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10000
|
+
isLiked?: boolean;
|
|
10001
|
+
threadId?: string;
|
|
10002
|
+
isUnread?: boolean;
|
|
10003
|
+
hasUnreadReplies?: boolean;
|
|
10004
|
+
isDemoContent?: boolean;
|
|
10005
|
+
attachmentContainerId?: string;
|
|
10006
|
+
}[];
|
|
10007
|
+
paginationToken?: any;
|
|
10008
|
+
nextItem?: StreamPostComment;
|
|
10009
|
+
hasMoreUnreadComments?: boolean;
|
|
10010
|
+
hasNextPage?: boolean;
|
|
10011
|
+
};
|
|
10012
|
+
keywords: {
|
|
10013
|
+
[key: string]: Keyword[];
|
|
10014
|
+
};
|
|
10015
|
+
type: StreamItemTypes.Post;
|
|
10016
|
+
isUnread: boolean;
|
|
10017
|
+
keywordsList?: Keyword[];
|
|
10018
|
+
groupIds?: string[];
|
|
10019
|
+
postAttachments?: StreamAttachment[];
|
|
10020
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10021
|
+
hasMoreUnreadComments: boolean;
|
|
10022
|
+
id: string;
|
|
10023
|
+
content: string;
|
|
10024
|
+
permalink?: string;
|
|
10025
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10026
|
+
publishingDate: string;
|
|
10027
|
+
modified?: string;
|
|
10028
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10029
|
+
contentLanguageCode?: string;
|
|
10030
|
+
isLiked?: boolean;
|
|
10031
|
+
isDemoContent?: boolean;
|
|
10032
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10033
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10034
|
+
fileAccessToken?: string;
|
|
10035
|
+
attachmentContainerId?: string;
|
|
10036
|
+
} | {
|
|
10037
|
+
groupId: string;
|
|
10038
|
+
attachments: {
|
|
10039
|
+
type: AttachmentType;
|
|
10040
|
+
id: string;
|
|
10041
|
+
filename?: string;
|
|
10042
|
+
previewUrl?: string;
|
|
10043
|
+
url?: string;
|
|
10044
|
+
isUploadInProgress?: boolean;
|
|
10045
|
+
hasError?: boolean;
|
|
10046
|
+
width?: number;
|
|
10047
|
+
height?: number;
|
|
10048
|
+
}[];
|
|
10049
|
+
comments: {
|
|
10050
|
+
items: {
|
|
10051
|
+
conversationScope: ConversationScope;
|
|
10052
|
+
fileAccessToken: string;
|
|
10053
|
+
attachments: {
|
|
10054
|
+
type: AttachmentType;
|
|
10055
|
+
id: string;
|
|
10056
|
+
filename?: string;
|
|
10057
|
+
previewUrl?: string;
|
|
10058
|
+
url?: string;
|
|
10059
|
+
isUploadInProgress?: boolean;
|
|
10060
|
+
hasError?: boolean;
|
|
10061
|
+
width?: number;
|
|
10062
|
+
height?: number;
|
|
10063
|
+
}[];
|
|
10064
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10065
|
+
streamConversationScope?: StreamConversationScope;
|
|
10066
|
+
id: string;
|
|
10067
|
+
parentItemId: string;
|
|
10068
|
+
content: string;
|
|
10069
|
+
contentLanguageCode?: string;
|
|
10070
|
+
receivedDateTime: string;
|
|
10071
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10072
|
+
modified?: string;
|
|
10073
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10074
|
+
isLiked?: boolean;
|
|
10075
|
+
threadId?: string;
|
|
10076
|
+
isUnread?: boolean;
|
|
10077
|
+
hasUnreadReplies?: boolean;
|
|
10078
|
+
isDemoContent?: boolean;
|
|
10079
|
+
attachmentContainerId?: string;
|
|
10080
|
+
}[];
|
|
10081
|
+
paginationToken?: any;
|
|
10082
|
+
nextItem?: StreamPostComment;
|
|
10083
|
+
hasMoreUnreadComments?: boolean;
|
|
10084
|
+
hasNextPage?: boolean;
|
|
10085
|
+
};
|
|
10086
|
+
keywords: {
|
|
10087
|
+
[key: string]: Keyword[];
|
|
10088
|
+
};
|
|
10089
|
+
type: StreamItemTypes.News;
|
|
10090
|
+
contentsList: StreamPublishableItemContents[];
|
|
10091
|
+
channelsList: string[];
|
|
10092
|
+
isUnread: boolean;
|
|
10093
|
+
keywordsList?: Keyword[];
|
|
10094
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10095
|
+
source?: string;
|
|
10096
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10097
|
+
expiryDate?: string;
|
|
10098
|
+
knownState: KnownNewsState;
|
|
10099
|
+
hasNewComments?: boolean;
|
|
10100
|
+
isLiked?: boolean;
|
|
10101
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10102
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10103
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10104
|
+
id?: string;
|
|
10105
|
+
versionId?: string;
|
|
10106
|
+
publishingDate?: string;
|
|
10107
|
+
deleted?: string;
|
|
10108
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10109
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10110
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10111
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10112
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10113
|
+
fileAccessToken?: string;
|
|
10114
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10115
|
+
customProperties?: {
|
|
10116
|
+
[key: string]: any;
|
|
10117
|
+
};
|
|
10118
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10119
|
+
modified: string;
|
|
10120
|
+
created: string;
|
|
10121
|
+
publishedVersionId?: string;
|
|
10122
|
+
isCurrentPublishedVersion?: boolean;
|
|
10123
|
+
isLatestVersion?: boolean;
|
|
10124
|
+
permalink?: string;
|
|
10125
|
+
groupIds: string[];
|
|
10126
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10127
|
+
useExternalContent?: boolean;
|
|
10128
|
+
isDemoContent?: boolean;
|
|
10129
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10130
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10131
|
+
} | {
|
|
10132
|
+
groupId: string;
|
|
10133
|
+
attachments: {
|
|
10134
|
+
type: AttachmentType;
|
|
10135
|
+
id: string;
|
|
10136
|
+
filename?: string;
|
|
10137
|
+
previewUrl?: string;
|
|
10138
|
+
url?: string;
|
|
10139
|
+
isUploadInProgress?: boolean;
|
|
10140
|
+
hasError?: boolean;
|
|
10141
|
+
width?: number;
|
|
10142
|
+
height?: number;
|
|
10143
|
+
}[];
|
|
10144
|
+
comments: {
|
|
10145
|
+
items: {
|
|
10146
|
+
conversationScope: ConversationScope;
|
|
10147
|
+
fileAccessToken: string;
|
|
10148
|
+
attachments: {
|
|
10149
|
+
type: AttachmentType;
|
|
10150
|
+
id: string;
|
|
10151
|
+
filename?: string;
|
|
10152
|
+
previewUrl?: string;
|
|
10153
|
+
url?: string;
|
|
10154
|
+
isUploadInProgress?: boolean;
|
|
10155
|
+
hasError?: boolean;
|
|
10156
|
+
width?: number;
|
|
10157
|
+
height?: number;
|
|
10158
|
+
}[];
|
|
10159
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10160
|
+
streamConversationScope?: StreamConversationScope;
|
|
10161
|
+
id: string;
|
|
10162
|
+
parentItemId: string;
|
|
10163
|
+
content: string;
|
|
10164
|
+
contentLanguageCode?: string;
|
|
10165
|
+
receivedDateTime: string;
|
|
10166
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10167
|
+
modified?: string;
|
|
10168
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10169
|
+
isLiked?: boolean;
|
|
10170
|
+
threadId?: string;
|
|
10171
|
+
isUnread?: boolean;
|
|
10172
|
+
hasUnreadReplies?: boolean;
|
|
10173
|
+
isDemoContent?: boolean;
|
|
10174
|
+
attachmentContainerId?: string;
|
|
10175
|
+
}[];
|
|
10176
|
+
paginationToken?: any;
|
|
10177
|
+
nextItem?: StreamPostComment;
|
|
10178
|
+
hasMoreUnreadComments?: boolean;
|
|
10179
|
+
hasNextPage?: boolean;
|
|
10180
|
+
};
|
|
10181
|
+
keywords: {
|
|
10182
|
+
[key: string]: Keyword[];
|
|
10183
|
+
};
|
|
10184
|
+
type: StreamItemTypes.Event;
|
|
10185
|
+
contentsList: StreamPublishableItemContents[];
|
|
10186
|
+
channelsList: string[];
|
|
10187
|
+
isUnread: boolean;
|
|
10188
|
+
keywordsList?: Keyword[];
|
|
10189
|
+
userResponseType?: StreamEventResponse;
|
|
10190
|
+
startDate?: string;
|
|
10191
|
+
endDate?: string;
|
|
10192
|
+
timeZone?: string;
|
|
10193
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10194
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10195
|
+
userResponse?: EventResponse;
|
|
10196
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10197
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10198
|
+
hasNewComments?: boolean;
|
|
10199
|
+
isLiked?: boolean;
|
|
10200
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10201
|
+
recurrenceSeriesId?: string;
|
|
10202
|
+
isSeriesMaster?: string;
|
|
10203
|
+
isVirtual?: boolean;
|
|
10204
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10205
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10206
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10207
|
+
id?: string;
|
|
10208
|
+
versionId?: string;
|
|
10209
|
+
publishingDate?: string;
|
|
10210
|
+
deleted?: string;
|
|
10211
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10212
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10213
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10214
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10215
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10216
|
+
fileAccessToken?: string;
|
|
10217
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10218
|
+
customProperties?: {
|
|
10219
|
+
[key: string]: any;
|
|
10220
|
+
};
|
|
10221
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10222
|
+
modified: string;
|
|
10223
|
+
created: string;
|
|
10224
|
+
publishedVersionId?: string;
|
|
10225
|
+
isCurrentPublishedVersion?: boolean;
|
|
10226
|
+
isLatestVersion?: boolean;
|
|
10227
|
+
permalink?: string;
|
|
10228
|
+
groupIds: string[];
|
|
10229
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10230
|
+
useExternalContent?: boolean;
|
|
10231
|
+
isDemoContent?: boolean;
|
|
10232
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10233
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10234
|
+
} | {
|
|
10235
|
+
groupId: string;
|
|
10236
|
+
attachments: {
|
|
10237
|
+
type: AttachmentType;
|
|
10238
|
+
id: string;
|
|
10239
|
+
filename?: string;
|
|
10240
|
+
previewUrl?: string;
|
|
10241
|
+
url?: string;
|
|
10242
|
+
isUploadInProgress?: boolean;
|
|
10243
|
+
hasError?: boolean;
|
|
10244
|
+
width?: number;
|
|
10245
|
+
height?: number;
|
|
10246
|
+
}[];
|
|
10247
|
+
comments: {
|
|
10248
|
+
items: {
|
|
10249
|
+
conversationScope: ConversationScope;
|
|
10250
|
+
fileAccessToken: string;
|
|
10251
|
+
attachments: {
|
|
10252
|
+
type: AttachmentType;
|
|
10253
|
+
id: string;
|
|
10254
|
+
filename?: string;
|
|
10255
|
+
previewUrl?: string;
|
|
10256
|
+
url?: string;
|
|
10257
|
+
isUploadInProgress?: boolean;
|
|
10258
|
+
hasError?: boolean;
|
|
10259
|
+
width?: number;
|
|
10260
|
+
height?: number;
|
|
10261
|
+
}[];
|
|
10262
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10263
|
+
streamConversationScope?: StreamConversationScope;
|
|
10264
|
+
id: string;
|
|
10265
|
+
parentItemId: string;
|
|
10266
|
+
content: string;
|
|
10267
|
+
contentLanguageCode?: string;
|
|
10268
|
+
receivedDateTime: string;
|
|
10269
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10270
|
+
modified?: string;
|
|
10271
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10272
|
+
isLiked?: boolean;
|
|
10273
|
+
threadId?: string;
|
|
10274
|
+
isUnread?: boolean;
|
|
10275
|
+
hasUnreadReplies?: boolean;
|
|
10276
|
+
isDemoContent?: boolean;
|
|
10277
|
+
attachmentContainerId?: string;
|
|
10278
|
+
}[];
|
|
10279
|
+
paginationToken?: any;
|
|
10280
|
+
nextItem?: StreamPostComment;
|
|
10281
|
+
hasMoreUnreadComments?: boolean;
|
|
10282
|
+
hasNextPage?: boolean;
|
|
10283
|
+
};
|
|
10284
|
+
keywords: {
|
|
10285
|
+
[key: string]: Keyword[];
|
|
10286
|
+
};
|
|
10287
|
+
type: StreamItemTypes.Page;
|
|
10288
|
+
contentsList: StreamPublishableItemContents[];
|
|
10289
|
+
channelsList: string[];
|
|
10290
|
+
isUnread: boolean;
|
|
10291
|
+
keywordsList?: Keyword[];
|
|
10292
|
+
streamPageType?: string;
|
|
10293
|
+
path?: (PageNavigationNode & {
|
|
10294
|
+
parentId?: string;
|
|
10295
|
+
})[];
|
|
10296
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10297
|
+
parentId?: string;
|
|
10298
|
+
pathIds?: string[];
|
|
10299
|
+
position?: number;
|
|
10300
|
+
navigationContext?: PageNavigationContext;
|
|
10301
|
+
hasHiddenAncestor?: boolean;
|
|
10302
|
+
isUnlinked?: boolean;
|
|
10303
|
+
pageType?: PageType;
|
|
10304
|
+
firstChildId?: string;
|
|
10305
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10306
|
+
id?: string;
|
|
10307
|
+
versionId?: string;
|
|
10308
|
+
publishingDate?: string;
|
|
10309
|
+
deleted?: string;
|
|
10310
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10311
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10312
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10313
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10314
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10315
|
+
fileAccessToken?: string;
|
|
10316
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10317
|
+
customProperties?: {
|
|
10318
|
+
[key: string]: any;
|
|
10319
|
+
};
|
|
10320
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10321
|
+
modified: string;
|
|
10322
|
+
created: string;
|
|
10323
|
+
publishedVersionId?: string;
|
|
10324
|
+
isCurrentPublishedVersion?: boolean;
|
|
10325
|
+
isLatestVersion?: boolean;
|
|
10326
|
+
permalink?: string;
|
|
10327
|
+
groupIds: string[];
|
|
10328
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10329
|
+
useExternalContent?: boolean;
|
|
10330
|
+
isDemoContent?: boolean;
|
|
10331
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10332
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10333
|
+
} | {
|
|
10334
|
+
knownState?: undefined;
|
|
10335
|
+
pageType?: undefined;
|
|
10336
|
+
navigationContext?: undefined;
|
|
10337
|
+
userResponse: EventResponse;
|
|
10338
|
+
channels: {
|
|
10339
|
+
name: string;
|
|
10340
|
+
}[];
|
|
10341
|
+
contents: {};
|
|
10342
|
+
bannerInfo: {
|
|
10343
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10344
|
+
type: "video" | "image";
|
|
10345
|
+
videoId?: string;
|
|
10346
|
+
videoUrl?: string;
|
|
10347
|
+
isDirectVideoUrl?: boolean;
|
|
10348
|
+
imageId?: string;
|
|
10349
|
+
};
|
|
10350
|
+
keywords: {
|
|
10351
|
+
[key: string]: Keyword[];
|
|
10352
|
+
};
|
|
10353
|
+
type: StreamItemTypes.Post;
|
|
10354
|
+
isUnread: boolean;
|
|
10355
|
+
keywordsList?: Keyword[];
|
|
10356
|
+
groupIds?: string[];
|
|
10357
|
+
postAttachments?: StreamAttachment[];
|
|
10358
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10359
|
+
hasMoreUnreadComments: boolean;
|
|
10360
|
+
id: string;
|
|
10361
|
+
comments?: PaginatedList<Comment>;
|
|
10362
|
+
groupId: string;
|
|
10363
|
+
content: string;
|
|
10364
|
+
permalink?: string;
|
|
10365
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10366
|
+
publishingDate: string;
|
|
10367
|
+
modified?: string;
|
|
10368
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10369
|
+
contentLanguageCode?: string;
|
|
10370
|
+
isLiked?: boolean;
|
|
10371
|
+
isDemoContent?: boolean;
|
|
10372
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10373
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10374
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10375
|
+
fileAccessToken?: string;
|
|
10376
|
+
attachmentContainerId?: string;
|
|
10377
|
+
} | {
|
|
10378
|
+
knownState: KnownNewsState;
|
|
10379
|
+
pageType?: undefined;
|
|
10380
|
+
navigationContext?: undefined;
|
|
10381
|
+
userResponse: EventResponse;
|
|
10382
|
+
channels: {
|
|
10383
|
+
name: string;
|
|
10384
|
+
}[];
|
|
10385
|
+
contents: {};
|
|
10386
|
+
bannerInfo: {
|
|
10387
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10388
|
+
type: "video" | "image";
|
|
10389
|
+
videoId?: string;
|
|
10390
|
+
videoUrl?: string;
|
|
10391
|
+
isDirectVideoUrl?: boolean;
|
|
10392
|
+
imageId?: string;
|
|
10393
|
+
};
|
|
10394
|
+
keywords: {
|
|
10395
|
+
[key: string]: Keyword[];
|
|
10396
|
+
};
|
|
10397
|
+
type: StreamItemTypes.Post;
|
|
10398
|
+
isUnread: boolean;
|
|
10399
|
+
keywordsList?: Keyword[];
|
|
10400
|
+
groupIds?: string[];
|
|
10401
|
+
postAttachments?: StreamAttachment[];
|
|
10402
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10403
|
+
hasMoreUnreadComments: boolean;
|
|
10404
|
+
id: string;
|
|
10405
|
+
comments?: PaginatedList<Comment>;
|
|
10406
|
+
groupId: string;
|
|
10407
|
+
content: string;
|
|
10408
|
+
permalink?: string;
|
|
10409
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10410
|
+
publishingDate: string;
|
|
10411
|
+
modified?: string;
|
|
10412
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10413
|
+
contentLanguageCode?: string;
|
|
10414
|
+
isLiked?: boolean;
|
|
10415
|
+
isDemoContent?: boolean;
|
|
10416
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10417
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10418
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10419
|
+
fileAccessToken?: string;
|
|
10420
|
+
attachmentContainerId?: string;
|
|
10421
|
+
} | {
|
|
10422
|
+
knownState?: undefined;
|
|
10423
|
+
pageType: PageType;
|
|
10424
|
+
navigationContext: PageNavigationContext;
|
|
10425
|
+
userResponse: EventResponse;
|
|
10426
|
+
channels: {
|
|
10427
|
+
name: string;
|
|
10428
|
+
}[];
|
|
10429
|
+
contents: {};
|
|
10430
|
+
bannerInfo: {
|
|
10431
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10432
|
+
type: "video" | "image";
|
|
10433
|
+
videoId?: string;
|
|
10434
|
+
videoUrl?: string;
|
|
10435
|
+
isDirectVideoUrl?: boolean;
|
|
10436
|
+
imageId?: string;
|
|
10437
|
+
};
|
|
10438
|
+
keywords: {
|
|
10439
|
+
[key: string]: Keyword[];
|
|
10440
|
+
};
|
|
10441
|
+
type: StreamItemTypes.Post;
|
|
10442
|
+
isUnread: boolean;
|
|
10443
|
+
keywordsList?: Keyword[];
|
|
10444
|
+
groupIds?: string[];
|
|
10445
|
+
postAttachments?: StreamAttachment[];
|
|
10446
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10447
|
+
hasMoreUnreadComments: boolean;
|
|
10448
|
+
id: string;
|
|
10449
|
+
comments?: PaginatedList<Comment>;
|
|
10450
|
+
groupId: string;
|
|
10451
|
+
content: string;
|
|
10452
|
+
permalink?: string;
|
|
10453
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10454
|
+
publishingDate: string;
|
|
10455
|
+
modified?: string;
|
|
10456
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10457
|
+
contentLanguageCode?: string;
|
|
10458
|
+
isLiked?: boolean;
|
|
10459
|
+
isDemoContent?: boolean;
|
|
10460
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10461
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10462
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10463
|
+
fileAccessToken?: string;
|
|
10464
|
+
attachmentContainerId?: string;
|
|
10465
|
+
} | {
|
|
10466
|
+
knownState: KnownNewsState;
|
|
10467
|
+
pageType: PageType;
|
|
10468
|
+
navigationContext: PageNavigationContext;
|
|
10469
|
+
userResponse: EventResponse;
|
|
10470
|
+
channels: {
|
|
10471
|
+
name: string;
|
|
10472
|
+
}[];
|
|
10473
|
+
contents: {};
|
|
10474
|
+
bannerInfo: {
|
|
10475
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10476
|
+
type: "video" | "image";
|
|
10477
|
+
videoId?: string;
|
|
10478
|
+
videoUrl?: string;
|
|
10479
|
+
isDirectVideoUrl?: boolean;
|
|
10480
|
+
imageId?: string;
|
|
10481
|
+
};
|
|
10482
|
+
keywords: {
|
|
10483
|
+
[key: string]: Keyword[];
|
|
10484
|
+
};
|
|
10485
|
+
type: StreamItemTypes.Post;
|
|
10486
|
+
isUnread: boolean;
|
|
10487
|
+
keywordsList?: Keyword[];
|
|
10488
|
+
groupIds?: string[];
|
|
10489
|
+
postAttachments?: StreamAttachment[];
|
|
10490
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10491
|
+
hasMoreUnreadComments: boolean;
|
|
10492
|
+
id: string;
|
|
10493
|
+
comments?: PaginatedList<Comment>;
|
|
10494
|
+
groupId: string;
|
|
10495
|
+
content: string;
|
|
10496
|
+
permalink?: string;
|
|
10497
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10498
|
+
publishingDate: string;
|
|
10499
|
+
modified?: string;
|
|
10500
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10501
|
+
contentLanguageCode?: string;
|
|
10502
|
+
isLiked?: boolean;
|
|
10503
|
+
isDemoContent?: boolean;
|
|
10504
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10505
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10506
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10507
|
+
fileAccessToken?: string;
|
|
10508
|
+
attachmentContainerId?: string;
|
|
10509
|
+
} | {
|
|
10510
|
+
knownState: KnownNewsState;
|
|
10511
|
+
pageType?: undefined;
|
|
10512
|
+
navigationContext?: undefined;
|
|
10513
|
+
userResponse: EventResponse;
|
|
10514
|
+
channels: {
|
|
10515
|
+
name: string;
|
|
10516
|
+
}[];
|
|
10517
|
+
contents: {};
|
|
10518
|
+
bannerInfo: {
|
|
10519
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10520
|
+
type: "video" | "image";
|
|
10521
|
+
videoId?: string;
|
|
10522
|
+
videoUrl?: string;
|
|
10523
|
+
isDirectVideoUrl?: boolean;
|
|
10524
|
+
imageId?: string;
|
|
10525
|
+
};
|
|
10526
|
+
keywords: {
|
|
10527
|
+
[key: string]: Keyword[];
|
|
10528
|
+
};
|
|
10529
|
+
type: StreamItemTypes.News;
|
|
10530
|
+
contentsList: StreamPublishableItemContents[];
|
|
10531
|
+
channelsList: string[];
|
|
10532
|
+
isUnread: boolean;
|
|
10533
|
+
keywordsList?: Keyword[];
|
|
10534
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10535
|
+
source?: string;
|
|
10536
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10537
|
+
expiryDate?: string;
|
|
10538
|
+
hasNewComments?: boolean;
|
|
10539
|
+
isLiked?: boolean;
|
|
10540
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10541
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10542
|
+
id?: string;
|
|
10543
|
+
versionId?: string;
|
|
10544
|
+
publishingDate?: string;
|
|
10545
|
+
deleted?: string;
|
|
10546
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10547
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10548
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10549
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10550
|
+
fileAccessToken?: string;
|
|
10551
|
+
customProperties?: {
|
|
10552
|
+
[key: string]: any;
|
|
10553
|
+
};
|
|
10554
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10555
|
+
modified: string;
|
|
10556
|
+
created: string;
|
|
10557
|
+
publishedVersionId?: string;
|
|
10558
|
+
isCurrentPublishedVersion?: boolean;
|
|
10559
|
+
isLatestVersion?: boolean;
|
|
10560
|
+
permalink?: string;
|
|
10561
|
+
groupIds: string[];
|
|
10562
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10563
|
+
useExternalContent?: boolean;
|
|
10564
|
+
isDemoContent?: boolean;
|
|
10565
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10566
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10567
|
+
} | {
|
|
10568
|
+
knownState: KnownNewsState;
|
|
10569
|
+
pageType: PageType;
|
|
10570
|
+
navigationContext: PageNavigationContext;
|
|
10571
|
+
userResponse: EventResponse;
|
|
10572
|
+
channels: {
|
|
10573
|
+
name: string;
|
|
10574
|
+
}[];
|
|
10575
|
+
contents: {};
|
|
10576
|
+
bannerInfo: {
|
|
10577
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10578
|
+
type: "video" | "image";
|
|
10579
|
+
videoId?: string;
|
|
10580
|
+
videoUrl?: string;
|
|
10581
|
+
isDirectVideoUrl?: boolean;
|
|
10582
|
+
imageId?: string;
|
|
10583
|
+
};
|
|
10584
|
+
keywords: {
|
|
10585
|
+
[key: string]: Keyword[];
|
|
10586
|
+
};
|
|
10587
|
+
type: StreamItemTypes.News;
|
|
10588
|
+
contentsList: StreamPublishableItemContents[];
|
|
10589
|
+
channelsList: string[];
|
|
10590
|
+
isUnread: boolean;
|
|
10591
|
+
keywordsList?: Keyword[];
|
|
10592
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10593
|
+
source?: string;
|
|
10594
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10595
|
+
expiryDate?: string;
|
|
10596
|
+
hasNewComments?: boolean;
|
|
10597
|
+
isLiked?: boolean;
|
|
10598
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10599
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10600
|
+
id?: string;
|
|
10601
|
+
versionId?: string;
|
|
10602
|
+
publishingDate?: string;
|
|
10603
|
+
deleted?: string;
|
|
10604
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10605
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10606
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10607
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10608
|
+
fileAccessToken?: string;
|
|
10609
|
+
customProperties?: {
|
|
10610
|
+
[key: string]: any;
|
|
10611
|
+
};
|
|
10612
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10613
|
+
modified: string;
|
|
10614
|
+
created: string;
|
|
10615
|
+
publishedVersionId?: string;
|
|
10616
|
+
isCurrentPublishedVersion?: boolean;
|
|
10617
|
+
isLatestVersion?: boolean;
|
|
10618
|
+
permalink?: string;
|
|
10619
|
+
groupIds: string[];
|
|
10620
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10621
|
+
useExternalContent?: boolean;
|
|
10622
|
+
isDemoContent?: boolean;
|
|
10623
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10624
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10625
|
+
} | {
|
|
10626
|
+
knownState?: undefined;
|
|
10627
|
+
pageType?: undefined;
|
|
10628
|
+
navigationContext?: undefined;
|
|
10629
|
+
userResponse: EventResponse;
|
|
10630
|
+
channels: {
|
|
10631
|
+
name: string;
|
|
10632
|
+
}[];
|
|
10633
|
+
contents: {};
|
|
10634
|
+
bannerInfo: {
|
|
10635
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10636
|
+
type: "video" | "image";
|
|
10637
|
+
videoId?: string;
|
|
10638
|
+
videoUrl?: string;
|
|
10639
|
+
isDirectVideoUrl?: boolean;
|
|
10640
|
+
imageId?: string;
|
|
10641
|
+
};
|
|
10642
|
+
keywords: {
|
|
10643
|
+
[key: string]: Keyword[];
|
|
10644
|
+
};
|
|
10645
|
+
type: StreamItemTypes.Event;
|
|
10646
|
+
contentsList: StreamPublishableItemContents[];
|
|
10647
|
+
channelsList: string[];
|
|
10648
|
+
isUnread: boolean;
|
|
10649
|
+
keywordsList?: Keyword[];
|
|
10650
|
+
userResponseType?: StreamEventResponse;
|
|
10651
|
+
startDate?: string;
|
|
10652
|
+
endDate?: string;
|
|
10653
|
+
timeZone?: string;
|
|
10654
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10655
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10656
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10657
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10658
|
+
hasNewComments?: boolean;
|
|
10659
|
+
isLiked?: boolean;
|
|
10660
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10661
|
+
recurrenceSeriesId?: string;
|
|
10662
|
+
isSeriesMaster?: string;
|
|
10663
|
+
isVirtual?: boolean;
|
|
10664
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10665
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10666
|
+
id?: string;
|
|
10667
|
+
versionId?: string;
|
|
10668
|
+
publishingDate?: string;
|
|
10669
|
+
deleted?: string;
|
|
10670
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10671
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10672
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10673
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10674
|
+
fileAccessToken?: string;
|
|
10675
|
+
customProperties?: {
|
|
10676
|
+
[key: string]: any;
|
|
10677
|
+
};
|
|
10678
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10679
|
+
modified: string;
|
|
10680
|
+
created: string;
|
|
10681
|
+
publishedVersionId?: string;
|
|
10682
|
+
isCurrentPublishedVersion?: boolean;
|
|
10683
|
+
isLatestVersion?: boolean;
|
|
10684
|
+
permalink?: string;
|
|
10685
|
+
groupIds: string[];
|
|
10686
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10687
|
+
useExternalContent?: boolean;
|
|
10688
|
+
isDemoContent?: boolean;
|
|
10689
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10690
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10691
|
+
} | {
|
|
10692
|
+
knownState: KnownNewsState;
|
|
10693
|
+
pageType?: undefined;
|
|
10694
|
+
navigationContext?: undefined;
|
|
10695
|
+
userResponse: EventResponse;
|
|
10696
|
+
channels: {
|
|
10697
|
+
name: string;
|
|
10698
|
+
}[];
|
|
10699
|
+
contents: {};
|
|
10700
|
+
bannerInfo: {
|
|
10701
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10702
|
+
type: "video" | "image";
|
|
10703
|
+
videoId?: string;
|
|
10704
|
+
videoUrl?: string;
|
|
10705
|
+
isDirectVideoUrl?: boolean;
|
|
10706
|
+
imageId?: string;
|
|
10707
|
+
};
|
|
10708
|
+
keywords: {
|
|
10709
|
+
[key: string]: Keyword[];
|
|
10710
|
+
};
|
|
10711
|
+
type: StreamItemTypes.Event;
|
|
10712
|
+
contentsList: StreamPublishableItemContents[];
|
|
10713
|
+
channelsList: string[];
|
|
10714
|
+
isUnread: boolean;
|
|
10715
|
+
keywordsList?: Keyword[];
|
|
10716
|
+
userResponseType?: StreamEventResponse;
|
|
10717
|
+
startDate?: string;
|
|
10718
|
+
endDate?: string;
|
|
10719
|
+
timeZone?: string;
|
|
10720
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10721
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10722
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10723
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10724
|
+
hasNewComments?: boolean;
|
|
10725
|
+
isLiked?: boolean;
|
|
10726
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10727
|
+
recurrenceSeriesId?: string;
|
|
10728
|
+
isSeriesMaster?: string;
|
|
10729
|
+
isVirtual?: boolean;
|
|
10730
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10731
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10732
|
+
id?: string;
|
|
10733
|
+
versionId?: string;
|
|
10734
|
+
publishingDate?: string;
|
|
10735
|
+
deleted?: string;
|
|
10736
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10737
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10738
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10739
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10740
|
+
fileAccessToken?: string;
|
|
10741
|
+
customProperties?: {
|
|
10742
|
+
[key: string]: any;
|
|
10743
|
+
};
|
|
10744
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10745
|
+
modified: string;
|
|
10746
|
+
created: string;
|
|
10747
|
+
publishedVersionId?: string;
|
|
10748
|
+
isCurrentPublishedVersion?: boolean;
|
|
10749
|
+
isLatestVersion?: boolean;
|
|
10750
|
+
permalink?: string;
|
|
10751
|
+
groupIds: string[];
|
|
10752
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10753
|
+
useExternalContent?: boolean;
|
|
10754
|
+
isDemoContent?: boolean;
|
|
10755
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10756
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10757
|
+
} | {
|
|
10758
|
+
knownState?: undefined;
|
|
10759
|
+
pageType: PageType;
|
|
10760
|
+
navigationContext: PageNavigationContext;
|
|
10761
|
+
userResponse: EventResponse;
|
|
10762
|
+
channels: {
|
|
10763
|
+
name: string;
|
|
10764
|
+
}[];
|
|
10765
|
+
contents: {};
|
|
10766
|
+
bannerInfo: {
|
|
10767
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10768
|
+
type: "video" | "image";
|
|
10769
|
+
videoId?: string;
|
|
10770
|
+
videoUrl?: string;
|
|
10771
|
+
isDirectVideoUrl?: boolean;
|
|
10772
|
+
imageId?: string;
|
|
10773
|
+
};
|
|
10774
|
+
keywords: {
|
|
10775
|
+
[key: string]: Keyword[];
|
|
10776
|
+
};
|
|
10777
|
+
type: StreamItemTypes.Event;
|
|
10778
|
+
contentsList: StreamPublishableItemContents[];
|
|
10779
|
+
channelsList: string[];
|
|
10780
|
+
isUnread: boolean;
|
|
10781
|
+
keywordsList?: Keyword[];
|
|
10782
|
+
userResponseType?: StreamEventResponse;
|
|
10783
|
+
startDate?: string;
|
|
10784
|
+
endDate?: string;
|
|
10785
|
+
timeZone?: string;
|
|
10786
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10787
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10788
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10789
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10790
|
+
hasNewComments?: boolean;
|
|
10791
|
+
isLiked?: boolean;
|
|
10792
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10793
|
+
recurrenceSeriesId?: string;
|
|
10794
|
+
isSeriesMaster?: string;
|
|
10795
|
+
isVirtual?: boolean;
|
|
10796
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10797
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10798
|
+
id?: string;
|
|
10799
|
+
versionId?: string;
|
|
10800
|
+
publishingDate?: string;
|
|
10801
|
+
deleted?: string;
|
|
10802
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10803
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10804
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10805
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10806
|
+
fileAccessToken?: string;
|
|
10807
|
+
customProperties?: {
|
|
10808
|
+
[key: string]: any;
|
|
10809
|
+
};
|
|
10810
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10811
|
+
modified: string;
|
|
10812
|
+
created: string;
|
|
10813
|
+
publishedVersionId?: string;
|
|
10814
|
+
isCurrentPublishedVersion?: boolean;
|
|
10815
|
+
isLatestVersion?: boolean;
|
|
10816
|
+
permalink?: string;
|
|
10817
|
+
groupIds: string[];
|
|
10818
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10819
|
+
useExternalContent?: boolean;
|
|
10820
|
+
isDemoContent?: boolean;
|
|
10821
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10822
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10823
|
+
} | {
|
|
10824
|
+
knownState: KnownNewsState;
|
|
10825
|
+
pageType: PageType;
|
|
10826
|
+
navigationContext: PageNavigationContext;
|
|
10827
|
+
userResponse: EventResponse;
|
|
10828
|
+
channels: {
|
|
10829
|
+
name: string;
|
|
10830
|
+
}[];
|
|
10831
|
+
contents: {};
|
|
10832
|
+
bannerInfo: {
|
|
10833
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10834
|
+
type: "video" | "image";
|
|
10835
|
+
videoId?: string;
|
|
10836
|
+
videoUrl?: string;
|
|
10837
|
+
isDirectVideoUrl?: boolean;
|
|
10838
|
+
imageId?: string;
|
|
10839
|
+
};
|
|
10840
|
+
keywords: {
|
|
10841
|
+
[key: string]: Keyword[];
|
|
9546
10842
|
};
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
keywordSettings?: {
|
|
9580
|
-
availableKeywords?: Keyword[];
|
|
9581
|
-
defaultKeywords?: Keyword[];
|
|
9582
|
-
mandatoryKeywords?: Keyword[];
|
|
10843
|
+
type: StreamItemTypes.Event;
|
|
10844
|
+
contentsList: StreamPublishableItemContents[];
|
|
10845
|
+
channelsList: string[];
|
|
10846
|
+
isUnread: boolean;
|
|
10847
|
+
keywordsList?: Keyword[];
|
|
10848
|
+
userResponseType?: StreamEventResponse;
|
|
10849
|
+
startDate?: string;
|
|
10850
|
+
endDate?: string;
|
|
10851
|
+
timeZone?: string;
|
|
10852
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10853
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10854
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10855
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10856
|
+
hasNewComments?: boolean;
|
|
10857
|
+
isLiked?: boolean;
|
|
10858
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10859
|
+
recurrenceSeriesId?: string;
|
|
10860
|
+
isSeriesMaster?: string;
|
|
10861
|
+
isVirtual?: boolean;
|
|
10862
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10863
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10864
|
+
id?: string;
|
|
10865
|
+
versionId?: string;
|
|
10866
|
+
publishingDate?: string;
|
|
10867
|
+
deleted?: string;
|
|
10868
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10869
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10870
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10871
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10872
|
+
fileAccessToken?: string;
|
|
10873
|
+
customProperties?: {
|
|
10874
|
+
[key: string]: any;
|
|
9583
10875
|
};
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
10876
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10877
|
+
modified: string;
|
|
10878
|
+
created: string;
|
|
10879
|
+
publishedVersionId?: string;
|
|
10880
|
+
isCurrentPublishedVersion?: boolean;
|
|
10881
|
+
isLatestVersion?: boolean;
|
|
10882
|
+
permalink?: string;
|
|
10883
|
+
groupIds: string[];
|
|
10884
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10885
|
+
useExternalContent?: boolean;
|
|
10886
|
+
isDemoContent?: boolean;
|
|
10887
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10888
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10889
|
+
} | {
|
|
10890
|
+
knownState?: undefined;
|
|
10891
|
+
pageType?: PageType;
|
|
10892
|
+
navigationContext?: PageNavigationContext;
|
|
10893
|
+
userResponse: EventResponse;
|
|
10894
|
+
channels: {
|
|
10895
|
+
name: string;
|
|
10896
|
+
}[];
|
|
10897
|
+
contents: {};
|
|
10898
|
+
bannerInfo: {
|
|
10899
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10900
|
+
type: "video" | "image";
|
|
10901
|
+
videoId?: string;
|
|
10902
|
+
videoUrl?: string;
|
|
10903
|
+
isDirectVideoUrl?: boolean;
|
|
10904
|
+
imageId?: string;
|
|
9609
10905
|
};
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
onAfterDelete?: (id: string) => unknown;
|
|
9613
|
-
}
|
|
9614
|
-
export const PostListItem: FC<Props>;
|
|
9615
|
-
}
|
|
9616
|
-
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9617
|
-
import { FC } from 'react';
|
|
9618
|
-
import { Post } from "libs/reach/feature/content/src/index";
|
|
9619
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9620
|
-
export const PostWithSelfThreadHandling: FC<{
|
|
9621
|
-
post: Post;
|
|
9622
|
-
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9623
|
-
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9624
|
-
keywordSettings?: {
|
|
9625
|
-
availableKeywords?: Keyword[];
|
|
9626
|
-
defaultKeywords?: Keyword[];
|
|
9627
|
-
mandatoryKeywords?: Keyword[];
|
|
10906
|
+
keywords: {
|
|
10907
|
+
[key: string]: Keyword[];
|
|
9628
10908
|
};
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
10909
|
+
type: StreamItemTypes.Page;
|
|
10910
|
+
contentsList: StreamPublishableItemContents[];
|
|
10911
|
+
channelsList: string[];
|
|
10912
|
+
isUnread: boolean;
|
|
10913
|
+
keywordsList?: Keyword[];
|
|
10914
|
+
streamPageType?: string;
|
|
10915
|
+
path?: (PageNavigationNode & {
|
|
10916
|
+
parentId?: string;
|
|
10917
|
+
})[];
|
|
10918
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10919
|
+
parentId?: string;
|
|
10920
|
+
pathIds?: string[];
|
|
10921
|
+
position?: number;
|
|
10922
|
+
hasHiddenAncestor?: boolean;
|
|
10923
|
+
isUnlinked?: boolean;
|
|
10924
|
+
firstChildId?: string;
|
|
10925
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10926
|
+
id?: string;
|
|
10927
|
+
versionId?: string;
|
|
10928
|
+
publishingDate?: string;
|
|
10929
|
+
deleted?: string;
|
|
10930
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10931
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10932
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10933
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10934
|
+
fileAccessToken?: string;
|
|
10935
|
+
customProperties?: {
|
|
10936
|
+
[key: string]: any;
|
|
10937
|
+
};
|
|
10938
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10939
|
+
modified: string;
|
|
10940
|
+
created: string;
|
|
10941
|
+
publishedVersionId?: string;
|
|
10942
|
+
isCurrentPublishedVersion?: boolean;
|
|
10943
|
+
isLatestVersion?: boolean;
|
|
10944
|
+
permalink?: string;
|
|
10945
|
+
groupIds: string[];
|
|
10946
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10947
|
+
useExternalContent?: boolean;
|
|
10948
|
+
isDemoContent?: boolean;
|
|
10949
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10950
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10951
|
+
} | {
|
|
10952
|
+
knownState: KnownNewsState;
|
|
10953
|
+
pageType?: PageType;
|
|
10954
|
+
navigationContext?: PageNavigationContext;
|
|
10955
|
+
userResponse: EventResponse;
|
|
10956
|
+
channels: {
|
|
10957
|
+
name: string;
|
|
10958
|
+
}[];
|
|
10959
|
+
contents: {};
|
|
10960
|
+
bannerInfo: {
|
|
10961
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10962
|
+
type: "video" | "image";
|
|
10963
|
+
videoId?: string;
|
|
10964
|
+
videoUrl?: string;
|
|
10965
|
+
isDirectVideoUrl?: boolean;
|
|
10966
|
+
imageId?: string;
|
|
10967
|
+
};
|
|
10968
|
+
keywords: {
|
|
10969
|
+
[key: string]: Keyword[];
|
|
10970
|
+
};
|
|
10971
|
+
type: StreamItemTypes.Page;
|
|
10972
|
+
contentsList: StreamPublishableItemContents[];
|
|
10973
|
+
channelsList: string[];
|
|
10974
|
+
isUnread: boolean;
|
|
10975
|
+
keywordsList?: Keyword[];
|
|
10976
|
+
streamPageType?: string;
|
|
10977
|
+
path?: (PageNavigationNode & {
|
|
10978
|
+
parentId?: string;
|
|
10979
|
+
})[];
|
|
10980
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10981
|
+
parentId?: string;
|
|
10982
|
+
pathIds?: string[];
|
|
10983
|
+
position?: number;
|
|
10984
|
+
hasHiddenAncestor?: boolean;
|
|
10985
|
+
isUnlinked?: boolean;
|
|
10986
|
+
firstChildId?: string;
|
|
10987
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10988
|
+
id?: string;
|
|
10989
|
+
versionId?: string;
|
|
10990
|
+
publishingDate?: string;
|
|
10991
|
+
deleted?: string;
|
|
10992
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10993
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10994
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10995
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10996
|
+
fileAccessToken?: string;
|
|
10997
|
+
customProperties?: {
|
|
10998
|
+
[key: string]: any;
|
|
10999
|
+
};
|
|
11000
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
11001
|
+
modified: string;
|
|
11002
|
+
created: string;
|
|
11003
|
+
publishedVersionId?: string;
|
|
11004
|
+
isCurrentPublishedVersion?: boolean;
|
|
11005
|
+
isLatestVersion?: boolean;
|
|
11006
|
+
permalink?: string;
|
|
11007
|
+
groupIds: string[];
|
|
11008
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
11009
|
+
useExternalContent?: boolean;
|
|
11010
|
+
isDemoContent?: boolean;
|
|
11011
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11012
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11013
|
+
})[];
|
|
9633
11014
|
}
|
|
9634
|
-
declare module "libs/reach/feature/content/src/stream/
|
|
9635
|
-
|
|
11015
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
11016
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11017
|
+
import { DocumentNode } from '@apollo/client';
|
|
11018
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11019
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11020
|
+
export enum StreamEventResponse {
|
|
11021
|
+
NotSet = "NOTSET",
|
|
11022
|
+
Registered = "REGISTERED",
|
|
11023
|
+
Declined = "DECLINED"
|
|
11024
|
+
}
|
|
11025
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
11026
|
+
}
|
|
11027
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
11028
|
+
items: StreamItem[];
|
|
11029
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
11030
|
+
loadMore: () => Promise<void>;
|
|
11031
|
+
pageInfo: {
|
|
11032
|
+
errors?: any;
|
|
11033
|
+
hasNextPage: boolean;
|
|
11034
|
+
skip: number;
|
|
11035
|
+
};
|
|
11036
|
+
refresh: () => Promise<void>;
|
|
11037
|
+
isLoadingFirstPage: boolean;
|
|
11038
|
+
};
|
|
11039
|
+
export const getStreamQuery: () => DocumentNode;
|
|
11040
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11041
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11042
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11043
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11044
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
11045
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11046
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11047
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
11048
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11049
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
9636
11050
|
}
|
|
9637
11051
|
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9638
11052
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9652,6 +11066,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9652
11066
|
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
9653
11067
|
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
9654
11068
|
export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
|
|
11069
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
9655
11070
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9656
11071
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9657
11072
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
@@ -9675,7 +11090,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9675
11090
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9676
11091
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9677
11092
|
className?: string;
|
|
9678
|
-
useLargeAvatar?: boolean;
|
|
9679
11093
|
useExternalLink?: boolean;
|
|
9680
11094
|
}
|
|
9681
11095
|
export const EditorListItem: FC<Props>;
|
|
@@ -9720,12 +11134,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9720
11134
|
}
|
|
9721
11135
|
}
|
|
9722
11136
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9723
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11137
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9724
11138
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
9725
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9726
|
-
import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
|
|
9727
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9728
|
-
import { ResponseItem } from "libs/reach/util/common/src/index";
|
|
9729
11139
|
import { Observable } from 'rxjs';
|
|
9730
11140
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9731
11141
|
export function useEditorApi(): {
|
|
@@ -9745,6 +11155,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9745
11155
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9746
11156
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9747
11157
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11158
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9748
11159
|
};
|
|
9749
11160
|
}
|
|
9750
11161
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9768,6 +11179,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9768
11179
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9769
11180
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9770
11181
|
}
|
|
11182
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11183
|
+
import { FC } from 'react';
|
|
11184
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11185
|
+
export const StreamPostItemCard: FC<{
|
|
11186
|
+
post: PostStreamItem;
|
|
11187
|
+
onPostDelete: (id: string) => unknown;
|
|
11188
|
+
}>;
|
|
11189
|
+
}
|
|
11190
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11191
|
+
import { FC } from 'react';
|
|
11192
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11193
|
+
export const StreamNewsItemCard: FC<{
|
|
11194
|
+
news: NewsStreamItem;
|
|
11195
|
+
}>;
|
|
11196
|
+
}
|
|
11197
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11198
|
+
import { FC } from 'react';
|
|
11199
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11200
|
+
export const StreamEventItemCard: FC<{
|
|
11201
|
+
event: EventStreamItem;
|
|
11202
|
+
}>;
|
|
11203
|
+
}
|
|
11204
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11205
|
+
import { FC } from 'react';
|
|
11206
|
+
export const GlobalSearchButton: FC;
|
|
11207
|
+
}
|
|
11208
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11209
|
+
import { FC } from 'react';
|
|
11210
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11211
|
+
export type StreamQueryResult = {
|
|
11212
|
+
items: StreamItem[];
|
|
11213
|
+
};
|
|
11214
|
+
export const StreamList: FC;
|
|
11215
|
+
}
|
|
11216
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11217
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11218
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11219
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11220
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11221
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11222
|
+
}
|
|
11223
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11224
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11225
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11226
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11227
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11228
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11229
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11230
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11231
|
+
}
|
|
11232
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11233
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11234
|
+
}
|
|
9771
11235
|
declare module "libs/reach/feature/content/src/index" {
|
|
9772
11236
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9773
11237
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9780,6 +11244,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9780
11244
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9781
11245
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9782
11246
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11247
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11248
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9783
11249
|
}
|
|
9784
11250
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9785
11251
|
import { FC } from 'react';
|
|
@@ -9850,20 +11316,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9850
11316
|
}
|
|
9851
11317
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9852
11318
|
import './ContainerWithLogo.scss';
|
|
11319
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11320
|
+
import { FC, ReactNode } from 'react';
|
|
9853
11321
|
export enum DefaultLogoColor {
|
|
9854
11322
|
Default = 0,
|
|
9855
11323
|
White = 1
|
|
9856
11324
|
}
|
|
9857
|
-
type RenderChildren =
|
|
9858
|
-
export const ContainerWithLogo:
|
|
9859
|
-
|
|
9860
|
-
logoColor?: DefaultLogoColor;
|
|
11325
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11326
|
+
export const ContainerWithLogo: FC<{
|
|
11327
|
+
logoInfo?: LogoInfo;
|
|
9861
11328
|
text?: string;
|
|
9862
11329
|
headerClassName?: string;
|
|
9863
11330
|
additionalClasses?: string;
|
|
9864
11331
|
children: RenderChildren;
|
|
9865
11332
|
className?: string;
|
|
9866
11333
|
additionalContent?: RenderChildren;
|
|
11334
|
+
isBrandedContainer?: boolean;
|
|
9867
11335
|
}>;
|
|
9868
11336
|
}
|
|
9869
11337
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9895,7 +11363,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9895
11363
|
MobileHidden = 1
|
|
9896
11364
|
}
|
|
9897
11365
|
export function shutdownZendesk(): void;
|
|
9898
|
-
export function
|
|
11366
|
+
export function useZendeskWithSubscription(): {
|
|
11367
|
+
showZendeskChat: () => void;
|
|
11368
|
+
toggleIcon: (show: boolean) => void;
|
|
11369
|
+
};
|
|
11370
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9899
11371
|
showZendeskChat: () => void;
|
|
9900
11372
|
toggleIcon: (show: boolean) => void;
|
|
9901
11373
|
};
|
|
@@ -9910,27 +11382,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
|
|
|
9910
11382
|
}
|
|
9911
11383
|
declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
|
|
9912
11384
|
import { FC } from 'react';
|
|
9913
|
-
import {
|
|
9914
|
-
export
|
|
9915
|
-
key?: string | number;
|
|
9916
|
-
title?: string;
|
|
9917
|
-
iconName?: string;
|
|
9918
|
-
to?: string;
|
|
9919
|
-
onClick?: () => void;
|
|
9920
|
-
isActive?: boolean;
|
|
9921
|
-
exact?: boolean;
|
|
9922
|
-
cannotBeActive?: boolean;
|
|
9923
|
-
submenuContents?: JSX.Element;
|
|
9924
|
-
submenuStyleDefinition?: StyleDefinition;
|
|
9925
|
-
badgeInfo?: number | boolean;
|
|
9926
|
-
domIdentifier?: string;
|
|
9927
|
-
secondaryIconName?: string;
|
|
9928
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9929
|
-
onSecondaryIconClick?: () => void;
|
|
9930
|
-
iconColor?: string;
|
|
9931
|
-
className?: string;
|
|
9932
|
-
}
|
|
9933
|
-
export const PageMenuActionItem: FC<PageAction>;
|
|
11385
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
|
|
11386
|
+
export const PageMenuActionItem: FC<PageNavigationNodeProps>;
|
|
9934
11387
|
}
|
|
9935
11388
|
declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
|
|
9936
11389
|
import { FC } from 'react';
|
|
@@ -9940,7 +11393,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9940
11393
|
import { FC } from 'react';
|
|
9941
11394
|
export const AdminActionItem: FC<{
|
|
9942
11395
|
submenuContents: JSX.Element;
|
|
9943
|
-
onClick
|
|
11396
|
+
onClick?: () => unknown;
|
|
9944
11397
|
title?: string;
|
|
9945
11398
|
}>;
|
|
9946
11399
|
const AdminRoutes: FC;
|
|
@@ -9954,7 +11407,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9954
11407
|
import { FC } from 'react';
|
|
9955
11408
|
export const ChatMenuNode: FC<{
|
|
9956
11409
|
title: string;
|
|
9957
|
-
onClick
|
|
11410
|
+
onClick?: () => void;
|
|
9958
11411
|
}>;
|
|
9959
11412
|
}
|
|
9960
11413
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9981,20 +11434,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9981
11434
|
className?: string;
|
|
9982
11435
|
}>;
|
|
9983
11436
|
}
|
|
9984
|
-
declare module "apps/reach-app/src/app/about/ApplicationVersion" {
|
|
9985
|
-
export default interface ApplicationVersion {
|
|
9986
|
-
description: string;
|
|
9987
|
-
version: string;
|
|
9988
|
-
commitId: string;
|
|
9989
|
-
}
|
|
9990
|
-
}
|
|
9991
|
-
declare module "apps/reach-app/src/app/chrome/VersionInfo" {
|
|
9992
|
-
import { FC } from 'react';
|
|
9993
|
-
export const VersionInfo: FC<{
|
|
9994
|
-
className?: string;
|
|
9995
|
-
renderCommitId?: boolean;
|
|
9996
|
-
}>;
|
|
9997
|
-
}
|
|
9998
11437
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9999
11438
|
import { FC, ReactNode } from 'react';
|
|
10000
11439
|
export const AppLoaderContext: import("react").Context<{
|
|
@@ -10140,6 +11579,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
10140
11579
|
}
|
|
10141
11580
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
10142
11581
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|
|
11582
|
+
import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
|
|
10143
11583
|
import { NavLinkSidebarItem } from "apps/reach-app/src/app/chrome/SidebarItem";
|
|
10144
|
-
export { Page, NavLinkSidebarItem };
|
|
11584
|
+
export { Page, NavLinkSidebarItem, PageMenuActionItem };
|
|
10145
11585
|
}
|